Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3519306pxb; Mon, 4 Apr 2022 19:40:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnAJfsPJ6IHj+k0V9knc3mTs5Q6KTnJsYjcDE8sKDMXdlMcFwtmpOz2Q9jqX+I35kqfPzg X-Received: by 2002:a63:9d4d:0:b0:398:4583:9067 with SMTP id i74-20020a639d4d000000b0039845839067mr1049861pgd.220.1649126418414; Mon, 04 Apr 2022 19:40:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649126418; cv=pass; d=google.com; s=arc-20160816; b=l3KdmdRgTpjuIubAqcpLoI3N9jXfcp0R/e9/ENBe7GLcDqEG/YlfwSS9jlQX90s2d0 VrUFeBApXm/I/t8PGCkWSC5to9OIuhLAphvWK20jo2M4IcfI89QHLLp9escDJlGslGe2 9dGAMPdVYLkm34AuYhcPBiD5wN3OxeuaHsnbC4grR+qyaEs/SkyGeF5f2oEyvwPKPNXL ZYSq/xPXU52b4WZkjW2Px1NX1WZtLxxzKRsnvk5hfiYdA0yoOctNRG/VyUNGmt/kK5v7 zx4SaHYVPFGTdplE8i3Npx5asUHiKvDAhOxxV68mLF5QmavwuPqoWdPS4Tm9R3caR2dp jxTQ== 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=OXUVH25Z4rc5s4LEnLfoYRzy2Jt5HANWyK6sOGoaL1Y=; b=n6ESEm9wZwxV/tdCceFU+tGgE9bP7DKQ2dS5ty5bE/s0FGKn0g4zFSGdnk2EKmVEvm 592Q8U4F+gPXipj2sGN+Py1/6zhqY/OZmkD7uffVwX2l7BX6TbHL2JAtt4xW8qEu/JCl AmyFO8ArsvMfgfgG8s319GlRQbINVD8TazQByQFSsEXPDT6wxS6a6mDWaWat7SGq5qsg EAhLfYWBhtXiIgoMgD7aFIe6rRuLSsJjeCFkZEBZyn5B+UtQvEaf+tIfTf4jw5ail68P HMO3/h9QjQnaYgkxWVlf+5YW1vfDeeLpsE20a0QPzhfX9PO3oOuFONV8TkIsSEg2BWCA L8IQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=BOSBozub; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AMAiRb4B; 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x3-20020a17090ab00300b001ca7c56dd47si692059pjq.85.2022.04.04.19.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:40:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=BOSBozub; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=AMAiRb4B; 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:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F36B9328FEC; Mon, 4 Apr 2022 18:03:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233708AbiDASeX (ORCPT + 99 others); Fri, 1 Apr 2022 14:34:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347056AbiDASeU (ORCPT ); Fri, 1 Apr 2022 14:34:20 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD1E1E3E09 for ; Fri, 1 Apr 2022 11:32:30 -0700 (PDT) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 231FivZA017622; Fri, 1 Apr 2022 18:32:02 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-2021-07-09; bh=OXUVH25Z4rc5s4LEnLfoYRzy2Jt5HANWyK6sOGoaL1Y=; b=BOSBozubbuD/RHFhrLRQExg2O9d0lSSOAaJ0poA7bvl9OPlMOh7kGMjSAm/tef0Xc0om IfMlZ5xhAt86WGb+YUmzirNvhg3p4CsRRRC3W/955BUjGLnvoAyqZKb/QLwW8h+cKLni tvCUwBm2ds1qNR4chtNOLbBM2Xe+qSwkGcACHcQKdB4GVMT7t6oypEg0zUKDF+Yk73l9 b6cy58UEjECxe3AHhJ7H48vvTbprJjcsFZ2QHFEvHgYcexv6fJfpIncVJ8exDsTqBjhf TL5Rzck8IKb4Aw7ldCLzKXCf+TWm6iPtwUSoPSPQwKSZwQJycJ22LWclBgBWggmeBveG 1Q== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com with ESMTP id 3f1ucu00u9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Apr 2022 18:32:01 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 231IVONK026441; Fri, 1 Apr 2022 18:32:01 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3f1s9690xn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Apr 2022 18:32:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AOT/CkhiE1AzZMX2lG9hWYVRqL/jVCvSgrzaDwUJuP+NY6Fk0Q+YIBmEtcMA1POAutTHYfxUYNsj/btnJ5RFUjB1OwdCKUHYncL5LD2dIt8ybnZN1HqW88lkZbCHm9vUdOcxnP7jYorjtOXZSSaDdkzqt4tvdLYfiVqPjWTlr0YBVYpgPP/MNhTtK96j9m++iYzI3b98QnxIhFf7iH+1TrG3S2azRbvJMX16W1Z89TCq054mKLFZFOtWhh/0K2EnmB8rufoFK6d4XRrx8PMHX+TFgiCioMHNOf/tLqwJ3k2fbwPwZDAvtbR/BvcSKnatRmoCuVRA0Vrk4TwKBHqMUg== 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=OXUVH25Z4rc5s4LEnLfoYRzy2Jt5HANWyK6sOGoaL1Y=; b=HJbmfWS6HKOnGSr6FBmTq1HpCipn5EuOIBWQNAn+BMnbsk1pNrzAQJPKqFbsHq76fLXnkMwkMYQvDSDf0200eZdk1U26ISMhbWHe+R5AoAJh6W+qPN7UEa5gjAfKbbChniuUkta9o0pFQDYop21YURgnyl01VuH3ZdYC8gxSxbQ+R7HwLiNjbKTXTDni+S3lthKc4caPHi/Gp+gpSJTLz/MXDrWP+OhcHJJVfq0a0blu/iyU/HhbzlgrYt7nbVRqsqF8KA9SSysR12Thne3yhwFnbywSOTh4VX5fxcy2u3Nes2kr4ndXsutEo8op0DnvDmXXLsSUax7JIukfbZQm8g== 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=OXUVH25Z4rc5s4LEnLfoYRzy2Jt5HANWyK6sOGoaL1Y=; b=AMAiRb4BLTs6/xMm6nJ8J9ZPjYA3qfPHbRKCMOc/nhtWjadSxGRanWDubzFGhO5nKhRnjhB85Kwgwdr2Sgu8WCq1OZDocH0GkcVEX3hybn2vYXnXM3i/r+E5lYF41IZEFRDJGdmWSHECIMs6zvDmdsGt4GAiWheZjvMfJRWIoq8= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by BN8PR10MB3268.namprd10.prod.outlook.com (2603:10b6:408:d2::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.29; Fri, 1 Apr 2022 18:31:58 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::3188:fe86:1d6f:53ac]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::3188:fe86:1d6f:53ac%9]) with mapi id 15.20.5123.018; Fri, 1 Apr 2022 18:31:58 +0000 Message-ID: <48ee5a1f-8e2b-d61d-3ab3-6730f662e8b7@oracle.com> Date: Fri, 1 Apr 2022 13:31:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH v5 2/8] x86/crash hp: Introduce CRASH_HOTPLUG configuration options Content-Language: en-US To: Baoquan He Cc: linux-kernel@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, ebiederm@xmission.com, dyoung@redhat.com, vgoyal@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, nramas@linux.microsoft.com, thomas.lendacky@amd.com, robh@kernel.org, efault@gmx.de, rppt@kernel.org, david@redhat.com, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com References: <20220303162725.49640-1-eric.devolder@oracle.com> <20220303162725.49640-3-eric.devolder@oracle.com> <20220321115940.GA354864@MiWiFi-R3L-srv> From: Eric DeVolder In-Reply-To: <20220321115940.GA354864@MiWiFi-R3L-srv> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR13CA0196.namprd13.prod.outlook.com (2603:10b6:a03:2c3::21) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fec2126-fa8b-4fa6-a0d1-08da140de7bc X-MS-TrafficTypeDiagnostic: BN8PR10MB3268:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GZiK42XEBDx4CM7mZEGl+spKw5i4K9mOcQyInTGCoeXjLuvxpV/wgkAYcf4PO8qaXlE8fGOa7507poCE19a3A76V1JYb5adLsx5Tf4wEtXqEcR4hm87/sqO9GsHGa46Jxhd/2JM4D30BOn3Y7u0GLqNHcCy1Xl6lFni4T7u1rduGXR2q0UPsghmmzYZSJak0lBNb72edjguS39tcIjtcZng9JUDSLEuuWTaezl1AACmDfvS1Q3sQyxrtVly4Jbydd2FtH9I75mvqKrbuchzc4l9b4n5NIG1c3jJrzaEPsYNUyILMJfbl14pYin49ouOtrj2tBalUrs3yFnKvIVl9X0vtzOhOJOYB5I/7OFFiUaQ6uT58os5/PUuF14g/yuZBx3n3ZdxDcCRGpgHc5eEDV/Ok8i1HUE1vCsTjNajD3H3dQyy48UbDRErSFhuVejnCf3VJDIkGVmdS6b0H1ZHXLp/p6phq0cViBjBp2XJSyRA/1IiN7jWG4C3t6FVFZCs6YuG/LKxg84wnBTcl/dQruUxZLv8KAEFKbXGjKaB6SyMfCMqMR77V4zGZytHLJI47c5osNaegcEfZijgZxcbEdVTTzLG7K+a1XH0xQcxIIMXYTv269HNu0/0zF2FeX4zXD8Hwi+Zvugj/J9Mc9raA9K0VEIO9WMs9OtNWYMtYa15Dq173yFZUd/SA/pzWB1U0TdiByWl9SNrU266/9+xQtSizxvu+sXWIO2clJ58fncA= 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:(13230001)(366004)(86362001)(186003)(66556008)(83380400001)(107886003)(31696002)(316002)(8676002)(6916009)(66946007)(4326008)(66476007)(36756003)(31686004)(6512007)(6486002)(508600001)(7416002)(38100700002)(6506007)(53546011)(2616005)(2906002)(5660300002)(6666004)(8936002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c1laNjFjRHJEY2ZnTVQ1L3c0TFlveG5PNTZTWEh6emtyN3RjQU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nJJb0ZiZm1TZi9jZERvL3dSbXUwQ0pXdTk1djdMM3VBbFM2Q1Fw?= =?utf-8?B?R2tVc2lwR1UvRlBFZ1E2S2ErY2ZQU0Z5KzBGN1MwWWdKVlVHcm53VEcvSWJW?= =?utf-8?B?WmdBcEJsbkovcTloa1BBaUNtdEVGMnAxdC9ZWmRQZXhCUVVqYjYvRVBqbmRQ?= =?utf-8?B?SG1Jb01JditjcFFCK0szb1ZNSWxQY2lUZXh2V0dEUmhrUUtyNWJMbi92R0dJ?= =?utf-8?B?NUhSdTkwOXpVbW9GRkYrRTU0TmNFVTQ2RGxhUndXbklFcmw5ZWI1d0N1TUU2?= =?utf-8?B?YmRidk5LakorVEh5K2Y4QmV0Z24yUmY1Y3dWUzVIaTVXdE9wTllKRERJRXFq?= =?utf-8?B?blcwS1JZalhQM1RJbVJYZHBPNHZQN3p0QTJWdnZndSs5VnBvTE40dy9OeTBC?= =?utf-8?B?Yk50c0xBbC9JTGdKUy9tdCtNS0UweDhNSmltMlVSdkgxazdMWjVBQlNLWGpI?= =?utf-8?B?Tmo1dEZMQ3VhNEIvNkVBNXVJODAvRVFLRVlUalA2QUhnYWl6ck9EWGNhdDdn?= =?utf-8?Q?dRe1PxUlEwab3i91Hrknb8YfYbQs/qZtamTBO?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fec2126-fa8b-4fa6-a0d1-08da140de7bc X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2022 18:31:58.3094 (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: dqkdkjwH5uiKEAfbLb/kBhqUd2TzLac3IF9sxbdMvknwMK2cfClAKRn20elwLOdHE3TRjPIjC3izd1iKhUzEncNG0ueRxzFq0wZdx7ENXug= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR10MB3268 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.850 definitions=2022-04-01_05:2022-03-30,2022-04-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204010088 X-Proofpoint-ORIG-GUID: s9otLUUn60M7zPG0pcLnvmtgTKvyI_78 X-Proofpoint-GUID: s9otLUUn60M7zPG0pcLnvmtgTKvyI_78 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_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 3/21/22 06:59, Baoquan He wrote: > On 03/03/22 at 11:27am, Eric DeVolder wrote: >> Support for CPU and memory hotplug for crash is controlled by the >> CRASH_HOTPLUG configuration option, introduced by this patch. >> >> The CRASH_HOTPLUG_ELFCOREHDR_SZ related configuration option is >> also introduced with this patch. > > Maybe can rephrase it as: > > x86/crash: Introduce new options to support cpu and memory hotplug of crash > > CRASH_HOTPLUG is to enable cpu and memory hotplug of crash. > > CRASH_HOTPLUG_ELFCOREHDR_SZ is used to Specify the maximum size of > the elfcorehdr buffer/segment. > > This is a preparation for later usage. > > Otherwise, this looks good to me. Commit message updated. eric > > >> >> Signed-off-by: Eric DeVolder >> --- >> arch/x86/Kconfig | 26 ++++++++++++++++++++++++++ >> 1 file changed, 26 insertions(+) >> >> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig >> index 9f5bd41bf660..37eb26563f07 100644 >> --- a/arch/x86/Kconfig >> +++ b/arch/x86/Kconfig >> @@ -2061,6 +2061,32 @@ config CRASH_DUMP >> (CONFIG_RELOCATABLE=y). >> For more details see Documentation/admin-guide/kdump/kdump.rst >> >> +config CRASH_HOTPLUG >> + bool "kernel updates of crash elfcorehdr" >> + depends on CRASH_DUMP && (HOTPLUG_CPU || MEMORY_HOTPLUG) && KEXEC_FILE >> + help >> + Enable the kernel to update the crash elfcorehdr (which contains >> + the list of CPUs and memory regions) directly when hot plug/unplug >> + of CPUs or memory. Otherwise userspace must monitor these hot >> + plug/unplug change notifications via udev in order to >> + unload-then-reload the crash kernel so that the list of CPUs and >> + memory regions is kept up-to-date. Note that the udev CPU and >> + memory change notifications still occur (however, userspace is not >> + required to monitor for crash dump purposes). >> + >> +config CRASH_HOTPLUG_ELFCOREHDR_SZ >> + depends on CRASH_HOTPLUG >> + int >> + default 131072 >> + help >> + Specify the maximum size of the elfcorehdr buffer/segment. >> + The 128KiB default is sized so that it can accommodate 2048 >> + Elf64_Phdr, where each Phdr represents either a CPU or a >> + region of memory. >> + For example, this size can accommodate a machine with up to 1024 >> + CPUs and up to 1024 memory regions, eg. as represented by the >> + 'System RAM' entries in /proc/iomem. >> + >> config KEXEC_JUMP >> bool "kexec jump" >> depends on KEXEC && HIBERNATION >> -- >> 2.27.0 >> >