[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9ff351c-b802-9d26-c4d6-d94fb7ff3e1a@amd.com>
Date: Mon, 28 Oct 2024 11:15:42 -0500
From: Tom Lendacky <thomas.lendacky@....com>
To: Ashish Kalra <Ashish.Kalra@....com>, dave.hansen@...ux.intel.com,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, x86@...nel.org
Cc: hpa@...or.com, rafael@...nel.org, peterz@...radead.org,
adrian.hunter@...el.com, sathyanarayanan.kuppuswamy@...ux.intel.com,
jun.nakajima@...el.com, kirill.shutemov@...ux.intel.com,
rick.p.edgecombe@...el.com, linux-kernel@...r.kernel.org,
michael.roth@....com, seanjc@...gle.com, kai.huang@...el.com,
bhe@...hat.com, bdas@...hat.com, vkuznets@...hat.com,
dionnaglaze@...gle.com, anisinha@...hat.com, ardb@...nel.org,
dyoung@...hat.com, kexec@...ts.infradead.org, linux-coco@...ts.linux.dev,
jroedel@...e.de
Subject: Re: [PATCH v13 2/3] x86/mm: refactor __set_clr_pte_enc()
On 8/1/24 14:14, Ashish Kalra wrote:
> From: Ashish Kalra <ashish.kalra@....com>
>
> Refactor __set_clr_pte_enc() and add two new helper functions to
> set/clear PTE C-bit from early SEV/SNP initialization code and
> later during shutdown/kexec especially when all CPUs are stopped
> and interrupts are disabled and set_memory_xx() interfaces can't
> be used.
>
> Co-developed-by: Borislav Petkov (AMD) <bp@...en8.de>
> Signed-off-by: Borislav Petkov (AMD) <bp@...en8.de>
> Signed-off-by: Ashish Kalra <ashish.kalra@....com>
Reviewed-by: Tom Lendacky <thomas.lendacky@....com>
> ---
> arch/x86/include/asm/sev.h | 20 ++++++++++
> arch/x86/mm/mem_encrypt_amd.c | 75 +++++++++++++++++++++++------------
> 2 files changed, 69 insertions(+), 26 deletions(-)
>
Powered by blists - more mailing lists