Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A43F4C54EED for ; Tue, 24 Jan 2023 21:37:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235031AbjAXVhq (ORCPT ); Tue, 24 Jan 2023 16:37:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233594AbjAXVhn (ORCPT ); Tue, 24 Jan 2023 16:37:43 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 722181B3 for ; Tue, 24 Jan 2023 13:37:42 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id n20-20020a17090aab9400b00229ca6a4636so43952pjq.0 for ; Tue, 24 Jan 2023 13:37:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=xCg+14KhdGv7fDnqb2rUDWNTTTL3orxb6Lg6ROb71qM=; b=bqryvfh/KBC/5NXKHYJZ0a9Jy2d6IlGtG0JOTS7QF96tYE8zMNzUvhCVnXfvJEt2YV 0qgrpUr5VGeO3/A++oBiRYp/0U+ORZ2U0NniFmlFE1yig3fjukEUqNXLWsIqogpWtK0h n3pEGCAx91Bm+4Y8Lyur18S5rJ5jieQvtfruWWYoCrkfrI8vf0JDWTDmH05cBLZCxNaH g61bXKhXQdncJ3GWly7Ga/2YFUZM7WttST3Jc4HJps86NcPYKBhS6VgP+IwOfF0t2mvG bHAIUSNtomwtMrot4HD074x+hN7XUWAlG5GzzZJSai6fkLzcJXQBOHCgIIbGz8JmYsIo xxAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xCg+14KhdGv7fDnqb2rUDWNTTTL3orxb6Lg6ROb71qM=; b=cICEq99GQ/ECPjpSpmk13MUEZGFtVDHkOdj5TvVkIFR9xSKxPkbjUK4rJOoYcUJvxb P4IiDxnWDPexx9Pzh3oia1rWzNU2Nbq1wXvt+nOsgIG+z54hlSthcmZXlub5wlL8ltU9 TTY30cy9yFUh0We1Uq7ik573RINxPfaRGVj9PY2HZw3vmWbEypZkoX/VdixzQB5WypiK MbKHwH3KsZ3ySUpS9Bn7fm4RGhxHkRdNr8k3oGq4hy+Sij2LJFLzqBfOae6RAmpkqSCV TtcQlSWHlhZnwPJVPJGn3SLM564pEH8SCjfKVwo1AhHG2ksly77rXoagfM2X2BXLIsWe oeoA== X-Gm-Message-State: AO0yUKXFG84WW8YRTHc7MN8NQSCVQHrLi9BOTFotnUvT3HWjFpgDqxhO 1E3zBGObWe11iDRABKkORs7G7A== X-Google-Smtp-Source: AK7set86jseu/vYRkmTo3r44uV1Oupq7/YteqiMcddsfINv9XXxhuDed8J59rP/5cL3MDxIbQhc2ng== X-Received: by 2002:a05:6a20:4c08:b0:a4:efde:2ed8 with SMTP id fm8-20020a056a204c0800b000a4efde2ed8mr400647pzb.0.1674596261827; Tue, 24 Jan 2023 13:37:41 -0800 (PST) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id y5-20020a056a00180500b0058d97b624f0sm2068374pfa.75.2023.01.24.13.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 13:37:38 -0800 (PST) Date: Tue, 24 Jan 2023 21:37:33 +0000 From: Sean Christopherson To: Kim Phillips Cc: x86@kernel.org, Borislav Petkov , Boris Ostrovsky , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joao Martins , Jonathan Corbet , Konrad Rzeszutek Wilk , Paolo Bonzini , Thomas Gleixner , David Woodhouse , Greg Kroah-Hartman , Juergen Gross , Peter Zijlstra , Tony Luck , Tom Lendacky , Alexey Kardashevskiy , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 0/8] x86/cpu, kvm: Support AMD Automatic IBRS Message-ID: References: <20230124163319.2277355-1-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230124163319.2277355-1-kim.phillips@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 24, 2023, Kim Phillips wrote: > Kim Phillips (8): > x86/cpu, kvm: Add support for CPUID_80000021_EAX > KVM: x86: Move open-coded cpuid leaf 0x80000021 EAX bit propagation > code > x86/cpu, kvm: Add the NO_NESTED_DATA_BP feature > x86/cpu, kvm: Move X86_FEATURE_LFENCE_RDTSC to its native leaf > x86/cpu, kvm: Add the Null Selector Clears Base feature > x86/cpu, kvm: Add the SMM_CTL MSR not present feature > x86/cpu: Support AMD Automatic IBRS > KVM: x86: Propagate the AMD Automatic IBRS feature to the guest > > Documentation/admin-guide/hw-vuln/spectre.rst | 6 ++-- > .../admin-guide/kernel-parameters.txt | 6 ++-- > arch/x86/include/asm/cpufeature.h | 7 +++-- > arch/x86/include/asm/cpufeatures.h | 11 ++++++-- > arch/x86/include/asm/disabled-features.h | 3 +- > arch/x86/include/asm/msr-index.h | 2 ++ > arch/x86/include/asm/required-features.h | 3 +- > arch/x86/kernel/cpu/amd.c | 2 +- > arch/x86/kernel/cpu/bugs.c | 20 +++++++------ > arch/x86/kernel/cpu/common.c | 26 +++++++++-------- > arch/x86/kvm/cpuid.c | 28 ++++++------------- > arch/x86/kvm/reverse_cpuid.h | 1 + > arch/x86/kvm/svm/svm.c | 3 ++ > arch/x86/kvm/x86.c | 3 ++ > 14 files changed, 70 insertions(+), 51 deletions(-) > > -- With my goof in the LFENCE_RDTSC patch fixed, Acked-by: Sean Christopherson