mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/speculation: remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
@ 2018-07-18  0:03 Jiang Biao
  2018-07-19 10:33 ` [tip:x86/pti] x86/speculation: Remove " tip-bot for Jiang Biao
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Biao @ 2018-07-18  0:03 UTC (permalink / raw)
  To: tglx, mingo
  Cc: x86, hpa, dwmw, konrad.wilk, bp, linux-kernel, zhong.weidong,
	jiang.biao2

SPECTRE_V2_IBRS in enum spectre_v2_mitigation is never used, remove
it to avoid confusing.

Signed-off-by: Jiang Biao <jiang.biao2@zte.com.cn>
---
 arch/x86/include/asm/nospec-branch.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
index f6f6c63..c99082e 100644
--- 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 */
-- 
2.7.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:x86/pti] x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
  2018-07-18  0:03 [PATCH] x86/speculation: remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation Jiang Biao
@ 2018-07-19 10:33 ` tip-bot for Jiang Biao
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jiang Biao @ 2018-07-19 10:33 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: hpa, mingo, jiang.biao2, linux-kernel, tglx

Commit-ID:  d9f4426c73002957be5dd39936f44a09498f7560
Gitweb:     https://git.kernel.org/tip/d9f4426c73002957be5dd39936f44a09498f7560
Author:     Jiang Biao <jiang.biao2@zte.com.cn>
AuthorDate: Wed, 18 Jul 2018 08:03:14 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Thu, 19 Jul 2018 12:31:00 +0200

x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation

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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
index f6f6c63da62f..c99082e2ef13 100644
--- 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 */

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-19 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-18  0:03 [PATCH] x86/speculation: remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation Jiang Biao
2018-07-19 10:33 ` [tip:x86/pti] x86/speculation: Remove " tip-bot for Jiang Biao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome