From patchwork Thu Sep 14 08:43:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 13384818 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96791EDE990 for ; Thu, 14 Sep 2023 08:44:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236339AbjINIoC (ORCPT ); Thu, 14 Sep 2023 04:44:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236575AbjINIn6 (ORCPT ); Thu, 14 Sep 2023 04:43:58 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A170E1FE0; Thu, 14 Sep 2023 01:43:52 -0700 (PDT) X-QQ-mid: bizesmtp81t1694681014t16evqhx Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 16:43:32 +0800 (CST) X-QQ-SSF: 00200000000000907000000A0000000 X-QQ-FEAT: oAZ4GxcAC/VI+ncbe/WqybxXh1XLEZFy2YK7qRtVv2+fw7xXSYHohLX83MT8d mEoTgvURjNRAYPiadjffRz5EeFgJS6n1Q5mC80c3KI3jso9spEaqrM7ARb4oLBeaugqU0xQ bsrRdtjd5LKA71ZjXTkOI4R+0ZUHWDnc6Bcyd1KYFDPvDynTfpgjUj82mFRaOBCioXVG88u jV/7l2WX1Z5ALc9Rwo84S6VIdyW2NkRH7IfHP4X+dHMQXE3yVwLXG4GmgsyMlyDokarg0Yo rEVi1DH2q8C72V5jL0x1NpW3OVxn776Z18tkajgDtxI5ymnmikx9bNLi9xM5m21FJoX4IJD PnJ3N10yEFT3NPULCsB3qy+xJ815b0hFIvtQBvmtfiNhAufmaw= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 10233896525640872337 From: Yuan Tan To: tsbogend@alpha.franken.de, 42.hyeyoo@gmail.com, philmd@linaro.org Cc: linux-mips@vger.kernel.org, christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org Subject: [PATCH v3 1/3] MIPS: Cleanup malta_defconfig Date: Thu, 14 Sep 2023 16:43:31 +0800 Message-Id: <0b4450f083b612f78207e17499fc6ea6c65c6f3b.1694680448.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Use 'make savedefconfig' to cleanup malta_defconfig. Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan Reviewed-by: Philippe Mathieu-Daudé --- arch/mips/configs/malta_defconfig | 39 +++++++------------------------ 1 file changed, 8 insertions(+), 31 deletions(-) diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index ae1a7793e810..7ae07d57b79a 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig @@ -6,18 +6,17 @@ CONFIG_NAMESPACES=y CONFIG_RELAY=y CONFIG_BLK_DEV_INITRD=y CONFIG_EXPERT=y -# CONFIG_COMPAT_BRK is not set CONFIG_MIPS_MALTA=y CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPU_MIPS32_R2=y CONFIG_PAGE_SIZE_16KB=y CONFIG_NR_CPUS=8 CONFIG_HZ_100=y -CONFIG_PCI=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_COMPAT_BRK is not set CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y @@ -133,19 +132,6 @@ CONFIG_IP_NF_RAW=m CONFIG_IP_NF_ARPTABLES=m CONFIG_IP_NF_ARPFILTER=m CONFIG_IP_NF_ARP_MANGLE=m -CONFIG_IP6_NF_MATCH_AH=m -CONFIG_IP6_NF_MATCH_EUI64=m -CONFIG_IP6_NF_MATCH_FRAG=m -CONFIG_IP6_NF_MATCH_OPTS=m -CONFIG_IP6_NF_MATCH_HL=m -CONFIG_IP6_NF_MATCH_IPV6HEADER=m -CONFIG_IP6_NF_MATCH_MH=m -CONFIG_IP6_NF_MATCH_RT=m -CONFIG_IP6_NF_TARGET_HL=m -CONFIG_IP6_NF_FILTER=m -CONFIG_IP6_NF_TARGET_REJECT=m -CONFIG_IP6_NF_MANGLE=m -CONFIG_IP6_NF_RAW=m CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m @@ -177,7 +163,6 @@ CONFIG_IPDDP=m CONFIG_IPDDP_ENCAP=y CONFIG_PHONET=m CONFIG_NET_SCHED=y -CONFIG_NET_SCH_CBQ=m CONFIG_NET_SCH_HTB=m CONFIG_NET_SCH_HFSC=m CONFIG_NET_SCH_PRIO=m @@ -186,16 +171,12 @@ CONFIG_NET_SCH_SFQ=m CONFIG_NET_SCH_TEQL=m CONFIG_NET_SCH_TBF=m CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_DSMARK=m CONFIG_NET_SCH_NETEM=m CONFIG_NET_SCH_INGRESS=m CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_TCINDEX=m CONFIG_NET_CLS_ROUTE4=m CONFIG_NET_CLS_FW=m CONFIG_NET_CLS_U32=m -CONFIG_NET_CLS_RSVP=m -CONFIG_NET_CLS_RSVP6=m CONFIG_NET_CLS_FLOW=m CONFIG_NET_CLS_ACT=y CONFIG_NET_ACT_POLICE=y @@ -211,6 +192,7 @@ CONFIG_CFG80211=m CONFIG_MAC80211=m CONFIG_MAC80211_MESH=y CONFIG_RFKILL=m +CONFIG_PCI=y CONFIG_DEVTMPFS=y CONFIG_CONNECTOR=m CONFIG_MTD=y @@ -220,7 +202,6 @@ CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_UBI=m CONFIG_MTD_UBI_GLUEBI=m CONFIG_BLK_DEV_FD=m @@ -396,20 +377,16 @@ CONFIG_NLS_ISO8859_15=m CONFIG_NLS_KOI8_R=m CONFIG_NLS_KOI8_U=m CONFIG_CRYPTO_CRYPTD=m -CONFIG_CRYPTO_LRW=m -CONFIG_CRYPTO_PCBC=m -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_XCBC=m -CONFIG_CRYPTO_MD4=m -CONFIG_CRYPTO_SHA512=m -CONFIG_CRYPTO_WP512=m -CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_CAMELLIA=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_FCRYPT=m -CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_SERPENT=m -CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_TWOFISH=m +CONFIG_CRYPTO_LRW=m +CONFIG_CRYPTO_PCBC=m +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_MD4=m +CONFIG_CRYPTO_WP512=m +CONFIG_CRYPTO_XCBC=m From patchwork Thu Sep 14 08:43:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 13384819 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E872EDE990 for ; Thu, 14 Sep 2023 08:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236468AbjINIoR (ORCPT ); Thu, 14 Sep 2023 04:44:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236616AbjINIoM (ORCPT ); Thu, 14 Sep 2023 04:44:12 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 435B71FDF; Thu, 14 Sep 2023 01:44:08 -0700 (PDT) X-QQ-mid: bizesmtp88t1694681032t6ccny3m Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 16:43:50 +0800 (CST) X-QQ-SSF: 01200000000000907000000A0000000 X-QQ-FEAT: JP/5YZ9VfwlHz7TeRhPYP0IHlqFA/efHq9hsfved9HyXckQDDoEIUxgjKs7u5 p3/ieQ1boH9uYtcsNZd5a6PV94X7roqxT2+5qPY5wv39jTsdflxqRYfaPMvcfGmWzKGA42O qefqPtSc7QBdfbVo/Sh6tdlho7nhKS2CZV+zxoqV9UT8496E+BaOao5p35apjbhQaf5tS/D dQadH9Wf6ZB0nrYfFyy7ZXtQkkT76n/tsdbF8lLKk4DtaFFREA9FeYaUYwYcuYbvAOKLsrA bjE8k2+u7IuQIyc8M3gmyMJJwx4HoYuNQA4qfoXwpLypqpS4Vk5HY58e+3uIFXZX9bHe3qq tr19702ciT9HWGLu7bAyZ2HILNiMNNq3ufge3nAq4a0jAwyJ+w= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 4896214239601486824 From: Yuan Tan To: tsbogend@alpha.franken.de, 42.hyeyoo@gmail.com, philmd@linaro.org Cc: linux-mips@vger.kernel.org, christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org Subject: [PATCH v3 2/3] Kconfig: add dependencies of POWER_RESET for mips malta Date: Thu, 14 Sep 2023 16:43:48 +0800 Message-Id: <4e696edce7d7fef6f990a3cd48c9f78407f49cc6.1694680448.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index fc6fba925aea..b63a93e39f23 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -547,6 +547,9 @@ config MIPS_MALTA select MIPS_L1_CACHE_SHIFT_6 select MIPS_MSC select PCI_GT64XXX_PCI0 + select PCI if POWER_RESET + select PCI_QUIRKS if POWER_RESET + select POWER_RESET_PIIX4_POWEROFF if POWER_RESET select SMP_UP if SMP select SWAP_IO_SPACE select SYS_HAS_CPU_MIPS32_R1 From patchwork Thu Sep 14 08:44:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 13384820 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5615EDE990 for ; Thu, 14 Sep 2023 08:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236413AbjINIog (ORCPT ); Thu, 14 Sep 2023 04:44:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236496AbjINIoc (ORCPT ); Thu, 14 Sep 2023 04:44:32 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6794A1FE5; Thu, 14 Sep 2023 01:44:27 -0700 (PDT) X-QQ-mid: bizesmtp72t1694681055tww0inna Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 16:44:12 +0800 (CST) X-QQ-SSF: 00200000000000907000000A0000000 X-QQ-FEAT: rZJGTgY0+YOhl84ujRW11R9dJ6KjDmRaz4/+ZHl3eAlGCiSccYVFUNm2l3sCc KdlGQ4Z2arqnihIwzx4t5YxWKQXYvUsN+XAUqMFeV724FprDrk8BxS7WUdJTCutVqyUQM07 blEuMqJo4guiFrmpYEteUaDbOhmlSz6P40wRVj9nDb8wgBmi7IqMZD+ehHo7jHpfvN+czt6 jCESP36NbQw1Wm/hlR2mWEs3LZfWyuXZQlUrdK5z2c+hOuvD1c/iQ1y1h3O0FXFVhcVeMn/ bwOWV2vgNnnloCLUeUZpDRX3lPGn+XWH7rugbaWiB+GRPg7eJDJfVgmhde6d2jxuyyYQVJs Tx2CLYyTDf4LlQhgS35WybLkg9fMq7cyRty2pqqGpC4sdPcWiE= X-QQ-GoodBg: 0 X-BIZMAIL-ID: 17564644659303602312 From: Yuan Tan To: tsbogend@alpha.franken.de, 42.hyeyoo@gmail.com, philmd@linaro.org Cc: linux-mips@vger.kernel.org, christophe.leroy@csgroup.eu, linux-kernel@vger.kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org Subject: [PATCH v3 3/3] MIPS: Simplify malta_defconfig Date: Thu, 14 Sep 2023 16:44:11 +0800 Message-Id: <4d946232ffdd8891a32d4a9f17dbca10a4aa465d.1694680448.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Simplify malta_defconfig with POWER_RESET dependences. Regenerate malta_defconfig with 'make savedefconfig'. Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan --- arch/mips/configs/malta_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index 7ae07d57b79a..99049e993192 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig @@ -192,7 +192,6 @@ CONFIG_CFG80211=m CONFIG_MAC80211=m CONFIG_MAC80211_MESH=y CONFIG_RFKILL=m -CONFIG_PCI=y CONFIG_DEVTMPFS=y CONFIG_CONNECTOR=m CONFIG_MTD=y @@ -284,7 +283,6 @@ CONFIG_MOUSE_PS2_ELANTECH=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_PIIX4_POWEROFF=y CONFIG_POWER_RESET_SYSCON=y # CONFIG_HWMON is not set CONFIG_FB=y