[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y1aP7kDi8cJUTcGN@orome>
Date: Mon, 24 Oct 2022 15:15:26 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Mikko Perttunen <cyndis@...si.fi>
Cc: David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Jonathan Hunter <jonathanh@...dia.com>,
Mikko Perttunen <mperttunen@...dia.com>,
Ashish Mhetre <amhetre@...dia.com>,
Sameer Pujar <spujar@...dia.com>,
dri-devel@...ts.freedesktop.org, linux-tegra@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/8] memory: tegra: Add API for retrieving carveout
bounds
On Tue, Sep 20, 2022 at 11:11:56AM +0300, Mikko Perttunen wrote:
> From: Mikko Perttunen <mperttunen@...dia.com>
>
> On Tegra234 NVDEC firmware is loaded from a secure carveout, where it
> has been loaded by a bootloader. When booting NVDEC, we need to tell it
> the address of this firmware, which we can determine by checking the
> starting address of the carveout. As such, add an MC API to query the
> bounds of carveouts, and add related information on Tegra234.
>
> Signed-off-by: Mikko Perttunen <mperttunen@...dia.com>
> ---
> v2:
> - Add check for 64-bit phys_addr_t. In practice phys_addr_t
> is always 64 bits where this runs, but it avoids warnings in
> compile test.
> ---
> drivers/memory/tegra/mc.c | 25 +++++++++++++++++++++++++
> drivers/memory/tegra/tegra234.c | 5 +++++
> include/soc/tegra/mc.h | 11 +++++++++++
> 3 files changed, 41 insertions(+)
Krzysztof,
I've applied this to the same tree as the patch that uses it for now.
Let me know if you want me to put this on a separate stable branch for
you to pull in.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists