From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 62FA334028B; Tue, 3 Mar 2026 13:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772545706; cv=none; b=MiQgBphtT8M5yZwtfufsi6FDE63hrGhJzwFwHuElVYGIKhLT3TgoPqLBeGNusLynSOFy7H/FPiIsqu0ObO5cifloAcTpWe92em62zy/nD9eUMheRg20Uket3mnJHz4gqYf2dTjfFhTxsA9tXAzQtSH1oGM922yjwL+5vKOAIRp0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772545706; c=relaxed/simple; bh=Nv9QGCuxzJxNLrbHAf2jEmd+KvBLC7b1ZhulIs4yRng=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ep+NPs0jSDPZc1rSYoXE8xCmYfltqad7Qv3zL/7MqrVMol3Lkfg3BLeDYaXaN9FJnJUgh2poyTQjKBhIOWzkv+E+ypyStX1K5/uIkM94BcKtABQOR0mR/kC3OBBJaKYvVjHLuzLBopozjp52Oo+nDjMm5jPAsIPKTWV/7tcH0Ss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZuqkxPjs; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZuqkxPjs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D7EBC116C6; Tue, 3 Mar 2026 13:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772545705; bh=Nv9QGCuxzJxNLrbHAf2jEmd+KvBLC7b1ZhulIs4yRng=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZuqkxPjsqWMSsJd9vnHJsI2wm4QzIOjBxzUCtUzx+8W98zohVBIY/Yo/BiXf7IMJs gV1zm2f5se1J0qI0gKcmCm/9EnwBZsf99mRAkhYH25socv3xkAupbOfVGo3eN5yk8G rauEeKSgxBhiX1VSqI6UbbN8Vot3opXwBEnZiqNXriDByWw6d7vr1R8KHnH9jzgCN5 9LDFKoRi+pitmEU5AHKdPjm4GWw47KRA52B1DCKBGEcyxu9/526mdkH4+f/X92tYLH eQ854sImakoSy0pnY3BxQ59i8PTQZcgcZPFroIBTAysFiIF4+TEk0PDwjt11TdiRVM Edh8V+rNewoFw== Date: Tue, 3 Mar 2026 14:48:18 +0100 From: Niklas Cassel To: Manikanta Maddireddy Cc: bhelgaas@google.com, lpieralisi@kernel.org, kwilczynski@kernel.org, mani@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, thierry.reding@gmail.com, jonathanh@nvidia.com, kishon@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, Frank.Li@nxp.com, den@valinux.co.jp, hongxing.zhu@nxp.com, jingoohan1@gmail.com, vidyas@nvidia.com, 18255117159@163.com, linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/5] PCI: tegra194: Make BAR0 programmable and remove 1MB size limit Message-ID: References: <20260303072004.2384079-1-mmaddireddy@nvidia.com> <20260303072004.2384079-4-mmaddireddy@nvidia.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260303072004.2384079-4-mmaddireddy@nvidia.com> On Tue, Mar 03, 2026 at 12:50:02PM +0530, Manikanta Maddireddy wrote: > The Tegra194/234 Endpoint does not support the Resizable BAR capability, > but BAR0 can be programmed to different sizes via the DBI2 BAR registers > in dw_pcie_ep_set_bar_programmable(). The BAR0 size is set once during > initialization. > > Remove the fixed 1MB limit from pci_epc_features so Endpoint function > drivers can configure the BAR0 size they need. > > Signed-off-by: Manikanta Maddireddy > --- Reviewed-by: Niklas Cassel