Re: [PATCH v4] arm64: print a fault message when attempting to write RO memory

2017-04-06 Thread Catalin Marinas
On Wed, Apr 05, 2017 at 12:18:31PM -0700, Stephen Boyd wrote: > If a page is marked read only we should print out that fact, > instead of printing out that there was a page fault. Right now we > get a cryptic error message that something went wrong with an > unhandled fault, but we don't evaluate t

[PATCH v4] arm64: print a fault message when attempting to write RO memory

2017-04-05 Thread Stephen Boyd
If a page is marked read only we should print out that fact, instead of printing out that there was a page fault. Right now we get a cryptic error message that something went wrong with an unhandled fault, but we don't evaluate the esr to figure out that it was a read/write permission fault. Inste