From patchwork Wed Jul 12 16:15:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13310650 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 A3F93EB64DD for ; Wed, 12 Jul 2023 16:17:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233555AbjGLQR3 (ORCPT ); Wed, 12 Jul 2023 12:17:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233554AbjGLQRF (ORCPT ); Wed, 12 Jul 2023 12:17:05 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C26591BF0; Wed, 12 Jul 2023 09:17:03 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CEjHTF010027; Wed, 12 Jul 2023 16:16:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=3kigNhnm74JXGxRnSJyT7nDFiqhK3cJdGcRD4UntLgA=; b=36HmbkWR/ER8PRLc377JEEcFSo56k4d43UQD8tHjSKWNRr/WPs3Yr/wdlG2GJDDYU7X+ V7gunR4MyaiieT1hJqx9I4bkOQCpRmF1CISFiGlKFwrmop/PFKRCveao8k9wS7Utnsch Z8t9gh3/B+AXS2VHCNqnsJSnwU6j/qBLQeWK772pphHWJJvU6lWU6LXAk+N4EX2cyRnc FskrDbsT5bESGw/aArD6WKWbHcLUdMARE/Wy10Sn3qbn22O23HyRjigH3rIjtmsEmSn3 9gibuMmJH9B3gVm3DR+gsy7dCnPh2wQpybXKA++WGMg6lWRtUPs3YZd9FSbniolH/Iq8 zQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rrjmhd7af-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:10 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36CF4Qxe007142; Wed, 12 Jul 2023 16:16:09 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rpx86u30e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eJAjj4DHO4PbyErf85DBkfodx+nGiV/aLr16ocQtp81E6JF0yybldl963OxRVHdmx9RvXUkPG/DeyanXAzI9tEk7PmY67ZrBKWgzMSJexUMAqDOTx17ozSKePcGtLYcgtZwSJ3XpgwMNc94j0eBTeYogbf7Yx3PkOMmmi8uDzBFNFnTVnE0EExYmUhJlQxnto3KdkSAJ3PZXnBOiE89ehMQ/5qQ8kriGJBuJGhd+HWM3zPAhR6ERHZLU+uYnuzZzeLjVfNRy+EqSpUMLPs61G3DPKn3OnbF07i0JwXoHkT7Tg5ezdeRV0tatM8B9n073irzLz+lGHcXcJsJAdefRnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3kigNhnm74JXGxRnSJyT7nDFiqhK3cJdGcRD4UntLgA=; b=Gv8WEgeyxNsTTRO+8BE4XjIX/NhprYEYAn4WzcS1hEaJi/DalmfvbSyAsDHQwKClA/mDm4gj5z/OcA2hqvzKLQLsv/Bsj7DA0XPl+YDja0Dj7OE7z1IuqG5bl1IRRG8Z108G2NEiZqwnDeuoaZQEzkWCl37z3mTKxFA08K1JGyCbwGCvgV3rhlQkJlJtH+/DqXkt76uzTlpIVHHy1WeD/d2Tar6lwL0fkX7nVM0OuHU+WtF40utJIb3u7AV7eMbY8wDDNw9DyEl87EznM1eRwsNKoYsUoj56J7q18KhT1ls4k1U25csKNQoMonTFgJpqyRjD+8ftBwHnUVFjVwCqug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3kigNhnm74JXGxRnSJyT7nDFiqhK3cJdGcRD4UntLgA=; b=P+V1FifJQrQHhsu1vEpzJxG9jrflZLqZb2UxtkrD0HBYPVkmMGOFzZ3wJInEcFIAvhJk+HmuW+/buAgkW3RmxioCgnKfOSR+i7j7Aj6ufqi59FNmC4x+61T24QnewpPLKV3RkiKjlJw0qZYElr0uKlvSMSl39yXh1VUBDop8kCs= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by PH8PR10MB6501.namprd10.prod.outlook.com (2603:10b6:510:22b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.22; Wed, 12 Jul 2023 16:16:05 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4c83:52fa:a398:11a8]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4c83:52fa:a398:11a8%3]) with mapi id 15.20.6565.028; Wed, 12 Jul 2023 16:16:05 +0000 From: Eric DeVolder To: linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, chenhuacai@kernel.org, geert@linux-m68k.org, tsbogend@alpha.franken.de, James.Bottomley@HansenPartnership.com, deller@gmx.de, ysato@users.sourceforge.jp, dalias@libc.org, glaubitz@physik.fu-berlin.de, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org Cc: kernel@xen0n.name, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, hpa@zytor.com, keescook@chromium.org, paulmck@kernel.org, peterz@infradead.org, frederic@kernel.org, akpm@linux-foundation.org, ardb@kernel.org, samitolvanen@google.com, juerg.haefliger@canonical.com, arnd@arndb.de, rmk+kernel@armlinux.org.uk, linus.walleij@linaro.org, sebastian.reichel@collabora.com, rppt@kernel.org, kirill.shutemov@linux.intel.com, anshuman.khandual@arm.com, ziy@nvidia.com, masahiroy@kernel.org, ndesaulniers@google.com, mhiramat@kernel.org, ojeda@kernel.org, thunder.leizhen@huawei.com, xin3.li@intel.com, tj@kernel.org, gregkh@linuxfoundation.org, tsi@tuyoix.net, bhe@redhat.com, hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, eric.devolder@oracle.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com Subject: [PATCH v6 04/14] ia64/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 12 Jul 2023 12:15:35 -0400 Message-Id: <20230712161545.87870-5-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230712161545.87870-1-eric.devolder@oracle.com> References: <20230712161545.87870-1-eric.devolder@oracle.com> X-ClientProxiedBy: DM6PR13CA0037.namprd13.prod.outlook.com (2603:10b6:5:134::14) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|PH8PR10MB6501:EE_ X-MS-Office365-Filtering-Correlation-Id: 36bf2b6e-559d-45ef-f785-08db82f34b26 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KzSyd/OtMtGjKifWD9nkFih4rplX9ju2m6/odLXIu6KKWtOGAg+I8k9yPZj/jtSf0fiZZEausUPRBQQMivnqo8DIYBEXe1ns4VcNEdHHaCtIJP6c6nZFgkDhIdg2N7C10noE8CV7bzgN2jZaKqjlBglAI8oU9ppL5NoAx0DfVTZA3B5kEOrJuCQ1Qdh6BiDLVSPFqT7emoKftIqXUoC4BoAGPnc5UQ58BlsKEpGCo0EkDPkmfECqKj/diymYejy60TRerfMDbO4djZWdj47FVz6Vgp2oLB2DJiuGS0Z4jXH5kcItS8mba1sy1KVXqIifHxmVvpv9rRRcLbEfGpr4ZcTswY9W1AUeF5vRXVmWiQT1bOHgpK8e7ubQ30Wj91Y+Hr2nmPCNYyAYkdml59PFIf0BWzmH/kFefoRCOj38lou3JbtqDudv9m8ONYQz1xbTsRYKSxrHDQYErvvyxpm0wkZRZ86lxxhbqO2GtIg2jAtaZQ1j7UoogXTKVUFllFpENdm4lUDUn2t/mLwNtEoHDs9p1ls+1FuDeAVrgfpEh91mvyPKfxPzQ0kTxnkcOF/ssrAO1o5r7TTOmhxjgBQb+uqe0FIg50GS2E1VhPuUF3U= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR10MB4531.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(396003)(39860400002)(136003)(366004)(346002)(451199021)(38100700002)(478600001)(921005)(4326008)(86362001)(6666004)(66476007)(66556008)(66946007)(6486002)(6512007)(316002)(41300700001)(186003)(83380400001)(2616005)(2906002)(36756003)(8936002)(107886003)(8676002)(7406005)(7366002)(7416002)(5660300002)(26005)(6506007)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: uwYdVVA2AbQpeoy3KyGVdL9096wWlAPidsriHCNcFjS1kR448eiQoDUK1yAbd/bsAkxUbU8PEkTMULsY380m037RoewHchZmVNbnycDYagG9kqNxatKEtJWs6Ig3vTAGumJkeThwT0AhDytDxM+ua4LIMES4KkeugSY1XxhkBmZEdaAwhbfbNMV+hJg4Lf6YMsKuUVYnrXyTwiTjuydPQEHMreBs/f7p8jVuBGZT75To7xiE46mEmqk+BsHg4MvgqDeZJibXbj/J+K0Z4wioaF+zpuJD2wPRm18On9NzlD3WWueNsV97LNFJc/BjcCyrBZoV1w469LYbYzmIakl5U43TZfrU7YXTyAId5QVxbX5aOCXIgK8a7fKqIiHq3Vqx1E2s8o7XrMXcAzY9beTLBPw5+HWZpoqD9kEz7eRTBBa6Nr7uipCcFcR5TssKbE8j8l9y8x8AV33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pt3UOP5/YIXbNXU5paBLLhh/K+KWqFqp1MQxvNV/O+yToAkKHBKcLEmlrdn7srk4xTeOO9AnbOG1hRN2NUCf6WYOiRW+ZvEeJv0xMAUXZFBpOWNQU6EfnaPbq2KI95Up3x60NJY55D8AIzKZa+ojQjtGCTnke9GjpPziPBTkwkAbmnRuldvP/vM7qdF7k7zWSDTGKMHkEIULgaFVj+Pl7ym398O+vKqEgfpE+SMGJHFgjCreM1KnRZRwfr/pY2su/sFec/WDwP+BjI6Z/aMcK9P5YULL5Yoc9AVO++UdYyRfYJiV/SbxCEmSV70P6Fg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36bf2b6e-559d-45ef-f785-08db82f34b26 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2023 16:16:05.4733 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0m5bip9gGlaGtuaIp7KzRbgulYE8wAEiVbqpZJ2i6S3AnP79zOkRggL3MQsDENiMgyfizCnZVcVJXNA2+4QqYenVWZkFq3/35sa9scPfzLA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6501 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-12_11,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 spamscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120146 X-Proofpoint-ORIG-GUID: XomlL7cDkmmpTv61Kcl0BVWRuN7Gyk07 X-Proofpoint-GUID: XomlL7cDkmmpTv61Kcl0BVWRuN7Gyk07 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org The kexec and crash kernel options are provided in the common kernel/Kconfig.kexec. Utilize the common options and provide the ARCH_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/ia64/Kconfig | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 2cd93e6bf0fe..88382f105301 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -361,31 +361,13 @@ config IA64_HP_AML_NFW the "force" module parameter, e.g., with the "aml_nfw.force" kernel command line option. -config KEXEC - bool "kexec system call" - depends on !SMP || HOTPLUG_CPU - select KEXEC_CORE - help - kexec is a system call that implements the ability to shutdown your - current kernel, and to start another kernel. It is like a reboot - but it is independent of the system firmware. And like a reboot - you can start any kernel with it, not just Linux. - - The name comes from the similarity to the exec system call. - - It is an ongoing process to be certain the hardware in a machine - is properly shutdown, so do not be surprised if this code does not - initially work for you. As of this writing the exact hardware - interface is strongly in flux, so no good recommendation can be - made. +endmenu -config CRASH_DUMP - bool "kernel crash dumps" - depends on IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU) - help - Generate crash dump after being started by kexec. +config ARCH_SUPPORTS_KEXEC + def_bool !SMP || HOTPLUG_CPU -endmenu +config ARCH_SUPPORTS_CRASH_DUMP + def_bool IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU) menu "Power management and ACPI options"