From patchwork Wed Jul 5 14:19:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric DeVolder X-Patchwork-Id: 13302246 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 04619C001DE for ; Wed, 5 Jul 2023 14:21:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232397AbjGEOVO (ORCPT ); Wed, 5 Jul 2023 10:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232376AbjGEOU4 (ORCPT ); Wed, 5 Jul 2023 10:20:56 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 398BE171B; Wed, 5 Jul 2023 07:20:53 -0700 (PDT) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 365EDkHL027778; Wed, 5 Jul 2023 14:20:29 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=6WVXu5nJIeV4BVRG02xJHoWyyZ0OCnAKt81uvDMieJw=; b=eqXyZWakZg8IgVffj7Rth4L5RZjXLxyO99J/SHZQOv2iZw934RB0wyxHoRK1MY83JsPM gUyQTWIjI0Gi9sDB5VwN6FauKisBvNl9k5eR757arXM9kxXeixphaX5eku9Lvc7boozp qyTOr0pN6t5IavXxeeKUxfPNo5sgfFSkR3ywYe2hqlrmsBhqfZRBF9fo3DjBs26oTuYR tEsoVtvFFxDyG1zE05p2DosGLbxGuUojw1US/GdBJoOkTtNO2w/ox3r3+8bTjSLnZ1jd mxbkw+Do18KOjRI4JelxiIluoRvUmoDWeC2q0qp2PPCme55QYGIdw1c0JObpQtlYJ5tM uw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rjbrtehs8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 14:20:29 +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 365DMsjW013468; Wed, 5 Jul 2023 14:20:28 GMT Received: from nam04-bn8-obe.outbound.protection.outlook.com (mail-bn8nam04lp2047.outbound.protection.outlook.com [104.47.74.47]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3rjak5pmh4-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 05 Jul 2023 14:20:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WrbyDTXvQNSWeFKZyMYCfDnrdmTpU+fmElD953/IIWla9VfOjjHfcwXqAj10IfqL2WlZZM1omL6bzpWg/u9hba6gfMctoNLa/z7OTytCEJjXkoPXPEefSmvJGHVx69LesH51C65nO+M1yArnQerP1okTTPBonhFmV51J45ec03f4Ea1sX4n3xPn+1IIe4Oxw4/Esi8yuJM9v8QVtvqDyqB/xqhjJxbabHP36D5h1TeG2tWndwzHtRSlh9Cx/u+0+Zz3TcksFHWf2LhF+V5CK+ekF+evQzvYUiihhOzhKAkt9pkdErBGw2mtpQC7a2QKzcerCKysWdx6Pj9/SEfMjbw== 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=6WVXu5nJIeV4BVRG02xJHoWyyZ0OCnAKt81uvDMieJw=; b=DUSSUjpktTrwLr2OSH9Ixu9FSHlJDBdp8PBLCfedcCpZ9VcnCxJA2CRWV8n+Ux8II03TiDekIe3WZ5RaUkWFInHPEnZWWnHIckNA5NT0MYiRckCOkSYU5oBzPpHKkFO4ma7FsYZdXg3x4pJcqKMgtQgJJgCc5rka8gZVuBLxk9lxRvJwCtxR6eO5Ih1nTydeHI869QbYq8gCKek0ZQSlSZa7jCzEKOZmyDU5dnnrPXTCR9Rwgp510zh4uoMInNqJoZq1v/WYFzEWlGlI6jagXxXY2m8/RHLBBA6XTzolUCwRnmk1Gu8frfDgS+BY3PYhD+//+rSI+QbLcXdl+FkCFg== 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=6WVXu5nJIeV4BVRG02xJHoWyyZ0OCnAKt81uvDMieJw=; b=gII42VN5KiqkkNKEbAiHvq4tM/kHHfeYtlHAjSekdffQa3sF66QZ03GiIKnOW/aVj9cbOs8sS2jS2RUk+yHtAXr0h5CAiRefa2HM5pbxUl/BxXUT8zFcMMU2V1fhiNmtnqs5vWSbmm99lirI9lZas9UexM4Kpiu0yK2kkwnPCPg= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by BL3PR10MB6258.namprd10.prod.outlook.com (2603:10b6:208:38d::10) 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:24 +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:24 +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 03/13] arm/kexec: refactor for kernel/Kconfig.kexec Date: Wed, 5 Jul 2023 10:19:54 -0400 Message-Id: <20230705142004.3605799-4-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: BY5PR03CA0024.namprd03.prod.outlook.com (2603:10b6:a03:1e0::34) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|BL3PR10MB6258:EE_ X-MS-Office365-Filtering-Correlation-Id: f38af48c-2f5e-4f4d-5104-08db7d62f93b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xrhDXfObYLIg7IrsxaEr5FoVxU/zH5z1HXfR7bJCkWYJrfZNz2HtfkHaNK2foD1aBVUF7fgh7/1zn7Dso9v2JLPn0ak6EVQAypLvbZSpEFH7NdyzOsqINpvz3JI+l4yCn4S0mpLeUmba8LdDhJvvhyjAB/SXVe29eVXgZzJH9qDbvVVcUeEvNvUCMo5DjmGnPXoE9VtRzArnxvTKQ5LTvC9O0YR2eyhiszb51xYXcqr9L6lmO0wo0l9W+qW4JziDGg/wgQaoJUUqAuXh8jCNs93z81UhM9BI0nzw3dqAY7FBVn1j7ozOXhheMqPe70HLGZ5JdZJPUucoE896FkW2W7OGGKCJC+npqMHkGiqiTw9v919t8Xh/2zO0DTpx2LAqEA8thHM3LO3TYyH1jFJAetgQi9Qgxp3XtGTygt0Y2tIoX1hcMBPl1gxCgfQCpBR3Q8CCLKv9jEgaUXoXaWBR9wbnJgVCnh+dvldfAlnPDOVR8GlQZfYIcEtrHKTHOZlwOiCsPfbraB6Tc/jmPmXue6KNU/3JN1BOVhkx+8KkyNqGtH2LVISfc1hzuGBS4oBlvEAJRcmb40eVuuu4nP6/WSGjNt3g9/eMQNcaGafBPCc= 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)(39860400002)(136003)(346002)(366004)(376002)(396003)(451199021)(2616005)(2906002)(83380400001)(38100700002)(36756003)(86362001)(921005)(107886003)(7366002)(7406005)(5660300002)(1076003)(6506007)(7416002)(41300700001)(6486002)(8676002)(4326008)(8936002)(316002)(6666004)(66556008)(66476007)(6512007)(66946007)(478600001)(26005)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8+GDL8kjRBwC8lnya36SrJcKf4bjFMSJyUzcwNj+CKZy5GzmQmE2WjcXHAYORrJy6N76fF8QJgukMvLQYGntIwSflP/TqQTtiNG2OQq3CF7dUY9pAn3eHHScp/OkHTetB4hmtbVTp1xj8hvhPlqXZqCIltzKsUYltWeK4mJxCYdGzWEII+h12+5Zck0cAd4GUGH5BJSmKUsCZPKOm2OVC5x/WfjTH6wifZqrkNP/Eq47TVi3ycjxqIZIt4sIX+t13kD2+lzw5/cTJQDkhlq1bPdKhMBdM74g664qdck+2e/e7LIDU0BLD96JF7L4qQFND/1firsmoTkTf7rF81zJcVSNmZzEHU10OKFqxI9d7M5wyesX9bfDg/nkC/RM+sPd1spKjXihLS0gFUNCIob+cAowixscubOgX7CotTJx+zb5/JEaXoPftip+bxNW6ekyQUh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qmiTmnzjrWnY6Czzl62ncjLCmk24JUYOisnBAz+56KAR7kuf1FewD5lxRncuvwRm6SaTB4ouVYT68Cq5n0cOizQ== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: E5sJDTPSJD5PX5M8h7F+MK4umgTqEQDlTR7GI0f/cscSXA3QRz2H9u0qepLdENyf9I0tvWvleW3z1BvFrt9kpmx1lljgdlNEOfAn0QSYazWD4mXscd6s8j/OXMZagUjhiDooiffkwRGZjVlbyDdc96wm86qDWcN/SPHdNouQXRMEAA2h/mymvJW8T+2eeFbi2396Krd416tDWyV1N/yDiW62P1fAarLc+U6uIlHtJkijRt9qS7SDeIqIsUJ+tcMA/oBbMhYgo2M1QntZITZk3qOd44ujjFBp6oNU5pywuWz8bZm24g7x9qptjwjDGh5wn3HSGcH0l8rfEp4kQGf1dmIQ6FIU/alKr/qqUkhWp2eURvc4lO4ybfOzYHIk8GUakhX0ANNE5VKhBwU1RmFb4yT2G2C9Pm3WAgPC4+8jWX8SFP5VXAuTPs5w4RCpqYCauTDSWuMhb5u7/U9Nhi5j5o2iIwgWHMH3gAHcQRPDpXQ5CdbZhbsvnTw3islOUxSViHHL0farwEJwWZBz8PL99E8GnLuSnRIvUreTpFp8dyejnbGB4t36NoYHwpI9AizCkFEWuW24pepyiGmEKpcqTaW1+z+JEpLqutehROC1254EHeaWV4HzRDIXdh//0QrVAnRbqnLT9IWVubvvV3LsP7BzYmERpCazBzH174RRr5ejHuIlAIkj+K/2afDzW4OWDN0WlCojhs0bmDHhKpNhZJj2Yisy5rMI94FBFoyZHdT+t17MrgROApYz1MtZGp+/8jEriqDrrO/1H2US3czx+Z/4Spestsu4K1SdoS8P9blFIbKNES4Ox3bMjpa98f2XUkiQeMR9ucm7OS21yZqZ2BHy/Slugv5Dgt3OuWTNc5COXnHf5sQWfOh1yOJE6nEG2c4nrm/D1BZqCFFbFQnWmycXEei49yldNX+Ryr8WCR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H9klpARZL4lGHALtnPF/VQ/FZ0mkglaDk/fltfBIPmN6U/ss4Xm0P8p+d9/bUHaXcK6uWBpDLGPLUQKmQD4JrdiGtG3wSfHbwVAuugsS8/DW3z/EzXHiwyOHKtIwyFMPBHZCVfjVfLLLBVrXb0PaePIkBS1wyoKeagyoDfaKpr8s3HuRKQvlUt8WL1Tlt0TSKcsUwxiQ2N2NwETV+gp3+VXKQ2GhyCidPWtcN/Zl0h5/ZDEe6kq+Jyn5hQ70zcmFrLU9HD4eCpL8CtH7D2j6ygni2suuQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f38af48c-2f5e-4f4d-5104-08db7d62f93b 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:24.6911 (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: 6XfJTWThMyUEtshSe2b2bfMZlcp2wiXC927gDjletvi4WJEkgQnA+MDtjw+nbLndUVWLiSvQcp2i8C/ikBrkG0QbLdIw8+QZ5oF9RMRVCY0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6258 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 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050129 X-Proofpoint-GUID: dhbSjrfEOCFpXoDloXa4_oc3xvHvlJ2a X-Proofpoint-ORIG-GUID: dhbSjrfEOCFpXoDloXa4_oc3xvHvlJ2a 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/arm/Kconfig | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7a27550ff3c1..1a6a6eb48a15 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1645,20 +1645,8 @@ config XIP_DEFLATED_DATA copied, saving some precious ROM space. A possible drawback is a slightly longer boot delay. -config KEXEC - bool "Kexec system call (EXPERIMENTAL)" - depends on (!SMP || PM_SLEEP_SMP) - depends on MMU - 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 - is properly shutdown, so do not be surprised if this code does not - initially work for you. +config ARCH_SUPPORTS_KEXEC + def_bool (!SMP || PM_SLEEP_SMP) && MMU config ATAGS_PROC bool "Export atags in procfs" @@ -1668,17 +1656,8 @@ config ATAGS_PROC Should the atags used to boot the kernel be exported in an "atags" file in procfs. Useful with kexec. -config CRASH_DUMP - bool "Build kdump crash kernel (EXPERIMENTAL)" - help - Generate crash dump after being started by kexec. This should - be normally only set in special crash dump kernels which are - loaded in the main kernel with kexec-tools into a specially - reserved region and then later executed after a crash by - kdump/kexec. The crash dump kernel must be compiled to a - memory address not used by the main kernel - - For more details see Documentation/admin-guide/kdump/kdump.rst +config ARCH_SUPPORTS_CRASH_DUMP + def_bool y config AUTO_ZRELADDR bool "Auto calculation of the decompressed kernel image address" if !ARCH_MULTIPLATFORM