All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: Will Deacon <will@kernel.org>
Cc: sudeep.holla@kernel.org, catalin.marinas@arm.com,
	oupton@kernel.org, Sebastian Ene <sebastianene@google.com>,
	jens.wiklander@linaro.org, joey.gouly@arm.com,
	kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, android-kvm@google.com,
	mrigendra.chaubey@gmail.com, op-tee@lists.trustedfirmware.org,
	perlarsen@google.com, seiden@linux.ibm.com, smostafa@google.com,
	sumit.garg@kernel.org, suzuki.poulose@arm.com,
	vdonnefort@google.com, yuzenghui@huawei.com
Subject: Re: (subset) [PATCH v9 0/6] arm_ffa, KVM: Fix FF-A emad offset calculations
Date: Tue, 07 Jul 2026 15:03:26 +0100	[thread overview]
Message-ID: <864iiaq4lt.wl-maz@kernel.org> (raw)
In-Reply-To: <akzpaD3VmMp8Dq4S@willie-the-truck>

On Tue, 07 Jul 2026 12:56:24 +0100,
Will Deacon <will@kernel.org> wrote:
> 
> On Tue, Jul 07, 2026 at 11:58:01AM +0100, Marc Zyngier wrote:
> > On Thu, 02 Jul 2026 10:38:37 +0000, Sebastian Ene wrote:
> > > This series fixes the Endpoint Memory Access Descriptor (EMAD) offset
> > > calculations and adds the necessary bounds checks for both the core
> > > FF-A driver and the pKVM hypervisor.
> > > 
> > > Prior to FF-A version 1.1, the memory region header didn't specify an
> > > explicit offset for the EMADs, leading to the assumption that they
> > > immediately follow the header.
> > > However, from v1.1 onwards, the specification dictates using the
> > > ep_mem_offset` field to determine the start of the memory access
> > > array.
> > > 
> > > [...]
> > 
> > Applied to fixes, thanks!
> > 
> > [3/6] KVM: arm64: Fix bounds checking in do_ffa_mem_reclaim()
> >       commit: 8c6db30d79528279abbeb416e4f533f1f91b8724
> > [4/6] KVM: arm64: Validate the offset to the mem access descriptor
> >       commit: a6b49d27c17909608d54523220bb6f3498d4a1df
> > [5/6] KVM: arm64: Ensure FFA ranges are page aligned
> >       commit: 6a7a181f6921db3d9aed1bba7e15547fefd7eedc
> > [6/6] KVM: arm64: Zero out the stack initialized data in the FFA handler
> >       commit: 2bd3c6c702f3a9e2bcb3b536b0fbbaa645005d71
> 
> Thanks, Marc!
> 
> I think Sudeep was also happy for the driver changes to go via the KVM
> tree, unless you'd prefer not to pick them up [1].

Ah, I missed that. Let me queue these suckers as well.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier via OP-TEE <op-tee@lists.trustedfirmware.org>
To: Will Deacon <will@kernel.org>
Cc: sudeep.holla@kernel.org, catalin.marinas@arm.com,
	oupton@kernel.org, Sebastian Ene <sebastianene@google.com>,
	joey.gouly@arm.com, kvmarm@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, android-kvm@google.com,
	mrigendra.chaubey@gmail.com, op-tee@lists.trustedfirmware.org,
	perlarsen@google.com, seiden@linux.ibm.com, smostafa@google.com,
	sumit.garg@kernel.org, suzuki.poulose@arm.com,
	vdonnefort@google.com, yuzenghui@huawei.com
Subject: Re: (subset) [PATCH v9 0/6] arm_ffa, KVM: Fix FF-A emad offset calculations
Date: Tue, 07 Jul 2026 15:03:26 +0100	[thread overview]
Message-ID: <864iiaq4lt.wl-maz@kernel.org> (raw)
In-Reply-To: <akzpaD3VmMp8Dq4S@willie-the-truck>

On Tue, 07 Jul 2026 12:56:24 +0100,
Will Deacon <will@kernel.org> wrote:
> 
> On Tue, Jul 07, 2026 at 11:58:01AM +0100, Marc Zyngier wrote:
> > On Thu, 02 Jul 2026 10:38:37 +0000, Sebastian Ene wrote:
> > > This series fixes the Endpoint Memory Access Descriptor (EMAD) offset
> > > calculations and adds the necessary bounds checks for both the core
> > > FF-A driver and the pKVM hypervisor.
> > > 
> > > Prior to FF-A version 1.1, the memory region header didn't specify an
> > > explicit offset for the EMADs, leading to the assumption that they
> > > immediately follow the header.
> > > However, from v1.1 onwards, the specification dictates using the
> > > ep_mem_offset` field to determine the start of the memory access
> > > array.
> > > 
> > > [...]
> > 
> > Applied to fixes, thanks!
> > 
> > [3/6] KVM: arm64: Fix bounds checking in do_ffa_mem_reclaim()
> >       commit: 8c6db30d79528279abbeb416e4f533f1f91b8724
> > [4/6] KVM: arm64: Validate the offset to the mem access descriptor
> >       commit: a6b49d27c17909608d54523220bb6f3498d4a1df
> > [5/6] KVM: arm64: Ensure FFA ranges are page aligned
> >       commit: 6a7a181f6921db3d9aed1bba7e15547fefd7eedc
> > [6/6] KVM: arm64: Zero out the stack initialized data in the FFA handler
> >       commit: 2bd3c6c702f3a9e2bcb3b536b0fbbaa645005d71
> 
> Thanks, Marc!
> 
> I think Sudeep was also happy for the driver changes to go via the KVM
> tree, unless you'd prefer not to pick them up [1].

Ah, I missed that. Let me queue these suckers as well.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2026-07-07 14:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-02 10:38 [PATCH v9 0/6] arm_ffa, KVM: Fix FF-A emad offset calculations Sebastian Ene via OP-TEE
2026-07-02 10:38 ` Sebastian Ene
2026-07-02 10:38 ` [PATCH v9 1/6] firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit() Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-02 10:38 ` [PATCH v9 2/6] firmware: arm_ffa: Fix Endpoint Memory Access Descriptor offset calculation Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-02 10:38 ` [PATCH v9 3/6] KVM: arm64: Fix bounds checking in do_ffa_mem_reclaim() Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-02 10:38 ` [PATCH v9 4/6] KVM: arm64: Validate the offset to the mem access descriptor Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-03 10:35   ` Vincent Donnefort via OP-TEE
2026-07-03 10:35     ` Vincent Donnefort
2026-07-02 10:38 ` [PATCH v9 5/6] KVM: arm64: Ensure FFA ranges are page aligned Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-02 10:38 ` [PATCH v9 6/6] KVM: arm64: Zero out the stack initialized data in the FFA handler Sebastian Ene
2026-07-02 10:38   ` Sebastian Ene via OP-TEE
2026-07-02 10:48   ` sashiko-bot
2026-07-07 10:58 ` (subset) [PATCH v9 0/6] arm_ffa, KVM: Fix FF-A emad offset calculations Marc Zyngier
2026-07-07 10:58   ` Marc Zyngier via OP-TEE
2026-07-07 11:56   ` Will Deacon
2026-07-07 11:56     ` Will Deacon via OP-TEE
2026-07-07 14:03     ` Marc Zyngier [this message]
2026-07-07 14:03       ` Marc Zyngier via OP-TEE
2026-07-07 14:04 ` Marc Zyngier
2026-07-07 14:04   ` Marc Zyngier via OP-TEE

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=864iiaq4lt.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=android-kvm@google.com \
    --cc=catalin.marinas@arm.com \
    --cc=jens.wiklander@linaro.org \
    --cc=joey.gouly@arm.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mrigendra.chaubey@gmail.com \
    --cc=op-tee@lists.trustedfirmware.org \
    --cc=oupton@kernel.org \
    --cc=perlarsen@google.com \
    --cc=sebastianene@google.com \
    --cc=seiden@linux.ibm.com \
    --cc=smostafa@google.com \
    --cc=sudeep.holla@kernel.org \
    --cc=sumit.garg@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=vdonnefort@google.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.