Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4374170ybg; Mon, 8 Jun 2020 06:23:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXGFCGQhHzYIQh6u5h48Y3lODUd4QggaFCMesW6ibgGo/rqnH9XqpwJJ78wTtu73D0B4zO X-Received: by 2002:a17:906:3e57:: with SMTP id t23mr20143826eji.545.1591622624662; Mon, 08 Jun 2020 06:23:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591622624; cv=none; d=google.com; s=arc-20160816; b=SyDA56No2Q3yOFsyzzy+mm1ZvAAgWtDFd7DiyWxRBr6x+tUxfuFrEYQ5hZIzePb9nO IoIcHAtS1rdjnwblaKeCXFpvtzdCcN8t6eQNLlGtgJNdOX6TkoBcIkoUuxcBKCURcdgc ZmrvQYquwNMP62jQuUfRdd6KEUNWeuOnWwMuGSBrYAI64SSDaabmX9Jt+PQInSRPjZJJ LkrZVgDdB2Bi1k2MhVJiUR/27xoyi618FJZnWrgMYdecGBJVOGub0UTMD2AqYQAqOKTa qui5wr48oxZzf0DpkQ13rNs+LmoHKlVy7kX1T3yQTXJ9KfO1jfs//hcPw5ASLUcgX8dD s20Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=4Kn47SvgWtzJvGdAHtrl4GrkBFzAMzAPDG0yfcYoJ1k=; b=RZynGYxotI+SABAxFzMfHkBqwkS3dWovb5etV9/+M96BZDV1agSKcfS4givu9v2zP2 7Bu0DOXu4ZrXRklpM8N5mFZly1vtSFoMP5pMl6jkKMO5ULE0fSttCL+0KG1ASRhRnuES TS7zTFAOlSS8+kjDjB2ABIY6wkeWbTv1+SywEQWlF/ecCZaS/ZateRoUh8HYM03OzYpF qLHvfbCo9qQoUSNb3nGyI6niSSQGVAjRvvyK33KH2xRiRUl1x71LEm6A7UZW2Dk2qwxK vCN3eicAFNyTOzSu7zMMJaBB53qNmdj4CU02pBZ6fdWi6qpVDauc/wpcbJH1w/DmKVrl bwIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fnarfbargle.com header.s=mail header.b="kInQoV/P"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fnarfbargle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si2205029eju.110.2020.06.08.06.23.20; Mon, 08 Jun 2020 06:23:44 -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; dkim=pass header.i=@fnarfbargle.com header.s=mail header.b="kInQoV/P"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=fnarfbargle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729214AbgFHNV0 (ORCPT + 99 others); Mon, 8 Jun 2020 09:21:26 -0400 Received: from ns3.fnarfbargle.com ([103.4.19.87]:53890 "EHLO ns3.fnarfbargle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728022AbgFHNV0 (ORCPT ); Mon, 8 Jun 2020 09:21:26 -0400 Received: from srv.home ([10.8.0.1] ident=heh12225) by ns3.fnarfbargle.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1jiHgh-0005if-Nj; Mon, 08 Jun 2020 21:19:39 +0800 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fnarfbargle.com; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=4Kn47SvgWtzJvGdAHtrl4GrkBFzAMzAPDG0yfcYoJ1k=; b=kInQoV/PZVWBADyl/OvkPVHIeU6xGQmm2wlLxoxIVPKXyXoATsVzYIqfQ+DGOC87kN9QHFLGsXO55oCGYNxx8Yu/9q0f6m8XchyRrrvgbTkqSkeof1pu2WS6ZFzVPG3F62sbwxsNKNMhJwklahRAngYRoFtMHwcbKKLHvMw16C4=; Subject: Re: [PATCH] x86/cpu: Reinitialize IA32_FEAT_CTL MSR on BSP during wakeup To: Sean Christopherson , kernel test robot Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "Rafael J. Wysocki" , Pavel Machek , kbuild-all@lists.01.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20200605200728.10145-1-sean.j.christopherson@intel.com> <202006060421.fTpTXYbe%lkp@intel.com> <20200607163428.GB24576@linux.intel.com> From: Brad Campbell Message-ID: <2c420161-2f1c-9d7b-47fb-c270c4b1645a@fnarfbargle.com> Date: Mon, 8 Jun 2020 21:20:16 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200607163428.GB24576@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org G'day Sean, With the addition of this patch on a vanilla v5.7 : Tested-by: Brad Campbell On 8/6/20 12:34 am, Sean Christopherson wrote: > On Sat, Jun 06, 2020 at 05:08:38AM +0800, kernel test robot wrote: > arch/x86/kernel/cpu/centaur.c: In function 'init_centaur': >>>> arch/x86/kernel/cpu/centaur.c:219:2: error: implicit declaration of function 'init_ia32_feat_ctl' [-Werror=implicit-function-declaration] >> 219 | init_ia32_feat_ctl(c); >> | ^~~~~~~~~~~~~~~~~~ >> cc1: some warnings being treated as errors >> -- >> arch/x86/kernel/cpu/zhaoxin.c: In function 'init_zhaoxin': >>>> arch/x86/kernel/cpu/zhaoxin.c:110:2: error: implicit declaration of function 'init_ia32_feat_ctl' [-Werror=implicit-function-declaration] >> 110 | init_ia32_feat_ctl(c); >> | ^~~~~~~~~~~~~~~~~~ >> cc1: some warnings being treated as errors > > Blech, zhaoxin.c an centaur.c don't include asm/cpu.h, and I (obviously) > don't have them enabled in my configs. I'll wait a day or two more before > sending v2. > diff --git a/arch/x86/kernel/cpu/centaur.c b/arch/x86/kernel/cpu/centaur.c > index 426792565d86..c5cf336e5077 100644 > --- a/arch/x86/kernel/cpu/centaur.c > +++ b/arch/x86/kernel/cpu/centaur.c > @@ -3,6 +3,7 @@ > #include > #include > > +#include > #include > #include > #include > diff --git a/arch/x86/kernel/cpu/zhaoxin.c b/arch/x86/kernel/cpu/zhaoxin.c > index df1358ba622b..05fa4ef63490 100644 > --- a/arch/x86/kernel/cpu/zhaoxin.c > +++ b/arch/x86/kernel/cpu/zhaoxin.c > @@ -2,6 +2,7 @@ > #include > #include > > +#include > #include > > #include "cpu.h" > >