Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp73521rwb; Fri, 12 Aug 2022 14:41:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR7RkZUMNRkWuVhcCubxHHCVRs7mfOgy4L7b+aFcpOwDfantBGJWxmXZYHs6m0RjhTFEW+m1 X-Received: by 2002:a63:17:0:b0:41d:7ab5:c9e6 with SMTP id 23-20020a630017000000b0041d7ab5c9e6mr4645561pga.493.1660340465287; Fri, 12 Aug 2022 14:41:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660340465; cv=pass; d=google.com; s=arc-20160816; b=T2ZDsIiUPnMp/N/V8XhQZ7oQsZ4hpmKqk67riciI8fA0hlJiJVkIe7XvdsuRzGV436 Ad+rHfisPWdUX7QtYtG8rUEG3Btx3VPeXfCxiJMRJw3lAdse7613L7QwTUSrs+jOaLTi LxaS8dFLz3DtoGq9O/xzX6K2z6zXB63sRnfRyElExUgYEI4los5el/PqSBKOEqm/rYbx yW3greeZ6A/r4N1riiRAEJkoGUGrFZK5vRDn5EhQoR3mRBWG0NZgkmA0q3aY5e1SsVeF 39lTGBkMsGXRtrpzXrh6EtWkeospJ0yglBQo/E9uAf8rI8oDFTF1cbOnFeKt5ycKo/OT ziFw== 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=6kmNHkqeS+HxsDskjjSfTTZjtOXZYTwTdCRMwG6p/oM=; b=MDUOLPAFkasc+Z812T9tjTy4HJ82l9pLGqfoSFC5u9WLoEss75J42B+bx9NomaenlU pFjAVR8jPHJ1mxal/cJIhv6LLDbbgqtJx5WY9MVqddwdsviGs7fP5h9SFFZAJgKmHIqG PyUSRngax6IyTzbnmfhT6DDv5cBwZF7Z+2BiOLS7V/Oe8Me8H+H+Hy9ng+TkQDucYpIA Z6ukHQU6GXjzjnh+whecMP2Cs0E/lLtBa9HpnOm1c2qVoxEdjV7NmPoXXLMIKzw7ZHmk GTzNilZzoouqcTeYxMoiRv3qEy5+tGKboAO5tzpKn6S4Bo+R8JKj8QGUDEgU7NskOvpZ vuNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=nWcc0Z6g; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Q006Bv5I; 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 c11-20020a63da0b000000b0041e23373319si3518554pgh.540.2022.08.12.14.40.54; Fri, 12 Aug 2022 14:41:05 -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=nWcc0Z6g; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Q006Bv5I; 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 S235582AbiHLVZI (ORCPT + 99 others); Fri, 12 Aug 2022 17:25:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231424AbiHLVZG (ORCPT ); Fri, 12 Aug 2022 17:25:06 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2947AB3B2B for ; Fri, 12 Aug 2022 14:25:06 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27CKOCOO006840; Fri, 12 Aug 2022 21:23:32 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=6kmNHkqeS+HxsDskjjSfTTZjtOXZYTwTdCRMwG6p/oM=; b=nWcc0Z6ggYeobbc5qIhS+KffOVYWi04ClPGfbgEU3MZL7Hx+CTc1o1UJ7w9y64LpBoAM /ZBEp0+c/Czeu7HgfID2Sr/9lr780SgO4bqp43d73zIUcpiUFtRHUBesQMB4HynrzirZ engvYYujZX0uX5i/k3ConGUsUwqrlVyzn+MWV932NZtEglHiGgPHQYP+z8yCTPX9O1hQ +iO2cyOzPLSCK1bIopkQGbT3GoJlnrYJJLAyy+h+5XMQI5EfjnVsNCAKm91HyKtKMBg4 p9643T71CiTSHZVMWx1NGg1Czefk/qcPsC44zMk3kMP4nYGLEO4OP+FkULOajfLbVTxN xg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3huwqgrb3h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 Aug 2022 21:23:32 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 27CIautr004946; Fri, 12 Aug 2022 21:23:31 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2176.outbound.protection.outlook.com [104.47.56.176]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3huwqkysyx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 Aug 2022 21:23:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=elOG17E379IHLaH0n31URgWn2wsf1HcfVMX8RDJ2sCQdWyCTsGzus8lY7N3fh0omlMGSma/qphyvW4KsHGiUzvglvL5BEzHHGHr2evFXFEolwJLp/L1/GBeFxmWiKAMB/JLQz0oqr1qr+kiU/PrwiYr/rsAnKtKSI/4QwiJJHAB+OcnQDjVcnDCOXaK5kjOlQXnarnebvSv37qPwIBN0V3yqZV7wzWjzOwwVIz3MlUHzmeRxhgLUL2LMnJAh7dkRTGNUbITuFlNmvjZUs9/zelrPQmUryebYbId/DZS7ZH/+iSmtBGoAkN8MfeRVIDCC4xdh/odShdgg+n7VYGSj3A== 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=6kmNHkqeS+HxsDskjjSfTTZjtOXZYTwTdCRMwG6p/oM=; b=RNyg2teDv907yrxZNnyIHzPGb6HZc6cYHry6BvyJFZrpZ5H8RWxx/yTnXjoSwhpslwtyiJ4WdoN/pkXLJcFWt9PQy71nbWG70+UnYokVo2L0G68mwQB/l0I2qtv7cLww95eWRHY5mYZLVlv4dRhAcFSzXIbF004JSxtoyLR8MbiLSRE40h5iSfWaDG9BruQf/wkG0iAQ88Vezgt2TcnZLZe/E9drVsCUel2TVqkmQdgeQXuFRNvA21Sennls8VNSq/Eyd2r+NCvh9C8bAxa3Pnpw5WqFYOC44DhRw+4gbHc0/Iq5Z7FWiOXDrDRwGB7qmJ3n8/nsYkTOWzvQ0pxABw== 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=6kmNHkqeS+HxsDskjjSfTTZjtOXZYTwTdCRMwG6p/oM=; b=Q006Bv5I0yBsQdoEJGm5wGKm039AvUF4Si6Ne5oFXyxziDu28RHwuajsjgNmXPBamn0SeEekoiR4+BDixcaepT+rsvs1wmCHL1XRwwl1EqNuE26jVMmVkSEZ2nHCWIDCPk4H4mwC6LfUbKEP8DwxOGxhO9H/KUAYiMXtnxoWznQ= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by DM6PR10MB3273.namprd10.prod.outlook.com (2603:10b6:5:1a9::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Fri, 12 Aug 2022 21:23:28 +0000 Received: from CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4d5c:c5e9:7d20:43c2]) by CO1PR10MB4531.namprd10.prod.outlook.com ([fe80::4d5c:c5e9:7d20:43c2%9]) with mapi id 15.20.5525.011; Fri, 12 Aug 2022 21:23:28 +0000 Message-ID: <2b44bbd1-6e6f-40d1-73ac-19348d1ef48a@oracle.com> Date: Fri, 12 Aug 2022 16:23:20 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Subject: Re: [PATCH v10 1/8] crash: introduce arch/*/asm/crash.h 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, sourabhjain@linux.ibm.com, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com References: <20220721181747.1640-1-eric.devolder@oracle.com> <20220721181747.1640-2-eric.devolder@oracle.com> <52d40562-ee6f-bb89-6d21-2d6baf67053d@oracle.com> From: Eric DeVolder In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA9P223CA0009.NAMP223.PROD.OUTLOOK.COM (2603:10b6:806:26::14) 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: 7a35b4d7-fb0d-4046-91b1-08da7ca8e5e5 X-MS-TrafficTypeDiagnostic: DM6PR10MB3273:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QXst933Kg6MWSvaNfncEwbpXNkhawGmXzNnknqVqEzZyy8Mfpnn1qkKcfZkkUaSHSTmxGfuGoi9Y9D1bFcP5L5uYOlb+z+tL99iIeC8HnNfnhk9ouHfMM9zvIFNNPDQRlHvxetOSEUF1cMdc89ORnpK7jlu6ruElukZ+JJFxcaKn3xnZ2rw1OFsyLAjaooriNGKTvsw16+FtUTkgy9InChH78ejFTIX6e2Mh2Pb+nRzD941VcykWS02y8QiGC6Of0YT2Wzcoi9r1z38wh8TOKZLKf2Wy39Lf/uWvXfZz3f5o5mIev4tyz0EfrEBNPJaT2r/EvL+nyKpeUiESNxiM17kkwndHj4pGN/RXaggWawMysfzV67VNrhbBvQwtgo8bZpDWZKm3CrLYU9njbFVGHROYe7ublLczVBYFey4rNIjewXYVfk7ej/pW6EYmcXTsbhhBVM1VJLkI+DLN3AQy4gyUcwUXQX14jERaQWerBZQ2T0J5e9el8b587uwv3kW0HZUM549jcWiFfko847Q0xuFE6RObVVfkWJsn1uW1M54T/7zZXEAtUK2inqGUe3Oh+MWxeD7bEW9198GJPNXkAkNgNZt564YMpDuqpNAQxFVEqvUQ3O1HDUGHYESBsxz5uCs2THYB1rTdRybS/Cz2YhAhJvqpWVZUVuTf4t9n2AH3LNqTWCvRf3dT9TwrDUrlI6Cdy6n+PV+zA96f7xH3T5TNVv/ThlQXhYegkzwub83Tba9gStt/DU8BJh75ehcyVdv+2Caff305FVkg58MIg7gFDoooaKPNe8FYqkrlqRheIAxHRKOiIFnWKiuoMEEYQkiaQvEDjAeMoBfGWB8sKg== 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:(13230016)(346002)(366004)(39860400002)(136003)(376002)(396003)(66476007)(5660300002)(8676002)(66556008)(6916009)(66946007)(7416002)(8936002)(2906002)(316002)(4326008)(31696002)(6486002)(41300700001)(86362001)(478600001)(6512007)(36756003)(6666004)(53546011)(83380400001)(107886003)(6506007)(31686004)(186003)(2616005)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QjNIeEphOUpzRWxRMzNUeDl3TzdiMHhRSHk5WU1sWENvOWlNVHNsNjduZTIw?= =?utf-8?B?Tnk0LzhWZnpFR1piUXpvc3V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UUd2?= =?utf-8?B?L0J5bis0a0dpZmg1bDZEYmNMRE1ld2hmZGlrT0s4TkFRbnNKdFlNSnRLTEV4?= =?utf-8?B?ZGhjWER0MFBYMWtJczN1UHFGci9EWDEvRit6SUluWlE5NXlKUDRCbHAzL0My?= =?utf-8?B?R2doRk1MSGNmWERtT2V0anlXWVhpcWtWdjVJKys0TE1SWlIzUzJoZ1IwV0Rq?= =?utf-8?B?SnZnRXQrQ05tUWxkU3pXVXIwU3diaXFZYit3THpWWjF2NWhkSVdwSlZDcjNx?= =?utf-8?B?eUVNZmNxZmFrWHZTOTdNZmQ2Uk1KUGxSY1BFQ0NsbkNUK3RzK3R0RHVGaExH?= =?utf-8?Q?gcjR3WwB8UQVSFf4pJytCZE=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a35b4d7-fb0d-4046-91b1-08da7ca8e5e5 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2022 21:23:28.2548 (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: CtLC3xXRLVtw9k/ewl3IszVRQEO19asj7sX24EbG7DyYzcul8winRa2NpUSGR+7rciHITJeiGnFI2KC0Gd11LPtfU4+1fa5Uzkz2eAyCwgU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB3273 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-12_10,2022-08-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 spamscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208120057 X-Proofpoint-GUID: 1IXlxam1LYLNbAA1zSJm06loF3qvGJX6 X-Proofpoint-ORIG-GUID: 1IXlxam1LYLNbAA1zSJm06loF3qvGJX6 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_H2,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 8/12/22 04:46, Baoquan He wrote: > On 08/08/22 at 10:18am, Eric DeVolder wrote: >> >> >> On 8/7/22 22:25, Baoquan He wrote: >>> Hi Eric, >>> >>> On 07/21/22 at 02:17pm, Eric DeVolder wrote: >>>> The use of __weak is being eliminated within kexec sources. >>>> The technique uses macros mapped onto inline functions in >>>> order to replace __weak. >>>> >>>> This patchset was using __weak and so in order to replace >>>> __weak, this patch introduces arch/*/asm/crash.h, patterned >>>> after how kexec is moving away from __weak and to the macro >>>> definitions. >>> >>> Are you going to replace __weak in kexec of arll ARCHes? I don't see >>> your point why all these empty header files are introduced. Wondering >>> what's impacted if not adding these empty files? >> >> Hi Baoquan, >> In this patchset, to file include/linux/crash_core.h I added the line #include . >> I patterned this after how include/linux/kexec.h does #include . > > I am sorry, Eric, it looks not so good. I understand you want to pattern > asm/kexe.h, but we need consider reality. Introducing a dozen of empty > header file and not being able to tell when they will be filled doesn't > make sense. > > Includig where needed is much simpler. I doubt if your way > can pass other reviewers' line. Can you reconsider? If I include where needed, which is kernel/crash_core.c, then the other archs will fail build if that file doesn't exist. A couple of options, which do you think is better to pursue? - use asm/kexec.h instead of asm/crash.h; it appears all the architectures already have this file in place - go ahead and put the appropriate crash macros/inline functions into each arch asm/crash.h so that the files are not just empty, and leave the use of asm/crash.h Or perhaps you see a better alternative? Thanks! eric > > diff --git a/kernel/crash_core.c b/kernel/crash_core.c > index 77f5f3591760..b0577bdcc491 100644 > --- a/kernel/crash_core.c > +++ b/kernel/crash_core.c > @@ -15,6 +15,7 @@ > > #include > #include > +#include > > #include >