Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16387166rwd; Mon, 26 Jun 2023 09:17:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZAOtbdCpljHVSS/IqhIZ/UK4W0MfKIxKmmQxBKvP0FIFxp8RDvVH10tpTvCkAs6Rd46dM X-Received: by 2002:a2e:90d7:0:b0:2b6:a19e:5153 with SMTP id o23-20020a2e90d7000000b002b6a19e5153mr2369216ljg.15.1687796261114; Mon, 26 Jun 2023 09:17:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687796261; cv=pass; d=google.com; s=arc-20160816; b=HGuTQ/JcTABjQa3e0UDXptjsf1wQoQG38lGg1RG2KW0Os0RppNLHz9dECmiNn9exIg JKyEm1ZQ61WQgMlfK8Jz+nF+1XWAW/VOqWz8m+V3WKj6GBpex9wlSNc9IwVM8EXewvPc WTNBIJ0bFzJtc87Dt0uq2qQvt0B7vGtoVYecYLHC6nwJRqJ2Nd53ICbWIF9C79uYI3PP SI+XrkKAgHVZFiO0SsO2rnKHAFQPgbd5a21abyu6J05TAtC6KgmMbrV0ZN/+aP9Ne+Be plqiHMw0Ya1pY15d38SapmPdinvazkQLtknp9HVbDxcegD+uVHvh/L2SRiSb3hDSQB9p Ze7A== 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=; fh=2UGwhCXpH2qOVBiE2vsd7TXiqZXRHu4NK1RRt/adHXQ=; b=oKSDk8vADltTrrsawlMmZm6x2d1DiL8E2QfwbcibeYwW1e9aa7L0SLtv3k9dwtt4Hz e1ln/j37Cz1QM8BtdMp2kG1Q8eP0WdjAqX6V1j3RjNo1nhbaoHVAwnyo6SNrNkVOmi53 YzQW4KNz9SJrpOhgilB/37ihylaFmNmVXSOqknirRQcGn8oNVKY2UbFd2dCigrEJl55G NVVSHd2wynZgbQwVSrtYNeWem6Bb/JVbZMHrEg8Wr3a1o3IrIyrUTA7rl/jdF957p6ae CoZrqDllgGUj4MveXas/YzxOb3ROVWsFw+yuvYju8GF3AFIJh+jb/KV+ik3C59KuK2eC aPWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=TRPDUG7b; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=sT9Pbwqz; 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 ks1-20020a170906f84100b0098cf3eaee47si3052479ejb.689.2023.06.26.09.17.16; Mon, 26 Jun 2023 09:17:41 -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=TRPDUG7b; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=sT9Pbwqz; 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 S230010AbjFZQPR (ORCPT + 99 others); Mon, 26 Jun 2023 12:15:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbjFZQO2 (ORCPT ); Mon, 26 Jun 2023 12:14:28 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B38010FA; Mon, 26 Jun 2023 09:14:25 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35QDJRZY015711; Mon, 26 Jun 2023 16:14:01 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=TRPDUG7bsi6X3ynNMy2P1UL0FaLeuJ5VNMjbxWoaKeCEaNvGRjBUD1+UPu/wdiMX9a5i tgAGRuWUl649sOe729LEXsbjZolDly5Lb/LAZQ/b7ycMxcWJNYOSOSRrZA+KfhHSfLik lD7p6kuA2B+XTPP53FIHaCC+fi2tKkRD/a7dUOfO5jn0zLfumv/BU0mBFfNwcxMpljcL kcVr1q1AlrwU0OA7/cmY9wDRbHzZodfG47cX16U1ypx35RI1Ssd8seMIk9J2LQXKE5nz mFAsHAwwVTdb+6u+xJ5Y7ZiBBsWsdmrkvU0v604oxEWqvIyTwvpkITrrwgZfaFuH8LPN zg== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rdrca2xay-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Jun 2023 16:14:01 +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 35QF538x011157; Mon, 26 Jun 2023 16:14:00 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2044.outbound.protection.outlook.com [104.47.66.44]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rdpx39vtb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Jun 2023 16:14:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M8ZD0jcIRE6M5SLQfjE+Kh6FfTokEpyJweU6W/w2Wpt0+njwUs3ILWSv2UjNlQ6jGNXe3o3gV4L/fRXeXRR3LEpn3H6/lFppl7/ItP3OGTfO7ZVsIAduCf2mHlmYKwYDOhLP3fw3nyeGDOWzsHbKWBo2EuT0fKEaFhd0i+hGIOJPGMSvS96HNBmO70D+SU0EeIhmTDW0TfuBqUzF89Nd/Xf86a92OcWpEw9vz2RlaSUPMr3W4vEm510eVt7AoSaRJD0GQ3RCKWonSYNtnjtbbgtwy+w9ekbfWohJe8FUN10AZlX2Lmg0ChVjMmOPgSAirkISvV6unf2cyisfj6q8Kg== 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=Xuga7lpniEMzCy/ULOTGn3VZu/5PsA2HJokMnoJ7o3gNQp0pTXAzlX41vUbkkg3zpJGbMnJ6QLaQS4LocAH+qVz9rEz55au7XdpdiYVKy1KHtEAom+CGyC8KZshpgMoTiptnJ0hF5nv57t9jsrXPaLsWkeXPrfIdKTiIesUr4tYnYFBXafxTh6/bJpW7fDmbIeYC2TJFw9ECh50QSnO1NznM+1iivchfft1syZR6sywWyvgFVBdcM8ZuxEJbN8o1gqEEuBnMXOOOMutg8Yk8MYrmLQWE+VXYbnnqY1eE8wfHbZahEnAF7qZTSt3P1YRCpnYR3Jpq8WOY2NZsm3+sfw== 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=sT9PbwqzwThGd90GkmKFwsvQZSnaPQd4ou/Hzkam7stChvRsUJhNIiYLUwSciCNqDfb25i1mkOxM9pqq2J47JWTaNBxAjzSemYnWBVS16+IX/l3urPAacxceWfb8f/Q43njnOim2V9iHOhmxBjzBuicwI3o/xMzGAQLmPtm8mLY= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CH0PR10MB7440.namprd10.prod.outlook.com (2603:10b6:610:18c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24; Mon, 26 Jun 2023 16:13:56 +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.6521.024; Mon, 26 Jun 2023 16:13:56 +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 v3 05/13] arm64/kexec: refactor for kernel/Kconfig.kexec Date: Mon, 26 Jun 2023 12:13:24 -0400 Message-Id: <20230626161332.183214-6-eric.devolder@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230626161332.183214-1-eric.devolder@oracle.com> References: <20230626161332.183214-1-eric.devolder@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SA9P221CA0030.NAMP221.PROD.OUTLOOK.COM (2603:10b6:806:25::35) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|CH0PR10MB7440:EE_ X-MS-Office365-Filtering-Correlation-Id: c7eb960f-e5fa-450a-0f68-08db7660579f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uS7a1Ol/+Nu3Y4IxhVFIdJHLMaSu94cpo2pg8V1gMrIi5MFO1YVYfR8zcE/QAO1TK6iAhSL1hnInozp0eamXX1bRJgZ/c98uR9m66k65XG7fy2epAnJWtNaLHQR2J/PLP8eNOS4cUZaxy7CgOtoyAjYHVjPLoV+lKu3hCsjuVNd84zEQvjHfrnjPQt1MWtQ+5FQcQ4Ph/O8YGHkJfbYRWpcqjmpNxkv8olwABrCUMpAoCwc0l1S66lYRr/wTR+Md7cF8QhJ5nxawW2wKdyE/ObiTBLy9wijGem07PY8JV9frRIqAcqb/dug8kBMEkdb7HrsmG9s9iXW4KWoV1JWF2JxBnapuGWfNQcSjsfOKTzKMHlOnFS4ucW3Jv4REXM+gY3Pko9f9QUD8dYH37EOymQt22qoFfj+unuEuBuI+bW6Y/Hmf5DXMX/6geX920lHC4uXBLm5Czfx4GADL/g6dgu278krbL0N2SVGn1/AElH3d2HFQhMRykTBTghlS+O8lfb0QTS8dUbpMFChkGA2qe2+267wky71iFC6ugzbzGTxdrGM+7XsPCAFmPcLLu81MAlpl0S97oCfEBBG5BJNUKq358JTUl977MJFRn3Lxv4Y= 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)(396003)(39860400002)(136003)(346002)(376002)(451199021)(6666004)(6486002)(478600001)(83380400001)(2616005)(86362001)(66476007)(107886003)(1076003)(6506007)(26005)(186003)(2906002)(6512007)(66556008)(921005)(36756003)(4326008)(7366002)(66946007)(7416002)(316002)(8936002)(7406005)(38100700002)(8676002)(41300700001)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XQLuxWZ+bERdnfXcSabDKIajCG6f9vbdmJaNcy+a3HPD8c60gWfLPhxhFII5?= =?us-ascii?Q?3iCfYmNOW68y6y6z7L79nFsHkpa7RwElAaIz72H3w04Ie2UBZ0OTyal9JF0W?= =?us-ascii?Q?F9VCpe7lUiyz8zi11H5252q2PkQ8ydoNAmrHrD6B4UMsRjX/Ejz8t89qFgAD?= =?us-ascii?Q?SW+H4cOfGk1PqLHoAblBLg6f/4e5CqWvhLzoBTP7FqmLaTSJgTjjBzkThWDn?= =?us-ascii?Q?yrZWSkbhANsWhK4IWbO4VJYkYLtXAW6hj/FLjX1+9oU2djTPn2VfKKlGsBZH?= =?us-ascii?Q?j1+HTDX/OYEBWv8wzUfYXJV82riOjGVht5biHEn+qqY1TnL9v3tT0k+BtoYr?= =?us-ascii?Q?iOOx8RmNJ42npynYM2eErggZD/2CROqnLojcob0B9u8QJO9cTKpomJbDdrGw?= =?us-ascii?Q?EXnZm26+GCKUrE3UlYaH3WrPKMMg8sEEJhGgXzGaDfHv0UWfPCpO1mOKpBn1?= =?us-ascii?Q?9tzqBn79dD7rSkV4O3EZXcIiJ6rTPDBC9MkZ4CT8ypK/Bp1WXEwS+aDPSrAJ?= =?us-ascii?Q?lO1a8j7D+Ye84DzIYRunOm/gmt7y9MtWVBS0tMoYKqfcb7Om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Kyo4UtTBZ7zY/nbmQS3InJu8IoTfTpOJQY9ScdhGTOuD281kGH?= =?us-ascii?Q?/mV6RT6mge6Uzxshi4nPHWMAongH0qmccnSnNYQ3vwW2zKZCHKkR7Evq+oxd?= =?us-ascii?Q?TV7B1KrhucZaDkv7CAcK6yff1A62xEoM56iG0H8jM1IT/FUXMQGjf7oWLjez?= =?us-ascii?Q?yg=3D=3D?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?us-ascii?Q?/xtNEkbbGqP4H+ckHFjMDDQ/PB28Y7I7WBwh0eB1+g1D5ZotzYRI9nf8U7Gy?= =?us-ascii?Q?SvwTWRv+yDe7XOVawi3QGPC0VhzJrh3nKZoD1i1IM7eH5/8g32HltY2spAOc?= =?us-ascii?Q?KkGj86Tr0TFfj6bxisCZ6OURkxhGrKt8i7a0irONd3nh5uJHGMpOht07YKEs?= =?us-ascii?Q?ufGjqz8tINNOov4RFEHgPBJ2BHF96LcOqMa9EOSGXOGLkSbttnlvWF70QNyS?= =?us-ascii?Q?/PoXUEHa+Yi1VaarFOWnzYTouWl66HZWmIpGYoxTF5Fw2TH8w1BpqBuPDPKP?= =?us-ascii?Q?uY4jj8Cs9i+5oPfJn5H/Eic5SU5oepLbpZaJzHfjkzaBMfRloSim2PSeDU5p?= =?us-ascii?Q?Y+XWaFoVlAqAjE4nqK6aMfB1B0OS/LmgVwrRBkcl4/E7UOr38PeaYojbvBwH?= =?us-ascii?Q?RGkskM5pknhIuAkSLMroTKW93vUsrT4+itRd4Frlm2daKo8+/Js6cy+zVao2?= =?us-ascii?Q?fZ3Epni6Di9obI8JIpzgwVPqfU/VVucpHaXqkZK1wOCn/fd766t9IdSWwBX4?= =?us-ascii?Q?ICzr1gIhbf/IypXs7O4BHrZ3u+vlEhoJ8O2fmogchUy4cGhGn50netIj9pSA?= =?us-ascii?Q?Ivth9Akim/oo1cf6x/AZozKtvdcBFHkV4JyE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?Q?2CZv549dh8vml5fWXdOjIIwjD040U1uikCN00ZqeSz8qrakMGRKeG69lM338?= =?us-ascii?Q?gXvhr0GCcNI/7+//Sctuc7DCm7fS0RJL2ZAIoY18d/KKZgmqdpzcKgkLq1vu?= =?us-ascii?Q?CtwaU0usuRx0UxOgtABFDhRimUscRsxeh61pzwszUZH1mvN7+3eLxer89tOo?= =?us-ascii?Q?ZIlvI+M35c5aDD/Ra7S5vJp0bXHWmwinYBZQjkk0sq04YirTCdCYNBwnLGVk?= =?us-ascii?Q?lMSr/bl2RwRVYGHzqRuq7dLKE3SPHdvEDfYSV1Yv4Yr8NgSKq2YPUJRkESn+?= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-1: CEbKHQ5uXy7zifrtcF6mqyduaEYusgV2qVrjnYzFbBkP6D0lc0nyOfhi8c23CXbcVLY/CAu3BFq7uM+kwl4aQ5B7uy0Q2s9JDuKTtH48I+u2VBTHyGA9qb3AbOEn4Gh8AEQSgnNFsssnkh30VhANfcEyi/y1QXYNcgcg2vvJrlBHOSTbubAnYETkvuSbQM90Z7oTS4pMN1Wh+3UXE8PY7ei9XB3vUtVMcDxhfD9OQrhmoqWmFjfIZDbVjchqDBq9zwqHU6IXFA8Uctgj15vNqO12WE5KboTQMlv34VRimAFFRQE6xdtEJ+Y3P7VniEQO+qkDhL/aveqS1NU4PdVYSorC95eO6c5mvgdiXi7MJY72juoHkSjCROkjCAqVz7CZToTdwgoT/qLmn0zHz+VRPiz3S0DHGN1dYKnYmU4gXKAeDIZy8IwY57j6JSJbft0rI2D0MSjFgeWETg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7eb960f-e5fa-450a-0f68-08db7660579f X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jun 2023 16:13:56.3728 (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: 0XUptXlqDlGUYuzOQ7R4Q6rdMMZ+laUkunjNkZnXDKzVdnf/ySNWWx1jN9RY+sRVLq6u6/xcYrn1++mZ7xC89YVzj4LoKQF3RTXrtw3I/6Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB7440 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-26_14,2023-06-26_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306260148 X-Proofpoint-ORIG-GUID: h2Ncc2fa3ji8dTDOlgUcZS5D1yZHmC-H X-Proofpoint-GUID: h2Ncc2fa3ji8dTDOlgUcZS5D1yZHmC-H 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