Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1063337rwl; Fri, 4 Nov 2022 09:20:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4y0pruiMKxPYs5cgg4rVR9t7Z3WMuz2KAY/GCZKtd/jo827aFl30W35SWBZRqZQzx5TLF+ X-Received: by 2002:a17:903:1381:b0:188:602c:3332 with SMTP id jx1-20020a170903138100b00188602c3332mr5730413plb.122.1667578825419; Fri, 04 Nov 2022 09:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667578825; cv=none; d=google.com; s=arc-20160816; b=UOsZerpKdkLox6CJpH5HuJKGG5AykA/YItP3//ODosGc8MMz7JJexhshneg32Lz6qf 75u2zINMdJ7mdxMYUM+E56IK80ut0sL+UYoY1httlNIQy8FBBL05j/dBpSbvmhMaN4pu MjkO2xzb9ccNFpAJajQjfIftbwpVsvfRP6gL12oI3Y4l5uPsm51O3ZYIhLSadFRcy0iA 0tgKrpw2KxwyKIo70EatATXrLRjLfJxOYJc6hBqSRtsiqgiJPbbDmP9ec+77udHAZAVM ynQcHUHTWQhdrojPjZza0S5x71iDjDTG2Lnn+2M0L+dGqjj5a7/70MAuhlelm2bJvS7K LADA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6iCDoNmowJT2jyWbq8mvWIyPWMtuQrbpDE4g3uip2fI=; b=r4Dy79bloUh1OeIIMimptAzaH3z4McRZW4ufN7JggVKN2lrRr37YSXdQYoIyKV0OPX Umn3X1KL//Mj+Q3VagzYViND2xo442Tuemfit1/5WJmhcYpnvvJujsoyXt8DQ+UEMTzT Rxz1wPUgdPyeThYgMfQVH1byLHRKKwrbcXDMBuBIbsfMdIIL3Tgchwd9IArsWnmSue02 U/+xsNH/ZiwgY7iDXSEeRksJjA3MkibGP50GAI241Jyo90HH5QQcnBm2HlM8RLW66bXl QOtfGL2p2Pqof5zaVoPKQPCVBV8RpEpAD461N1WT3ReZEB4+eTEANOy7eAtoyho+5a2L AgBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E1lGmRIy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a654b88000000b0046fcd2d2befsi5621501pgq.768.2022.11.04.09.20.10; Fri, 04 Nov 2022 09:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E1lGmRIy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232650AbiKDPfU (ORCPT + 96 others); Fri, 4 Nov 2022 11:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232701AbiKDPfL (ORCPT ); Fri, 4 Nov 2022 11:35:11 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA5E82CC89 for ; Fri, 4 Nov 2022 08:35:10 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id mi9so3422086qvb.8 for ; Fri, 04 Nov 2022 08:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6iCDoNmowJT2jyWbq8mvWIyPWMtuQrbpDE4g3uip2fI=; b=E1lGmRIyHWLaft5aAhzNeSzDn0W14oWnhjGvZed9+OBgENhF0+WPt7IRgCSv4TgYfh Xf+aQxfYGmafjhiqMqx/ntHyqe/FlrZBW83LRob2HkrifBpwtxsDcm+vQpcH12wBjI0v wwZgibWX302KEBwM/l/d7Dsm0mp8kFK3HL/tDKdvyM4Iw0Dgp1V3U0ihvjbA2XAoZyif yq1jFPRqOTUqjqh8p1WdAyAUrc9oIdDKz+MgtvLGqW3cQ4zBaJmLTGrN9dNHlCS2QArc aRH+MKIN6L4CfI/um2RAC4GohOQTYAQQ06R+Fr3AP2oJO0BkVG7OJKZAZsyr2MheJbk3 xepw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6iCDoNmowJT2jyWbq8mvWIyPWMtuQrbpDE4g3uip2fI=; b=p1DYs9tLfvWttGUYKQ+TUGB1US/QmFp8WjcYnx1YKvza4Xq9pGiSdvVsAo+tNnh172 6kZMPctrVV35+vFXaSGiXN5BmbuHQXdxNmcAxtRdAJO1VEqUYa+wIIQL8xGOZx7JNYlx UgTV/oH4GLDCvH2mbTdlr9cX8/UOut3BOAVAPx4R8Zt1eWAWQJMyhJeqBOjXDQvKNebO +C7s4uDkLmYwE6hLrPDy4XkDc/rZwZ23xd5e7rlgUnoO4xQq8WdfXSB6iX3KfTtkrq+W XcKKlnovqExOYuAHxqbavPx8P2y918bqd/1r0HDI+YnA8GEGTYkc8iqd3H5B3SH734rC d6dQ== X-Gm-Message-State: ACrzQf3E1xnISJ9EmNCuqVAyc/yWFjFBA96AlKmvMDxpZrJqBE2nzMGJ fqUN1df0A1rm35hlv9/7RnPWCw== X-Received: by 2002:ad4:5766:0:b0:4bb:f0a3:aec7 with SMTP id r6-20020ad45766000000b004bbf0a3aec7mr26895492qvx.86.1667576109965; Fri, 04 Nov 2022 08:35:09 -0700 (PDT) Received: from ?IPV6:2601:586:5000:570:aad6:acd8:4ed9:299b? ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id x17-20020a05620a449100b006fa31bf2f3dsm3195397qkp.47.2022.11.04.08.35.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Nov 2022 08:35:09 -0700 (PDT) Message-ID: Date: Fri, 4 Nov 2022 11:35:07 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v3 1/8] memory: tegra: Add API for retrieving carveout bounds Content-Language: en-US To: Jon Hunter , Thierry Reding , Mikko Perttunen , Krzysztof Kozlowski Cc: David Airlie , Daniel Vetter , Rob Herring , Mikko Perttunen , Ashish Mhetre , Sameer Pujar , dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220920081203.3237744-1-cyndis@kapsi.fi> <20220920081203.3237744-2-cyndis@kapsi.fi> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/11/2022 11:33, Jon Hunter wrote: > Hi Thierry, Krzysztof, > > On 24/10/2022 14:15, Thierry Reding wrote: >> On Tue, Sep 20, 2022 at 11:11:56AM +0300, Mikko Perttunen wrote: >>> From: Mikko Perttunen >>> >>> 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 >>> --- >>> 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. > > Any update on this? What kind of update do you expect? Best regards, Krzysztof