Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3790238rwb; Tue, 16 Aug 2022 08:48:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR48yng0vWwL9/h1/iI4ef606WNpoeNDGxyDqYZuR+zAdKrm3N6nggIOdMtC+idtbYQfOJOf X-Received: by 2002:a17:906:4598:b0:738:4282:995f with SMTP id qs24-20020a170906459800b007384282995fmr7304237ejc.592.1660664933337; Tue, 16 Aug 2022 08:48:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660664933; cv=pass; d=google.com; s=arc-20160816; b=wWlmuxaYARp7eeO4tS3EfXBz8YzG7mivGqjsOjAaHdIClWLgRiUehoU6dTkZ121Cfx XAb4IVyY0fG5kcbWGE1Xko836jtw92citVaze/Tn4b5q6h+tiralj9AUCv/WdIjvevHw iuqpx7vaYN2JZfC0GhmMDDTOtWKatMTFq8ZyCX6oPsty4wFOKUDTlG1Ey1YOd63nzMGA F2CIBhcGr28tquZZZIsI5uqbY91vJkc2ezg4KZ6aGwq4veDkYrDg/2Z9rS55mN4hJ3mb mWnW47bmaLUwd8Sz7OWkhFCHHqMDvPVkZE+9DESibvtqYWFCFwm6wzJrwwOGnOjZ90Pu TuqQ== 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=mV9woyiPRnlGHPS8Awc0ZejNBUTO7jMBIQ3dVirNKc4=; b=a1L/fXSoSCHDkC5B0C/oXKOvxk8a6kC5to1eWwo7yQms/iIIz0axSJshiF5BQSywhj 1vOjj908LbBdF+7BcPJ3qEQgJtIKSUo3kQaq303UACrreUMN4nCLAIbt1Z9fqExC6sZx FpaivrKkS7bgWClnz5BwvDVrTYgwqniuFeq2FgN3kFE069HBYCcPjPuzSVgx4bILRWmJ /MTegi3w9ygXB6aN6ziFGDoEFaqkWIHvsVVNf57kX+O3ciJII6hoFjQCG92f1eXzOq9d Xu42KKOKwzgaLKug6crPggZtbZ+S+GFNTHvZONHSENMPhwt9BBk4F5GaU596PX/xMx3M SnLQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=Qpe4PEKY; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LQeR9kqS; 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 o20-20020a170906975400b00730a5a4e84fsi10440368ejy.951.2022.08.16.08.48.26; Tue, 16 Aug 2022 08:48:53 -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=Qpe4PEKY; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=LQeR9kqS; 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 S236094AbiHPPZK (ORCPT + 99 others); Tue, 16 Aug 2022 11:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236135AbiHPPYz (ORCPT ); Tue, 16 Aug 2022 11:24:55 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB06785FAE for ; Tue, 16 Aug 2022 08:24: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 27GDdVWW015829; Tue, 16 Aug 2022 15:23:36 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=mV9woyiPRnlGHPS8Awc0ZejNBUTO7jMBIQ3dVirNKc4=; b=Qpe4PEKYiLnI0XfRDWO1JuLoCXUdOUJYOZfFfOBJ6jRmU3rNM9q5sPtSWwhYKQdBL4lD Pn/5bWWM86jsXph+cAS57lsnem1SQrgZazs2y+U/LTZWcpkEirRg9QoDSRN8MWnBBQKs KCW7H9lc5EW5zacnv6VZbMZjF6XXPTTUnD7tm4bDOUEyNihwUvALXqN6asyLf5KnlYxn zhYmiyQeBrRlujtefN1LPkAOMuOM1wOmmoxbJfVzMp0HixuKv4qtOUIiIpEc/d3/ucEy qB5pHYwhiBHWtaXKVQcRH7R97JqepqIkfBo51+bpHAotjCdxmpE8ao2zHn6PmbYpwOUJ JA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3hx3ua640m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Aug 2022 15:23:35 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 27GDPvUQ004484; Tue, 16 Aug 2022 15:23:34 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2102.outbound.protection.outlook.com [104.47.55.102]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3j0c46um2f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Aug 2022 15:23:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=isbjPWfjSTiHUZWgYE2bKCi9TtIASHuxevUJ4snvGWv9npKJb2H3ICN5aY1FWgdtRWRr6X5rFeauBtv3WZHWXmH6VuBlvE0Cq7BPMYQLP3FGWD7G/OUysERT9TJ5ytCfi4NIH7jTrnNmXzt0kogxHChP7+LSnj/oR42RYiYcwh1Dlv7WXqaGRa1Zz87MEldOW8h9treOCneUnkmd3k7MTDNKkzJQbXJiSLmz71IFL5cLy5o53J4Z4CYIr491pTzyXVfeebUrznzQwiaw9vUMoyECBC1dYJALxLXxzHMgg9SiC4Nk/TngtDmWeclohMpqbps4OdhW/l8afc7ufP7aoQ== 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=mV9woyiPRnlGHPS8Awc0ZejNBUTO7jMBIQ3dVirNKc4=; b=CE3sJSNBLyBv4QAus/fdTpLM9VCgV/h0S8mTYKyqg8gorFyZbdHFZhX/utyMgwS1NToa8W0dh+ZXXgmJPKhdZY8mnmh9AzleQqQqjh9J+elxaLNQonHa8YeDaKUoA+ucp9AZ4V8DttS18jOf7DdgIHYY7+k8t2Km0tUexYVkz+xPPJDJO9RFaqg7hkNrt8CcHYWDgJnXDtYRXlUBFIpXN1+sWfIcDBBtcKrC6ndb8Xdi532CXf83odYvD/YLdTN7dS3OxFHkW7z/dcTRluHGhrKLp1VJGyeKQlBmh385T1vuWkfZfApTjbWpjvey7y3zeIyLWLwCZqjQFu/Ymw0P7A== 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=mV9woyiPRnlGHPS8Awc0ZejNBUTO7jMBIQ3dVirNKc4=; b=LQeR9kqSBNw6gxFQxKO555oKzRj3fgd/Pxs/Vt2YucuNQhaN9qsCoXdDu24uNgg39aMUHYMkym7TGZZinqUbAxGtT3R2TqEIyG1rL34Tl9WH+YFENY2Y9qjeJx1FJAQHCpTelzVRGEycxTOQjyUKVJinX2Ilwqcpbe21TKWbCcU= Received: from CO1PR10MB4531.namprd10.prod.outlook.com (2603:10b6:303:6c::22) by CY5PR10MB6022.namprd10.prod.outlook.com (2603:10b6:930:3e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.28; Tue, 16 Aug 2022 15:23:32 +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; Tue, 16 Aug 2022 15:23:32 +0000 Message-ID: <05aefa7f-1f0d-b10a-946b-07a581d89467@oracle.com> Date: Tue, 16 Aug 2022 10:23:25 -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> <2b44bbd1-6e6f-40d1-73ac-19348d1ef48a@oracle.com> From: Eric DeVolder In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR06CA0069.namprd06.prod.outlook.com (2603:10b6:5:54::46) 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: 841b44b1-ae4d-47a1-adce-08da7f9b4721 X-MS-TrafficTypeDiagnostic: CY5PR10MB6022:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 88OzPU01PIYzgxb3rPf33BTNnvuzcxn5nXtjcDdhjWSbPWNhLNpW3h729RlByt46m4aInKa3pNacdBoJzlMAjvym1kgqoOTGsJJmbMb8GSfc4TTlam5UwSpZ9gCTbxiLghBiz2vBoKDrGUStY/gzqm3bNe31XwR9aopYK5YDFMVSa2nyT7mgGQhqN+YfqxGPXO2j9F623C1SJ0chDqOr94RFcfloDtd8HlN7EDsJBVMaVE6g246H2opsGBHC9BH9j0PeFO/595QFjwINg+pDzhMQeIOEpJx6wqRfR8SMpz1W2o1orhrjpSOV8aoTeklyAVqdwDYWVImlcBLJuaNz6PZMS5yX9/W5Dq2diiu6v+GosagwdaoKqTAO1pnwd+k9HzitN1qVuKK21//HawRqgu3ib0hFQ9psuwfg4nqd01k1y6LjMku/JuOLIioVEA6lwJ/bIUlPnuq/gaBoaOCC6FoTlO8e2o8LzsU8oC8XE50M58Ldhc47EQdit/jhpi1t+IrUXZLEJexjWYIKhGzW/T959IzPnWFh2H2EDShfCxcnMYn7srNLcz2vmW5Um5RFyJ6fSoNeZG9/YubweiKPsAEsUn29R/Rmd2vWPTjcOAmJej4rz6ojUXYvP0tOxCt8mQ/jP69/vme2gG1pqa7mvTK7Fx8YP5kmfOctyx2w3MN3FEwvf4XVAFkpYArPxC/cBQx0/HUmzkwyx02e/md/oH4zcZv9ouLBEGfGWMdQDvMuSo1elVvEzSJHYrCRsNJ1sfLVo1XdtAQAuiwqJkjfKv3U31kOvTXBL8hLYtu1n0+xkwldU5K280umvpp+0N3GkIgiT98krkPb2F/L/nM3+w== 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)(136003)(366004)(376002)(396003)(39860400002)(346002)(31686004)(7416002)(5660300002)(36756003)(66946007)(66556008)(66476007)(6916009)(316002)(2906002)(86362001)(31696002)(83380400001)(6666004)(8676002)(6512007)(6506007)(6486002)(38100700002)(478600001)(53546011)(4326008)(8936002)(107886003)(2616005)(186003)(41300700001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dXRUUyt5Nnh1U0VQZ2o5bEhkS04zNHRMTlRjTmkyTUlRTFR3QWNPdG1KSi8y?= =?utf-8?B?dXFGZ2NRcGpRaG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f9b4721 X-MS-Exchange-CrossTenant-AuthSource: CO1PR10MB4531.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 15:23:31.8425 (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: 4N+Oxd+G1VdjIGN9qBJJrWpCAjc5xRCfGrS3GnA3TOnXCq1puHeimmZ6USV6DzR1QH+YXKMg0ib1tqjPRZA6FogFCLJuOcgZ+8VAt8HylRc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR10MB6022 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-16_08,2022-08-16_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208160059 X-Proofpoint-ORIG-GUID: TiWIYqLo0B0MljSaEiLISfNNO1ghM-iK X-Proofpoint-GUID: TiWIYqLo0B0MljSaEiLISfNNO1ghM-iK 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 19:24, Baoquan He wrote: > On 08/12/22 at 04:23pm, Eric DeVolder wrote: >> >> >> 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 > > I think we can do this in two steps. > > Firstly, make do with asm/kexec.h since all other ARCHes put crash related stuff > into asm/kexec.h, except of x86. Baoquan, I've made the changes to utilizes asm/kexec.h. For x86, I did have to put what I previously had in asm/crash.h into asm/kexec.h. > > Secondly, clean up to put those crash marco/inline functions into > asm/crash.h. Yes, in looking at kexec.h, there is alot of crash items in there that would make for a good cleanup pass... > > The 2nd step can be done in a independent patchset. What do you think? > Yes! eric