Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1400084lqe; Mon, 8 Apr 2024 07:56:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6hTTuCjvIYhGJRDExLRRqqg1N85HogdEbtGtXboNwl+SYCaupJJ8s25a45EifyMg66Bj0FisG95pZBLoGsjAoWtWyThwHP39R8HPN2g== X-Google-Smtp-Source: AGHT+IFY4DkXMHrJphGjxryu4hYQlGv/dXRr49Owg/uxMkwm8eqGJDeGyKrfGIhf1ZmbiT1Y1i4U X-Received: by 2002:a05:6214:212b:b0:699:d07:cf22 with SMTP id r11-20020a056214212b00b006990d07cf22mr16198667qvc.31.1712588168014; Mon, 08 Apr 2024 07:56:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712588168; cv=pass; d=google.com; s=arc-20160816; b=HwpJLe66e5VXNyUvM7GkroremHXEZJVZ1bJmf3rrOurBXjv2CrDNTDGVWsswKjcakh rJjrVcWAvMsC6Sh8HZI9Y96EMRK8KdbGd492rkUmD22xQJXoB/8onEknlgO5zTJ65dZr +4N2Qce7Eo3dzYrAN50KFcOmJXXW59L2gfMUcK4rJoq6Zn+V30jPPiPXEp7Cjtm9ZfDU aY4lERJAgqYm5WXhB78VovHOepCNRg7wPQ0+EoAIEHERGPLpVxEW6owMoFVFneNqNFXO zLu8SW8a02YIAyDCQhUV406EZ9P5xNCGFnhlIl6XGOS1cDIIVkdHGxV2GrEyJI1fkVEk TvOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=qQdQd64+35SNI/x7FIApQgWkETGlR13A7QDrs/n7yMA=; fh=YnAsLTac1fE/Fj9/kD/lCECPkQUdzVrbi+JTO3K+RlU=; b=dKjLFSceVGd+Vrggq2F4oAdL2vG3nUuFwNJiDFVo0U+VagP59pMfHnrth4NKFtzcfB I2sSiozI/GuJBY76cvmGI/hkY0DQ+gaBnqx7SMQy5ESNgTkTIhawSl88Y2RbkpGyYWDv ZWBCm3EDlQwbdmv8a87YRnEJFr9zpO4oaueyhNpMgLYGaUbcY3Q+DQryLoqJJLG1Cujv OijhCZObdUUkGEbFxDA9xplPLgd67YNufE/Qyya+y9Dn3p5ELdYQ8po8S6LVIdgYK/ka kfc6qY5FqaQaSx2PnO4a85XUuTay+N8QComZ0Ao4KokzP8KpGhmXekZ5r589STKaloFv nbJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UY1JEUri; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-135561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v1-20020a0ced41000000b0069b1ed8ea7bsi1628263qvq.258.2024.04.08.07.56.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 07:56:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UY1JEUri; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-135561-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135561-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B99DC1C21690 for ; Mon, 8 Apr 2024 14:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D754D13F01A; Mon, 8 Apr 2024 14:55:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="UY1JEUri" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 50E5213F442 for ; Mon, 8 Apr 2024 14:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712588145; cv=none; b=kQO8MzbWcgU4arDne/7DXfB0wvzC6vTVGrINWoH7y+r0+u33gDdarP0VfToaQaPYsPMcI/4jba4FkTLhk93beAf6BOwPMpQbr+axRKG64wIzvliSKMISxA9VdhzQWuF8t/Tx0tWs8ERjHG1cssJ5OlzPMExAMRoF6YXvFsvYrAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712588145; c=relaxed/simple; bh=8ixhDcDmRfYWm6cJvXx1rMiBFBKX7dAZIjKBVgAAibo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K2ZTzI3DLvRFvBBJx13MbG46j5Nplt/cGH8G6Do2fa389ZhFJFA1co56FnyUw5p+dd/4ZBgjQiv4WDpKvVNuPoWmsDraVf5+Sa9fWaYOZGvY74XBp8H7wSFZv5KHD5ccZDt62bZrmUnmcdOvje/Kv9IXvw066dFZxpChRTn67ak= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=UY1JEUri; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1712588141; bh=8ixhDcDmRfYWm6cJvXx1rMiBFBKX7dAZIjKBVgAAibo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UY1JEUrimRA0o/tOLLf1B9XqrzwKdBym7ujw+wQmPRF27rQSSvefyT1VXKWPiA4Vb nrNHd6GyFZVfIxDD713W83E6CS/IMLTTxTgOXzQXUCbj+zu3JwrFiv1IOOHUzqpJTh B4/ecK4Bh7FUYmBeMY+ioThPFU5B5DbJvcniTZgaXrleMg7LcofijyBqHDRuFygzAs oZT6hh0o905IDGt8qGASHfBx7aDBSc5EOKt+94K1PBa1Duqr3uA+YYfJeVog4yiVbo Br/E8/p/vQ2hoTzx6igY0MLO9TZ2eTGI5ZOhxOU/Tf2nyqkIM1RZwIClV6wEGytm3I Ova4zrD4Aoe3w== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id A247F3780C39; Mon, 8 Apr 2024 14:55:40 +0000 (UTC) Message-ID: <23d98db0-a4a8-4453-95be-1a0982dd66a0@collabora.com> Date: Mon, 8 Apr 2024 16:55:40 +0200 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: [PATCH] soc: mediatek: mtk-socinfo: select CONFIG_SOC_BUS To: Daniel Golle , Arnd Bergmann Cc: Matthias Brugger , William-tw Lin , Arnd Bergmann , Ulf Hansson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20240408125506.1594257-1-arnd@kernel.org> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 08/04/24 14:59, Daniel Golle ha scritto: > Hi, > > On Mon, Apr 08, 2024 at 02:55:00PM +0200, Arnd Bergmann wrote: >> From: Arnd Bergmann >> >> This is needed to avoid a link failure: >> >> ERROR: modpost: "soc_device_register" [drivers/soc/mediatek/mtk-socinfo.ko] undefined! >> ERROR: modpost: "soc_device_unregister" [drivers/soc/mediatek/mtk-socinfo.ko] undefined! >> > > I've tried to take care of this in the exact same way a long time > ago. Don't ask me why it didn't find it's way into stable yet > > https://patchwork.kernel.org/project/linux-mediatek/patch/cc8f7f7da5bdccce514a320e0ae7468659cf7346.1707327680.git.daniel@makrotopia.org/ > > Sorry, went out of my radar for reasons. Your commit should take precedence. Angelo > Cheers > > > Daniel > >> Fixes: 423a54da3c7e ("soc: mediatek: mtk-socinfo: Add driver for getting chip information") >> Signed-off-by: Arnd Bergmann >> --- >> drivers/soc/mediatek/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig >> index 50c664b65f4d..1b7afb19ccd6 100644 >> --- a/drivers/soc/mediatek/Kconfig >> +++ b/drivers/soc/mediatek/Kconfig >> @@ -72,6 +72,7 @@ config MTK_SOCINFO >> tristate "MediaTek SoC Information" >> default y >> depends on NVMEM_MTK_EFUSE >> + select SOC_BUS >> help >> The MediaTek SoC Information (mtk-socinfo) driver provides >> information about the SoC to the userspace including the >> -- >> 2.39.2 >> >>