Use the observation that the EC command/data register addresses are
sufficient to determine if two EC devices are equivelent to modify
acpi_is_boot_ec().
Then, for the removed comparison factors, EC ID and EC GPE, they need
to be synchronized for the boot_ec:
1. Before registering the BIOS-provided EC event handlers in
acpi_ec_register_query_methods(), the namespace node holding
_Qxx methods should be located. The real namespace PNP0C09
device location then is apparently more trustworthy than the
ECDT EC ID.
2. Because of the ASUS quirks, the ECDT EC GPE is more trustworthy
than the namespace PNP0C09 device's _GPE setting.
Use the above observations to synchronize the boot_ec settings in
acpi_ec_add().
Finally, change the order of acpi_ec_ecdt_start() and acpi_ec_add(),
called from acpi_bus_register_driver(), so as to follow the fast path
of determining the location of _Qxx.
Signed-off-by: Lv Zheng <email address hidden>
[ rjw : Changelog & comments ]
Signed-off-by: Rafael J. Wysocki <email address hidden>
(cherry picked from commit 69b957c26b32c3407d1b8cc0d2390b271728db8a)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Aaron Ma <email address hidden>
Acked-by: Chia-Lin Kao <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>
Some platform(BIOS) blocks legacy interrupts (INTx), and only allows MSI
for WLAN device. So adding a quirk to list those machines and set
use_msi automatically.
Adding the following platforms to the quirk.
Dell Inspiron 24-3460
Dell Inspiron 3472
Dell Inspiron 14-3473
Dell Vostro 3262
Dell Vostro 15-3572
Signed-off-by: AceLan Kao <email address hidden>
Patchwork-Id: 10150851
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 80e9c82810514341b19481d23d7b494cf2bd4aa9
git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>
On new Intel platforms like ApolloLake, legacy interrupt mechanism
(INTx) is not supported, so WLAN modules are not working because
interrupts are missing, therefore this patch is to add MSI support to
ath9k. With module paremeter "use_msi=1", ath9k driver would try to
use MSI instead of INTx.
Signed-off-by: Russell Hu <email address hidden>
Patchwork-Id: 9999249
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 5abd0aeef3c69c340c3c2e25d1824aa9b3a2e09b
git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending)
Signed-off-by: AceLan Kao <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>
Add quirks for handling PX/HG systems. In this case, add
a quirk for a weston dGPU that only seems to properly power
down using ATPX power control rather than HG (_PR3).
v2: append a new weston XT
Signed-off-by: Alex Deucher <email address hidden>
Signed-off-by: Junwei Zhang <email address hidden> (v2)
Reviewed-and-Tested-by: Junwei Zhang <email address hidden>
Reviewed-by: Alex Deucher <email address hidden>
Acked-by: Christian König <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>
CFL was missing from intel_early_ids[]. The PCI ID needs to be there to
allow the memory region to be stolen, otherwise we could have RAM being
arbitrarily overwritten if for example we keep using the UEFI framebuffer,
depending on how BIOS has set up the e820 map.
Fixes: b056f8f3d6b9 ("drm/i915/cfl: Add Coffee Lake PCI IDs for S Skus.")
Signed-off-by: Lucas De Marchi <email address hidden>
Cc: Rodrigo Vivi <email address hidden>
Cc: Anusha Srivatsa <email address hidden>
Cc: Jani Nikula <email address hidden>
Cc: Joonas Lahtinen <email address hidden>
Cc: David Airlie <email address hidden>
Cc: <email address hidden>
Cc: <email address hidden>
Cc: Ingo Molnar <email address hidden>
Cc: H. Peter Anvin <email address hidden>
Cc: Thomas Gleixner <email address hidden>
Cc: <email address hidden>
Cc: <email address hidden> # v4.13+ 0890540e21cf drm/i915: add GT number to intel_device_info
Cc: <email address hidden> # v4.13+ 41693fd52373 drm/i915/kbl: Change a KBL pci id to GT2 from GT1.5
Cc: <email address hidden> # v4.13+
Reviewed-by: Rodrigo Vivi <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>
Up to Coffeelake we could deduce this GT number from the device ID.
This doesn't seem to be the case anymore. This change reorders pciids
per GT and adds a gt field to intel_device_info. We set this field on
the following platforms :