From mboxrd@z Thu Jan 1 00:00:00 1970 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 543DCC63797 for ; Tue, 17 Jan 2023 11:55:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236132AbjAQLzE (ORCPT ); Tue, 17 Jan 2023 06:55:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236893AbjAQLy7 (ORCPT ); Tue, 17 Jan 2023 06:54:59 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECD0732E62; Tue, 17 Jan 2023 03:54:57 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (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 7D9C31EC05F1; Tue, 17 Jan 2023 12:54:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1673956496; 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=EzEq0Nv/DDJ1PRGvIJ8dUuiGUaHmCTgowpM6A+bZV48=; b=DbSYv0J7+Weay6rxHomE8SkUNrWBXRpDfz8ErjXf/A2VDmLZ+Zgv8MikctMsn/eGzYHTFl OS8uLfvGRyf5A6dUIvBI+70YBbP7UatR2Mz6xKnNQelg8GsPzhbppZcUw96Q3bcGCWxGb/ gkLT543mMMKjUSMYDp6vCBL1YEgIuA0= Date: Tue, 17 Jan 2023 12:54:48 +0100 From: Borislav Petkov To: Paolo Bonzini , Sean Christopherson Cc: kvm@vger.kernel.org, Kim Phillips , x86@kernel.org, Boris Ostrovsky , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joao Martins , Jonathan Corbet , Konrad Rzeszutek Wilk , Paolo Bonzini , Sean Christopherson , Thomas Gleixner , David Woodhouse , Greg Kroah-Hartman , Juergen Gross , Peter Zijlstra , Tony Luck , Tom Lendacky , Alexey Kardashevskiy , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/7] x86/cpu, kvm: Support AMD Automatic IBRS Message-ID: References: <20230116230159.1511393-1-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230116230159.1511393-1-kim.phillips@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Mon, Jan 16, 2023 at 05:01:52PM -0600, Kim Phillips wrote: > Kim Phillips (7): > x86/cpu, kvm: Add support for cpuid leaf 80000021/EAX (FeatureExt2Eax) > x86/cpu, kvm: Add the NO_NESTED_DATA_BP feature > x86/cpu, kvm: Move the LFENCE_RDTSC / LFENCE always serializing > feature > 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 > x86/cpu, kvm: 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 | 22 +++++++++----- > arch/x86/kvm/cpuid.c | 30 +++++++------------ > arch/x86/kvm/reverse_cpuid.h | 1 + > arch/x86/kvm/svm/svm.c | 3 ++ > arch/x86/kvm/x86.c | 3 ++ > 14 files changed, 71 insertions(+), 48 deletions(-) KVM folks, I'm going to route this through the tip tree, along with the KVM bits. Holler if we should do something else to avoid any potential conflicts. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette