From: "Jan Beulich" Subject: [PATCH] document IOMMU related command line options Date: Fri, 04 Jul 2014 15:43:33 +0100 Message-ID: <53B6D9B50200007800020CB5@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartB5875D85.0__=" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X34i7-0000v9-IE for xen-devel@lists.xenproject.org; Fri, 04 Jul 2014 14:43:35 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartB5875D85.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Signed-off-by: Jan Beulich --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -667,9 +667,101 @@ debug hypervisor only). =20 ### ioapic\_ack ### iommu -### iommu\_inclusive\_mapping +> `=3D List of [ | force | required | intremap | qinval | snoop = | sharept | dom0-passthrough | dom0-strict | amd-iommu-perdev-intremap | = workaround_bios_bug | verbose | debug ]` + +> Sub-options: + +> `` + +> Default: `on` + +>> Control the use of IOMMU(s) in the system. + +> All other sub-options are of boolean kind and can be prefixed with = `no-` to +> effect the inverse meaning. + +> `force` or `required` + +> Default: `false` + +>> Don't continue booting unless IOMMU support is found and can be = initialized +>> successfully. + +> `intremap` + +> Default: `true` + +>> Control the use of interrupt remapping (DMA remapping will always be = enabled +>> if IOMMU functionality is enabled). + +> `qinval` (VT-d) + +> Default: `true` + +>> Control the use of Queued Invalidation. + +> `snoop` (Intel) + +> Default: `true` + +>> Control the use of Snoop Control. + +> `sharept` + +> Default: `true` + +>> Control whether CPU and IOMMU page tables should be shared. + +> `dom0-passthrough` + +> Default: `false` + +>> Control whether to disable DMA remapping for Dom0. + +> `dom0-strict` + +> Default: `false` + +>> Control whether to set up DMA remapping only for the memory Dom0 = actually +>> got assigned. Implies `no-dom0-passthrough`. + +> `amd-iommu-perdev-intremap` + +> Default: `true` + +>> Control whether to set up interrupt remapping data structures per = device +>> rather that once for the entire system. Turning this off is making PCI +>> device pass-through insecure and hence unsupported. + +> `workaround_bios_bug` (VT-d) + +> Default: `false` + +>> Causes DRHD entries without any PCI discoverable devices under them to = be +>> ignored (normally IOMMU setup fails if any of the devices listed by a = DRHD +>> entry aren't PCI discoverable). + +> `verbose` + +> Default: `false` + +>> Increase IOMMU code's verbosity. + +> `debug` + +> Default: `false` + +>> Enable IOMMU debugging code (implies `verbose`). + +### iommu\_inclusive\_mapping (VT-d) > `=3D ` =20 +> Default: `false` + +Use this to work around firmware issues providing correct RMRR entries. = Rather +than only mapping RAM pages for IOMMU accesses for Dom0, with this option = all +pages not marked as unusable in the E820 table will get a mapping = established. + ### irq\_ratelimit > `=3D ` =20 --=__PartB5875D85.0__= Content-Type: text/plain; name="doc-iommu-option.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="doc-iommu-option.patch" document IOMMU related command line options=0A=0ASigned-off-by: Jan = Beulich =0A=0A--- a/docs/misc/xen-command-line.markdown= =0A+++ b/docs/misc/xen-command-line.markdown=0A@@ -667,9 +667,101 @@ debug = hypervisor only).=0A =0A ### ioapic\_ack=0A ### iommu=0A-### iommu\_inclusi= ve\_mapping=0A+> `=3D List of [ | force | required | intremap | = qinval | snoop | sharept | dom0-passthrough | dom0-strict | amd-iommu-perde= v-intremap | workaround_bios_bug | verbose | debug ]`=0A+=0A+> Sub-options:= =0A+=0A+> ``=0A+=0A+> Default: `on`=0A+=0A+>> Control the use of = IOMMU(s) in the system.=0A+=0A+> All other sub-options are of boolean kind = and can be prefixed with `no-` to=0A+> effect the inverse meaning.=0A+=0A+>= `force` or `required`=0A+=0A+> Default: `false`=0A+=0A+>> Don't continue = booting unless IOMMU support is found and can be initialized=0A+>> = successfully.=0A+=0A+> `intremap`=0A+=0A+> Default: `true`=0A+=0A+>> = Control the use of interrupt remapping (DMA remapping will always be = enabled=0A+>> if IOMMU functionality is enabled).=0A+=0A+> `qinval` = (VT-d)=0A+=0A+> Default: `true`=0A+=0A+>> Control the use of Queued = Invalidation.=0A+=0A+> `snoop` (Intel)=0A+=0A+> Default: `true`=0A+=0A+>> = Control the use of Snoop Control.=0A+=0A+> `sharept`=0A+=0A+> Default: = `true`=0A+=0A+>> Control whether CPU and IOMMU page tables should be = shared.=0A+=0A+> `dom0-passthrough`=0A+=0A+> Default: `false`=0A+=0A+>> = Control whether to disable DMA remapping for Dom0.=0A+=0A+> `dom0-strict`= =0A+=0A+> Default: `false`=0A+=0A+>> Control whether to set up DMA = remapping only for the memory Dom0 actually=0A+>> got assigned. Implies = `no-dom0-passthrough`.=0A+=0A+> `amd-iommu-perdev-intremap`=0A+=0A+> = Default: `true`=0A+=0A+>> Control whether to set up interrupt remapping = data structures per device=0A+>> rather that once for the entire system. = Turning this off is making PCI=0A+>> device pass-through insecure and = hence unsupported.=0A+=0A+> `workaround_bios_bug` (VT-d)=0A+=0A+> Default: = `false`=0A+=0A+>> Causes DRHD entries without any PCI discoverable devices = under them to be=0A+>> ignored (normally IOMMU setup fails if any of the = devices listed by a DRHD=0A+>> entry aren't PCI discoverable).=0A+=0A+> = `verbose`=0A+=0A+> Default: `false`=0A+=0A+>> Increase IOMMU code's = verbosity.=0A+=0A+> `debug`=0A+=0A+> Default: `false`=0A+=0A+>> Enable = IOMMU debugging code (implies `verbose`).=0A+=0A+### iommu\_inclusive\_mapp= ing (VT-d)=0A > `=3D `=0A =0A+> Default: `false`=0A+=0A+Use this = to work around firmware issues providing correct RMRR entries. Rather=0A+th= an only mapping RAM pages for IOMMU accesses for Dom0, with this option = all=0A+pages not marked as unusable in the E820 table will get a mapping = established.=0A+=0A ### irq\_ratelimit=0A > `=3D `=0A =0A --=__PartB5875D85.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartB5875D85.0__=--