[PATCH 0/6] Support for running as a pKVM protected guest

Will Deacon will at kernel.org
Wed Jul 31 08:52:01 PDT 2024


On Wed, Jul 31, 2024 at 02:55:13PM +0100, Suzuki K Poulose wrote:
> On 30/07/2024 16:11, Will Deacon wrote:
> > Since the patches for running as a CCA guest were posted already at [1],
> > I figured it was worth posting the equivalent pKVM changes needed to run
> > as a protected guest under an Android host kernel. In particular, I've
> > tried to structure the code so that the CCA patches can use the same
> > hooks. I'd welcome feedback from the CCA developers (i.e. Steven and
> > Suzuki) as to whether this is sufficient.
> 
> Thanks for the patches ! The hooks for set_memory_*crypted() and the
> ioremap_prot() looks fitting for the CCA support. We will cherry pick
> those and base our next version on it. On a side note, this doesn't
> solve the "fixmap" for earlycon. Hopefully, we can push something
> based on this in the coming weeks.

See my reply to Aneesh about 'earlycon' (and why we don't care for pKVM).
Hopefully the rest of the stuff is helpful, though.

Will



More information about the linux-arm-kernel mailing list