Re: [Xen-devel] [PATCH 12/18] xen/arm: Introduce new helpers to handle guest/hyp SErrors

2017-03-16 Thread Stefano Stabellini
On Mon, 13 Mar 2017, Wei Chen wrote: > Currently, ARM32 and ARM64 has different SError exception handlers. > These handlers include lots of code to check SError handle options > and code to distinguish guest-generated SErrors from hypervisor > SErrors. > > The new helpers: do_trap_guest_serror

[Xen-devel] [PATCH 12/18] xen/arm: Introduce new helpers to handle guest/hyp SErrors

2017-03-13 Thread Wei Chen
Currently, ARM32 and ARM64 has different SError exception handlers. These handlers include lots of code to check SError handle options and code to distinguish guest-generated SErrors from hypervisor SErrors. The new helpers: do_trap_guest_serror and do_trap_hyp_serror are wrappers of