Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp213122pxb; Thu, 2 Sep 2021 02:26:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYSiHq0HaYdD+laE2/rIYYO2F94894muHHfQF6zktpBEYfTj5VOWY0NXunrg92rAlVAiXO X-Received: by 2002:a17:906:9b1:: with SMTP id q17mr2711126eje.546.1630574777542; Thu, 02 Sep 2021 02:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630574777; cv=none; d=google.com; s=arc-20160816; b=yt39LYS4Rdu9dlTZ8Bvwt/9qWkTTEa1R4xaMHhE0E2WIgDFizNeqmuBCJJDqs1PE3c 6YUBeXIGxeob0xY3QrqolMfEb2RhIEleb74Qj5K8zQQdrDtbb4te8hVWUhmdv60sOsBN pvXo9LQWOnGLqqCL42BgAzmCnjtlOVDKARJWMrSrOT8PJYFjCLMO3AuV575W3XIqzguq FKiwoNDttLcBonOX4rdDGWG7kgRVvb1k227S8KEFPmrxGJkXhKb7aaxofIsSByf9W21v I9A6byQoJXoPYN4B2e1XBH/D6FGbxht498O+7KzHnjK+kGPc/vxZsZEkeMjs8pmxOftM Zm6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=hWzk+GRE//ihsW5n6xH3Yc15KeYOhHfxLHQJixGDYFM=; b=Qxau795XgTJqelFeGBZEwCdvOsZQ4z8xuO4wsvxYEb2QXJFv9LMAkuJiZuYbrjj9yf Ti5hxK1u896+GQaffbC+9zU94jpnEss/Zs8+g1dyRAQ2S3IYI/u/sxiOr+WeSlsOvXrx PgtBfJibMT0NovsWEoBMo/SStV9giRVuzFlG/PO5rWKOPRJmDxACdZ/pwfykfinxSawY XJeY/QA9x/LfN+TonD2c06ov/asS6nUvLWV8pPO2y41PYvse4ya/+yXA9DL31MIHhmMZ /o0A/ObECfzuh+CfbdXdwts7LxWXAR52efVGhKxLOddnO1rFeMMawPNLxbDP9gHgxJZ2 wb4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si1641480eje.339.2021.09.02.02.25.34; Thu, 02 Sep 2021 02:26:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245378AbhIBJWz (ORCPT + 99 others); Thu, 2 Sep 2021 05:22:55 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:33287 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245139AbhIBJWx (ORCPT ); Thu, 2 Sep 2021 05:22:53 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=laijs@linux.alibaba.com;NM=1;PH=DS;RN=16;SR=0;TI=SMTPD_---0Un.S-zH_1630574511; Received: from C02XQCBJJG5H.local(mailfrom:laijs@linux.alibaba.com fp:SMTPD_---0Un.S-zH_1630574511) by smtp.aliyun-inc.com(127.0.0.1); Thu, 02 Sep 2021 17:21:51 +0800 Subject: Re: [PATCH 02/24] x86/traps: Move arch/x86/kernel/traps.c to arch/x86/entry/ To: Joerg Roedel , Lai Jiangshan Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "Peter Zijlstra (Intel)" , Daniel Bristot de Oliveira , Brijesh Singh , Andy Shevchenko , Arvind Sankar , Chester Lin , Juergen Gross References: <20210831175025.27570-1-jiangshanlai@gmail.com> <20210831175025.27570-3-jiangshanlai@gmail.com> From: Lai Jiangshan Message-ID: <1f327579-e62a-df65-0763-e88243829db3@linux.alibaba.com> Date: Thu, 2 Sep 2021 17:21:51 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/9/2 16:09, Joerg Roedel wrote: > On Wed, Sep 01, 2021 at 01:50:03AM +0800, Lai Jiangshan wrote: >> arch/x86/entry/Makefile | 5 ++++- >> arch/x86/{kernel => entry}/traps.c | 0 >> arch/x86/kernel/Makefile | 5 +---- >> 3 files changed, 5 insertions(+), 5 deletions(-) >> rename arch/x86/{kernel => entry}/traps.c (100%) > > From looking over the patch-set I didn't spot the reason for putting the > entry C code into traps.c. Can you explain that please? Otherwise I'd > prefer to create a new file, like arch/x86/entry/entry64.c. I agree, and I think Peter is handling it. Thanks Lai