summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang Biao <jiang.biao2@zte.com.cn>2018-07-18 08:03:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:45:09 +0200
commit12043f0eb5fd3a19eb9aa01f596c84ace0c7c1fc (patch)
tree8f859e3647876281f0940bfd8c8e2036f55461f4
parent9029b6908e1d1f55a33560736195dc907836774f (diff)
x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
commit d9f4426c73002957be5dd39936f44a09498f7560 upstream. SPECTRE_V2_IBRS in enum spectre_v2_mitigation is never used. Remove it. Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: hpa@zytor.com Cc: dwmw2@amazon.co.uk Cc: konrad.wilk@oracle.com Cc: bp@suse.de Cc: zhong.weidong@zte.com.cn Link: https://lkml.kernel.org/r/1531872194-39207-1-git-send-email-jiang.biao2@zte.com.cn [bwh: Backported to 4.4: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/x86/include/asm/nospec-branch.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
index 6668b9dc72e4..d04bb89cf3fe 100644
--- a/arch/x86/include/asm/nospec-branch.h
+++ b/arch/x86/include/asm/nospec-branch.h
@@ -169,7 +169,6 @@ enum spectre_v2_mitigation {
SPECTRE_V2_RETPOLINE_MINIMAL_AMD,
SPECTRE_V2_RETPOLINE_GENERIC,
SPECTRE_V2_RETPOLINE_AMD,
- SPECTRE_V2_IBRS,
SPECTRE_V2_IBRS_ENHANCED,
};