mbox series

[V2,0/1] x86/sgx: Add code to inject hwpoison into SGX memory

Message ID 20220928153832.1032566-1-thomas.tai@oracle.com (mailing list archive)
Headers show
Series x86/sgx: Add code to inject hwpoison into SGX memory | expand

Message

Thomas Tai Sept. 28, 2022, 3:38 p.m. UTC
This patch adds code to inject hwpoison into SGX memory. The SGX memory
is processor reserved memory that cannot be directly accessed by system
software.

Changes since v1:
- Add a comment in hwpoison_inject as suggested by Miaohe
- v1: Reviewed-by: Tony Luck <tony.luck@intel.com>
- v1: Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>

Thomas Tai (1):
  x86/sgx: Add code to inject hwpoison into SGX memory

 Documentation/mm/hwpoison.rst | 44 +++++++++++++++++++++++++++++++++++
 mm/hwpoison-inject.c          |  4 ++++
 2 files changed, 48 insertions(+)