mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: ak@suse.de
Cc: LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] Document x86-64 iommu kernel parameters
Date: Tue, 2 Oct 2007 21:34:13 -0400	[thread overview]
Message-ID: <20071003013413.GA17717@havoc.gtf.org> (raw)


Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
---
After having to go figure out what some of these means, I figured I
would save others the trouble.

Some of these are "best guess" based on a quick scan of the code, so it
certainly needs a sanity review before going upstream.

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 4d175c7..8afea9b 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -763,6 +763,30 @@ and is between 256 and 4096 characters. It is defined in the file
 
 	inttest=	[IA64]
 
+	iommu=option[,option..]	[X86-64]
+		off		Disable IOMMU.
+		force		Unconditionally enable IOMMU.
+		noforce		Disable IOMMU and IOMMU merging, by default.
+		biomerge	Unconditionally enable IOMMU, IOMMU merging,
+				and set BIO IOMMU vmerge boundary to 4096.
+		panic		Panic on IOMMU overflow.
+		nopanic		Do not panic on IOMMU overflow.
+		merge		Unconditionally enable IOMMU, IOMMU merging.
+		nomerge		Disable IOMMU merging.
+		forcesac	Force single address cycle (SAC, 32-bit).
+		allowdac	Permit dual address cycle (DAC, 64-bit).
+		nodac		Forbid dual address cycle (DAC, 64-bit).
+		soft		Enable swiotlb.
+		calgary		Use Calgary IOMMU.
+
+			(GART-only options follow...)
+		<NNN>		Specify size of remapping area.
+		fullflush	Disable optimizing flushing strategy.
+		nofullflush	Enable optimizing flushing strategy.
+		noagp		Use entire aperture, AGP isn't using it.
+		noaperture	Disable aperture fixups / hole init.
+		memaper=<N>	malloc an aperture of order N.
+
 	io7=		[HW] IO7 for Marvel based alpha systems
 			See comment before marvel_specify_io7 in
 			arch/alpha/kernel/core_marvel.c.

             reply	other threads:[~2007-10-03  1:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03  1:34 Jeff Garzik [this message]
2007-10-03  2:22 ` Randy Dunlap
2007-10-03  2:30   ` Jeff Garzik
2007-10-03  3:42     ` Randy Dunlap
2007-10-03  4:01     ` Randy Dunlap
2007-10-03  4:10       ` H. Peter Anvin
2007-10-03 16:58         ` Chuck Ebbert
2007-10-04  9:01           ` Andi Kleen
2007-10-04 15:50             ` Chuck Ebbert

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=20071003013413.GA17717@havoc.gtf.org \
    --to=jeff@garzik.org \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome