Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702854

Re: [PATCH v2] PCI/MSI: Improve MSI alias detection

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] PCI/MSI: Improve MSI alias detection
Date 2017-08-03 12:00 +0200
Message-ID <ual58-6Bs-5@gated-at.bofh.it> (permalink)
References <u9JCy-74V-27@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On 01/08/17 18:59, Robin Murphy wrote:
> Currently, we handle all DMA aliases equally when calculating MSI
> requester IDs for the generic infrastructure. This turns out to be the
> wrong thing to do in the face of pure DMA quirks like those of Marvell
> SATA cards, where in the usual case the last thing seen in the alias
> walk is the DMA phantom function: we end up configuring the MSI
> doorbell to expect that alias, then find we have no interrupts since
> the MSI writes still come from the 'real' RID, thus get filtered out
> and ignored.
> 
> Improve the alias walk to only account for the topological aliases that
> matter, based on the logic from the Intel IRQ remapping code.
> 
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>

Acked-by: Marc Zyngier <marc.zyngier@arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] PCI/MSI: Improve MSI alias detection Robin Murphy <robin.murphy@arm.com> - 2017-08-01 20:00 +0200
  Re: [PATCH v2] PCI/MSI: Improve MSI alias detection Marc Zyngier <marc.zyngier@arm.com> - 2017-08-03 12:00 +0200

csiph-web