mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
ppc/pnv: Remove PnvPsiClas::irq_set
All devices raising PSI interrupts are now converted to use GPIO lines and the pnv_psi_irq_set() routines have become useless. Drop them. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220323072846.1780212-5-clg@kaod.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
b0ae5c69e1
commit
dcf4ca4514
2 changed files with 6 additions and 21 deletions
|
@ -79,8 +79,6 @@ struct PnvPsiClass {
|
|||
uint64_t bar_mask;
|
||||
const char *compat;
|
||||
int compat_size;
|
||||
|
||||
void (*irq_set)(PnvPsi *psi, int, bool state);
|
||||
};
|
||||
|
||||
/* The PSI and FSP interrupts are muxed on the same IRQ number */
|
||||
|
@ -95,8 +93,6 @@ typedef enum PnvPsiIrq {
|
|||
|
||||
#define PSI_NUM_INTERRUPTS 6
|
||||
|
||||
void pnv_psi_irq_set(PnvPsi *psi, int irq, bool state);
|
||||
|
||||
/* P9 PSI Interrupts */
|
||||
#define PSIHB9_IRQ_PSI 0
|
||||
#define PSIHB9_IRQ_OCC 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue