From patchwork Wed Jul 5 14:20:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13302252 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 83B52C04A6A for ; Wed, 5 Jul 2023 14:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232515AbjGEOWh (ORCPT ); Wed, 5 Jul 2023 10:22:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232350AbjGEOV2 (ORCPT ); Wed, 5 Jul 2023 10:21:28 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2B8B1996; Wed, 5 Jul 2023 07:21:08 -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 365EJwwm025706; Wed, 5 Jul 2023 14:20:50 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=WsniZZVFUCGDpdJvQRmkXqDA5GBQUL6Y1dievocbbtk=; b=McIj12laH33yIN9Gc7frCajISM90bHntrbrokebzowEP2CdGMMDrmsvG1GWBb8BxN6+0 Jl/UnhO/FqgptIzJoM8mwCxH6ZYC/DyH3EBDPMxmv1ApzU9X8v3d2dVG5yY83/vNHnip YalN1ghZ/J8c+iBGH4XHdmNoBRCYHx2J26dKX4NzGndRlGOqvhnb3LQr3u7m/tlOhtBS fhsi6/xrgkeRgCaOsHMoHkgYzpvCdUdYxYQkUgF+BzPG17TBK36K5YnqGe86TpbcFWgM TNJ1THhR+uIMQLn3wlYePq6uk9W+1KQDg01Kr5apejxsE11+6zDAAsATKK/+3FIj/Y/S XA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rna6a801j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 14:20:50 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 365DN1bj010152; Wed, 5 Jul 2023 14:20:49 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2174.outbound.protection.outlook.com [104.47.59.174]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rjak5nng9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 14:20:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=id7IO3DnsAwOjGbeVrtvE+C6ACIaJPqhtmmKxhOyDzec3fklmrN0c37JZb1wAIbSgquFU9qxbZUmRrMXKVjsQhlI+ni4EAO3Rs2TIDj0hPkCszHRZ+umhIcHyPtl52PRZI+ByhJm0oJpee0DVgKcURbUNbMY6s1oY5EfHJam5HnskGi/uzmuKHNIO7sicgEyCEWISpJS2b55duvZAm8NgKjCKA6RNZQUYgtCGmyfXeY6QTlxWUfCROzL2FsOEFP7Idxd1Ph9kPBe7ybH1w54Bu/WlkXEq/DD/CAbBKBUmi+G7IsTefB+0QJP7Z2en4uX/nVhy2AyDRSBThA1FP9KvA== 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=WsniZZVFUCGDpdJvQRmkXqDA5GBQUL6Y1dievocbbtk=; b=al6YGJBzBPqZgRQlnzdshe8Ak1bkm4qWs4fhPwuPo5K7/sK6yjuGEJxkBbDGuaRdV8xFfURz99N0B+J2hsS18t67OuJNgdOKAWQvsBr3yFfJR4ptuJPnPxWLUpQXUBrjVL/LNXfzlzQwJqeZrLr4jZ7zI110hb5baqsZv1gxKTqmL5M0LTdeeidUZqIHfTTi6TkQJYHAEpm64nK8WonY6LO1AAaix0FJN1NaqSpoPfDu8G6U/0NPAtQo/SzM5K7pKWsyFiXSaFTHDHIJ/7qHIGDsYJz/f6f6O73Y5Ylf26bZjBvm+7jFHBxl00P50wQsNz/jIvNMeXwxjtHt8NH95Q== 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=WsniZZVFUCGDpdJvQRmkXqDA5GBQUL6Y1dievocbbtk=; b=PJ3ZkPMwLtmwa0pZO1ovyWGHzRiItl3MhJr5WR1QgMV7x4F7pEm/zfmlJ67m44iI7EHOZotRFIjEK5RyHT3A6Xcx7UuWRdBHnHlHHPu4FGz66e2wLf3CJbTO7ftO0kCu7jM919jRuY8LzUar/P2h31TLK+mS5vKS0E//gz6BAEU= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by SA2PR10MB4732.namprd10.prod.outlook.com (2603:10b6:806:fa::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Wed, 5 Jul 2023 14:20:46 +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.6565.016; Wed, 5 Jul 2023 14:20:45 +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 v4 09/13] parisc/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 5 Jul 2023 10:20:00 -0400 Message-Id: <20230705142004.3605799-10-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230705142004.3605799-1-eric.devolder@oracle.com> References: <20230705142004.3605799-1-eric.devolder@oracle.com> X-ClientProxiedBy: LO4P123CA0304.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::21) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|SA2PR10MB4732:EE_ X-MS-Office365-Filtering-Correlation-Id: 84b30fd5-f7a3-4f2d-2154-08db7d6305d2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l7LXq6c0lUdbMYwG4sz/dNGasS8+tVOHxIbiR7EL6aMT1FYsEaPyvdrH4VFCu6KrhpHxmOg2tsL8LrbbsKNK6mx9TR6uLRSetaJJTdnScSARbmMKt0XYeLdMzYAndVpoeESqdoJKr755B7XYcfJyryHXscXHBefrbm31WN4uYeQtek4uwlXZFQojG0Wr35rR6/cT7/xxvQVzHTqCa7bIsdIue5fgJG6iZxh/DQUQQNsQJN36Pn2ID8e4WC08uvIo/Zfh3jENUfgSr8ceLG0r83iVOfOyOb7k0oV4kvHQ1/mkCMxoisgB44Kx8B/K/DlGIwXQ+QJn3xIhBiE4GHYS7lA0uxY7GJ+qjt4OKMpcvTv5l6ftN2HmYfeblii+fX4424NcgbTMcOn88nAQ9sXoMhr1Qm3KW4BU6SIoomreaWMEOIqGTqSAGT2Kq+jw/gIvTX1nYwivSFOdJtTL855Fv1DKY5hoGu+vervb7O0e1ywQTzJi2HEqe/aCx60yQSdkjXuhOSIDPSeIVqmcBFa5YREPSBlQ5AV+TZ7VfB0iO6aHdihRd2tYYS6orBYaFfUB8JB+nBAxXJYS7vUaVJEAx1NqbP7071XBfHy+0M4RD+U= 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)(366004)(376002)(39860400002)(396003)(346002)(451199021)(8936002)(8676002)(2906002)(2616005)(5660300002)(6506007)(7416002)(7406005)(26005)(1076003)(7366002)(186003)(66946007)(41300700001)(107886003)(921005)(6666004)(6486002)(4326008)(66556008)(66476007)(36756003)(316002)(83380400001)(478600001)(6512007)(38100700002)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zLGZCl66YxQJMjTGm0wnIyB09K4ZoM+PzT39Z9xg1gAJXXuDMMW7Y2WbHAYO7AMV0gScqFJOxpmpTa3zYrPHENHeMxphNrF1s3AceBQ72n/VaASK3Ir7cQQerBec9o+e0b/5Vp4J+Trt5tKr2qeOQasnaiF7x9k8Ggi99bSiIQ9TzcrLv00B37UjcwEAkt0W184PO63fi5n6QTwE5oXy3DOEjN/5Y4J3FxunMX1n9q2KyyssHVeBFvmS3p7mrfyTD+sbq/gQT8MdFJoK4ofwJ2FlJsy+3o3+XLz9F8+GXg6tHSX09BEoQSgT2+o+DDf0ersviGbvAk2167XmFhYf7PeZ5Cwvn2h8Xm1Z4HRTYvTkgeizb3q1vrEz0hRb6nPnXd7wYZVeMifWFdzFBdyeVUQNecJqS8S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+Ys3UKM7uqq5EGCcC+dPPAWVMpNN1QGL8eQNSVnIF4BGUXNYO4fbh+ebJj2F2c/RPFdsATfscIEho07ADerzDJkpPbuuVrf3UV87rWgRC5MpmwedZjls6rLSWyINNCeXjJS1f2LRLh/bRFQEzJXp2Y2k1pVFZ+aOQkMzcQKRjKOvD4MyQVLHwbhFIe/cUZXEQUn9FoWkNMib/0maPQBwegEKKgH0+cpK8UkHZRYatirLOmPyPwPi/hSRZl34GA8FDj6u/HSPPWKjrmYeligCrVOVhlDphUyo+HzRpfKHWl2k+3pPObLszcWAg/E1XoHQg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84b30fd5-f7a3-4f2d-2154-08db7d6305d2 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 14:20:45.8156 (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: EFkEIkIjSDa1DTFlG0R5lW+AFP/8V8INcWcLTdI6+NsT3wq00BjBQXx8EyOVcYQWuLUQZXIhFQkIkE+gBBSyb+hiz5c5FksEOzIdtZ34u7Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4732 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-05_06,2023-07-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 spamscore=0 mlxscore=0 adultscore=0 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050129 X-Proofpoint-GUID: Hi-HzJ1OiO8ZDyTP2rRobUZiQzDamI9Q X-Proofpoint-ORIG-GUID: Hi-HzJ1OiO8ZDyTP2rRobUZiQzDamI9Q 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_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the equivalent set of KEXEC and CRASH options. Signed-off-by: Eric DeVolder --- arch/parisc/Kconfig | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 4cb46d5c64a2..2ef6843aae60 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -339,29 +339,17 @@ config NR_CPUS default "8" if 64BIT default "16" -config KEXEC - bool "Kexec system call" - 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. - - It is an ongoing process to be certain the hardware in a machine - shutdown, so do not be surprised if this code does not - initially work for you. - -config KEXEC_FILE - bool "kexec file based system call" - select KEXEC_CORE - select KEXEC_ELF - help - This enables the kexec_file_load() System call. This is - file based and takes file descriptors as system call argument - for kernel and initramfs as opposed to list of segments as - accepted by previous system call. - endmenu +config ARCH_SUPPORTS_KEXEC + def_bool y + +config ARCH_SUPPORTS_KEXEC_FILE + def_bool y + +config ARCH_SELECTS_KEXEC_FILE + def_bool y + depends on KEXEC_FILE + select KEXEC_ELF + source "drivers/parisc/Kconfig"