Message ID | 20241109101443.312701-33-mjt@tls.msk.ru |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp2084175wru; Sat, 9 Nov 2024 02:27:20 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWjKAPhJpNShR9Da+64bs8axtn6P0EFqfB7fHTmxTPqQPirvoBLnKVDSN6aAifzSa4hWdZkiA==@linaro.org X-Google-Smtp-Source: AGHT+IENXuf46rd6D2h5z6UOzdClH+r3u98tzc4cznLbyClrSUgEnU/+H12DcmG+ST1TV9YcjkNE X-Received: by 2002:a05:6214:3202:b0:6d3:6542:8496 with SMTP id 6a1803df08f44-6d39e107d0fmr85209606d6.10.1731148040348; Sat, 09 Nov 2024 02:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731148040; cv=none; d=google.com; s=arc-20240605; b=Qae5OXrTmrOCHI26IrqDoyQ/xca7wvcTkTtmRQWAOCIg0RsRm/yfiHzhXfKiQmywy2 /8pEhzr/6Jnz9EROCLNSHbncdYUd4hNxRgWc/S2ZdxZF1hLNbzR2rR98y7zLkfCSkfMX 2vs0z0qRnShdTkflx5/6GtUNCDmxSz0R+gmVSJGmSnzZoaw6EiOR6XSd0shIYX1naVsr PBXpNhU0bdk9HO9+fHfKOjXxiDYGkikJCULYPxE79q+d22H8q3eItLh0uIE0E0Y3qRDx nVcYJFMbzhXksrBDnF0yqdXfwV1k18Ls38UcI68snmHqPl/NFRCBxqIGPpKTeYVU3rZo moLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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; bh=NYdkYZ1EP0Zm0QH1ngej+4zYXjM/imy4Lapg9BwvMLE=; fh=GanseRjrcQuAMREH5dzTEIrzdKej3kFdmGlqcUMu4ko=; b=XRFg1/0myyoIJNmyHzWcNyA3436H3dmkMbwF3DIxy804IDX+upkaaQ3oGlH1YOfXUj GDIX03m/d3oZT2a/veP1Q5QtxwqGKGForg0JEF24IE7ay4PFHd5AT0geppt9+75b/fdA TdJnMTLyqPi8aDNiio1CRsO3N+aHP7Y8O0uApKMU41Qdys/ZJLDjTIm/B7WN6Vx7/JCd s8aBEf7sosVPCGpYwGbNkkFX5kZlpjGf6mFzBQM9uAMlZH/lOMORAgSIsNvwyveBBSQ+ ArP2EaiAD1Y/q1TEWV0VPirABu+Iis3BR6bd+0oHbjoEjbafdj4N/NaZD+52d73xkjdz cq4A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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" 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 6a1803df08f44-6d39664dfa5si63596556d6.204.2024.11.09.02.27.20 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Nov 2024 02:27:20 -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; 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" 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 1t9ib4-00053G-Lv; Sat, 09 Nov 2024 05:21:40 -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 <mjt@tls.msk.ru>) id 1t9iX1-0007O1-PK; Sat, 09 Nov 2024 05:17:31 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mjt@tls.msk.ru>) id 1t9iWz-00088y-P6; Sat, 09 Nov 2024 05:17:27 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 1C423A1406; Sat, 9 Nov 2024 13:13:51 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id BDCB6167EF1; Sat, 9 Nov 2024 13:14:45 +0300 (MSK) From: Michael Tokarev <mjt@tls.msk.ru> To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Peter Maydell <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= <alex.bennee@linaro.org>, Michael Tokarev <mjt@tls.msk.ru> Subject: [Stable-8.2.8 33/49] target/arm: Don't assert in regime_is_user() for E10 mmuidx values Date: Sat, 9 Nov 2024 13:14:24 +0300 Message-Id: <20241109101443.312701-33-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.5 In-Reply-To: <qemu-stable-8.2.8-20241109131339@cover.tls.msk.ru> References: <qemu-stable-8.2.8-20241109131339@cover.tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/target/arm/internals.h b/target/arm/internals.h index 0aa49a0b42..b93206f88f 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -752,6 +752,7 @@ static inline uint32_t regime_el(CPUARMState *env, ARMMMUIdx mmu_idx) static inline bool regime_is_user(CPUARMState *env, ARMMMUIdx mmu_idx) { switch (mmu_idx) { + case ARMMMUIdx_E10_0: case ARMMMUIdx_E20_0: case ARMMMUIdx_Stage1_E0: case ARMMMUIdx_MUser: @@ -761,10 +762,6 @@ static inline bool regime_is_user(CPUARMState *env, ARMMMUIdx mmu_idx) return true; default: return false; - case ARMMMUIdx_E10_0: - case ARMMMUIdx_E10_1: - case ARMMMUIdx_E10_1_PAN: - g_assert_not_reached(); } }