Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6488286rdb; Thu, 14 Dec 2023 22:54:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAR+QqwYERubZuVRCMMVgXa3jAI6DT8FCcjTCUbVEweCZyMlxez79XFXIerBIefb4DykIN X-Received: by 2002:a05:6358:27a3:b0:170:17eb:9c45 with SMTP id l35-20020a05635827a300b0017017eb9c45mr15094252rwb.38.1702623248042; Thu, 14 Dec 2023 22:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702623248; cv=none; d=google.com; s=arc-20160816; b=r1FXSz7rDZhFD2RkIlOxum9qrk3o8hOUyImVOlD/Tox5KkDR41bQSgxZ9lDR6Q7ntk PZd7g1HsjMKdzTZbWynpPGzIYGDqEq1xH7hPMjyBJaqCa4iiTwrYOFjDR8TGgYr9fP8p ijg+7b7Y/qeuHpzo9+bxEgDTWaPXoeIvAXYx7PuOAmogcYH/zP/l53udfkIbKQOsbmXf C2NZ8zqvYl4pXg+tBC3XxVawY0mKohJLQ7CZIjONo8I5en5D952hgKivvEK0Dw/ANGvh KfB/BJpGZkevTeP1lXyu5J65BTmzfcvZK1NbXunQXLb0fEldq9cll+JQBvPx5TUM+E2C xoxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=mN5qbRfsXf8A4df0Um6vbI+Vk/gTSPo9T1qldcDY91w=; fh=rdE5hEwRVJb6lyUynysUno02PWgRn7AcV+v4E90cyaM=; b=xS2FwK0OJgvZcGUdg6X4OIUZa4yd/7KFC6cbN/JnH859WOCgy9UnBWiXR5ovQfPsm2 Z9J13MzoxdwBj4e55nU8S2mT90FAhki3okQoDh/z1D1QKN2dppYRwof8sYvb8zqumqKo yY9Y5iW79eN854V6ri+Ml1kvL+/6G6+tTGhgEvRGU/tScPIVidscYEc1aozpXDPgvAYz 8Kaec+Wruxog6bWIKAsNAqX5pdFvjq1TUDSeB0onDbZEL95arkluZU4F4l6JBzQKxSpl JIevDhibGJOTJ2SxexM/JuzTcHX1KNDFA2TDPYITnBju3fgOzceY/U4aClS0RFxjw8Ky ijZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=ySvXgOp3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MnsXmnTF; spf=pass (google.com: domain of linux-kernel+bounces-42-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nu17-20020a17090b1b1100b0028ac35ad2e5si2002255pjb.183.2023.12.14.22.54.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 22:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=ySvXgOp3; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MnsXmnTF; spf=pass (google.com: domain of linux-kernel+bounces-42-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 038B7283253 for ; Thu, 14 Dec 2023 19:55:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D67E8697B4; Thu, 14 Dec 2023 19:55:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="ySvXgOp3"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="MnsXmnTF" X-Original-To: linux-kernel@vger.kernel.org Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 96A186A32A; Thu, 14 Dec 2023 19:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8B9505C0225; Thu, 14 Dec 2023 14:54:38 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 14 Dec 2023 14:54:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1702583678; x=1702670078; bh=mN5qbRfsXf8A4df0Um6vbI+Vk/gTSPo9T1qldcDY91w=; b= ySvXgOp3x1Aa1QhcpGaVQKVQd16RvIO14MfFE0QsHNNj7SFXSVoiaQI0rEED2fa3 l7QmFTd/e9zOuE/YcW8UoTpkmiipghNqfOruYQ9U3IQVg0ELDxi8L4s53ig/+ypk uV2l0rh5hzDXXSYWbHI28ceQrBYdsQCqH23rdt2W+6wf3BdgbBuHru+tYpozHMyZ GFvmp5DOLLmb6SP1koutbH1OtKte1z+3y8xacXbV1qL7OdbUkAKV+78uXD9TEy2K gs4DwmxD78Qfz2BUai4eZOVWowoH2y9z4VOEM/ZCdV106ZvBOFZcMvOLzvLO+gZ2 tX/SLh4evNIElY/kUYB7dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1702583678; x= 1702670078; bh=mN5qbRfsXf8A4df0Um6vbI+Vk/gTSPo9T1qldcDY91w=; b=M nsXmnTFeuFSmtHXcJuoIf+miHePv4/nEeq+VGUVXOSScD4airPv/gtCkudk3Sz4T v0jAI3K5pnbKJIm/fdFNHkeTkyviHnlMz8/iOqvS0NJ/lhHalVXx/Fq8f7pZZDO0 aQ/GqtxfUcbdTyD/RK+ZvJvomXKHQ6ufGTfDbscnDBQR0cncGLq9zgsERCr+vH4N 1HoEpD5NPBB/TIB8cH4ulPrRXmHy0vbzQ7jfDBEmihcbRHw+a4UiPyZjxLNPPiVT 91r1hiGBN1YESzebexL0uEDE2J0o1Iy7gVoJKshTQ2WCOOB4T2pciwPzwDXyofkj u1M+bkChNMncc3uQoiCTA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelledguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf tehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrf grthhtvghrnhepgeefjeehvdelvdffieejieejiedvvdfhleeivdelveehjeelteegudek tdfgjeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C0A4AB6008F; Thu, 14 Dec 2023 14:54:37 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1283-g327e3ec917-fm-20231207.002-g327e3ec9 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <374978b4-9bed-4d5c-90e2-344e46dedaf8@app.fastmail.com> In-Reply-To: <40b5e438-22f4-43e5-9663-db44dd402a35@app.fastmail.com> References: <202312041909.lwhcU35R-lkp@intel.com> <5f1caaf8-1edf-444a-b017-c4d08e52213b@infradead.org> <40b5e438-22f4-43e5-9663-db44dd402a35@app.fastmail.com> Date: Thu, 14 Dec 2023 19:54:18 +0000 From: "Arnd Bergmann" To: "Jiaxun Yang" , "Randy Dunlap" , "kernel test robot" , "Masahiro Yamada" Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, "Nicolas Schier" , "linux-mips@vger.kernel.org" Subject: Re: pm.c:undefined reference to `i8042_command' Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Dec 7, 2023, at 01:21, Jiaxun Yang wrote: > =E5=9C=A82023=E5=B9=B412=E6=9C=886=E6=97=A5=E5=8D=81=E4=BA=8C=E6=9C=88= =E4=B8=8B=E5=8D=885:26=EF=BC=8CRandy Dunlap=E5=86=99=E9=81=93=EF=BC=9A >> On 12/5/23 22:52, Arnd Bergmann wrote: >>> On Wed, Dec 6, 2023, at 06:24, Randy Dunlap wrote: >>> I think it's bad style to force-select an optional subsystem. >>> How about making the entire file optional? It seems that there >>> are already __weak functions in its place. >> >> Yes, I agree in general. >> >> Hopefully the maintainer will opine your suggestion. >> Jiaxun? > > LGTM, PM is not an essential function here. > Arnd, do you mind making it a patch? > I just tried it out and my version doesn't actually work since we still end up building the file with SERIO_I82042=3Dm. We could still make it work by checking for serio being built-in here, but in the end I think that's worse than Randy's patch, so let's just go with his original version. Arnd