disable Intel DMA remapping by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
It seems that enabling Intel IOMMU can cause some weird gfx problems, see for example:
https:/
https:/
[Test case]
We don't have any specific test case, only other bug reports that tracked down the origin of the issue as being introduced when CONFIG_
[Fix]
Revert "UBUNTU: [Config] enable Intel DMA remapping options by default"
[Regression potential]
DMA remapping device not present at boot by default, users that require this feature will need to specifically add intel_iommu=on to the kernel boot parameters to enable it.
affects: | linux-firmware (Ubuntu) → linux (Ubuntu) |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs. | #1 |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
summary: |
- disable Intel DMA remapping options by default + disable Intel DMA remapping by default |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
tags: | added: sts |
Matthew Ruffell (mruffell) wrote : | #2 |
A user has ran into a storage performance issue, and it has been traced back to CONFIG_
They have a Dell XtremIO FC storage server, running VMWare ESXi 7.0U3, with 4x pvscsi controllers (2 LUNs per controller), running a single large LV with 8-way 1MB stripe.
There are Ubuntu 20.04 and 22.04 VMs running on the same server. The VMs are attached to the storage unit through iSCSI.
When running the following FIO script:
[write1]
filename=
readwrite=randwrite
random_
blocksize=8K
ioengine=libaio
iodepth=32
direct=1
runtime=30
numjobs=8
group_reporting
invalidate=0
On 20.04 with 5.4.0-109-generic they see:
WRITE: bw=1010MiB/s (1059MB/s), 1010MiB/s-1010MiB/s (1059MB/
They note a 2%-3% %SYS load.
On 22.04 with 5.15.0-27-generic they see:
WRITE: bw=568MiB/s (595MB/s), 568MiB/s-568MiB/s (595MB/s-595MB/s), io=16.6GiB (17.9GB), run=30007-30007msec
They note a consistent 18%-19% %SYS load, and poor performance.
It seems VMWare emulates a IOMMU, and their VMs were configuring 8 IOMMU groups for their PCI devices, and it was significantly impacting iSCSI performance.
When intel_iommu=off was supplied on the kernel command line, the performance issue is no longer present. This is a suitable workaround for the time being.
This user is in agreement with and asking for CONFIG_
Matthew Ruffell (mruffell) wrote : | #3 |
A user has reported extensive performance issues with a Lenovo Thinkpad X1 Extreme Gen 2 laptop computer, in bug 1973434. The user reports video playback hangs, browser hangs and virtual machines hanging.
Their dmesg indicates the system has 2x IOMMUs and there are 25 groups being configured. They tested "intel_iommu=off", and the performance issues are no longer seen.
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #4 |
This bug is awaiting verification that the linux/5.15.0-36.37 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-
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:/
tags: | added: verification-needed-jammy |
Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package linux - 5.15.0-40.43
---------------
linux (5.15.0-40.43) jammy; urgency=medium
* jammy/linux: 5.15.0-40.43 -proposed tracker (LP: #1978610)
* Packaging resync (LP: #1786013)
- debian/
* [SRU][OEM-
A+A GPU (LP: #1975804)
- Revert "drm/amd/pm: keep the BACO feature enabled for suspend"
- drm/amd: Don't reset dGPUs if the system is going to s2idle
* [SRU][OEM-
AMD_SFH (LP: #1975798)
- HID: amd_sfh: Add support for sensor discovery
* [UBUNTU 20.04] CPU-MF: add extended counter set definitions for new IBM z16
(LP: #1974433)
- s390/cpumf: add new extended counter set for IBM z16
* [UBUNTU 20.04] KVM nesting support leaks too much memory, might result in
stalls during cleanup (LP: #1974017)
- KVM: s390: vsie/gmap: reduce gmap_rmap overhead
* [UBUNTU 20.04] Null Pointer issue in nfs code running Ubuntu on IBM Z
(LP: #1968096)
- NFS: Fix up nfs_ctx_
* Fix REG_WAIT timeout for Yellow Carp (LP: #1971417)
- drm/amd/display: Clear encoder assignments when state cleared.
- drm/amd/display: fix stale info in link encoder assignment
- drm/amd/display: Query all entries in assignment table during updates.
- drm/amd/display: Initialise encoder assignment when initialising dc_state
* Enable hotspot feature for Realtek 8821CE (LP: #1969326)
- rtw88: Add update beacon flow for AP mode
- rtw88: 8821c: Enable TX report for management frames
- rtw88: do PHY calibration while starting AP
- rtw88: 8821c: fix debugfs rssi value
- rtw88: add ieee80211:
* prevent kernel panic with overlayfs + shiftfs (LP: #1973620)
- SAUCE: overlayfs: prevent dereferencing struct file in ovl_vm_prfile_set()
* disable Intel DMA remapping by default (LP: #1971699)
- Revert "UBUNTU: [Config] enable Intel DMA remapping options by default"
* Mute/mic LEDs no function on Elitebook 630 (LP: #1974111)
- ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
* [Regression] Real-time Kernel Build Failure (LP: #1972899)
- x86/mm: Include spinlock_t definition in pgtable.
* build backport-
- [Packaging] support standalone dkms module builds
- [Packaging] drop do_<mod> arch specific configs
* IPU6 camera has no function on Andrews MLK (LP: #1964983)
- SAUCE: IPU6: 2022-03-11 alpha release for Andrews MLK
- [Config] IPU6: enable OV02C10 sensor
- SAUCE: IPU6: 2022-04-01 Andrews MLK PV release
- SAUCE: spi: ljca: return when a sub-transaction first failed
- SACUE: ljca: disable parallelly stub write
- SAUCE: ljca: fix race condition issue in runtime PM
- SAUCE: i2c-ljca: fix a null pointer access issue on tgl
- SAUCE: ljca: fix a typo issue
- SAUCE: ljca: assume stub enum failed as a warning
- SAUCE: mei: cleanup header file including
- SAUCE: intel_ulpss: Replaced by LJCA and remove
...
Changed in linux (Ubuntu Jammy): | |
status: | Fix Committed → Fix Released |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #6 |
This bug is awaiting verification that the linux-hwe-
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:/
tags: | added: verification-needed-focal |
Richard Hughes (richard-hughes) wrote : | #7 |
> * disable Intel DMA remapping by default (LP: #1971699)
Doesn't this add a massive security issue, in that you can plug a malicious thunderbolt peripheral into any Ubuntu laptop and read the entire unencrypted RAM space? The IOMMU is there for a reason...
Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package linux - 5.19.0-15.15
---------------
linux (5.19.0-15.15) kinetic; urgency=medium
* kinetic/linux: 5.19.0-15.15 -proposed tracker (LP: #1983335)
* Miscellaneous Ubuntu changes
- [Config] update annotations to support both gcc-11 and gcc-12
-- Andrea Righi <email address hidden> Tue, 02 Aug 2022 09:23:01 +0200
Changed in linux (Ubuntu): | |
status: | Invalid → Fix Released |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #9 |
This bug is awaiting verification that the linux/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:/
tags: | added: kernel-spammed-jammy-linux-v2 verification-needed-jammy-linux |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #10 |
This bug is awaiting verification that the linux-aws-
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:/
tags: | added: kernel-spammed-jammy-linux-aws-fips-v2 verification-needed-jammy-linux-aws-fips |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #11 |
This bug is awaiting verification that the linux-aws-
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:/
tags: | added: kernel-spammed-focal-linux-aws-5.15-v2 verification-needed-focal-linux-aws-5.15 |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #12 |
This bug is awaiting verification that the linux-nvidia-
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:/
tags: | added: kernel-spammed-jammy-linux-nvidia-tegra-v2 verification-needed-jammy-linux-nvidia-tegra |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #13 |
This bug is awaiting verification that the linux-nvidia-
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:/
tags: | added: kernel-spammed-focal-linux-nvidia-tegra-5.15-v2 verification-needed-focal-linux-nvidia-tegra-5.15 |
Roxana Nicolescu (roxanan) wrote : | #14 |
With no test case, I'll mark this as verified
tags: |
added: verification-done-focal-linux-aws-5.15 verification-done-focal-linux-nvidia-tegra-5.15 verification-done-jammy-linux verification-done-jammy-linux-aws-fips verification-done-jammy-linux-nvidia-tegra removed: verification-needed-focal-linux-aws-5.15 verification-needed-focal-linux-nvidia-tegra-5.15 verification-needed-jammy-linux verification-needed-jammy-linux-aws-fips verification-needed-jammy-linux-nvidia-tegra |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #15 |
This bug is awaiting verification that the linux-intel-
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:/
tags: | added: kernel-spammed-jammy-linux-intel-iotg-v2 verification-needed-jammy-linux-intel-iotg |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #16 |
This bug is awaiting verification that the linux-bluefield
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:/
tags: | added: kernel-spammed-jammy-linux-bluefield-v2 verification-needed-jammy-linux-bluefield |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #17 |
This bug is awaiting verification that the linux-oracle-
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:/
tags: | added: kernel-spammed-focal-linux-oracle-5.15-v2 verification-needed-focal-linux-oracle-5.15 |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #18 |
This bug is awaiting verification that the linux-nvidia-
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:/
tags: | added: kernel-spammed-jammy-linux-nvidia-tegra-igx-v2 verification-needed-jammy-linux-nvidia-tegra-igx |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #19 |
This bug is awaiting verification that the linux-xilinx-
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:/
tags: | added: kernel-spammed-jammy-linux-xilinx-zynqmp-v2 verification-needed-jammy-linux-xilinx-zynqmp |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #20 |
This bug is awaiting verification that the linux-nvidia-
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:/
tags: | added: kernel-spammed-jammy-linux-nvidia-6.8-v2 verification-needed-jammy-linux-nvidia-6.8 |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #21 |
This bug is awaiting verification that the linux-azure/
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:/
tags: | added: kernel-spammed-noble-linux-azure-v2 verification-needed-noble-linux-azure |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #22 |
This bug is awaiting verification that the linux-aws/
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:/
tags: | added: kernel-spammed-noble-linux-aws-v2 verification-needed-noble-linux-aws |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #23 |
This bug is awaiting verification that the linux-gcp/
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:/
tags: | added: kernel-spammed-noble-linux-gcp-v2 verification-needed-noble-linux-gcp |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #24 |
This bug is awaiting verification that the linux-gke/
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:/
tags: | added: kernel-spammed-noble-linux-gke-v2 verification-needed-noble-linux-gke |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #25 |
This bug is awaiting verification that the linux-ibm/
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:/
tags: | added: kernel-spammed-noble-linux-ibm-v2 verification-needed-noble-linux-ibm |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #26 |
This bug is awaiting verification that the linux-mtk/
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:/
tags: | added: kernel-spammed-jammy-linux-mtk-v2 verification-needed-jammy-linux-mtk |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #27 |
This bug is awaiting verification that the linux-lowlatenc
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:/
tags: | added: kernel-spammed-noble-linux-lowlatency-v2 verification-needed-noble-linux-lowlatency |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #28 |
This bug is awaiting verification that the linux-oracle/
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:/
tags: | added: kernel-spammed-noble-linux-oracle-v2 verification-needed-noble-linux-oracle |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #29 |
This bug is awaiting verification that the linux-lowlatenc
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:/
tags: | added: kernel-spammed-jammy-linux-lowlatency-hwe-6.8-v2 verification-needed-jammy-linux-lowlatency-hwe-6.8 |
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : | #30 |
This bug is awaiting verification that the linux-nvidia-
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:/
tags: | added: kernel-spammed-noble-linux-nvidia-tegra-v2 verification-needed-noble-linux-nvidia-tegra |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1971699
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.