From patchwork Mon Nov 21 15:16:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 23893 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1652679wrr; Mon, 21 Nov 2022 07:22:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Au1+V3FOHifJz5gPccY3wbTpGi0IhMFX0IGHDqBZ/MYSMaDKAlbDQDsIUQT8pTAO/cKqs X-Received: by 2002:a17:906:5ad1:b0:7b2:b15e:3242 with SMTP id x17-20020a1709065ad100b007b2b15e3242mr12971558ejs.672.1669044142023; Mon, 21 Nov 2022 07:22:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669044142; cv=none; d=google.com; s=arc-20160816; b=azCFs5oml2wmw//mgIayUiS+QAu6PHDYko4LtiId8XBWbdYDSyBlboyfmW5xXBo92G muVufs9arMyx+nqUtH8oogQryoWyzkpogi/ilxzTvvpnVCC+x87d3dPNzuc9keOXb+g3 0kAhLc1PF68SefoZ4Ynw9A0nNFZyEzS95WtyvIv6YukrJ1x2CUo8TluJylA0EhRaQsbm +0zU7kVYyaurLkce1417+k6fTWCOKMTOVVWbwy/xmv6AQuJeC6eR8aEBrmP0uBA8WbkR Nbrloe5DG44cCu7E+T/2ysYO506+kgayg4Ng2UgVIZ9u4BCWu6d6NSgindFoaAPtrcfr EoJw== 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=vHc0JxpY9yELhVEGHl1FGW0cCpd91Wd+NyLrvggT+k8=; b=LqzkGI0Mot7APVzQnMG4a7SRUDN/StXLH4k5FWojA6egIRL9xYmOF41p5PyZJCJjvl RWQzvgHljS8E8PaS+MKdla5/SKp3poUcd7Vb+3OKu5xvIIGoLHiKpklrgpJ2edmiSFhZ fmAe8K7//0y6Vnr/Twc1dXPEb4+XITrF4MN4jIt+fqJnQFIgeiaIKBbged2a8NI//Vg1 +/U5PJYTuTDMMpE+X7q7OG3qCvP/B99BGyFnZZ35GGjXq48dHNIqMjhSKmwfiz8fpJX+ zbueGo7LBu0Twq2c74rs+RQyq3WZcRQYScj6m46Q3H5VDdFmQRtLpPmFZSkWMpksZl8W 5SgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=dhq4gIQ2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 i2-20020a508702000000b004691125c420si6861388edb.264.2022.11.21.07.21.47; Mon, 21 Nov 2022 07:22:22 -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=dhq4gIQ2; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S232047AbiKUPTw (ORCPT + 99 others); Mon, 21 Nov 2022 10:19:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232017AbiKUPTe (ORCPT ); Mon, 21 Nov 2022 10:19:34 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C5CAC4956 for ; Mon, 21 Nov 2022 07:16:25 -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 0F93121F27; Mon, 21 Nov 2022 15:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669043784; 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=vHc0JxpY9yELhVEGHl1FGW0cCpd91Wd+NyLrvggT+k8=; b=dhq4gIQ2lWK1r5hIaAEBkZkfoMBjGo5wgCG22y07yK7V7/+Nu6sgyuaNLrQfxW1JpPOTtS 9lF9CyuFh13eA9MG19imYMYyUQbMfHpV8h150OBO7TAhpD4cS6MES03W0El6X7Zm423CNa bbDukUEgi+HyS24cqunsx4kBkDyNSOw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669043784; 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=vHc0JxpY9yELhVEGHl1FGW0cCpd91Wd+NyLrvggT+k8=; b=cIfaTiv4MWMJzs4reAEHh9lP8Jt6NBnBcWNvOFr3+WeTnBgLpTxxnXqrLUmCzW0nQJ0fSt cizf00GhLcNruzDQ== 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 D7B0F1376E; Mon, 21 Nov 2022 15:16:23 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 56ACM0eWe2NAOQAAMHmgww (envelope-from ); Mon, 21 Nov 2022 15:16:23 +0000 Date: Mon, 21 Nov 2022 16:16:22 +0100 From: Jean Delvare To: Talel Shenhar Cc: Thomas Gleixner , Marc Zyngier , LKML Subject: [PATCH] irqchip/al-fic: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221121161622.6294a899@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?1750119629983893362?= X-GMAIL-MSGID: =?utf-8?q?1750119629983893362?= 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: Talel Shenhar Cc: Thomas Gleixner Cc: Marc Zyngier --- drivers/irqchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/irqchip/Kconfig +++ linux-6.0/drivers/irqchip/Kconfig @@ -86,7 +86,7 @@ config ALPINE_MSI config AL_FIC bool "Amazon's Annapurna Labs Fabric Interrupt Controller" - depends on OF || COMPILE_TEST + depends on OF select GENERIC_IRQ_CHIP select IRQ_DOMAIN help