Re: [RFC PATCH 18/21] kvm/ioapic: mark gsi-2 used in ioapic routing init

2022-12-05 Thread David Woodhouse
On Mon, 2022-12-05 at 23:25 +0100, Philippe Mathieu-Daudé wrote: > On 5/12/22 18:31, David Woodhouse wrote: > > From: Ankur Arora < > > ankur.a.ar...@oracle.com > > > > > > > GSI-2/IOAPIC pin-2 is treated specially while initing > > IRQ routing: PIC does not use it at all while the IOAPIC > > maps

Re: [RFC PATCH 18/21] kvm/ioapic: mark gsi-2 used in ioapic routing init

2022-12-05 Thread Philippe Mathieu-Daudé
On 5/12/22 18:31, David Woodhouse wrote: From: Ankur Arora GSI-2/IOAPIC pin-2 is treated specially while initing IRQ routing: PIC does not use it at all while the IOAPIC maps virq=0 to pin-2 and does not use GSI-2. (all other GSIs are identity mapped to pins.) This results in any later code wh

[RFC PATCH 18/21] kvm/ioapic: mark gsi-2 used in ioapic routing init

2022-12-05 Thread David Woodhouse
From: Ankur Arora GSI-2/IOAPIC pin-2 is treated specially while initing IRQ routing: PIC does not use it at all while the IOAPIC maps virq=0 to pin-2 and does not use GSI-2. (all other GSIs are identity mapped to pins.) This results in any later code which allocates a virq to be assigned GSI-2.