From patchwork Mon Feb 27 01:48:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 1756020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=bZExtOGK; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PZdFV6jFMz1yWp for ; Mon, 13 Mar 2023 11:43:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:To:Subject:Date:From: References:In-Reply-To:Message-Id:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xo7bCUN9I7YR/vq1pXHjN49yWd4OMlYacy4J/o4sEF8=; b=bZExtOGKTuQK5A z6tcilr9l54HLnzcwzj9WiGJF3PecsQVB3BUTUSautd8j8sXTivDdOKkKNZ0NgL6UK/XIQjI308NE dMtXZRFkotTUhhs6eKYTjtnmh7p8Yv7He9LyeQGYBtf3n39c8wbVyPkSSx6Xh/48YZgCRkFGaYrWd 3HkLLbSLCQGhvym/6H/ovbLoHt/aKyObLXsR/aopgZAG3/E7Z850c/hVEd0Mkr61TEl1J99aeeCPQ NATmYHEgJ0PqIV4lWAoTjuxi1M4HhaUUhtKLEuZasBHDYOrvR4zEHFlDk99yiTObzyyxEketU63ey Qlun2P+Lca2IXcXfkFcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbWGP-003u3S-Fp; Mon, 13 Mar 2023 00:42:09 +0000 Received: from mailhost.m5p.com ([74.104.188.4]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbWFy-003tzc-Dw for openwrt-devel@lists.openwrt.org; Mon, 13 Mar 2023 00:41:44 +0000 Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 32D0N9co027241 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 12 Mar 2023 20:23:15 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 32D0N9bG027240; Sun, 12 Mar 2023 17:23:09 -0700 (PDT) (envelope-from ehem) Message-Id: <0b5e4dead6f27e94cdd305c3c440210778e90371.1678666509.git.ehem+git@drgnwing.com> In-Reply-To: References: From: Elliott Mitchell Date: Sun, 26 Feb 2023 17:48:00 -0800 Subject: [PATCH 2/4] kernel/x86: revert "generic" to i686 ("Pentium Pro") To: openwrt-devel@lists.openwrt.org X-Spam-Status: No, score=2.5 required=10.0 tests=DATE_IN_PAST_96_XX, KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mattapan.m5p.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230312_174142_806341_4DF46AF9 X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: While many Intel P4 processors were produced, they do not represent sufficient share of x86 to deserve an exclusive target. i686 is a much larger share. Due to the feature of SMP, which was absent fro [...] Content analysis details: (2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.1 DATE_IN_PAST_96_XX Date: is 96 hours or more before Received: date -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org While many Intel P4 processors were produced, they do not represent sufficient share of x86 to deserve an exclusive target. i686 is a much larger share. Due to the feature of SMP, which was absent from x86 before i686 this is still worthy of a distinct target. Signed-off-by: Elliott Mitchell --- target/linux/x86/generic/config-5.10 | 8 ++++---- target/linux/x86/generic/config-5.15 | 8 ++++---- target/linux/x86/generic/target.mk | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/target/linux/x86/generic/config-5.10 b/target/linux/x86/generic/config-5.10 index b683720bf8..65540dc385 100644 --- a/target/linux/x86/generic/config-5.10 +++ b/target/linux/x86/generic/config-5.10 @@ -235,7 +235,7 @@ CONFIG_KVM_XFER_TO_GUEST_WORK=y # CONFIG_LANCE is not set CONFIG_LIBNVDIMM=y CONFIG_LOCK_SPIN_ON_OWNER=y -# CONFIG_M686 is not set +CONFIG_M686=y # CONFIG_MDA_CONSOLE is not set CONFIG_MEMORY_BALLOON=y CONFIG_MEMREGION=y @@ -271,7 +271,7 @@ CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_PS2_VMMOUSE is not set # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_VSXXXAA is not set -CONFIG_MPENTIUM4=y +# CONFIG_MPENTIUM4 is not set CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_ND_BLK=y CONFIG_ND_BTT=y @@ -411,8 +411,8 @@ CONFIG_X86_CPUID=y CONFIG_X86_HV_CALLBACK_VECTOR=y CONFIG_X86_INTEL_LPSS=y CONFIG_X86_INTEL_PSTATE=y -CONFIG_X86_INTERNODE_CACHE_SHIFT=7 -CONFIG_X86_L1_CACHE_SHIFT=7 +CONFIG_X86_INTERNODE_CACHE_SHIFT=6 +CONFIG_X86_L1_CACHE_SHIFT=6 # CONFIG_X86_LONGHAUL is not set CONFIG_X86_NEED_RELOCS=y CONFIG_X86_PAE=y diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15 index 1da6ad555d..e27046c195 100644 --- a/target/linux/x86/generic/config-5.15 +++ b/target/linux/x86/generic/config-5.15 @@ -242,7 +242,7 @@ CONFIG_KVM_XFER_TO_GUEST_WORK=y # CONFIG_LANCE is not set CONFIG_LIBNVDIMM=y CONFIG_LOCK_SPIN_ON_OWNER=y -# CONFIG_M686 is not set +CONFIG_M686=y # CONFIG_MDA_CONSOLE is not set CONFIG_MEMORY_BALLOON=y CONFIG_MEMREGION=y @@ -278,7 +278,7 @@ CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_PS2_VMMOUSE is not set # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_VSXXXAA is not set -CONFIG_MPENTIUM4=y +# CONFIG_MPENTIUM4 is not set CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_ND_BLK=y CONFIG_ND_BTT=y @@ -422,8 +422,8 @@ CONFIG_X86_CPUID=y CONFIG_X86_HV_CALLBACK_VECTOR=y CONFIG_X86_INTEL_LPSS=y CONFIG_X86_INTEL_PSTATE=y -CONFIG_X86_INTERNODE_CACHE_SHIFT=7 -CONFIG_X86_L1_CACHE_SHIFT=7 +CONFIG_X86_INTERNODE_CACHE_SHIFT=6 +CONFIG_X86_L1_CACHE_SHIFT=6 # CONFIG_X86_LONGHAUL is not set CONFIG_X86_NEED_RELOCS=y CONFIG_X86_PAE=y diff --git a/target/linux/x86/generic/target.mk b/target/linux/x86/generic/target.mk index 81a1d7a792..7e7f9f5a78 100644 --- a/target/linux/x86/generic/target.mk +++ b/target/linux/x86/generic/target.mk @@ -1,10 +1,10 @@ BOARDNAME:=Generic -CPU_TYPE :=pentium4 +CPU_TYPE :=i686 FEATURES += audio pci pcie usb define Target/Description Build firmware images for modern x86 based boards with CPUs - supporting at least the Intel Pentium 4 instruction set with + supporting at least the Intel Pentium Pro instruction set with MMX, SSE and SSE2. endef