Re: [Qemu-devel] [RFC PATCH] spapr/irq: force XICS interrupt mode on non P9 machines

2019-03-18 Thread Greg Kurz
On Mon, 18 Mar 2019 07:27:59 +0100 Cédric Le Goater wrote: > On 3/18/19 2:52 AM, David Gibson wrote: > > On Sun, Mar 17, 2019 at 09:33:42PM +0100, Cédric Le Goater wrote: > >> There is no need to propose the 'dual' interrupt mode interrupt device > >> on POWER7/8 machines and the XIVE mode will

Re: [Qemu-devel] [RFC PATCH] spapr/irq: force XICS interrupt mode on non P9 machines

2019-03-17 Thread Cédric Le Goater
On 3/18/19 2:52 AM, David Gibson wrote: > On Sun, Mar 17, 2019 at 09:33:42PM +0100, Cédric Le Goater wrote: >> There is no need to propose the 'dual' interrupt mode interrupt device >> on POWER7/8 machines and the XIVE mode will not operate. Simply force >> XICS in this case. >> >> This makes the c

Re: [Qemu-devel] [RFC PATCH] spapr/irq: force XICS interrupt mode on non P9 machines

2019-03-17 Thread David Gibson
On Sun, Mar 17, 2019 at 09:33:42PM +0100, Cédric Le Goater wrote: > There is no need to propose the 'dual' interrupt mode interrupt device > on POWER7/8 machines and the XIVE mode will not operate. Simply force > XICS in this case. > > This makes the check in spapr_machine_init() redundant on XIVE

[Qemu-devel] [RFC PATCH] spapr/irq: force XICS interrupt mode on non P9 machines

2019-03-17 Thread Cédric Le Goater
There is no need to propose the 'dual' interrupt mode interrupt device on POWER7/8 machines and the XIVE mode will not operate. Simply force XICS in this case. This makes the check in spapr_machine_init() redundant on XIVE-only machines. Signed-off-by: Cédric Le Goater --- hw/ppc/spapr_irq.c |