Baolu Lu wrote:
On 5/12/25 20:16, kobarity wrote:
Baolu Lu wrote:
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")?
Yes, I tried it on yesterday's master branch, including commit 64f792981e35.
- Keyboard/Touchpad NOT working:
- No patches
- With patch in https://lore.kernel.org/all/0-v1-c26553717e90+65f-iommu_vtd_ss_wo_jgg@nvidia...
- Keyboard/Touchpad working:
- With my workaround patch
Okay, thanks! Can you please try below change? I also attached a diff file in the attachment for your convenience.
Thanks! The keyboard and touchpad now work with this patch. I tested it with the same master branch as before (commit 3ce9925823c7).