[0/2] x86/sgx: Revert two recent master changes
mbox series

Message ID 20191008041226.2974-1-sean.j.christopherson@intel.com
Headers show
Series
  • x86/sgx: Revert two recent master changes
Related show

Message

Sean Christopherson Oct. 8, 2019, 4:12 a.m. UTC
Revert two changes that break the build and cause panic during boot.
Not true reverts since the chanes have already been squashed.

Sean Christopherson (2):
  x86/sgx: Revert using BIT() to define ENCLS_FAULT_FLAG
  x86/sgx: Revert moving sgx_init() call to sgx_detect()

 arch/x86/include/asm/sgx.h        |  7 -------
 arch/x86/kernel/cpu/intel.c       |  5 -----
 arch/x86/kernel/cpu/sgx/encls.h   |  2 +-
 arch/x86/kernel/cpu/sgx/main.c    | 16 +++++++++-------
 arch/x86/kernel/cpu/sgx/reclaim.c |  2 +-
 arch/x86/kernel/cpu/sgx/sgx.h     |  2 +-
 6 files changed, 12 insertions(+), 22 deletions(-)
 delete mode 100644 arch/x86/include/asm/sgx.h

Comments

Jarkko Sakkinen Oct. 8, 2019, 11:28 p.m. UTC | #1
On Mon, Oct 07, 2019 at 09:12:24PM -0700, Sean Christopherson wrote:
> Revert two changes that break the build and cause panic during boot.
> Not true reverts since the chanes have already been squashed.
> 
> Sean Christopherson (2):
>   x86/sgx: Revert using BIT() to define ENCLS_FAULT_FLAG
>   x86/sgx: Revert moving sgx_init() call to sgx_detect()

Thanks!

/Jarkko