From patchwork Thu May 5 18:50:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 569974 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:66c4:0:0:0:0 with SMTP id x4csp1089279mal; Thu, 5 May 2022 12:35:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylHFOSQRlS0dwBIO8zgM9mwe2vygeXPOyvCKLb8EacxLqL8jHhPJMLn430UIrEoU+mSnCk X-Received: by 2002:ac8:5705:0:b0:2f3:a9a1:17a7 with SMTP id 5-20020ac85705000000b002f3a9a117a7mr17085103qtw.405.1651779342244; Thu, 05 May 2022 12:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651779342; cv=none; d=google.com; s=arc-20160816; b=l/3ilr+1NRIQaNsIJnHeotg2YRD60a0lHTw6sdR4MpCz1BAQOsTAzaL60GCa50Q595 4fgpyrOSSuVT6zqBBMTxdIv1M1VHHDKrkD2AZZDTqTCklh5cQsbdM7wrRgTwobE9oN9Y bRGNXj8oqM9BJFNUYgf3Mpa8VzeUowL4XPoJaPigkXQy/Y/F13jy8NWo24xUlqn77HQX bom6IiuNvfp9vr+MW6WiQErqobN0Yf5AwzxrRJ3YynYXCT7wOAMLoYuYYtJFOwygRJ/2 7XCiQrz/BrpWkdk6u5WiG+vPZQoAcH7qs0Qi+lWzIMclySfQuh71a0mgQSdgg/14hfn2 +aNw== 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=GY2odDA192T0ClkUF75+bPEfdCFgpsNoLihYttz/3zY=; b=XV0pX6YF2AATAcqcofHleLhTOTa66Hkstg6M5vb4+SURagixX1pYGkSedqlzqhJxZ+ ZzLUi+/uctffqZ0GrF05h0HddzaKMZ7aOAOwBZWUeFhCm+1Udb5TuiDiCBZZn6F5pPFH kcUNVtoY4jFCt9CXZgNRqL3Ojj3KClsFHOeOvoj6rIU5io4znd5AFVcbfP04BIaLCw1L 2IFGPwLyKfNfpVnp+jlrFyyW2QOu6ospAY9sT8ZpFLlkAtJZQDF3RikuAx9vGDoUUtE2 4MdL+cvxrIsBw8Eqe8eOPyvYuEs6V0wFWuLW/lvlmHjvcInSRa1vMqlbF89KalcReSDU a9zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RuupAJxi; 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 m14-20020a05620a290e00b0069ff8bf3094si1570807qkp.345.2022.05.05.12.35.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 May 2022 12:35:42 -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=RuupAJxi; 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]:50194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmhGH-0003gL-Qu for patch@linaro.org; Thu, 05 May 2022 15:35:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmgYg-00036P-9K for qemu-devel@nongnu.org; Thu, 05 May 2022 14:50:38 -0400 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:34364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmgYd-0004NF-T4 for qemu-devel@nongnu.org; Thu, 05 May 2022 14:50:38 -0400 Received: by mail-oi1-x231.google.com with SMTP id j12so337895oie.1 for ; Thu, 05 May 2022 11:50:35 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=GY2odDA192T0ClkUF75+bPEfdCFgpsNoLihYttz/3zY=; b=RuupAJxij1iUWDYoPju8S2pJjrLZ6lUUNzfm0xNTEUHt1bxfRU3/MTVwCxt4Jcf01X arIa8pwsnC3k9TlGbo7PwCSTUvqLTpC4yjj2X2f4E6erW5HWO9ez5qogDrRFa7jxeRwr 4gDWP2/kQ1kzDwq52Lu+/n6ocJrZbKB/gT9idufYJyChbEwDfbNVV+HgzD9MCHtfLD8j sbPGw5mBZxqCJqWwn16KQ9od3DvMX/9vOwYvwENT3XxvXKpQYp+VZCBh9kFU7oDmgEc1 Qw/qQ1dAhSaOn7dNKOPIOujt4KHXxsDJpnwKa8McaNdTiNdCBhKI26vAMDRj1U5gCj2s acjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GY2odDA192T0ClkUF75+bPEfdCFgpsNoLihYttz/3zY=; b=pdcNWwTycMmwId+JiWkQx0XBG6pFFuaUEn/6rn1I1YaiMYW/q2C5RNIJmdOUC8hK3x gZfTt81aKjkhxjz/hKI9OfES5FSe43Mfr1g71APDmEnQvfC+kfxK4pye0JC2c5txUYTr aBd56rE9RD3j0WmOgT2cksj5+yofaz16MDUjm1y2wdvW4ZvM2xqeHeyvgyN0aKwv2Jc4 nfXn+DMt/ODhZqt2ujy9FTgGulFefAzc8sPQER3Jh1dLFSmEmH5em37LpgWiO2wnCJNn 3AkS2Pb8Ngq/q/Y76/RyVK0qcsMsLvWdacD5rgaYWPScwyC551J4WVxvjEzDG7bLxmUB mVDQ== X-Gm-Message-State: AOAM531OE/PmD4LtxjJ+dUmp44tHezZPhXxzV5SfBF1woBeFAwneEXuA c06z3mJKcJ+t1qX/TQi8PnBOtrMaxljwrnN9 X-Received: by 2002:aca:a945:0:b0:325:9428:ac02 with SMTP id s66-20020acaa945000000b003259428ac02mr3130507oie.268.1651776634933; Thu, 05 May 2022 11:50:34 -0700 (PDT) Received: from stoup.. ([2607:fb90:5fe8:83ea:bbf4:c9ef:4f3:11c6]) by smtp.gmail.com with ESMTPSA id s36-20020a0568302aa400b0060603221259sm857273otu.41.2022.05.05.11.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 11:50:34 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell Subject: [PATCH v5 18/24] target/arm: Enable FEAT_IESB for -cpu max Date: Thu, 5 May 2022 13:50:00 -0500 Message-Id: <20220505185006.200555-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220505185006.200555-1-richard.henderson@linaro.org> References: <20220505185006.200555-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::231; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x231.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, T_SCC_BODY_TEXT_LINE=-0.01 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" This feature is AArch64 only, and applies to physical SErrors, which QEMU does not implement, thus the feature is a nop. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- v2: Update emulation.rst --- 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 8110408000..b200012d89 100644 --- a/docs/system/arm/emulation.rst +++ b/docs/system/arm/emulation.rst @@ -25,6 +25,7 @@ the following architecture extensions: - FEAT_FlagM2 (Enhancements to flag manipulation instructions) - FEAT_HPDS (Hierarchical permission disables) - FEAT_I8MM (AArch64 Int8 matrix multiplication instructions) +- FEAT_IESB (Implicit error synchronization event) - FEAT_JSCVT (JavaScript conversion instructions) - FEAT_LOR (Limited ordering regions) - FEAT_LPA (Large Physical Address space) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 35881c74b2..10410619f9 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -781,6 +781,7 @@ static void aarch64_max_initfn(Object *obj) t = cpu->isar.id_aa64mmfr2; t = FIELD_DP64(t, ID_AA64MMFR2, CNP, 1); /* FEAT_TTCNP */ t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1); /* FEAT_UAO */ + 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, TTL, 1); /* FEAT_TTL */