hw/psi-p9: Configure IRQ offset before XIVE notify
hw/psi-p9: Configure IRQ offset before XIVE notify

When configuring the XIVE notification address any currently pending
interrupts will be delivered once the the valid bit in the BAR is set.

Currently we enable the notify BAR before we've configured the global
interrupt number offset for the PSI interrupts. If any PSI interrupt is
pending at this point we'll send an interrupt trigger notification for
the wrong interrupt vector. This can potentially cause a checkstop since
there may not be an EAS / IVT configure for that vector.

Fix this by fixing the ordering so we setup the offset before the XIVE
notification address.

Cc: Cédric Le Goater <2d8cace2254d4e43578d21933db015d84bcc468a@kaod.org>
Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>
Reviewed-by: Cédric Le Goater <2d8cace2254d4e43578d21933db015d84bcc468a@kaod.org>
Signed-off-by: Oliver O'Halloran <3dfaff8fa6ae977f042064a112a6aac576279b9b@gmail.com>

shenki/skiboot,legoater/skiboot,qemu/skiboot,shenki/skiboot,open-power/skiboot,open-power/skiboot,qemu/skiboot,legoater/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,shenki/skiboot,shenki/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot