Unlike arm64, on arm32 there are no extra information dumped (e.g.
page table walk) for hypervisor data abort.
For data abort, the HSR will be set properly and so call
do_trap_hyp_sync() instead of do_unexpected_trap() on arm32 to have
the print the same information as arm64.
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
if ( VABORT_GEN_BY_GUEST(regs) )
do_trap_guest_serror(regs);
else
- do_unexpected_trap("Data Abort", regs);
+ do_trap_hyp_sync(regs);
}
void finalize_instr_emulation(const struct instr_details *instr)
void noreturn do_unexpected_trap(const char *msg,
const struct cpu_user_regs *regs);
+void do_trap_hyp_sync(struct cpu_user_regs *regs);
/* Functions for pending virtual abort checking window. */
void abort_guest_exit_start(void);