Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kohei Enju <enju.kohei@fujitsu.com>
To: "Michal Koutný" <mkoutny@suse.com>
Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org,
	 kvmarm@lists.linux.dev, cgroups@vger.kernel.org,
	linux-coco@lists.linux.dev,  Paolo Bonzini <pbonzini@redhat.com>,
	Marc Zyngier <maz@kernel.org>, Oliver Upton <oupton@kernel.org>,
	 Joey Gouly <joey.gouly@arm.com>,
	Steffen Eiden <seiden@linux.ibm.com>,
	 Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	 Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>, Tejun Heo <tj@kernel.org>,
	 Johannes Weiner <hannes@cmpxchg.org>,
	Steven Price <steven.price@arm.com>
Subject: Re: [RFC PATCH v1 2/2] cgroup/misc: Add support for Arm CCA MECIDs
Date: Sat, 25 Jul 2026 00:38:10 +0900	[thread overview]
Message-ID: <amOCt4r72ge-Iw5h@FCCLS0092175.localdomain> (raw)
In-Reply-To: <amNfGkkI5OIBqpmZ@localhost.localdomain>

On 07/24 14:52, Michal Koutný wrote:
> Hello Kohei.
> 
> On Fri, Jul 24, 2026 at 06:40:56PM +0900, Kohei Enju <enju.kohei@fujitsu.com> wrote:
> > Arm CCA MECIDs are limited platform resources. Add a misc cgroup
> > resource to allow the system administrator to account for and limit
> > their use.
> > 
> > The cca_mec resource represents the number of Realm VMs using the
> > private MEC policy. Each such Realm consumes one MECID. Charge the
> > resource when the Realm is created, and uncharge it when the Realm is
> > successfully destroyed.
> > 
> > Realms using the shared MEC policy don't consume this resource.
> > 
> > Signed-off-by: Kohei Enju <enju.kohei@fujitsu.com>
> > ---
> >  arch/arm64/include/asm/kvm_rmi.h |  2 ++
> >  arch/arm64/kvm/rmi.c             | 44 +++++++++++++++++++++++++++++++-
> >  drivers/firmware/arm_rmm/rmi.c   |  4 +++
> 
> (mainly for this)
> >  include/linux/misc_cgroup.h      |  4 +++
> >  kernel/cgroup/misc.c             |  4 +++
> >  5 files changed, 57 insertions(+), 1 deletion(-)
> 
> Conditional
> Acked-by: Michal Koutný <mkoutny@suse.com>
> (it makes sense along the other arches' miscresurces)

Hi Michal,
Thank you for taking a look.

> 
> Why? I see this [1] (or followup) needs to be added first.

Yes, [1] should be added first.
As also stated in the coverletter, the following series is anothor
dependency, because this RFC series is on top of those other series.
https://lore.kernel.org/all/20260715142841.80544-1-steven.price@arm.com/

The [1] series is a dependency of the one above, and I didn't mention it
explicitly in the cover letter. My bad.

My intention was to get feedback on this RFC series about the
architecture and the basic design until those dependent series are
merged, after which I will send this series as non-RFC.

Thanks,
Kohei

> 
> Thanks,
> Michal
> 
> [1] https://lore.kernel.org/r/20260715142739.80398-4-steven.price@arm.com/




      reply	other threads:[~2026-07-24 15:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-24  9:40 [RFC PATCH v1 0/2] KVM: arm64: CCA: Add MEC policy support for CCA Realms Kohei Enju
2026-07-24  9:40 ` [RFC PATCH v1 1/2] KVM: arm64: CCA: Add support for configuring the Realm MEC policy Kohei Enju
2026-07-29 11:47   ` Suzuki K Poulose
2026-07-31  5:09     ` Kohei Enju
2026-07-31 10:59   ` Steven Price
2026-08-03  2:58     ` Kohei Enju
2026-07-24  9:40 ` [RFC PATCH v1 2/2] cgroup/misc: Add support for Arm CCA MECIDs Kohei Enju
2026-07-24 12:52   ` Michal Koutný
2026-07-24 15:38     ` Kohei Enju [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=amOCt4r72ge-Iw5h@FCCLS0092175.localdomain \
    --to=enju.kohei@fujitsu.com \
    --cc=catalin.marinas@arm.com \
    --cc=cgroups@vger.kernel.org \
    --cc=hannes@cmpxchg.org \
    --cc=joey.gouly@arm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-coco@lists.linux.dev \
    --cc=maz@kernel.org \
    --cc=mkoutny@suse.com \
    --cc=oupton@kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=seiden@linux.ibm.com \
    --cc=steven.price@arm.com \
    --cc=suzuki.poulose@arm.com \
    --cc=tj@kernel.org \
    --cc=will@kernel.org \
    --cc=yuzenghui@huawei.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