From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5735B209F51; Fri, 4 Apr 2025 00:07:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743725269; cv=none; b=p6Mj7GiUHCoBS30OZXUYVPxw5jw++rlXBQNsKZL53ZB5HNmm3dMwIvuugDNvWNuJMqkZtWXNwLtGcP1x1oxmak3n2gwykTJtHPHONvoWQsTFcsmWnzxVwY+CcgnWHGCLsaF0Esrr1APEXkQEqrFRF5t3W04t1EbmHbLIRISZDHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743725269; c=relaxed/simple; bh=ajmueZ2sPkEbPP1poTSrGZCVJf0FgmS+PUY3MZQgSfA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=uie9XV57G+yExD4QDqJqkXRkFjDzUiOQZCCLpya45VxyzaDF1TVtDH+u3ztVKFx0Bn+MnownYovPMZeRs4AVtbDrd4N/YLrtNSh4lWNhSoScCO8pkxV0NlXzhQ0o8Sau13ELw6oD7jMkPJoJJDb7dqgPUA9EDeuq+01xrY+mtlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NYyDc76y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NYyDc76y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6370C4CEE9; Fri, 4 Apr 2025 00:07:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1743725269; bh=ajmueZ2sPkEbPP1poTSrGZCVJf0FgmS+PUY3MZQgSfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYyDc76yK0vFVOWLMfhC8HdE8+ztjD+1O6awA2gLdX5D36ZkxXibWlWGZ54Sjn2Vb 9+G9NqsQNP0i7ei75TE5I82fHSyqG+PVaIWC6m1F7la5Ht8zrdqY+psCz8nur3SRzr RPoUIAoprU+h39FSPdT951NQ4wEPCn505uxAGAVnNKQzaj5s8CHFM7ktPpZGQ67IMx if3aytk+Ib6PgVthbijMPLAXNg8M7cJq/tickVnVqDk6gtDEFl1CPE0gsnVzeuPCSY ZU7c+y/WTY7Z1tWNa9PEGnSvEYhn27f5IoWkrRC8VLYn1P26/La+zPT+am7k/Kywzt /ze9/Mb5bnFyw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , David Heideberg , Ingo Molnar , "H. Peter Anvin" , Linus Torvalds , Sasha Levin , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org Subject: [PATCH AUTOSEL 5.15 8/8] x86/Kconfig: Make CONFIG_PCI_CNB20LE_QUIRK depend on X86_32 Date: Thu, 3 Apr 2025 20:07:26 -0400 Message-Id: <20250404000728.2689305-8-sashal@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250404000728.2689305-1-sashal@kernel.org> References: <20250404000728.2689305-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.179 Content-Transfer-Encoding: 8bit From: Mateusz Jończyk [ Upstream commit d9f87802676bb23b9425aea8ad95c76ad9b50c6e ] I was unable to find a good description of the ServerWorks CNB20LE chipset. However, it was probably exclusively used with the Pentium III processor (this CPU model was used in all references to it that I found where the CPU model was provided: dmesgs in [1] and [2]; [3] page 2; [4]-[7]). As is widely known, the Pentium III processor did not support the 64-bit mode, support for which was introduced by Intel a couple of years later. So it is safe to assume that no systems with the CNB20LE chipset have amd64 and the CONFIG_PCI_CNB20LE_QUIRK may now depend on X86_32. Additionally, I have determined that most computers with the CNB20LE chipset did have ACPI support and this driver was inactive on them. I have submitted a patch to remove this driver, but it was met with resistance [8]. [1] Jim Studt, Re: Problem with ServerWorks CNB20LE and lost interrupts Linux Kernel Mailing List, https://lkml.org/lkml/2002/1/11/111 [2] RedHat Bug 665109 - e100 problems on old Compaq Proliant DL320 https://bugzilla.redhat.com/show_bug.cgi?id=665109 [3] R. Hughes-Jones, S. Dallison, G. Fairey, Performance Measurements on Gigabit Ethernet NICs and Server Quality Motherboards, http://datatag.web.cern.ch/papers/pfldnet2003-rhj.doc [4] "Hardware for Linux", Probe #d6b5151873 of Intel STL2-bd A28808-302 Desktop Computer (STL2) https://linux-hardware.org/?probe=d6b5151873 [5] "Hardware for Linux", Probe #0b5d843f10 of Compaq ProLiant DL380 https://linux-hardware.org/?probe=0b5d843f10 [6] Ubuntu Forums, Dell Poweredge 2400 - Adaptec SCSI Bus AIC-7880 https://ubuntuforums.org/showthread.php?t=1689552 [7] Ira W. Snyder, "BISECTED: 2.6.35 (and -git) fail to boot: APIC problems" https://lkml.org/lkml/2010/8/13/220 [8] Bjorn Helgaas, "Re: [PATCH] x86/pci: drop ServerWorks / Broadcom CNB20LE PCI host bridge driver" https://lore.kernel.org/lkml/20220318165535.GA840063@bhelgaas/T/ Signed-off-by: Mateusz Jończyk Signed-off-by: David Heideberg Signed-off-by: Ingo Molnar Cc: "H. Peter Anvin" Cc: Linus Torvalds Link: https://lore.kernel.org/r/20250321-x86_x2apic-v3-6-b0cbaa6fa338@ixit.cz Signed-off-by: Sasha Levin --- arch/x86/Kconfig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 90ac8d84389cf..2bb42c8b8362b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2742,13 +2742,21 @@ config MMCONF_FAM10H depends on X86_64 && PCI_MMCONFIG && ACPI config PCI_CNB20LE_QUIRK - bool "Read CNB20LE Host Bridge Windows" if EXPERT - depends on PCI + bool "Read PCI host bridge windows from the CNB20LE chipset" if EXPERT + depends on X86_32 && PCI help Read the PCI windows out of the CNB20LE host bridge. This allows PCI hotplug to work on systems with the CNB20LE chipset which do not have ACPI. + The ServerWorks (later Broadcom) CNB20LE was a chipset designed + most probably only for Pentium III. + + To find out if you have such a chipset, search for a PCI device with + 1166:0009 PCI IDs, for example by executing + lspci -nn | grep '1166:0009' + The code is inactive if there is none. + There's no public spec for this chipset, and this functionality is known to be incomplete. -- 2.39.5