From nobody Thu Feb 22 18:28:46 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TghVQ5k2Tz5B8HV; Thu, 22 Feb 2024 18:28:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TghVQ3Jz7z4gTk; Thu, 22 Feb 2024 18:28:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708626526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I7xHNSjVa1cJ/cruJeg2uFpnkwrn0zm5/yXTVfN//es=; b=STnig3hmhEwF+IoalqK3XJs0WTj01lu1hDNDZvx4IK8PmEFIXK7fD5mYmbfO20ax7L0TgP qBFumb6G4OL8gkyOkhOy9gd6VLoqaUOQLnn5uSIuMWScaA/7tkb93ZbY9iDWpDNM2VRS1P I+tS1NaE6K0FWcFPHt4yiA3dymfeXaqbYquSGNMd/RvKB/QZPgEoqdYxzvElP/nJPJp/BD xRMcvWIkMmx7MdPKHjwf5qqOwnoXocaQsRXmSRjtRxwXRy/rcPuCJ1md7N5HMHBLgvL4YL ONDW+fecyB4q/wCsAOoG+An+N/vleHPeT08CfA6PrsedFznUYaLRrHGlTxZtXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708626526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I7xHNSjVa1cJ/cruJeg2uFpnkwrn0zm5/yXTVfN//es=; b=rQSO7Xkq+HBu2Wg4846We8guiJCRYfigWvYMAQp59S5Yw9rgOTHFNUhPx2p3Re1FaEs4pM m2ZPZ14LCL7wOimnlzDG69yyzoHqpcsMALThmIfMGI1udUgAhdaWKFEfkV8v7Eb47QiHzK BEWggh+wwOOfnGMi8FZWh6sQsuSYjFW5DWKnhPOr578gwcwxTwcGVgyypxO4VhM0vx6Yxv YbyFeunJwBQdP4D3TTTji8CzsBkDr7NQ1JDGnUtt5Lcl8PNL5ylPhewevHqorOsPikTNFy LJokW+D+8JqazqDpLiXB1kHHy1MGhFDrGZp/wKMeFhOt/TPTmFHbtk5zdbFDsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708626526; a=rsa-sha256; cv=none; b=g/zYOu/gyGtXe/o5QW99JmxQl+WTJGluzO+xXySq0bZ/yNJUoKnfoewV2l5WwCkPXua2hJ AlmQKhn0b9MaKqQwcPteXayduoijBf5ZUioV1951GnDaRbkhf0kLp627SOXGE0R5yyBIfB DemQsGoS6wpNo4M81E5XOAkUkn/T+OE3CEdtxjQmZMYqa3US+/yICT5JpsSC3vHArPUX5U P/WnY82aEMSxA+OIrQk1FTolv1YhiSi3qAyPzf0IqYlBvawRUW2Qt0I8STpIRN50YUuXGW kUAgaa6nD3owWldEmYK7xNjiCRjm7U2x6arrW/gbWZIdCMoLPzEnjkrRpJcrzw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TghVQ2NqhzjQb; Thu, 22 Feb 2024 18:28:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41MISkDU019892; Thu, 22 Feb 2024 18:28:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41MISkuT019889; Thu, 22 Feb 2024 18:28:46 GMT (envelope-from git) Date: Thu, 22 Feb 2024 18:28:46 GMT Message-Id: <202402221828.41MISkuT019889@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: 121be555997b - main - arm: Set NEW_PCIB in DEFAULTS rather than a subset of kernel configs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 121be555997b3d7727e50d15acabd0ffbf4a4247 Auto-Submitted: auto-generated The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=121be555997b3d7727e50d15acabd0ffbf4a4247 commit 121be555997b3d7727e50d15acabd0ffbf4a4247 Author: Jessica Clarke AuthorDate: 2024-02-22 18:27:45 +0000 Commit: Jessica Clarke CommitDate: 2024-02-22 18:27:45 +0000 arm: Set NEW_PCIB in DEFAULTS rather than a subset of kernel configs All other architectures set NEW_PCIB in DEFAULTS, with arm being the one remaining straggler that only sets it for GENERIC and TEGRA124. ARMADA38X and ARMADAXP contain device pci but don't set NEW_PCIB, however GENERIC claims to support them and as part of that NEW_PCIB support was added to mv_pci, so these configs are most likely just stale. Other than NOTES that just leaves ALPINE as the one kernel with PCI support not covered by GENERIC, but al_pci is supported by arm64 which enables NEW_PCIB, and it's just a generic_pcie_fdt_driver with some fixup code to deal with quirks so should support PCI_RES_BUS just fine. Therefore it is believed that all in-tree kernel configs support NEW_PCIB in reality, and so let's take a step towards removing all the non-NEW_PCIB code by having it always-on everywhere. Reviewed by: emaste, jhb, manu MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D43806 --- sys/arm/conf/DEFAULTS | 2 ++ sys/arm/conf/GENERIC | 1 - sys/arm/conf/TEGRA124 | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arm/conf/DEFAULTS b/sys/arm/conf/DEFAULTS index d28e7b6302f9..85d090dfa782 100644 --- a/sys/arm/conf/DEFAULTS +++ b/sys/arm/conf/DEFAULTS @@ -6,4 +6,6 @@ device mem # Default congestion control algorithm options CC_CUBIC # include CUBIC congestion control + +options NEW_PCIB options INTRNG # All arm systems use INTRNG these days diff --git a/sys/arm/conf/GENERIC b/sys/arm/conf/GENERIC index f8a39cb370d5..ea4076230c5e 100644 --- a/sys/arm/conf/GENERIC +++ b/sys/arm/conf/GENERIC @@ -98,7 +98,6 @@ device ahci # AHCI-compatible SATA controllers #device ata # Legacy ATA/SATA controllers # PCI -options NEW_PCIB device pci device pci_host_generic diff --git a/sys/arm/conf/TEGRA124 b/sys/arm/conf/TEGRA124 index 9b75bf2e94f8..223dd925e56b 100644 --- a/sys/arm/conf/TEGRA124 +++ b/sys/arm/conf/TEGRA124 @@ -111,7 +111,6 @@ device ums # USB mouse #device wlan_amrr # AMRR transmit rate control algorithm # PCI -options NEW_PCIB device pci # PCI Ethernet NICs that use the common MII bus controller code.