From patchwork Thu Feb 16 03:08:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 654001 Delivered-To: patch@linaro.org Received: by 2002:adf:f90f:0:0:0:0:0 with SMTP id b15csp123635wrr; Wed, 15 Feb 2023 19:11:25 -0800 (PST) X-Google-Smtp-Source: AK7set8wrXPttwBAsXNt2fxrSOBLWK7X8HAdiwq6Ek93D8g5/nvuxpuHjvNiE67uNhYI4lo35W6r X-Received: by 2002:a05:6214:f08:b0:53c:14c0:213d with SMTP id gw8-20020a0562140f0800b0053c14c0213dmr9205164qvb.27.1676517085763; Wed, 15 Feb 2023 19:11:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676517085; cv=none; d=google.com; s=arc-20160816; b=PrT9XQdFrNQ6fCIB8uI0ds5TFr4FIsTUe5lBPsoVkjNs5gaJdkdm9FjxlEXXnVGZRa xT4A0h0PXvUhFP522yf/aAS6hupJt4dsCL6HOCNk6JzRPTJ0RE5tAYFnxSr+jSupl+jO hR14TtvswrpoL3+2lTBZcrjU6yPhZ4fMhIf2i0wHRdkqsxXvJnAeLYEXsWDJ89mGXm/l RmGbeoATrmfh1OnUGFiYUZzLDNctQd5CFg3zf22AYisIVQiFd7gqA/8wsRg1zEJUKfQP sXPSGuDpnLj/tRZxZ1IxzTiEsld7nBf+Far4B033QgBHG6mRlM3ptySXNbnS+t5Q8t9O 6IKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=8oTGtji2gFH3RPMGsbULntVwagtctLLdB2UDLnFD4qU=; b=mfm42iPW7Pwpq2GlAi4MLAODQTfVjm/mtGYVu06A64G48T41bPDEqotDFACSuJhCYl X9FQFQ1TYps6UAqEuawTFue/2IhYDAZhEq6iWj5rYFPF31L3kQUM5vCd1uZlhSoFxnkM xYi1RdwpfMlKyczgkEDc33YG/RPhXD/gPklHeJdP5l1POAIVp/x+qbksgj6P/onnJFLd sKHGdTsiXCvnjGwCCQkivGvU+g1P60d8wdpTtkY4LLcUBo9IlXb2mc3Y7G4Tj01UaQdK 1GK4goYGkPQOAhShs/Gmy8CxnofbIwBPAkwe/DISENPI5wlPqXa1IrUT0Fzk/0YzHGaf dg/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="fu/XE7oz"; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id de8-20020a05620a370800b007242a1945a8si406094qkb.693.2023.02.15.19.11.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Feb 2023 19:11:25 -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=pass header.i=@linaro.org header.s=google header.b="fu/XE7oz"; 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 ) id 1pSUeM-0007YI-CH; Wed, 15 Feb 2023 22:09:34 -0500 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 ) id 1pSUeJ-0007X0-Sp for qemu-devel@nongnu.org; Wed, 15 Feb 2023 22:09:31 -0500 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSUeE-0000Br-MP for qemu-devel@nongnu.org; Wed, 15 Feb 2023 22:09:31 -0500 Received: by mail-pf1-x436.google.com with SMTP id bd35so594336pfb.6 for ; Wed, 15 Feb 2023 19:09:26 -0800 (PST) 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:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8oTGtji2gFH3RPMGsbULntVwagtctLLdB2UDLnFD4qU=; b=fu/XE7ozh1m1IF2AGnAXm0CwKpYNz7sPFNk1V0BruBVbN3LJzSdHq76glFoyMrsOKH TwkFwrFMNLmmnJM9hO+dpUF7++HucE3R6umH9cod8Gbqhb4IQAqtWggFo4sBptIXCKrm EE8X93ldJkOhMeU12AWfqZkj5T+RpioZChdPIfUuCDUITd7hXogsRTQfmcixyEXILANm lmR/zOEa00K8k/B6h3INQ3KaVyrTGDxrA67P9+vGDvYJnXrAUu9VjM03lxEIh3jDY4xd Fz7//jBnuQk6EzT5HftQtRtRq6tSxAm7F/PPcTgMLaMiSyMw95RKbChLIImNmmCNGhcH M8Pg== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8oTGtji2gFH3RPMGsbULntVwagtctLLdB2UDLnFD4qU=; b=6eEaBGkseg8cGrFM9vjNPqA3tE+vUF6ajMuqPgJFEgFjTmle/EQ92N7dGrZDJyHw+y rzFuDFi6h/ey2Fw2Ypfaot2sQpSP7wlo67ZJgnaAlink7f82U2rqKiy6x5dnJ0br0k85 eyZH50awVpYC79IGFUrui1Nn5NN9dHZIIM/y2RumLJVhDzCEbzvN/IBroVO7Sx9kelLh lqEZ6MkrtcUeYG1Mzw54AWK+HzfQyNiT2l/Dwf1VvCXwMypb8lSuVK5bun8dr+rJFPEA 0XLSrvzxDj/2YyARXNCx1bXUDvUHKvJOs5euSBh3Ca7XoLxbTHDDwXtXp+jogyO0evdl JGSA== X-Gm-Message-State: AO0yUKVrB39QGpw+svNkArWQHtd2v7s8qWdlSF7v1Fio2tnIGWS7sgVk 3lOwUnev2pKo6Tdy0TAg55+EG2hEjW/PZp5KKMc= X-Received: by 2002:aa7:9402:0:b0:5a8:bf60:fa57 with SMTP id x2-20020aa79402000000b005a8bf60fa57mr3196974pfo.4.1676516965844; Wed, 15 Feb 2023 19:09:25 -0800 (PST) Received: from stoup.. (rrcs-74-87-59-234.west.biz.rr.com. [74.87.59.234]) by smtp.gmail.com with ESMTPSA id i25-20020aa79099000000b005810a54fdefsm79051pfa.114.2023.02.15.19.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 19:09:25 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH v1 19/19] target/arm: Enable FEAT_LSE2 for -cpu max Date: Wed, 15 Feb 2023 17:08:54 -1000 Message-Id: <20230216030854.1212208-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230216030854.1212208-1-richard.henderson@linaro.org> References: <20230216030854.1212208-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x436.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- docs/system/arm/emulation.rst | 1 + target/arm/cpu64.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/system/arm/emulation.rst b/docs/system/arm/emulation.rst index 2062d71261..a97e05e746 100644 --- a/docs/system/arm/emulation.rst +++ b/docs/system/arm/emulation.rst @@ -50,6 +50,7 @@ the following architecture extensions: - FEAT_LRCPC (Load-acquire RCpc instructions) - FEAT_LRCPC2 (Load-acquire RCpc instructions v2) - FEAT_LSE (Large System Extensions) +- FEAT_LSE2 (Large System Extensions v2) - FEAT_LVA (Large Virtual Address space) - FEAT_MTE (Memory Tagging Extension) - FEAT_MTE2 (Memory Tagging Extension) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 4066950da1..ab91b579bc 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -1245,6 +1245,7 @@ static void aarch64_max_initfn(Object *obj) t = FIELD_DP64(t, ID_AA64MMFR2, IESB, 1); /* FEAT_IESB */ t = FIELD_DP64(t, ID_AA64MMFR2, VARANGE, 1); /* FEAT_LVA */ t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* FEAT_TTST */ + t = FIELD_DP64(t, ID_AA64MMFR2, AT, 1); /* FEAT_LSE2 */ t = FIELD_DP64(t, ID_AA64MMFR2, IDS, 1); /* FEAT_IDST */ t = FIELD_DP64(t, ID_AA64MMFR2, FWB, 1); /* FEAT_S2FWB */ t = FIELD_DP64(t, ID_AA64MMFR2, TTL, 1); /* FEAT_TTL */