From patchwork Mon Jun 12 17:27:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13277061 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 68D16C88CB7 for ; Mon, 12 Jun 2023 17:30:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237769AbjFLR3v (ORCPT ); Mon, 12 Jun 2023 13:29:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237475AbjFLR3M (ORCPT ); Mon, 12 Jun 2023 13:29:12 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9810010B; Mon, 12 Jun 2023 10:29:11 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35CHOIpg005020; Mon, 12 Jun 2023 17:28:43 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=UGNmgu6Feu5zO+hLBUXQoeQZ/l8g9fhmbOupKFbrY8w=; b=cdXxOxRaemSSGXOb2LsxAEOBpKJVRsIJQHbj3cE5V7DRbwG0sRTcSk2DsIDmJS1F74Co +5H6Pep/3xScdOZ+Nd6oO+yZro5JB8Idhn2oXq0Iv53gPy5+jCtgP5cOX1KOQgDNZSJP EQ1hNKu8qnE1lpzYgarTjKxSqYpcMJ5vzV8WZ/WvCu+STBGq98Ykin0SruTStyVnyQHf pGXtgErhcYSdpJ0D59W0R80YqjokTqdkSB2oCss+drmCHRXM1CYf7Lg4DgGaJrUriQfi paBBcd1NHzdPopPjR7Iny2rZTNMqZIhCn9rf1Dj988/8j9kHhF87rAboA9+c7sL0D+4e VA== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4g3bkjp7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Jun 2023 17:28:42 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35CGJxdf016254; Mon, 12 Jun 2023 17:28:41 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3r4fm32y8j-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Jun 2023 17:28:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JeaSOJjoGh/X6Kwn9vDM3qcURf/sFEEWpRpkHo2Gk8fM/nSaX7DDDCAvzlFpbPRKd8oC942Q3D3lJQ3xpMn9iQKhzIfBQf5ntoj6VVC4hTuJNs4ek6RBseFnncv1K3oPkCn4dc6jYGLi2D670kz7r08HbFTrIUp4Bo+0B3mRzIIJ9lNNHoT/lsFutXzVrXkNo8Hpfh/NlNmyCTkIqM52oED2qa8FzYuLIJ2JfcQ0caGYtig6kwZ/skrEQgHz5xVPYVSpZjbBCUMJU9nXPeMAicaxg/f+vMaT1HXTxf/Y/z73ZfdZK+zQs4ZtZXxoRorwFOmBbugaT+ujGKFNLwZkUA== 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=UGNmgu6Feu5zO+hLBUXQoeQZ/l8g9fhmbOupKFbrY8w=; b=Q6LZgcT+Avzlb4lfsNvUFFheRwKszZy2Cydl+XzXokWHoUflwiXDlxSif15ELw3mZHuODEau3KoXUofk4S1k/FreS8A9AGvLznvWT4B1NlL/ec+wZEN+WgWAbG9jgh/Itm+5KveaS+r15W4smgCBJ4nwavm/m3etCgtopHlPne+KjHDKeVnP8xw7uPyRmR+TxgrAecDbCFkOlmWFOqtfyVOkUfCldZyg/62TI+yZ1idvZu+9OcTCVrriA8sRaVSMnzGqbXZipX9sclCEDx+jbHNc5N9Ew5v8hvewYjuUoZPjFaugJydzQ7z68vgW3dQ5cvsl3TdxDHWK3mqnUr6uIg== 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=UGNmgu6Feu5zO+hLBUXQoeQZ/l8g9fhmbOupKFbrY8w=; b=L725e4j2ZGXQyYX+fJLv2hcS+k7a1hRO1Kis0xyklXY9MiB91Zm/3PwPKYIBCjkXiW6k3mTC3T9K6F9Je0ofd5v+sd1YuUvxNa2ijBr+PTniGoG2KBfjAA9TG/T9/A4aFHZ3e68OrexyZQ4FPIpczSXLEb0Hss7WzFgkj4tFjiw= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DS0PR10MB6975.namprd10.prod.outlook.com (2603:10b6:8:146::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Mon, 12 Jun 2023 17:28:26 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::8b8f:b4b1:bb78:b048]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::8b8f:b4b1:bb78:b048%5]) with mapi id 15.20.6477.028; Mon, 12 Jun 2023 17:28:26 +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, 86@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 v1 04/21] ia64/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 12 Jun 2023 13:27:56 -0400 Message-Id: <20230612172805.681179-5-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230612172805.681179-1-eric.devolder@oracle.com> References: <20230612172805.681179-1-eric.devolder@oracle.com> X-ClientProxiedBy: SJ0PR05CA0095.namprd05.prod.outlook.com (2603:10b6:a03:334::10) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|DS0PR10MB6975:EE_ X-MS-Office365-Filtering-Correlation-Id: f0dad84c-780f-4276-b8bd-08db6b6a6e1b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oZMD+wWGyn+Tke5O2CFG5PKgM1mUKfgUpb3FDvtXbYUQXh8WFYuGRvSLR2BWpURdJizhgIGdGbjBzNFuPMXDLr9binCAGfv5/FFULTVBxHNXUh7uPbUFmWK/vmo1bwzm3NJmjYI+QGVZop869Ksm/6uBRKO+OS6TZgDSUjEY9VwPLef151qnmAnSpN3psggbc1DtfdEPH6lDwLEUt1ddJ7Rf1HBN/5YX2aCZcq5KAu2iqvQvXc+4rEeUIDLS3ttcbZBtdPGmjdhY8/Y3YCH+IWhUGi5F95dHb9JAhe440vysuOLoS5Qwsc9OgrxUk9As53w7ZrMOKyQqEzQllcaOPdtepZa4+ssbrsFvQRnm6HWK6mQB1Bd0BLQBg7cQPmGzD/rGk79dPJPv7W+juDDotpqM/lo5tgNkfQgowmmDfgLQksCTT6/Vkwh22tEYkmCetr2PHmT2NEKxLmGq3Hs09By3DCYqVNBhwFYKAs0/BvXs4J+d010XhDKL7lkPpKt6pK7yDIkZbR+dmAqe6Lvg08GlqDZb1wi+X3i5OtpPRux2+51ux7/uIbr2K7Xapt5Zcxy20LNO3s66HKoO0gtSPKndUYTo3d/6DcIhnoJX+gg= 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)(136003)(376002)(39860400002)(366004)(346002)(396003)(451199021)(6486002)(316002)(41300700001)(2616005)(83380400001)(86362001)(186003)(6512007)(6506007)(1076003)(7366002)(7406005)(7416002)(26005)(2906002)(107886003)(921005)(38100700002)(36756003)(5660300002)(8936002)(8676002)(66476007)(66556008)(66946007)(478600001)(4326008)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: G4edYiFTonMr5tJzKGW0O4IuS8uYvt7b2m7o9YK/tUnTnjCHRrjkB9GwhUiDAVwS2bhsIbP/skYObyWBs6mvXJr/qzF4UoEOLyoIdPeTuwSYXCSCNP5OpNpPhoxx+GOPW1HCVmDyt5Es3SP7qSjEkc6ATdSQTMKJikTyY2T8N4ae37MpmslmPCcJkUOGfSzFh8Z2Q/1q6pQ0gI2F4+haae8eTji0IDoH4dbg2Xxt9Xqoj6qGrCw2x68Deo0OZXa9NzyTdOTc66L8x4InNeRCvfG5D4alWXLPsbTTnMlsjOiYPrD/GHb6nECbT4Yd1jvsCb0jHmwgKyQ8Nzczsy12JpeWq9vlc4lWLKVTRYhPrZOy4u+23lB1ZT1vRcCK6ta1meDmgltQ18dNzxzFq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spa30Ho/4T+aWwpb1R/L2e6yafRqZeu2h/QoAmW5qHJZAnjzWHADpHI7nXuDoFdgi/lgQdx07RkA6JzJVQ5oEEY5bwbEDY+6vYPpLxv28fesAw2PTsGtbO55FgTTlpULleG1aqiaGZC1ZggN9Fz/6GkZWdKmzXzFt8RGnA9B+YPhpUq82a9lx6Fw7ed3UpQEV9Y+PArObJZPZ/SRSAMbs3wS6TsLjrKvw2HUI0Kp6N9WuoX60N9BcbdduMaM5W4plm9AJ/Tl3M5jRCTmvHvcHpLZY2SWcyktkEYJ/p65SGE/ECEiC96046B+3SC9PX9IPrz7o477HWMukKAT2mmO6TECID0fod2VPLjnZ3ZPyo9cXtG7CpQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0dad84c-780f-4276-b8bd-08db6b6a6e1b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 17:28:26.2691 (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: I32enxPcPYKDQh4QPf7cTNFmmKXezNw+7B4wbxmzzR0GXjcjt8lQ/6oPM2a5dhUDPLplSvhGhiPTjdvSCPesemGu9lx+ZsAvqpsBtS9zroA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6975 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-12_12,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 bulkscore=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306120152 X-Proofpoint-ORIG-GUID: d81URngymOxACvJEfNNuCWuuB3PmIix4 X-Proofpoint-GUID: d81URngymOxACvJEfNNuCWuuB3PmIix4 Precedence: bulk List-ID: X-Mailing-List: linux-sh@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_HAS_ and ARCH_SUPPORTS_ 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 21fa63ce5ffc..dbef97452839 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -360,31 +360,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_HAS_KEXEC + def_bool !SMP || HOTPLUG_CPU -endmenu +config ARCH_HAS_CRASH_DUMP + def_bool IA64_MCA_RECOVERY && (!SMP || HOTPLUG_CPU) menu "Power management and ACPI options"