Re: [PATCH Part2 RFC v2 10/37] x86/fault: Add support to handle the RMP fault for kernel address

From: Dave Hansen
Date: Mon May 03 2021 - 15:43:47 EST


On 5/3/21 12:41 PM, Brijesh Singh wrote:
> Sure, I will look into all the drivers which do a walk plus kmap to make
> sure that they fail instead of going into the fault path. Should I drop
> this patch or keep it just in the case we miss something?

I think you should drop it, and just ensure that the existing page fault
oops code can produce a coherent, descriptive error message about what
went wrong.