Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3085075ybc; Thu, 21 Nov 2019 03:08:08 -0800 (PST) X-Google-Smtp-Source: APXvYqybs1lCzuw16/SzMgGsWRoysLDo2nUdAUm2VWLpjgGhAbGGXRGQpjFGru+7SZbrEuHlcTou X-Received: by 2002:a17:906:3f8a:: with SMTP id b10mr12937265ejj.315.1574334488179; Thu, 21 Nov 2019 03:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574334488; cv=none; d=google.com; s=arc-20160816; b=xtCrC6FO+a15bqqP2+dlLc2htb29g7L4RRyavAQuC0x9sSn70ubsaoVOwQKaSfJpW1 rcYd+3+e+G+PP3uUPx+ZVgI+QSz+QMZIRHg9siX6X+grM2crAVOnTL4O7OmAyAXS2LTk qRJOTYfEmC7tGgFkmeKKP3v8PEkOq/f/Fu/VHqEJDLWtS562BMRzjyNBAElyix5/T8ge ZP2yzjuZBxwp15V5P0zEVwD5VuH2ZAqnIPyoayM+wH9SrSc7pOn8Lrchr216/wUOPooP bIUyYAJqos/MbOOAOa88do/CUH4woyS/O4R2SoGY3/xrkhBTkMreBEGtCpPnBX0IkAGu LT0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uDA1XNH/BDEQTxr9BABuMzUgYDIn2hXZ3aP/cBDMLVo=; b=0BqH0temefszk83oVw4fKlwYggHya1yiHEAGrVEzJU61r/XAFmhqbc7dKpNlKiXBuv L44XP5kXjGVCCv0stvSTEuJGjXSRnXtZbczmGD8aLL4JkMZRqQp+Qj0uFGVVT2jLRku2 6zHkUpMWqUGkfDsT/icZsgJnkMazFrlK/PiYawkHrhOR2UXxRBTh9ZOE8tvR96xVCcwc lOdvNaWZN4yjsVP6elaul+a8S9jLvFrhrpruSkdSdiwZmFk0FjmIalDi2lkHTIhA0sby 6fxdY2bZB1i6CST+2A+15JoBkG/4YpcbyO8P4kYf27uWIKYdbDa42nG8LDr+au274MnO 7oYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZY01aSvH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gx24si1586834ejb.429.2019.11.21.03.07.43; Thu, 21 Nov 2019 03:08:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZY01aSvH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726909AbfKULFl (ORCPT + 99 others); Thu, 21 Nov 2019 06:05:41 -0500 Received: from mail.skyhub.de ([5.9.137.197]:44722 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726014AbfKULFl (ORCPT ); Thu, 21 Nov 2019 06:05:41 -0500 Received: from zn.tnic (p200300EC2F0F07006553A4184595DC73.dip0.t-ipconnect.de [IPv6:2003:ec:2f0f:700:6553:a418:4595:dc73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 59F9C1EC0CF0; Thu, 21 Nov 2019 12:05:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1574334335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=uDA1XNH/BDEQTxr9BABuMzUgYDIn2hXZ3aP/cBDMLVo=; b=ZY01aSvHF7c4EoU+iM0ZCScSFeQNFtWU/+MDFyPJCPtEWLx3Hb2EnvMfQhbh9cMRZRoo0y SGvuVpJPyqDfS1zGs3B0B2hcie36w0DSAENy2TehmN7lEu8QfdPc0q/F7tyt6N/Zmppmn/ nevOTxhrAvrKr81GvYA9mfgh8butiHM= Date: Thu, 21 Nov 2019 12:05:33 +0100 From: Borislav Petkov To: Jarkko Sakkinen Cc: Sean Christopherson , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Tony Luck , Tony W Wang-oc , Shuah Khan , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-edac@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 04/19] x86/intel: Initialize IA32_FEATURE_CONTROL MSR at boot Message-ID: <20191121110533.GD6540@zn.tnic> References: <20191119031240.7779-1-sean.j.christopherson@intel.com> <20191119031240.7779-5-sean.j.christopherson@intel.com> <20191121103925.GB20907@linux.intel.com> <20191121104145.GC20907@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191121104145.GC20907@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 21, 2019 at 12:41:45PM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 21, 2019 at 12:39:25PM +0200, Jarkko Sakkinen wrote: > > > +void init_feature_control_msr(struct cpuinfo_x86 *c) > > I'd also use here shorter init_feat_ctl_msr(). It has one call site > but shorter name is more convenient when playing with tracing tools. Yeah, and since we're shortening all to feat_ctl, let's do: mv arch/x86/kernel/cpu/feature_control.c arch/x86/kernel/cpu/feat_ctl.c too. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette