Skip to content

x86/sgx: Add code to inject hwpoison into SGX memory

Thomas Tai linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 3 repliesIn review
  2. v21 patch 5 repliesSuperseded
  3. v11 patch 6 repliesSuperseded

Changes in v3 from the cover letter

- As suggested by Naoya Horiguchi <[email protected]>, 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 [email protected] to the email list. Sorry that I mistyped the email address in the previous emails.
- v2 Reviewed-by: Jarkko Sakkinen <[email protected]>

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1x86/sgx: Add code to inject hwpoison into SGX memoryDocumentation/mm/hwpoison.rst include/linux/mm.h include/ras/ras_event.h +2 more+34 -13 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchNaoya HoriguchiMiaohe LinJarkko Sakkinen
1/1A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [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 <[email protected]>, 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 [email protected] to the email list. Sorry that I mistyped the email address in the previous emails.
- v2 Reviewed-by: Jarkko Sakkinen <[email protected]>

Changes since v1:
- Add a comment in hwpoison_inject as suggested by Miaohe
- v1: Reviewed-by: Tony Luck <[email protected]>
- v1: Reviewed-by: Miaohe Lin <[email protected]>

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(-)
Signature · 1 line
2 .31.1