| Date | Sun, 21 Jan 2024 13:29:20 +0100 | | From | Borislav Petkov <> | | Subject | Re: [PATCH v1 24/26] crypto: ccp: Add the SNP_PLATFORM_STATUS command |
| |
On Sat, Dec 30, 2023 at 10:19:52AM -0600, Michael Roth wrote: > + /* Change the page state before accessing it */ > + if (snp_reclaim_pages(__pa(data), 1, true)) { > + snp_leak_pages(__pa(data) >> PAGE_SHIFT, 1); > + return -EFAULT; > + }
This looks weird and it doesn't explain why this needs to happen. SNP_PLATFORM_STATUS text doesn't explain either.
So, what's up?
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
|