On 5/11/25 21:31, kobarity wrote:
Hi
I'm also experiencing this problem on my MacBookPro14,3.
Aditya Garg wrote:
Hi Jörg
Can you test the kernel here to see if this fixes your issue:
https://github.com/t2linux/T2-Debian-and-Ubuntu-Kernel/actions/runs/14944200...
Alternatively you can try compiling your own kernel with this patch:
https://lore.kernel.org/all/0-v1-c26553717e90+65f-iommu_vtd_ss_wo_jgg@nvidia...
As far as I have tried, this patch did not solve the problem.
By bisecting, I found that this problem was introduced by commit 2031c469f816 ("iommu/vt-d: Add support for static identity domain"). In fact, since this commit, it will panic at startup. This panic was fixed by commit 6e02a277f1db ("iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices"). So I applied commit 6e02a277f1db on commit 2031c469f816 and confirmed that the keyboard and touchpad is not working.
Have you tried to apply commit 64f792981e35 ("iommu/vt-d: Remove device comparison in context_setup_pass_through_cb")?
I also found that I can workaround this problem by reverting only the intel_iommu_attach_device() change in commit 2031c469f816 as in the attached patch, but I'm not sure if this is a reasonable fix.
Thanks, baolu