public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] test10 bug on SW IO TLB
@ 2000-11-08  9:28 Hirofumi Fujita
  2000-11-08 22:16 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Hirofumi Fujita @ 2000-11-08  9:28 UTC (permalink / raw)
  To: linux-ia64

Hi,

there seems to be a bug on software IO TLB buffer.

Kernel command line option `swiotlb=' is ignored
when the bounce buffer for SW IO TLB is allocated.

Following is a patch to this.
But the call to setup_swiotlb should be in some file in
arch/ia64/kernel/ , i guess.

--- linux-2.4.0-test10-ia64-001101/arch/ia64/kernel/setup.c.org	Tue Oct 10 09:54:55 2000
+++ linux-2.4.0-test10-ia64-001101/arch/ia64/kernel/setup.c	Wed Nov  8 18:00:29 2000
@@ -255,13 +255,6 @@
 
 	paging_init();
 	platform_setup(cmdline_p);
-
-#ifdef CONFIG_SWIOTLB
-	{
-		extern void setup_swiotlb (void);
-		setup_swiotlb();
-	}
-#endif
 }
 
 /*
--- linux-2.4.0-test10-ia64-001101/init/main.c.org	Thu Nov  2 20:52:13 2000
+++ linux-2.4.0-test10-ia64-001101/init/main.c	Wed Nov  8 18:01:09 2000
@@ -527,6 +527,12 @@
 	setup_arch(&command_line);
 	printk("Kernel command line: %s\n", saved_command_line);
 	parse_options(command_line);
+#ifdef CONFIG_SWIOTLB
+	{
+		extern void setup_swiotlb (void);
+		setup_swiotlb();
+	}
+#endif
 	trap_init();
 	init_IRQ();
 	sched_init();
----------------

Hirofumi Fujita
Hitachi, Ltd.


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

end of thread, other threads:[~2000-11-08 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-08  9:28 [Linux-ia64] test10 bug on SW IO TLB Hirofumi Fujita
2000-11-08 22:16 ` David Mosberger

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