mirror of
https://github.com/torvalds/linux
synced 2024-10-06 19:34:19 +00:00
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
This commit is contained in:
parent
679e30b953
commit
1e661f81a5
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -57,15 +57,6 @@ static void ics_rtas_unmask_irq(struct irq_data *d)
|
|||
|
||||
static unsigned int ics_rtas_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_rtas_unmask_irq(d);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue