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

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

 



On Tue, 2022-06-07 at 15:43 +0000, Luck, Tony wrote:
> > 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

OK, I'll try this out in a VM. Thank you.

BR, Jarkko




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

  Powered by Linux