diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-07-01 15:27:41 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 15:15:00 +0200 |
commit | 1e661f81a522eadfe4bc5bb1ec9fbae27c13f163 (patch) | |
tree | 64da9e9d9a010e33c1798d3457504637c13c6224 /arch/powerpc/sysdev/xics/ics-opal.c | |
parent | powerpc/pci: Drop XIVE restriction on MSI domains (diff) | |
download | linux-1e661f81a522eadfe4bc5bb1ec9fbae27c13f163.tar.xz linux-1e661f81a522eadfe4bc5bb1ec9fbae27c13f163.zip |
powerpc/xics: Drop unmask of MSIs at startup
That was a workaround in the XICS domain because of the lack of MSI
domain. This is now handled.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-24-clg@kaod.org
Diffstat (limited to 'arch/powerpc/sysdev/xics/ics-opal.c')
-rw-r--r-- | arch/powerpc/sysdev/xics/ics-opal.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/sysdev/xics/ics-opal.c b/arch/powerpc/sysdev/xics/ics-opal.c index bf26cae1b982..c4d95d8beb6f 100644 --- a/arch/powerpc/sysdev/xics/ics-opal.c +++ b/arch/powerpc/sysdev/xics/ics-opal.c @@ -62,17 +62,6 @@ static void ics_opal_unmask_irq(struct irq_data *d) static unsigned int ics_opal_startup(struct irq_data *d) { -#ifdef CONFIG_PCI_MSI - /* - * The generic MSI code returns with the interrupt disabled on the - * card, using the MSI mask bits. Firmware doesn't appear to unmask - * at that level, so we do it here by hand. - */ - if (irq_data_get_msi_desc(d)) - pci_msi_unmask_irq(d); -#endif - - /* unmask it */ ics_opal_unmask_irq(d); return 0; } |