RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1955710 - Virtualization documentations incorrectly prescribe amd_iommu=pt when pt is not a parsed setting for amd_iommu
Summary: Virtualization documentations incorrectly prescribe amd_iommu=pt when pt is n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-Virtualization_Deployment_and_Administration_Guide
Version: 7.9
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Jiri Herrmann
QA Contact: haoliu@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 17:12 UTC by Curtis Taylor
Modified: 2024-10-01 18:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-19 07:30:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Curtis Taylor 2021-04-30 17:12:03 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/chap-guest_virtual_machine_device_configuration

Note:  The same mention of "amd_iommu=pt" occurs in several other places, found by google search using:  "amd_iommu=pt" site:access.redhat.com

e.g. RHEV 4.* has the same issue in "Note" mentioning "amd_iommu=pt" in appendix C at https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/configuring_a_host_for_pci_passthrough_she_cli_deploy

Section Number and Name: 
Procedure 16.2. Preparing an AMD system for PCI device assignment
(RHEV 4.* amd_iommu=pt is found in Appendix C's "Note")

Describe the issue: 
16.2 step 2 says:

> Enable IOMMU kernel support
> Append amd_iommu=pt to the end of the GRUB_CMDLINX_LINUX line, 
> within the quotes, in /etc/sysconfig/grub so that AMD IOMMU 
> specifications are enabled at boot. 

However, amd_iommu=pt is not parsed by the kernel.

Suggestions for improvement: 

pt, even for amd_iommu happens when iommu=pt is specified on the kernel commandline.  In RHEL8 kernels (RHEV4.*), iommuv2 devices do pass-thru by default.

Additional information: 

From drivers/iommu/amd_iommu_init.c 
*** This shows that actually amd_iommu=pt is not parsed

  static int __init parse_amd_iommu_options(char *str)
  {
        for (; *str; ++str) {
                if (strncmp(str, "fullflush", 9) == 0)
                        amd_iommu_unmap_flush = true;
                if (strncmp(str, "off", 3) == 0)
                        amd_iommu_disabled = true;
                if (strncmp(str, "force_isolation", 15) == 0)
                        amd_iommu_force_isolation = true;
        }

        return 1;
  }


Note You need to log in before you can comment on or make changes to this bug.