Re: [PATCH Part1 v5 17/38] x86/mm: Add support to validate memory when changing C-bit

From: Borislav Petkov
Date: Fri Aug 27 2021 - 13:08:42 EST


On Fri, Aug 20, 2021 at 10:19:12AM -0500, Brijesh Singh wrote:
> diff --git a/arch/x86/include/asm/sev-common.h b/arch/x86/include/asm/sev-common.h
> index 37aa77565726..3388db814fd0 100644
> --- a/arch/x86/include/asm/sev-common.h
> +++ b/arch/x86/include/asm/sev-common.h
> @@ -74,6 +74,8 @@
> enum psc_op {
> SNP_PAGE_STATE_PRIVATE = 1,
> SNP_PAGE_STATE_SHARED,
> + SNP_PAGE_STATE_PSMASH,
> + SNP_PAGE_STATE_UNSMASH,

Those two are unused in this set, AFAICT.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette