lkml.org 
[lkml]   [2022]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V3 0/1] x86/sgx: Add code to inject hwpoison into SGX memory
Date
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 v2:
- As suggested by Naoya Horiguchi <naoya.horiguchi@nec.com>, add a
new mf_action_page_type MF_MSG_SGX and use action_result() to
show the page type and the action taken.
- Rewrite hwpoison.rst to show the output from dmesg after injection.
- Add reinette.chatre@intel.com to the email list. Sorry that I
mistyped the email address in the previous emails.
- v2 Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>

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 | 24 ++++++++++++++++++++++++
include/linux/mm.h | 1 +
include/ras/ras_event.h | 1 +
mm/hwpoison-inject.c | 4 ++++
mm/memory-failure.c | 5 ++++-
5 files changed, 34 insertions(+), 1 deletion(-)

--
2 .31.1


\
 
 \ /
  Last update: 2022-10-18 00:33    [W:0.098 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site