From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 66D5412F36E for ; Fri, 16 Feb 2024 15:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708095742; cv=none; b=KRiQJTjXyEG4qG+GL2rz27tHJ0pKKgZEOj1Yhkex+gdJr5OlaGQYBp8TDG5YB5D09wfygO/b6fkCHs3xEYdMqexF7Pcg+Agj+NGWdYcnlFbsXGaqC44tki1EbuuY5cZsibu1CYH1fRnWQ30Wu3Am2SgYHZxJ54kl9Nvc94wRsAs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708095742; c=relaxed/simple; bh=PFnJlG/BH87SYA2q7LzbhYfSQhpNgUw954DgZ38T0rM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ED2sHxqbBgtqOV249aLJmTVWBfHHd6H+82w1PVqNhUzUYqQiJ9rtceQKSe7sVcXTMyVU+0b5LIPowtYVl+YS/zsaV96AbyiOP7EULpR9hlb4DG37vBScxYSSWXKSWjC33m8yUZyGXkqsXaKh+/olDL4PcQ2b3otlty0w95prdjQ= 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=Pi638i8s; arc=none smtp.client-ip=209.85.210.178 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Pi638i8s" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e08dd0c7eeso1376272b3a.1 for ; Fri, 16 Feb 2024 07:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708095740; x=1708700540; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=Pi638i8sWXXnZAfJfoU2uRQZMy11R+CO96rh3stq7MsUa35+aeCrQEx6U27wm8sfGo /3UsP6UILcxE96bbM/p/nhTeys1rnp2G9+fRmP6mbDK8zojuK1UdJ8lEzyUdlIDy39KV zhXzp48fYxPQbf7nQB5mwbd5f2fQsAuvWpPvBeeXohsndbHHHjDgMR8lsRk0paFyACuh 5umVy6JzK83fxZa1re8U3y/UIA98SVhHuZesCXLoJckjAPtuju2uMe5YXK8Ybr9PkVi3 TlG4IkSkhIg75FPKPWe1GcjFyGrWZyaomp/57+uXlJNWGk8hWGqC1N8tE+ou8XuiFXXe xXaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708095740; x=1708700540; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=BR5eRntcmddSLPMSTC308cy/hZ6y0Lwn3cZfYZ90A9CVdRGsrkNvCiMM+6MMsodQmf CwIBJLVC15vAVONjVIKW7qUyQzkvAOV7GM0kcyaELhJMDSbwTN9z6YNuZg2+4I293mux 6velpuxYLsbvsv2OKyhsn+aL9ybDr3l79X+3IDPOQn6ZANDNuBlrHE2jJ1zZZ49lY4Xo JwLE9kpyUX8901iiF1B1pTeiSOmQlhzZN/5fZyJpBjmUqryhuabaWcWAchvsKH7GAWWZ sZmYZS70rwaIIzLCChHfnqjZNfTf19SPPN7FMHqdLlgr44b7+yu4Tbsu8npsLA8Z5cLq GtWg== X-Forwarded-Encrypted: i=1; AJvYcCV7gU3vLwBka4VHZ4PgVHQ5Cck/R5bKdBKp8WxO+iw2Ektps3yZtzPnuYlr8xyy2DAFUB4Vyb9Vw7f2OgpjV6iqZJayHq5k2DVh X-Gm-Message-State: AOJu0YzcnI6DX5sJU/l48u78By/1brS2hG7ADCuNQtP4fD9C+eXuZlWb 8yCaIR2WRPFj7AMzq9wQEwVzqmtgetA80/5b7RxP5O70zCoOvhThhbBadKYrEg== X-Google-Smtp-Source: AGHT+IFgr7DrTunbXNT4CmMkXBhBhF8q3qElLWukIPhZqe8IVzyyit1X3Y+109ONonjOTtTtsSuzVw== X-Received: by 2002:a05:6a00:c91:b0:6e0:a9c4:3016 with SMTP id a17-20020a056a000c9100b006e0a9c43016mr5957902pfv.16.1708095738239; Fri, 16 Feb 2024 07:02:18 -0800 (PST) Received: from thinkpad ([120.138.12.48]) by smtp.gmail.com with ESMTPSA id x5-20020aa784c5000000b006e080bbc92dsm27057pfn.177.2024.02.16.07.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:02:17 -0800 (PST) Date: Fri, 16 Feb 2024 20:32:08 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Cc: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Srikanth Thokala , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Jon Mason , Dave Jiang , Allen Hubbe , Kishon Vijay Abraham I , Damien Le Moal , Frank Li , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, ntb@lists.linux.dev Subject: Re: [PATCH v2 0/2] PCI endpoint BAR hardware description cleanup Message-ID: <20240216150208.GC39963@thinkpad> References: <20240216134524.1142149-1-cassel@kernel.org> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240216134524.1142149-1-cassel@kernel.org> On Fri, Feb 16, 2024 at 02:45:13PM +0100, Niklas Cassel wrote: > The series is based on top of: > https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=endpoint > > > Hello all, > > This series cleans up the hardware description for PCI endpoint BARs. > > The problems with the existing hardware description: > -The documentation is lackluster. > -Some of the names are confusingly similar, e.g. fixed_64bit and > fixed_size, even though these are for completely unrelated things. > -The way that the BARs are defined in the endpoint controller drivers > is messy, because the left hand side is not a BAR, so you can mark a > BAR as e.g. both fixed size and reserved. > > This series tries to address all the problems above. > > Personally, I think that the code is more readable, both the endpoint > controller drivers, but also pci-epc-core.c. > > (I will be sending out a patch series that adds BAR_RESIZABLE to enum > pci_epc_bar_type in the coming week.) > Applied to pci/endpoint! - Mani > > Kind regards, > Niklas > > > Changes since V1: > -Picked up tags from Kishon and Mani. > -Improved commit message for patch 1/2 as suggested by Mani. > -Improved kdoc in patch 2/2 as suggested by Mani. > > > Niklas Cassel (2): > PCI: endpoint: Clean up hardware description for BARs > PCI: endpoint: Drop only_64bit on reserved BARs > > drivers/pci/controller/dwc/pci-imx6.c | 3 +- > drivers/pci/controller/dwc/pci-keystone.c | 12 +++--- > .../pci/controller/dwc/pci-layerscape-ep.c | 5 ++- > drivers/pci/controller/dwc/pcie-keembay.c | 8 +++- > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 4 +- > drivers/pci/controller/dwc/pcie-tegra194.c | 10 +++-- > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 15 +++++-- > drivers/pci/controller/pcie-rcar-ep.c | 14 ++++--- > drivers/pci/endpoint/functions/pci-epf-ntb.c | 4 +- > drivers/pci/endpoint/functions/pci-epf-test.c | 8 ++-- > drivers/pci/endpoint/functions/pci-epf-vntb.c | 2 +- > drivers/pci/endpoint/pci-epc-core.c | 25 +++++------- > drivers/pci/endpoint/pci-epf-core.c | 15 +++---- > include/linux/pci-epc.h | 39 ++++++++++++++++--- > 14 files changed, 106 insertions(+), 58 deletions(-) > > -- > 2.43.1 > -- மணிவண்ணன் சதாசிவம் From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7DB6C48260 for ; Fri, 16 Feb 2024 15:03:10 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FFssp4x3; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TbwCx1y6Jz3vYf for ; Sat, 17 Feb 2024 02:03:09 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=FFssp4x3; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::42d; helo=mail-pf1-x42d.google.com; envelope-from=manivannan.sadhasivam@linaro.org; receiver=lists.ozlabs.org) Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4TbwC23tChz3dVJ for ; Sat, 17 Feb 2024 02:02:22 +1100 (AEDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6de3141f041so1714971b3a.0 for ; Fri, 16 Feb 2024 07:02:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708095740; x=1708700540; darn=lists.ozlabs.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=FFssp4x3Gpi6fOZxEnpcNUr+K6W3N5JUmK4V2G0pqDv/iyGn4Lrn//prlI1JM3po2N 9Gizo8FgHZa1zNQpZL63Ys34CvTKggd7hrotE72jLRw5pE6KcNckff4Nbw2o92xaXGlY 7WRBXQtq/jCaMCenv2S/dKEaZGIISui+tKKBp1MUC9c6r4N7SVdqiPQ4nYWQL6Lesc/K kDrVPbDSzwB9WqBU2nQCeUZW5HzueT94tLI2BKlcODTvSqajz2IXMwyamgjwMw91xAVD SEUb1gO8v6JkISsPTUik6e7OH8PtMEZ5s7iCYfSlO26XNOmjXOS0erXXSml6BeGtQ3MC oT7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708095740; x=1708700540; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=v9n476lgTWXiPoqnIVR51enQru/6n1FFgCywe0xbHFeaQgggz8OJRgR3WYyFgNne9P YH6Y0qsGBVS10DjEW3aRBmlqC18AavmUHOIbAvefBxBm2D9FGMsSjHxJ+dP3ywJjkwVO JbNGjaL9xc90kGnXYmz2cJemuVxkfRAKYmvAIPndmDhWHu0+hGHy+FCSeDgTIcKkeSaL TMIkvgqapHOdivK7qUNna0dttEib49zAQVbB/fS0V69r5j6hvnGl4pnFDj5xBEFvK5vd OCoY1oY7bR4c1k20BA0rPFdtzvB5iSQ43L1dEeOxDixbhmTrdUwXMIjI3GYsFw0BlKNF 5+Pg== X-Forwarded-Encrypted: i=1; AJvYcCU8Q1elyCUNRnuyBxVXZvo5BLjU+aURCwIozxYxJ6BNea09UF1fk25f2FkXJcYmkIL8UCC/4Wt1I9bfGOTVL+uvL6t+R6NLS+qrCb2eRg== X-Gm-Message-State: AOJu0Ywtx62oee3TP38+DHddbC7YrvcoEFG2wdzHmoLpFgmS64FwbJar 9NS+0zCqsuiqvBTym/e/xoBptqYqXiuP9Avn+BfUmV1vpBJORQle7BTwaqp/Ig== X-Google-Smtp-Source: AGHT+IFgr7DrTunbXNT4CmMkXBhBhF8q3qElLWukIPhZqe8IVzyyit1X3Y+109ONonjOTtTtsSuzVw== X-Received: by 2002:a05:6a00:c91:b0:6e0:a9c4:3016 with SMTP id a17-20020a056a000c9100b006e0a9c43016mr5957902pfv.16.1708095738239; Fri, 16 Feb 2024 07:02:18 -0800 (PST) Received: from thinkpad ([120.138.12.48]) by smtp.gmail.com with ESMTPSA id x5-20020aa784c5000000b006e080bbc92dsm27057pfn.177.2024.02.16.07.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:02:17 -0800 (PST) Date: Fri, 16 Feb 2024 20:32:08 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Subject: Re: [PATCH v2 0/2] PCI endpoint BAR hardware description cleanup Message-ID: <20240216150208.GC39963@thinkpad> References: <20240216134524.1142149-1-cassel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240216134524.1142149-1-cassel@kernel.org> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Kunihiko Hayashi , linux-pci@vger.kernel.org, Lorenzo Pieralisi , Frank Li , Minghuan Lian , Thierry Reding , Fabio Estevam , Marek Vasut , Kishon Vijay Abraham I , Rob Herring , Dave Jiang , linux-tegra@vger.kernel.org, Jonathan Hunter , NXP Linux Team , Allen Hubbe , Richard Zhu , Srikanth Thokala , Sascha Hauer , Damien Le Moal , Bjorn Helgaas , Mingkai Hu , linux-arm-kernel@lists.infradead.org, Roy Zang , linuxppc-dev@lists.ozlabs.org, Yoshihiro Shimoda , linux-renesas-soc@vger.kernel.org, ntb@lists.linux.dev, Masami Hiramatsu , Pengutronix Kernel Team , Jon Mason , Shawn Guo , Lucas Stach Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Feb 16, 2024 at 02:45:13PM +0100, Niklas Cassel wrote: > The series is based on top of: > https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=endpoint > > > Hello all, > > This series cleans up the hardware description for PCI endpoint BARs. > > The problems with the existing hardware description: > -The documentation is lackluster. > -Some of the names are confusingly similar, e.g. fixed_64bit and > fixed_size, even though these are for completely unrelated things. > -The way that the BARs are defined in the endpoint controller drivers > is messy, because the left hand side is not a BAR, so you can mark a > BAR as e.g. both fixed size and reserved. > > This series tries to address all the problems above. > > Personally, I think that the code is more readable, both the endpoint > controller drivers, but also pci-epc-core.c. > > (I will be sending out a patch series that adds BAR_RESIZABLE to enum > pci_epc_bar_type in the coming week.) > Applied to pci/endpoint! - Mani > > Kind regards, > Niklas > > > Changes since V1: > -Picked up tags from Kishon and Mani. > -Improved commit message for patch 1/2 as suggested by Mani. > -Improved kdoc in patch 2/2 as suggested by Mani. > > > Niklas Cassel (2): > PCI: endpoint: Clean up hardware description for BARs > PCI: endpoint: Drop only_64bit on reserved BARs > > drivers/pci/controller/dwc/pci-imx6.c | 3 +- > drivers/pci/controller/dwc/pci-keystone.c | 12 +++--- > .../pci/controller/dwc/pci-layerscape-ep.c | 5 ++- > drivers/pci/controller/dwc/pcie-keembay.c | 8 +++- > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 4 +- > drivers/pci/controller/dwc/pcie-tegra194.c | 10 +++-- > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 15 +++++-- > drivers/pci/controller/pcie-rcar-ep.c | 14 ++++--- > drivers/pci/endpoint/functions/pci-epf-ntb.c | 4 +- > drivers/pci/endpoint/functions/pci-epf-test.c | 8 ++-- > drivers/pci/endpoint/functions/pci-epf-vntb.c | 2 +- > drivers/pci/endpoint/pci-epc-core.c | 25 +++++------- > drivers/pci/endpoint/pci-epf-core.c | 15 +++---- > include/linux/pci-epc.h | 39 ++++++++++++++++--- > 14 files changed, 106 insertions(+), 58 deletions(-) > > -- > 2.43.1 > -- மணிவண்ணன் சதாசிவம் From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0923DC48260 for ; Fri, 16 Feb 2024 15:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eOkp+WzLS0+LALESGFWkYU1k+B0ebT7yZfL0S63DB2U=; b=drZX3NxgC76X6U YeuV6UsPNBiqz9wtqCjzIppycz5EuXwa8zl0+NLPaVemwylsKRlChKd4wd9NVC58r62N+6nrG6JKC TlvuMt44AkywrtHK5e6gu8u4RkcPS07kB//iiTsCnA4MnT3enk06uIbJrkvZihBEOIVLBjmFM0OLC m5V3blARJABUunv9VpseLsdwIJjm+Ql+hTTNgm6102qXv3WKM7deN9z2SGQxroMJJnfxwaMaAPNnL xh9095cASZsA9iFECN1tzfA+U1lddLQ9v/+MTVu77osmnNCrPLGj1w+cz6J3eo45xd+YQhf6UXDd6 Iiunp8RsjcqTpLCYq19Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1razjP-00000002gib-0io3; Fri, 16 Feb 2024 15:02:27 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1razjK-00000002ggf-1png for linux-arm-kernel@lists.infradead.org; Fri, 16 Feb 2024 15:02:25 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6e08dd0c7eeso1376271b3a.1 for ; Fri, 16 Feb 2024 07:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708095740; x=1708700540; darn=lists.infradead.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=geK7vjg4j2qwv21f5QWOh739FqXyKbxom3K+h4KM0sgpr9i41xk8sXLKMO50kOHp/w 6Jsa37tyiIbcAFjuYQ0PygtUY0BiOW+W3CvhBNqNwANzm9Sroz/bVyhSFkZ+IhQtUs+s bGNPa/DDDOvut2kPqUSQB8NiAe8kMIdohBXCoheR8BNlaRaDkfNRHDjjBqdCSUVtblcS O99HgwQoAFf3G6rtvTbR5ERBwD2LcUmkeKH8lMi4kzPNxD7fur2ji+WTV0mprC7IgeGU sJJTbdU3U8mVZywfa0tDCJwQQT3Pse3Nrw2g/KVOxrex3mSCuPOsDnDeB35LzHvg1+kT h2yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708095740; x=1708700540; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xjKDnEpyYeAmu9qtpq1bDPfT62b9+uwDJch6VEOZdNo=; b=Ncp7CmcZIQHLRFAiYVt/iFDA7UjaxSBUGC8MYSVIWJe4fTCg6CH57rLL7zkUNoqbd5 Cqmxl4RELMLVZfD52qe4sZhlaPxwNdnQizmfosoTkygJ2LYsND9qhe+6hfXYVs3S9UXy /T/hoAn21sGmSNJUQ59v3gCrxJALOJSB8GJMdWr6cFjhk3CcUeJavpGpXmHseQII5CQ+ SkU/vM6bRuIyl5+ApJfM9Z2jdtMFMkFzkQz9XH4FbtGTT8IYqPoI65ZhtbfXbB3eBXqz PVl+JyBDXlVjT1tOyFw0o84x2fjHKADBfZGqhHAqVpKuKOvSyKffC5VwcUObdOBe9Lej kcaA== X-Forwarded-Encrypted: i=1; AJvYcCUDuYuboHeuk9zi0kBS32CTj7ciANi+gm11mxVxrWmUng7SrswkO9BdCFtekcGpoeLx628bygQcH3CF1BZdX+ZO10MN73UJiMwyp/dyz74lXYq70Sg= X-Gm-Message-State: AOJu0YxRRjuy98seENND9rFCrH2wiU+v25TQOFQDgDAo6Oa6ij8J2LF3 ufYEnZcjEpa+cbAIMkYkdGJjEbaaKUSPouMf/+lVSYZk9e/ZOmwC2ttrsRvTKQ== X-Google-Smtp-Source: AGHT+IFgr7DrTunbXNT4CmMkXBhBhF8q3qElLWukIPhZqe8IVzyyit1X3Y+109ONonjOTtTtsSuzVw== X-Received: by 2002:a05:6a00:c91:b0:6e0:a9c4:3016 with SMTP id a17-20020a056a000c9100b006e0a9c43016mr5957902pfv.16.1708095738239; Fri, 16 Feb 2024 07:02:18 -0800 (PST) Received: from thinkpad ([120.138.12.48]) by smtp.gmail.com with ESMTPSA id x5-20020aa784c5000000b006e080bbc92dsm27057pfn.177.2024.02.16.07.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:02:17 -0800 (PST) Date: Fri, 16 Feb 2024 20:32:08 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Cc: Richard Zhu , Lucas Stach , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Srikanth Thokala , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Jon Mason , Dave Jiang , Allen Hubbe , Kishon Vijay Abraham I , Damien Le Moal , Frank Li , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, ntb@lists.linux.dev Subject: Re: [PATCH v2 0/2] PCI endpoint BAR hardware description cleanup Message-ID: <20240216150208.GC39963@thinkpad> References: <20240216134524.1142149-1-cassel@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240216134524.1142149-1-cassel@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240216_070222_502375_BAA41874 X-CRM114-Status: GOOD ( 23.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org T24gRnJpLCBGZWIgMTYsIDIwMjQgYXQgMDI6NDU6MTNQTSArMDEwMCwgTmlrbGFzIENhc3NlbCB3 cm90ZToKPiBUaGUgc2VyaWVzIGlzIGJhc2VkIG9uIHRvcCBvZjoKPiBodHRwczovL2dpdC5rZXJu ZWwub3JnL3B1Yi9zY20vbGludXgva2VybmVsL2dpdC9wY2kvcGNpLmdpdC9sb2cvP2g9ZW5kcG9p bnQKPiAKPiAKPiBIZWxsbyBhbGwsCj4gCj4gVGhpcyBzZXJpZXMgY2xlYW5zIHVwIHRoZSBoYXJk d2FyZSBkZXNjcmlwdGlvbiBmb3IgUENJIGVuZHBvaW50IEJBUnMuCj4gCj4gVGhlIHByb2JsZW1z IHdpdGggdGhlIGV4aXN0aW5nIGhhcmR3YXJlIGRlc2NyaXB0aW9uOgo+IC1UaGUgZG9jdW1lbnRh dGlvbiBpcyBsYWNrbHVzdGVyLgo+IC1Tb21lIG9mIHRoZSBuYW1lcyBhcmUgY29uZnVzaW5nbHkg c2ltaWxhciwgZS5nLiBmaXhlZF82NGJpdCBhbmQKPiAgZml4ZWRfc2l6ZSwgZXZlbiB0aG91Z2gg dGhlc2UgYXJlIGZvciBjb21wbGV0ZWx5IHVucmVsYXRlZCB0aGluZ3MuCj4gLVRoZSB3YXkgdGhh dCB0aGUgQkFScyBhcmUgZGVmaW5lZCBpbiB0a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