Return-Path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42093 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbdKJN35 (ORCPT ); Fri, 10 Nov 2017 08:29:57 -0500 Date: Fri, 10 Nov 2017 14:30:08 +0100 From: Greg KH To: Mika Westerberg Cc: stable@vger.kernel.org, "Rafael J. Wysocki" , Lv Zheng , Yehezkel Bernat , Michael Jamet Subject: Re: Backport of ACPI GPE fixes for v4.13 Message-ID: <20171110133008.GB30012@kroah.com> References: <20171106101136.GU2283@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171106101136.GU2283@lahna.fi.intel.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Nov 06, 2017 at 12:11:36PM +0200, Mika Westerberg wrote: > 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? Now all queued up, thanks. greg k-h