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 X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 699B0C4338F for ; Wed, 25 Aug 2021 13:53:26 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0C5A60E93 for ; Wed, 25 Aug 2021 13:53:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D0C5A60E93 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 594E583201; Wed, 25 Aug 2021 15:51:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tNA85yRA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 05AE08324B; Wed, 25 Aug 2021 15:50:59 +0200 (CEST) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 71B6C83118 for ; Wed, 25 Aug 2021 15:50:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-lj1-x22f.google.com with SMTP id m4so8981424ljq.8 for ; Wed, 25 Aug 2021 06:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x+W946g1VjuV49U1WHUvqtJ4lbGY4FF+UmY0X8l3ORw=; b=tNA85yRAoyJ/86y4zLvTKnNg4SRvRo2BCh867edp7rbQgeICWgXuOvjYj8wJ/qiV4T NZt7m4aj/u2BvNdBRcdmQ4wTLICJgTgfZrkaDEpmUU/5UQukvmsr+xhh1qGbEq4yHyk5 PK+PlUMOH3pIti3HuQeJ2nZDmXKc5afQWNRs/07G7zsNJheNDiDy62AuuH11pBqRTurc Jz/OuFU7jQUXB8WqWY8xoXKd7+F7fp8Lr2GC47j9EmV0zOr2a5v9JJM2qmwNuU0GSnPv l+VGB0auqUJZFWaGbFVke19ZIYUkW0REuOhQf1Ku5+Cfm3UUWxPDa7GM/P0fFgGptje3 W/0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x+W946g1VjuV49U1WHUvqtJ4lbGY4FF+UmY0X8l3ORw=; b=jFNacRIrfS0A2eph4kmCbZI27KM/aAOWXRX5CxCwwWsV26W4kUSdtg4c3j8QGqk+8U BefwP5B3Azp/rLSFIRMJDZBRoZaCw+t1jZELHeD/ySWX3hLdO4vYBp0ADWk5O1Ti/eLW ju+fbPwWESC3byRQWe92YsXqgqaU4GrhAKCZzYFA5fV7Bn7udvoZ+yicB+IkKvRdKy3T Xi1r+mNup6qOnFvxmhb9uVpe9pqXSNiEz9yz2h6NsUudIF042+VwOvQbOTaNcxLDGC9t oINzGlG6MOF482cDIV6c5Ezd2ajt6b+ZAMz9JiAcxxKq4T4YsqrkT+4Yxu+2OqEAK/FG jZ4A== X-Gm-Message-State: AOAM530n2WNsMgLtFdxdU8lNRoPZXIRbWkhCC05zh3cUvLcvRFfWNFog 919XItm1oFoQJU00AHF0mD5/l6+JQtzmOObuySE= X-Google-Smtp-Source: ABdhPJxD2o7DnfhLFJIkBzY9IVE40qfFxj15tnYXSqWOTpo2UKO4q9FwJX+gjRENM2yOLcHIML9Bq8d4O4fpl4Kh70M= X-Received: by 2002:a2e:8e8f:: with SMTP id z15mr29531589ljk.121.1629899453864; Wed, 25 Aug 2021 06:50:53 -0700 (PDT) MIME-Version: 1.0 References: <20210825132255.67631-1-oleksandr.suvorov@foundries.io> In-Reply-To: <20210825132255.67631-1-oleksandr.suvorov@foundries.io> From: Fabio Estevam Date: Wed, 25 Aug 2021 10:50:42 -0300 Message-ID: Subject: Re: [PATCH] board: ea: mx7ulp_com: allocate specific region of memory to OP-TEE To: Oleksandr Suvorov Cc: U-Boot-Denx , Ricardo Salveti , Simon Glass Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi Oleksandr, On Wed, Aug 25, 2021 at 10:37 AM Oleksandr Suvorov wrote: > > From: Ricardo Salveti > > On the iMX7ULP uCOM board, OP-TEE uses the memory region defined by the > maximum DRAM address minus CONFIG_OPTEE_TZDRAM_SIZE, so subtract > CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size to avoid > conflicts. > > Note the OPTEE boot process itself subtracts the DRAM region it > lives in from the memory map passed to Linux. > > Signed-off-by: Ricardo Salveti You missed adding your own Signed-off-by here. With this fixed: Reviewed-by: Fabio Estevam