Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6341426rdb; Thu, 14 Dec 2023 15:57:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMqS1j/SOxRbQoPQooH4K5VVRuc9jsSwafScV7yJRyCagWLBK7Pk8XMJB/3u1SXG/AjOj8 X-Received: by 2002:a05:6870:b8a:b0:1fb:75b:2fde with SMTP id lg10-20020a0568700b8a00b001fb075b2fdemr13620862oab.117.1702598274690; Thu, 14 Dec 2023 15:57:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702598274; cv=none; d=google.com; s=arc-20160816; b=Ru90lPUwNIIf6ugzJ5bUgAfHDtvK20KLH3OaBjWBATijmtAgqhhifQjkpSIDfS9tcQ 9x3SNsC6I7lwAOCj3CQ4byluSI9BunjBH8RGUKH91REzptWGYdk8TkO7WE4eAFD+elZd QdQw1tFiDD/Esfo0rIkCt6DOY8+qvEuo9JhBxcZ+PMiq8OzanleBiOnrpp6b3GgmTvi+ 8hQ8l56kO1cB6zPDpYAT8DrMkQGlznzIM03OKcg6/eELVk6mvYs3YhUaJcK3L2s8/Up0 GvhTAWQ0gBrd14z8F7DBTISLbILxSgOU/ZajtnXSRQXpbnmZg7I6E+m77Cz1ip7MMFlx DfVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=BaJCsCfijs7GuDBKTrIWbe4mzrObKT7MV71UU5ZCbZI=; fh=GTQMCrljgDtBr0sM4GjxpfDYhilxIK8RGWIicq3T8fg=; b=PUW1+7qSY9aG0XHPoRR5vbidgHvkswBgJPBtVFxVcFTbD/8nk7/vSVxhjZ53RrZUcu IEvG1IMaVIP5i4WIIgI0zOn/AKgaH1Tzb6ZbQhsxjOfT4yUcxhDj1c9ljXda5Xv4scbs fNl/jjGxRL4JnPq+kKJx38GhSk8mR0DLwXe1Q38xXGXS5JXwUDnVQ9y/ZV1khWCI3zR9 QY5sEdaclNsAG8w5yxk3obRQngllPb7bXuytKv93HwEsk6Yfb0siPqxaAPL6BDXGFkQu L0cqb/Y4+LzvLyX025lNhI8leIAftKG7ygxHL9psq10wVbIprfyMjL/+gk93dfNupt1D uXjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lV6Vokk9; spf=pass (google.com: domain of linux-kernel+bounces-265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-265-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 14-20020a63174e000000b005b896ecd1efsi11859587pgx.172.2023.12.14.15.57.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 15:57:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=lV6Vokk9; spf=pass (google.com: domain of linux-kernel+bounces-265-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-265-linux.lists.archive=gmail.com@vger.kernel.org" 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 5825AB21932 for ; Thu, 14 Dec 2023 23:57:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B07432DB67; Thu, 14 Dec 2023 23:57:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="lV6Vokk9" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CFA732DB81; Thu, 14 Dec 2023 23:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=BaJCsCfijs7GuDBKTrIWbe4mzrObKT7MV71UU5ZCbZI=; b=lV6Vokk9qA9LV1JxhmI1jaKIiu Ez3QbwTc6QyJJwweVy0QrKzsK56LfExa8KhtpvXwDP4wdCq9fGFIk+eJ0A2zx3Pj2n5HwBp6umEZy naBywZPbRyfhYQo7RwzQidTGDtq9CFX/ZNw/iQgOwWUwJvJHYBSyA3f9CrF+JWSi2bGBuzyA/MWo2 QhF+mMZVp8V7W2pCFQNDqQ3tACEL3mJ3+ESC/gDjx3VM3O/h74/Q8b4gcQ/5v63eyc/91K37psgkj FZitV4YP+l0c3rK7eZNCHJCBrMz3XI8hzo+BSUA04/91AZ8wScvnjiSkwdlclKGYDzlR9Z8Gg1Pyr itWCHZHg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rDva2-001aYl-1m; Thu, 14 Dec 2023 23:57:26 +0000 Message-ID: <8bddc464-a2f3-47e5-85e6-d4067db67ccd@infradead.org> Date: Thu, 14 Dec 2023 15:57:26 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pm.c:undefined reference to `i8042_command' Content-Language: en-US To: Arnd Bergmann , Jiaxun Yang , kernel test robot , Masahiro Yamada Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Nicolas Schier , "linux-mips@vger.kernel.org" References: <202312041909.lwhcU35R-lkp@intel.com> <5f1caaf8-1edf-444a-b017-c4d08e52213b@infradead.org> <40b5e438-22f4-43e5-9663-db44dd402a35@app.fastmail.com> <374978b4-9bed-4d5c-90e2-344e46dedaf8@app.fastmail.com> From: Randy Dunlap In-Reply-To: <374978b4-9bed-4d5c-90e2-344e46dedaf8@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 12/14/23 11:54, Arnd Bergmann wrote: > On Thu, Dec 7, 2023, at 01:21, Jiaxun Yang wrote: >> 在2023年12月6日十二月 下午5:26,Randy Dunlap写道: >>> 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=m. > > 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 I think that we should look for yet another alternative then. I don't believe that adding "select INPUT" is a good idea. It would be the only "select INPUT" in the entire kernel tree. thanks. -- #Randy https://people.kernel.org/tglx/notes-about-netiquette https://subspace.kernel.org/etiquette.html