arm64: record register state at kernel mode page fault (for eclair)
Change-Id: I066bceecc0377110faaca0b21d45a476d000e684
This commit is contained in:
committed by
Masamichi Takagi
parent
92902d36fc
commit
623d6f8bc3
@ -1323,6 +1323,7 @@ static void unhandled_page_fault(struct thread *thread, void *fault_addr,
|
||||
ihk_mc_debug_show_interrupt_context(regs);
|
||||
|
||||
if (!(reason & PF_USER)) {
|
||||
cpu_local_var(kernel_mode_pf_regs) = regs;
|
||||
panic("panic: kernel mode PF");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user