FS#75612 - Kernel 5.19.1 can't see audio devices and bluetooth adapter

Attached to Project: Arch Linux
Opened by Dmitry Shipotko (Dmitryxx) - Monday, 15 August 2022, 15:46 GMT
Last edited by Toolybird (Toolybird) - Sunday, 09 October 2022, 04:55 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Updated to kernel 5.19.1 yesterday and noticed, that system can't see audio devices and bluetooth.
When I have restored my system from snapshot, everything worked properly. After re-updating the result was the same - no bluetooth and audio devices.
Linux-lts kernel 5.18.16 works fine.

Additional info:
* linux kernel 5.19.1
* config:
Machine: Type: Laptop System: HUAWEI product: KPL-W0X v: M1B
CPU: Info: model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx bits: 64 type: MT MCP arch: Zen
Graphics: Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Mobile Series] vendor: Huawei
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Huawei driver: N/A
alternate: snd_hda_intel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 1002:15de
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Huawei driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
snd_sof_amd_renoir pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 02:00.5 chip-ID: 1022:15e2
class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Huawei driver: N/A alternate: snd_hda_intel
pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 02:00.6 chip-ID: 1022:15e3 class-ID: 0403
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-2:2
chip-ID: 8087:0a2b class-ID: e001

Steps to reproduce:
1. Update kernel 5.19.1
2. Reboot
3. Open System Settings to see: there's no bluetooth adapter and no audio device in the system

This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 09 October 2022, 04:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.19.9.arch1-1
Comment by ye yunjie (mithanan) - Wednesday, 17 August 2022, 01:55 GMT
same bugs in Huawei Magicbook KPL-Wox.
besides, lsusb returns nothing after 5.19.1 update
Comment by Dmitry Shipotko (Dmitryxx) - Wednesday, 17 August 2022, 06:02 GMT
Obviously, I have that same laptop - Honor Magicbook KPL-Wox.
Comment by Dmitry Shipotko (Dmitryxx) - Wednesday, 17 August 2022, 21:13 GMT
Kernel 5.19.2
Nothing has changed: no audio device, no bluetooth.
lsusb - empty
Comment by Toolybird (Toolybird) - Friday, 19 August 2022, 06:49 GMT
I cannot find much about this anywhere. Your best option is to perform a git bisection [1] to try and identify the commit that caused the regression. It's a bit of work but well worth the effort if successful.

[1] https://wiki.archlinux.org/title/Bisecting_bugs_with_Git
Comment by loqs (loqs) - Friday, 19 August 2022, 15:47 GMT
If it helps their are some prebuilt bisection kernels for a different issue in https://bbs.archlinux.org/viewtopic.php?pid=2052198#p2052198
Comment by ye yunjie (mithanan) - Monday, 22 August 2022, 15:31 GMT
5.19.3 did not fix this problem.
switching to linux-lts can fix it, though
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 28 August 2022, 11:01 GMT
Kernel 5.19.4 doesn't work either.
Kernels 5.18.16 and lts are working properly.
I can't perform a git bisection, because of the lack of time and competence.
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 28 August 2022, 19:09 GMT
Thank you very much!
I've tried all those kernels, no one of them worked.
Comment by loqs (loqs) - Sunday, 28 August 2022, 19:26 GMT
@Dmitryxx "I've tried all those kernels, no one of them worked." Did that include linux-5.18-1-x86_64.pkg.tar.zst from https://bbs.archlinux.org/viewtopic.php?pid=2052346#p2052346
If not could you please specify the earliest kernel you tested with the issue?
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 28 August 2022, 20:46 GMT
I'm sorry, my comment was misleading.
Linux-5.18-1-x86_64.pkg.tar.zst worked fine. There were problems with linux-5.19, including a test patch from https://bugzilla.kernel.org/show_bug.cgi?id=216387#c3
The latest working kernel I have is 5.18.16
Comment by loqs (loqs) - Sunday, 28 August 2022, 20:57 GMT
https://bbs.archlinux.org/viewtopic.php?pid=2052313#p2052313 the first bisection point for 5.18 to 5.19 please try if you have time.
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 28 August 2022, 21:32 GMT
Kernel linux-5.18.r7905.gc011dd537ffe-1-x86_64.pkg.tar.zst works properly.
Also works linux-5.18.r4943.g7e062cda7d90-1-x86_64.pkg.tar.zst (I've tried earlier)
Comment by loqs (loqs) - Sunday, 28 August 2022, 21:37 GMT Comment by Dmitry Shipotko (Dmitryxx) - Monday, 29 August 2022, 06:53 GMT
This kernel doesn't work!
Comment by loqs (loqs) - Monday, 29 August 2022, 13:18 GMT
https://drive.google.com/file/d/1tzDmrbvkyko-kGfP2FpcXzm0Q-B3Xek0/view?usp=sharing linux-5.18.r10037.g7e284070abe5-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1qwgZ6zgPDmD2daSkfD2A1tk4C-HD5BRg/view?usp=sharing linux-headers-5.18.r10037.g7e284070abe5-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Monday, 29 August 2022, 13:27 GMT
This kernel works fine
Comment by loqs (loqs) - Monday, 29 August 2022, 14:08 GMT
git bisect good
Bisecting: 1073 revisions left to test after this (roughly 10 steps)
[664a393a2663a0f62fc1b18157ccae33dcdbb8c8] Merge tag 'input-for-v5.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
https://drive.google.com/file/d/1MBAEay9eJRlnrPyONwjDHsHp_oN3wtQe/view?usp=sharing linux-5.18.r11080.g664a393a2663-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1wdJNfYC0TfiamGhdA-2T9KKsEkPjaqTg/view?usp=sharing linux-headers-5.18.r11080.g664a393a2663-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Monday, 29 August 2022, 15:52 GMT
This kernel works properly
Comment by loqs (loqs) - Monday, 29 August 2022, 19:03 GMT
git bisect good
Bisecting: 523 revisions left to test after this (roughly 9 steps)
[f8a52af9d00d59fd887d8ad1fa0c2c88a5d775b9] Merge tag 'i2c-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
https://drive.google.com/file/d/17ClpplZ9J4lDxs-XvPTIQxExpPIcAWkT/view?usp=sharing linux-5.18.r11630.gf8a52af9d00d-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1EZdB8UdDvXPI_2ARPsLKJgeENPNnnNHM/view?usp=sharing linux-headers-5.18.r11630.gf8a52af9d00d-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Tuesday, 30 August 2022, 07:13 GMT
This one doesn't work
Comment by loqs (loqs) - Tuesday, 30 August 2022, 14:45 GMT
git bisect bad
Bisecting: 276 revisions left to test after this (roughly 8 steps)
[32665a9e5432fd88fe20f4affa8986833bbbabe7] Merge tag 'thermal-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
https://drive.google.com/file/d/1IZNI98TmnmBUEFNn-bI4eDWE5x5x_OAI/view?usp=sharing linux-5.18.r11353.g32665a9e5432-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1sipkSIoXexSgr231DbEqCT35sXjMNxuW/view?usp=sharing linux-headers-5.18.r11353.g32665a9e5432-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Tuesday, 30 August 2022, 15:20 GMT
Yes, it works!
Comment by loqs (loqs) - Tuesday, 30 August 2022, 19:55 GMT
git bisect good
Bisecting: 183 revisions left to test after this (roughly 7 steps)
[3335d5550256210c9b213f67240221633d8f7b53] Merge tag 'microblaze-v5.19' of git://git.monstr.eu/linux-2.6-microblaze
https://drive.google.com/file/d/1-9N5Tgl_MS2sy94Heuaw-t0LPvdcYVO-/view?usp=sharing linux-5.18.r11446.g3335d5550256-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1eF1QcvqLQ9A9hz5G2t9us3-xZ0EJCgNM/view?usp=sharing linux-headers-5.18.r11446.g3335d5550256-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Wednesday, 31 August 2022, 11:35 GMT
Yes, this one works too
Comment by loqs (loqs) - Wednesday, 31 August 2022, 14:40 GMT
git bisect good
Bisecting: 91 revisions left to test after this (roughly 7 steps)
[e1cbc3b96a9974746b2a80c3a6c8a0f7eff7b1b5] Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
https://drive.google.com/file/d/10YX_uU_f8jw3Z6xNSknlF7MsKMdKAyfT/view?usp=sharing linux-5.18.r11538.ge1cbc3b96a99-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1dPpQlZ5UMziENj8Oyrpht217jY33vXso/view?usp=sharing linux-headers-5.18.r11538.ge1cbc3b96a99-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Wednesday, 31 August 2022, 15:11 GMT
No, this one doesn't work
Comment by loqs (loqs) - Wednesday, 31 August 2022, 15:49 GMT
git bisect bad
Bisecting: 54 revisions left to test after this (roughly 6 steps)
[de78657e16f41417da9332f09c2d67d100096939] iommu/mediatek: Fix NULL pointer dereference when printing dev_name
https://drive.google.com/file/d/1qMN-lp720X-2bZYx4fxt3Vh3SvpOkiqR/view?usp=sharing linux-5.18rc4.r37.gde78657e16f4-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/16FJQ0zCmX8d7ahfRpxj6gL6vcDiug-vv/view?usp=sharing linux-headers-5.18rc4.r37.gde78657e16f4-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Wednesday, 31 August 2022, 21:37 GMT
Yes, it works
Comment by loqs (loqs) - Wednesday, 31 August 2022, 22:07 GMT
git bisect good
Bisecting: 33 revisions left to test after this (roughly 5 steps)
[0d647b33e74f7cb98b7c74d638922d6c03bfdb94] iommu/vt-d: Remove hard coding PGSNP bit in PASID entries
https://drive.google.com/file/d/1RgwfgsMx6WlekwATCIX0qb0H0h-n_lk_/view?usp=sharing linux-5.18rc4.r21.g0d647b33e74f-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1tN7H1NI3DjElFKep1uliPdtEhp5WqZCs/view?usp=sharing linux-headers-5.18rc4.r21.g0d647b33e74f-1-x86_64.pkg.tar.zst

Looking like the issue could be [1]. The commit identified as the cause [2] is in the bisection range.

[1] https://lore.kernel.org/regressions/c6ea56f5-05be-c9bb-4eda-a3c4a081326f%40leemhuis.info/T/#m751bc12b641e82ae7bd65fbc9f136281b9aa8ffd
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=512881eacfa72c2136b27b9934b7b27504a9efc2
Comment by Dmitry Shipotko (Dmitryxx) - Thursday, 01 September 2022, 06:08 GMT
This kernel works
Yes, description [1] looks very familiar
Comment by loqs (loqs) - Thursday, 01 September 2022, 09:29 GMT
git bisect good
Bisecting: 20 revisions left to test after this (roughly 4 steps)
[fa7e9ecc5e1c1a1e8aa7014b2749b22edc801dd2] iommu/s390: Tolerate repeat attach_dev calls
https://drive.google.com/file/d/1vEbDEt-vWzk1SbNNCY479rproMvIFa1B/view?usp=sharing linux-5.18rc4.r13.gfa7e9ecc5e1c-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1EOzJg9LIwT9uJRfUyTiBL8GgsL39LvV8/view?usp=sharing linux-headers-5.18rc4.r13.gfa7e9ecc5e1c-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Thursday, 01 September 2022, 13:56 GMT
That one doesn't work
Comment by loqs (loqs) - Thursday, 01 September 2022, 15:46 GMT
git bisect bad
Bisecting: 6 revisions left to test after this (roughly 3 steps)
[c7d469849747ce380785536173d08b30a820a83c] PCI: portdrv: Set driver_managed_dma
[stephen@arch ~/builds/linux-stable/src/linux]$ git bisect visualize
https://drive.google.com/file/d/1-8DXNkUViauuECmhFq5jIV1F9K-Ya85o/view?usp=sharing linux-5.18rc4.r6.gc7d469849747-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1TnIIEEi-wyJUhjct6QpOEuP_rP7UUp_A/view?usp=sharing linux-headers-5.18rc4.r6.gc7d469849747-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Thursday, 01 September 2022, 16:36 GMT
This one doesn't work too
Comment by loqs (loqs) - Thursday, 01 September 2022, 19:16 GMT
git bisect bad
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2] amba: Stop sharing platform_dma_configure()
https://drive.google.com/file/d/1TwYhwWUbCjHHLdyEqOq-YoKubu8hD3kc/view?usp=sharing linux-5.18rc4.r3.g4a6d9dd564d0-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1BBPgD16CitdhkWcIoKOCY2Akymv6My64/view?usp=sharing linux-headers-5.18rc4.r3.g4a6d9dd564d0-1-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Thursday, 01 September 2022, 19:30 GMT
Yes, it works
Comment by loqs (loqs) - Thursday, 01 September 2022, 19:57 GMT
git bisect good
Bisecting: 0 revisions left to test after this (roughly 1 step)
[18c7a349d072a222ff80598373035820c194747b] PCI: pci_stub: Set driver_managed_dma
https://drive.google.com/file/d/1LbsE55soS1zlEsfNH8uEu2g56Bd9LaCT/view?usp=sharing linux-5.18rc4.r5.g18c7a349d072-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1NdFGZXWz_LN2aDdvUj43ub7Q7AImJiwM/view?usp=sharing linux-headers-5.18rc4.r5.g18c7a349d072-1-x86_64.pkg.tar.zst
Comment by loqs (loqs) - Thursday, 01 September 2022, 20:22 GMT
Assuming 18c7a349d072a222ff80598373035820c194747b is bad
git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[512881eacfa72c2136b27b9934b7b27504a9efc2] bus: platform,amba,fsl-mc,PCI: Add device DMA ownership management
https://drive.google.com/file/d/1vYh1OPuLU_mSanEhPR_ZMkg9fzV8n5tg/view?usp=sharing linux-5.18rc4.r4.g512881eacfa7-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1-GBSAcanAotMCedRyblafJ0n9H3QxskM/view?usp=sharing linux-headers-5.18rc4.r4.g512881eacfa7-1-x86_64.pkg.tar.zst

Assuming 512881eacfa72c2136b27b9934b7b27504a9efc2 is bad
git bisect bad
512881eacfa72c2136b27b9934b7b27504a9efc2 is the first bad commit
commit 512881eacfa72c2136b27b9934b7b27504a9efc2
Author: Lu Baolu <baolu.lu@linux.intel.com>
Date: Mon Apr 18 08:49:53 2022 +0800

bus: platform,amba,fsl-mc,PCI: Add device DMA ownership management

The devices on platform/amba/fsl-mc/PCI buses could be bound to drivers
with the device DMA managed by kernel drivers or user-space applications.
Unfortunately, multiple devices may be placed in the same IOMMU group
because they cannot be isolated from each other. The DMA on these devices
must either be entirely under kernel control or userspace control, never
a mixture. Otherwise the driver integrity is not guaranteed because they
could access each other through the peer-to-peer accesses which by-pass
the IOMMU protection.

This checks and sets the default DMA mode during driver binding, and
cleanups during driver unbinding. In the default mode, the device DMA is
managed by the device driver which handles DMA operations through the
kernel DMA APIs (see Documentation/core-api/dma-api.rst).

For cases where the devices are assigned for userspace control through the
userspace driver framework(i.e. VFIO), the drivers(for example, vfio_pci/
vfio_platfrom etc.) may set a new flag (driver_managed_dma) to skip this
default setting in the assumption that the drivers know what they are
doing with the device DMA.

Calling iommu_device_use_default_domain() before {of,acpi}_dma_configure
is currently a problem. As things stand, the IOMMU driver ignored the
initial iommu_probe_device() call when the device was added, since at
that point it had no fwspec yet. In this situation,
{of,acpi}_iommu_configure() are retriggering iommu_probe_device() after
the IOMMU driver has seen the firmware data via .of_xlate to learn that
it actually responsible for the given device. As the result, before
that gets fixed, iommu_use_default_domain() goes at the end, and calls
arch_teardown_dma_ops() if it fails.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Stuart Yoder <stuyoder@gmail.com>
Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Link:20220418005000.897664-5-baolu.lu@linux.intel.com"> https://lore.kernel.org/r/20220418005000.897664-5-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>

drivers/amba/bus.c | 18 ++++++++++++++++++
drivers/base/platform.c | 18 ++++++++++++++++++
drivers/bus/fsl-mc/fsl-mc-bus.c | 24 ++++++++++++++++++++++--
drivers/pci/pci-driver.c | 18 ++++++++++++++++++
include/linux/amba/bus.h | 8 ++++++++
include/linux/fsl/mc.h | 8 ++++++++
include/linux/pci.h | 8 ++++++++
include/linux/platform_device.h | 8 ++++++++
8 files changed, 108 insertions(+), 2 deletions(-)

git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [3d7cb6b04c3f3115719235cc6866b10326de34cd] Linux 5.19
git bisect bad 3d7cb6b04c3f3115719235cc6866b10326de34cd
# status: waiting for good commit(s), bad commit known
# good: [4b0986a3613c92f4ec1bdc7f60ec66fea135991f] Linux 5.18
git bisect good 4b0986a3613c92f4ec1bdc7f60ec66fea135991f
# good: [c011dd537ffe47462051930413fed07dbdc80313] Merge tag 'arm-soc-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
git bisect good c011dd537ffe47462051930413fed07dbdc80313
# bad: [5d4af9c1f04ab0411ba5818baad9a68e87f33099] Merge branch 'mv88e6xxx-fixes-for-reading-serdes-state'
git bisect bad 5d4af9c1f04ab0411ba5818baad9a68e87f33099
# good: [7e284070abe53d448517b80493863595af4ab5f0] Merge tag 'for-5.19/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
git bisect good 7e284070abe53d448517b80493863595af4ab5f0
# good: [664a393a2663a0f62fc1b18157ccae33dcdbb8c8] Merge tag 'input-for-v5.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect good 664a393a2663a0f62fc1b18157ccae33dcdbb8c8
# bad: [f8a52af9d00d59fd887d8ad1fa0c2c88a5d775b9] Merge tag 'i2c-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
git bisect bad f8a52af9d00d59fd887d8ad1fa0c2c88a5d775b9
# good: [32665a9e5432fd88fe20f4affa8986833bbbabe7] Merge tag 'thermal-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect good 32665a9e5432fd88fe20f4affa8986833bbbabe7
# good: [3335d5550256210c9b213f67240221633d8f7b53] Merge tag 'microblaze-v5.19' of git://git.monstr.eu/linux-2.6-microblaze
git bisect good 3335d5550256210c9b213f67240221633d8f7b53
# bad: [e1cbc3b96a9974746b2a80c3a6c8a0f7eff7b1b5] Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
git bisect bad e1cbc3b96a9974746b2a80c3a6c8a0f7eff7b1b5
# good: [de78657e16f41417da9332f09c2d67d100096939] iommu/mediatek: Fix NULL pointer dereference when printing dev_name
git bisect good de78657e16f41417da9332f09c2d67d100096939
# good: [0d647b33e74f7cb98b7c74d638922d6c03bfdb94] iommu/vt-d: Remove hard coding PGSNP bit in PASID entries
git bisect good 0d647b33e74f7cb98b7c74d638922d6c03bfdb94
# bad: [fa7e9ecc5e1c1a1e8aa7014b2749b22edc801dd2] iommu/s390: Tolerate repeat attach_dev calls
git bisect bad fa7e9ecc5e1c1a1e8aa7014b2749b22edc801dd2
# bad: [c7d469849747ce380785536173d08b30a820a83c] PCI: portdrv: Set driver_managed_dma
git bisect bad c7d469849747ce380785536173d08b30a820a83c
# good: [4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2] amba: Stop sharing platform_dma_configure()
git bisect good 4a6d9dd564d0e7339fc15ecc5ce66db4ad842be2
# bad: [18c7a349d072a222ff80598373035820c194747b] PCI: pci_stub: Set driver_managed_dma
git bisect bad 18c7a349d072a222ff80598373035820c194747b
# bad: [512881eacfa72c2136b27b9934b7b27504a9efc2] bus: platform,amba,fsl-mc,PCI: Add device DMA ownership management
git bisect bad 512881eacfa72c2136b27b9934b7b27504a9efc2
# first bad commit: [512881eacfa72c2136b27b9934b7b27504a9efc2] bus: platform,amba,fsl-mc,PCI: Add device DMA ownership management
Comment by Dmitry Shipotko (Dmitryxx) - Friday, 02 September 2022, 07:53 GMT
The last one doesn't work. It must be so, I suppose
Thank you very mach! It's a great job!
What do I do now?
Comment by loqs (loqs) - Friday, 02 September 2022, 22:00 GMT Comment by Dmitry Shipotko (Dmitryxx) - Friday, 02 September 2022, 22:13 GMT
Thank you very much!
Comment by loqs (loqs) - Saturday, 10 September 2022, 05:13 GMT
Please try 5.19.8.arch1-1 currently in testing. If that still has the issue try
https://drive.google.com/file/d/1B_cfcQ7-Xn2j9Mdrqta621FPJICqzeR5/view?usp=sharing linux-5.19.8.arch1-1.2-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1OXwBbEqOvHhvAo649KPxIF1EDZY7OOgV/view?usp=sharing linux-headers-5.19.8.arch1-1.2-x86_64.pkg.tar.zst
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 11 September 2022, 17:52 GMT
Kernel 5.19.8.arch1-1 doesn't make any difference - audio devices and bluetooth don't work
Linux-5.19.8.arch1-1.2 works well!
Comment by loqs (loqs) - Sunday, 11 September 2022, 18:06 GMT
Here is the patch that fixed the issue as used by Suse.
Comment by Dmitry Shipotko (Dmitryxx) - Sunday, 11 September 2022, 19:23 GMT
Thank you very much!
Comment by loqs (loqs) - Monday, 12 September 2022, 05:29 GMT

Loading...