Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2158785ybh; Sun, 15 Mar 2020 20:37:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv2wfUSLhNn8y3TNSbMNiymAWkQc3UCx6Fdgs91g5sTwPWYtXitNfSo8cRwbhNMI94rKZHZ X-Received: by 2002:a9d:a51:: with SMTP id 75mr20401860otg.112.1584329835107; Sun, 15 Mar 2020 20:37:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1584329835; cv=pass; d=google.com; s=arc-20160816; b=iEbAtIEpZ5J3VJ7Gb9zvsKH+lQiPOtKBQYvgCv6gjlqeIMUQh8vcjoNiRlEOlC+dtP XtWZEYmYDVdcW5ChdldnUbgnOcaSYBOk8rF4LTklQmlr/ekGkXqntTCqhBU0eZ76Eu1e +WJXVo3soT3iflujlCFZaeh/rW6vnpAUHKwgwliFY9yM+aU1yplMw60Q/M8PdoqHwTx7 LsB2/53nX4b7a48JE1mEGr3LEkzYvoEkDJKdciW+F3gQTnBPSRmz+pTofO+TzjC8kPC5 y5WsedqduKZ9NR4v+pc9yl7NeANY5ScoDtkflnex+5MUB0yTfCMi9P1J6mwYyc7PwL2O VImw== 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=TahVAyBCJPLtZmEHYqzD5raKzU7F/TiG/rDAo4s/h4Y=; b=VokGWCRWPUexwEXplMKUMuobveEM1TGjWY30P5m7nucgKtiBFaT7ymbczNhctNgeMY VBruMIAKmsccsuy3uiWMyvLxQB0d7z9T4nnWtHB7eiscvnKpfsxfBbyZ82Ggrwd1r/fo Ei4+h4OFKZL7eRZM+lHMMumMLFlabrnlX/PoPif3pgoSd/QRUvuDDH7ZJUarTuLYFRWK 69WAxAFL8ZwAk48vZXxnUpHUWC6QXRmL2CPTtY8nlV4z5ySTkC+BeE0ABJrW8bMs9lfP aElN2Tl+q8S9ivOo6zl1X0GwjcZRxQkmMmawz7gxjb7/dJ/HU04A8W3vy7uXlL/ldV1K iolA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hIGUPv4P; 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 l21si2913885otq.144.2020.03.15.20.37.03; Sun, 15 Mar 2020 20:37:15 -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=hIGUPv4P; 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 S1729714AbgCPDSu (ORCPT + 99 others); Sun, 15 Mar 2020 23:18:50 -0400 Received: from mail-am6eur05on2051.outbound.protection.outlook.com ([40.107.22.51]:6259 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729513AbgCPDSu (ORCPT ); Sun, 15 Mar 2020 23:18:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jj1mSliTuLVmiYRtDfdp+LUH2w715J7OE4edPOpW39Xp22wD1bXIeeD0W0/LiuuNrOK3PY88rOwYDh42/QgYQfaUdE0YADhHwilbarwaZpQUysu3m2X3LRSKYFcXqPQYzXdb6pFs90PrUdaeonQXxMzn8B8CNeCV0U3mhhK5ie7GLZ/7xbYdeM/MxGyAQgnlrXP7XmsRHs3fZebY7jnrpUtvGi0yohBFMGmKU0X471S6OG5ZzANUHsbFIUAetKEpKCnSE0PJ05vFsISx+5gob0A2dvCFO33KgDG5YICObExl2h1Eq3R/c6o8Pjuec4MQynaQTqNdY6BOLabfo6xgjg== 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=TahVAyBCJPLtZmEHYqzD5raKzU7F/TiG/rDAo4s/h4Y=; b=k2si+/UxbzsXgpxitS1JhU6m5ikA5eWBwiPnsik5jKviHVgjoZL3leVUAHq2KhWJDh6kV9TqXNdepo8+AWIuM0hVUH1X2+AJy8vkrPVNl1kXSwh2Wx2PCrOSIFqaH9qMCj5jjOCfY4pZfmxvwdHduKqRQSdX0KBAAG4Z5PTGiWaNlqRwYTOyYgflYzNp60bPEq5/9n9taYr5u5jbaGbvK+VvumnTmhBadyKH+fHqeVpU8tJ6OIPqd8ygWq2z0Fzbh+lsfwBkCUUChsadDD/8Kydh9vb3uVgGm+U5ZIy8cpZzdsKlKbWc2sxDfGi3LgkEPtzdj1eTIMz7h30XAWHfeQ== 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=TahVAyBCJPLtZmEHYqzD5raKzU7F/TiG/rDAo4s/h4Y=; b=hIGUPv4PBCI8THgjXlEEI/t9DKggGPCTDxiJy/WMk8YEcBLiq9uEqN+6TBHs0ihVmhLI+LbVI7qLHZmCGGbnNq4S7yeSglXa9eBWqYJ2vLskPQPY6JpFf7b2voXHsq4pGDe0aUIn4Fv8mVXFHnQiir0Z7pz1weq6SrPzV0+9NUY= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB4225.eurprd04.prod.outlook.com (52.134.91.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.21; Mon, 16 Mar 2020 03:18:44 +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.2814.019; Mon, 16 Mar 2020 03:18:44 +0000 From: Peng Fan To: Shawn Guo CC: Anson Huang , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "dmitry.torokhov@gmail.com" , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "rui.zhang@intel.com" , "daniel.lezcano@linaro.org" , "amit.kucheria@verdurent.com" , "wim@linux-watchdog.org" , "linux@roeck-us.net" , Daniel Baluta , "gregkh@linuxfoundation.org" , "linux@rempel-privat.de" , "tglx@linutronix.de" , "m.felsch@pengutronix.de" , "andriy.shevchenko@linux.intel.com" , "arnd@arndb.de" , "ronald@innovation.ch" , "krzk@kernel.org" , "robh@kernel.org" , Leonard Crestez , Aisheng Dong , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-input@vger.kernel.org" , "linux-rtc@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Thread-Topic: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Thread-Index: AQHV9av6lP0y7UryDUCSkdoJ2q6AXKhARRTAgAop3wCAACC+IIAABReAgAACi8A= Date: Mon, 16 Mar 2020 03:18:43 +0000 Message-ID: References: <1583714300-19085-1-git-send-email-Anson.Huang@nxp.com> <20200316005219.GD17221@dragon> <20200316030744.GC17221@dragon> In-Reply-To: <20200316030744.GC17221@dragon> 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: [121.239.103.67] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3079320c-af88-4163-89cd-08d7c958bbe0 x-ms-traffictypediagnostic: AM0PR04MB4225:|AM0PR04MB4225: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 03449D5DD1 x-forefront-antispam-report: SFV:NSPM;SFS:(10001)(10009020)(4636009)(39860400002)(366004)(376002)(396003)(136003)(346002)(199004)(2906002)(33656002)(45080400002)(4326008)(966005)(7416002)(66946007)(478600001)(6916009)(86362001)(66556008)(66476007)(76116006)(64756008)(66446008)(26005)(316002)(6506007)(186003)(54906003)(5660300002)(7696005)(8936002)(9686003)(55016002)(71200400001)(8676002)(81166006)(52536014)(81156014)(44832011);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4225;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1; 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: lhszBBbK78BO3V+mcm3R2DagCS9i8Eg7HQUhYe0sD67IsCkxp+bq2mmww1d0faekn38Oa0JW64Eb4/0iyA2dCO7rUY+/antncpcggZWkwHZnu4FW52VKrS28+CMar7nq2/0mTuK7WksB+ht1qgdFEY6FT8ZX6H2rUS/Q0wysoWfkzi/aEGx9lBYXQhIPbm9pQ739bED3hEYBkY03M+PMrCQRd+IiuK0RSDFr4dBJ7U3dAjUVgACW07FJJlwjni+MmrGIqijNau8yln229t6ZrFVytxANS1TZ1PTTGQQlo94VqGlouG+yiSdYzFm6HHQpUOfSdx/J0VNnfQQCaCTElg/bxdtKnKgenJuDL9SJXyKwHoLhnnzl8GE7kdkC8i7WDS9todOye7sDfFnQm1S0bwmUurMrUWRq9YCtisDZb9wzlZgU9GA5kzdIADGs3ZlGV2+excsb0zu44u5LwXGrjhjGl/n7v1YWuzkylPBRmAwNcG+SVBsZGQAqThGnwcR8D6iQLlQvTrc+dDuBHldCfS00Ug/cLm4xgn5Ln0/xzeOUvfmL+w8ZzqrEBI5DSfjxoxvH/xzDoaaTd256K755XQ== x-ms-exchange-antispam-messagedata: keGqj13UOWaWwY1/m4PZxDB1TRNoLa1JIvLWJmAn5Dyui1SI9PiV7XY/W6LeK+gXimN0BzoI7pNkUOt1mTEUA9/iA3tl83V7DL77jr0/YIbiLcG5Elpe4ihA5+ONSVpuhN8niW0cP1ngy9JJKYbgQw== 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: 3079320c-af88-4163-89cd-08d7c958bbe0 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 03:18:44.0945 (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: vBBVTlbzTHJ3ZBYP/jlTyO5iM9iLqITQVLPKka5eyc7gPbBO8b+5iMM6Nx/Ec27Ivm/vgwGMKgNnsqM+ryDJSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4225 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU > case >=20 > On Mon, Mar 16, 2020 at 02:51:47AM +0000, Peng Fan wrote: > > Hi Shawn, > > > > > Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for > > > !CONFIG_IMX_SCU case > > > > > > On Mon, Mar 09, 2020 at 01:40:18PM +0000, Peng Fan wrote: > > > > > Subject: [PATCH V3 1/7] firmware: imx: Add stubs for > > > > > !CONFIG_IMX_SCU case > > > > > > > > I have one patch pending reviewing. > > > > https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2= F > > > > patc > > > > > > > > hwork.kernel.org%2Fpatch%2F11395247%2F&data=3D02%7C01%7Cpeng.f > > > an%40n > > > > > > > > xp.com%7C995815002e2b490791e008d7c9445133%7C686ea1d3bc2b4c6fa9 > > > 2cd99c5c > > > > > > > > 301635%7C0%7C0%7C637199167574579419&sdata=3DRM4Mtwl8LZ3ft9 > > > 3uL3FQPcHT > > > > 9lPHSqBOgugozkcLvag%3D&reserved=3D0 > > > > > > I dropped that patch from my queue and picked patch #2 from this > > > series as the favor. > > > > I think dropping that patch might cause Linux-next build fail as > > previously showed, because IMX_SCU_SOC depends on COMPILE_TEST. If > you > > drop that patch, also need to drop COMPILE_TEST from IMX_SCU_SOC. > > > > ld: drivers/soc/imx/soc-imx-scu.o: in function `.imx_scu_soc_probe': > > soc-imx-scu.c:(.text.imx_scu_soc_probe+0x44): undefined reference to > > `.imx_scu_get_handle' > > ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x134): undefined > > reference to `.imx_scu_call_rpc' > > ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x20c): undefined > > reference to `.imx_scu_call_rpc' > > > > Caused by commit > > > > 68c189e3a93c ("soc: imx: increase build coverage for imx8m soc > > driver") > > > > What do you prefer? I personally think dummy functions would be good. >=20 > I would rather drop COMPILE_TEST from IMX_SCU_SOC. Could you send a > patch for that shortly? Just sent out. One more thing, I think all drivers depends on IMX_SCU shoul= d not have COMPILE_TEST if we plan not to add dummy functions. I see you picked u= p Anson's patch in imx/drivers branch, please check more. Thanks, Peng. >=20 > Shawn