From patchwork Tue Nov 19 06:04:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 844260 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:8b:b0:382:43a8:7b94 with SMTP id m11csp1004401wrx; Mon, 18 Nov 2024 22:05:10 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXmNPdPmpeQsRx1c3P6Y7dyKc3B8edpO24vVWC9WZHKbWLJvv5KV/f3bwHototflTD8/mHAug==@linaro.org X-Google-Smtp-Source: AGHT+IEynqevGFLziTHbpprGurPENKsHNi4W3C6qOlU9d1vAVNHRqdAFaXZw++5xGo4pQ2YNzVmz X-Received: by 2002:a05:620a:4588:b0:7b1:3b5e:4b50 with SMTP id af79cd13be357-7b3622d2c70mr2053501885a.19.1731996310362; Mon, 18 Nov 2024 22:05:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731996310; cv=none; d=google.com; s=arc-20240605; b=C+l8NcHa5KmONXcY8++XMf0EG4m30Lsj9b+jj/0dKMSN8sA2tfhJDKQh4FmDXrgpd9 ZqGfWeAt4Zd55v8k/6TrP7L7y9pCqa126eWbbuSZCtfdOmVg/ERzK45qSBy9/99gBCya foWnLQhLk7VAYLsukGmMR7N7L51dLCttDozXHhhc5czlqa2oKq9wye7saLiVG9PR0Jpr Pd9iLms+nsIpE0oDqG7G9szYUhJmied5Jndv0CCtXxgtILRkRn1nhbkDDQpBC74adurE igRhs2/rm/GcM345b+JcY/jBQfiAJlLUxY1x/qpH2Fj9y9WePBjfbzy4oEuIcdgDhpJZ KuwQ== 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=NJ7unYVTxa1mPZQu/LJA552haMPNwrsSV58hCuuFlno=; fh=NoJ7n5JVE2hviRF6uNBFRIJvWH7igafuy1AIwg26ToM=; b=IAmj3M9Pok6QtjyFTtM+X/QxZs47shgA/PzmsaG4twzj/z8EfjVGbvFjhYCcws7QZW tAi6521pzIOr2aVDgvZFOBaX2c1cO2tOXSNtFqPfdWetZwTZIpm66Zf9mkAAopTj4tiO q/tkc/KUX6sbjRBlyJ1gZtBUg53fiKoYt+FTRjxwdpThx6QnzeoR7sWvVRjF8dy7JmTU co5HhWaR+ZkgmGBwKPqJ8nuKgQfEiZfP9rUZLW/qQ3eB4Kn356RIJ4yfcoP9YMyesoIA VVGNRmFHhY1GEJzM8QpRfCFEAjG7JCykfGy4O6JLyAzXP2hL19vDUp11oZ2vQGGgxjvm NFjw==; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b37a83be92si148944085a.104.2024.11.18.22.05.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Nov 2024 22:05:10 -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 ) id 1tDHLw-00015r-Dr; Tue, 19 Nov 2024 01:04:44 -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 1tDHLq-0000xN-SY; Tue, 19 Nov 2024 01:04:38 -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 ) id 1tDHLo-0004dU-Hm; Tue, 19 Nov 2024 01:04:38 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C2A0EA6263; Tue, 19 Nov 2024 09:04:14 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id EAC2E1738D9; Tue, 19 Nov 2024 09:04:18 +0300 (MSK) Received: (nullmailer pid 2368935 invoked by uid 1000); Tue, 19 Nov 2024 06:04:18 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Peter Maydell , Michael Tokarev Subject: [Stable-9.1.2 61/72] target/arm: Drop user-only special case in sve_stN_r Date: Tue, 19 Nov 2024 09:04:02 +0300 Message-Id: <20241119060418.2368866-4-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.5 In-Reply-To: References: MIME-Version: 1.0 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: 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 From: Richard Henderson This path is reachable with plugins enabled, and provoked with run-plugin-catch-syscalls-with-libinline.so. Cc: qemu-stable@nongnu.org Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-ID: <20241112141232.321354-1-richard.henderson@linaro.org> (cherry picked from commit f27550804688da43c6e0d87b2f9e143adbf76271) Signed-off-by: Michael Tokarev diff --git a/target/arm/tcg/sve_helper.c b/target/arm/tcg/sve_helper.c index f1ee0e060f..904296705c 100644 --- a/target/arm/tcg/sve_helper.c +++ b/target/arm/tcg/sve_helper.c @@ -6317,9 +6317,6 @@ void sve_stN_r(CPUARMState *env, uint64_t *vg, target_ulong addr, flags = info.page[0].flags | info.page[1].flags; if (unlikely(flags != 0)) { -#ifdef CONFIG_USER_ONLY - g_assert_not_reached(); -#else /* * At least one page includes MMIO. * Any bus operation can fail with cpu_transaction_failed, @@ -6350,7 +6347,6 @@ void sve_stN_r(CPUARMState *env, uint64_t *vg, target_ulong addr, } while (reg_off & 63); } while (reg_off <= reg_last); return; -#endif } mem_off = info.mem_off_first[0];