Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031298AbbKFB7H (ORCPT ); Thu, 5 Nov 2015 20:59:07 -0500 Received: from mga09.intel.com ([134.134.136.24]:60276 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030909AbbKFB7G (ORCPT ); Thu, 5 Nov 2015 20:59:06 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,249,1444719600"; d="scan'208";a="679341231" Subject: Re: [PATCH v2 02/11] fsl-mc: msi: Added FSL-MC-specific member to the msi_desc's union To: "J. German Rivera" , gregkh@linuxfoundation.org, arnd@arndb.de, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <1446234217-25512-1-git-send-email-German.Rivera@freescale.com> <1446234217-25512-3-git-send-email-German.Rivera@freescale.com> Cc: stuart.yoder@freescale.com, itai.katz@freescale.com, lijun.pan@freescale.com, leoli@freescale.com, scottwood@freescale.com, agraf@suse.de, bhamciu1@freescale.com, R89243@freescale.com, bhupesh.sharma@freescale.com, nir.erez@freescale.com, richard.schmitt@freescale.com, dan.carpenter@oracle.com, marc.zyngier@arm.com From: Jiang Liu Organization: Intel Message-ID: <563C0965.90900@linux.intel.com> Date: Fri, 6 Nov 2015 09:59:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1446234217-25512-3-git-send-email-German.Rivera@freescale.com> 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: 1452 Lines: 53 On 2015/10/31 3:43, J. German Rivera wrote: > FSL-MC is a bus type different from PCI and platform, so it needs > its own member in the msi_desc's union. > > Signed-off-by: J. German Rivera > --- > Changes in v2: > - Addressed comment from Jiang Liu > * Added a dedicated structure for FSL-MC in struct msi_desc > > include/linux/msi.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/linux/msi.h b/include/linux/msi.h > index f71a25e..152e51a 100644 > --- a/include/linux/msi.h > +++ b/include/linux/msi.h > @@ -33,6 +33,14 @@ struct platform_msi_desc { > }; > > /** > + * fsl_mc_msi_desc - FSL-MC device specific msi descriptor data > + * @msi_index: The index of the MSI descriptor > + */ > +struct fsl_mc_msi_desc { > + u16 msi_index; > +}; > + > +/** > * struct msi_desc - Descriptor structure for MSI based interrupts > * @list: List head for management > * @irq: The base interrupt number > @@ -87,6 +95,7 @@ struct msi_desc { > * tree wide cleanup. > */ > struct platform_msi_desc platform; > + struct fsl_mc_msi_desc fsl_mc; > }; > }; Reviewed-by: Jiang Liu > > -- > 2.3.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/