Pull-request to address ARM SMMU issue

Bug #2031320 reported by Brad Figg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-nvidia-6.2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Issue]
When an iommu_domain is set to IOMMU_DOMAIN_IDENTITY, the driver would
skip the allocation of a CD table and set the CONFIG field of the STE
to STRTAB_STE_0_CFG_BYPASS. This works well for devices that only have
one substream, i.e. PASID disabled.

However, there could be a use case, for a pasid capable device, that
allows bypassing the translation at the default substream while still
enabling the pasid feature, which means the driver should not skip the
allocation of a CD table nor simply bypass the CONFIG field. Instead,
the S1DSS field should be set to STRTAB_STE_1_S1DSS_BYPASS and the
SHCFG field should be set to STRTAB_STE_1_SHCFG_INCOMING.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-nvidia-6.2 - 6.2.0-1009.9

---------------
linux-nvidia-6.2 (6.2.0-1009.9) jammy; urgency=medium

  * jammy/linux-nvidia-6.2: 6.2.0-1009.9 -proposed tracker (LP: #2031342)

  * Pull-request to address ARM SMMU issue (LP: #2031320)
    - NVIDIA: SAUCE: iommu/arm-smmu-v3: Allow default substream bypass with a
      pasid support

  * GDS: Add NFS patches to optimized kernel (LP: #1982519)
    - NVMe/MVMEeOF: Patch NVMe/NVMeOF driver to support GDS on Linux 6.2 Kernel

  * Miscellaneous upstream changes
    - Revert "NVIDIA: SAUCE: Add NVMe Patches to enable GDS"
    - NVIDIA: [Config] CONFIG_NR_CPUS=512 for Grace
    - NVIDIA: [Config] CONFIG_MTD_SPI_NOR=y for Grace

 -- Ian May <email address hidden> Mon, 14 Aug 2023 18:45:28 -0500

Changed in linux-nvidia-6.2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-6.5/6.5.0-1007.7 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-nvidia-6.5' to 'verification-done-jammy-linux-nvidia-6.5'. If the problem still exists, change the tag 'verification-needed-jammy-linux-nvidia-6.5' to 'verification-failed-jammy-linux-nvidia-6.5'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-nvidia-6.5-v2 verification-needed-jammy-linux-nvidia-6.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.