Message ID | 20221124142441.3a230524@endymion.delvare |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3400044wrr; Thu, 24 Nov 2022 05:34:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6H3OqoQbykWSMS78qG/gZclCaHpLwx3EojG/yt9l2O1ft4F5z+0d6eKuuVKIbc8TsdcNxE X-Received: by 2002:a17:902:d4c5:b0:189:5e92:d457 with SMTP id o5-20020a170902d4c500b001895e92d457mr1238397plg.166.1669296870958; Thu, 24 Nov 2022 05:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669296870; cv=none; d=google.com; s=arc-20160816; b=lE9gby/ZPiWbDULsn4xY8LBghMGeIrK1gjBX8ocnID+xw9Oz4YaaOvoDOGyi5An3QI JbdJYvhKEhy9Bs9MhD4nt0C3Ua0q0XtzQ2gqZsaWD6SfkZ+/3rWsi1QQGbWnR+UtXsnb x+PE6aHko0Tb40lPxqO+l9pq47zdOpyYb7Z8SJHBrp/U9n7hUNTlW51C4uZ1gerzkorc 7htP2JNVOxmpMS/BG1+yqwG+yloO6Ah4TSXbFghKUmYwgpoEQHsXFle3MBahAHpBs+KE ZfAnPBGHNJOYRiSyXSYkaY23Vs2bzgdouxxubgYYrxBuEObsD5n9pFKmPwGHV7VPP76S lsxw== 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=3sHrd/CIXLaxPVPFYkey2aLygTwReIqBgayVF3Dh5rg=; b=IJ0zW1/AksPkCGbjZKvkrD2mErlbDeu78H0BQz5a4LnuBC+lYfxZfBdclaEyAXO2Nv LNYCdL46xLneMn9i2skpI9+07h46Q6jANJugZStboo+JbpEtnRJQjB7mi5k1SfD5GA5j cHAN50fgYySyC3/vs2yHGwwheNXWZE6NNMXkLyMtyv4l0ooAYSHCdpez4p786yDXcAel NDUW+IGwHDfIVWJ32Pg6/wast5u6BmWvEAF+8RgHN/QlRAOAM/rnm1ARg7kKxYaWUJnf gP2ko2FPMXhnqQSVKLRrL9+giQ7vN7goBiCvp/rnub0ZcorUMBMh0moqNDsecRjUyMvw 7h9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=hXqn2mtY; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=rv6rTKwl; 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 l11-20020a056a00140b00b00572dc2ed220si1186910pfu.231.2022.11.24.05.34.17; Thu, 24 Nov 2022 05:34:30 -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=hXqn2mtY; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=rv6rTKwl; 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 S229508AbiKXNYq (ORCPT <rfc822;fengqi706@gmail.com> + 99 others); Thu, 24 Nov 2022 08:24:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiKXNYo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Nov 2022 08:24:44 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A48491511; Thu, 24 Nov 2022 05:24:44 -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-out2.suse.de (Postfix) with ESMTPS id DDCB31F6E6; Thu, 24 Nov 2022 13:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669296282; 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=3sHrd/CIXLaxPVPFYkey2aLygTwReIqBgayVF3Dh5rg=; b=hXqn2mtY8XQ+fW5GvD41k822VrknMcvZN/Qsid55UEs2Q5m45d79ioWNHXSYde9jc2ki6N /+8Cb5XsOHP31EQHum9YlhmmSHPZlLqmeRTQRxYr0rNz/3lZH+VwUvD79Tu0h7EAcLq/Lb 4EO+96KihNs3+Z8r1/lweg5P3VZZaSQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669296282; 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=3sHrd/CIXLaxPVPFYkey2aLygTwReIqBgayVF3Dh5rg=; b=rv6rTKwl61rZVy7OYY94PbipR4JZ9/ukBTcVQ0yRSnM+SjX6wB3QOL/jny89ohTtCker11 qePJ7Lle2Iuo8OBQ== 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 95A7013B4F; Thu, 24 Nov 2022 13:24:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FGvzIppwf2MqJQAAMHmgww (envelope-from <jdelvare@suse.de>); Thu, 24 Nov 2022 13:24:42 +0000 Date: Thu, 24 Nov 2022 14:24:41 +0100 From: Jean Delvare <jdelvare@suse.de> To: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>, Rob Herring <robh@kernel.org>, "Krzysztof =?utf-8?q?Wilczy=C5=84ski?= " <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com>, Michal Simek <michal.simek@xilinx.com> Subject: [PATCH] PCI: xilinx: Drop obsolete dependency on COMPILE_TEST Message-ID: <20221124142441.3a230524@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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750384636244730466?= X-GMAIL-MSGID: =?utf-8?q?1750384636244730466?= |
Series |
PCI: xilinx: Drop obsolete dependency on COMPILE_TEST
|
|
Commit Message
Jean Delvare
Nov. 24, 2022, 1:24 p.m. UTC
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 <jdelvare@suse.de>
Cc: Lorenzo Pieralisi <lpieralisi@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: "Krzysztof WilczyĆski" <kw@linux.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Bharat Kumar Gogada <bharat.kumar.gogada@amd.com>
---
drivers/pci/controller/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-6.0.orig/drivers/pci/controller/Kconfig +++ linux-6.0/drivers/pci/controller/Kconfig @@ -98,7 +98,7 @@ config PCI_HOST_GENERIC config PCIE_XILINX bool "Xilinx AXI PCIe host bridge support" - depends on OF || COMPILE_TEST + depends on OF depends on PCI_MSI_IRQ_DOMAIN help Say 'Y' here if you want kernel to support the Xilinx AXI PCIe