* [PATCH] x86: increase timeout for EHCI debug port reset completion in early printk
@ 2009-09-04 8:13 Jan Beulich
2009-09-20 18:29 ` [tip:x86/urgent] x86: Increase " tip-bot for Jan Beulich
0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2009-09-04 8:13 UTC (permalink / raw)
To: mingo, tglx, hpa; +Cc: yhlu.kernel, linux-kernel
On one of my systems, several thousand iterations are needed before
CMD_RESET can be observed clear after setting it. Using a much higher
value here obviously cannot hurt.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/early_printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.31-rc8/arch/x86/kernel/early_printk.c 2009-06-10 05:05:27.000000000 +0200
+++ 2.6.31-rc8-x86-earlyprintk-dbgp-reset/arch/x86/kernel/early_printk.c 2009-09-02 12:13:01.000000000 +0200
@@ -624,7 +624,7 @@ try_next_port:
return -1;
}
- loop = 10;
+ loop = 100000;
/* Reset the EHCI controller */
cmd = readl(&ehci_regs->command);
cmd |= CMD_RESET;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/urgent] x86: Increase timeout for EHCI debug port reset completion in early printk
2009-09-04 8:13 [PATCH] x86: increase timeout for EHCI debug port reset completion in early printk Jan Beulich
@ 2009-09-20 18:29 ` tip-bot for Jan Beulich
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Jan Beulich @ 2009-09-20 18:29 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, yhlu.kernel, jbeulich, JBeulich, tglx, mingo
Commit-ID: 414128bd33fef3242747154dfa444970bc5caf4c
Gitweb: http://git.kernel.org/tip/414128bd33fef3242747154dfa444970bc5caf4c
Author: Jan Beulich <JBeulich@novell.com>
AuthorDate: Fri, 4 Sep 2009 09:13:49 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Sun, 20 Sep 2009 20:23:37 +0200
x86: Increase timeout for EHCI debug port reset completion in early printk
On one of my systems, several thousand iterations are needed before
CMD_RESET can be observed clear after setting it. Using a much
higher value here obviously cannot hurt.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
LKML-Reference: <4AA0E85D02000078000136F9@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/early_printk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/early_printk.c b/arch/x86/kernel/early_printk.c
index 335f049..b11cab3 100644
--- a/arch/x86/kernel/early_printk.c
+++ b/arch/x86/kernel/early_printk.c
@@ -624,7 +624,7 @@ try_next_port:
return -1;
}
- loop = 10;
+ loop = 100000;
/* Reset the EHCI controller */
cmd = readl(&ehci_regs->command);
cmd |= CMD_RESET;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-20 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04 8:13 [PATCH] x86: increase timeout for EHCI debug port reset completion in early printk Jan Beulich
2009-09-20 18:29 ` [tip:x86/urgent] x86: Increase " tip-bot for Jan Beulich
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