Log the vm_fault() error in the data_abort panic so it is easier to
find the reason vm_fault() failed (e.g., invalid address).
Reviewed by: ..
MFC After: 2 weeks
Differential Revision: ...
Differential D30362
arm64: log vm_fault error for data_abort bz on May 20 2021, 4:58 PM. Authored by Tags None Referenced Files
Details
Log the vm_fault() error in the data_abort panic so it is easier to Reviewed by: ..
Diff Detail
Event TimelineComment Actions That brings me to a different question: print_registers and a "show reg" in ddb right after the panic result in two different outputs. Is that intentional? Comment Actions They are printing different trap frames. print_registers will print the fault frame while show reg will print a frame from a breakpoint within panic. The registers seen when debugger_on_trap is true should be identical to the version printed by print_registers. |