Re: [PATCHv9 05/17] x86/kexec: Keep CR4.MCE set during kexec for TDX guest

2024-03-29 Thread Xiaoyao Li
On 3/25/2024 6:38 PM, Kirill A. Shutemov wrote: TDX guests are not allowed to clear CR4.MCE. Attempt to clear it leads to #VE. Will we consider making it more safe and compatible for future to guard against X86_FEATURE_MCE as well? If in the future, MCE becomes configurable for TD guest,

Re: [PATCHv9 05/17] x86/kexec: Keep CR4.MCE set during kexec for TDX guest

2024-03-29 Thread Kirill A. Shutemov
On Fri, Mar 29, 2024 at 11:21:32PM +0800, Xiaoyao Li wrote: > On 3/25/2024 6:38 PM, Kirill A. Shutemov wrote: > > TDX guests are not allowed to clear CR4.MCE. Attempt to clear it leads > > to #VE. > > Will we consider making it more safe and compatible for future to guard > against

Re: [PATCH v8 04/15] x86: Secure Launch Resource Table header file

2024-03-29 Thread Kim Phillips
Hi Ross, On 2/14/24 4:18 PM, Ross Philipson wrote: Introduce the Secure Launch Resource Table which forms the formal interface between the pre and post launch code. Signed-off-by: Ross Philipson --- include/linux/slr_table.h | 270 ++ 1 file changed, 270

Re: Implementing .shutdown method for efa module

2024-03-29 Thread Tao Liu
Hi Michael, Sorry for the late reply. We spent some time to reproduce the issue on the upstream kernel 6.9.0-rc1. I added our QE(libhe and xiliang) in the CC list, who helped perform the test using their testing program. On Tue, Mar 26, 2024 at 8:35 PM Margolin, Michael wrote: > > Hi Tao, > >

[PATCH 0/2] crash: clean up outdated codes and doc related to CRASH_CORE

2024-03-29 Thread Baoquan He
As Geert pointed out that there are still left codes and doc related to CRASH_CORE in arch/loongarch and Documentation. So make these two patches to clean them up. Thanks to Geert. Baoquan He (2): arch/loongarch: clean up the left code and Kconfig item related to CRASH_CORE Documentation:

[PATCH 2/2] Documentation: kdump: clean up the outdated description

2024-03-29 Thread Baoquan He
After commit 443cbaf9e2fd ("crash: split vmcoreinfo exporting code out from crash_core.c"), Kconfig item CRASH_CORE has gone away in kernel. Items VMCORE_INFO and CRASH_RESERVE are used instead. So clean up the outdated description about CRASH_CORE and update it accordingly. Signed-off-by:

[PATCH 1/2] arch/loongarch: clean up the left code and Kconfig item related to CRASH_CORE

2024-03-29 Thread Baoquan He
In commit 85fcde402db1 ("kexec: split crashkernel reservation code out from crash_core.c"), crashkernel reservation code is split out from crash_core.c, and add CRASH_RESERVE to control it. And also rename each ARCH's to accordingly. But the relevant part in loongarch is missed. Do it now.