[RFC PATCH v2 0/4] resctrl: Assign registered devices to resource groups

Drew Fustini fustini at kernel.org
Sun Nov 22 23:03:21 PST 2026


On Mon, Nov 16, 2026 at 03:13:39PM +0800, Zhanpeng Zhang wrote:
> This RFC lets resctrl groups include devices as well as CPU tasks. It
> uses the RISC-V IOMMU QoS ID extension as the first provider and builds
> on Drew Fustini's CBQRI resctrl v12 series [1] on Linux v7.4-rc1.

It does not seem like riscv-iommu in qemu models qosid. Are you testing
this on a hardware implementation?

> Feedback would be particularly helpful on:
> 
>   * The provider registration and lifetime contract, including how to
>     represent devices that share a tagging context.
>   * The bus/name token versus using an existing sysfs identity.
>   * The scope of protection after a command queue failure. If an update
>     leaves the hardware state uncertain, the current code prevents ID
>     reuse by blocking group removal and future mounts, including for
>     groups unrelated to the failed update. Would reserving only the
>     affected old and target IDs be sufficient?

It seems like blocking future mounts would be too much since resctrl
should still be able to handle cpu tasks.

Thanks,
Drew



More information about the linux-riscv mailing list