Re: [Xen-devel] [PATCH 1/7] xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros

2018-01-24 Thread Stefano Stabellini
On Fri, 19 Jan 2018, Julien Grall wrote: > The only difference between all the DEFINE_TRAP_ENTRY_* macros are the > interrupts (Asynchronous Abort, IRQ, FIQ) unmasked. > > Rather than duplicating the code, introduce __DEFINE_TRAP_ENTRY macro > that will take the list of interrupts to unmask. >

[Xen-devel] [PATCH 1/7] xen/arm32: entry: Consolidate DEFINE_TRAP_ENTRY_* macros

2018-01-22 Thread Julien Grall
The only difference between all the DEFINE_TRAP_ENTRY_* macros are the interrupts (Asynchronous Abort, IRQ, FIQ) unmasked. Rather than duplicating the code, introduce __DEFINE_TRAP_ENTRY macro that will take the list of interrupts to unmask. This is part of XSA-254. Signed-off-by: Julien Grall