Message ID | 20221104113515.2278508-3-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | d7ef5e16a17c7dd068420c79fa9e893f15b4abaf |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp168711pvb; Fri, 4 Nov 2022 04:37:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Cps65DolhthDuCDSGYL5Be1KYuUTSI3abZwLjyi0TdMyC/ALm78Bissmq5xiewar2lA4k X-Received: by 2002:ac8:670d:0:b0:3a5:272d:c9ad with SMTP id e13-20020ac8670d000000b003a5272dc9admr21609131qtp.406.1667561840948; Fri, 04 Nov 2022 04:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667561840; cv=none; d=google.com; s=arc-20160816; b=FwnKFi0aCHgysBt6J73XPRVhxpDschhcOzmwf46oJuDSS9DaCqfyEXubghQljHpR/R Czw1I7scGkHkDo6PA30V2YdivqorRycP4SspFKqdY0MXTUPRemqrIhtMjfErwEv0ejO9 KoR/egSr5uznthhyyn43bmqV/7GCNeEaMwZRE4PYiEiOzJRiNGs9oS4Wf9QAXdPGOqtR Kw1KZdEPXgxOtWNtrW2ilEMZCOQNaYIndr0USLiJqrNsqqqqxEi3zpI9VR6MiadmJsSi vgiMNLv6etFWKKsxWiEAencseCpc+Ob+afHxmo8hjDGnE5waFC8W3TB6LG3aXXPosb+2 UUBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ZILEcs7gVrun3BhktEfyfWSQRQlvBxIa2XjRbb6boco=; b=qfSpOHPm+Re2+kqm77RLq2DtmFFIHd6727yf4X4kMXwXCg8g3OfNDmK/vyRMJp7ucz TR3X98HJiBv35PmzgV/4E+kIzU4prNHD7kciyeSA9VjTDXXcm62Ln83CmjUwI0k8H2Kv Qi7gFtkx20FLMiuQYdgeS6/zj/wP2DrVnvJ3Bb8lCYfTBFpELPZU0AShBnR2XgWB7FC1 jXqFvLj4ff1kIp2oDUa74GNDQdD9Y9iGJDRgLlYlliE6nv7pcyAt8uFYxriwJm7+VcMp knAM9T8D1dOinKuep9IrYWx+OWgwaXOnT2ysVqFdzz8f+S8dqdedVgb4blXXrVRqx4XE 0aIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iD3fAoPT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gy8-20020a056214242800b004b3eb2e899bsi2270400qvb.341.2022.11.04.04.37.20 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Nov 2022 04:37:20 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iD3fAoPT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1oquys-0001BN-8t; Fri, 04 Nov 2022 07:35:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1oquyq-00019j-QN for qemu-devel@nongnu.org; Fri, 04 Nov 2022 07:35:24 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1oquyn-000853-V6 for qemu-devel@nongnu.org; Fri, 04 Nov 2022 07:35:24 -0400 Received: by mail-wm1-x32a.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso5219255wme.5 for <qemu-devel@nongnu.org>; Fri, 04 Nov 2022 04:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZILEcs7gVrun3BhktEfyfWSQRQlvBxIa2XjRbb6boco=; b=iD3fAoPTGLh3TphSZZzBhNHW3zz8BkXFBr6bVIHYeERsPs8gyJ59y4vZHcWsYlDGml LMidq15o7khNMGznCtKGQnW8jPSntoiJx02Wk/m82G9bF0doKmXIPvmhoKjfyNY34k/9 FpQ9r8vAw7+kIfvqWL6QZUr0Xku90GDwtuONEjRAssYXiAPjd41eFZJ8EU8y3psDrDA8 YYUT3FKE9XZ8ziqHZwFHwZRY5uee5Pe4EP8EgJfXJ5ide9+85KVn/oQ+ao/wdXsbl7B5 AumouZBD467AlkQNv986/LOvbVcZorhy9NtS+9SkVsv64qPa7W3vy7Imyn57/rZEvRcL 3z/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZILEcs7gVrun3BhktEfyfWSQRQlvBxIa2XjRbb6boco=; b=U3QgwwoXTFSYIpfHxJbbjzyWdjKNTEJhUQqrmX6M+4yeZGUYlUQWgqyilDsZWWSCXy /MRLL2azXR/067Uczx+8Vq7kUS8dbGGubIwlBJ/4ESgNy/tqvMrfEy3I4qD8GVNayvb+ SqyOgtvw6ww9rB9g3WDKrcQsYJm7o/IDZNMRgz7tdUEulWZ8oExA1KR95VipWbdJpDYo 9pzFs/6b0CXORwtk/cHWKuRF1TRDedZvgTARArwPz3RGVxWpbJzmcgFe0NVeMvtUNVPX Qo9teKPJaMqsK0GfN6EJrEhXuW446q78T52qo3DuOMxu0knnVVqXCBcqVcfixIo6hsGg ENoQ== X-Gm-Message-State: ACrzQf2t0CrwJYJZWSnmR/jDpRm71qHRms08/nsEuaartbIySVqobrfo gH7XDQXqQqqotwSBqMcmNEN2jK1859gUeQ== X-Received: by 2002:a05:600c:1ca1:b0:3cf:7aa1:c682 with SMTP id k33-20020a05600c1ca100b003cf7aa1c682mr15565474wms.135.1667561720352; Fri, 04 Nov 2022 04:35:20 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id g17-20020a5d4891000000b0023655e51c33sm3255743wrq.4.2022.11.04.04.35.19 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 04:35:19 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 2/7] hw/arm/boot: Set SCR_EL3.HXEn when booting kernel Date: Fri, 4 Nov 2022 11:35:10 +0000 Message-Id: <20221104113515.2278508-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221104113515.2278508-1-peter.maydell@linaro.org> References: <20221104113515.2278508-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Sender: "Qemu-devel" <qemu-devel-bounces@nongnu.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,1/7] hw/arm/boot: Set SME and SVE EL3 vector lengths when booting kernel
|
expand
|
diff --git a/hw/arm/boot.c b/hw/arm/boot.c index 17d38260faf..15c2bf1867f 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -771,6 +771,9 @@ static void do_cpu_reset(void *opaque) env->cp15.scr_el3 |= SCR_ENTP2; env->vfp.smcr_el[3] = 0xf; } + if (cpu_isar_feature(aa64_hcx, cpu)) { + env->cp15.scr_el3 |= SCR_HXEN; + } /* AArch64 kernels never boot in secure mode */ assert(!info->secure_boot); /* This hook is only supported for AArch32 currently: