Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1587572lqa; Mon, 29 Apr 2024 12:46:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDEacszkieClWAl7zsY13ap1qMMrCJptGYtdhvzD12uJwF36KDamZ7PSPcgUXZSMIjGvora2WVUpxRp2K+mL6HbP+ms5CMCZ9nT/Xacw== X-Google-Smtp-Source: AGHT+IGFVqfeu2IhQPIvwlyMG0koOtR5L5uZDQCah8gpg0eIhgm0jzPH+YI3cjAwJEctzmFh9Kew X-Received: by 2002:a05:6402:2682:b0:572:93fa:d6fa with SMTP id w2-20020a056402268200b0057293fad6famr419200edd.0.1714419969718; Mon, 29 Apr 2024 12:46:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714419969; cv=pass; d=google.com; s=arc-20160816; b=Lv9qL2kM+muGv0/a5jnoA1NOYFy10282NhnWs8WobHjXFeqt6yr6MZ+G5xPv6zCBR7 ixld7Z0x906zTmcbuF37/ONg5/G6ByUKeu8mU1yNgdqSsmC20uQ6Klc5uVHuc/cntY6M 3G+B8rhqUt8RNWGJeYGuBx6D4Z1edE6FEYTrpphH/gLfox8bgikOQwwVNHc2XAE+QouJ qAMs5Qa2ddIA0mSPIyfTUqj8z1iJ2Vm6EkdvQ/Ynxrezu56LYazkpeDwR8qaf4+OysEX vgKDcsDZdwsmNrUyLQxZ2SPHgVZCE4qs2b1r47P806a0WUiyw9A16SvITHK69yo9JNsi p/Fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mb9OU1e8CDPWok28cClhi1tNTddJ9azpQJpcP/8KdxY=; fh=dkhiAbLHImT0ivwiP96PhzFhcXGQpLb+WN8qoDtWuTA=; b=bZFI67aHcu+E4SjJEwK2uAUxsx2LSvtNv8sVsrY2XU8JCA3RAF0E5sHEP6YaODy7wk OhpVn5xTnirKVw/xiU+sk4nAbdR27fSmEc59Bonol1p8//bdsBN+xpMYC8dtIcH4h5ld 2JWDDg9iHy5HEVoR8vVUdWphSXJ+r27LBfQQPtRRJaNmcuOdvrBEZDKmClTpWVLOJH7d 4tHejhRHRmC9/Fl2B9FUfszuv+R92n7NL1jv6nBi0Xtk7Bb0+vKuK5Qd/noPCz51zUvi RKmPVoh2ggDReScwTNkbqlXiSajj02usJL0AQ36Il7Pq/I+ZFvekK1+Qe5TflALSruA5 9iWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VQTJ1wRu; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-162964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dc19-20020a056402311300b0057268d17a97si3383077edb.0.2024.04.29.12.46.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:46:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VQTJ1wRu; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-162964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6A41C1F21B8A for ; Mon, 29 Apr 2024 19:46:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4356113B5B6; Mon, 29 Apr 2024 19:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="VQTJ1wRu" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 359AB839FD; Mon, 29 Apr 2024 19:46:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419962; cv=none; b=f+A7pKN5GwD0Y3VKDKQyz09CW0uankoS285DgvQ9Wnnf1kU9quyUKdeOFmWjnIxIb9Z1613daH0adURzfhi6n3P1jqhT+SQWbF6fMtMJLYOiCCQFFvIopDF+Fv1wjU/MkeQ3oXha7ncJRD9ln9AzPdteFKQWNhbdC/zyP3txYvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714419962; c=relaxed/simple; bh=FZ9nXRV6ERZg5RvY6CtRN1IuNEzt8HVpFnFfYNjPhqo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JmJeW81MhvgxhMoUgvX9UVs2NiGnMogjJPdu9jCgVGsURdEUc1GStJE5Un13r811iGMHrjCNwhsZab9fAPrjlbuma0lCy1vYiHyoV5bCOtmkarhX53pSzI8XWg3VUaU184KwcaR9+Dhq+n1jrkx0CA0JIaYVghNyHYSEVyJoreE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=VQTJ1wRu; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=mb9OU1e8CDPWok28cClhi1tNTddJ9azpQJpcP/8KdxY=; b=VQ TJ1wRuo6vKos0f+Nf1lutKbY94bPLsu3/eC76QIaUObwB3bOqYhrbcjwNZ+DlTMAlkH+LA+N8y8+I QeIraoAeO2WYTQMrvrZWu0p4bCNK7kxLvNftz/sGemAaVuQb78j7BTozNe3zN72i5ru+5dY7my/a3 PI/I79gPCK9Hy6c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1s1WwZ-00EHPQ-LU; Mon, 29 Apr 2024 21:45:43 +0200 Date: Mon, 29 Apr 2024 21:45:43 +0200 From: Andrew Lunn To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: linux-pci@vger.kernel.org, Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Thomas Petazzoni , Pali =?iso-8859-1?Q?Roh=E1r?= , Lorenzo Pieralisi , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] PCI: mvebu: Use generic PCI Conf Type 1 helper Message-ID: <03a5fc99-2fd2-4788-a9cb-bf7e5d8353b8@lunn.ch> References: <20240429104633.11060-1-ilpo.jarvinen@linux.intel.com> <20240429104633.11060-10-ilpo.jarvinen@linux.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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240429104633.11060-10-ilpo.jarvinen@linux.intel.com> On Mon, Apr 29, 2024 at 01:46:32PM +0300, Ilpo J?rvinen wrote: > Convert mvebu to use the pci_conf1_ext_addr() helper from PCI core > to calculate PCI Configuration Space address for Type 1 access. > > Signed-off-by: Ilpo J?rvinen Tested on a kirkwood QNAP and an Armanda XP. The kirkwood correctly reports there is nothing on the PCIe bus. The XP finds the two 88W8864 WiFi devices, but there is no mainline driver for it, and it also finds an Etron Technology USB controller, which enumerates O.K. Tested-by: Andrew Lunn Andrew