Skip to content
Snippets Groups Projects
Commit 84b422c3 authored by Waiman Long's avatar Waiman Long
Browse files

x86/cpu/amd: Enumerate BTC_NO

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231


CVE: CVE-2022-23816
CVE: CVE-2022-23825
CVE: CVE-2022-29900
CVE: CVE-2022-29901
Conflicts: A merge conflict in arch/x86/include/asm/cpufeatures.h due
	   to missing upstream commit a77d41ac ("x86/cpufeatures:
	   Add AMD Fam19h Branch Sampling feature").

commit 26aae8cc
Author: Andrew Cooper <andrew.cooper3@citrix.com>
Date:   Fri, 24 Jun 2022 14:41:21 +0100

    x86/cpu/amd: Enumerate BTC_NO

    BTC_NO indicates that hardware is not susceptible to Branch Type Confusion.

    Zen3 CPUs don't suffer BTC.

    Hypervisors are expected to synthesise BTC_NO when it is appropriate
    given the migration pool, to prevent kernels using heuristics.

      [ bp: Massage. ]

Signed-off-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>

Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent 860a06c2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment