Re: [PATCH v2 2/3] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-06-07 Thread Punit Agrawal
Will Deacon writes: > On Wed, May 17, 2017 at 04:23:35PM +0100, Punit Agrawal wrote: >> From: "Jonathan (Zhixiong) Zhang" >> >> Add VM_FAULT_HWPOISON[_LARGE] handling to the arm64 page fault >> handler. Handling of VM_FAULT_HWPOISON[_LARGE] is very similar >> to VM_FAULT_OOM, the only differenc

Re: [PATCH v2 2/3] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-06-07 Thread Will Deacon
On Wed, May 17, 2017 at 04:23:35PM +0100, Punit Agrawal wrote: > From: "Jonathan (Zhixiong) Zhang" > > Add VM_FAULT_HWPOISON[_LARGE] handling to the arm64 page fault > handler. Handling of VM_FAULT_HWPOISON[_LARGE] is very similar > to VM_FAULT_OOM, the only difference is that a different si_code

[PATCH v2 2/3] arm64: hwpoison: add VM_FAULT_HWPOISON[_LARGE] handling

2017-05-17 Thread Punit Agrawal
From: "Jonathan (Zhixiong) Zhang" Add VM_FAULT_HWPOISON[_LARGE] handling to the arm64 page fault handler. Handling of VM_FAULT_HWPOISON[_LARGE] is very similar to VM_FAULT_OOM, the only difference is that a different si_code (BUS_MCEERR_AR) is passed to user space and si_addr_lsb field is initial