From patchwork Mon Nov 21 14:59:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 23888 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1648542wrr; Mon, 21 Nov 2022 07:15:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7sm4CXqvcStfgVqMGgCdDjyZXKuhnBio4rst8Eq5+JUtbaxK1xsfG4BMF6NkqBeOFv5Qmh X-Received: by 2002:a17:90b:264a:b0:213:7030:f69a with SMTP id pa10-20020a17090b264a00b002137030f69amr20838962pjb.231.1669043725941; Mon, 21 Nov 2022 07:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669043725; cv=none; d=google.com; s=arc-20160816; b=LLEdiJKI+RMRB5KWeBnqUSDasfzNMHuNW2ENHliFbiaI4Lrs2/vtmq5VNr5ehuwfkt XinPgLeH3AoLIM4BdYh0ukM6ccvuNLKOWscdekTI5bUq4T4pXv04MsFAiVwxfTM9O1NX M4gnPnh6kILAJhjGrf0icVLLKNAKZSwGrY4CQzpK2wpPptGLXZ7ZUof4M1qNmwAYYT8x 2ajzQyJqRETnh+qFVBR0POtrpiZxt+fYMxuviitxs2ZHjWcESzILo7ktCg1o5m3oO2D3 BRIfxoywhPLUoEZTgx+YHpFNQ1Tlm++bOlZNSqvpVwAIGTJTCnhkzeeKRymzKDHYy+sN tGKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=XbU6pJlnqsaZ2ECXXpl266vRcoUTK5bfjkYQl7JTGT0=; b=P+kCXlo5zkm5UNANONxQeqSVK2/OGF4/IFoj6awlFxa2hH4cTGPA3u3DM2tuloHGG/ zTS1mhsg1mBlGqRxuQVSJ/45reSpnF2Ey2+ECrHUgEE4Bch123zIpk9f1oPYbBJjfPXl nGf9Qk2rOS0yeFlJQncZxwGrj5GFp1AHrKqm+L1TWRmQhVAKnGrtzKXE566guBRhPtYV 8X7N/zF8TJMVdMdvzoQqS+DttEJ0a02TwmpyLgYi5Zx6RuZcAtVZ6LfYa1JzO+8Pgcw0 T6vK4hYx3DFRK0x5n7UnLzGQdPU8+jfswKR87DsaSofD/FHLPfYTbZaOHP29qiSQde42 1ixg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=w5wNzDKc; dkim=neutral (no key) header.i=@suse.de header.b=EO7VZCQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l3-20020a056a0016c300b00572ef957b35si12637889pfc.210.2022.11.21.07.15.04; Mon, 21 Nov 2022 07:15:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=w5wNzDKc; dkim=neutral (no key) header.i=@suse.de header.b=EO7VZCQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbiKUPJw (ORCPT + 99 others); Mon, 21 Nov 2022 10:09:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbiKUPJa (ORCPT ); Mon, 21 Nov 2022 10:09:30 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7DC1D2994; Mon, 21 Nov 2022 06:59:49 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A4CEC21F48; Mon, 21 Nov 2022 14:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669042788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XbU6pJlnqsaZ2ECXXpl266vRcoUTK5bfjkYQl7JTGT0=; b=w5wNzDKc5o5a66YDFf0df334D2mmIQbjszdUQeTr9hiGgzOAsP4qyGiqEtXhNZAPz4YUtv PcurCRZYYCz+agP8TBX0QRvDkRcOS1Zq6qCGrfSqxo9uIIaZNRKRKGSFHlcMOo5cKcYJMA MK4LGlpQqeKSkPU7nc3LMvoEGRMs9ss= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669042788; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XbU6pJlnqsaZ2ECXXpl266vRcoUTK5bfjkYQl7JTGT0=; b=EO7VZCQUzdvWwVf3irvBD+SDUznOjSXilBhyPSaGVrZA4hyxrP20upv7CuZRMoqoTj972+ yYNmJdMRTpT9qFBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5D4491376E; Mon, 21 Nov 2022 14:59:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id K/esFGSSe2NkLwAAMHmgww (envelope-from ); Mon, 21 Nov 2022 14:59:48 +0000 Date: Mon, 21 Nov 2022 15:59:46 +0100 From: Jean Delvare To: Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: Georgi Djakov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] interconnect: qcom: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221121155946.3c985500@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750119194310112908?= X-GMAIL-MSGID: =?utf-8?q?1750119194310112908?= From: Jean Delvare Subject: interconnect: qcom: Drop obsolete dependency on COMPILE_TEST Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. It is actually better to always build such drivers with OF enabled, so that the test builds are closer to how each driver will actually be built on its intended target. Building them without OF may not test much as the compiler will optimize out potentially large parts of the code. In the worst case, this could even pop false positive warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Andy Gross Cc: Bjorn Andersson Cc: Konrad Dybcio Cc: Georgi Djakov --- drivers/interconnect/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/interconnect/qcom/Kconfig +++ linux-6.0/drivers/interconnect/qcom/Kconfig @@ -74,7 +74,7 @@ config INTERCONNECT_QCOM_RPMH_POSSIBLE default INTERCONNECT_QCOM depends on QCOM_RPMH || (COMPILE_TEST && !QCOM_RPMH) depends on QCOM_COMMAND_DB || (COMPILE_TEST && !QCOM_COMMAND_DB) - depends on OF || COMPILE_TEST + depends on OF help Compile-testing RPMH drivers is possible on other platforms, but in order to avoid link failures, drivers must not be built-in