diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-11-09 22:59:36 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-11-12 21:20:33 +0100 |
commit | 7f261203d7c2e0c06e668b25dfaaee091a79ab25 (patch) | |
tree | a5df4e3f9c61827ca3b0776d4679cc7134615cc6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2d5404caa8c7bb5c4e0435f94b28834ae5456623 (diff) | |
download | linux-7f261203d7c2e0c06e668b25dfaaee091a79ab25.tar.gz linux-7f261203d7c2e0c06e668b25dfaaee091a79ab25.tar.bz2 linux-7f261203d7c2e0c06e668b25dfaaee091a79ab25.zip |
ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
The Vexia EDU ATLA 10 tablet (9V version) which shipped with Android 4.2
as factory OS has the usual broken DSDT issues for x86 Android tablets.
On top of that this tablet is special because all its LPSS island
peripherals are enumerated as PCI devices rather then as ACPI devices as
they typically are.
For the x86-android-tablets kmod to be able to instantiate a serdev client
for the Bluetooth HCI on this tablet, an ACPI_QUIRK_UART1_SKIP quirk is
necessary.
Modify acpi_dmi_skip_serdev_enumeration() to work with PCI enumerated
UARTs without an UID, such as the UARTs on this tablet.
Also make acpi_dmi_skip_serdev_enumeration() exit early if there are no
quirks, since there is nothing to do then.
And add the necessary quirks for the Vexia EDU ATLA 10 tablet.
This should compile with CONFIG_PCI being unset without issues because
dev_is_pci() is defined as "(false)" then.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241109215936.83004-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions