Return-Path: Received: from mga11.intel.com ([192.55.52.93]:26172 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751168AbdKFKLk (ORCPT ); Mon, 6 Nov 2017 05:11:40 -0500 Date: Mon, 6 Nov 2017 12:11:36 +0200 From: Mika Westerberg To: stable@vger.kernel.org Cc: "Rafael J. Wysocki" , Lv Zheng , Yehezkel Bernat , Michael Jamet Subject: Backport of ACPI GPE fixes for v4.13 Message-ID: <20171106101136.GU2283@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: stable-owner@vger.kernel.org List-ID: Hi, Currently there is an issue in v4.13 where booting system with Thunderbolt device connected causes problems. Typically the device will not be tunneled properly and will not function as expected. The issue has been root caused to the way Linux initializes and handles ACPI GPEs (General Purpose Events). In summary we enable them too late and that results the PCI core finds upstream PCIe port of the Thunderbolt host controller too early (it is not fully configured by the BIOS SMI handler yet). This has been fixed in mainline starting from v4.14-rc1 by the following commits: ecc1165b8b74 ("ACPICA: Dispatch active GPEs at init time") 1312b7e0caca ("ACPICA: Make it possible to enable runtime GPEs earlier") eb7f43c4adb4 ("ACPI / scan: Enable GPEs before scanning the namespace") In order to get Thunderbolt working even when there is a device connected during boot, can the above 3 commits be included in stable for v4.13? Thanks in advance!