From: Edgecombe, Rick P Sent: Tuesday, November
28, 2023 10:59 AM
>
> On Tue, 2023-11-28 at 18:08 +, Michael Kelley wrote:
> > >
> > > Sort of separately, if those vmalloc objections can't be worked
> > > through, did you consider doing something like text_poke() does
> > > (create
> > > the
On Tue, 2023-11-28 at 18:08 +, Michael Kelley wrote:
> >
> > Sort of separately, if those vmalloc objections can't be worked
> > through, did you consider doing something like text_poke() does
> > (create
> > the temporary mapping in a temporary MM) for pvalidate purposes? I
> > don't know eno
On Tue, 2023-11-21 at 13:20 -0800, mhkelle...@gmail.com wrote:
> +static int pvalidate_pfn(unsigned long vaddr, unsigned int size,
> + unsigned long pfn, bool validate, int *rc2)
> +{
> + int rc;
> + struct page *page = pfn_to_page(pfn);
> +
> + *rc2 = vmap_
From: Michael Kelley
For SEV-SNP, the PVALIDATE instruction requires a valid virtual
address that it translates to the PFN that it operates on. Per
the spec, it translates the virtual address as if it were doing a
single byte read.
In transitioning a page between encrypted and decrypted, the di