Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754827AbcCWLIU (ORCPT ); Wed, 23 Mar 2016 07:08:20 -0400 Received: from foss.arm.com ([217.140.101.70]:45608 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752145AbcCWLII (ORCPT ); Wed, 23 Mar 2016 07:08:08 -0400 Subject: Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support To: Alexander Stein , linux-kernel@vger.kernel.org References: <1457321782-3245-1-git-send-email-Minghuan.Lian@nxp.com> <1457321782-3245-2-git-send-email-Minghuan.Lian@nxp.com> <7239962.9Fyo0vfqsc@ws-stein> Cc: Minghuan Lian , linux-arm-kernel@lists.infradead.org, Thomas Gleixner , Jason Cooper , Roy Zang , Mingkai Hu , Stuart Yoder , Yang-Leo Li From: Marc Zyngier Organization: ARM Ltd Message-ID: <56F27914.3080908@arm.com> Date: Wed, 23 Mar 2016 11:08:04 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <7239962.9Fyo0vfqsc@ws-stein> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 993 Lines: 27 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 > > Tested-by: Alexander Stein > > 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...