public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [5.15/6.1-stable PATCH] Copy-on-write hwpoison recovery
@ 2023-06-26 23:02 Jane Chu
  2023-06-26 23:02 ` [5.15-stable PATCH 1/2] mm, hwpoison: try to recover from copy-on write faults Jane Chu
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jane Chu @ 2023-06-26 23:02 UTC (permalink / raw)
  To: stable
  Cc: tony.luck, dan.j.williams, naoya.horiguchi, linmiaohe, glider,
	jane.chu

I was able to reproduce crash on 5.15.y kernel during COW, and
when the grandchild process attempts a write to a private page
inherited from the child process and the private page contains
a memory uncorrectable error. The way to reproduce is described
in Tony's patch, using his ras-tools/einj_mem_uc.
And the patch series fixed the panic issue in 5.15.y.

Followed here is the backport of Tony patch series to stable 5.15
and stable 6.1. Both backport have encountered trivial conflicts
due to missing dependencies, details are provided in each patch.

Please let me know whether the backport is acceptable.

Tony Luck (2):
  mm, hwpoison: try to recover from copy-on write faults
  mm, hwpoison: when copy-on-write hits poison, take page offline

 include/linux/highmem.h | 24 ++++++++++++++++++++++++
 include/linux/mm.h      |  5 ++++-
 mm/memory.c             | 33 +++++++++++++++++++++++----------
 3 files changed, 51 insertions(+), 11 deletions(-)

-- 
2.18.4


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [5.15-stable PATCH 0/2] Copy-on-write hwpoison recovery
@ 2023-06-15  1:52 Jane Chu
  2023-06-15  1:52 ` [5.15-stable PATCH 1/2] mm, hwpoison: try to recover from copy-on write faults Jane Chu
  0 siblings, 1 reply; 7+ messages in thread
From: Jane Chu @ 2023-06-15  1:52 UTC (permalink / raw)
  To: stable
  Cc: tony.luck, dan.j.williams, naoya.horiguchi, linmiaohe, glider,
	jane.chu

I was able to reproduce crash on 5.15.y kernel during COW, and
when the grandchild process attempts a write to a private page
inherited from the child process and the private page contains
a memory uncorrectable error. The way to reproduce is described
in Tony's patch, using his ras-tools/einj_mem_uc.
And the patch series fixed the panic issue in 5.15.y.

The backport has encountered trivial conflicts due to missing
dependencies, details are provided in each patch.

Please let me know whether the backport is acceptable.

Tony Luck (2):
  mm, hwpoison: try to recover from copy-on write faults
  mm, hwpoison: when copy-on-write hits poison, take page offline

 include/linux/highmem.h | 24 ++++++++++++++++++++++++
 include/linux/mm.h      |  5 ++++-
 mm/memory.c             | 33 +++++++++++++++++++++++----------
 3 files changed, 51 insertions(+), 11 deletions(-)

-- 
2.18.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-28 18:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 23:02 [5.15/6.1-stable PATCH] Copy-on-write hwpoison recovery Jane Chu
2023-06-26 23:02 ` [5.15-stable PATCH 1/2] mm, hwpoison: try to recover from copy-on write faults Jane Chu
2023-06-26 23:02 ` [5.15-stable PATCH 2/2] mm, hwpoison: when copy-on-write hits poison, take page offline Jane Chu
2023-06-26 23:02 ` [6.1-stable PATCH 1/2] mm, hwpoison: try to recover from copy-on write faults Jane Chu
2023-06-26 23:02 ` [6.1-stable PATCH 2/2] mm, hwpoison: when copy-on-write hits poison, take page offline Jane Chu
2023-06-28 18:30 ` [5.15/6.1-stable PATCH] Copy-on-write hwpoison recovery Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2023-06-15  1:52 [5.15-stable PATCH 0/2] " Jane Chu
2023-06-15  1:52 ` [5.15-stable PATCH 1/2] mm, hwpoison: try to recover from copy-on write faults Jane Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox