mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x84: reenable DEBUG_TLBFLUSH for X86_32
@ 2013-03-14 11:54 Paul Bolle
  2013-03-14 11:56 ` Paul Bolle
  2013-04-10 13:54 ` [tip:x86/mm] x86/mm: Re-enable " tip-bot for Paul Bolle
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Bolle @ 2013-03-14 11:54 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: x86, linux-kernel

CONFIG_INVLPG got removed in commit
094ab1db7cb7833cd4c820acd868fc26acf3f08e ("x86, 386 removal: Remove
CONFIG_INVLPG"). That commit left one instance of CONFIG_INVLPG
untouched, effectively disabling DEBUG_TLBFLUSH for X86_32. Since all
currently supported X86 CPU's should now be able to support that option,
just drop the entire sub-dependency.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) Untested! This needs testing by the subsection of people running
DEBUG_TLBFLUSH on X86_32. I'm not in that subsection.

1) I actually wonder whether this check was needed in the first place.
It seems that the code depending on CONFIG_DEBUG_TLBFLUSH in
arch/x86/mm/tlb.c was actually safe to be called on any X86 CPU, since
it used to test for cpu_has_invlpg. But none of that matters anymore.

 arch/x86/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index b322f12..16f7383 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -131,7 +131,7 @@ config DOUBLEFAULT
 
 config DEBUG_TLBFLUSH
 	bool "Set upper limit of TLB entries to flush one-by-one"
-	depends on DEBUG_KERNEL && (X86_64 || X86_INVLPG)
+	depends on DEBUG_KERNEL
 	---help---
 
 	X86-only for now.
-- 
1.7.11.7


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

* Re: [PATCH] x84: reenable DEBUG_TLBFLUSH for X86_32
  2013-03-14 11:54 [PATCH] x84: reenable DEBUG_TLBFLUSH for X86_32 Paul Bolle
@ 2013-03-14 11:56 ` Paul Bolle
  2013-04-10 13:54 ` [tip:x86/mm] x86/mm: Re-enable " tip-bot for Paul Bolle
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Bolle @ 2013-03-14 11:56 UTC (permalink / raw)
  To: Thomas Gleixner, H. Peter Anvin, Ingo Molnar; +Cc: x86, linux-kernel

s/x84:/x86:/ in summary, of course.


Paul Bolle


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

* [tip:x86/mm] x86/mm: Re-enable DEBUG_TLBFLUSH for X86_32
  2013-03-14 11:54 [PATCH] x84: reenable DEBUG_TLBFLUSH for X86_32 Paul Bolle
  2013-03-14 11:56 ` Paul Bolle
@ 2013-04-10 13:54 ` tip-bot for Paul Bolle
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Paul Bolle @ 2013-04-10 13:54 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, pebolle, hpa, mingo, tglx

Commit-ID:  cd69aa6b383c6a6373bff2204190cadf451ebcc3
Gitweb:     http://git.kernel.org/tip/cd69aa6b383c6a6373bff2204190cadf451ebcc3
Author:     Paul Bolle <pebolle@tiscali.nl>
AuthorDate: Thu, 14 Mar 2013 12:54:37 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 10 Apr 2013 14:53:12 +0200

x86/mm: Re-enable DEBUG_TLBFLUSH for X86_32

CONFIG_INVLPG got removed in commit
094ab1db7cb7833cd4c820acd868fc26acf3f08e ("x86, 386 removal:
Remove CONFIG_INVLPG").

That commit left one instance of CONFIG_INVLPG untouched, effectively
disabling DEBUG_TLBFLUSH for X86_32. Since all currently supported
x86 CPUs should now be able to support that option, just drop the entire
sub-dependency.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Link: http://lkml.kernel.org/r/1363262077.1335.71.camel@x61.thuisdomein
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index b322f12..16f7383 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -131,7 +131,7 @@ config DOUBLEFAULT
 
 config DEBUG_TLBFLUSH
 	bool "Set upper limit of TLB entries to flush one-by-one"
-	depends on DEBUG_KERNEL && (X86_64 || X86_INVLPG)
+	depends on DEBUG_KERNEL
 	---help---
 
 	X86-only for now.

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

end of thread, other threads:[~2013-04-10 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 11:54 [PATCH] x84: reenable DEBUG_TLBFLUSH for X86_32 Paul Bolle
2013-03-14 11:56 ` Paul Bolle
2013-04-10 13:54 ` [tip:x86/mm] x86/mm: Re-enable " tip-bot for Paul Bolle

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

all inboxes | Powered by JetHome®