Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1102655rdd; Wed, 10 Jan 2024 08:41:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu1keWiFTn+5kaE1Y9cTO7MutUlozG3oqibOjH2l+QBhEYE2OjahaYETm0bUMX8bQxGvS7 X-Received: by 2002:a05:6a20:244c:b0:19a:2bd9:7064 with SMTP id t12-20020a056a20244c00b0019a2bd97064mr839476pzc.72.1704904885007; Wed, 10 Jan 2024 08:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704904884; cv=none; d=google.com; s=arc-20160816; b=uYD1tW17asm4pBocvX9JGWUjgJAyWGb0iSLaJtVZutLksR6mJE0bEFC8uBwIPY9ZlC fI6nqDgCnl1H9zaRrOYFiD0ae80MNoTrjHzt/6OTifpAtlg+H0e7riFVi9BzLEb1Tedo gOScXcx7aiSvE690itvPTmfAzpOh04YIwEcFSvKYsDeIrjRk+VnTeJedKDUKUQWCVITx o1CkvADN/hhN40rjdiYfCZWPOWCp89r02ZS9uE3CNzX/zVz/SpQxKxmiV2zNAvo0oFTI Y/H5NMBA40urjRet5kKr8C1jmMG31NBnhWvMRBcHG66ADpvnRHDXoXs5SCeXYsX7DmS2 273A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=FWhNWH7rAmCDBECRPO1F9xLJkNJhHCJb0RcJ2QUB/ok=; fh=J0fXr2XTQazfk/QHL/kMggvUdvjoAwM8TFsoE7HFOlw=; b=HW3cezmxVtkaR2GTYzljMGDWbS/jPmwvane8bw1YqMZ+zv4SWHJJr0L0kjL/735gSX WLgOHzaFZkyf+IhQ9tEGqGnozACYnIE6noLLkgUQHmip9WHmcSRPPB9wh+2/NtWZFsfT BB8A2nhmfXXlc6DHt6DBvrcUq4PJ+3rGK3qgp5jApCQU7ALG4L+tiaAK8xJ+TOJ2hRS5 t/0PQYvfmG0xsDvtISIey1p/RIdagoPTNKEH+g1u5n+/p4BbTWOSD7WqovBDh9eybpDm pFj47QrdnpXDPnbm38SXyb+n2pMnQhXpZcPKPqTXNWJ2aL9veMsnGJsWg/rIgipCuGgX 275g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1679-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1679-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b1-20020a170902b60100b001d569371c91si2424978pls.632.2024.01.10.08.41.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 08:41:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1679-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1679-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1679-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A71BC289BEE for ; Wed, 10 Jan 2024 16:41:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B7FB4CDF3; Wed, 10 Jan 2024 16:41:19 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from bmailout3.hostsharing.net (bmailout3.hostsharing.net [176.9.242.62]) (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 A829B47F56; Wed, 10 Jan 2024 16:41:15 +0000 (UTC) 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 [83.223.95.28]) (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 bmailout3.hostsharing.net (Postfix) with ESMTPS id 2A647100FBE02; Wed, 10 Jan 2024 17:41:06 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 024392D2CA2; Wed, 10 Jan 2024 17:41:05 +0100 (CET) Date: Wed, 10 Jan 2024 17:41:05 +0100 From: Lukas Wunner To: Bartosz Golaszewski Cc: Kalle Valo , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Bjorn Helgaas , Heiko Stuebner , Jernej Skrabec , Chris Morgan , Linus Walleij , Geert Uytterhoeven , Arnd Bergmann , Neil Armstrong , =?iso-8859-1?Q?N=EDcolas_F_=2E_R_=2E_A_=2E?= Prado , Marek Szyprowski , Peng Fan , Robert Richter , Dan Williams , Jonathan Cameron , Terry Bowman , Kuppuswamy Sathyanarayanan , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Huacai Chen , Alex Elder , Srini Kandagatla , Greg Kroah-Hartman , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, Bartosz Golaszewski Subject: Re: [RFC 3/9] PCI/portdrv: create platform devices for child OF nodes Message-ID: <20240110164105.GA13451@wunner.de> References: <20240104130123.37115-1-brgl@bgdev.pl> <20240104130123.37115-4-brgl@bgdev.pl> <20240109144327.GA10780@wunner.de> <20240110132853.GA6860@wunner.de> Precedence: bulk X-Mailing-List: linux-wireless@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: User-Agent: Mutt/1.10.1 (2018-07-13) On Wed, Jan 10, 2024 at 05:26:52PM +0100, Bartosz Golaszewski wrote: > Seems like the following must be true but isn't in my case (from > pci_bus_add_device()): > > if (pci_is_bridge(dev)) > of_pci_make_dev_node(dev); > > Shouldn't it evaluate to true for ports? It should. What does "lspci -vvvvxxxx -s BB:DD.F" say for the port in question?