diff options
author | Balbir Singh | 2017-09-29 06:26:55 +0200 |
---|---|---|
committer | Michael Ellerman | 2017-10-16 14:12:02 +0200 |
commit | 733e4a4c4467033918f4e64f797b03efe209d82c (patch) | |
tree | b710e2e735d8359e3d7b8a2e6cd82d4ab5647432 /arch/powerpc/mm/numa.c | |
parent | powerpc/mce: Hookup ierror (instruction) UE errors (diff) | |
download | kernel-qcow2-linux-733e4a4c4467033918f4e64f797b03efe209d82c.tar.gz kernel-qcow2-linux-733e4a4c4467033918f4e64f797b03efe209d82c.tar.xz kernel-qcow2-linux-733e4a4c4467033918f4e64f797b03efe209d82c.zip |
powerpc/mce: hookup memory_failure for UE errors
If we are in user space and hit a UE error, we now have the
basic infrastructure to walk the page tables and find out
the effective address that was accessed, since the DAR
is not valid.
We use a work_queue content to hookup the bad pfn, any
other context causes problems, since memory_failure itself
can call into schedule() via lru_drain_ bits.
We could probably poison the struct page to avoid a race
between detection and taking corrective action.
Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/numa.c')
0 files changed, 0 insertions, 0 deletions