Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp265892lqo; Wed, 15 May 2024 13:53:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+DyNRVl3Tw8Nw9dAGWUQXKfYdoMcOTX6+xPVooH75n2o8zY0kxF3uVAWN7M8JktEA6hMPLO+93bnOjbNsB/kFpHnTKx0qyvjE9vQ29w== X-Google-Smtp-Source: AGHT+IFaO0J7biUGcXNNqyCqb9WxnzFNmpZQTQQHqbU5Y5jUoGZ72mT6irf7/oqhKDjYneYDFi5m X-Received: by 2002:a17:90a:bf05:b0:2b9:a7bf:8701 with SMTP id 98e67ed59e1d1-2b9a7bf887amr5780956a91.21.1715806414950; Wed, 15 May 2024 13:53:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715806414; cv=pass; d=google.com; s=arc-20160816; b=guz85oFJwY6EqMB7TiX80s/WA4K7ZjWG69JbgQXOMEdPMC9aYgoMifhblNZFGY1y4e WDoCwhv3XPciNRLmjlTNL5aX8aFQgQUkJalDfy+IPb3/4xQ6S+YdcTBKtdMz7uZyDcHI U3XjcDxPF9asbPtH0YuExzQ62/u9LVWY6pr1BOCN+BJt43klePNzBfLcOX7DZtRllQbr TM0djgxN0UOntvMlWjZClGUiNKnS2k6W57GUeSvmusUAAbJt1OCQBx4tT01mAe1ineh7 KmOloMZ65JHSqJoYQ5o/2xlsf6HXxc8iAGlgMwRb2jBIOxW5LTZNGAqQz99d8yxtkU/r otfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=9eNN42NTninktDeLasLQhh8m2toReyAFQUfPe8IH6Fw=; fh=7QUY6tNWN3u222+c2W63QIEWtN7pxyATL0zkAGM83iY=; b=xbASwEmFgRT4jzpBhNsjYQi6UQAC+kiEsJCzIENAFuTfe6F3NojMjGXmRrVrWmwEgZ 3bNjTEhbD8JMnNl3KKJfnrtV8puRWp4Ra2XFY4mpIqrYgUt/yoQT/GkBqHv2mpgTgBPJ ls30Ufs31auIK2wxLhz5cf90C9ItcE3yQ89Upy18rijILNHaB906AruwRQLJzomEQT+L 6ro0qY+9Pcx4Zijf/dBl17Fk0IRrSMq8WzFKu6FTZETOqU99GHwCozJYSjGN/U5AIeqA EJsfhXtnVnlplhenCT/xNmWLKaP65fxh7XS1Tu+0rtgBJSB+PqmIaXbMf+SubatFZop5 LDcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-180357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180357-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670f57046si14266154a91.45.2024.05.15.13.53.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 13:53:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-180357-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180357-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E4C4AB21A15 for ; Wed, 15 May 2024 20:52:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6FA8C15B11D; Wed, 15 May 2024 20:51:56 +0000 (UTC) Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDD336FBF; Wed, 15 May 2024 20:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.95.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715806315; cv=none; b=gm2NZvT0PX4mJugwaBQQubR4C8k3eKxQhwBA3+EKvXfnEzctJNKzy/APc6v+/i7qTohloEClxn6/NulrXuPDIS/guolkqqkumi5T75nWsy6tUsjPncLSOCZzoILo0i7b0oufTM3dHdkZFIHUjcfy+B+o+5TzMj+XjJ9Rp3EUJIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715806315; c=relaxed/simple; bh=RvC8rMcOQQcghqpvTEPFxoT3BZyVRRFgWASfSUmPyzk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bIQqffKE7BZn4daZ4eiPJgUC/dflhL4/8wlZLITwYB2TMosCsN3kh/rvCy/z5YX5TT+8fRXebBTwY6O8pI0n+7KwcYv6TFg8KAst3cW2NHptD7JTGtT5yBLMTiv742QtnyNAqOIh25xG/xgPniKpqEoZ6GUqxR9yF7lFMcerAUs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.95.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id C418C30010C93; Wed, 15 May 2024 22:51:43 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id B02AD1F580; Wed, 15 May 2024 22:51:43 +0200 (CEST) Date: Wed, 15 May 2024 22:51:43 +0200 From: Lukas Wunner To: Esther Shimanovich Cc: Mika Westerberg , Mario Limonciello , Dmitry Torokhov , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Rajat Jain Subject: Re: [PATCH v4] PCI: Relabel JHL6540 on Lenovo X1 Carbon 7,8 Message-ID: References: <20240510052616.GC4162345@black.fi.intel.com> <20240511043832.GD4162345@black.fi.intel.com> <20240511054323.GE4162345@black.fi.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, May 15, 2024 at 10:35:22PM +0200, Lukas Wunner wrote: > On Wed, May 15, 2024 at 02:53:54PM -0400, Esther Shimanovich wrote: > > On Wed, May 8, 2024 at 1:23???AM Lukas Wunner wrote: > > > On Wed, May 01, 2024 at 06:23:28PM -0400, Esther Shimanovich wrote: > > > > On Sat, Apr 27, 2024 at 3:17AM Lukas Wunner wrote: > > > > That is correct, when the user-visible issue occurs, no driver is > > > > bound to the NHI and XHCI. The discrete JHL chip is not permitted to > > > > attach to the external-facing root port because of the security > > > > policy, so the NHI and XHCI are not seen by the computer. > > > > > > Could you rework your patch to only rectify the NHI's and XHCI's > > > device properties and leave the bridges untouched? > > > > So I tried a build with that patch, but it never reached the > > tb_pci_fixup function Hm, re-reading your e-mail I'm irritated that you're referring to "that patch" (singular). You need at least these five commits: thunderbolt: Move struct tb_cm to tb.h thunderbolt: Obtain PCIe Device/Function number from DROM thunderbolt: Obtain PCIe Device/Function number via Router Operation thunderbolt: Associate PCI devices with PCIe Adapters thunderbolt: Mark PCIe Adapters on root switch as non-removable on this branch: https://github.com/l1k/linux/commits/thunderbolt_associate_v1 Thanks, Lukas