PCI/MSI: Avoid PCI level masking during normal operation if requested
Status from this message: The following commit has been merged into the irq/drivers branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | irqchip/msi-lib: Honor the MSI_FLAG_PCI_MSI_MASK_PARENT flagdrivers/ | +14 | 9 replies | |
| 2/2 | PCI/MSI: Remove the conditional parent [un]mask logicdrivers/ | +0 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Bjorn Helgaas | Marc Zyngier |
|---|---|---|
| Series | A-b T-b | |
| 1/2 | ||
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/2] PCI/MSI: Avoid PCI level masking during normal operation if requested
This is a follow up to Marc's attempt on this:
https://lore.kernel.org/lkml/[email protected]
Now that the PCI/MSI side has irq_startup/shutdown() callbacks, which do the [un]masking at the PCI level, let the MSI parent domains which insist on being in charge of masking do so for normal operations.
That avoids going out to the PCI endpoint in the case that an interrupt has to be masked on arrival of an interrupt in software (lazy) disabled state.
That's achieved by overwriting the irq_[un]mask() callbacks in the irq/MSI library.
As a consequence the conditional mask/unmask logic in the regular irq_[un]mask() callbacks of the PCI/MSI domain is not longer required.
Thanks,
tglx
--- irqchip/irq-msi-lib.c | 14 ++++++++++++++ pci/msi/irqdomain.c | 20 -------------------- 2 files changed, 14 insertions(+), 20 deletions(-)