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.5 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,URIBL_BLOCKED,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 692A1C07E99 for ; Sat, 10 Jul 2021 01:08:17 +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 8257F613BF for ; Sat, 10 Jul 2021 01:08:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8257F613BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6C53F83202; Sat, 10 Jul 2021 03:08:14 +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="JVl/zNFw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 58DEE83270; Sat, 10 Jul 2021 03:08:12 +0200 (CEST) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 5AE2C80C84 for ; Sat, 10 Jul 2021 03:08:09 +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-xf36.google.com with SMTP id i11so1516501qvv.12 for ; Fri, 09 Jul 2021 18:08:09 -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=XzXMXtg8meVauI4oQ3f5JWH0M9V5iIFafnRn/ufSHhk=; b=JVl/zNFw8zhkVWUtvC4/aoKUNb1Xc/tMoJfdc0DLp+sF8kojSTKBhDCJk7DRrRrbJt GwAyDcFQj+h+8p26dNP65zUhWYON8UK5A4JY1nttP+iJMFDgPEwxCgGLnseu7yvf0jDT eOmtbYmYi8hJFDDZWsWVT8BfI/z8R3zumX/rw= 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=XzXMXtg8meVauI4oQ3f5JWH0M9V5iIFafnRn/ufSHhk=; b=cEqmK1keZSqT4n41FSlvmqaJ8llmttvEH/8O389xw0zWsa4nH2EGLTr8cs07en4C+H RxhVUru0qfzARMkSMtDKdKambE1m3QJso1Gp/yY3TYdMHpVntUDyS5TW4e7cLyYFTceC UrFxYLNbFatTyGdMrBuyaIro2o1iKTuOU7xCNK75a5cGDLSm5iwfKsm/g6L6Zb0Ut5gp XjgYdsvacQwhNMhjq9Oeemx56x5O/rkOkSjwEfW0tTwQoDW1d23LLhTvr/k26mDmj1cL MkO+ayQYygIekGAkO7+3tToNua5lrQ8wBH6JE8Pm1ptx6EkXWBwAVv275fXj1kXzuS+t WpQA== X-Gm-Message-State: AOAM530KmNyFxdgUx4CtQaxBYL4ORch6AfyJD/b19jYcKTd6ARjVcFWF iqFERe7Mqog4d4wjtSlpf0Momw== X-Google-Smtp-Source: ABdhPJzHsyK/m3/vDjzvEqzZC034cPJy4pkLBBRqNw2htQ8X11oQfLtz8qWFadDdeuA9ubhd7eSqxg== X-Received: by 2002:a0c:cb8f:: with SMTP id p15mr39788992qvk.13.1625879287939; Fri, 09 Jul 2021 18:08:07 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-a5c2-d52d-ba41-be23.res6.spectrum.com. [2603:6081:7b01:cbda:a5c2:d52d:ba41:be23]) by smtp.gmail.com with ESMTPSA id y3sm3157250qkf.2.2021.07.09.18.08.06 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Jul 2021 18:08:07 -0700 (PDT) Date: Fri, 9 Jul 2021 21:08:05 -0400 From: Tom Rini To: Mark Kettenis Cc: u-boot@lists.denx.de, maz@kernel.org, Stephen Warren , Michal Simek , Andre Przywara , "Edgar E. Iglesias" , Volodymyr Babchuk Subject: Re: [PATCH v4] armv8: Handle EL2 Host mode Message-ID: <20210710010805.GK9516@bill-the-cat> References: <20210210191456.25644-1-kettenis@openbsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VmmD168TT3xqMRtm" Content-Disposition: inline In-Reply-To: <20210210191456.25644-1-kettenis@openbsd.org> 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 --VmmD168TT3xqMRtm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 10, 2021 at 08:14:55PM +0100, Mark Kettenis wrote: > On implementations that support VHE, the layout of the CPTR_EL2 > register depends on whether HCR_EL2.E2H is set. If the bit is > set, CPTR_EL2 uses the same layout as CPACR_EL1 and can in fact > be accessed through that register. In that case, jump to the > EL1 code to enable access to the FP/SIMD registers. This allows > U-Boot to run on systems that pass control to U-Boot in EL2 with > EL2 Host mode enabled such as machines using Apple's M1 SoC. >=20 > Signed-off-by: Mark Kettenis > Acked-by: Marc Zyngier Applied to u-boot/master, thanks! --=20 Tom --VmmD168TT3xqMRtm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDo8u8ACgkQFHw5/5Y0 tyxHGwv9EOt7p2wnh+r+5Z9FGv2cWIeeZJiuSIUs4OYwpwy/8CFDnYTjlZ+I9okp rdCA+mJBpjwg/Y/6Q378XIm6DtY3dq9J2xgJ7tt9gEZ3iBYlQSFMgUIVDMsUcKKJ VzCCfN+esFYtdB1KNXf7wxIVyh52qsyd40Wr0WU7r/+uT4xyZyEBaKcq8QJni4jf SQAINGmNdj8ZmNmBuEvsgboSlid8fG5d5G/5hzh2XhhGgrjIjz3DXpOUjHO1CZFu hT8ui0/2+4RB5VfMvcGA75wOuvsQhnJCtnhi5Jn+AXSNd8i5d4tHT6xcF60pjdi3 WEW4EYLWPBD0/pG93N66SDawklASieLP+O14RhqbmjOuEsyTtfNnCJEiILrasKNa gpvdD948INf001HDDmwGdbf/n3oCZVGRdD/TOGkeDGDFOrOD+n9zK65DUrjM5Ol0 FiS9fGrnsjftgtIUOMmUpJKo4L1mNz6Or4hhYKndx4NjkkQPQZcx/l+2upVVjDLn 3UGf8IUB =FlYt -----END PGP SIGNATURE----- --VmmD168TT3xqMRtm--