Re: [PATCH] x86/entry/32: pass cr2 to do_async_page_fault

2019-07-24 Thread Peter Zijlstra
On Tue, Jul 23, 2019 at 09:20:58PM -0700, Matt Mullins wrote: > Commit a0d14b8909de ("x86/mm, tracing: Fix CR2 corruption") added the > address parameter to do_async_page_fault, but does not pass it from the > 32-bit entry point. To plumb it through, factor-out > common_exception_read_cr2 in the s

[PATCH] x86/entry/32: pass cr2 to do_async_page_fault

2019-07-23 Thread Matt Mullins
Commit a0d14b8909de ("x86/mm, tracing: Fix CR2 corruption") added the address parameter to do_async_page_fault, but does not pass it from the 32-bit entry point. To plumb it through, factor-out common_exception_read_cr2 in the same fashion as common_exception, and uses it from both page_fault and