Message ID | 20191203022937.1474-37-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp962123ile; Mon, 2 Dec 2019 19:03:34 -0800 (PST) X-Google-Smtp-Source: APXvYqw9viPyGkoU1Fi6hr9lQ/SGDgVaoI+8TCpqlVINNXcT7EP/MS60GNnBNiPdE2uMUt3G31ha X-Received: by 2002:a17:906:1153:: with SMTP id i19mr3487987eja.135.1575342214054; Mon, 02 Dec 2019 19:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575342214; cv=none; d=google.com; s=arc-20160816; b=xs/Iw9Hz5TXk/bJ8lzJAnmwHNasCucqLF1N9LBNWwUXuHpRzPigdTHmoIdtExM+Fqw PGUMtJRWnpezxWjobreghJDZJw/t4KYqUUhVlegHyUeZIFpd7Vrws9xvGZpMaowfHRFe 1zcD0EaSgFHKHpKrkeiTQI5uxgbf2rmHtIfvTV6iipVHK1i1EyguQl0HRphJIRrENko0 YZLSDycFj91CzYzN/++0tVExYuV25i06War9KaX1p0Zr07Vd/EazMrFMoRJ68if+NpmL /UG7+B3VW/llDoGI+z5OVjHFLXCJGyiCEJz6gAx6e1wQP0qVyDBTrFo0d+8IzqXwZHPv wDwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=3c60ktEl3s3vBDW/ij/gteS+EMK9NFSQnhLEWy6Sa+A=; b=HovarihV1xmv7RL1+i+V5KLMkz561CUkroGqhS1LgYl9W+CrlQy4CGPSN8AEKNr8M2 s/3hb92nMrFUKjV/JmplR7ZZiNVhS6t2U4WDStUbvhslD3JX3Lb33qXyJX81pH0q+QPt xWe3VkG3bfCkINMwbuGH5AGVElcRtQ5FJAHBME6v0L8lZthXkgU+FG4/osqD+MuXS+jZ BSPodMjzocnpqSW7vzQ6f1bfWrPK9MkHR4Dh4I4dyOstB6WQ+ZbD1a0jEJDqkxA6+2/6 J7rVw4AkG+FHkP1hOS4ZmIM/zhiklmnPx2hIxp2GztTQLYsw2dwWWMN0VZKdmXnAswb/ H84A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xwJSYtg7; 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=fail (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 w17si1373169edi.85.2019.12.02.19.03.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Dec 2019 19:03:34 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=xwJSYtg7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ibyTM-0001yF-Ux for patch@linaro.org; Mon, 02 Dec 2019 22:03:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33253) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1ibxxM-0003Qv-Hu for qemu-devel@nongnu.org; Mon, 02 Dec 2019 21:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ibxxL-0000GY-1y for qemu-devel@nongnu.org; Mon, 02 Dec 2019 21:30:28 -0500 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:45826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ibxxK-0000Cv-IA for qemu-devel@nongnu.org; Mon, 02 Dec 2019 21:30:26 -0500 Received: by mail-pl1-x641.google.com with SMTP id w7so992214plz.12 for <qemu-devel@nongnu.org>; Mon, 02 Dec 2019 18:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3c60ktEl3s3vBDW/ij/gteS+EMK9NFSQnhLEWy6Sa+A=; b=xwJSYtg7ghWqJkUl99jAmmryJoYfdZDMdlUz/3qeJx0rvBwCJIezVRtf3TAhcE5grw byA75eLZqwV4RJoybbrMHvt0jw4QyjDuFTHnwQxe3yAgJtcvTtImif/vKXrc2bmuldi2 DXJkC1yIvdoA/TmWte8yvREsLr2FoH1F9+Mt8KLKHp36qti8WD3zPhQhxOM6EAQ46tGy gs6S3LCrCyDn8ofw6XP/RixLXmoQS7J09SufysSjYOLei1gm4v2sNvFRmAY31ZfHQTYo V5ZKMKN96KFH/yGcaKEAkL+GWC6xFH5MpFzh5mnY84QNG/jSbtUYeqty6txAPM+K6hqI k4vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3c60ktEl3s3vBDW/ij/gteS+EMK9NFSQnhLEWy6Sa+A=; b=jv5BECKcrYtiuT46FFqwlBR5kNsP7vp6GIQBke5nLR3fn0TGIOPx73atcGE0II5PDs wUqbTpS0WcT07x3pmPb6RwuO7CaxV6pQ3gacy56gPadco+sNUJNVfTjB41TYyxt/uUsI ByQ5ONcYGaVzL3SzQ8igmE37hSjkJG3SDFpaZO8mdCQGxS2hMZMxtnWtNedaCvFs+vjq MMlqQ8VmFWu4+1DANMVJ1ZqZo6yScyNdyw3WFBGP9QfsGXQlrDT45ldaUFcbydPRK9HB glfxmiolDxu6j3BQvulY1yiuzBJVCic+RYv/jLcDAEUtQHRkiOHLrmWdn526GdRZBlf5 KaDA== X-Gm-Message-State: APjAAAUm9ZYvI3b1icMJ/v42qTFK2WkN3BWaIknLz+WrbXAgZSB4wwWq 1r/gsU5Mu5sy6j/wZSwesAiAV2kJYEI= X-Received: by 2002:a17:90a:ff04:: with SMTP id ce4mr2849310pjb.133.1575340225196; Mon, 02 Dec 2019 18:30:25 -0800 (PST) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id q22sm873695pfg.170.2019.12.02.18.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 18:30:24 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v4 36/40] target/arm: Enable ARMv8.1-VHE in -cpu max Date: Mon, 2 Dec 2019 18:29:33 -0800 Message-Id: <20191203022937.1474-37-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191203022937.1474-1-richard.henderson@linaro.org> References: <20191203022937.1474-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::641 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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> Cc: peter.maydell@linaro.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Implement ARMv8.1-VHE
|
expand
|
On Tue, 3 Dec 2019 at 02:30, Richard Henderson <richard.henderson@linaro.org> wrote: > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/arm/cpu64.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c > index a39d6fcea3..009411813f 100644 > --- a/target/arm/cpu64.c > +++ b/target/arm/cpu64.c > @@ -670,6 +670,7 @@ static void aarch64_max_initfn(Object *obj) > t = cpu->isar.id_aa64mmfr1; > t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */ > t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1); > + t = FIELD_DP64(t, ID_AA64MMFR1, VH, 1); > cpu->isar.id_aa64mmfr1 = t; > > /* Replicate the same data to the 32-bit id registers. */ > -- > 2.17.1 Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index a39d6fcea3..009411813f 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -670,6 +670,7 @@ static void aarch64_max_initfn(Object *obj) t = cpu->isar.id_aa64mmfr1; t = FIELD_DP64(t, ID_AA64MMFR1, HPDS, 1); /* HPD */ t = FIELD_DP64(t, ID_AA64MMFR1, LO, 1); + t = FIELD_DP64(t, ID_AA64MMFR1, VH, 1); cpu->isar.id_aa64mmfr1 = t; /* Replicate the same data to the 32-bit id registers. */
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/cpu64.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1