Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1435570ybb; Thu, 9 Apr 2020 02:01:28 -0700 (PDT) X-Google-Smtp-Source: APiQypKIUs+Kmm9B2TK5e3T01TBKhAgG/J1lSqQ5NBNuO4HVGQiYgquPWEHGrCxL8yEQ/C8dRpPJ X-Received: by 2002:a05:6830:199:: with SMTP id q25mr9322382ota.341.1586422887898; Thu, 09 Apr 2020 02:01:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586422887; cv=pass; d=google.com; s=arc-20160816; b=dJ+H6IKVrmzirA/qfkLj4CTZDAq511oWS+Ti/EeuhzjHo0wpqFSnTaaGMPutYcHyUW sQna2l4ZYsAVVjnRLq5QwsbYwgjYZjrmDi9cxEVIQAWVZb9OjsKul/uAq1mO/3mTiVvO YRC7sDwj5JrtKwVnB/XwPUAdut+kIW3asZNgZbZMfEi1FeB9vQvy190wzoF1WGCzErDi sPpKqi+F2bvHvXb1sMGmJ3JlUPVVMNjfrNK82FuFYKfam0pKHWPMyTB0BiGH3oT6ipuc Inam6lte3SCJsI6jwDZlGMtlg/16/v9vIyjBX8NMCe4e4apaDKSq4/KVtUsIaT4gjfjY +MUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=mTgo6E0KhCgesssTNJ/pmnhEjCLELAajw4eTDiMWoeg=; b=ua4ODjanSKr4l1Y9WxByZJhb0Wbnlx928rduVoPG41pVGi8dYTyLrLyIAEIawnoAeE LCzI4S+/b9LTF59uFpfX+iLSsmzdFlvFXOv7Obsts71pnDs4e82SWTiVLWbNmxqwG/yl hprYUc2xiEESxvGvApreAbHKbL4uCEdhqBR85iYfHheouIvb7um78J7T5KdF9efltnzo sGa0Lr+MXfnPPFuBDlhRSxZekl9USlJx2BqHWiXdk3awtHy4O1N5osCorVfzt549xqLG YSuL8qx5kpYEqi8386ChREnG+QWYZzFMweGoahe5i3SOh3SajvAUa1VDtNviJzCWbe0s Lxvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VutFBNdu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h19si1434030otn.123.2020.04.09.02.01.11; Thu, 09 Apr 2020 02:01:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VutFBNdu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbgDIJAa (ORCPT + 99 others); Thu, 9 Apr 2020 05:00:30 -0400 Received: from mail-eopbgr80079.outbound.protection.outlook.com ([40.107.8.79]:35651 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726082AbgDIJAa (ORCPT ); Thu, 9 Apr 2020 05:00:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OeRpwB3NK1Gqkgc8fbn6xoxYDwmxcwUMLbEm7quxEuiXarJelG3UmbU0KpNyH+rFFWSc8Bw1EfYTEnfwTXz+1Z3WNdEKy15+IOP6yFbAy6KsryFfbNVazWMMQlcFLYnNXugTPMEQhucGpBM2VwuE1AGVVyjs6L2uxStdUOf4yM6jMDK+gmOcG6xKXZ1vf5lb3cNVetXmRUO5YT1rRiTISOXFlPlxywLSjBus8BDOqzfMcPh8pPVJqF2YfwB99r7hy9MzKeNFigadHisxya8BQbykG4for/Y45KR4Y1UUGpSuDa3ubJwg1MqOI8bJh/5el+vlRtE3bgnulVz1LG8kAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mTgo6E0KhCgesssTNJ/pmnhEjCLELAajw4eTDiMWoeg=; b=GEiCpctv53aB2MsP8xaGy+jQBThuylZJszJIfzkJt21KqFjIc+QORO2a8LSd3pUSwW7sdcAGuX69AUxzxVk/S+YgPy6tU0U+Q9+7OcGZontRkgrA5orU7b/rglRMeLVNeMPQVqOHVZnOBdXdtmENYY+PxKR6ZZ1WL00PKWtxG1ANF2vyEsyG61gu1idETmwOmsJr8mjMW4qeDrlzVpuhOTefGw7Q7h2zcpZwGqjIzp+Rl6XZaw2wGzMy2ozUMMTswLtTlpNlIRbnrN4O063vTBYscYZtCF0Hy/P0E6j4m2nvBb3Fj15/cq4CSAGBYWk4d7kScrrDBUvPqs7i4im4DA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mTgo6E0KhCgesssTNJ/pmnhEjCLELAajw4eTDiMWoeg=; b=VutFBNdu6g2RPz/IN8XUU6m00+7wU8pWZ1JkXTly7Ik02WC/CIST4me4biHkklVI+QfVHMPyUrVBd/Vb1gKceLsi9ykaqNvnej5FKy+ycpQAu/L82qDlYm5qv8Nhy6RF5/rSKjt9rrKdQntef/2ageMX2UQOgnkphznVldxbC7E= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) by AM0PR04MB5825.eurprd04.prod.outlook.com (2603:10a6:208:127::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.16; Thu, 9 Apr 2020 09:00:26 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::ad44:6b0d:205d:f8fc]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::ad44:6b0d:205d:f8fc%7]) with mapi id 15.20.2900.015; Thu, 9 Apr 2020 09:00:26 +0000 From: Peng Fan To: Arnd Bergmann , "soc@kernel.org" , Shawn Guo , Sascha Hauer , Leonard Crestez CC: Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx , Abel Vesa , Anson Huang , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] soc: imx8: select SOC_BUS Thread-Topic: [PATCH] soc: imx8: select SOC_BUS Thread-Index: AQHWDkPILViybyw+CEWAlrPoiFlrqqhwfepQ Date: Thu, 9 Apr 2020 09:00:26 +0000 Message-ID: References: <20200409075208.2824062-1-arnd@arndb.de> In-Reply-To: <20200409075208.2824062-1-arnd@arndb.de> 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=peng.fan@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f9f925b8-83d4-4d5c-5f6c-08d7dc647251 x-ms-traffictypediagnostic: AM0PR04MB5825:|AM0PR04MB5825: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0368E78B5B x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB4481.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(136003)(376002)(346002)(39860400002)(396003)(366004)(8936002)(71200400001)(86362001)(33656002)(44832011)(66446008)(8676002)(6636002)(316002)(4326008)(2906002)(81156014)(64756008)(66556008)(5660300002)(52536014)(76116006)(7696005)(54906003)(6506007)(9686003)(4744005)(478600001)(66476007)(26005)(81166007)(66946007)(55016002)(110136005)(186003);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4wj8UCbMLBqX3mBp06LziJUsuIqwuM2tv2YJlO2ztknNFzJbAINHtFpaSopNLHeuizYFv74Dvof/GyKou15luFl8j/cmVydleW9gk6oFFC5QtlIho5zQAJ9k0ejedG7yXIvXKIrk7dnGGO0REgyhDQCgZ5yBz3fwZIvKx1l2I4KAczDOf1rqe2YDEONPhFaIKoW/ivjVnyfo0450jXzxUOznZrJjwAlC2zseI5QnbUEdKnrH2aeblY9NpO9auKO+hMBkQdIW+GTB8sqMuWX29Ft2TuGUQvjc3lsr4MAyplLlChsa9e2aPrlzMfeRXmi+rMmVmmvqSIYsxfeBPu6PYmkL7YZn5+EQOlG3LNNPowSl7ud0nx58D4NhbRAaXGnoSuQkT8EY9gFHWCZkdUqpOcrWrIkGLUA+hmh5Eh5m9SiDdwEPvs/RDLG9t8pF7cjN x-ms-exchange-antispam-messagedata: z7E836vbdDViwIfAmZ11nqDc7mAFr02HN6U7+ozubbskb9u9Thquq8+R+yagZG7wMGajTHblF/eo7ASryRpKqk+AGuZ+oRdaJJw9mlRZ1L9ojZT4me/2EloJ68h3gAXml2EKd2TlpU/5PCWuK8igVQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9f925b8-83d4-4d5c-5f6c-08d7dc647251 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2020 09:00:26.7771 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RLvpXcjEiH3Rkw146guUliFRJeWQRo6UNrhbn1o7CAOl0mUetrDcXrND8G5gUI3+0AeSBqGzdd4lP/1SR8hDBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5825 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: [PATCH] soc: imx8: select SOC_BUS >=20 > Compile-testing the driver can result in a link failure when CONFIG_SOC_B= US > is disabled: >=20 > x86_64-linux-ld: drivers/soc/imx/soc-imx8m.o: in function `imx8_soc_init'= : > soc-imx8m.c:(.init.text+0x28d): undefined reference to `soc_device_regist= er' >=20 > Select it from Kconfig, as we do from the other SoC drivers. >=20 > Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc dri= ver") > Signed-off-by: Arnd Bergmann Acked-by: Peng Fan Thanks, Peng.