Content-Type: multipart/mixed; boundary="===============4714033684451724078==" MIME-Version: 1.0 From: Borislav Petkov To: kbuild-all@lists.01.org Subject: Re: [PATCH v4 01/19] x86/msr-index: Clean up bit defines for IA32_FEATURE_CONTROL MSR Date: Thu, 12 Dec 2019 10:25:09 +0100 Message-ID: <20191212092509.GB4991@zn.tnic> In-Reply-To: <20191202190633.GG4063@linux.intel.com> List-Id: --===============4714033684451724078== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Dec 02, 2019 at 11:06:33AM -0800, Sean Christopherson wrote: > Argh, flat out missed this when doing search and replace. There are more. What always works reliably for me is git grep: $ git grep MSR_IA32_FEATURE_CONTROL drivers/idle/intel_idle.c:1287: rdmsrl(MSR_IA32_FEATURE_CONTROL, ms= r); tools/arch/x86/include/asm/msr-index.h:561:#define MSR_IA32_FEATURE_CONTROL= 0x0000003a tools/power/x86/turbostat/turbostat.c:4502: if (!get_msr(base_cpu, MSR_= IA32_FEATURE_CONTROL, &msr)) tools/power/x86/turbostat/turbostat.c:4503: fprintf(outf, "cpu%= d: MSR_IA32_FEATURE_CONTROL: 0x%08llx (%sLocked %s)\n", tools/testing/selftests/kvm/include/x86_64/processor.h:771:#define MSR_IA32= _FEATURE_CONTROL 0x0000003a tools/testing/selftests/kvm/lib/x86_64/vmx.c:162: feature_control =3D= rdmsr(MSR_IA32_FEATURE_CONTROL); tools/testing/selftests/kvm/lib/x86_64/vmx.c:164: wrmsr(MSR_I= A32_FEATURE_CONTROL, feature_control | required); those additional ones won't break the build but it is perhaps worth unifying them all since we're at it, anyway. Thx. -- = Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette --===============4714033684451724078==--