projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2127915
)
x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
author
Jiang Biao
<jiang.biao2@zte.com.cn>
Wed, 18 Jul 2018 00:03:14 +0000
(08:03 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 19 Jul 2018 10:31:00 +0000
(12:31 +0200)
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
arch/x86/include/asm/nospec-branch.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/nospec-branch.h
b/arch/x86/include/asm/nospec-branch.h
index f6f6c63da62f4806d12d6a128bd9f3bb440c93ae..c99082e2ef13bf4f30f9ac1a1a5e763b31d94b30 100644
(file)
--- a/
arch/x86/include/asm/nospec-branch.h
+++ b/
arch/x86/include/asm/nospec-branch.h
@@
-214,7
+214,6
@@
enum spectre_v2_mitigation {
SPECTRE_V2_RETPOLINE_MINIMAL_AMD,
SPECTRE_V2_RETPOLINE_GENERIC,
SPECTRE_V2_RETPOLINE_AMD,
- SPECTRE_V2_IBRS,
};
/* The Speculative Store Bypass disable variants */