Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966410AbbKGBsn (ORCPT ); Fri, 6 Nov 2015 20:48:43 -0500 Received: from mail-bl2on0104.outbound.protection.outlook.com ([65.55.169.104]:32893 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754468AbbKGBqY (ORCPT ); Fri, 6 Nov 2015 20:46:24 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none;freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; From: "J. German Rivera" To: , , , CC: , , , , , , , , , , , , , , "J. German Rivera" Subject: [PATCH v3 02/11] fsl-mc: msi: Added FSL-MC-specific member to the msi_desc's union Date: Fri, 6 Nov 2015 19:30:18 -0600 Message-ID: <1446859827-6927-3-git-send-email-German.Rivera@freescale.com> X-Mailer: git-send-email 2.3.3 In-Reply-To: <1446859827-6927-1-git-send-email-German.Rivera@freescale.com> References: <1446859827-6927-1-git-send-email-German.Rivera@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD007;1:0UYbayr823JbgiFig3HIDIX2O8jhYimI/D12NQmQknomh/cAQ9xyxX5QWvLfU5lL32kBF3Uaa8qa1lkDlsa9Tc5t9qxbk+CGjqggcfOnJ5DjQ3kJfQBQWiFzmAUkkP9YwLxzLQGueU50mpuZZaJ952D7/0DyOlh6Uu9C5o90pi28SUXR8n4wvJx609a8kfUqV7BnOn5R7X1IVCTdu3GcopRfTkjSkj6tHcFL74Edb+8On52tg8Fz8zA5tUI5KQ18dwZWXHy0QZxQce0RaNPOJsfP7X9WDJd9oq5AJMFXQZJSnYy1cPVImDdjNQWzUSOZjMsbBng+2yuG4ZN5y3ekhn5JGhDxrn/xUzHRkq2ZGrW8YBg2ZN7OYyuQLoA677oercKBYekRU2W3mwJE83jurA== X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(19580405001)(77096005)(5007970100001)(189998001)(229853001)(104016004)(50986999)(107886002)(6806005)(92566002)(76176999)(2950100001)(5003940100001)(87936001)(106466001)(2201001)(19580395003)(47776003)(5008740100001)(5001770100001)(48376002)(85426001)(230783001)(36756003)(81156007)(105606002)(50226001)(86362001)(97736004)(4001430100002)(50466002)(5001960100002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB500;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB500;2:5j9AC/6UqIL/xZ3KMjunhzoyLEQ6BlLuzm0vH5SKpshiuQIRDwbap9MardACAFkWdI7SyhO6l4HXIoGIQdjzI9+YvbTIay4b/wk602ksDCe1q4o2Hixsw5Et+2LFtUiB9Nian2VmiEeWft39EAXC59tM8BAgoaSOzIGyqeJPamk=;3:gtR8mYO7TRZFyrUX4K88cU1JXl0/iRiarWxPHshbdlQJ4WrtYA1U1Z4vOgN9QOxuSye4Rjk+FpqyEbnC1lPI9orEUOfHFhBmgfZI7KyuUrPTWtRyJcimwQDUH7Qx9bLjQMlbkw1Zkmuk738KRUsfeyHLxDFlwXu+MaWVRVPiKjibXHANH2M8hrgZvKhsKgEwxEbxFzHzJ0R8RX00uevlgpVH4jDtFdBkClITTmC8/Dw=;25:OElMXXa6+ziKcu1NcJFBEVe9vraoI3WiRLXn5DQ5rRYbYs5otlUgs+MknxgaiTo6j9y/rjJpeb+ajYx9fjudgRQG3Wt1DHw+lJmouYsNAXtO7Kzm51ViqscDXzSjHO7WLJgKCWeHzUy0l6y8V2QWiG5IuDJfEOMRZciJuXpoyc5yOpLHt2EusQgktXc7iR8rP9Ktcx3FEqpKv0IWTChHhIDpALQG8741KD4HPTmfjwkK3FV/K6qJKpE6C2UWcoB78L3Dt+N6o0kJsGc5zOfA3g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB500; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB500;20:YbmDmi8X6OQMcek906ojKFBhytG8/CSmzi4ANadlrDQT8b0mPdxtJUlSPxS87ys9YBP5F2nBFDn1XG/hnSFbVlF0opc862i7TQRndlbbSD5s1JKCGwAlmrKQkTCuL7kTpd9qOpsIRdvYi6tmw690SfGfs/V5b7fdfnfd+b50jUX2dyP2Czs9yz/7C3YWJAPgye94dikif2hwN4dWXRtNle156SXk2RCj0Nv5pNhFT//4RIjamCDOTJLlykhRsObjPMhJcgZchtm6ksYXkD5s3YzxLx56/gkaTsgYI8rg5fsTgJu0XynErTR+k79nk44/PlK6kqC2xLQxxv5LO2q/QAfwcxSyMJIckAmR/vl7oAQ=;4:vfmVEAUnI2NQbiimj2ih7JDT06vbbGO0WVsfUbYkpqAEDi/zpwTotUaGyrr/3DM8/M8+ITsdbdSVKs+gg1UPaS6U/0rsMg/Tm4YfNfjl+W6ks/LUV4N9AfzxCxiVnIzwvbKeExOzg1yPMaHHpXWYQIfX4wQnCIpJpplHVcSfCpZzJ5Ii1Rqabw2+HInKavEzHAtsaVN4mnQWeVwfJ/xBAgCJBKEUVgzOGH6wfVGAc6RFmi7mhjSv+EHF0UYQM4vOwMffd5vaUUIGwEvf+AMfWG6cFiF9kOUAzaCc6TZ6qVZeYytEcyY9YsRrngSgWReVm6f1sKdMdayGK1I71iF787o0CgYPVHiyqO7YjuGQqTQT06A8AcjWBJXz2i3wdMSe X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001);SRVR:BL2PR03MB500;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB500; X-Forefront-PRVS: 0753EA505A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB500;23:HhIidu0LeDpCYsc2vxtwmal312Be2x26ojHcytSnCc?= =?us-ascii?Q?uKo+nusO7K8oS19eRFjzk4w6EeWW09ZQs8BzspZ7UTPWMvCotiyLcq7zZqJO?= =?us-ascii?Q?tEKdd2mIw1L0N02zBQihQAJz+AqRkWQ/PgPT65FBM4N5WKwWiFQ8Zjy+RDPq?= =?us-ascii?Q?v6PeVVX2+JON8atEYFeGMyj76eKq9LgdQ11yqTN8jy6lgfbkEq+88RzZHbaA?= =?us-ascii?Q?RiM5sHhWzRrAopH6Y4uFODSNavUbeCzwuwXbtdDgjsB8JUF/2WSdFNcaHa8j?= =?us-ascii?Q?XTUt89kqZUf4LkQsx7QSuUM1j0B5S05doA8Wtc4X0502LcRLsMLCK3UKoe5s?= =?us-ascii?Q?wJCntbDD76ENrlyThOdzOTww/YZ3F9iFtJGsnQbxPRSu2TsbyuORzXuIVHak?= =?us-ascii?Q?nIT2yv6CuzqftLunrwPWnsEaeXDWX5Y5GxffHc1a11im+VfjuEuqxkYHura9?= =?us-ascii?Q?bYy+njcxVSo5DgG9jT0CKBbb9OLLXDWhnwktf/BF1/dZWXJC7ZETLbYrNopg?= =?us-ascii?Q?5wvhFg8Pq4Lr3hN0HajO2+DF7YeNw3rJJ/YNvYxBv2po5fnWJlyYzzeI3UGZ?= =?us-ascii?Q?AfskkJRnmz/PgksG7Zknt4/myqSPHCGcinQ9GK6OB0rZEvxz7FumheDbzy2e?= =?us-ascii?Q?F2AGV661feLBOsxD/XQBtK3CRX3MqI5z9ql5KdtMUwv+stsbXTxTuhoLYOqa?= =?us-ascii?Q?zLlr6lqafu2JgsGOiLMHUoFl1DKkVelgI0vV9kS/cVx03zy5YDrX3kltKb73?= =?us-ascii?Q?byNpopzfANMYz4ejavwh3z+y67oqgsDLOlx16s71NJumW6Zn4SqK3ICNPX1u?= =?us-ascii?Q?7+92/+OHKW43pmuxFFF57Jpnd++CLvLH9hDefzfxWJE25HVmFmTWhTskkoBZ?= =?us-ascii?Q?ROGQMUhEO2YKHuVk18rP0LL8pWxvcu/3SrMSks3ETk736zOjFl1nh1LBTfLa?= =?us-ascii?Q?WOC0E9gbfP07G6Ao/rcaF8MBpsqIAn3INPh3mzQAIy1fxlEnj5b8AYeqrZ7f?= =?us-ascii?Q?RwTK3C2OHcXylNPpvYFkxV03cUyHRknBYTmqUq02WzG4sYrl3q4G7TeQCPsV?= =?us-ascii?Q?/oKzkdyFnu8FlKPiPVqG9nFcuE?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB500;5:y1KWyyGFkqeeIembsSvS5LwqzDBAZDMbYXtyw0Q+KgBf8iRev+epBhVBiokEvKEuEPiQJ665zHp3SXNxJz21hw4nhGaSWHCnweZzt76hgY1j8IqcB6AS114cUq7u/t2iz1uOo08B4jYHC7sS0prhOg==;24:w6jX7TTHO+bX3ABz9PHPL7PisCGuwgR5mhDbBc3Pn7eWSRrzghqGfmyoprsibMzhKnBDFJIWwgCVaoHArDyTisGilevRF8Px5QNydayJCiw=;20:nukHc+nG3OjFg7CW0pBJvWz1r87kYBMM/d6Zw8dE+AJ7N9sM/yIQjV+chUGtXFSKZydHj8trWDHEY1eCzAcvmw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2015 01:46:20.6681 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB500 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 51 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 --- CHANGE HISTORY Changes in v3: none 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; }; }; -- 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/