Re: [PATCHv9 17/17] ACPI: tables: Print MULTIPROC_WAKEUP when MADT is parsed

2024-03-26 Thread Kuppuswamy Sathyanarayanan
On 3/25/24 3:39 AM, Kirill A. Shutemov wrote: > When MADT is parsed, print MULTIPROC_WAKEUP information: > > ACPI: MP Wakeup (version[1], mailbox[0x7fffd000], reset[0x7fffe068]) > > This debug information will be very helpful during bring up. > > Signed-off-by: Kirill A. Shutemov > Reviewed-by:

Re: Implementing .shutdown method for efa module

2024-03-26 Thread Jason Gunthorpe
On Tue, Mar 26, 2024 at 02:34:45PM +0200, Margolin, Michael wrote: > Hi Tao, > > Thanks for bringing this up. > > I've unsuccessfully tried to reproduce this kernel panic using production > Red Hat 9.3 AMI (5.14.0-362.18.1.el9_3.aarch64). > > Are there any related changes in the kernel you are

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

2024-03-26 Thread Huang, Kai
On Mon, 2024-03-25 at 12:39 +0200, 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 set_memory_decrypted(). > > The second kernel has no idea what memory is

Re: [PATCHv9 06/17] x86/mm: Make x86_platform.guest.enc_status_change_*() return errno

2024-03-26 Thread Huang, Kai
On Mon, 2024-03-25 at 12:39 +0200, Kirill A. Shutemov wrote: > TDX is going to have more than one reason to fail > enc_status_change_prepare(). > > Change the callback to return errno instead of assuming -EIO; > enc_status_change_finish() changed too to keep the interface symmetric. > >

Re: [PATCHv9 08/17] x86/tdx: Account shared memory

2024-03-26 Thread Huang, Kai
On Mon, 2024-03-25 at 12:39 +0200, Kirill A. Shutemov wrote: > The kernel will convert all shared memory back to private during kexec. > The direct mapping page tables will provide information on which memory > is shared. > > It is extremely important to convert all shared memory. If a page is >

Re: [PATCHv9 17/17] ACPI: tables: Print MULTIPROC_WAKEUP when MADT is parsed

2024-03-26 Thread Huang, Kai
On Mon, 2024-03-25 at 12:39 +0200, Kirill A. Shutemov wrote: > When MADT is parsed, print MULTIPROC_WAKEUP information: > > ACPI: MP Wakeup (version[1], mailbox[0x7fffd000], reset[0x7fffe068]) > > This debug information will be very helpful during bring up. > > Signed-off-by: Kirill A. Shutemov

Re: Implementing .shutdown method for efa module

2024-03-26 Thread Margolin, Michael
Hi Tao, Thanks for bringing this up. I've unsuccessfully tried to reproduce this kernel panic using production Red Hat 9.3 AMI (5.14.0-362.18.1.el9_3.aarch64). Are there any related changes in the kernel you are testing? Anyways we do need to handle shutdown properly, please let know if