From patchwork Mon Apr 17 15:21:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 1774254 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=tSqoimD7; 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 4Q69JX1nsWz23vJ for ; Thu, 27 Apr 2023 06:22:04 +1000 (AEST) 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=LPSub3+qsGeGGwC2+LF2zupLKHMVakMq2ME5W2E+fM8=; b=tSqoimD7Y7gqIJ hIUEU24obuc+XB+jqcnf4LybU9lslP+vmdT9/rQRgawPHIAcut2x0tE+LXwpIIzKsDzAYPM+tw7qR 2IxYzp8LZNWEl2dzKgkX5+atFLoFSMYT2in7CCV+gGuaGcfEQE1t9xnz07nwAuboqZK1MH5iV6Kc8 AsvZOXfD3EseqDKsWuDA7qOZAZPKrawV4Nh5HXQX1h850vd5X+m7/deLt8QIs0CuaF0N+glQLBZ9g HZv7/5IS7JjoNkhqmD03B8+Mr/Ln+wTZ5XkCn8MNlVYnt/W7tfRAPEO1zzXsM3rQkDs9AVxwAe5KR VvtGOgib83NjvLil1LRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prld4-004m17-2W; Wed, 26 Apr 2023 20:20:42 +0000 Received: from mailhost.m5p.com ([74.104.188.4]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1prld2-004m06-2R for openwrt-devel@lists.openwrt.org; Wed, 26 Apr 2023 20:20:42 +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 33QKKXse029946 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 26 Apr 2023 16:20:38 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 33QKKXrV029945; Wed, 26 Apr 2023 13:20:33 -0700 (PDT) (envelope-from ehem) Message-Id: <1b35c8876be32faa9d380dc474807955e1ed055c.1682028382.git.ehem+openwrt@m5p.com> In-Reply-To: References: From: Elliott Mitchell Date: Mon, 17 Apr 2023 08:21:26 -0700 Subject: [PATCH 1/8] kernel/x86: remove CONFIG_M686 from common configuration 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-20230426_132040_934610_EEA9BF1B X-CRM114-Status: UNSURE ( 9.01 ) 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: All of the sublevels choose their own values, so there is no point in the common file having anything. This also removes a warning from the kernel build process. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 2 +- target/linux/x86/config-5.15 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 All of the sublevels choose their own values, so there is no point in the common file having anything. This also removes a warning from the kernel build process. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 2 +- target/linux/x86/config-5.15 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10 index 6868dec18a..d7eb89bd6e 100644 --- a/target/linux/x86/config-5.10 +++ b/target/linux/x86/config-5.10 @@ -203,7 +203,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y # CONFIG_M586 is not set # CONFIG_M586MMX is not set # CONFIG_M586TSC is not set -CONFIG_M686=y +# CONFIG_M686 is not set # CONFIG_MACHZ_WDT is not set # CONFIG_MATOM is not set # CONFIG_MCORE2 is not set diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15 index a3d8db26ae..bf1c7bf8d5 100644 --- a/target/linux/x86/config-5.15 +++ b/target/linux/x86/config-5.15 @@ -206,7 +206,7 @@ CONFIG_LOCK_DEBUGGING_SUPPORT=y # CONFIG_M586 is not set # CONFIG_M586MMX is not set # CONFIG_M586TSC is not set -CONFIG_M686=y +# CONFIG_M686 is not set # CONFIG_MACHZ_WDT is not set # CONFIG_MATOM is not set # CONFIG_MCORE2 is not set From patchwork Fri Apr 14 00:07:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elliott Mitchell X-Patchwork-Id: 1774256 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=Qn1kg44B; 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 4Q69LW02Nqz23vJ for ; Thu, 27 Apr 2023 06:23:46 +1000 (AEST) 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=W4yTrwCR5Dm5uVlECc9QvBXkL4xdAxUqtZRoFK6kEE8=; b=Qn1kg44BHN6s/B jvcMOmNc8idQNcassUPuhNjB5vD+xzHk8AugPQ/7Ok08fQyq0ql6P0GTmHQ5UQAo9aqBU+mnEzY+E 77i1ZTrBIrKJ95PM3Diic7nRagTXClKSYguJTzv/dDorM0VsRusUbAk34mkFoTzhuWvVso7iDZaCM WP8ZRxa5jJ85Z4xJMH0lCbYNdzgBjNzX7YG3LVss8Qk4S6BH7/tOtEM2RCPx0TYoWDifiHdeSA15h xdrBocUSES124CBmUSNJKve7WDH7c7UqOhvtj+vHLgkFdTUEl3nHXSRyCbtJD2B1NC6RHAG9XFSle A+wjCit35axM93jseKbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prlem-004mVA-1q; Wed, 26 Apr 2023 20:22:28 +0000 Received: from mailhost.m5p.com ([74.104.188.4]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1prlej-004mU1-1w for openwrt-devel@lists.openwrt.org; Wed, 26 Apr 2023 20:22:27 +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 33QKMIEY029982 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 26 Apr 2023 16:22:23 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 33QKMI6d029981; Wed, 26 Apr 2023 13:22:18 -0700 (PDT) (envelope-from ehem) Message-Id: <426dde734f04479891fcb5bf9a51282f09d857ee.1682028382.git.ehem+openwrt@m5p.com> In-Reply-To: References: From: Elliott Mitchell Date: Thu, 13 Apr 2023 17:07:20 -0700 Subject: [PATCH 2/8] kernel/x86: move SCx200 support from generic to geode 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-20230426_132225_776204_2AC62605 X-CRM114-Status: UNSURE ( 7.01 ) 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: The SCx200 is part of the Geode platform. As such generic x86 doesn't need the driver, but Geode does. Signed-off-by: Elliott Mitchell --- target/linux/x86/config-5.10 | 5 +---- target/linux/x86/config-5.15 | 5 +---- target/linux/x86/geode/config-5.10 | 3 +++ target/linux/x86/geo [...] 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 The SCx200 is part of the Geode platform. As such generic x86 doesn't need the driver, but Geode does. Signed-off-by: Elliott Mitchell Reviewed-by: Philip Prindeville --- target/linux/x86/config-5.10 | 5 +---- target/linux/x86/config-5.15 | 5 +---- target/linux/x86/geode/config-5.10 | 3 +++ target/linux/x86/geode/config-5.15 | 3 +++ 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10 index d7eb89bd6e..cdf636d05f 100644 --- a/target/linux/x86/config-5.10 +++ b/target/linux/x86/config-5.10 @@ -307,10 +307,7 @@ CONFIG_SATA_HOST=y # CONFIG_SC1200_WDT is not set CONFIG_SCSI=y CONFIG_SCSI_SPI_ATTRS=y -CONFIG_SCx200=y -CONFIG_SCx200HR_TIMER=y -# CONFIG_SCx200_GPIO is not set -# CONFIG_SCx200_WDT is not set +CONFIG_SCx200=n CONFIG_SERIAL_8250_PCI=y # CONFIG_SERIAL_LANTIQ is not set CONFIG_SERIO=y diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15 index bf1c7bf8d5..b738358216 100644 --- a/target/linux/x86/config-5.15 +++ b/target/linux/x86/config-5.15 @@ -311,10 +311,7 @@ CONFIG_SATA_HOST=y CONFIG_SCSI=y CONFIG_SCSI_COMMON=y CONFIG_SCSI_SPI_ATTRS=y -CONFIG_SCx200=y -CONFIG_SCx200HR_TIMER=y -# CONFIG_SCx200_GPIO is not set -# CONFIG_SCx200_WDT is not set +CONFIG_SCx200=n CONFIG_SERIAL_8250_PCI=y # CONFIG_SERIAL_LANTIQ is not set CONFIG_SERIO=y diff --git a/target/linux/x86/geode/config-5.10 b/target/linux/x86/geode/config-5.10 index 579f316914..9ef5101c14 100644 --- a/target/linux/x86/geode/config-5.10 +++ b/target/linux/x86/geode/config-5.10 @@ -110,7 +110,10 @@ CONFIG_RTC_I2C_AND_SPI=y # CONFIG_SAMSUNG_Q10 is not set CONFIG_SC1200_WDT=y # CONFIG_SCSI_FDOMAIN_ISA is not set +CONFIG_SCx200=y +CONFIG_SCx200HR_TIMER=y CONFIG_SCx200_ACB=y +# CONFIG_SCx200_GPIO is not set CONFIG_SCx200_WDT=y # CONFIG_SENSORS_AMD_ENERGY is not set CONFIG_SENSORS_LM90=y diff --git a/target/linux/x86/geode/config-5.15 b/target/linux/x86/geode/config-5.15 index 2ede23ea5e..d39c305811 100644 --- a/target/linux/x86/geode/config-5.15 +++ b/target/linux/x86/geode/config-5.15 @@ -120,7 +120,10 @@ CONFIG_RTC_I2C_AND_SPI=y # CONFIG_SAMSUNG_Q10 is not set CONFIG_SC1200_WDT=y # CONFIG_SCSI_FDOMAIN_ISA is not set +CONFIG_SCx200=y +CONFIG_SCx200HR_TIMER=y CONFIG_SCx200_ACB=y +# CONFIG_SCx200_GPIO is not set CONFIG_SCx200_WDT=y CONFIG_SENSORS_LM90=y CONFIG_SERIAL_8250_PNP=y