Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933111AbcKQKAz (ORCPT ); Thu, 17 Nov 2016 05:00:55 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:59752 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750813AbcKQKAw (ORCPT ); Thu, 17 Nov 2016 05:00:52 -0500 From: Arnd Bergmann To: Lukas Wunner Cc: Andreas Noever , Matt Fleming , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH] thunderbolt: fix compile-test dependencies Date: Thu, 17 Nov 2016 11:00:31 +0100 Message-ID: <3610890.M3zdj8M1ex@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20161115162134.GA10928@wunner.de> References: <20161115155908.650902-1-arnd@arndb.de> <20161115162134.GA10928@wunner.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:ONX9Y84zdgO95Ed+f784yjNn11IEeGFAL9id+ueS9xdh1Y37EM+ kU3vVAk0fHHUBlmRTMCmoxC75l78Qlj5Ij1XIoRYlskfN2kxIMj1tLIsuLWRWH5va3KA7/W Mx442a10xHd/SwhHHuDW9q6rVCmhFKcg4a0RTpzk9P2PoA19tfovAoJgYeEO+LQhxbgvKbU wGEXxmPPQlYaUXkrvKMHg== X-UI-Out-Filterresults: notjunk:1;V01:K0:hleWhbUC3q4=:8iZqF83t5tfe7Iv0DOUxcN wphSZdao6m66aSaTk8BHx6Fu/7JWPvocPHrIybOX61cHcDcIXsB5LHny32HPq+lVNdUT7cTtn VDdQ1iFdrnFXr3/bL9PkNsmCxFwCoN5eRXDnzr0rKv+c9dPaxVdcJX6bMueaQ7NPoeyO8gFi7 FPdG2aEoiE28PsgsUaa66j5ErQFCm0xM+LWk3vbzwmIH9JMi7IhWhVbRcmCPXAifQxvT32WjD 1K+IUnVqJFl4/2vqvCirXb9fytFHiNwk00FZQwqLaoYFRi0TjqNGUUzLkgSfcfmWvbO6Txb0H qFAvyUl377QAe/bd+4WVvhPVxitbRiWsn8Oh6ykXox3ZpDzE/bTihX5mYKg/mCGgS4bVoc0N9 82nmna5rxC5vvRngOo4A7aKjP0BQPMc3ReIuPdsgwXdAmITpKvKPyyiq/A2Ie0CbxBtbWAyCv OFWv1rjvGIF0kD72ieeL3yLwXzFyaBzKviE4tfW6+rm6WRbpKtq4NcAfSj7rmskc+aJ+4R3qy KGoCGCX5ObF4oFEYaWusNUmXY+BI9vpdca5rRuPL4fvAa7h10jssHhF8oGvD9fVJ/FQW3iG8U AYFAS8MDbwt7sGIBdt9PJ6Mifh6rskerU6B1Ox6aZKcqEtwm2vQR14n3MSsObNnC9MgV2d132 o5dyl3tE9ebwFbC1COGq63zCIzq+QniL9MDlfqSqkzM+cH+4g1ixdEhY2UNHqmBNxnuuXJ5QY XNG8K5A8gFm30kzf Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 37 On Tuesday, November 15, 2016 5:21:34 PM CET Lukas Wunner wrote: > On Tue, Nov 15, 2016 at 04:58:53PM +0100, Arnd Bergmann wrote: > > diff --git a/drivers/thunderbolt/Kconfig b/drivers/thunderbolt/Kconfig > > index 0056df7f3c09..4e7d92193b65 100644 > > --- a/drivers/thunderbolt/Kconfig > > +++ b/drivers/thunderbolt/Kconfig > > @@ -1,7 +1,8 @@ > > menuconfig THUNDERBOLT > > tristate "Thunderbolt support for Apple devices" > > + depends on (EFI_STUB && X86) || COMPILE_TEST > > This addition isn't correct, the thunderbolt driver works without > the EFI stub, it just falls back to a hardcoded Device ROM. Ok, makes sense. I also needed this one though: diff --git a/drivers/thunderbolt/Kconfig b/drivers/thunderbolt/Kconfig index bb0318ceaf93..de5d27ec67d6 100644 --- a/drivers/thunderbolt/Kconfig +++ b/drivers/thunderbolt/Kconfig @@ -1,7 +1,7 @@ menuconfig THUNDERBOLT tristate "Thunderbolt support for Apple devices" depends on PCI - select APPLE_PROPERTIES if EFI_STUB + select APPLE_PROPERTIES if EFI_STUB && X86 select CRC32 help Cactus Ridge Thunderbolt Controller driver Without that change, building on ARM with EFI_STUB enabled still gives me a build failure. Arnd