[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221017223305.578073-1-thomas.tai@oracle.com>
Date: Mon, 17 Oct 2022 18:33:04 -0400
From: Thomas Tai <thomas.tai@...cle.com>
To: tony.luck@...el.com, dave.hansen@...ux.intel.com,
jarkko@...nel.org, reinette.chatre@...el.com, linmiaohe@...wei.com,
akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, naoya.horiguchi@....com,
thomas.tai@...cle.com
Subject: [PATCH V3 0/1] x86/sgx: Add code to inject hwpoison into SGX memory
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@....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@...el.com to the email list. Sorry that I
mistyped the email address in the previous emails.
- v2 Reviewed-by: Jarkko Sakkinen <jarkko@...nel.org>
Changes since v1:
- Add a comment in hwpoison_inject as suggested by Miaohe
- v1: Reviewed-by: Tony Luck <tony.luck@...el.com>
- v1: Reviewed-by: Miaohe Lin <linmiaohe@...wei.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
Powered by blists - more mailing lists