freebsd-skq/sys/amd64
mw a61dc2f9d7 Prevent loading SGX with incorrect EPC data
It may happen on some machines, that even if SGX is disabled
in firmware, the driver would still attach despite EPC base and
size equal zero. Such behaviour causes a kernel panic when the
module is unloaded. Add a simple check to make sure we
only attach when these values are correctly set.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Reviewed by: br
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D19595
2019-03-19 02:33:58 +00:00
..
acpica
amd64 amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
cloudabi32 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
cloudabi64 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf add gcov to LINT build 2019-03-07 03:50:34 +00:00
ia32 Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
include amd64 KPTI: add control from procctl(2). 2019-03-16 11:44:33 +00:00
linux Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
linux32 Kill tz_minuteswest and tz_dsttime. 2019-03-12 04:49:47 +00:00
pci Do not flush cache for PCIe config window. 2018-10-18 20:49:16 +00:00
sgx Prevent loading SGX with incorrect EPC data 2019-03-19 02:33:58 +00:00
vmm Fix missed posted interrupts in VT-x in bhyve. 2019-03-01 20:43:48 +00:00
Makefile