Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751828AbdHAI3i (ORCPT ); Tue, 1 Aug 2017 04:29:38 -0400 Received: from mail-db5eur01on0042.outbound.protection.outlook.com ([104.47.2.42]:48864 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751533AbdHAI3f (ORCPT ); Tue, 1 Aug 2017 04:29:35 -0400 From: Laurentiu Tudor To: Greg KH CC: Stephen Rothwell , "heiko.carstens@de.ibm.com" , Linux-Next Mailing List , LKML Subject: Re: linux-next: build failure in the staging tree (Was: kisskb: FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24) Thread-Topic: linux-next: build failure in the staging tree (Was: kisskb: FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24) Thread-Index: AQHTCeBsdbmKJWpsfEKdbQudrcA8+aJtsnSAgABllwCAARRKAA== Date: Tue, 1 Aug 2017 08:29:31 +0000 Message-ID: <59803B7E.7050001@nxp.com> References: <20170731072425.1.95853@222023911cb9> <20170731193546.6d0538cf@canb.auug.org.au> <597EFE81.9010407@nxp.com> <20170731155850.GD1262@kroah.com> In-Reply-To: <20170731155850.GD1262@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=laurentiu.tudor@nxp.com; x-originating-ip: [192.88.146.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0401MB1855;7:cJcfQBG/VU1rN5X+a3fWkKaYp60MrT+3n5wgBLXF+6quRO4caS5ppOv4AHW9CgjoiX4LMc1i+SuDvOIDnZCP9Ny2JCUMCelYzAqeU/ajNq1ollfOralZtsJnmRSz/Ot8ncUXcECfNr9E4numM3sYKy9vXuQPMuDJSTpfXScCaK22AZujCJcUrQMoRczjmRLAIy9iJiYvZv79g0ZSdQasD5znpuNvz5uws4rKjQQlUuEF8j9HbksEDQ4VCLuqMk5WxaC2dVh2kI2i9J1fHJ/B57vDzm0y63iY8mx5iITZE7bnHhPCSu1bleiTCm1y1wXGmbt1Ne5XXweMqOYsH9QnZDFFXNGWG2NUhTyWxLVcnd5MsUtFZ/vtJ9Hkz0xWCQmcbezmVzzBSFkyJudwIEolswk4wJt4WeDggOJR+PYf4tmjJfKwvJIcYhLlLD6uukf96vyBunJN8Xp2LMy7H2BmRiW3BNlaD/vvykupoDncMa4R0NJF/m7Zp3Hb5Sf8wJvjTaitd/aBo1zZuE6aBPCVdQMHup4PxJKtHs9w9kgpXtyIYwDy9IVg7FJMAtAPPV+zGr0yttEkJ2k9de+TlH5KkB0VKpHPUE1krKFOKcaUNCh8KY2g5omm+4PvvD2pMnU+IoxDfoKaq6RPY6FMLEri80SAeAS27kSmBBpmJA38sWYmEmIP6IxraOThr6SbgrlAUn7m8++C1iAKtWty039vSkMlSreBPPIK7ePWH22FVZXq+K9IezuETtm+rfE1K0JgVPx7JcumzOso2mBSe7jSYIsbt/kPwnUTtZV/aSkfnmY= x-ms-office365-filtering-correlation-id: c4c21bb1-ba8c-434a-aab0-08d4d8b76ee9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:VI1PR0401MB1855; x-ms-traffictypediagnostic: VI1PR0401MB1855: x-exchange-antispam-report-test: UriScan:(84791874153150); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR0401MB1855;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR0401MB1855; x-forefront-prvs: 0386B406AA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(6009001)(39850400002)(39860400002)(39840400002)(39400400002)(39410400002)(39450400003)(377454003)(24454002)(199003)(189002)(25786009)(99136001)(6246003)(5660300001)(59896002)(97736004)(3280700002)(7736002)(8936002)(68736007)(6916009)(101416001)(53936002)(3846002)(102836003)(53546010)(305945005)(2950100002)(93886004)(38730400002)(3660700001)(6506006)(6306002)(189998001)(966005)(106356001)(33656002)(2906002)(4326008)(105586002)(6436002)(478600001)(6116002)(99286003)(5250100002)(110136004)(54906002)(36756003)(6512007)(86362001)(8676002)(6486002)(81156014)(65816999)(66066001)(80316001)(229853002)(2900100001)(81166006)(50986999)(87266999)(54356999)(76176999)(14454004)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB1855;H:VI1PR0401MB1856.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Aug 2017 08:29:31.5629 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1855 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v718TkqS011602 Content-Length: 1165 Lines: 29 On 07/31/2017 06:58 PM, Greg KH wrote: > On Mon, Jul 31, 2017 at 09:55:14AM +0000, Laurentiu Tudor wrote: >> Hi Stephen, >> >> That's because the fsl-mc driver selects GENERIC_MSI_IRQ_DOMAIN and not >> all arches implement the support for the option. I can submit a patch >> that adds explicit dependencies on arches that it was build-tested (x86, >> arm, powerpc, all both 32 and 64 bits) similar to how it's done here >> [1]. Let me know if you're ok with this fix and i'll submit the fix to >> staging. > > Ugh, you should not be selecting that option, but rather depending on > the option, right? All users in the kernel use "select", so i don't think so. An interesting use that adds explicit dependencies on architectures can be seen here [1], in the generic code. I've proposed a patch [2] that does a similar thing for mc-bus. I think it's a good approach as it keeps things under control by explicitly specifying the architectures on which the driver was compile-tested. --- Best Regards, Laurentiu [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/Kconfig#n28 [2] https://patchwork.kernel.org/patch/9871861/