[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250903134437.863638669@linutronix.de>
Date: Wed, 3 Sep 2025 16:04:44 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Marc Zyngier <maz@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>
Subject: [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/20250517103011.2573288-1-maz@kernel.org
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(-)
Powered by blists - more mailing lists