RE: [PATCH v3 0/3] x86/sgx: fine grained SGX MCA behavior

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

 



> I think Tony hinted me about mechanism to test MCA behaviour in
> kernel but I cannot recall it anymore. Was there a way to make
> to simulate a memory failure, and use that to test the patch
> set?

It is possible to inject real errors into enclave memory using ACPI/EINJ.
See the final part of:

  Documentation/firmware-guide/acpi/apei/einj.rst

You do a faked test by just asking to offline a page:

# echo {pfn} > /sys/devices/system/memory/hard_offline_page


-Tony




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux