ppc/pnv: Remove PnvLpcController::psi link
commitc05aa1406b376a71ba8071f4b959750721086371
authorCédric Le Goater <clg@kaod.org>
Wed, 23 Mar 2022 07:28:43 +0000 (23 08:28 +0100)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 20 Apr 2022 21:00:30 +0000 (20 18:00 -0300)
treeac250063cf8f8977cc324da9ba8fd0eaf160dd4e
parent58858759c198dc56498095e387a31178d0d852b9
ppc/pnv: Remove PnvLpcController::psi link

Create an anonymous output GPIO line to connect the LPC device with
the PSIHB device and raise the appropriate PSI IRQ line depending on
the processor model.

A temporary __pnv_psi_irq_set() routine is introduced to handle the
transition. It will be removed when all devices raising PSI interrupts
are converted to use GPIOs.

Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220323072846.1780212-3-clg@kaod.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv.c
hw/ppc/pnv_lpc.c
hw/ppc/pnv_psi.c
include/hw/ppc/pnv_lpc.h