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=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 370F7C433F5 for ; Thu, 2 Sep 2021 22:43:02 +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 B1F3D6023F for ; Thu, 2 Sep 2021 22:43:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B1F3D6023F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.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 37F6D834E6; Fri, 3 Sep 2021 00:42:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="YpkG/ccE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A8E17834DE; Fri, 3 Sep 2021 00:42:08 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 57EEF834DF for ; Fri, 3 Sep 2021 00:42:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x729.google.com with SMTP id t4so3954274qkb.9 for ; Thu, 02 Sep 2021 15:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8NXr/1mhbiekA/1uzlBJzpOpTGQYGCSksEY9y+TMziM=; b=YpkG/ccEI1mnt9O6cgsaYJiEb1Zg5kudDFL3qohzzqIA5IVO8dJ6F+WSF/oUTL9yvu dOqp49EHci2OHcco8BBHV5/8sPBazI0P0q6H2urfhPVEOfu5zv0vsxDK9bAFDFQLAf6L YXlDs5Nb/8scXqHw72QiSPGRiEmeO0ip4lSTg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8NXr/1mhbiekA/1uzlBJzpOpTGQYGCSksEY9y+TMziM=; b=rnNipxRmcQNGowTxZZOhODvpnPYN34tsB2ufxqawzeRBofqmdIMDn9J4N+6B61E1ey zHzw3juet4Re6ruc0uD1Mvk1rAHwzI5ZPAb13nkXWenNBHFUvEisfFV3NIkGoadNUxjz t0mDBOnc70uPFHzrNKmrnkLbommVwXhGR4SfJldWNKFoqJPhToE8CObLLeEWKyP1hax5 lSfffDZn/3l/5yKDGEcgDaiTOnCXT1sFY5fRRRlPYB8/LWA4XMVK52ssYLOXTk/1NxcY Ye0H+OWkizEDdYHH8TzyFk2QJhdrDdlX8+iG4zAfkoiiWPBrk+tPoIH8DVLbQzVdZAyl 6q8Q== X-Gm-Message-State: AOAM5316AegHXZ4yru/Ja18kMeNr0k2u30KPcu+v8871PLBX5TcguhwJ lEVDwPvuGGNZd7Ppw3yUs6Xh3g== X-Google-Smtp-Source: ABdhPJwDh1F+8WlSCrlSmeBsvoznUyPvXJUw9GQfapNVta78hmnqFm5k7VdhfsD8BjNE7KPIrZpDaQ== X-Received: by 2002:a05:620a:1536:: with SMTP id n22mr470798qkk.334.1630622519198; Thu, 02 Sep 2021 15:41:59 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-95b1-4c42-35f4-d991.res6.spectrum.com. [2603:6081:7b01:cbda:95b1:4c42:35f4:d991]) by smtp.gmail.com with ESMTPSA id h13sm2459704qkk.67.2021.09.02.15.41.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Sep 2021 15:41:58 -0700 (PDT) Date: Thu, 2 Sep 2021 18:41:56 -0400 From: Tom Rini To: Peter Hoyes Cc: u-boot@lists.denx.de, patrick.delaunay@foss.st.com, sjg@chromium.org, andre.przywara@arm.com, diego.sueiro@arm.com Subject: Re: [PATCH v2 3/6] armv8: Add ARMv8 MPU configuration logic Message-ID: <20210902224156.GV858@bill-the-cat> References: <20210819155314.1787973-1-peter.hoyes@arm.com> <20210819155314.1787973-4-peter.hoyes@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="smTUTGIcs6bf80Qf" Content-Disposition: inline In-Reply-To: <20210819155314.1787973-4-peter.hoyes@arm.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.9.4 (2018-02-28) 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 --smTUTGIcs6bf80Qf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 19, 2021 at 04:53:11PM +0100, Peter Hoyes wrote: > From: Peter Hoyes >=20 > Armv8r64 is the first Armv8 platform that only has a PMSA at the > current exception level. The architecture supplement for Armv8r64 > describes new fields in ID_AA64MMFR0_EL1 which can be used to detect > whether a VMSA or PMSA is present. These fields are RES0 on Armv8a. >=20 > Add logic to read these fields and, for the protection of the memory > used by U-Boot, initialize the MPU instead of the MMU during init, then > clear the MPU regions before transition to the next stage. >=20 > Provide a default (blank) MPU memory map, which can be overridden by > board configurations. >=20 > Signed-off-by: Peter Hoyes Applied to u-boot/next, thanks! --=20 Tom --smTUTGIcs6bf80Qf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmExUzQACgkQFHw5/5Y0 tyxnjAv/UDIOkQAj6K+yXxgALKRA7mdTNDwFO/6g5PltaxdNLgfMMyXfBHmNZPIs bZIa2pstOh71yYxtDdD8uRuI7ZQm+TOz3vzQJxDnY0+hPwdWpenQeJ4IQdrYw8Pi oUdfg234/M5kVvMBGjjb6VsC2NNF56KD+vEKgbc8iwree6aoGXH0lxRB9pSR2DNw AoqfPUIfrpqyC1fu4NgfQvvyhKGJnNLBDQPRoqXViEWlQ4whzngeSZQhgH9wMT77 zJVf1gjfoN1oV777fTsdCluQ9JDAzlvbTad7UVDKwA3V6mLcYKuc95IfGV+CpwEe c3LcyCtgI63A+P2K0NexwsaZpAJiyFESOwENi25VrONvs2KmvtEr1obxq4MGabti YwFUJDF7E7ECY6n4HF/m51aBfOLsKz5x0Ir1SgYv1Hzdwju6ocyssLfP/7qBcj6k 0q0gcxygjARMbBfpS/rn/Fg+D1I538yT2PnefpwicB+bCAOQxih0DfXiggsnF1bj pwb9qLe+ =z7tr -----END PGP SIGNATURE----- --smTUTGIcs6bf80Qf--