Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2596148rwd; Wed, 14 Jun 2023 05:12:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5q9TrUKDKm/faSBtIMopPeEOu/baJ7qv/GxFc4K7Y2SS6Lj6aeJuNdijBxuqBvl5WSbYsE X-Received: by 2002:a05:6358:f15:b0:12b:e1bc:18f0 with SMTP id b21-20020a0563580f1500b0012be1bc18f0mr4946667rwj.24.1686744724569; Wed, 14 Jun 2023 05:12:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686744724; cv=pass; d=google.com; s=arc-20160816; b=xtB8jNg/6FJi+kjBS6Wb7Dc7ODaVvWAC0xcMAiSlYF+98WnIjLJ0LXq7jkASMTc3fG AQf1PoJt04C8zZy9JGJpuViZ40wqjsh8fN+daSLzkZo+q3smUdy9M5SN/OZZvdePu5G1 HgJj8Mnbp5wPGkIEhDsA3W+IYyXAqnn162BI4ygPPjQ3V2vCRKFHryLkB3egpuxY2pO2 i87tRgJ2FHqOcaD3xbYeJKbnsl7equdj1Bx7D7cs6VFgAsXIjPnY7NqNPQ6iZ/UkcHd5 1VmPUYBO8KIs8/GkwMShJXVjnKX3sBwHwiuBxxXNJ/BW9vbbyjPUVw/2nO1S/9nLjmsO uo7w== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature:dkim-signature; bh=b9Yo/zfPhAzgEd5NGS+Y2g7d+SJcdvJUKmPMfCa4RWQ=; b=hHYtdMHCWNa/AWnXcUBcq4C/WVsSjfVWSyWXrw7BZfJ9RMGN9EbGQ2JH7iH3eScZLO S8AUXTdBfT7euScfXsVYOc26LEbagntvQ2m4vEWWdS8iAtuFfJxSlJw7TFEB+eiSnnAo blJOVBgnu3JfMtvv6KrSCpcvwBx1uQFd3WlPOqy0xF8+VeAbmVCVARrwEWN6w+kam0jU VRVCL8tj2mrpV7dgw4xEU5Illipl6HUF/fGpVVJTISuSYMJqQfTT7d3EIXxciO9lmlGG SdtOPPk9T0Hm7+Te76jlKKsfz9UblOFI3Czwu0EE+mEWOTePGOvxRO1PBqvtXxjQi4II CfHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=xwchRnEs; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jUMHqgQm; 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 i129-20020a636d87000000b0053f815baf2asi470336pgc.333.2023.06.14.05.11.50; Wed, 14 Jun 2023 05:12:04 -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=xwchRnEs; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jUMHqgQm; 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 S234906AbjFNL7S (ORCPT + 99 others); Wed, 14 Jun 2023 07:59:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244258AbjFNL7I (ORCPT ); Wed, 14 Jun 2023 07:59:08 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A4AF1FC1; Wed, 14 Jun 2023 04:58:55 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35EAJIvq013103; Wed, 14 Jun 2023 11:58:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=b9Yo/zfPhAzgEd5NGS+Y2g7d+SJcdvJUKmPMfCa4RWQ=; b=xwchRnEsk19BIOvRZkHt9R6gChu8jLfiWuigh86EPbYdCiUfODqFxFeLaJ1VcIq8tVwF mPTmr3bULyH/IMQT9r/lsp8XmkG58GEHBoiYzQwEZ6A/7KfEvjaVuzzNhRuXnm1q6J3V PVZQKXh+TmWzv7rwLVBsoFn0iQXvp3h31Dbfg4rqQgyYbtxlwTMVHmq7fBEM7xNrWEMh grLPWnRM9MHEnBxt63B9rmysqlG4sXofFyeJipMP14fqgsfBtc+nfFhR3h89bv4/izGm 9jKjbos3FO6wOYpvKvNrHxDfYyK3YIpxfo5UYtvCtmrzraG5cBIFEhwwOBu/a3fHSmDp Xg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4fkdq9bx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Jun 2023 11:58:26 +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 35EAFIVu021624; Wed, 14 Jun 2023 11:58:25 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3r4fm5f5fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Jun 2023 11:58:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UM9ymqXzaZWqOI1m0Pj38QZCLdS7PjdBn139aQkuBIXmmx+XcinUHfeJIqHcomBINzwcJ0G7vjoFbj5iBR6bdoiKTMQlI9e84w5dj4BCg+BknAkqlZIRQSY30AkdJrwqFbwVwNCTmNcEzacwemzfcZQ3ZvGxN/nbTBS1LXnGR0QrFsFrdjK1/twNhsLHeBEQhR3ecmfeQUq0cjuiVk4K7wWneItSav3Gh9NVPoofGk7dWuFyeaJAOZn/OveubdEavpbkWBdpR7UdKABnKikg7L1kbUOMZL0MX5sOXFmTiMmhICO3+m3F7IdKSQiApUEzDZwKoEZFW43SY1mrLf7ezA== 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=b9Yo/zfPhAzgEd5NGS+Y2g7d+SJcdvJUKmPMfCa4RWQ=; b=X9laYR8wpBb8AgplDP6DF302WyFDky28MJUO1rnbGVlHuZD3bilO3jH9DN7F8uIZrwHvMEEzEu7xhn8SFE/80eLolq3XwJmGHcSqEuM/l/xEvQqBc2Sn7+POOAV5PMXQx3d06nTOC5KkljMRdvC/RlMpXT8txR+H+7JTum3ulgR0Lvx11vF4kEWIWt69JM8rbn4DgEOwsUZb7Zs6tocPlXSnsUMK0x8xuRNCbuU0o3BW7knuNmos5E0Eusu7CZY+QSGoXMOnS4tNn+Z0BRXf7EZQPNXrmhr4KU2x9oVwyDgKC7vWzGKfhiJjs2P6YYJsppsOU0woI9yFxIrtHJwBag== 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=b9Yo/zfPhAzgEd5NGS+Y2g7d+SJcdvJUKmPMfCa4RWQ=; b=jUMHqgQmONODdzIvoCptwFLq4J1QbQr9paCtUf8UidC/iGu1IfXNcbmizIFSv4fsNO+CEUVAQ1EUmGgy//9UqcPuO94dOPjSg3+fnii3Ekqw4LQiHT2xn8hIO6QVRRSWy07Ns42Ie0NuS2BwCuTzJ3nV0lGNNw9Qhz1fOCk+9Fw= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CY8PR10MB7123.namprd10.prod.outlook.com (2603:10b6:930:74::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.29; Wed, 14 Jun 2023 11:57:51 +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.6477.028; Wed, 14 Jun 2023 11:57:51 +0000 Message-ID: <0e2f9ee8-4b4a-4b6a-5dbe-5830778747e7@oracle.com> Date: Wed, 14 Jun 2023 06:57:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v1 05/21] arm64/kexec: refactor for kernel/Kconfig.kexec Content-Language: en-US To: "Leizhen (ThunderTown)" , 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, 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, xin3.li@intel.com, tj@kernel.org, gregkh@linuxfoundation.org, tsi@tuyoix.net, bhe@redhat.com, hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com References: <20230612172805.681179-1-eric.devolder@oracle.com> <20230612172805.681179-6-eric.devolder@oracle.com> <29427d7c-7d81-9bda-0067-d17b51952cb4@huawei.com> From: Eric DeVolder In-Reply-To: <29427d7c-7d81-9bda-0067-d17b51952cb4@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR07CA0073.namprd07.prod.outlook.com (2603:10b6:5:337::6) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|CY8PR10MB7123:EE_ X-MS-Office365-Filtering-Correlation-Id: 8f042834-7886-44a6-30e4-08db6cce9462 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4EgpJa/q4V5a0cb+3ciq1s2Mvr9PFZ/t/piE9xdLQiTEkpiNddzCMCjgXxEM9NkzZmxlCXVmzd990B7fYOojQt+aWkhZ8zwYlXNto0QOamWEG6VJ2NI0PpBYYLomK6OQRTzJtbz4qVIopoMxPCZY3LExHZh2YUY2cqSAz+9PCEA96zReQtTc3g5Mx42fxMhzstIj4tCADvdyUVpI2IYQeJXg5x0GB7ivUCpMsKD5Hc0VP0FTrg/TuSApxcsaRgMz6mHcMmK6vurqduNiZI8vZo/epffnvAW7nnOnT2s4BzyzdymdO9aEry9I8TfPX+IfJaiQ0lkheiGA4+lNJmUHOng7CR9sU/5QtfbxJqHN24JFoOipg1U36sr3VnRXG2pWmIdGfp7zFbF6wc1idfNhSg53/E8JVPQO+hzJxi9Xxcpl3dZfzh20Z9PqeTWeTEhWef2TR9OfcYx35LqLAqmgebAEoQTTObG8kUbeoTv3twBEChJSbSzFoQJqXEL3BOBuSm6CLkSzGLXxiQ+ROuhwvvOvS/y09kLNbRvQxIOWJaVLe9zTJ2gsDpWhEaBtrIf6Mpybv0vEBhnux4Y8Ob3IfHKhbLMDjmxR/QbV5Y1qvXaT0RlckfpL9F97w0rNbm1vxBHNTWqS7TZXrPdaochLRyzA9nOjj+nYuXG+WDlynN8= 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)(136003)(39860400002)(366004)(346002)(396003)(376002)(451199021)(31696002)(36756003)(86362001)(66476007)(66556008)(478600001)(4326008)(6666004)(66946007)(316002)(107886003)(6486002)(5660300002)(8936002)(41300700001)(2906002)(7366002)(8676002)(7416002)(7406005)(38100700002)(921005)(2616005)(53546011)(26005)(6506007)(6512007)(83380400001)(186003)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QTFEbUhJbEhmUG4rS3o4UWZzaXFzS3FHZm02SW9xNXl4bDg4dXByUGlmdGRF?= =?utf-8?B?Y0llV1VYLzJ0cmJxM29YdUVZNXMvdWJlT0Vib3QyT1lZNWZWK1RNTGJLcHpQ?= =?utf-8?B?bUpBZ1ErY1hVZGlzdEc0ZTdKcEFhRDRzd2NjVlBmYTJTTmh6Uy9TWW9uY2RX?= =?utf-8?B?SXlqN1lJOE0yZEhjOHdzYmI1UFZkWXlndDc5UlNqU3lXeStYajdueU1pTlox?= =?utf-8?B?QzV2NDJDM29kUzUzZ0VTeGs3UVNCNmJlckZiYkpWNTdmd0grWEF5ZE9nNWRH?= =?utf-8?B?bXVHbjBVazJEc2NrRXBQSG93YWZNZUpPQ1dpL2p4NTdFOVVFTnpZWU9lS3No?= =?utf-8?B?QURyamllTllldkx4TXhsNzlFdkErSEluODY1VEwySnB3Y0hJbGN3VkJOR1Qy?= =?utf-8?B?ekJNS2Y1eHE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JpTJwzOKDF8YE1A+ajnMLh6KLhKvfHTGbgeC36CvslPNwiGxJSrE66psdjNmFi8tKyhhcdAehdjH0egZYJjTXWKZ1DCLYifef+9uDTN2eNLyMhZgdWYvvI7Iy47gnDD6U+L0Wqw7zHTeBmXYtmF3Am2Oh/TnJdomXW0z7mPRRNYkQ9xjSLAUFdVc2fZ0vnqNjnihJMDqNyjQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f042834-7886-44a6-30e4-08db6cce9462 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2023 11:57:51.3933 (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: pzETc2oC2lVCZATjw+ZA2KCmL4MnSyyr7KamSxVPGYoaH70KaDs1iq8UBx8feB0kkFP8ggOgLXew+zOoTDbf0uuHu1SE0eIakRpfeyBEpZ4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR10MB7123 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-14_08,2023-06-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306140103 X-Proofpoint-ORIG-GUID: LPbsoxk9yiE-DL4hUdUU_g6xSleTj6fo X-Proofpoint-GUID: LPbsoxk9yiE-DL4hUdUU_g6xSleTj6fo X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 6/13/23 20:22, Leizhen (ThunderTown) wrote: > > > On 2023/6/13 1:27, Eric DeVolder wrote: >> The kexec and crash kernel options are provided in the common >> kernel/Kconfig.kexec. Utilize the common options and provide >> the ARCH_HAS_ and ARCH_SUPPORTS_ entries to recreate the >> equivalent set of KEXEC and CRASH options. >> >> Signed-off-by: Eric DeVolder >> --- >> arch/arm64/Kconfig | 61 ++++++++-------------------------------------- >> 1 file changed, 10 insertions(+), 51 deletions(-) >> >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >> index 343e1e1cae10..33552476a877 100644 >> --- a/arch/arm64/Kconfig >> +++ b/arch/arm64/Kconfig >> @@ -1433,60 +1433,19 @@ 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_HAS_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. > > I don't see an alternative to this option. It's used in > arch/arm64/kernel/kexec_image.c:135 > Good catch! I will move this into the common options. Thank you Zhen! eric >> - >> -comment "Support for PE file signature verification disabled" >> - depends on KEXEC_SIG >> - depends on !EFI || !SIGNED_PE_FILE_VERIFICATION >> +config ARCH_HAS_KEXEC_FILE >> + def_bool y >> >> -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_SUPPORTS_KEXEC_FILE >> + def_bool y >> + depends on KEXEC_FILE >> + select HAVE_IMA_KEXEC if IMA >> >> - For more details see Documentation/admin-guide/kdump/kdump.rst >> +config ARCH_HAS_CRASH_DUMP >> + def_bool y >> >> config TRANS_TABLE >> def_bool y >> >