Re: [PATCH] KVM: VMX: Use is_64_bit_mode() to check 64-bit mode in SGX handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 04 Apr 2023 11:25:02 +0800, Binbin Wu wrote:
> sgx_get_encls_gva() uses is_long_mode() to check 64-bit mode, however,
> SGX system leaf instructions are valid in compatibility mode, should
> use is_64_bit_mode() instead.

Applied to kvm-x86 vmx, thanks!  I'm still dumbfounded that ENCLS is allowed in
compatibility mode :-)

[1/1] KVM: VMX: Use is_64_bit_mode() to check 64-bit mode in SGX handler
      https://github.com/kvm-x86/linux/commit/548bd27428b9

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux