Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6364824rdb; Thu, 14 Dec 2023 16:51:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IELG73VleozYGnVVWrTsFxMQlhMe4YaDlGDLU7VlorqdmhGr6870wvOEqGTITERFyKPMEqb X-Received: by 2002:a05:6e02:2185:b0:35e:6b28:943b with SMTP id j5-20020a056e02218500b0035e6b28943bmr13094172ila.25.1702601518936; Thu, 14 Dec 2023 16:51:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702601518; cv=pass; d=google.com; s=arc-20160816; b=QuxMW7yhv4stwIfBaN836uWi3Opt3fn/xbG0+NYynkOQpqqJD0ydWpMwnhI+/JChye PPa3MQlagXTDZxwJ7et+yUW8EtneHfVwhY+PDelhH7qKQcLJK32vTxB3MTXqGgbtTCLb UFDO45Vy1UuRxWXLiNk/8EXh//Mip7fP7ydw5rnOHBnMLJJMgFh6gZryh4UBxQ2fKIuh v8ouaprFOGim8XyqnRK9i74LS3IpZIl66sjcZiJ9vAj86minkdmRpHD9NWjfHqoivzOi hXtXjkT8653rNMs3FNM68KNn3XQuH7fI3lZGD1oj+lhLONAgJ4CAcffsc7uK9SxXf3mm TO/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :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=7+YKF7H06TiMMGekhib/iS65gwrxMuZILQsCH+jjFDs=; fh=3NsnnD98ejx2kDMWbJWY5DANacQztCA98tTNB7Z0Up8=; b=kryr/O0lXWR+5r+urvZjf4OG2AZpwGLAF75PKABfERnE1lxtZFGJmJQoI4HwSJ3+0i zdFoJMovWiqPjeEs+rFUivSCqWH7FZhR6BMiNnBBb4xIUt4E/mKc5Q8PfBmoJ9x3ddGa xPvA//SXlOvUJsWR+3zj9GZR8xoHaLMNLB26OBKwKHx3bTrbnq6z8b63FYpYCUc2nGsu fnQIuVgG0JY25RVvi7brmLp316Pf5+YKQG6rJfWPzx5zrDBOHn1rdvypbflyrbAMcyCf V8iJLjzV10au2AUM7xpQqBqSH8TfSfAf0GNfR+6h5bMRQrLiw6IrG4rzUKTM+lOr7E+k gIOA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SkMNNbA7; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x17-20020a1709027c1100b001cc2c4fdbecsi3379677pll.649.2023.12.14.16.51.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 16:51:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SkMNNbA7; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5989AB21E2B for ; Fri, 15 Dec 2023 00:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFDA47E4; Fri, 15 Dec 2023 00:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SkMNNbA7" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BB4836A for ; Fri, 15 Dec 2023 00:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702601507; x=1734137507; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=nDQ5Me63PcFGQ0dkAjlwCCFBlFLUsiM79a5knTU73SA=; b=SkMNNbA7exw3tDVsbeaCdGb478uUrds8zbv3pO1VsipIK0gfnlXFLBu5 63ZyAXRpvuxY4wJefzg/RL6pZB7dYlDMATSmZQpSjWrhh0IcyKwYcdzmL ScAUCjnQPIFhcQbkpLyirkXarl6totWtCcYnDxmxhRihtSwle+Gm1RuFo zuhKAYckqvC7AS8/aXRFvXznjDEizvCi8e1u0VrR64F1NQhD0tXRxbjZ1 SIfZqvo3SEH3OwH/lbkcEsWx1sbK2YBoFzmDBCJqP467cgRaAdKcBLexx EGMj90I8ND1OW1THT9GzkB9Pao53GcWxbL4Y0T4LVv5yJ2RF7sKkWxR0F Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="392386064" X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="392386064" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 16:51:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="892689069" X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="892689069" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Dec 2023 16:51:46 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 14 Dec 2023 16:51:45 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 14 Dec 2023 16:51:45 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 14 Dec 2023 16:51:44 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lXYYQ1mEgXIlbQqmkfeBeGEu0se9ytBTBz/0CjcDR2TeD2pzDT0rSp4g7VTnhUxMYcE0yK0ObGHa/fPbM1Q1yyAQ6UuvmT6d6wMo7OX/S4JRlbVM/kfZ0UXMEjnZgZHV5OodmoSGwDw5NmPQ0GkNFLbXNHpejWxj9/skWQS1dW2YkOhUCp4OIRm25sNBAUz0Y6Hq2tkMVjfq6GQ+muvH1NatblqpHZiHIsbNNmV2rSNmDGmizPQGhHjEyK2tBCfVraYbvCEIeLzgCbjljj+YQvwjHpaQYMJRcC+vw6gBcSZ/BFCOpvUqkTzACQZ6X1Wg+wpfoIoDGOdlYGuoSpY1KA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7+YKF7H06TiMMGekhib/iS65gwrxMuZILQsCH+jjFDs=; b=dhaKFbE1DaCCs73KZWjOEI4vCxzYMMVD7xeE8P4znUD4XZ3U+SdNFRCYifrmiWlHDZ0iwcgutvqQiC3vxNc4YS9s4k7I17fHT9nV1CiPzoEoKFQ/c6jjs9eqbFLW91j/2E1epCgeBIALwjEedp4pmQe+9x7f+pkD6tkEjJsfLy1txMtdLHhj7IFrxUxBF2YWimsjq0Q/7Hfdhoo7/VHH1UapKj2xUX8/LKSjvC63sg9KwSkuRyTQATUyE6L6lEmQYEyZIiuA0ngb7yci6yvdQt1rOaoiKLUfvx0bM1tTzEHuSOmAA9mj18OfrH8AwLeJjicqDv9LoWdBO2z2UQvNwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB4316.namprd11.prod.outlook.com (2603:10b6:5:205::16) by IA1PR11MB7753.namprd11.prod.outlook.com (2603:10b6:208:421::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.28; Fri, 15 Dec 2023 00:51:42 +0000 Received: from DM6PR11MB4316.namprd11.prod.outlook.com ([fe80::2738:cbf0:1b80:8a78]) by DM6PR11MB4316.namprd11.prod.outlook.com ([fe80::2738:cbf0:1b80:8a78%4]) with mapi id 15.20.7091.028; Fri, 15 Dec 2023 00:51:42 +0000 From: "Wu, Wentong" To: Arnd Bergmann CC: "Winkler, Tomas" , Arnd Bergmann , Greg Kroah-Hartman , Sakari Ailus , "Usyskin, Alexander" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 1/2] [v2] mei: fix vsc dependency Thread-Topic: [PATCH 1/2] [v2] mei: fix vsc dependency Thread-Index: AQHaLrz0vFnOVTNi4EqVltp8uDeAP7CpgsvQ Date: Fri, 15 Dec 2023 00:51:42 +0000 Message-ID: References: <20231214183946.109124-1-arnd@kernel.org> In-Reply-To: <20231214183946.109124-1-arnd@kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB4316:EE_|IA1PR11MB7753:EE_ x-ms-office365-filtering-correlation-id: 6c2a0288-cf2f-4369-3233-08dbfd08011b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hyBX/Fvc0hJ8xeEpLoWd6shb2HrSWgSziDxISt6dwfWE+3gLUGNBzMKwpt83Q2TpMcT5O4L6enQCsd3nlr2kApmiOK9S+Mx6efg3hsr4x417FxkRwE4/fPxdTE2vs1/nbMjx/rdDsSdVGgAhPCa1npYYOPgAo7MdW7QKVYbndSs1xtJvmA+8BL+uLfgRkXDLjF4fhKarL5ea2C0Q8d02+7VFrLSBgYnI6JSIV8HU1eX+FxyLyamrBfVVgzu3/kc6LP4HoVaOJLI7L91EGvDhDgT5MilBTLAQ3qfYuGQQQ3FqrIpU+i413ag+4gfWwReUt5geo/kkF3na3MIfn5+RSd/abW6QeXaHWe5tlF2BUk6f04V+io2KKg25Jm7xj9YfHk5uz1XxDjeEhwYc57ozMqCzR+fsN4dWfZlJT3wRN3bbSS/lPr5Xn5coLuNUVN8WItSyB+RRjHwNj5kQaNZ3M9Hmho31ry3rNX+16VbzRcz/KyO/IVEA3U8Z++0tpni6gIIu3Elu1LFDkphJSir3EweLrWWiceItqky7Z6bQMxGgxrLqY9KrS8+0AyD7HBE1Rn644ToGxBfbalGEvG7YgjRx+dv4MslCEcxjGV6YMBfdj0al+By35fm5qYrYmaEU x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4316.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(376002)(346002)(396003)(136003)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(82960400001)(26005)(38070700009)(41300700001)(83380400001)(122000001)(52536014)(7696005)(6506007)(4326008)(86362001)(8936002)(71200400001)(8676002)(55016003)(9686003)(5660300002)(478600001)(38100700002)(76116006)(64756008)(6916009)(66446008)(54906003)(66476007)(66946007)(66556008)(316002)(2906002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?t+NUtCOj/vnyN5xHGipeXEEGIwpWIhSkTP88nkONACZY367pN/hr1rn4ybUR?= =?us-ascii?Q?owW7Z3MTVROfu2HapRjxPZvhL3wHRpOp9yF3wnBh+iEk3lr1pnwmRwLGJXI0?= =?us-ascii?Q?idcQz4e7r8nbP7xxqUpFpDL71bNAve4DlWWegRFCwAeZbvLi28LgnibQpXZk?= =?us-ascii?Q?DBUAHwTLNMqL5aky51Zvs3965ya+BmRAWEyxDQ1LZnC4MMpz62mR8rDZej3U?= =?us-ascii?Q?3FZ1r5SCr/5+EFrIWXzpFqJFxzyu3+GlC5T3WmKBmbI/SGBddboxUjfWc6h8?= =?us-ascii?Q?f0l6+rI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ajduczpYWM3xoWt?= =?us-ascii?Q?e9AUEO4jOWXG2i4hyA883notTZUxvCT/AjHduDkUzL4HKTlc0fRS1ep4XMtR?= =?us-ascii?Q?SgVgKULxUM8rsEEM+DHkUJluFgrDe7HYnAbnnzuhqAzRv7BtrPH2irf6g749?= =?us-ascii?Q?fo7Uj/GgKk5DT4o5KpF445Fc5tMYL7sYu24vyhEXmxSjiKbuUwIz+sP7dtRJ?= =?us-ascii?Q?g1XFf7HaZhfYVhS+bl7mIjwZvhIdpPNvEDCbzEYEDLNEiD2MPpzbuvcw3VKU?= =?us-ascii?Q?DqptbxhSb0o/nopIdpr2JcDjvblh1wVeKoS4mT/FQpm3K1NyJDvnf5C/W32c?= =?us-ascii?Q?IXWAykaY5y/Z/qO2DZRJmakjel7/MZhuLknbVFhGeMzrqywBVBVWZUwi7seG?= =?us-ascii?Q?5wuwcmDKD+KQsNqh6lFddjefsjlYwZVu0qB1exaf?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4316.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c2a0288-cf2f-4369-3233-08dbfd08011b X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2023 00:51:42.2592 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nPXgyJAGUifGj2mICsavDBh0GVUjuuWS+VdHCxfaEg6+R2Nf6K/fGs7bYhaCmdOUUTY6i1zjgPc3lGoXPFEDRw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7753 X-OriginatorOrg: intel.com > From: Arnd Bergmann >=20 > CONFIG_INTEL_MEI_VSC_HW can be set to built-in even with CONFIG_MEI=3Dm, > but then the driver is not built because Kbuild never enters the drivers/= misc/mei > directory for built-in files, leading to a link > failure: >=20 > ERROR: modpost: "vsc_tp_reset" [drivers/misc/mei/mei-vsc.ko] undefined! > ERROR: modpost: "vsc_tp_init" [drivers/misc/mei/mei-vsc.ko] undefined! > ERROR: modpost: "vsc_tp_xfer" [drivers/misc/mei/mei-vsc.ko] undefined! > ERROR: modpost: "vsc_tp_need_read" [drivers/misc/mei/mei-vsc.ko] undefine= d! > ERROR: modpost: "vsc_tp_intr_enable" [drivers/misc/mei/mei-vsc.ko] > undefined! > ERROR: modpost: "vsc_tp_intr_synchronize" [drivers/misc/mei/mei-vsc.ko] > undefined! > ERROR: modpost: "vsc_tp_intr_disable" [drivers/misc/mei/mei-vsc.ko] > undefined! > ERROR: modpost: "vsc_tp_register_event_cb" [drivers/misc/mei/mei-vsc.ko] > undefined! >=20 > Add an explicit dependency on CONFIG_MEI that was apparently missing, to > ensure the VSC_HW driver cannot be built-in with MEI itself being a loada= ble > module. >=20 > Fixes: 566f5ca97680 ("mei: Add transport driver for IVSC device") > Signed-off-by: Arnd Bergmann Thanks Reviewed-by: Wentong Wu > --- > drivers/misc/mei/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig index > 858bd701d68c..1e28ca23a74a 100644 > --- a/drivers/misc/mei/Kconfig > +++ b/drivers/misc/mei/Kconfig > @@ -62,6 +62,7 @@ config INTEL_MEI_GSC >=20 > config INTEL_MEI_VSC_HW > tristate "Intel visual sensing controller device transport driver" > + depends on INTEL_MEI > depends on ACPI && SPI > depends on GPIOLIB || COMPILE_TEST > help > -- > 2.39.2