Message ID | 20221104113515.2278508-2-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 2b39abb2d6ed022c62eba2d124432d91c52a9d22 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp168183pvb; Fri, 4 Nov 2022 04:36:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7BnauJvLsFo+NvXkQvH66CrCkfDbJlV+xHf8nBBqzZIJUmQYJ4OBQbBkSLIMHsF0uXX4p9 X-Received: by 2002:a05:620a:128c:b0:6fa:2043:c55d with SMTP id w12-20020a05620a128c00b006fa2043c55dmr22269541qki.34.1667561787633; Fri, 04 Nov 2022 04:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667561787; cv=none; d=google.com; s=arc-20160816; b=w+UKmCc3kpxENnU1CO6KDXtCklFgXTeCpXxnXWImhJaWFvIIlC1tr9wHRZtJ+a8EF3 a6nxr26YihGEJESgVHtlcHemXeSiRHiWVmM/5Ya97cZJ71DxxJot5p57/Hg5Rb8kWfdG mul0jmxYZrM1oVQEMX3jfjJUdPitWUpb/hb+E3Gx6W33IskpLRoXw/YvSE/HGfi2D5Dp 1FsJLcO4IkT6pqcsO3tsO23tAazrDu2QBAh74TotQLb89jC+B5Ty8GTIp+PkTs6MZSU+ 81kIhs3aAyu8XIcG5NOcyJ5w6FERlKQCqr1FUmtQrCXDYJYHJHOV8A/gPZnJLa5+dXQq cCOg== 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=nHWSJ+DS7zWi4CyAI29TJeB0bJ7NNMFTP3CfxToiYuk=; b=ROTmXz5piLbK9wNn5vCO5bj103XBYR7Fr1OnLPcbW2ISIXdSTkF3FH4rGR3+wyKe0e tUmudTNczdz3TgFWDNBXX05lkK8EGC3MR2W7qvx4ugNJBCvcy/ItkG9F05ubrSNfF9JB VWIyF0kEYyDiRH/9ERjjtiyN+/7cf+kejrAFcbdXnUPSOifMyX/TOD9Ero66QjMu/cLt EEZlUC/JJKU49PvsqMMkCxmJtwIEELy/LVnR3yH1f958oE0xYPNutbb+fvZGhnpCxvYI 7uLGmcOJjVDOH3o42uGICQJ5DsWtikszEjLTvUcbRtccqV6EIiC0fmWaCjq3VHB2mrth jwAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jDlzL+hr; 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 r13-20020ac867cd000000b003a4fedfbbb1si2391213qtp.253.2022.11.04.04.36.27 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Nov 2022 04:36:27 -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=jDlzL+hr; 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 1oquyr-0001A8-Iv; Fri, 04 Nov 2022 07:35:25 -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 1oquyp-00018q-PO for qemu-devel@nongnu.org; Fri, 04 Nov 2022 07:35:23 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) 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 1oquym-00084y-Vy for qemu-devel@nongnu.org; Fri, 04 Nov 2022 07:35:23 -0400 Received: by mail-wm1-x336.google.com with SMTP id o30so2862781wms.2 for <qemu-devel@nongnu.org>; Fri, 04 Nov 2022 04:35:20 -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=nHWSJ+DS7zWi4CyAI29TJeB0bJ7NNMFTP3CfxToiYuk=; b=jDlzL+hr4/8FeN+SSwQdFCjCO/yzF9FDEwRxWBVrGnsNA8l70VtCjHwJH5WWlL3gFn A/PIVllWV+CYAza9um2JHZJCPeXnw/eH/UuaynhjDEV7xnC/GG8x+77c89yEBWkNoplO QejDHSHnH47ZvkZUj8fRcbPZDJbotu+bSSYbbMLUQPiCL3CMiUwIEuoTJCwGurAKGGgw AC7PpJpGJ0DLDh4qseZWvo29umuhT1hLbkRubAHvrW4w27LkGqNr1ZiUaix8UbfTqmDB d+aCpaPdsPfO96e4fJjdthnVcsWehuH0laNZDo3QzqZJVVo6LTjwVxml5mBPTqsC9Jno P1ng== 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=nHWSJ+DS7zWi4CyAI29TJeB0bJ7NNMFTP3CfxToiYuk=; b=Hl0TPUg0W0PYJqFekA04x6RlyJ2l19ZAghnQdbGeGe8M6ugJwpcF7RgrOLZjcwdGfM AyoCOaV9QVWEJQeX7phnBzsbOdSXbs/sjJTJOgdkcJ5OGc1oKRRCiy/tukJMIgzEwJze Q3LmUSuknKICqhhU47G8sBwEh28uvPTW+4BKe+MH6PNQB8qNXSuhWKmJeAvlUmgddaoh 3kE+yKsAML43hcj5vI3d6LfjnaN5IRI5CI2NSuXks17ViL7WKc9XKtJuFvHFTEfoIhPh ttoal7xeTe4deE7iIGOWJvYrIa2uP7gh8yzqY2c+z1luWLUOKjbGHCwrLZrqfVt4OKzm j7qQ== X-Gm-Message-State: ACrzQf3Yx/rFK1frXt5Ns4lnXRw+6I5U3NetpCKpPDoieudYvtm43EXn QfgxAw1Ms2DevVAPVrzucfybIPbKN23c4w== X-Received: by 2002:a05:600c:18a3:b0:3cf:8df1:ce6e with SMTP id x35-20020a05600c18a300b003cf8df1ce6emr5735723wmp.5.1667561719384; Fri, 04 Nov 2022 04:35:19 -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.18 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 04:35:18 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 1/7] hw/arm/boot: Set SME and SVE EL3 vector lengths when booting kernel Date: Fri, 4 Nov 2022 11:35:09 +0000 Message-Id: <20221104113515.2278508-2-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::336; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x336.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 b106f314685..17d38260faf 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -764,10 +764,12 @@ static void do_cpu_reset(void *opaque) } if (cpu_isar_feature(aa64_sve, cpu)) { env->cp15.cptr_el[3] |= R_CPTR_EL3_EZ_MASK; + env->vfp.zcr_el[3] = 0xf; } if (cpu_isar_feature(aa64_sme, cpu)) { env->cp15.cptr_el[3] |= R_CPTR_EL3_ESM_MASK; env->cp15.scr_el3 |= SCR_ENTP2; + env->vfp.smcr_el[3] = 0xf; } /* AArch64 kernels never boot in secure mode */ assert(!info->secure_boot);