From patchwork Tue Nov 12 14:12:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 842694 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp3585567wru; Tue, 12 Nov 2024 06:14:01 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVFERD/ljO3DNchBph/Iw84c8r6oFj40j0pYmxGEaSW5YiA57wUvJOBMLBj1+fMLPSiU62nrw==@linaro.org X-Google-Smtp-Source: AGHT+IHrsMs0XvQ2s/x6a13ozJ6TqAJhu/cXuMMjJTdVbemEjyX/48jEO2Y/xaV/vX53sv4F7iV0 X-Received: by 2002:a05:620a:1aa2:b0:7b1:5511:8ac8 with SMTP id af79cd13be357-7b331dc564cmr1981785385a.24.1731420840884; Tue, 12 Nov 2024 06:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731420840; cv=none; d=google.com; s=arc-20240605; b=MYHjIpe+HVRZHZ13IjFciajCEp4D00AgM6Kd+KsSZitR1FegtHsNJdMeq1Kf+jDmXt smbv6amntccvw5ruyjefW36k+iVTeVMIbHPcsfD54fdyEti2H671L11fIenS0Cz7uVP7 13ifYSgh87DlHHIaVlQb1ZaFHW7feeWo0+9Pt3BL0jKbteha8fGMnj1pqFbyiNGySu6Z kS7GCGQVuebek3gO01+vZDT8XC/8qZjJoCq1epG7xm0b2+6ypE2QrBER1HRaeFluEaGy zskBkI+BtQQb/Sl2PihUvjzRK1IlnwqFmUrFusFtPYngbR7opwAH/lvvy7C6Z4vTljHJ dhbQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=JM+EJG8uPTvGoZU+1TdInhch32L1euUCIAwGo1PQ03s=; fh=9Ev+QBUhk6P6vR3LT1wYeDLexozsz44nqjfoyPajZCc=; b=IsgLLFxkLdqst/p4VUpdiEg0c00PCUj6Xlr2ns2x2EiZebO6SUi4yTNm45/J+3gy3T YZPKh8UuWkhDRi+T4xao3zFWaWX3LmVs4f4uLIZ14aW7NkU3wAyQpUJvmVBPs5kSv+9n +094xJKKQZxXyORknLG9FEY/J0jRcuTyiYTo2RYG+oJVFUYEyncBR9sBh2IVBg7W3FC+ aqIANnbqHxI9umgZ0tsS3LxpAWnu+10Ew2cWbZIoCccbFSPQ4pgotEhP30fKn3PioCAq EBNXriEaCow60YzrVw9Bc7sR8SUIaiMmOOK1pPv4srvq4utXcNHmtUvGPoJ9RnmR1fyI ItdA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hlxBDVAU; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b32ac3ea83si1402888685a.80.2024.11.12.06.14.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Nov 2024 06:14:00 -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=hlxBDVAU; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tArdO-0003PK-75; Tue, 12 Nov 2024 09:12:46 -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 1tArdI-0003OE-Be for qemu-devel@nongnu.org; Tue, 12 Nov 2024 09:12:41 -0500 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tArdG-0005dV-T3 for qemu-devel@nongnu.org; Tue, 12 Nov 2024 09:12:40 -0500 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-7240fa50694so4281338b3a.1 for ; Tue, 12 Nov 2024 06:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731420756; x=1732025556; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JM+EJG8uPTvGoZU+1TdInhch32L1euUCIAwGo1PQ03s=; b=hlxBDVAUMATdgV29hKbC8bP63uChJpfylgxLcZeZR1pdU6/hxiP37TAmgaSCU4lLlI LqJGWBt4KUishV9xfJnkZm2ncpYVhfqCCuJ4xdZ6gM1ZfhEa6MJagkaKR8U15I3G2ifT Ct+EfakZJOUVcJzuhCRctWcyGTfQhDVV2PM5pEV9nSTLK5IXvKqpA7Au0MkbkxznUwLs Dx6SgxfXxWO5qoYcHvON0Dh6vw45rVEKTCA7yk6qr3YZXnxQmWIRT+/y3A4EZNLo4BMv QAOUamuqf33m32XAg/asnHImpUOL5BVjR0OzDYYqbskwsPriPKPvcYwTySqJZZKysjrK RS3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731420756; x=1732025556; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JM+EJG8uPTvGoZU+1TdInhch32L1euUCIAwGo1PQ03s=; b=ejnBFEXC0QV3PqvgWHwp+yfbUGS6NL27Z02StdrOJSZ0NuQOJdU48Ukrf0YYp6H/IO eRWBZgzbFW6UQY/NQlfkHUGpSB8y0S6RBAmnBNRK1h7hGOl4kh5FlaMD/XuDn5uYCCXf O6kL/8UmJXHLQMOzVg8x+MxemZOAHPeVSjiPLRC7cth+r9rHVa7t17rPnp4qsEZ8k4Ln G8hl+IOwdvRu6mj8QvYjxU/OcJBIaWQnAnKSoIg2WAlkd5rr1Y948W2PQQJois3lIZMn 1WWriZarWodTYpUS5XAW8s6h9IhWH2UVvDYRCuaTOZUB119aHjgDxVZW/ApGAjmvjQoS 21qA== X-Gm-Message-State: AOJu0YyYbwf35qT0Z861YrtHgbpx35dAJeCGJ41OcpzWKslmvCxuuIpR ZIRDFj3/swl9SZFR/8QkDrtKRyEcPkDRwRr2MnP0rWYkOS81BAs2dITnQT0QHsIwdOm871MG63C S X-Received: by 2002:a05:6a20:9f03:b0:1db:dafa:e9da with SMTP id adf61e73a8af0-1dc22a2670amr22189262637.27.1731420755869; Tue, 12 Nov 2024 06:12:35 -0800 (PST) Received: from stoup.. (wsip-24-120-228-34.lv.lv.cox.net. [24.120.228.34]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724549a899csm335330b3a.115.2024.11.12.06.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 06:12:35 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH for-9.2] target/arm: Drop user-only special case in sve_stN_r Date: Tue, 12 Nov 2024 06:12:32 -0800 Message-ID: <20241112141232.321354-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.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=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 This path is reachable with plugins enabled, and provoked with run-plugin-catch-syscalls-with-libinline.so. Signed-off-by: Richard Henderson --- target/arm/tcg/sve_helper.c | 4 ---- 1 file changed, 4 deletions(-) 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];