Re: [PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Linus Torvalds
On Wed, Dec 5, 2018 at 11:27 AM Randy Dunlap wrote: > > BTW, what does PK mean? "Protection Key" Linus

Re: [PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Linus Torvalds
On Wed, Dec 5, 2018 at 11:27 AM Randy Dunlap wrote: > > BTW, what does PK mean? "Protection Key" Linus

Re: [PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Randy Dunlap
On 12/5/18 8:36 AM, Sean Christopherson wrote: > ...instead of manually handling the case where error_code=0, e.g. to > display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". > > This makes the zero case consistent with all other messages and also > provides additional information

Re: [PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Randy Dunlap
On 12/5/18 8:36 AM, Sean Christopherson wrote: > ...instead of manually handling the case where error_code=0, e.g. to > display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". > > This makes the zero case consistent with all other messages and also > provides additional information

[PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Sean Christopherson
...instead of manually handling the case where error_code=0, e.g. to display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". This makes the zero case consistent with all other messages and also provides additional information for other error code combinations, e.g. error_code==1 will

[PATCH] x86/fault: Print "SUPERVISOR" and "READ" when decoding #PF oops

2018-12-05 Thread Sean Christopherson
...instead of manually handling the case where error_code=0, e.g. to display "[SUPERVISOR] [READ]" instead of "normal kernel read fault". This makes the zero case consistent with all other messages and also provides additional information for other error code combinations, e.g. error_code==1 will