From patchwork Thu Sep 14 10:36:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 139496 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp257336vqi; Thu, 14 Sep 2023 03:50:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUuQ8BtNnh1KsiCMq70TXQo/hSl6F0Amr0+5caKWu1C9W7TEaJzwSFRIT9FcAtIyIgFu8n X-Received: by 2002:a81:6dd7:0:b0:59b:5673:167f with SMTP id i206-20020a816dd7000000b0059b5673167fmr5686666ywc.0.1694688647763; Thu, 14 Sep 2023 03:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694688647; cv=none; d=google.com; s=arc-20160816; b=YSoRRpHGxywFkSk8rAB3ZDmkUg6VA3cUcmHtCGtVedJk8D63uHm0xOhVNF/94tbzqe QJMy1MpgTKtgGbMTdcHVdvn5pCropBomyzdWcNuXHLN97tULe9nIobzwHwyGSHt2WYN1 rrGosdZZrTPudiHP/CFUaKpPHQlKhz63WDfhK6dh0TK/RaEg2Nq6lqPvzsDLdbs59x+b wuGFrU+TvPa+8oRbxtR4kUObpzvNd3J6EZWtwm/KcnPYbuwy3fRzpcbjY3oV8VQ5VXPu eUlhfJipMUNkTU+ftZlA3WWnDVONVjzBdbHrCx/IZJbokCSgchzRgfuqeeebjH42Bpje FruQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=mlxi3oEWT+2ZvwSQKi6rYTIrMyzByfXvpT+pcboRhbg=; fh=qnMDB3CdptvN6tWnVMbb3MuCCYdzPotPpoQxrPJLS/M=; b=hGbC2ZtsOB5LQOPH6PiHzbehbP0AYosl8XFPvlRH5rWXaahhQ9jqG2LBxV/ZKL3ibd lAKMXkyeVjc8+xLDk4qDLDeKi/SCS/VxGs3X+BWOo73AJPI/pSOO6++CV2Py/J+EXPlf FmLFHubCdtAQjXTAWxqChjjNTCl/+ClPeT1O/2aok3j4XIJ5C7rr3BuaUaV1l4ULfISL wMrdB3/D2+9EPw9lNJXMIcq+b2Qr88Hj5J3VSG1RdCdKxdNYn7Mm63Un1+Q8ozreLPp3 gseMs+eQFCIm0i5BKwkOSd6/VffsHs7KyKGPXhg1nNvDuEw60+u7IYNBU/XyH7xXYnOM aSbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v15-20020a056a00148f00b0068ffda29587si1475055pfu.109.2023.09.14.03.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CEBBB82B1C78; Thu, 14 Sep 2023 03:37:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237457AbjINKhC (ORCPT + 35 others); Thu, 14 Sep 2023 06:37:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233324AbjINKhA (ORCPT ); Thu, 14 Sep 2023 06:37:00 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D0DD1BEB for ; Thu, 14 Sep 2023 03:36:55 -0700 (PDT) X-QQ-mid: bizesmtp62t1694687770tc0ax3wh Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 18:36:07 +0800 (CST) X-QQ-SSF: 00200000000000907000000A0000000 X-QQ-FEAT: QityeSR92A3McIomN9U9NmeiRqhK4geqfNR+UMSijkaoEF+prEGz5E6z1Z0ra rDHfriq1Iwoblco1m50jRLj5Bf3SyE/oj4Ifti11gSicGXLBXKm5SzdyGWPg/waEzwxdoZi USbVul+DUZc77BOF23H/aiSKB20toY60qoX1AsXSxy6+ypDHkhkLtQciZI9fgL71+blwe3b ycX8YF9XksBkAot7uy57x21jfsikuQyHmEcw3nvjy9xiSFVDqV+P+Q+qdjRzpn4Y7YvQFmR Xys4iDi87/s7VQNJ/MGnH1dXAkaDujXnokxKLk9i6gvvZ1Vj2speP77YaqzA5J4ZZ6asn76 pWcnJLfFm0u9bZeCYRnimdiOvJPq8Tp2IU0JzosOpXbLBUkT5qmkUGfaYk2mg== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9747960263612415347 From: Yuan Tan To: tglx@linutronix.de, mingo@redhat.com Cc: bp@alien8.de, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, x86@kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Christophe Leroy Subject: [PATCH v3 1/3] x86/config: Cleanup i386_defconfig and x86_64_defconfig Date: Thu, 14 Sep 2023 18:36:06 +0800 Message-Id: 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:37:02 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777009843540774140 X-GMAIL-MSGID: 1777009843540774140 Use 'make savedefconfig' to cleanup i386_defconfig and x86_64_defconfig. Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan --- arch/x86/configs/i386_defconfig | 29 +++++++++-------------------- arch/x86/configs/x86_64_defconfig | 7 +------ 2 files changed, 10 insertions(+), 26 deletions(-) diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index 1b411bbf3cb0..babd91c8091a 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -1,7 +1,6 @@ CONFIG_WERROR=y CONFIG_SYSVIPC=y CONFIG_POSIX_MQUEUE=y -CONFIG_USELIB=y CONFIG_AUDIT=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y @@ -28,21 +27,20 @@ CONFIG_CGROUP_DEBUG=y CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y CONFIG_PROFILING=y +CONFIG_CRASH_DUMP=y CONFIG_SMP=y CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y -CONFIG_NR_CPUS=8 CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y CONFIG_X86_MSR=y CONFIG_X86_CPUID=y +CONFIG_NUMA=y CONFIG_X86_CHECK_BIOS_CORRUPTION=y # CONFIG_MTRR_SANITIZER is not set CONFIG_EFI=y CONFIG_EFI_STUB=y +CONFIG_EFI_MIXED=y CONFIG_HZ_1000=y -CONFIG_KEXEC=y -CONFIG_CRASH_DUMP=y -# CONFIG_RETHUNK is not set CONFIG_HIBERNATION=y CONFIG_PM_DEBUG=y CONFIG_PM_TRACE_RTC=y @@ -51,9 +49,9 @@ CONFIG_ACPI_BGRT=y CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_X86_ACPI_CPUFREQ=y +CONFIG_IA32_EMULATION=y CONFIG_KPROBES=y CONFIG_JUMP_LABEL=y -CONFIG_COMPAT_32BIT_TIME=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y @@ -64,9 +62,7 @@ CONFIG_BINFMT_MISC=y # CONFIG_COMPAT_BRK is not set CONFIG_NET=y CONFIG_PACKET=y -CONFIG_UNIX=y CONFIG_XFRM_USER=y -CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y @@ -127,7 +123,6 @@ CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y CONFIG_PCI=y CONFIG_PCIEPORTBUS=y -CONFIG_PCI_MSI=y CONFIG_HOTPLUG_PCI=y CONFIG_PCCARD=y CONFIG_YENTA=y @@ -135,7 +130,6 @@ CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DEBUG_DEVRES=y CONFIG_CONNECTOR=y -CONFIG_EFI_CAPSULE_LOADER=y CONFIG_BLK_DEV_LOOP=y CONFIG_VIRTIO_BLK=y CONFIG_BLK_DEV_SD=y @@ -150,8 +144,6 @@ CONFIG_ATA_PIIX=y CONFIG_PATA_AMD=y CONFIG_PATA_OLDPIIX=y CONFIG_PATA_SCH=y -CONFIG_PATA_MPIIX=y -CONFIG_ATA_GENERIC=y CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_BLK_DEV_DM=y @@ -162,17 +154,14 @@ CONFIG_MAC_EMUMOUSEBTN=y CONFIG_NETDEVICES=y CONFIG_NETCONSOLE=y CONFIG_VIRTIO_NET=y -CONFIG_BNX2=y CONFIG_TIGON3=y CONFIG_NET_TULIP=y CONFIG_E100=y CONFIG_E1000=y CONFIG_E1000E=y CONFIG_SKY2=y -CONFIG_NE2K_PCI=y CONFIG_FORCEDETH=y CONFIG_8139TOO=y -# CONFIG_8139TOO_PIO is not set CONFIG_R8169=y CONFIG_INPUT_EVDEV=y CONFIG_INPUT_JOYSTICK=y @@ -191,6 +180,8 @@ CONFIG_SERIAL_8250_RSA=y CONFIG_SERIAL_NONSTANDARD=y CONFIG_VIRTIO_CONSOLE=y CONFIG_HW_RANDOM=y +# CONFIG_HW_RANDOM_INTEL is not set +# CONFIG_HW_RANDOM_AMD is not set CONFIG_NVRAM=y CONFIG_HPET=y # CONFIG_HPET_MMAP is not set @@ -237,12 +228,14 @@ CONFIG_DMADEVICES=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_INPUT=y CONFIG_EEEPC_LAPTOP=y +CONFIG_AMD_IOMMU=y +CONFIG_INTEL_IOMMU=y +# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y -# CONFIG_PRINT_QUOTA_WARNING is not set CONFIG_QFMT_V2=y CONFIG_AUTOFS_FS=y CONFIG_ISO9660_FS=y @@ -267,10 +260,8 @@ CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_KERNEL=y -CONFIG_FRAME_WARN=1024 CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_WX=y CONFIG_DEBUG_STACK_USAGE=y @@ -280,5 +271,3 @@ CONFIG_BLK_DEV_IO_TRACE=y CONFIG_PROVIDE_OHCI1394_DMA_INIT=y CONFIG_EARLY_PRINTK_DBGP=y CONFIG_DEBUG_BOOT_PARAMS=y -CONFIG_UNWINDER_FRAME_POINTER=y -# CONFIG_64BIT is not set diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index 409e9182bd29..babd91c8091a 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -27,6 +27,7 @@ CONFIG_CGROUP_DEBUG=y CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y CONFIG_PROFILING=y +CONFIG_CRASH_DUMP=y CONFIG_SMP=y CONFIG_HYPERVISOR_GUEST=y CONFIG_PARAVIRT=y @@ -40,8 +41,6 @@ CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_MIXED=y CONFIG_HZ_1000=y -CONFIG_KEXEC=y -CONFIG_CRASH_DUMP=y CONFIG_HIBERNATION=y CONFIG_PM_DEBUG=y CONFIG_PM_TRACE_RTC=y @@ -63,9 +62,7 @@ CONFIG_BINFMT_MISC=y # CONFIG_COMPAT_BRK is not set CONFIG_NET=y CONFIG_PACKET=y -CONFIG_UNIX=y CONFIG_XFRM_USER=y -CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_MULTIPLE_TABLES=y @@ -239,7 +236,6 @@ CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y -# CONFIG_PRINT_QUOTA_WARNING is not set CONFIG_QFMT_V2=y CONFIG_AUTOFS_FS=y CONFIG_ISO9660_FS=y @@ -264,7 +260,6 @@ CONFIG_SECURITY=y CONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y -CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_KERNEL=y CONFIG_MAGIC_SYSRQ=y From patchwork Thu Sep 14 10:36:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 139498 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp257389vqi; Thu, 14 Sep 2023 03:50:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEOgNqQDKSsW9R8qGn9B+BuT0Ox1Ojq5RBxuhd/CtNymXLTSzIqO3LjMwD0bO583TblQum1 X-Received: by 2002:a81:6241:0:b0:595:9770:6914 with SMTP id w62-20020a816241000000b0059597706914mr5671311ywb.35.1694688654056; Thu, 14 Sep 2023 03:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694688654; cv=none; d=google.com; s=arc-20160816; b=sL+tAbW2V4e1SxaPvJMBVoR9aP/m5TQSgKC4xDEWVWBQz4kxDoJDHP1a1wqacHWeIt 65XQJD46vNKi+OazCqX+5E+VubUnFCh3tYhmeAOQHL44RhWt6yfBrN/PC81nb5rtI4SE zZOM2XEWWzVu9nyH5tHYRvRYp8KQkzh94Iq5hy9uQ0LbQlGsJ5C1yyf0Pesz5Gq1Cch+ HWQFsdGLSYaZ4JFmo7TuM6JT45VPeTxZTFH64qGyCK7q0TD/tiAMaf9OC7oPiidIA/Xl yvHh/fp/xujOgkCFlDEF7Z/WUFqdyCXlCugXQwGPLQbB+lDTJScgksUcmPNZSycPXcqk Gp9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=VQwhqSp7vFhwYbjfqHhSJ2DnNximxvWXdGaixHDeUnE=; fh=+3RaM8XfKblIf6coJX1ADE9yH6hVTyDtdk3USDgvGm8=; b=sFZnx7f/PLLlKNZ0HOw88pVO00RvAnXzgy3KwDKbJLEDi8gPS1xkJ6Sef8GQWzpS8n zHHRAupZA6jsBl8dTaIFPc1a3p1rqPhR/PrmzKOluA/ttcpwG519BXqnrqP4kH+02Lzn ZUZe/ULV73VRndeYpOlWXj1rwRd06vGqvDtdXxHpAi9xZGrC8D9G5CglICgKUqEe+AiI t/Gp1CVM7YQ60NKHV5QblDhN5EORdG9AYvA0yikc0qwUtX+sYXZK8WapvBEJ9eeZSKXX 9s4gSLVb/5eepnx5HjPBbLf7RvQ48GOrZvZPyODiixCydoSCqzqCK3LdsixNYTc5hcqw 4SKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id m1-20020a656a01000000b0056fa1ac3722si1358189pgu.698.2023.09.14.03.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:50:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D16A68224DB5; Thu, 14 Sep 2023 03:37:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237643AbjINKhM (ORCPT + 35 others); Thu, 14 Sep 2023 06:37:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237570AbjINKhL (ORCPT ); Thu, 14 Sep 2023 06:37:11 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B00461FD4 for ; Thu, 14 Sep 2023 03:37:05 -0700 (PDT) X-QQ-mid: bizesmtp82t1694687798trgejy0d Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 18:36:36 +0800 (CST) X-QQ-SSF: 01200000000000907000000A0000000 X-QQ-FEAT: PS/N6jJLnDY3DbnSlWdnt226ni/utfNEYD6jhRaHVL5Udll79hFKkE02mz/x3 5uqP+ZE0PYc6/8JwZD9KN4XmkjVepoi9C9TUrFQOmNJ+BTJ+ylx/MNfkynGxHYtJJjNrXpK KgPfQl+2LQnEFjOUwxmAiWaqqaNZFmrth99olnI9AcmkUOH/4BRtARoFXYWyB7k2o6gp1sC FKmyM7pNacRon5YHZaoud+82aBfneiyKajxZj4BEvNzWVO5x6qnjBalhO8V4pMgcy005Gh9 aQAnNfmQ18izJWV+GZP/z/4io+ZbRS6t+CyHUukw1j+CHU1aom9ge6c2cRS7H3uadRl7mEX WxhiOp7WKgwGPUhE0LfwJ1a9V8tlBBMw5NfWcpQvasITr1MCqkYffU8LpnfZw== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 5100208277114909592 From: Yuan Tan To: tglx@linutronix.de, mingo@redhat.com Cc: bp@alien8.de, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, x86@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 x86 Date: Thu, 14 Sep 2023 18:36:35 +0800 Message-Id: <0f2cbd3026357a3936c0853057ed41b63db83d59.1694687048.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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:37:28 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777009850109430295 X-GMAIL-MSGID: 1777009850109430295 x86 and x86_64's power off depends on ACPI and PCI to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 3b3594f96330..9571507ad40f 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -58,6 +58,7 @@ config X86 # # Note: keep this list sorted alphabetically # + select ACPI if POWER_RESET select ACPI_LEGACY_TABLES_LOOKUP if ACPI select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI select ARCH_32BIT_OFF_T if X86_32 @@ -286,6 +287,7 @@ config X86 select NEED_PER_CPU_EMBED_FIRST_CHUNK select NEED_PER_CPU_PAGE_FIRST_CHUNK select NEED_SG_DMA_LENGTH + select PCI if POWER_RESET select PCI_DOMAINS if PCI select PCI_LOCKLESS_CONFIG if PCI select PERF_EVENTS From patchwork Thu Sep 14 10:36:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yuan Tan X-Patchwork-Id: 139497 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp257382vqi; Thu, 14 Sep 2023 03:50:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIlFQf40OLAXczY6+DyCyjG9DIH9A0kUvA5lbdz7rdZUb3p4UC1zCGFqROOKRivwCV6Qap X-Received: by 2002:a17:90b:1e0c:b0:26b:4a9e:3c7e with SMTP id pg12-20020a17090b1e0c00b0026b4a9e3c7emr4732033pjb.4.1694688653208; Thu, 14 Sep 2023 03:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694688653; cv=none; d=google.com; s=arc-20160816; b=E+rY29Y0oM8YQZEfxsj7ON3Da25B61DgA5XA+DxsIxTxuWJBUHomoRl4wHyiBl7U5y h4qW1fidzS355kI4/1VsZfoMk8/ebLxD9AFGL3a7WIbP2vRuT5fNFeNiCOgEasb/4vZR 73v8KQFzjZLSevL32xzG0tLrCZ4RHhYTcl9h7MeR1s2l+g0cXMFRpGvKYDpeAnp13D1N pk31yHmsPPBY73ipPrSM6UZJmrdtMrfWm0znk16PBGIGKd2NGyjM7TzpmgXp5uSv5WVC t6mXCA/ij1kjzfjTev0HhrrtQqtshrS2mIHpjnSAXO0R9cWJ1Gi3ASGHEbR6tKG6YeeW A4iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=uO5EqOmQJ1o9phAF83GxZowOLuW/M8xCVP6IO5NDzr4=; fh=qnMDB3CdptvN6tWnVMbb3MuCCYdzPotPpoQxrPJLS/M=; b=hqYbnrC2UhSOF611355QrMQXIjcg1bU+ZDFi8NDmkj3aVLJI78CfrK4bCMayVLlEKI 6smyuiZYYna8xP+Chtc0BbUYX3yTD2CZNv/QPLhsfWzvQRXKS0uzCi4g/IAaVI2EZhgf 6i8paPKqXFDais6A9R/ixabxYWPZzG67ZGku3Vd1msJhgmpmmVRRg+qatkZrYeJ2bAVx aQGROqNy/0k3qVJhcp8VozMkN4MQ8aOLeNA8wgLYiPCQYcld0YgRyY0xh4FfqF0AxXvG n/5Bqu1r1WIkRGjdmgKSMSZEpQ8WbWj6jcWuNh+JKI+BEttccP6Akc3AW53SSABBvKnc gXWQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id g20-20020a17090a579400b00263220254e2si1368779pji.41.2023.09.14.03.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:50:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 466B382B4872; Thu, 14 Sep 2023 03:37:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237576AbjINKh0 (ORCPT + 35 others); Thu, 14 Sep 2023 06:37:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237318AbjINKhY (ORCPT ); Thu, 14 Sep 2023 06:37:24 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0721BEB for ; Thu, 14 Sep 2023 03:37:19 -0700 (PDT) X-QQ-mid: bizesmtp89t1694687810trhko363 Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 14 Sep 2023 18:36:48 +0800 (CST) X-QQ-SSF: 00200000000000907000000A0000000 X-QQ-FEAT: I8hG9CuxGDK9htxS4giykKhdSKm0WfZ2rkQbe2+M7ckZgA0VYqnbJCboHIX7t /EV3DmDQ28zupomg5/x5+bl55fWx9dbWnbUD3+Xpgz/Gd0roHog9nljRxYM1VvOn6iOPdJy 7TuNplcJFa9FvBXjTOYqm+jrXaCD5bom5i0nLCfuC1Ao1sK0oJyKcO6Oi7q60TNZ8bqe75Q dllQatPD0IdZietuBdXUp0lpngTVckYb/mUAECdARNfIJt9T5qSyb1ahqpv1r8ZMfonMA6b UUDnBcrSzvNnQxiS1m57SbZN8gKLZTecoxDTVlOmt0g/Qmgchsf3CN2n4RV9Sw66eg1PcU6 wf+8GAqr6aqFSgiq0h7g2Z+8VORzkiN/p0wqMqCD4bHPXZHfnhxp/uGS88f/g== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 2437291328918488194 From: Yuan Tan To: tglx@linutronix.de, mingo@redhat.com Cc: bp@alien8.de, dave.hansen@linux.intel.com, linux-kernel@vger.kernel.org, x86@kernel.org, falcon@tinylab.org, w@1wt.eu, linux@weissschuh.net, tanyuan@tinylab.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Christophe Leroy Subject: [PATCH v3 3/3] x86/config: Simplify i386_defconfig and x86_64_defconfig Date: Thu, 14 Sep 2023 18:36:47 +0800 Message-Id: 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 03:37:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777009849063215906 X-GMAIL-MSGID: 1777009849063215906 Simplify i386_defconfig and x86_64_defconfig with POWER_RESET dependences. Regenerate i386_defconfig and x86_64_defconfig with 'make savedefconfig'. Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan --- arch/x86/configs/i386_defconfig | 2 +- arch/x86/configs/x86_64_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index babd91c8091a..470ce962eb58 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -121,7 +121,6 @@ CONFIG_MAC80211_LEDS=y CONFIG_RFKILL=y CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y -CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_HOTPLUG_PCI=y CONFIG_PCCARD=y @@ -186,6 +185,7 @@ CONFIG_NVRAM=y CONFIG_HPET=y # CONFIG_HPET_MMAP is not set CONFIG_I2C_I801=y +CONFIG_POWER_RESET=y CONFIG_WATCHDOG=y CONFIG_AGP=y CONFIG_AGP_AMD64=y diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index babd91c8091a..470ce962eb58 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -121,7 +121,6 @@ CONFIG_MAC80211_LEDS=y CONFIG_RFKILL=y CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y -CONFIG_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_HOTPLUG_PCI=y CONFIG_PCCARD=y @@ -186,6 +185,7 @@ CONFIG_NVRAM=y CONFIG_HPET=y # CONFIG_HPET_MMAP is not set CONFIG_I2C_I801=y +CONFIG_POWER_RESET=y CONFIG_WATCHDOG=y CONFIG_AGP=y CONFIG_AGP_AMD64=y