Repository navigation
Conversation
CONFIG_INTEL_IOMMU_DEFAULT_ON=y breaks the firmware TPM (Intel PTT) on the XPS 13 9343. The PTT command buffer lives in system RAM and is read by a hidden ME function (00:16.7) via DMA, but the firmware's DMAR table has no RMRR covering it. With DMA remapping enabled those reads fault, tpm_crb times out (-62), and systemd waits 90 s for /dev/tpm0 on every boot. Add a DMI quirk that keeps DMA remapping off by default on this model. intel_iommu=on, tboot and platform opt-in still force it on. Applied to both linux-omarchy and linux-omarchy-bore, pkgrel bumped to 7. Fixes omacom#677 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019uo7x1CH4xTNQTzhnzKd3Z
Author
|
Closing: the 7.2.7 kernel config disables |
Member
|
@taufderl thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #677.
Problem
CONFIG_INTEL_IOMMU_DEFAULT_ON=y(added with the new kernel packages in #440) breaks the firmware TPM (Intel PTT) on the Dell XPS 13 9343. The PTT command buffer is in system RAM and is DMA-read by a hidden ME function (00:16.7). The firmware's DMAR table has no RMRR covering it, so with DMA remapping on:Result: no TPM, plus a 90 s boot hang on every boot. The TPM works on the Arch
linuxkernel, which leaves the Intel IOMMU off by default. Full analysis is in #677.Change
New patch
0710-iommu-intel-xps13-9343-ptt-no-rmrr.patch, added to bothlinux-omarchyandlinux-omarchy-bore(pkgrel6 → 7):intel_iommu_ptt_no_rmrr) matchingDell Inc./XPS 13 9343.intel_iommu_init(), a match setsdmar_disabled = 1and logs why.intel_iommu=onwas passed explicitly. It runs before the tboot and platform-opt-in checks, so both can still force the IOMMU on.no_platform_optinis left alone.INTEL_IOMMU_DEFAULT_ON. The table can take more Haswell/Broadwell PTT models if they show the same fault.Testing
W=1against 7.2.5 using each package'sconfig.x86_64, on top of the full patch series.patch -Np1 --fuzz=0after all existing patches for both packages.scripts/checkpatch.pl: 0 errors, 0 warnings.b2sums/sha256sumsverified against every local source file for both PKGBUILDs.The patch has no
.sig, like other external contributions (e.g. #596). It needs signing by a maintainer.🤖 Generated with Claude Code
https://claude.ai/code/session_019uo7x1CH4xTNQTzhnzKd3Z