Thread (155 messages) 155 messages, 7 authors, 2021-02-05

Re: [RFC PATCH v3 01/27] x86/cpufeatures: Add SGX1 and SGX2 sub-features

From: Sean Christopherson <seanjc@google.com>
Date: 2021-02-02 18:44:08

On Tue, Feb 02, 2021, Paolo Bonzini wrote:
On 02/02/21 19:00, Dave Hansen wrote:
quoted
quoted
/* "" Basic SGX */
/* "" SGX Enclave Dynamic Memory Mgmt */
Do you actually want to suppress these from /proc/cpuinfo with the ""?
sgx1 yes.  However sgx2 can be useful to have there, I guess.
Agreed, /proc/cpuinfo's sgx1 will always be in lockstep with sgx, so it won't
be useful for dealing with the fallout of hardware disabling SGX due to software
disabling a machine check bank via WRMSR(MCi_CTL).  I can't think of any other
use case for checking /proc/cpuinfo's sgx1.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help