All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hirofumi Fujita <fujita@kanagawa.hitachi.co.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] test10 bug on SW IO TLB
Date: Wed, 08 Nov 2000 09:28:17 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205667@msgid-missing> (raw)

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.


             reply	other threads:[~2000-11-08  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-08  9:28 Hirofumi Fujita [this message]
2000-11-08 22:16 ` [Linux-ia64] test10 bug on SW IO TLB David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205667@msgid-missing \
    --to=fujita@kanagawa.hitachi.co.jp \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.