Re: [PATCHv10 10/18] x86/tdx: Convert shared memory back to private on kexec

2024-05-06 Thread Kirill A. Shutemov
On Sun, May 05, 2024 at 02:13:19PM +0200, Borislav Petkov wrote: > On Tue, Apr 09, 2024 at 02:30:02PM +0300, Kirill A. Shutemov wrote: > > TDX guests allocate shared buffers to perform I/O. It is done by > > allocating pages normally from the buddy allocator and converting them > > to shared with

Re: [PATCHv10.1 09/18] x86/mm: Adding callbacks to prepare encrypted memory for kexec

2024-05-06 Thread Borislav Petkov
On Mon, May 06, 2024 at 04:22:02PM +0300, Kirill A. Shutemov wrote: > I do. See comment just above enc_kexec_stop_conversion() call. If you mean this: /* * Call enc_kexec_stop_conversion() while all CPUs are still active and * interrupts are enabled. This will allow all

Re: [PATCHv10.1 09/18] x86/mm: Adding callbacks to prepare encrypted memory for kexec

2024-05-06 Thread Kirill A. Shutemov
On Thu, May 02, 2024 at 03:45:06PM +0200, Borislav Petkov wrote: > > diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c > > index e74d0c4286c1..f1b261be78b4 100644 > > --- a/arch/x86/kernel/crash.c > > +++ b/arch/x86/kernel/crash.c > > @@ -128,6 +128,10 @@ void