Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6497418rwd; Mon, 19 Jun 2023 08:06:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6V1MBHaDf1jppfBfEVOb4gqV82evoscdebKOXjThnDxqQ4Y2Y1fvDHMQC5uxUf2EOEGiW0 X-Received: by 2002:a05:6a20:1454:b0:10e:43e:e223 with SMTP id a20-20020a056a20145400b0010e043ee223mr7631586pzi.1.1687187170180; Mon, 19 Jun 2023 08:06:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687187170; cv=pass; d=google.com; s=arc-20160816; b=f2EkWZHJhMDx7w/mh5ETUXfh8G5jlg0/uIPP7j7q9NT97qeP6F4Kah8A49SWlnUV2N LXf4IxMzil0BJCWnh+rHnEDgrc8eT/F2MvDs5yHweOSGSUgCBlAyGLiW7wId3f45Hzn7 5vS2H4LWeM/uWUk+PjwphBszMdJaj91TmX5ISS0dAODy0JnBp/EpJG3GkGuysPTHaHR5 R4zPUuy2bnD/Beh8jY8rtOf6n3ZZimCpMMeMwcI0FSc4LKSVnGtKXxM3h16UcdSqMXUp 3cAt9q+L0d/RnkJoaEvW76Elmt8sV3zyR+JCr2W4RJA8X4SUFUT0dp/b02/zevr+jEGJ A+zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=0Ti90zr9CHvYUn0YD7JQyOkSlOhRnclo/N+h+OOW/Z4=; b=PzqNtcSRA9yh0EAkT/KYbQH1l79W3kdir8QH6MddujT/faymXhYYtTKsmn03++G9Tw vPdRUuwGYYatGrvQrUJbecP9RfbKMdT4IuKeicEL27f/Km2tTwe38DF60OrAsVwkutTM 9GfvEeL98Rd2LgoRKD8u4yhDOLyU/9iYGNc0nMvTLhtdI0d8/hQrU26KqWMS5GgsJp1G YX3A0U2fyWuYtItFVrCzYiJUieNuUoYsjKUHemknJiYMS8eo7ia6UKRxw+7UC/VzpCFV 7/5a59u/mPhQLA20Jkh1xB4lnAWfmiqXx2G3HPthBhrzL9H5gaf5RoH4pazddVtCqyHX 0GNg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=ySY3mBJv; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LQwy7JsG; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a6555c9000000b00543fcc5dee4si20560222pgs.205.2023.06.19.08.05.52; Mon, 19 Jun 2023 08:06:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=ySY3mBJv; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LQwy7JsG; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231605AbjFSPAG (ORCPT + 99 others); Mon, 19 Jun 2023 11:00:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232291AbjFSO7Q (ORCPT ); Mon, 19 Jun 2023 10:59:16 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDB8B10F4; Mon, 19 Jun 2023 07:59:07 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35J9n4oX004098; Mon, 19 Jun 2023 14:58: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=0Ti90zr9CHvYUn0YD7JQyOkSlOhRnclo/N+h+OOW/Z4=; b=ySY3mBJvO2IUxm6p8Ixy25LDvb4YERXiujAlUnbiml3G0HRjEuGzmdN6AJ3SqpyG87sL ockNXn8KhRBG1JnzvoQPpKtpXJ9NOIkl5HyC7UE0Z1e6xy6xAEw1fb2OjngF/h7HjXgB zj+7iao5zOTl2t1epDq0WKFwlfrwiZD4kz67+dzfg4tW2bhBw6UGQWtp8uQZ6WfbGaqX Oo/GgYBQdpPveLAuOTlLppS96Vb/A5MrRAyvYWf7URMvqPfelkK5+FFQUylNTv+cm/PY r7TpTiYgyEo6LPTFsEAD+JgPRFRPsqLR+WbxzepTcqRJbK2z/cZdu+L6whu0He1iZejm 1Q== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r94vcjwcg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:58:50 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35JEXvUM008354; Mon, 19 Jun 2023 14:58:49 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2174.outbound.protection.outlook.com [104.47.56.174]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r9393spd8-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 Jun 2023 14:58:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FP43QEGfiWJ7vElI1nUahqfYw5ztQa235n5aoQjGICkm8gzzVV8/dWmMlhGNUX+PoRUc/tBcsV8NgkWb/8qho6RW9lYc4sVPCmNLPf14kRiXMsWchbqKa1BhaiJtYmeeeoH2UfQGVvd6RH514ycPde/RpKXVpZYIhzc+i/5TYkMvLD2AmtiPEvC8kzUHOXkfdXQqVgzfkbvR2goPZBuqD7n1YKxGxBPquE6cYFvIVvPwQootFl3Hb6zcgVxEsVltwqbOySwbzCBWlanceWMEepDrZk2XuZD70pXht+JakKqIxx5ShHMJ7t+3KVgCMTa/S9HXfvxmhHsYN20u0ssIhA== 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=0Ti90zr9CHvYUn0YD7JQyOkSlOhRnclo/N+h+OOW/Z4=; b=PXZU+VdWMMa94GFGhJyD3r/kW4J5ZLjXA1HLOhP4Evm/y2AubD8wG3XblvhHsOuUDblgqOPSbELTCmriaKIdz84LPDaCTOXewhYg4uihNuznz8yJFR5a6tFrWHVxTQZ4a0oZP7DJMM8mi5uJURPUs0ut6gIUrIHoYcNm/FCx+qTpAtIiml2rU3lw/PpKL0vvMrvy/lP5zsLYHj5jkY9uSkghcG2efuWeGfNawjpsiEbgAJ18dRg682bk0ukBjZlkWUiHP+j59yrqWcKXfJG+JDgT8Qb0s2EOP2qILt5gAmh0FKQPzONao4robppDKiifCZJyikAhAgZHnPswvi1hSA== 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=0Ti90zr9CHvYUn0YD7JQyOkSlOhRnclo/N+h+OOW/Z4=; b=LQwy7JsGCkofegtwCdewWUPgh9r3iR6ZiMrSeFzwPoi+rmMCvglGmFFLgXnE3WurhjDKeR4AZ6RlFg106rvfmGfXa0KOC91wQNfTD2mKGDdBHEvlB2AR7qSCmO3esY1Ultss4bT2XS1KYVDmgFiQS5bPfYf7wIs6NvW5kq51vK4= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DM4PR10MB7426.namprd10.prod.outlook.com (2603:10b6:8:183::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.36; Mon, 19 Jun 2023 14:58:28 +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.6500.036; Mon, 19 Jun 2023 14:58: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 v2 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 19 Jun 2023 10:57:53 -0400 Message-Id: <20230619145801.1064716-6-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230619145801.1064716-1-eric.devolder@oracle.com> References: <20230619145801.1064716-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: DS7PR05CA0077.namprd05.prod.outlook.com (2603:10b6:8:57::17) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|DM4PR10MB7426:EE_ X-MS-Office365-Filtering-Correlation-Id: 9aa3a814-f97c-4b0a-0445-08db70d5a1a7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Lmzagkl3YWnfe/WpUtaBKsNrdzdbvG/lZwrteGsIJ3UplrqKtC9ljsk+thOiEeZy2qIIDmh781P0oysPMMJmhpOQjUe6+/6D698mjLWjCwslBPLFP3Z9z0qR8oxWjO4yVsyPUFYQfaWHjpKjrP0+zSK3Wi85j7lp8YTfZivFh9186SVavuV8CiON3UYtAo/un6Enxlcd8pgfx3Rlu2WDflyJBsdMTHqxEpU7UbFMOLeUnjvxzMtbaBPq8ZNm1u8fVd6Y/uWXpdnMYCPN7+BWGNtpYT+4pCSWQYMYapZuFfv2P5RcAPuz4o9l0b2X+9OiDwLUaBxIqzKbXUeuskGNvSk7mCXMB0sS605wZLYZT7XFZSitQU1fx15caIW0Pl0gqaNfcdfDurI93VCUHlNUG8me6FIfqcvgZ9zG872zo1jDyXHCq62vlW/2bdSt9C+UXc7tP+vy13u3LiQPmPtWFhBhjlHl/4p7bWCB3OfTSKjxK2kjo7KwqzDWR6QGKP9ohnK9NuKkcdfyn2gBXgEHXd3yuQoqetkjX1gmwI5AZdaz+2g/IEnpfQctsZ2Mrdk8PIAcQp/JN0VBI2mZKcU2oJt+0PfibS76vhN/48tIA5E= 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)(366004)(39860400002)(376002)(346002)(396003)(136003)(451199021)(186003)(478600001)(6666004)(6486002)(86362001)(26005)(1076003)(6506007)(6512007)(107886003)(2616005)(38100700002)(316002)(83380400001)(66946007)(66556008)(66476007)(4326008)(921005)(8676002)(8936002)(7416002)(5660300002)(7366002)(7406005)(2906002)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?TZDh6RhVwOkfCHx5T5nr1eufnGUX5hu9M3DLm3KK0GkK0DphfGzYTNNNXGcQ?= =?us-ascii?Q?WfbWhMwhsp8T2wCKePNj8XLByVMtBApYbkkzmqEAnyM76EN6D3KCYjKk7kDI?= =?us-ascii?Q?Iqj8wRaDQUoZa4lDok1/u4s6rdZ7HSAIaq3RcOWkOxm+VMP4hc/NhJU4iL2n?= =?us-ascii?Q?xFiWw6/KvZHh2Wnlfv7pymwMA3eC0sDekHSllzC5g0H1F6N2CX+6n+W8ffe1?= =?us-ascii?Q?ZsXcE1t949InWwigNinnGlFgF85BI9zTF2PjdN51qk9Q9/nVx0AEOT5yrZTi?= =?us-ascii?Q?QPWMSoMw+EIjSC97Ki/4e5SIbalfsWJXGNuMpr/wNPXXm14R8uSr9yu0bGBq?= =?us-ascii?Q?wTqjsqnFn1qNEbs7JkDPhqjrwHcEQ9DO7g4CMK/kCDcgFzKO56kdGyZZSuPs?= =?us-ascii?Q?dnTmlk4aZwH3V86wj8QJla5KS61y3kSa3Mc6ET5vPDsEwbzEDzdFOke9MXHC?= =?us-ascii?Q?vEvVZMkTRIkHfBVyWuk4qnhSLoQPE+U3+SwFHAcHras/sIxTNI/kLkBYO0+a?= =?us-ascii?Q?xeJOX5bXLKF0MSMKdX9x1LQfkn34+qR9DmlFGK5pOcX+4g8rkk6qcpqZqFfL?= =?us-ascii?Q?ObkJc/5fj17bH5Fqa70n77xcLvH6tO+H8c/rvom4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e4J+R0sECyB7u94NVIXAZuCuYJ3BxvkBhgsPOzn/AE3dABgZ6ZGMxAj9?= =?us-ascii?Q?IPjaMbCV0Pzig2u8m8gCohfhCb6pCKwKLpu4A77jpkJtcv8KW4KPI4M4O1rz?= =?us-ascii?Q?TA=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?0ciez/sDbtEuqSoP4A7vHIv/p1B2eFP88mMaX/exePJxp8mMW52iNGfpvb+s?= =?us-ascii?Q?nd/VYIs1/woa7mFpL56Qdt/2bgjOLY6yGNsQEMNw2ghCnhqK+PE/MBrecTwB?= =?us-ascii?Q?Fm9X45UXo3/DH45yjig6Xdpxhr0H2Xyymv0iwl/XkK0kCVclGoJGYwY5eDuf?= =?us-ascii?Q?Jz/p55xRJMcNILkZXXQq75sNjnzeCukPMBfsnhJN0zeWpWFbiy0VZShOshjv?= =?us-ascii?Q?ZbAGId0dZ8G2HTium6N86Yff/DqmeYOETteWN4/YbroVLdPHV3QY180hPgbs?= =?us-ascii?Q?88vRMmerYq0BUK+UB6ZEFCkNCGjjztl8KLTO458ESBX2bztExkrIXe0im2P4?= =?us-ascii?Q?vD9c3Q6YsqHAtXdO49cwflnMgZzO9Yt1uWjaXy9K9sEFn8Vyd+7T+HDa7fBb?= =?us-ascii?Q?kNUZ2HaK3bP1UeTOakd2IpR70fYONYCPLGA0+/4rY9W1mMJXC20njwXVydQ1?= =?us-ascii?Q?nYyle6umuLDMHw+Hm1ftzormQbbLMq7XKfGXrXcIAyesm00i71iKp92lM91E?= =?us-ascii?Q?UA1J2xNb6zM4MP7psW7moGNHN7y3iw1IuZyL4WG73kUhq/Uw5MeY6MnRyE/H?= =?us-ascii?Q?aJngrKa17ytRgQzhq7SOOvJnXDCQlmCw87gpA0Mq8szHcRnKWgAx2PZZZclS?= =?us-ascii?Q?KOXWLF8yWaaTIVQv+PpNWfM94zYLx8nkklvnJ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m9TXyt2Oh7gY3IXZBdy1/Eck4ZrMQqikKU6C0LjFDRTRImVqKqis7S?= =?us-ascii?Q?qopCgMWPMyx2/gFiLjAXm8G+y/LYPCBBCbXw+2LMA9HYnbQSscsAvbMnt8T6?= =?us-ascii?Q?1ER0f0FdMw/QCXYIAGuCC7TUJ5jdA0Xl7jWAorv/AXWOIcAJOfFT05aqosns?= =?us-ascii?Q?TIDYaB+TjuEp0m4SF6C5JlhHN4C7JWqL5aZdKdakOj8ZKA7sdtGYiSvIr8J+?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-1: NXrAklDJHZT6S7ZOQJCOoECy0D8dZQbViiHuwsvTbrokuTfu0BJVRsDFmlsfVkkOAk84h/+x2Nz8hfLkFrDlsqqJrd5eQG+p62OTKYW1r2A2oxQ3tLjl+KuJia1+7Fb4XxuApb2Zr1D2v2qL62dDynEpgeZOmVNgccSFHCDAxLSuiV1ZIJJP+yN5OUnEbw3XVmPIyFGRWf09r8A6jw+dKxKYfOZW0Zwynbt5bRhNwf0ghqMPpHW66GrQuH04MT0Gc/jNJ3c35UrmRh82v1V7M6cwC7Zh/nLSsJoVQTmxnEaARKyRxDYcBg/P8mXuLSKPZch5jWM8A9+SzthLID53fs773Ea3GLpZO6TmeZa+p3GasHBuwb9jbwMc6qD3A8UJBz+FbAyLaE1jx0eg6cc93T219JQ4z7/0sy77GkO+GJF08PkYkEJlkcgCd16WYZyRKkbK4CftNnIh9w== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9aa3a814-f97c-4b0a-0445-08db70d5a1a7 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2023 14:58:24.7156 (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: RwMCjhbYtXp5/erGF70BdNkW0qYqBWIxNG8isu2I6vG08QQZBuUbRrUm3rXW0ugGpWy3et6rTi0x1gntJzF7PDZWCrjECNWS3OOyATifA3o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR10MB7426 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-06-19_11,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306190137 X-Proofpoint-GUID: pJW3ctfyOJXXOUCx6up2WmyYIHbyRW_O X-Proofpoint-ORIG-GUID: pJW3ctfyOJXXOUCx6up2WmyYIHbyRW_O X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/arm64/Kconfig | 62 +++++++++------------------------------------- 1 file changed, 12 insertions(+), 50 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 343e1e1cae10..dfe47efa7cc1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1433,60 +1433,22 @@ config PARAVIRT_TIME_ACCOUNTING If in doubt, say N here. -config KEXEC - depends on PM_SLEEP_SMP - select KEXEC_CORE - bool "kexec system call" - 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. - -config KEXEC_FILE - bool "kexec file based system call" - select KEXEC_CORE - select HAVE_IMA_KEXEC if IMA - help - This is new version of kexec system call. This system call 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. - -config KEXEC_SIG - bool "Verify kernel signature during kexec_file_load() syscall" - depends on KEXEC_FILE - help - Select this option to verify a signature with loaded kernel - image. If configured, any attempt of loading a image without - valid signature will fail. - - In addition to that option, you need to enable signature - verification for the corresponding kernel image type being - loaded in order for this to work. +config ARCH_SUPPORTS_KEXEC + def_bool PM_SLEEP_SMP -config KEXEC_IMAGE_VERIFY_SIG - bool "Enable Image signature verification support" - default y - depends on KEXEC_SIG - depends on EFI && SIGNED_PE_FILE_VERIFICATION - help - Enable Image signature verification support. +config ARCH_SUPPORTS_KEXEC_FILE + def_bool y -comment "Support for PE file signature verification disabled" - depends on KEXEC_SIG - depends on !EFI || !SIGNED_PE_FILE_VERIFICATION +config ARCH_SELECTS_KEXEC_FILE + def_bool y + depends on KEXEC_FILE + select HAVE_IMA_KEXEC if IMA -config CRASH_DUMP - bool "Build kdump crash kernel" - 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. +config ARCH_DEFAULT_KEXEC_IMAGE_VERIFY_SIG + def_bool y - For more details see Documentation/admin-guide/kdump/kdump.rst +config ARCH_SUPPORTS_CRASH_DUMP + def_bool y config TRANS_TABLE def_bool y -- 2.31.1