From: Drew Fustini <fustini@kernel.org>
To: Zhanpeng Zhang <zhangzhanpeng.jasper@bytedance.com>
Cc: joro@8bytes.org, palmer@dabbelt.com, tony.luck@intel.com,
reinette.chatre@intel.com, tomasz.jeznach@linux.dev,
jgg@ziepe.ca, james.morse@arm.com, ben.horgan@arm.com,
xiaqinxin@huawei.com, will@kernel.org, robin.murphy@arm.com,
pjw@kernel.org, aou@eecs.berkeley.edu, alex@ghiti.fr,
Dave.Martin@arm.com, babu.moger@amd.com, kevin.tian@intel.com,
corbet@lwn.net, skhan@linuxfoundation.org, shuah@kernel.org,
randy.dunlap@infradead.org, cuiyunhui@bytedance.com,
yuanzhu@bytedance.com, iommu@lists.linux.dev,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org,
x86@kernel.org
Subject: Re: [RFC PATCH v2 0/4] resctrl: Assign registered devices to resource groups
Date: Sun, 22 Nov 2026 23:03:21 -0800 [thread overview]
Message-ID: <awPlOY9vr8Mqq2vJ@thelio> (raw)
In-Reply-To: <20261116071338.35991-6-zhangzhanpeng.jasper@bytedance.com>
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
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
prev parent reply other threads:[~2026-11-23 7:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 7:13 [RFC PATCH v2 0/4] resctrl: Assign registered devices to resource groups Zhanpeng Zhang
2026-11-16 7:13 ` [RFC PATCH v2 1/4] resctrl: Add registered device assignment Zhanpeng Zhang
2026-11-16 7:13 ` [RFC PATCH v2 2/4] iommu/riscv: Register independently tagged devices with resctrl Zhanpeng Zhang
2026-11-23 7:48 ` Drew Fustini
2026-11-16 7:13 ` [RFC PATCH v2 3/4] iommu/riscv: Expose global QoS IDs in sysfs Zhanpeng Zhang
2026-11-16 7:13 ` [RFC PATCH v2 4/4] selftests/resctrl: Exercise device assignment and IOMMU global IDs Zhanpeng Zhang
2026-11-23 7:03 ` Drew Fustini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awPlOY9vr8Mqq2vJ@thelio \
--to=fustini@kernel.org \
--cc=Dave.Martin@arm.com \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=babu.moger@amd.com \
--cc=ben.horgan@arm.com \
--cc=corbet@lwn.net \
--cc=cuiyunhui@bytedance.com \
--cc=iommu@lists.linux.dev \
--cc=james.morse@arm.com \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=randy.dunlap@infradead.org \
--cc=reinette.chatre@intel.com \
--cc=robin.murphy@arm.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=tomasz.jeznach@linux.dev \
--cc=tony.luck@intel.com \
--cc=will@kernel.org \
--cc=x86@kernel.org \
--cc=xiaqinxin@huawei.com \
--cc=yuanzhu@bytedance.com \
--cc=zhangzhanpeng.jasper@bytedance.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox