Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5768827rwb; Tue, 9 Aug 2022 03:56:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5B1r50yLmLp7jTl9D4jBNM7/69gWvB/Ogc8P/b4qaWU2LYHY1b5zL2BqOozwoAMX2LwDQL X-Received: by 2002:a17:907:5ce:b0:730:bae0:deb with SMTP id wg14-20020a17090705ce00b00730bae00debmr17327147ejb.181.1660042601373; Tue, 09 Aug 2022 03:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660042601; cv=none; d=google.com; s=arc-20160816; b=P4m1c3OwnKOAwDNmm0FWz4iB049L8ZInMX147FIvWREJo0gDEjczK2XOtxRnzrxONk ypbVqdBy3x9uqT6wipxALzGLl7URRD0w7XqcNQ2W12yPfHCVs6jNbX3Uxl3CveIo2Ztd QSZchVyeiIfupw5seIjnEG+Mj2JzMrwA545CFC8rGMF54OVl0C694whrumQGY+dpH2vh XmusyPgTQUztxNroiEp9m1zsF/A0pxQh4c4fhR55kriZPKlKHJERqO15Xhgzyo9D3jYB Qi16rxDPlyhHbSXH0AllAENU+0T2FGXW42RzICUoXt9NxIb67iuqqOj/p80Hyd68ELh7 a8sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TIS1ZhqrxRL3vFNAly7qIcyoiBX+tLINuamvgxNg2g0=; b=TaceSbKHYJjVesEchE9+574S9Fx0Nr7h4axuxd24rXYbj/0oFu0GjB3u1HFpRcsBay tnflWqTvUZvuiZd3m+Z2Tq55qaVjTXhnSngXFL/+tpaPpzHXwSIzU9mJwdL3lpAhEnQH /0MG2ZgdAIf3RmaquOfChc5IjE6f3gpUDFq2OfHMm3PEw7msZivTr868Lbw9LscCtdrb ooKMnCEmU2V4j54dsxpCLBZuTBok0HgcBot3YgpL5SbX1bxmgiuTBDCbpNlAbL0oFjOE vqLGyjbtQQ1idAGxncqE4p5nO6vy/Ba5/H/OKx0TJLpx85JBnvkTM/xBYCuyi1p71Vk8 iuyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ObbiLIV2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a05640227cc00b00435be2dc79fsi8994407ede.572.2022.08.09.03.56.16; Tue, 09 Aug 2022 03:56:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ObbiLIV2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242324AbiHIKXe (ORCPT + 99 others); Tue, 9 Aug 2022 06:23:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241481AbiHIKX3 (ORCPT ); Tue, 9 Aug 2022 06:23:29 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB9A61A39E for ; Tue, 9 Aug 2022 03:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660040608; x=1691576608; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=99bJJBFxy4MkV4BgWrDoeaYr4KHpjKS2Iv7tuS49adw=; b=ObbiLIV264pGoLPUqKMsOv2CQeUQWvbUFsPx5ijp/b+pekqnM3w4CEst j0zKFwiWzrmkkkriEsHsBcgEZsuk1OinOX7/Dc7YiAvO0/Y3NhyULULg/ lBFur2MWYESwEwlGFWsHwINhadd1qQc6kQGhz3LMQLAsv5MIsi/7WQHgH PKxGoCJcT2TZnzUabAD+5bfuv7GI+jIKVwZrqQUtOVfup6CpY/IjaufGD aCWVE2+dxDZ3/S42OhPxD/QJ2/jyBNniBUHDNHSuBUm4jY1JxSDmy4yhp rMlLwhexj+QWQ87QoDrd+DP/U0yQzWrS6A3W9wqVEmIKoei4GTo7IfvKI g==; X-IronPort-AV: E=McAfee;i="6400,9594,10433"; a="352532742" X-IronPort-AV: E=Sophos;i="5.93,224,1654585200"; d="scan'208";a="352532742" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 03:23:23 -0700 X-IronPort-AV: E=Sophos;i="5.93,224,1654585200"; d="scan'208";a="731081953" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Aug 2022 03:23:20 -0700 Received: by lahna (sSMTP sendmail emulation); Tue, 09 Aug 2022 13:23:17 +0300 Date: Tue, 9 Aug 2022 13:23:17 +0300 From: Mika Westerberg To: Brad Campbell Cc: linux-kernel@vger.kernel.org Subject: Re: Apple Thunderbolt Display chaining Message-ID: References: <87c1a001-ef79-6390-dfe2-06d2850f6e84@fnarfbargle.com> <42e81a8e-e393-7a69-7339-a020ebb57935@fnarfbargle.com> <5474e599-057a-ec0f-b469-560644155907@fnarfbargle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Aug 08, 2022 at 09:27:24PM +0800, Brad Campbell wrote: > If I don't authorize the PCIe tunnels and just leave the DP enabled it > works fine also. But you say that it fails on boot when the driver discovers the tunnels, right? So there is really nothing to authorize (they should be already "authorized" by the boot firmware). If I understand correctly this is how it reproduces (the simplest): 1. Connect a single Apple TB1 display to the system 2. Boot it up 3. Wait a while and it hangs If this is the case, then the driver certainly is not creating any PCIe tunnels itself unless there is a bug somewhere. An additional question, does it reproduce with either TB1 display connected or just with specific TB1 display?