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=-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 9D300C433FE for ; Thu, 2 Sep 2021 22:42:49 +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 2395E600EF for ; Thu, 2 Sep 2021 22:42:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2395E600EF 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 B0D65834FF; Fri, 3 Sep 2021 00:42:17 +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="M1GJenlt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DC1A2834E9; Fri, 3 Sep 2021 00:42:04 +0200 (CEST) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (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 7758683304 for ; Fri, 3 Sep 2021 00:41:55 +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-qv1-xf31.google.com with SMTP id a5so2175888qvq.0 for ; Thu, 02 Sep 2021 15:41:55 -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=5OaqJl9wGkQjTinLnGKIohGc7rWi4cif/8x7Oelowy4=; b=M1GJenltxafazUEih4arOz5vH/d9WjkH9dBMTqkwzp+Dqjqi/aeiKaRcpsioUeFqF4 rRwJEJWsg7jOCZqdX0eGyKGU17kTPIqsha67gGKh77yLphInPeUa2LDta0WdnmoonmpI ZvHRBX7ruaSlA21sB3q5Uv8boA0aBZLnWt/c8= 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=5OaqJl9wGkQjTinLnGKIohGc7rWi4cif/8x7Oelowy4=; b=NSpdwJfB8n8EnO7V5TypPcrt3GeZyHh5ET+n6MqMHbevSm0RAR+TnWPY7GiniDlcIm rJhZpgqOG0mXTmx261j3BN1Cz5zWC463ewuI1SxFqBV84UkDEPQkTs5IrJ76nUeItVHl /BgbzXmoWCp3ziK8CIgQ2WymnmT6Y6UKiC+zebgKj1auuGSSHnsQUjAa1YD3LFFOH7/D EAzL4slhuyS5xF2kQzT1OT65lcJp0odlFV/WJ+H4UxV10cAQrGwwAqfDngewW/GQexSx zI5RsOZYCRCPsiMzA8G65kQBesvEvwOnL2ZnPtlVCMD7jiQ42LGo/B6A28zAo0v/LgzV PQZw== X-Gm-Message-State: AOAM533slwvQ53JI3b0jJivo0pSLIhoZ5H5+BPRJDL+qlXnvXReX+5ZQ YxcdFABfUo6d/g4fjAXQoyP106zLwBuY7VqS X-Google-Smtp-Source: ABdhPJzBMYpe5Ef0ZgcbK5fuudUSo3TqxjkzguS2Z9YPJnVZQkKp2xIPUkyngeUPpq2ZaqAeXuCsIg== X-Received: by 2002:a0c:8525:: with SMTP id n34mr693539qva.19.1630622514324; Thu, 02 Sep 2021 15:41:54 -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 c28sm2461342qkl.69.2021.09.02.15.41.53 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Sep 2021 15:41:53 -0700 (PDT) Date: Thu, 2 Sep 2021 18:41:51 -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 2/6] armv8: Ensure EL1&0 VMSA is enabled Message-ID: <20210902224151.GU858@bill-the-cat> References: <20210819155314.1787973-1-peter.hoyes@arm.com> <20210819155314.1787973-3-peter.hoyes@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gLMKnG12aOpHYyhC" Content-Disposition: inline In-Reply-To: <20210819155314.1787973-3-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 --gLMKnG12aOpHYyhC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 19, 2021 at 04:53:10PM +0100, Peter Hoyes wrote: > From: Peter Hoyes >=20 > On Armv8-R, the EL1&0 memory system architecture is configurable as a > VMSA or PMSA, and resets to an "architecturally unknown" value. >=20 > Add code to armv8_switch_to_el1_m which detects whether the MSA at > EL1&0 is configurable using the id_aa64mmfr0_el1 register MSA fields. > If it is we must ensure the VMSA is enabled so that a rich OS can boot. >=20 > The MSA and MSA_FRAC fields are described in the Armv8-R architecture > profile supplement (section G1.3.7): > https://developer.arm.com/documentation/ddi0600/latest/ >=20 > Signed-off-by: Peter Hoyes Applied to u-boot/next, thanks! --=20 Tom --gLMKnG12aOpHYyhC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmExUy8ACgkQFHw5/5Y0 tyyU2Av9F7CXatYrOXstcxt6bdSBM8uYwEvv1Xmm/Xdu5//6S1LKlOLhUr/t/3P3 BYH5DYkH/zJcQRA0p5T7x1SgePzGhauQlOHjYzJcGAlArZl37H8kZErwljNRhbu/ XFcpjgJX81iJcD1IErwnI99LLBkixkXTuSWLhvYW2NvPfGXhviwBHl/BmK1qYoSj /Dun+0cgDE743Y/Dz/OfFaOEAWz9ptvPwEsf42d/KvFDxcQaYRLOATknDiVfd0NG wV/M5mzsGGDayLCFXe7msmssRfPko0tR7fn9275K7/YNt2KLJ+JVGOV1tKX+wJsH GJ9DggTHazDndGHxqOWKIweRGxy/6BLR9FqImee1PCIt+e9XwNDe8pSQNzyVRBpc 5dM3CdxXfUx6ZzHZjRXRtiEzqpkNfS/hHT3lGnF32/o5zyUYK9cx+j0Vpx1jO5SM a+tnJtwb8iaOqej3gdiL2HRl54rMuG89hpm7jy4UbwmwcHOQrOeD7nftX2QOBpXo A8d7+7yc =Rw0U -----END PGP SIGNATURE----- --gLMKnG12aOpHYyhC--