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(+)
--
2.31.1