Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19227177rwd; Wed, 28 Jun 2023 06:47:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4B63BMd265jfqDMtGTAbPQ0Gf4QcwIQSh6QLVEfqQyZQMeEydjUD1bx/KS6tnwfU2R5PQO X-Received: by 2002:a92:cf50:0:b0:345:ab8b:d674 with SMTP id c16-20020a92cf50000000b00345ab8bd674mr8841439ilr.12.1687960070582; Wed, 28 Jun 2023 06:47:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687960070; cv=pass; d=google.com; s=arc-20160816; b=U4q0mL3EdQoDBTfPDXV+DVHbaH2HwM6il2tFf9ESk4TVomuOEl0H+4dfyY1CANa74a xV5ISZ5xnfvhQUfmi8+x1xfAMIq50TiFMABPBZa+pFH8FQYQF5ibIwv0EdO5JWQRGrpX kHDTdcdXgOrDqmjGBcLSlH4k1vBtCA0RatBt+i97j7LqCqPUlHlSRaAzc9C9C4eMhoBb duKuDWPRX+tHmJ650GbZ6sZRfbD9SBv7XLAE5yK08wbITIh8HLbTuA5wMCkjpP/3TM10 6Twv2zbHs5Q3DInGxkF5RLDkZaRVxbyguYe9iMIo4TglQBR4VGjvEcZgeZAzMJs+b3GI oZqA== 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=xcIR9+7IkYg8hVo+LNN0seB38kT5QlJ+/NVm/siVnCo=; fh=4SMsCLRh3q8o93FqiJ4j6h407kKx2TKlQe+bmHs2qpc=; b=Ieay5Zd7mZp5AuuWKkXQiBAJoalhoQGM7sz5EqafWfwoHpfCarcsOeTGi3bEh50IlP IrR1250ORKdqRwhs3hOXWoc2B2awahHNiOYGMPp5XSdpkBbKo4etaN4W9OywLdjQF5r1 2tfmsjly7czDmDqNSsVRnWLuaVJ937F6tFPVWlouHLj1e0ns34mu652X1NQ6U6R86FSm vcwAk1SXGNSeUsP37lbQXZgxvFdeum4dAv+oSl3qrWfYADjW2GPNk9pnAksBiOzPD8ZI tJ/u0vd8qUUd4xmP9gAP9JBkuWRPsomPPvG8xWRWaDHh6NsWgX5Bq5giPic6+qR3ot1G etMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=B7iFCq4A; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=hU8Ixlnp; 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 g10-20020a63520a000000b00542d3727da9si8908281pgb.464.2023.06.28.06.47.38; Wed, 28 Jun 2023 06:47:50 -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=B7iFCq4A; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=hU8Ixlnp; 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 S232156AbjF1Ng7 (ORCPT + 99 others); Wed, 28 Jun 2023 09:36:59 -0400 Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:4698 "EHLO mx0b-00069f02.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232042AbjF1Ngq (ORCPT ); Wed, 28 Jun 2023 09:36:46 -0400 Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35SBTAjI003640; Wed, 28 Jun 2023 13:30:59 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=xcIR9+7IkYg8hVo+LNN0seB38kT5QlJ+/NVm/siVnCo=; b=B7iFCq4AiRJoab2n565ObD7zPfsEWNjMbOBpi6NAQvaSJKVw2SHfwYNSS/MOQJRtXLYb xFhYZGRBT8u/JrB91PeSRmuwMUbhFEvQpAShQDK2m/ndAygIzt0g1AFARDg+X1H2bCy6 ppXQ9xFm73lZ6ZCp2s90yaOIHbUpcoV5+3uo4Dr5M1x+UtHTBpyizCrHeQITenvg5WTh gqR0VJhx/jcsxXDEFuai+LEDIArJbaKdCpGd43XvgBtEmpODciqBGa/JExy6LbDWXGg7 isTZ0r9QTfELcHNFoXdI085/oQW7wPXNhY71QXYrJfHb5g0lOri4oKktCBFiSMTw4UEq qQ== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3rdq937gpf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Jun 2023 13:30:58 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35SDAuRI029607; Wed, 28 Jun 2023 13:30:57 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3rdpx60t3r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Jun 2023 13:30:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aeveih347uUKwE1PDfVU57+tr4eH5JKzsVVt/v8abvGjwL+F1UBL1P7Z26LAGM6O+120ol04oUrZ5O2LuOEZCJo+GR1D5ShYXjsm390q/wvaW/E1AspsWfVd6rVGqf3JmbQeo2op4v7GGrD/uIO6us13R4Pfuc8chXkNTqKE59zWdJU2VCUoR8u2B5Crj0ZHsVD7FMOEawrd++srGfo+mQ8ZNe8g7koD6hQsWWzPdbZp1yasd+wBZ3uM6AwEdAAs+EWlKGw+okOWnGeCl6gLOBOb6ZYEeIAuBeG9y6WruuNhDxbN9XrhXomSMQZXysRp6F12MmQ0ql6VpJYArhLf+A== 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=xcIR9+7IkYg8hVo+LNN0seB38kT5QlJ+/NVm/siVnCo=; b=mXHeitUqH2kTcf/MfQZu7aWw91qXQpiCJazn4bCa0PA6vWp2JbvB6SaLV1t+ZSC9o0aZTSt/1qoIaqsiTMblzNE1p0SYA9FEb1X3uBhSFCycy5Z+99xNOZqqEBvtwmEzZRCKb2VAV6D5f7SCnCj1U2kx83zmm+it0a9WfTU2PuhE9wrLcQJ4a8SByOtH84zy9B7aWofBlqLI8DEaIVJR4ywd9i0XrNsuDi1Egg/33rCbER64jzOH1srbwZymPuMJqme8dhYhqxuhGgXbe1kRiRnkfAQkKOK99jZ6Hd9u6CtcP5CqKiytRjr78TOaND0g1EJ1fbBSC+5MeL9BvNj/mw== 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=xcIR9+7IkYg8hVo+LNN0seB38kT5QlJ+/NVm/siVnCo=; b=hU8IxlnpBnRF7rbSH+e5c7Fhvh7R1YCUVx9ZbWMZW1yM+EYv2ToEBUoPUDvEZUpTsY/mme7fIvgqzAtzSdfZ3O3E04XeKODyBOZetKAighM6wSbg7xYEmkFrbBg9ZLISVbBjMfp+HuO1iYD1SF9jClyctiWcOXe1aMv+5rtpoqA= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DS7PR10MB5166.namprd10.prod.outlook.com (2603:10b6:5:3a4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Wed, 28 Jun 2023 13:30:53 +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; Wed, 28 Jun 2023 13:30:53 +0000 Message-ID: <8158b5de-c2c5-2b4b-a2c4-5ace9a17a99b@oracle.com> Date: Wed, 28 Jun 2023 08:30:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v3 11/13] riscv/kexec: refactor for kernel/Kconfig.kexec Content-Language: en-US To: Conor Dooley Cc: 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, 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, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com References: <20230626161332.183214-1-eric.devolder@oracle.com> <20230626161332.183214-12-eric.devolder@oracle.com> <20230628-urologist-faction-42ebe5372206@wendy> From: Eric DeVolder In-Reply-To: <20230628-urologist-faction-42ebe5372206@wendy> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0015.namprd03.prod.outlook.com (2603:10b6:a03:33a::20) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|DS7PR10MB5166:EE_ X-MS-Office365-Filtering-Correlation-Id: 2821a4fd-9f1b-4999-2bed-08db77dbe55d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zV/pq6YnW3nCMf2W925/J71RpoglFBi7KV9BQS2Doy+7D3xkEVzt+RhRBGJTPElZtAD1XaK3YXya2bl1PmdwIOlzt+i3SsoB0mnUtnwwEH1EAXQs2b0aX7ENqgVluJK0bC/UXugKelwt2gYbVgIokKafZABpzz/jslnkOXfmfQ2K0ixdT9GVQCL89GGxQnxsYPgKQHfBblep3RG2K3k8TYVZM2DyuW5airj7Af0OZTTHtHs180lYl7GuIIOfpRe60Q+unKejClhF4Q4xY6aKVP1+qZX6eQNeM7fhWAiripb0B3bKRWMrPDais4JcHGjKQl3GhZxsdytT7VhpKyrdZNYc8Wqf97ZmR80H8eJ3tEzuRpdPZL4l8sRTLDaFYZ0HrcQPT4MOWVfWJvoaw2UoYIVyFUecJ3Qn9yPOQ2hORIYi+J60oqlQiDB7ofr9FWKg2ncaRNyRRKZB+uWSxKuVqVyvXbQiVlYuLnCJb6k5NDBPgsFj6tHXm3HNILl0zB13rimyDtQIgymAEVSOspbQY1kzOWNMHESq4Mgcztuqx/nnHlBwZ8nOriQ+Y0FglaVlmn0Hi2jxfC+wqmw6rnb+F4phYYS8EcF7ZZScBib7qxs9YgDxborFwT2kKAHZcMzuGkfHw5hxqisueGrR4eYklg== 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)(396003)(376002)(451199021)(38100700002)(36756003)(83380400001)(31696002)(86362001)(31686004)(2616005)(8936002)(6486002)(6666004)(41300700001)(66556008)(66946007)(66476007)(8676002)(316002)(53546011)(6916009)(26005)(4326008)(6512007)(107886003)(186003)(6506007)(478600001)(7406005)(2906002)(7366002)(5660300002)(7416002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bU1CQVhtRmtkWkhNRS9tTFpCVytXdVhhVXBNSzAyaHhGcTg5VHlpTUhmSjlr?= =?utf-8?B?SDY1Z1VsOGo4Ylc1bmgzMExTbWlUSDNkN3hRWjUvVUJWM09rNVh0aFZIdDNx?= =?utf-8?B?NVpYR3MyNU11bVNYY3NqSTdvckdCRkdSQ25nS0h2R2FvR2MwaEJSU0hCMlhW?= =?utf-8?B?aW1jbzJkb21rVDM3emVKSHFNUEx6MVZydGdGVG1KblhRSlVORkJVMWs5aFlF?= =?utf-8?B?MTNBR0lJZ00zSHEvODR3T0gvRnA5cnJiQXFFSHZYM0N6eDlZU09vNHlEcDQ5?= =?utf-8?B?SVd4TlkrazYySmp1YjRxWk9oVkVBc3lHMWRKT1dmRmJtMk5RVnNtMmhrdndV?= =?utf-8?B?eVVnQkttU3JtRk4zRHhoUFZra0hMN1ozT1dxaUhDd3hvc3BEVnFjamZGSG5M?= =?utf-8?B?YzBJNGdqall3U0JoZ0hwQXdLeWJzZi9xL21qcWdwdGUrbTFtdGI5S3QvY25n?= =?utf-8?B?ZnFlelVvQ08zSUFnMFZoNjI4R2lmaFhDLytCbjUvMnhIOGVJZnlUdFFSeU50?= =?utf-8?B?SHB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inKb0DPa0rYQO3CqjpYIF66MINgUcxWLcZb18aJgNX60PcGSUy9Uy5mO1ss2pgIGsuWJw8sqE5n9IFjvWQMmf5AK/KxIncFFGwXG4vDQRLZP77Unf5os9jWC X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2821a4fd-9f1b-4999-2bed-08db77dbe55d X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2023 13:30:53.5530 (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: COj5tdljajzTM5GwjG/czGSUNDPZ9ctwfGiNtWCfNMmto4UrgcbtO8em+fl4jgvIDH4RWyM61fTA1BHJMGSJgZPYQC0CVr890Xq56GMnkwo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB5166 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-28_09,2023-06-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306280120 X-Proofpoint-ORIG-GUID: 2R7_TIJwpnZhb78eOaUZ1eLNDHaj7McR X-Proofpoint-GUID: 2R7_TIJwpnZhb78eOaUZ1eLNDHaj7McR Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/28/23 03:20, Conor Dooley wrote: > Hey Eric, > > On Mon, Jun 26, 2023 at 12:13:30PM -0400, 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_SUPPORTS_ and ARCH_SELECTS_ entries to recreate the > >> equivalent set of KEXEC and CRASH options. > > I find this diff a little hard to follow (since the other half off the > change is in another patch), so it may be me missing something, but are > you sure? > >> >> Signed-off-by: Eric DeVolder >> --- >> arch/riscv/Kconfig | 48 ++++++++++++++-------------------------------- >> 1 file changed, 14 insertions(+), 34 deletions(-) >> >> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >> index 5966ad97c30c..c484abd9bbfd 100644 >> --- a/arch/riscv/Kconfig >> +++ b/arch/riscv/Kconfig >> @@ -585,48 +585,28 @@ config RISCV_BOOT_SPINWAIT >> >> If unsure what to do here, say N. >> >> -config KEXEC >> - bool "Kexec system call" >> - depends on MMU >> +config ARCH_SUPPORTS_KEXEC >> + def_bool MMU >> + >> +config ARCH_SELECTS_KEXEC >> + def_bool y >> + depends on KEXEC >> select HOTPLUG_CPU if SMP >> - 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. >> >> - The name comes from the similarity to the exec system call. >> +config ARCH_SUPPORTS_KEXEC_FILE >> + def_bool 64BIT && MMU && CRYPTO=y && CRYPTO_SHA256=y > > This looks like a change to me. Previously, only KEXEC_PURGATORY > required these crypto options to be like so, but now KEXEC_FILE needs > them too. > > What am I missing? Conor, Thanks for looking at this! Indeed I erroneously applied the CRYPTO=y && CRYPTO_SHA256=y to KEXEC_FILE rather than PURGATORY. I will correct for v4! Thanks! eric > > Cheers, > Conor. > >> >> -config KEXEC_FILE >> - bool "kexec file based systmem call" >> - depends on 64BIT && MMU >> - select HAVE_IMA_KEXEC if IMA >> - select KEXEC_CORE >> +config ARCH_SELECTS_KEXEC_FILE >> + def_bool y >> + depends on KEXEC_FILE >> select KEXEC_ELF >> - 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. >> - >> - If you don't know what to do here, say Y. >> + select HAVE_IMA_KEXEC if IMA >> >> config ARCH_HAS_KEXEC_PURGATORY >> def_bool KEXEC_FILE >> - depends on CRYPTO=y >> - depends on CRYPTO_SHA256=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. >> - >> - For more details see Documentation/admin-guide/kdump/kdump.rst >> +config ARCH_SUPPORTS_CRASH_DUMP >> + def_bool y >> >> config COMPAT >> bool "Kernel support for 32-bit U-mode" >> -- >> 2.31.1 >>