Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4043681rwi; Wed, 12 Oct 2022 09:50:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM412tXk2qhqReA+VlKNo2Q2pu6RQu/lKYeYZQ2l+8xSa23mJcc/HH27Ssc2e/rbbETc8qsH X-Received: by 2002:a63:1b20:0:b0:464:a9a6:571b with SMTP id b32-20020a631b20000000b00464a9a6571bmr7516288pgb.560.1665593416641; Wed, 12 Oct 2022 09:50:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665593416; cv=pass; d=google.com; s=arc-20160816; b=lTM5bV2MBgSy4GnXBga7pBDB24aM+AV2Ki/FgXrnylOdx/Fi4tpq3OdFcFLnOVBXjc Wzjmo6/yVZaipovnjrnIQE13Zam6u6gAzTJGFoYA4J0p5RDSIQNDvq+UJGXnbEM+wEHD egZSAEcZJUgFoiRLcrsziUmaDglyYVStIr5Dyov5yBJubs9YmlyE0OUvRTrkuOntehBp zf58F7dIJNCXntmApdxRT6ZEBds9DNZU3du0QmXxU5ENBqnU0pkERKmveCDNH6DKOvxy oPHP7XYUERCX0kTQkivpr3qoRhJAh0BG2SFh4195T7KFZbdppyexSz6O6kkSXTrPkato I7Bw== 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=xaYltWjuVLJxdhsQRYyNl2NwaeBJNJ0l2Mfqc0OEp4o=; b=ChQVDkySRETA1sZ1HLe64xOlC4A6m2ywWFMb4Cuc/bS4wGr3csNgu2qXXRo8uWeGCX hwMV4J3UaIh9wgu4t3+gNXmMAAwdQ8ZuMzlEoZjAkVd8tX3T32rfdHtVG4WuyNeKnoZL Eng44F8Y6vV2qF64TFSaPP5SHJoTMzys/vmhOGCS8UC3xUp4LJdmL1CTYuRo8VRdXxYZ JoJizJbA0RJPNnx8qdbponan8IoGez3O4h9XB0sF5fogwjujDriOcVpZ9qTeSj+aET/j Xu5k+o1BSW6/K9coeLxOY/jWeAD2rCDJHfYrb+/sC5zHykj8oTLOgT64AoxDKanLXqVB FVsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b="bpx/gTxr"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=uaZX3HvW; 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 nn6-20020a17090b38c600b0020af39f326fsi2905380pjb.133.2022.10.12.09.50.03; Wed, 12 Oct 2022 09:50:16 -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-2022-7-12 header.b="bpx/gTxr"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=uaZX3HvW; 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 S229639AbiJLQYX (ORCPT + 99 others); Wed, 12 Oct 2022 12:24:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbiJLQYT (ORCPT ); Wed, 12 Oct 2022 12:24:19 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5951165279 for ; Wed, 12 Oct 2022 09:24:14 -0700 (PDT) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29CGBqTx020692; Wed, 12 Oct 2022 16:23:48 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-2022-7-12; bh=xaYltWjuVLJxdhsQRYyNl2NwaeBJNJ0l2Mfqc0OEp4o=; b=bpx/gTxrZanUhUchOzk9C8gOtrBx9/ib8K0y4FOXJUqG0iBnLNqMATZQc/Ac67nQj7rb L/jtUQ3bWCIPxfx1yy1/EX+e6bIW++2SaZee2O+jqsrnruZBaSqFUbrOqg+IFkt8cFpY 3+D4A5QgQoTk8knMH3wLBUCJrSDSSDj0VgjWPuEBpfdS6ymiGY9qqM02wHgVnUTOInkJ GMvMiFTmhhGO8b/1Os765DK3sIsDx8W9WLLcIW5ySgkW/Sf4yodbPhjUVsEyiOtlZSKD w9U0MzqHoHP5MjZYYRuzg0XZ5YvPtMMk14MH4yO/G5XfTATf6MN/u1d+o1RqfXX+P29z Xg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3k30ttagqb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Oct 2022 16:23:48 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 29CFW0q5008590; Wed, 12 Oct 2022 16:23:47 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam07lp2044.outbound.protection.outlook.com [104.47.51.44]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3k2yn51d7e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Oct 2022 16:23:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VwFixisxoiFfv0SJb4YUfwUtrIOB3Tqhd4uBd4yQG7/lsaIDWcZ3qjaPMgRUdqhlCetYx1mTWRUiq0gYzJqpR6xW1pihsz+eSPpNz2ZTbwlD2Gir9lCsazAPjyPbdQRpR/zFktJJT6tOCFwfKryo4TVnyGSCz3wMM4a/iCRDkfdU2HewNWaE2cnHrp0cBuH5N2UDZKM175Z0R6FGcnU4ugJiRUJ37QT3xGd07RkoWyXiyHCM4F7yUeoX0/0wC/fsT213VfbduKcv60LJ+9YFfo0xSJ/6Kn/8coTByuYW1Z8yGyTXNr9GhGH/loQSxLkOSiSiNqQHYqt7Z70zyFRwZg== 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=xaYltWjuVLJxdhsQRYyNl2NwaeBJNJ0l2Mfqc0OEp4o=; b=TZeHmwCAv82SoaiF39Zz1ZvAjmbWhXOKpIty0yLyYI/kwPVQz4XSWCLMR1xD8hxQiC6I8gDde6CR7cZMg8XMW/r0sPiWUQxnlR8e2j0N6GPxxoXPWeFD3CN4cIazvtLBTSalXP7/KscGj1B3mz1H74/fA2/eRYV8nO/j7fWGYDEXOQP9PVKyzDbQBjLm4ZpMccB7KDIRHpe76qavi1S6t9SCm6Su5DCJZ5U3k/+kkHMi08+XxcLH2QqJZ0WS8hMe5zidY6Qxq+yhVMNP3y8etYg79qvxJkioh7qcmAk3i9rHzw7itR78J9XZ4R6bPURroCcoX9yyba5SaGhN309nOw== 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=xaYltWjuVLJxdhsQRYyNl2NwaeBJNJ0l2Mfqc0OEp4o=; b=uaZX3HvW00ijK2QDK5HVbVJ9+pwXJpx458+4XjVHrFxq2m16kCxt+aoh94eyfbapaGMfZQWOOhxX35nhaG4i1KtmdarAvYBQrsV+XDNOqCon4aLnpJhkLyqlSpfOEXZwuNdZHiJRgrbX5Ni5vrUMpcxVycrO/aWq6IGthK+zDhs= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CH3PR10MB6835.namprd10.prod.outlook.com (2603:10b6:610:152::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.21; Wed, 12 Oct 2022 16:23:44 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::f7b2:af85:fe37:31a7]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::f7b2:af85:fe37:31a7%7]) with mapi id 15.20.5709.021; Wed, 12 Oct 2022 16:23:44 +0000 Message-ID: Date: Wed, 12 Oct 2022 11:23:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support Content-Language: en-US To: Sourabh Jain , Borislav Petkov Cc: linux-kernel@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, ebiederm@xmission.com, dyoung@redhat.com, bhe@redhat.com, vgoyal@redhat.com, tglx@linutronix.de, mingo@redhat.com, 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: <20220909210509.6286-1-eric.devolder@oracle.com> <20220909210509.6286-8-eric.devolder@oracle.com> <7d0697ee-d6e8-dad1-ca77-f2e8104b0b0f@linux.ibm.com> <915f05fd-dbbc-e012-e3d2-e40ca13d4728@oracle.com> From: Eric DeVolder In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SN4PR0501CA0130.namprd05.prod.outlook.com (2603:10b6:803:42::47) To CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR10MB4531:EE_|CH3PR10MB6835:EE_ X-MS-Office365-Filtering-Correlation-Id: a55f5060-f898-463b-d28a-08daac6e21e5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j97OnPq21Tq4XtV35Vhr9jzKOZQm6VF6kwJksK6z4E/7LuEYFUXjVO5g/Lh4LFffd7MuLrApKTvqFHCh6aLANX+07j47wzh+rWBTPzw33pKddRrm4oWbZ3cQ6HRxH6mxOY2NOspl0qggRJI0m1dSqrYH4dYKQ1V535ZbpCvjWt/x7gFoa9C48DzMnyNro8Euorw4hjZBbYFMA1f+R6frSuQVL5ZgU1XrfnaFB07665beUN9whB5HDoJ596pgTQP3mTZUZcwVp7NJvGlHnpVPxx3SwpqCuKyJ1DEJQ1f+OR4zZXK6+yFUkz3sxtEYn3VGo+4a3O423ONsZMJ/X3GOvAPWCXmWW/NpHew/5mSm00LckSnWgV79gk8eflnwp3lOqver51JI+k66JodwxU7WEfCXGZTtJa/lHxokJPN6uz9NFsMA/Ek9JWgNs3KcaAImVsu42Q6EjM4aayGSk6ATXG1PChy29TWlQWEkwxPutbtLEk2LhtCLol1F3R5h83NxI7k9IbZjeUlhwRinfhy5RtuuZdUI+ya2JbF9r6SYqg0oe1IqVxqYhZTyOkLMHWbX/9CtXY7roCwvqU/VOfNNOG6JvJ5PKfjS7NiGXa/vZntIqcOQExKUGZ8aEq+IUFsx72CVLJfevuGKIddqQgy+MESENqNBf4sdRJsQsUl+0XLG1yZtrk1TILSZreELAyoZGeD2ymVOS8l/TtKsfPSUxEuF9mR/KyQ/N8kNritszoCtt1HbzeAoJ89elWkPjV4m8lFOCNsKSEVVMDY9Eyu9ivAdueqR0wK8Ph1N3VYOKIs= 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:(13230022)(136003)(366004)(376002)(39860400002)(346002)(396003)(451199015)(41300700001)(8676002)(31686004)(316002)(4326008)(2906002)(8936002)(66476007)(66556008)(5660300002)(66946007)(110136005)(7416002)(86362001)(31696002)(38100700002)(6486002)(478600001)(107886003)(6666004)(53546011)(6506007)(36756003)(83380400001)(2616005)(6512007)(186003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QUx0bkhGK20zZk4zbUR1QmFrK3RNUDY0RXZpR21TRGtSK25YMXJCMUIreVVu?= =?utf-8?B?cytvTHJJRXlObkZCRnpBZ1JWVFJjNGVtU1JOelhM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UQ4cnMr?= =?utf-8?B?OUxtMy9tTG9FZTFCTWxhTmt0RHNuZDJlcXZYN3Y0UUJobS9hTk1mZUsvWmdO?= =?utf-8?B?V2tMQlNYNkRwM2F6L3VhZWxQQkJQRFR2VHZFdmtyU1dyV2wrVHZEY0ZVUk9D?= =?utf-8?B?S2hRR05TdzJ0ZU5CNDVoYzZvWmVGSVhsK3UvZnBiR2xNUnBkWC83SFV4VXZY?= =?utf-8?B?c1l5SVpwaStNMkdMM2dHejRCb2RIbmp4Q09WMTBHb1hNODlQT2l5MXJJRjhY?= =?utf-8?B?ZitOYUhoUzFMRFE5QkJoVDBYUFFmMnVBc0loeGZQbE95UFpDTnFmWmtCQkpN?= =?utf-8?Q?tJHQFYyRK+XoSxiX0EaCVN8=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a55f5060-f898-463b-d28a-08daac6e21e5 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2022 16:23:44.3951 (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: Kw7ztLWwS08ZzGmM/XwuiehEoK0wc63wQzlEksidQiXA9edYrmkl5jPHrebkFbIFV6HCEkINgHojnlFiV+UXMbhUdKi0Dw61PTYL9Jd9efk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR10MB6835 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-12_07,2022-10-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210120107 X-Proofpoint-GUID: mgJd8uOwFaRqSesg-CVGAKhoXY7mJDYh X-Proofpoint-ORIG-GUID: mgJd8uOwFaRqSesg-CVGAKhoXY7mJDYh X-Spam-Status: No, score=-3.3 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_H2,SPF_HELO_NONE,SPF_NONE 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 10/11/22 23:55, Sourabh Jain wrote: > >>>>>> If kmap_local_page() works for all archs, then I'm happy to drop these >>>>>> arch_ variants and use it directly. >>>>> >>>>> Yes, pls do. >>>> >>>> I'll check with Sourabh to see if PPC can work with kmap_local_page(). >>> I think kmap_local_page do support onĀ  PowerPC. But can you explain why we need this >>> function here, aren't the reserve memory already available to use? >> >> On x86, attempts to access the elfcorehdr without mapping it did not work (resulted >> in a fault). >> >> Let me know if using kmap_local_page() in place of __va() in arch_map_crash_pages(). >> If it does, then I can eliminate arch_un/map_crash_pages() and use kmap_local_page() >> directly. > Hello Eric, > > Atleast on ppc64 we have direct mapping available and hence just by doing page shift > on physical address (__va) we can get valid virtual address on powerpc. In short we don't > have to generate mapping again to access reserved region. > > Regardless let's go with kdump_local_page API, it is supported on powerpc. > > Thanks, > Sourabh Jain Ok, I will go that route. Thanks! eric