Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1708215
| From | Lukas Wunner <lukas@wunner.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace |
| Date | 2017-08-10 07:20 +0200 |
| Message-ID | <ucO30-16P-7@gated-at.bofh.it> (permalink) |
| References | <ucHXz-5dd-7@gated-at.bofh.it> <ucHXA-5dd-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Aug 10, 2017 at 12:34:23AM +0200, Rafael J. Wysocki wrote: > --- linux-pm.orig/drivers/acpi/scan.c > +++ linux-pm/drivers/acpi/scan.c > @@ -2139,6 +2139,10 @@ int __init acpi_scan_init(void) > acpi_get_spcr_uart_addr(); > } > > + acpi_gpe_apply_masked_gpes(); > + acpi_update_all_gpes(); > + acpi_ec_ecdt_start(); > + > mutex_lock(&acpi_scan_lock); > /* > * Enumerate devices in the ACPI namespace. I notice this is called from a subsys_initcall(). We scan the PCI bus much earlier in arch/x86/kernel/early-quirks.c and it would be possible to identify presence of Thunderbolt host controllers in an early quirk (using the method of pci_is_thunderbolt_attached()) and, if found, enable their GPEs or all GPEs. Just as an aside in case your method doesn't work, I'm not affected by this issue being a Mac user... ;-) Thanks, Lukas
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-08-10 00:50 +0200
RE: [PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace "Zheng, Lv" <lv.zheng@intel.com> - 2017-08-10 04:00 +0200
Re: [PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace Lukas Wunner <lukas@wunner.de> - 2017-08-10 07:20 +0200
Re: [PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-08-10 10:30 +0200
RE: [PATCH 3/3] ACPI / scan: Enable GPEs before scanning the namespace "Zheng, Lv" <lv.zheng@intel.com> - 2017-08-10 13:20 +0200
csiph-web