From patchwork Fri Mar 21 20:48:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Heidelberg X-Patchwork-Id: 14026052 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 71157230BEB; Fri, 21 Mar 2025 20:48: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=1742590129; cv=none; b=Mwl5v744Aymvo6R+2ULDJXLmDMjDyywJaCU8n0//EmOxgZ3mQTFo5K4L00q9gT+DotfE6Kkn4qxoOx6iNcwPs5fdZhDfkMxwfNp8N8+jYjr9yjK79Zkkyb6rUJJQdRBm+Eupgo3HmHQDEJsi3BdPSyJmmzI6AEoq19K7AZ1oYFQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742590129; c=relaxed/simple; bh=LAyx8CMvL7ihWgO7vFrzkDYXJm8WnGG71CRYQOialKs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mWRQkKbqEP1vhEpKdjZOU0vr1K1Dr6oARg/0f37ZlkwmsicJ1LfX/v2IFnCVFqQ7AbYdSyE/dtvAarjEC06E8ChewdvNARoZzv6mYfRVXNrOhN08PerTsbr3mhdmv05nwyC19jMA6xUJeNsUSFLdPl8bTqgkPx+WwQWof6+M3As= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lz+btJVY; 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="lz+btJVY" Received: by smtp.kernel.org (Postfix) with ESMTPS id E1F7EC4CEFD; Fri, 21 Mar 2025 20:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742590128; bh=LAyx8CMvL7ihWgO7vFrzkDYXJm8WnGG71CRYQOialKs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=lz+btJVYTrKPdMiGVEg6cYyxI/Y2AiO9XOaE/37CO+R6Oh8geSQal/VFbt7f314bE ZbuYsYDWtOyNRRiMW0ZdQeu3EjxUfadNad3gG5jgMpvkf9rSTXRsIjJSW3EVtRvhVq s555iJtRPJLJSzTyRtl0x9cfQfZGH8wZE/r59BP1UMQxKf3CnhTOepw+rgyQvMm+z0 drV7qIQf5XuZRJ6gTuhtborCvUko6wlEdmyFYzILnzKbco8z7adOivJtq8YnD5S6SK iRmMSvaNAUp5fzBE8ZSXJuAedzIQO0siYlOd3r6fn1yLQVTZPsfdktPYOSimOB0iAC evD1zcA6WkcJg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D910EC36002; Fri, 21 Mar 2025 20:48:48 +0000 (UTC) Date: Fri, 21 Mar 2025 21:48:48 +0100 Subject: [PATCH v3 6/7] x86/Kconfig: Make CONFIG_PCI_CNB20LE_QUIRK depend on X86_32 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20250321-x86_x2apic-v3-6-b0cbaa6fa338@ixit.cz> References: <20250321-x86_x2apic-v3-0-b0cbaa6fa338@ixit.cz> In-Reply-To: <20250321-x86_x2apic-v3-0-b0cbaa6fa338@ixit.cz> To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Kees Cook , Jonathan Cameron , Lars-Peter Clausen Cc: linux-kernel@vger.kernel.org, Ingo Molnar , linux-iio@vger.kernel.org, =?utf-8?q?Mateusz_Jo=C5=84czyk?= , David Heidelberg X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3223; i=david@ixit.cz; h=from:subject:message-id; bh=7AuR1hNQHR8/gFLUhnVuBp1tH25Vf1c/ieb+mgzxiH8=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBn3dCuOaoPF9BmpnMsvQu8AmMCME/A9yE3QcM0C E1IkN2uCHCJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCZ93QrgAKCRBgAj/E00kg ckixD/wP8wbyrw8fWmN/lzMqlM0vYxDzeVQOx1bZ1UW4lf4vSSlEPKGJoGXnJ7Ei15xSL4r3WUa Rt20q8NuZQL4l0QQomrMF94Hc8njhRoiGO7D7frk5IUr8GjpdTQ8BgYUt+qYbrhtPkBVb9haPIY ipsw/lP/URrsMGZNEQ5HRx5OeagcjdJTcmDMq26Pr9kS4UheOP6uEVO819z+R0bJXBG3gC3t/8j 4t8mbnSWSOlVodYj89602r4drjja40oO0pPb/7WUK+d01wTSe2mYUp1oBtIwuD3hnBsVnVpIKUM eJwKw5RUN/elMQNTtcu5hntoeaDSeGnme2tasCUbJd3gXAAl0g1Bqwxr/TjpaHPNIo1vyreDR2V Jor4zgnATt7GoiF649PjgPTwPq+Gg/BfPO0QFnXKaexmfMEVgnwFOwt+wRUEHeUH0JUNqWKoJxs Zko/QLuD7MJl/rMgyg1an3/y0vkbTEW9FucJffQVpP91675jWVAQwe46NGc5GvI3dAtrMHe6n89 ukCpUTEEB9DNE4ggHLETDpTA2iObNBkBJfTimC3hbNYzD525wYcVhu2R3anT4jFqDQM9moIOOA8 dUEHrVGDl0YLybY4NZCems32TAH3NIXDc3lhDr+0L3jHDdCbPdji1pjhdmz9PKVD73FS9EseSSE d8rK2w/7xkUwOjQ== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: David Heidelberg From: Mateusz Jończyk 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 --- arch/x86/Kconfig | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 64a1e00619df95f559488e3004558a7b0f653df3..ba6ba3a7011554d9cb58fb0acf48d541da8ed69b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2941,13 +2941,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.