]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Add HWPOISON page fault handler code
authorHelge Deller <deller@gmx.de>
Thu, 21 Sep 2017 19:52:08 +0000 (21:52 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 22 Sep 2017 17:47:17 +0000 (19:47 +0200)
commit1720bf2c75797ec218f75e96d8e6d705c0650ee2
tree2a5fc4cc7a219bc896abf999be964d99aea1f24a
parent519caf179479ceb0250515ceb16c5d7f4998a673
parisc: Add HWPOISON page fault handler code

Commit eb0d2dea4b85 ("parisc: Add MADV_HWPOISON and MADV_SOFT_OFFLINE") added
the necessary constants to handle hardware-poisoning. Those were needed to
support the page deallocation feature from firmware.

But I completely missed to add the relevant fault handler code. This now
showed up when I ran the madvise07 testcase from the Linux Test Project,
which failed with a kernel BUG at arch/parisc/mm/fault.c:320.

With this patch the parisc kernel now behaves like other platforms and
gives the same kernel syslog warnings when poisoning pages.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/fault.c