Skip to content

x86/fault: Further improve #PF oops messages

Sean Christopherson lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 4 repliesIn review

Changes in v3 from the cover letter

- Prepend a patch to reword the initial BUG message
- Add sample output in the changelogs
- Swap the order of the #PF lines. For most cases the three main lines show up in reverse fir-tree ordering and the cause of the fault is easy to pick out since it's the last thing highlighted by pr_alert (excepting when dumping the IDT, GDT, etc...).

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/fault: Reword initial BUG message for unhandled page faultsarch/x86/mm/fault.c+6 -30 replies
2/2x86/fault: Decode and print #PF oops in human readable formarch/x86/mm/fault.c+11 -313 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] x86/fault: Further improve #PF oops messages

Rework the messages printed for #PF oopses to display more detailed information about the fault in human readable form and to avoid conflicting messages and/or statements that may not always be accurate.

v3:
- Prepend a patch to reword the initial BUG message
- Add sample output in the changelogs
- Swap the order of the #PF lines. For most cases the three main lines show up in reverse fir-tree ordering and the cause of the fault is easy to pick out since it's the last thing highlighted by pr_alert (excepting when dumping the IDT, GDT, etc...).

v2:
- Explicitly call out protection keys violations
- "Slightly" reword the changelog

v1: https://lkml.kernel.org/r/[email protected]
v2: https://lkml.kernel.org/r/[email protected]

Sean Christopherson (2):
x86/fault: Reword initial BUG message for unhandled page faults x86/fault: Decode and print #PF oops in human readable form

 arch/x86/mm/fault.c | 51 +++++++++++++++------------------------------
 1 file changed, 17 insertions(+), 34 deletions(-)
Signature · 1 line
2.19.2