From patchwork Wed Jul 12 16:15:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13310644 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 46E9AC04A94 for ; Wed, 12 Jul 2023 16:17:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233614AbjGLQRH (ORCPT ); Wed, 12 Jul 2023 12:17:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232588AbjGLQQ5 (ORCPT ); Wed, 12 Jul 2023 12:16:57 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB2F51BF6; Wed, 12 Jul 2023 09:16:41 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36CEiDer013191; Wed, 12 Jul 2023 16:16:24 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=aYAMExHjUsDFZPBfJ8CtmN91NY1i5Zrw7TYoNljOvhlGLUjKimMkomdrqe3cmowC0opf UqIqZRQzwrLtnPNQqCKpS1tWmJIdREi5Slp+HQWlbfSUNxbr174wXhFiSOtR8Vm/c849 Tg2M4fyzncFvN3Pea4EiXtAzp9Bp9IblpZhOsQt2vTbjD5JAn0QpnMqOb5a7xbHat1RA JqLBLIFmpPhUP9x2ZKjqagLvSKiVCWvqecYtlQfgaKKwjiSdZTMk+FKQrfKx4FjudLcq DtJifADcJ1V3Mtxo9tJt9Q0tzHky6Scy/HWjbrFf/qQKotXZdQNBX2LQsR9jQdghmXv2 /g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rr8xup4f8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:23 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36CEtM24000573; Wed, 12 Jul 2023 16:16:23 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3rqd2b3s9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jul 2023 16:16:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OONDA92H8Q3hEWE2ht3zV0pd/XQx5zkywf4gJ+NYkFnS22R6nE0ycmdICBUBkQL7G8qblg2NzR4IGfj1/AaaqnA7p9dTW0wFW6HmYLHT2v7P8UZ8mJjmn3sCdxH25PvxqH//MI1nH6IseZqsSdZmbir2dveB0tb85zkCjNVLRqeutmgLo9i5ey+rzGdH6Oga11uNC1LBoduXk/WoZ0pApCwhm2UgRK2xXBG/hnsvmRg3BeNKduzckwYf6sZP+TiMr5kwwTePov+bdcoOs1DMrYRI+PIJAR45OPcMIK0lm35yUx8Vs0DELrL6OfijQLwL5jBw8TwTIoTlWZf3OEMv3Q== 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=VInEpu3vbYCIcDk4II/I05O5u3m0gtx6uc9K1XIQCaOZvA2MZvblUsj7aN4wuk/vO0Obm8bVJFpXwhdq2uqfNVf5jQIHv20dU06RBiUTNQeJAOMhw23E9Zh43KfuLXMqJwLC9czsNYEYTfjOkqNokvu6DNOoCoB61YYm7sdWnfxIDhb7gZYKvO/8v8pVOf86r+oFWIZMOXd4XfEonHXN5eked1qJsf3iv1iFRHbt0/tGHzJ/TgaGkyqK6j1NdEwcQSyrT21RQXK3ZYV8UYP1BrRIoEf3at7c0FbOQA7ZyE9tzYeS7mnDSzNj0ueviiCMtwNrV+kcK8KY6/zLj1EorQ== 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=T4A/dGZM6zJA9MSTeAsc9vttElS7E4+2OAz1sI7Uix6R5kWjs9iyQYviitDsauAOirwnt/A6qVQXbXODg8INZrwurC3B8BP3tXHQOW32u2ZHrmIKhB//RykFQbwiDOE06pe8jIbcjHGp0OlELXPImbwG0MZCWozcRh7G+pZsYKE= 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:19 +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:19 +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 09/14] parisc/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 12 Jul 2023 12:15:40 -0400 Message-Id: <20230712161545.87870-10-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: DS7P222CA0013.NAMP222.PROD.OUTLOOK.COM (2603:10b6:8:2e::22) 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: f862422c-ed57-4958-5476-08db82f35369 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qxfPKPIJWGUSTBn3CciQEZ/0tRbfyNhGAFUx09j0SDeV3IzzuOU0SfAxWDajjqu6EJlqLHvYwPqmxwy6ZljXBKTN0lKS2TbjrN/9wpfUj3tG7EuqmMhZCoCKsRDm4vYRUWdQBhh+U+QCVjGprVDTMH9OMDC74yu87dNQVvXKk4HvSROLgh/fmRfFZ3E0Tc881cjHc+Yg+UxgdfdFD17TUjPCt/21JMxXRljJoAjl7eQwzdbeZM1FynqiUD3Iw80P33tEZ6tYYO6ANvXm76rbF4IeLHT9ZanTJllVdJ5qL4TwxY0oZJCk4BRGihUcwqiwNEARqmowNlCxYK6fgClURXxe4zidOeNaKTckFqZux21LeM1u/MaobmlLzbqG/tVd5fS3zQS8gtV184hUht0tJKYTuPO550MTO6eceAAO9wkLcgsk3wjrEuBMzu3XohuPjXcQ8541xne5RJr11Z3ymlaS6yRiAFGVGKrwkwPb4+yL3RQwdRYsr2hwKEaQCpb9FnUNHXMEspc1tI1byZflvlC6N42T8wLBp3kACtN2D2elE5dwvU9cBfc4S2ZD6IDHo7dNWhaF8cMvcctHra/vybsDRrdOiOjU1D7KD6gDpXQ= 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: vFXxd4ZILCYuUEu31/zQmQY+m4QDNsacEA4O5R/mbB9IvyVt3XZjbECgpjIVuPWUiAbMCd2krpuYzi6WR8v5r0m4OzlUh3xQiKcHqEt+NIlssaAAkJiaXIcP+sMrWo8HXPkvyb8G5py0uTISU9hPzheM9wBm+1PtCXH7Lqm45+00841l6VCIgfEklbGiAZUqwqzg87jKvv263SVyoUIy+H0C2LAvhWyHGedLVRYrZ5hvRlFSZPRxVm8jTJOwTwcuDYh7QXjF0rKeulHVDBU17jNzk1WeyDPhsizf4Xxj7dvpbOw7sLJXTQmZcrpegrTpvzmCZBj4NPz+e+uRZnaB1DmmlJQU+Hh6EDnjytBB2O8oOJBwvFvhpKsHkhIyWGWEWscSZW3wBh6yDO1vm+aIYLsronUhdy2RVq+KKHZot7LAwVFAdlOccO+2EZvN63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KztFFt4lOwOUpcAfVOjaeFEAKfnG2lprvF64Rf7Ii9d7dTwBQD2ZTUc701/rFyw2QX5uGan4vQFdk8bPJByL1Duw6mw8rfws+ki+ljX9Fi9FsoBYI4/2qVDqsPbXsXxi6wwJ1dUje8H4y/7oZ91E7kh2xjJYb25kRm2Fxb6jkELSGpyaa+XF40FgXmkM8L3OMLMz+GIflJXRLlG9dW1TG/apQj/fXAYBtxI96HGzWvUNcbIJ+IiUcpNmNwc5KXvZ372oVDLMAeBwIIRbfT+rdOmdGzkehSKgWUj/QQbO6MwqrSPKU2shdhJGaE/9YjhAg5w== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f862422c-ed57-4958-5476-08db82f35369 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:19.3694 (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: 2VLEcFhTw/CyWscpR8st+KdGSNcNhORcL7BVT4yrDuUy+tR+s07zPNLoWkkz6B+suJAdm6pKkmXcYZZNRfDq/BNKfubr4V4ciKZ/6AqyeAU= 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 spamscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307120146 X-Proofpoint-GUID: zBE2sSzPBeXPUHDoBSY8yJt7aa45PJti X-Proofpoint-ORIG-GUID: zBE2sSzPBeXPUHDoBSY8yJt7aa45PJti 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/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"