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


Groups > linux.kernel > #1363340

Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support
Date 2016-03-23 12:10 +0100
Message-ID <rfOPN-2sH-41@gated-at.bofh.it> (permalink)
References <ra07g-1aG-11@gated-at.bofh.it> <ra07g-1aG-13@gated-at.bofh.it> <rfN7k-1fh-11@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On 23/03/16 09:18, Alexander Stein wrote:
> On Monday 07 March 2016 11:36:22, Minghuan Lian wrote:
>> Some kind of NXP Layerscape SoC provides a MSI
>> implementation which uses two SCFG registers MSIIR and
>> MSIR to support 32 MSI interrupts for each PCIe controller.
>> The patch is to support it.
>>
>> Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
> 
> Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
> 
> Using an intel e1000e card which uses 3 MSIs. But the IRQ numbers are a bit strange though:
>> grep eth3 /proc/interrupts
>>
>>  63:         49          0       MSI 134742016 Edge      eth3-rx-0
>>  64:          3          0       MSI 134742017 Edge      eth3-tx-0
>>  65:          4          0       MSI 134742018 Edge      eth3

This is a virtual interrupt number (despite being displayed as a hwirq),
computed from the PCI requester ID and the MSI index. You shouldn't
infer anything from it.

Thanks,

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

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


Thread

Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support Alexander Stein <alexander.stein@systec-electronic.com> - 2016-03-23 10:20 +0100
  RE: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller  support Minghuan Lian <minghuan.lian@nxp.com> - 2016-03-23 12:10 +0100
  Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller  support Marc Zyngier <marc.zyngier@arm.com> - 2016-03-23 12:10 +0100
    Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support Alexander Stein <alexander.stein@systec-electronic.com> - 2016-03-23 12:20 +0100
      Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller  support Marc Zyngier <marc.zyngier@arm.com> - 2016-03-23 12:40 +0100

csiph-web