Message ID | 20230619145801.1064716-6-eric.devolder@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3065539vqr; Mon, 19 Jun 2023 08:03:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AZInjT40iqIYrW70AcyL5NtfMVF0oklA0MjnZrTB6MDrfUn2vE3QB72OM+B3UioVubAR/ X-Received: by 2002:a05:6a20:2591:b0:10c:ef18:746e with SMTP id k17-20020a056a20259100b0010cef18746emr6791273pzd.58.1687186987446; Mon, 19 Jun 2023 08:03:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687186987; cv=pass; d=google.com; s=arc-20160816; b=oUHeuUD4gpcd2OumamCUpiKb+ecdA3+Ro86XfsVvyJ9znCu6EswjkvLs7KtypwikX1 pigQzsrkZRwDvqNt2GPWqyV64r2FNSEhAuH8kAfC2tI5/qY+jtc64sJT7I5neJSEOzQb WzFmyMKUmiUR3TCMaEu45PHWaLn3gG0x0FHxSqsQ93Idvsp8C9EgLQXQixM7iFtQNxnK tVqQq3Qz0a1XszCYQ7J1UJX8KhYvlhqblanwiCh8H35DM5ikjjs3bfNHk4bCnCQqiTrD lN+0PifHDrkpHTBEl10wkViCCUyiuBRdh61/Sgtx1CMA70MOy6ELlM4VUJC+m9fOHQ4b xA1w== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l72-20020a63914b000000b0053fbde21369si10970933pge.503.2023.06.19.08.02.53; Mon, 19 Jun 2023 08:03:07 -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 S231629AbjFSPAH (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Mon, 19 Jun 2023 11:00:07 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <eric.devolder@oracle.com> 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: TZDh6RhVwOkfCHx5T5nr1eufnGUX5hu9M3DLm3KK0GkK0DphfGzYTNNNXGcQWfbWhMwhsp8T2wCKePNj8XLByVMtBApYbkkzmqEAnyM76EN6D3KCYjKk7kDIIqj8wRaDQUoZa4lDok1/u4s6rdZ7HSAIaq3RcOWkOxm+VMP4hc/NhJU4iL2nxFiWw6/KvZHh2Wnlfv7pymwMA3eC0sDekHSllzC5g0H1F6N2CX+6n+W8ffe1ZsXcE1t949InWwigNinnGlFgF85BI9zTF2PjdN51qk9Q9/nVx0AEOT5yrZTiQPWMSoMw+EIjSC97Ki/4e5SIbalfsWJXGNuMpr/wNPXXm14R8uSr9yu0bGBqwTqjsqnFn1qNEbs7JkDPhqjrwHcEQ9DO7g4CMK/kCDcgFzKO56kdGyZZSuPsdnTmlk4aZwH3V86wj8QJla5KS61y3kSa3Mc6ET5vPDsEwbzEDzdFOke9MXHCvEvVZMkTRIkHfBVyWuk4qnhSLoQPE+U3+SwFHAcHras/sIxTNI/kLkBYO0+axeJOX5bXLKF0MSMKdX9x1LQfkn34+qR9DmlFGK5pOcX+4g8rkk6qcpqZqFfLObkJc/5fj17bH5Fqa70n77xcLvH6tO+H8c/rvom4Pj3FwKm6qPJBvChhxN5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TmeZa+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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769143782393593107?= X-GMAIL-MSGID: =?utf-8?q?1769143782393593107?= |
Series |
refactor Kconfig to consolidate KEXEC and CRASH options
|
|
Commit Message
Eric DeVolder
June 19, 2023, 2:57 p.m. UTC
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 <eric.devolder@oracle.com>
---
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