Message ID | 20220703082419.770989-58-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp2942074mab; Sun, 3 Jul 2022 02:33:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sBfoT0m7DFFNu32h9qjj+uoNN/Da2D8tINkmJixo7E9XXHHZXtP0qoiDRszocFTXJ2Ffe2 X-Received: by 2002:a25:9f87:0:b0:669:4345:a8c0 with SMTP id u7-20020a259f87000000b006694345a8c0mr25237068ybq.472.1656840812866; Sun, 03 Jul 2022 02:33:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656840812; cv=none; d=google.com; s=arc-20160816; b=lfnm93bg1fqW9BF8VcldH4gEVUwTH+o+7liqQnAqk66W0QoFYGNgdTbLijxM+/fAVB asHtmWkGjfLE3teOgp0Z+myUYwLeflEkBEZQkgyepghEw7yXW6JnSPiOXKRlivnX984d JXaPuFzkOdYafWlMQLORWb1UAzc5UilmI42g5Ez5qKAwJxnpBb/JMD48XCtP+o2k9hZv Ij9BRt6nmSCvhKWkqoQ7XNQavsviOXAJPCGGWRX5L/Mj5Yy7L2qY/ZGL4pqfCBs3+Y07 gtqJyMGvEXE/3ALekbstSI0nNgJ4sEsP3X6jcPniI+jKjQ78ZgTJUkKWRIk8TH0YRdIp vcFw== 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=liHUuzibAUDh7PNtlnTFX/CxPtgHbz6rTpMJQG/D23M=; b=ydc851xRr4lDzYGImcHF/mJ6g+U+w2LTlM6Iir/PoarSc92UMBSmouOWXKRobKOlUy /vfmCej1biLpnMcLpmWci9YL9ETINIpJhLLABQYYc5lnT6ZNdhnogA6JRvCV9lj4k4wd zUrwoL1+IkDca9QkI2Iy9D0mbJdWz99fYDZBiBhkBcgy+9Y9i4w3x9RKkN9oXdmcwYaz uNbw7Fc07/DDmtVjCCjAjAEeDbbndQcIUU/d2HTKh4ULi9dF0VnL6NXPAXQLonfOVtDa Y9IFo3mViFJ2WkXFDNx1M/3eeX70pyeJIpdNXnWzM+JekekiqPSylsvhw0TQD2KzIPWb ETuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FefgVOYL; 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 130-20020a250288000000b0066e38e9113csi1228071ybc.25.2022.07.03.02.33.32 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jul 2022 02:33:32 -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=FefgVOYL; 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]:51768 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 1o7vyu-0001LG-9q for patch@linaro.org; Sun, 03 Jul 2022 05:33:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1o7uzl-0001jp-Og for qemu-devel@nongnu.org; Sun, 03 Jul 2022 04:30:23 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:36354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1o7uzk-0006q6-83 for qemu-devel@nongnu.org; Sun, 03 Jul 2022 04:30:21 -0400 Received: by mail-pl1-x62b.google.com with SMTP id m2so6039017plx.3 for <qemu-devel@nongnu.org>; Sun, 03 Jul 2022 01:30:19 -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=liHUuzibAUDh7PNtlnTFX/CxPtgHbz6rTpMJQG/D23M=; b=FefgVOYLqXZTUaTmrcUc52wm19fTpHiPmdmOmtkb5XLFts1M71Mx6iD/3/nYnjrTjg KFT+Ws5DEk39v4yrGfz+kvXDcsrnDRKGqBwZCXA0FfW7eYrfVmJIpXG88X8ctf4fyyWn IoVxGBs8IeQR+7SOFW00yXtABMoN6YAXVHu7BGGlXZkkV5jsytYTyD0Aunr5nTMj7fVh 6TPh22TVDE2iQv0AkiKP5bXKzV2i5OSfX1t9jm+eAre0NcWTL93iIhcUDxnipbv8fsiu /c3EWLNiiEAHLGg3GiAHOBVSJmsa7jzM9ASw6EXJav0MRKeLdHSGLqJVDlf4URdTSz6T o/lQ== 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=liHUuzibAUDh7PNtlnTFX/CxPtgHbz6rTpMJQG/D23M=; b=tt4835p43F2LaNMoYKPm20fXnByP5rEmU7rLcyblZVjnIpdjBeNAnFR7a944MNxw1F qajc60pz/YMVieINCQKcx2OJn6ABOUAXQVUMnyg/gP0hpYkKBCgi5tYxwe3605O56RPT XemlrCZNtV0Zuygcc9GwCtdVsn0t0q1ym6rNtKGHuECCt07cPSsK9dC3iLq2OapLaHc0 VIBCXZsAHgiij5m0/k1rcZy3CbnwBmmPC9IwQJycDb10VwsuWXYK5r/EPcGRpf68uUVY U6XMiQSF6HlcYvIyadUdbHjsNrNTGuIykvOa7meLP21TFwx2LqN8QsZN3lvp7pRK5h8U +IKw== X-Gm-Message-State: AJIora94HeZ6tUUA/vtdGuiRsELEmcf/AoqIdZMz40v5Is3iwHUjtL40 iPCIY5iouPw/LXGHCOJjpSR7KwZvkHMTF0/B X-Received: by 2002:a17:90b:1651:b0:1ec:f358:3dbd with SMTP id il17-20020a17090b165100b001ecf3583dbdmr29206163pjb.157.1656837019037; Sun, 03 Jul 2022 01:30:19 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id g6-20020a1709026b4600b0016788487357sm18574523plt.132.2022.07.03.01.30.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 01:30:18 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 57/62] target/arm: Add ARMFault_UnsuppAtomicUpdate Date: Sun, 3 Jul 2022 13:54:14 +0530 Message-Id: <20220703082419.770989-58-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220703082419.770989-1-richard.henderson@linaro.org> References: <20220703082419.770989-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.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=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> 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 FEAT_HAFDBS
|
expand
|
diff --git a/target/arm/internals.h b/target/arm/internals.h index f2a421972e..b1a5219aa3 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -344,6 +344,7 @@ typedef enum ARMFaultType { ARMFault_AsyncExternal, ARMFault_Debug, ARMFault_TLBConflict, + ARMFault_UnsuppAtomicUpdate, ARMFault_Lockdown, ARMFault_Exclusive, ARMFault_ICacheMaint, @@ -530,6 +531,9 @@ static inline uint32_t arm_fi_to_lfsc(ARMMMUFaultInfo *fi) case ARMFault_TLBConflict: fsc = 0x30; break; + case ARMFault_UnsuppAtomicUpdate: + fsc = 0x31; + break; case ARMFault_Lockdown: fsc = 0x34; break;
This fault type is to be used with FEAT_HAFDBS when the guest enables hw updates, but places the tables in memory where atomic updates are unsupported. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/internals.h | 4 ++++ 1 file changed, 4 insertions(+)