Re: [REGRESSION] applespi from 6.12 onwards
From: Baolu Lu <baolu.lu@linux.intel.com>
Date: 2025-05-14 03:44:20
Also in:
linux-iommu, linux-spi, regressions, stable
On 5/13/25 20:08, kobarity wrote:
Baolu Lu wrote:quoted
On 5/12/25 20:16, kobarity wrote:quoted
Baolu Lu wrote:quoted
On 5/11/25 21:31, kobarity wrote:quoted
Hi I'm also experiencing this problem on my MacBookPro14,3. Aditya Garg wrote:quoted
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/14944200356 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.com/ (local)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.com/ (local) - Keyboard/Touchpad working: - With my workaround patchOkay, 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).
Okay, thanks! Let me post a formal fix patch for this. Thanks, baolu