Re: [Xen-devel] [PATCH v2 20/45] ARM: new VGIC: Add GICv2 world switch backend

2018-03-18 Thread Julien Grall
Hi Andre, On 03/15/2018 08:30 PM, Andre Przywara wrote: + + /* +* Level-triggered mapped IRQs are special because we only +* observe rising edges as input to the VGIC. +* +* If the guest never acked the interrupt we have to sample +* the physical lin

[Xen-devel] [PATCH v2 20/45] ARM: new VGIC: Add GICv2 world switch backend

2018-03-15 Thread Andre Przywara
Processing maintenance interrupts and accessing the list registers are dependent on the host's GIC version. Introduce vgic-v2.c to contain GICv2 specific functions. Implement the GICv2 specific code for syncing the emulation state into the VGIC registers. This also adds the hook to let Xen setup th