Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1641516lqm; Fri, 3 May 2024 01:44:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXM/60/4Jp45VpyNOWAuVrZaqTGkgUqK3zxujkLxjVVL4WT6ReMzVDBDCZ7mC+xvQd+CMAEFrXZmnAvt28uodlJKCyqR2jVEGZYHZy0AA== X-Google-Smtp-Source: AGHT+IHa+iJzM4vdzgSzkM9D0plEfOYVMFg7RkLjr4Uyzsk345G416R+QcxbtIZgZJT/9Z4HAsWx X-Received: by 2002:a05:6122:904:b0:4d4:16ed:3ae4 with SMTP id j4-20020a056122090400b004d416ed3ae4mr2251231vka.14.1714725880831; Fri, 03 May 2024 01:44:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714725880; cv=pass; d=google.com; s=arc-20160816; b=XGVUAaERM4fc1u1RZgssLr8AFmbB/zJNsHM805OJdGF3LfUJmaOD4FlqNjVf4ZtI2P lcXTDV/D/O7Lmhorc8ZtPYjIDaUdB11yDpABPfoxm7l6/33ofqeK1jbAWUyKQR61e3ma Qx2NzbqsbclG8OgjY1tv3+t47QgW3g/UzeqKwuh06LJE20ZIGI5iwLtnEQtUYtHEkXDg hr2hWkpkLhnR9N1n1Dckvmg0zUa/ZKerOKv6frEIkrNhZvWf7IxHWx2PSUX5MQS/lMMK qGrEX3s18NSEVPBtSaYNgcMr+oHcIhkiZEaLHQ/Q8Yi/gadbRxIA1vNSvfC2wA9OZ9kF U1Kg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Hf+CieslUsObgt+CsnG2v8xKLDb8RAdDAkn4XK1B5ZQ=; fh=sL7JBkNlCsCjFLWr4HDMOjz9cpvqrs7EzdVJ7fbsfqc=; b=wz32FVa2QQwXWmMA4mpohSPZtdVX+2mxFWM1oxcWzDh2ls64LDyYq7fill2519sg+2 9FoI7yLdWZlO16SLBhJXSZ9Yn5jW/muQQsAO4qAzqxEm7MMhEZvOfvTjrNx5qP3jYYGz CB0+dV0QCrSK2FYDlgY7zGtjmLV8oRyg1M60jaMpQrJIiiHliYFObuwpW9LS2I5tQu1o kTiLZc9iJ6y9yMowYxTqkW+k6xyyLNtj9oMgtkeixiCn+TE1LLmSZCJrVi8RKzLIqwhw l3yRCXjkPd8Qs92jUh4fl/PonP8AXL412IAtz/5DdQF9BlC0gbR2r/1HSGnPAjm8nbCg MM6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w87LAoIR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167409-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b18-20020a05620a0cd200b00792643eee75si2551229qkj.709.2024.05.03.01.44.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 01:44:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w87LAoIR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167409-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D21A1C20839 for ; Fri, 3 May 2024 08:44:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79D0614A4FF; Fri, 3 May 2024 08:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="w87LAoIR" Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D55914A0A2 for ; Fri, 3 May 2024 08:44:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714725875; cv=none; b=fOfx3HJQ5x9+Hui3M5OP3UcbGScXtF9h2kk50G7TueyHrBD9nPlsdONrtQxk6C++s+2lLJYJibYwuOVFA/vlxOxF6nBITcJoAEOVLVlbV4XY2DhnuvZAUdSLsCUqNw+inIIVZIj03BH/gIFAlKTOHyTm5Fa67/YnQEeTaVnvtdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714725875; c=relaxed/simple; bh=Hf+CieslUsObgt+CsnG2v8xKLDb8RAdDAkn4XK1B5ZQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=O3sU+HiMGzbejAN4meT6qIA88fVPKd6zA9hxLVyv4LGeN3DYWgN3RR+etqLlFJluVpEYByGMAeZ3JA1BtxCIrLhtP/VmSwgjgVySuSo5kORRQ2eBuW8vkvkwj2e2H/xIdNJF7yXehI9cdGi7aOKuxaf6iTEleyLFil1IqsLwN2M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=w87LAoIR; arc=none smtp.client-ip=209.85.128.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-61ab6faf179so87452187b3.1 for ; Fri, 03 May 2024 01:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714725873; x=1715330673; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Hf+CieslUsObgt+CsnG2v8xKLDb8RAdDAkn4XK1B5ZQ=; b=w87LAoIRYfTkcWm7xIH0he9lZ2rpok4L84Lr5//A92VRW9vo/+DpFBKvna7YyPcZhI fQ4thT8DmymXW3ZMu2AZO0+nkO+aKyz6G5QrEvXyGliq5OMLtaoMHcgRG4NHP4KtMBEg nllojQ/s1aMmxgn5ihHeHv+BrcMAGI1V1F/eEt68+4dEJW502At/2zx6DAQ5D/KM2s2l zhgSIJvz38i5pmUP3OPbcMP+WJgPyl81fCvvagxqcGziaFxhUvlBhqLpqQeVt1/bRtHl /2eXI7wcR/CMbBjM3f/oGebijdUfR5AnAYdh5SG2YMGCpIcr5zBnbj2GoAchaj6J7fYx FYvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714725873; x=1715330673; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hf+CieslUsObgt+CsnG2v8xKLDb8RAdDAkn4XK1B5ZQ=; b=Ck5RSRNf6p2rfDEMq4vC0TL4kOQCnBExe3ywnxPmj2EUtuWsokSoNW0G539hsMaOTv EH78+gxitgiu7xO3gEfesGdu6bCOy3UmRAW/UMEQ9sbBRwYo4mQzgC4NllgsmsNxXV5n 8W8Ny2EFM6+dshN2LWnstPkDXI7V7ghTBTvWbSFtjEZqf+nNBAiL19QJCT++b1nVVe8X QP+5OZeart1rJjFPbLW2LdAJTMFWf9DrkgPV49IPjwf2o7PTh64LEeCw1z5qWt3Zt4dp IQW210fTlkNlXAGksd2kkjppRHwt/QgPOPonr0qj7Gdl8+5EydyHaXpWy1kOQ6H4yITS B3wA== X-Forwarded-Encrypted: i=1; AJvYcCVpy7ouke+mmJrsbIw0OEj5YEuZbSlz4JS5P7gvWrys0kYmwKIfO2I2w1fDHl5VqGbRrjIOGw9yE4GYfKfljhcW+yqK8ifrJ/RDHley X-Gm-Message-State: AOJu0YwRKnzLvPI8EeRCCwXGJ4b5imWBkKTYu6t09VP+v+RdefavE5bw MJTkRhE7mzmvheIvaln74cg8x7tc7N8MLx4ujhzQwXzCAX5Wli60Ks7oryI7MfJ5FXvUVFMb2et 6kPP2CLKWPvzTq9MPqIt63eZdBexN1lzKPE5NYQ== X-Received: by 2002:a0d:f944:0:b0:61a:ca09:dae3 with SMTP id j65-20020a0df944000000b0061aca09dae3mr1925466ywf.26.1714725873347; Fri, 03 May 2024 01:44:33 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240429104633.11060-1-ilpo.jarvinen@linux.intel.com> <20240429104633.11060-11-ilpo.jarvinen@linux.intel.com> In-Reply-To: <20240429104633.11060-11-ilpo.jarvinen@linux.intel.com> From: Linus Walleij Date: Fri, 3 May 2024 10:44:22 +0200 Message-ID: Subject: Re: [PATCH 10/10] PCI: v3: Use generic PCI Conf Type 0/1 helpers To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: linux-pci@vger.kernel.org, Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Lorenzo Pieralisi , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 29, 2024 at 12:48=E2=80=AFPM Ilpo J=C3=A4rvinen wrote: > Convert v3 to use pci_conf{0,1}_addr() from PCI core to calculate PCI > Configuration Space address for Type 0/1 access. > > Signed-off-by: Ilpo J=C3=A4rvinen Reviewed-by: Linus Walleij Yours, Linus Walleij