[PATCH v4 3/3] KVM: arm64: Release the ownership of the hyp rx buffer to Trustzone
Sudeep Holla
sudeep.holla at arm.com
Tue Apr 1 05:55:45 PDT 2025
On Tue, Apr 01, 2025 at 12:00:38PM +0000, Quentin Perret wrote:
> On Friday 28 Mar 2025 at 14:18:55 (+0000), Sebastian Ene wrote:
> >
> > If we apply what I suggested earlier we won't have an issue with the
> > semantic for this call but it would make the code a mess. I don't think
> > for this particular call keeping semantics really makes a difference.
>
> Right, if we implemented the release call properly in pKVM I'd be happy
> with this patch, but I just don't think we should only do one half. We
> either do it properly in pKVM or leave it with to the host -- the latter
> feels simpler to me, but no strong opinions.
>
FYI:
As part of the earlier discussion with respect to clarification on this
from the FF-A spec, I found even the driver was not handling this correctly.
I have posted the fix since and plan to get it merged as fix for v6.15
--
Regards,
Sudeep
[1] https://lore.kernel.org/r/20250321115700.3525197-1-sudeep.holla@arm.com
More information about the linux-arm-kernel
mailing list