Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7784473rwd; Tue, 20 Jun 2023 06:16:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6wmezRX7O9FAeGbtcTDnD+fPXcf8zhNykWZwNInXQzZhUZ256t42VNqy9+CEwtQNYpmcH/ X-Received: by 2002:a05:6a00:b8f:b0:666:5fc4:36b1 with SMTP id g15-20020a056a000b8f00b006665fc436b1mr9484755pfj.26.1687267009503; Tue, 20 Jun 2023 06:16:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687267009; cv=pass; d=google.com; s=arc-20160816; b=rngeIyPbcAFI2LDmbDhcw4c+wEakgDi4Udy9446eIRZv4uYlI9uZIqYl+X+JaDFIuO c/YaYSjTFagSaM9sh8U9mbmigWMHybaTldOmfcxtGDXWuzCbFjMazcMQpyv+UdWfTZlR SjXwGnCJp5NumyqYLPfVDiMN9Aui6gyYTgSHdWXCKHcm74h8p3ABJTGwVovcunVJ+7R4 Bm3MKMAVWki1RXvmhdHva82yjPjcEQOcLalH2vn/1eVEs2DzeBvpXE8bpY7l9dieWh5r V7wgC/4KuhSxGgS3lbYaK266V7ea8Oe32Oc/blCa/hXu7kQY7Nw79YEFg4l9hqbhAz8A olzw== 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=veatsC2vSVKGqQ/lD8H1WIQVL5uuJt62V+kAvc3jr/A=; b=gNuczCC5s5G10jcQammnP1LyF9M7QAbuFIcgrRjQs0FsmAfQxKANwGP/VG9Nq6L1sl 8NWnNvy9vQl+AMaseXWv4D9Wz7wYHIEegNw11QmiZJ8yTusIf/H9yKsantCR3Jsw2bTC DAO0pL+hiqFjZL7bqJ9uEhtadV1NgA4OLpCcu+ZboK6OReap2TozanJeZjrvr+9fGTFs GpOXZS1mZ+Dw+QGHgtzotB6F4eynRHn1taOeOUBIIyvwOBkbGcaygFdWdu06WLSj8Q3s 23m8elDYB2gLb+fGz9IguiGChLN5kbw4Ig4ndg4hQWqfJb6eqvq/+QSSebBV/JAH8FTa OBbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=O3wv229u; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=sjCAqDIO; 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 z19-20020a63e113000000b0054fd06a3585si1735211pgh.158.2023.06.20.06.16.28; Tue, 20 Jun 2023 06:16:49 -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=O3wv229u; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=sjCAqDIO; 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 S231865AbjFTM5l (ORCPT + 99 others); Tue, 20 Jun 2023 08:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbjFTM5j (ORCPT ); Tue, 20 Jun 2023 08:57:39 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01B4AA1; Tue, 20 Jun 2023 05:57:38 -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 35KBHF0m004664; Tue, 20 Jun 2023 12:57:10 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=veatsC2vSVKGqQ/lD8H1WIQVL5uuJt62V+kAvc3jr/A=; b=O3wv229uvHNzDzhnEzKRKHsgxMe6A5SBMml8o6vm01dmxhDyHTxURS1yQXm2pPZeGSSj 3ZkdI7p/qj8wlxEGnZJO1RUdXbNK2Vb0VVEiN6MR25OozsdJ2MFqVbCTSlEKcaFpTZgh teHV+7dO+zJ4JmlteG4YskEGkrlwp0f/xgy4gte+NNWTEz6Du9xxSZBhaCjRXnq7eZsT EIbBszz5cTUFWzsxbWMVNGYCxptVpHNCnZYyTdxdiU5PKlxv/bInOUiTEeqoFo3pGVsD 3oYr8qknH3QDTSzNuWF+k7sfyQNw91OIYV3rcW5tjZWmxr+kTddkoqcFAyFFPUVpYl8A Bw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r938dmm22-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Jun 2023 12:57:10 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35KB3e4o038725; Tue, 20 Jun 2023 12:57:10 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3r9394hgwv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Jun 2023 12:57:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EZDOu3EhJG95d43ZoYqguurASZJniRuIq37YRe+PkFoK0dphVZrSV9VsrRJyH3+mF+ooyaspLnjXQl3PWcC3WjFLLopooYocJxmclJ09Tf6vmUal6dGseatqx+i7UyJ8RPPmhVOG2H75UR6Bc6hKuFfJc+tMS7RHA/z15uzYHWaJMTE2M2eZYRurwWvs49UAa1KYbkxChEgKy/uAJUoIrJ4xTUFWtR+SrYqrwM53HgCnlbzLqpvL8x4XTkjvuz+bb8f6KzEpPUbyl1T9BpcWxNwkRIT0CcgP2bmZpQfUrP+T9wXlOiO744tWA6hLwP85QFjecfHeirn8Ct0D6LN91A== 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=veatsC2vSVKGqQ/lD8H1WIQVL5uuJt62V+kAvc3jr/A=; b=L0p/kdOkeCFZp0FWzDXlzdx8+uq1d9sxbYxFpbkVpPGLirjqY4OYNyZaCn1iaTprK4HGtDYlL5hfZXU00XY9vPm/TwMocqtfBV9sDt00/+a5jHQ2u2qOvus2b5PqDjZ69h1ZduOOg0ANTDaURfS2P8gGFikeLVCxguqSrCFq8d2XfRtCHTcgvCTpInUXqDqcgE0LH5pC+YXJr+xjLQPDE6Zc72hVSvM6Yh41oI8j8OxOTM3Ng+9XshyeClK8UlFCx18/OwO57+sf0LC+2MKFObrzZSAbMyKhpr8Jog974QidwigsbwwPp/K+j1ePggifnnfIeLUgES3wM0n6Lnv4Fg== 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=veatsC2vSVKGqQ/lD8H1WIQVL5uuJt62V+kAvc3jr/A=; b=sjCAqDIOJUU84tQdFB4Mr2S9xozSE8HZ1dasB27fexEz1b5rUmJ2s34Sgr7azBy9xxqlC/N0GGdRLoxJ3HMfG8vm6pLOpGrAHaITWNq2ym2iIRWwS6eyZsaBvOY7A17j0ChYqcTaYtViCluG3ukJPoV653VRUH+MfJapoH3aiIQ= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by MW4PR10MB5677.namprd10.prod.outlook.com (2603:10b6:303:18e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.21; Tue, 20 Jun 2023 12:57:06 +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; Tue, 20 Jun 2023 12:57:04 +0000 Message-ID: Date: Tue, 20 Jun 2023 07:56:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 02/13] x86/kexec: refactor for kernel/Kconfig.kexec Content-Language: en-US To: Baoquan He 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, hbathini@linux.ibm.com, sourabhjain@linux.ibm.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com References: <20230619145801.1064716-1-eric.devolder@oracle.com> <20230619145801.1064716-3-eric.devolder@oracle.com> From: Eric DeVolder In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR13CA0061.namprd13.prod.outlook.com (2603:10b6:a03:2c4::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_|MW4PR10MB5677:EE_ X-MS-Office365-Filtering-Correlation-Id: c338f780-a942-4197-2b90-08db718dd87b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +RbUqNHhJSHoMsJiLlpDpwS0vKzWWRT0NWlBEDvTLFVQSAIHTHIMYiSmudR1p9nc1FHUlhpOFR7j4r72tuhJJBwVXHUTHbSXlL6PNWw0ksNYa+EHBPn+Yr0kIegnWxk4M+uRz600yubcpAJkbCDAuAH6E3y2MKykgDTqlr5d24fwT1z/AZGb68P3GyYgaXDpQlU5YrHbo4AuxklyEV3On+9P8GErBb4WnSvNSXETXa7OD6YIxDtIpIhx9Eof/5qKgViarIvfZSRCyLCWTeIlg76BqRN39z25DXaQudNJ3lbTgKWwl3lcrggB3dCaC2T4AAJuXYYKZP6AkOiPatJVgwEyZXy5pZqujuYHErJscmQTx0ctc22knlHPmog9yrncr/dkOr7GCJbbAUD3MYIMWgAx4hkpUh6KSCGili9Zyvf4wGJL8wykX4/uR4xB6NoJl74Sj8XCL+OdOXMxykm0B8d36I3mPsvANjXPg/YZZjmr6/IIR0bKWgiuXnu5EmrjvkjHJBX4bh+sPPo4vMAbLDpUPaBGl5J0l5zIjX6RHV4SyPIscfwiZ/HnQEV6LxT0Fwuqb/sXB8N86EqNftlZ/f0AdpFnf74k1T3funh02ky28TiELk14YSRpAEqW7PFMg4Q4InzSuyFqIEGfJIp3QA== 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)(376002)(39860400002)(136003)(396003)(366004)(346002)(451199021)(6666004)(6486002)(478600001)(186003)(26005)(6512007)(53546011)(36756003)(83380400001)(2616005)(86362001)(31696002)(38100700002)(6506007)(107886003)(6916009)(4326008)(66556008)(66946007)(66476007)(316002)(7366002)(31686004)(7406005)(8936002)(8676002)(5660300002)(7416002)(41300700001)(2906002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TWxXTnRTOEJ1UEZRUnF6eThhNWlKUzhHeUJtci9SZzVzL1AyTU1OVXFEaHJv?= =?utf-8?B?bVN3UjhhOVM3bU5DRU4xc284MEhXNWtFbGpwZk5YV1JsQjJRZ245ZkdML25h?= =?utf-8?B?c2hvbitvc3JjTEdWdzVhMmY2K2p1QmxVeVpieEZtVXVNaWZnNUhCNmkzV0Ri?= =?utf-8?B?SnZEN2gyS3JFUHQ0TUhGbkoxV1Exd2ZHSVFTRHljcmVLSFRoQXpIcGlDMk82?= =?utf-8?B?YkQ3WWNtRFQ1Si9mOGhBbXhxZjVuZmhFeEZEN0YySzJ3OEQwQXpvSkFPUjh2?= =?utf-8?B?NDl2a3NDR2h0d3ozbzY2QVZ1Q1cwZGVmZ3lMUXBLa0hTazk3U3lXdkRlNWsz?= =?utf-8?B?NllkREFGeTEwYUFTeUhKS0VlQnl4WHdFSm1lYldYTkxyeWF1aThtT01ldDha?= =?utf-8?B?UkROZE9wVjJGR1l1TTJYMktvcHMxcUtWWVIwTXdXNnZsWnFrUkdwTUFzaDd6?= =?utf-8?B?emFhZHhQWUM3Z0RGQW11Y1FrVWgranBvM2JpeEV2RjZWZ3NqS3JZdEZiWk55?= =?utf-8?B?ZjhrR1dBejc5Z2RsOXExS21wc1RUbm5rTzZjWUo2Ry9EMHpD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QCqmAC8Fk4Azl4VB3+7PnlNf7I9T40V8Z2eCmTkmHpu83g== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c338f780-a942-4197-2b90-08db718dd87b X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2023 12:57:04.1614 (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: /SXPBjqWFjCas0MA7wYAQnCEIdYJ9QfhxIJ52Ar4WIjquyarrwz9GvdIvNDCyBlq7ZOknIedHrdhUTekH90Cx7sHL4vB7NrTZUbjCNIMh7Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB5677 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-20_09,2023-06-16_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 mlxlogscore=912 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306200116 X-Proofpoint-GUID: uspd2sYxZpajd9hCmMWFZoSsWWXy1Usv X-Proofpoint-ORIG-GUID: uspd2sYxZpajd9hCmMWFZoSsWWXy1Usv 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/20/23 03:21, Baoquan He wrote: > Hi Eric, > > On 06/19/23 at 10:57am, Eric DeVolder wrote: > ...... >> +config ARCH_SUPPORTS_KEXEC >> + def_bool y >> >> -config ARCH_HAS_KEXEC_PURGATORY >> - def_bool KEXEC_FILE >> +config ARCH_SUPPORTS_KEXEC_FILE >> + def_bool X86_64 && CRYPTO && CRYPTO_SHA256 > ...... >> +config ARCH_SELECTS_KEXEC_FILE >> + def_bool y >> depends on KEXEC_FILE >> - help > > I am a little confused about this ARCH_SELECTS_XX adding. Wondering what > limits us defining the ARCH_SUPPORTS_KEXEC_FILE like below? I have limited > knowledge about Kconfig, please correct me if I am wrong. Thanks in > advance. > > +config ARCH_SUPPORTS_KEXEC_FILE > + def_bool y > depends on KEXEC_FILE > depends on X86_64 && CRYPTO && CRYPTO_SHA256 > For the ARCH_SUPPORTS_ options, I chose to list the dependencies on the def_bool line to show that it took all those conditions to result in True. However, as you point out, using a def_bool y and then listing them as 'depends on' works as well. Probably would have resulted in fewer changes to the Kconfig file. Either way is ok (the 'depends on KEXEC_FILE' is erroneous in your example). eric >> - >> - This option makes the kexec_file_load() syscall check for a valid >> - signature of the kernel image. The image can still be loaded without >> - a valid signature unless you also enable KEXEC_SIG_FORCE, though if >> - there's a signature that we can check, then it must be valid. >> - >> - In addition to this option, you need to enable signature >> - verification for the corresponding kernel image type being >> - loaded in order for this to work. >> - >