Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp4165018pxm; Tue, 1 Mar 2022 12:41:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfMUt5g+Jwd4wgXPjfOEQJUITLMDCnbu5tIFtIN73K3sBf83X8bAVicrfuBE5ETpE9Q1WW X-Received: by 2002:a17:906:b04:b0:6bd:bf71:ed08 with SMTP id u4-20020a1709060b0400b006bdbf71ed08mr20507691ejg.585.1646167306904; Tue, 01 Mar 2022 12:41:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646167306; cv=pass; d=google.com; s=arc-20160816; b=riCN0fTMgIY5EIxvios5qeSkmuZ5+jdWouweVTC9wGes3X9nGTb2TGK7qth5rDlWaJ 1oXqhbyb30M9oNmXSiEJxictmEGL+usBmRlABWAzrXywp8lARL+8m7OE+qAfGzkVzGsJ y2YfRVOQ8TrOY/GCnHsNxtGZpF3cy1K551G8E+LOoeDNFY1gumv5mX1Phk1lM72zoQYY EihC/zI6V70hdlHX1pde6jlYQCIo5XkT5bN+Z6pyPI4o0wvlXvVyaMHgiwWoLyx7gJ88 uknhEQHe6h6YNvq4IRvRYHUVBznIMqEX3d0JY+Ik5kSoRbpAmATO+OliEfGbRBIIZyC/ CcSA== 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=Lf9/beMKlRWSdM9E3qXS0nCnsv0zKhjN7RNSRg0M3Ps=; b=rzT1epBGyVEKKrdRA75i0tpVCMEYarTmp9ZrknES/GYJ/p4Kn0A9/JGbQWZvGSRt+B w4oMB+S8YkBOYCckk0LA9+pfAS4bRAFVr1fxR0e5U0TFsQif2pLXBPvrPaScO4vL3xfl agQMKS9QAFfRNZ5SGVDDHRSirerLiXtocWM+jWQ39C6kD4xBmac4u7nKR7re351kHVTr H6LMqrpUH6/cwfJfgnm12SleQZvWl06dht3izo/CpNCDcB34EBbdXRKAahFPIzeH73Ko 8V4ZRwgzI/iXm/VVbZ9g9WVapfGShnxtozc0MTn/OU04i6Epj4zNRWaDpmxJfaMXuFpI jxIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=anW71N3Y; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=qaGZEe4p; 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 j4-20020a1709062a0400b00698f7a0f5c8si8656736eje.281.2022.03.01.12.41.22; Tue, 01 Mar 2022 12:41:46 -0800 (PST) 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-2021-07-09 header.b=anW71N3Y; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=qaGZEe4p; 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 S237580AbiCAUHM (ORCPT + 99 others); Tue, 1 Mar 2022 15:07:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237567AbiCAUHB (ORCPT ); Tue, 1 Mar 2022 15:07:01 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8274B70CDB for ; Tue, 1 Mar 2022 12:06:19 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 221JCQXp021791; Tue, 1 Mar 2022 20:04:50 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=Lf9/beMKlRWSdM9E3qXS0nCnsv0zKhjN7RNSRg0M3Ps=; b=anW71N3YcHcj1CPTRpTwn5F9G+yYcI1WQeDxI2UgzGEyuwSUcl4EVpH8qQRtWX2Sdt7Y 0Tl96XywTf0FvwnJ1oBExJSmohxJ3gdaD7/eL+pd8I+KfaQPewmRP9jVxq49URykCXuL Po0S6zrOhhsggT6pKJq4NZzAtrsBfBsPR+XT+gw55jyK5MVoRCTtMRtI3mJEG1gWcpqS IRF94JploT2u/5xI5zXzbjsBizG7MlUDaIUdnHkWPcNRmoH6Vcx4zOWZaZ/jjdopLogV nr/AHua6EzXxmtTAmizBQTjJouXlZ+VT9G9C2uCg1BmnaLo++SO2mUDdIa0P1h5VtQs7 wA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3ehdayt6p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Mar 2022 20:04:49 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 221Jupa9194426; Tue, 1 Mar 2022 20:04:49 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2171.outbound.protection.outlook.com [104.47.73.171]) by aserp3020.oracle.com with ESMTP id 3efc1557nu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 01 Mar 2022 20:04:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ls9i7BCYEE3vHZR3dboe88L0ehs9toqFYkB7ImOP7Ph4x4arv3LAiPxfZevw1BAb41IacVRDGKulHTm9FPtqDNAs7a4TuZLF7jDg+pwqxHlrcik5mpiMZfiorUnZhJVZvOpTQ95F0htyeD22Fo8FcSmZ5KHJ8unupgFcaME7MeBikQxIIpKMDrxUc/kSzsZUSdvIDDSWSXH8/TCcA/DhU6AmWaWDex00i8FWw1Rq6BkB9xSh4OEbneURMOu9kXOQpM6If2lM9sKzsCH/9xLGy4+PH6KPNWTEShkR3AB9weqejaSGCy86qoxLwhyIMNFm9zSXjHJ8xY5BUlRGQ7yOGQ== 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=Lf9/beMKlRWSdM9E3qXS0nCnsv0zKhjN7RNSRg0M3Ps=; b=mnqePh+KuDW+sv0SxhMEz/jntnoSDA4Cyu/DxQc6sdlT5xGJwqaNTNmjsf9SxNmx76KjYRZaIugLoVGbtD0HvFz4UeqhdZWtsfwwTATc/exeHcDGRQtnRcUmSz7hjbUlHbah5UrlWVMgO2wfE9O7RdOkTzF/BPIAcRl0nhndZwUtKXLX7Iwighe7aZTKH9R5dl5pIGZhRZomgl0rc79wAgFRQ84yxVwlkDRllsrGmlezD7dYc6/fmTuQL6W16QC8rv7aJEt5bUDZhORRNh15MnBbJdKonrJVdBkJlhM1aNqPPYQAAbtVxwNqPsmDvJWOK6gZOTzy3KedvNlwif8j5g== 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=Lf9/beMKlRWSdM9E3qXS0nCnsv0zKhjN7RNSRg0M3Ps=; b=qaGZEe4pG0FusCEIcLDlUKHQxKFFn7/zgs/gWBRw4ewIkF9U2mAdFoUHFQhXfoRRU1APK+yS33MoZVVcObMKu4QvAw8YwvxUSs8PAL9nWedfQG75ms2I1xI/PAK035rmH90kJXxFNWYm7FZ7+QFLJSN3Ryd3zALHQSKbW5lC2sc= Received: from SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) by BLAPR10MB5298.namprd10.prod.outlook.com (2603:10b6:208:320::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Tue, 1 Mar 2022 20:04:46 +0000 Received: from SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::4d07:86d6:8830:347f]) by SJ0PR10MB4542.namprd10.prod.outlook.com ([fe80::4d07:86d6:8830:347f%7]) with mapi id 15.20.5017.027; Tue, 1 Mar 2022 20:04:46 +0000 Message-ID: <4645ff8f-d4ab-a6a5-b4dd-df2b652daaee@oracle.com> Date: Tue, 1 Mar 2022 14:04:42 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH v4 03/10] crash hp: definitions and prototype changes 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, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com References: <20220209195706.51522-1-eric.devolder@oracle.com> <20220209195706.51522-4-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: BYAPR06CA0063.namprd06.prod.outlook.com (2603:10b6:a03:14b::40) To SJ0PR10MB4542.namprd10.prod.outlook.com (2603:10b6:a03:2da::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 093390d0-0465-4714-0ed3-08d9fbbebbb4 X-MS-TrafficTypeDiagnostic: BLAPR10MB5298: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: rdzCazsd6Tg4/aGtOmbsMseA3A2ImDZ/LRYXECZwRr3CNvjfdEUV/fUsLzciDQ2JyBlAySZd9b8bEx2F6qCTGn66uLN+YgXcTW1qBaMc62QCRQSL71EHUYqlgD6wKSdWD2rSjtxsMrHiprc6wxKk854uDhxU7KlT2ZdILzlx6xYxQVtCYpR1iNMSvfeLWmjSLIB70B+wUUxFYKmR4G+Tw4sLae+4IT/AzVJZB5XqCepbXfFJ7c2uOtrYNkE45GzPZ3ZuFpRiU4xeHSvcBivotktbLDg/+4mbBnVjC2+A0HjYvRjhBe57jhC1QQC7fcd3SNEQYCnianJj8PuQPlU04KynhXLGeEqa1Ir5a73d0kSqHAaw9Z4+Y5b8GYWyo6GjsRDszWmHMm63X0dsAmTWoXGHqJgtLrC2Eh23y6Iv/bUTLQ73j4sIsewxps/+NNlyeqTxDyTm9SGwqsmdLS+wyHfLkORkkBtnlgRKI17ItI/Jt2CgVKeAMGKvtXByvZ5QBqjjwge5D/37J3hER31b+hlF8ep3qLaBEbLMinW076JAIc6qBB8e06ggklXOCLIe21R95nW5z9sp++Oz0LDCUr3uUi4ZKlpcF+JkUAzpzom0LIF8fUkQJqzEqbyV058UJSaJDyVg3Fv5Tj2crANGAPJCXtXjBbBt1Wbh/Ln47iupk+OFnVaiu5vZf2TbcMS3QyRa66gdMiRXj/ALnR+LSax+DScfke8uVnEgvIB6hTnRrm9NM8bsPJL4RtDBhGAu X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR10MB4542.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(66476007)(66946007)(66556008)(6486002)(5660300002)(36756003)(38100700002)(2616005)(316002)(186003)(6506007)(8676002)(31686004)(86362001)(31696002)(4326008)(7416002)(107886003)(8936002)(508600001)(6916009)(6512007)(6666004)(2906002)(53546011)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eDNtdVo0OTZBN283WEhIZWpNUEdsZkN6bFJKemF6cWJBeTFSL2ZOVEY5b0Ju?= =?utf-8?B?MHdINWx5cmN0SVQ4cUVDT09mM2pKdW85TVl4b1prVmdqZXQwbGdMa0tYVERX?= =?utf-8?B?RVFlOXZiZ1FHdW96b0tKb3pqZTZnd2Y0QkJ5d0tneUtGZXd1TXVDaE5Bd1B3?= =?utf-8?B?Q0M1cmNLTHdoY3A4a1UzaEt2L3g0TWxjM0s3Y0w2c1gyeFo2VlhWcEVuQ1E1?= =?utf-8?B?ZlRoeDRFeWdpNTRwL1B1ZjhYMVA3SXFxWkFHcFJQclE2Q2poS0NBa2c3T3VY?= =?utf-8?B?MVFxMmNCb2Ft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oK3AvazZUQzlic0NBS2NPOXc3?= =?utf-8?B?VVBtS3EwcFhFYTd0ZTA1azdGNjkvSkxFTDllMTZvRzVxOG5Xb1BFamlUU3FI?= =?utf-8?B?clFwdjBxUGkzV1lrQkdNdERYSFppRm1qVzRraWI0bnE5RmRvYTRMQnZ4U0RU?= =?utf-8?B?SXhBTGtRYlk4YkVxbEdacFQ5Q3ZpVjA2TTJMaE1ZZWl2RDZSa0Ftb2ttcFNh?= =?utf-8?Q?PNnc3/aHSW+YEgPJSO?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 093390d0-0465-4714-0ed3-08d9fbbebbb4 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4542.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2022 20:04:46.3623 (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: 6fv0U+h2XD/ToCAXgCVWfvJdpxNGmmQ+VvteDw/bPZlZNs0qH704+a+GUMrpjmBnjG585UNO+WxLRHEj/YrrP2iL6WeueMPuRlTKohpsGgs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5298 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10273 signatures=685966 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2203010100 X-Proofpoint-GUID: SlSLH4Mq7BRsM7y4gdBpKjJwakhqCrdB X-Proofpoint-ORIG-GUID: SlSLH4Mq7BRsM7y4gdBpKjJwakhqCrdB X-Spam-Status: No, score=-2.8 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=ham 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 2/22/22 21:43, Baoquan He wrote: > On 02/09/22 at 02:56pm, Eric DeVolder wrote: >> This change adds members to struct kimage to facilitate crash >> hotplug support. >> >> This change also defines crash hotplug events and associated >> prototypes. >> >> Signed-off-by: Eric DeVolder >> --- >> include/linux/kexec.h | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) >> >> diff --git a/include/linux/kexec.h b/include/linux/kexec.h >> index 0c994ae37729..13c238c2da48 100644 >> --- a/include/linux/kexec.h >> +++ b/include/linux/kexec.h >> @@ -299,6 +299,13 @@ struct kimage { >> >> /* Information for loading purgatory */ >> struct purgatory_info purgatory_info; >> + >> +#ifdef CONFIG_CRASH_HOTPLUG >> + bool hotplug_event; >> + int offlinecpu; >> + bool elf_index_valid; >> + int elf_index; >> +#endif >> #endif >> >> #ifdef CONFIG_IMA_KEXEC >> @@ -315,6 +322,15 @@ struct kimage { >> unsigned long elf_load_addr; >> }; >> >> +#ifdef CONFIG_CRASH_HOTPLUG >> +void arch_crash_hotplug_handler(struct kimage *image, >> + unsigned int hp_action, unsigned long a, unsigned long b); > > Seems this patch can be merged with patch 6/10. I don't see prototype > change in this patch. Ok, done. eric > >> +#define KEXEC_CRASH_HP_REMOVE_CPU 0 >> +#define KEXEC_CRASH_HP_ADD_CPU 1 >> +#define KEXEC_CRASH_HP_REMOVE_MEMORY 2 >> +#define KEXEC_CRASH_HP_ADD_MEMORY 3 >> +#endif /* CONFIG_CRASH_HOTPLUG */ >> + >> /* kexec interface functions */ >> extern void machine_kexec(struct kimage *image); >> extern int machine_kexec_prepare(struct kimage *image); >> -- >> 2.27.0 >> >