Re: [PATCH v5 06/14] x86/ioremap: Support hypervisor specified range to map as encrypted

From: David Woodhouse
Date: Fri Mar 10 2023 - 05:06:55 EST


On Thu, 2023-03-09 at 17:34 +0100, Borislav Petkov wrote:
> On Thu, Mar 09, 2023 at 03:45:35PM +0000, David Woodhouse wrote:
> > cc_vendor isn't yet exposed. As we discussed this in IRC, I've been
>
> Right, and we might just as well expose it because having
> a setter/getter is kinda silly for a __ro_after_init variable, see
> below.
>
> So here's what I was able to scratch up quickly to remove the static
> key.
>
> The asm looks like this:

Seems reasonable. I might just let you iterate on that, drop the SNP-ES
part from the parallel boot series, then let Tom or someone send it in
later once the dust settles.

Attachment: smime.p7s
Description: S/MIME cryptographic signature