From nobody Sat Nov 23 23:24:24 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1730757307; cv=none; d=zohomail.com; s=zohoarc; b=F6IwWb7jMfhDkLJigq3mipt2/P6BbCjhPoa3HT/WjDvMC99Zm/yNE5Occqiry9jaDCH4uhNPP5uZDKi7JdcKr2Zuy3WeJ81iv1/wlWvyYf7oWMRB8RBrQn93KWbr+MbHuo864DeU/Q4FfkkoKa+SRINMxsSzfnaWSJ663G25RzA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730757307; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=YeHKxz4SCr4FLt1UY4Xd40xGZa8n9dG3guDv0GCCUpY=; b=YJF2uFJBAvRzASIR1YFkq8dUEseMcF1V2kE3uNWOfbbssnAxX9m7Mlba16vaLCsBu9PehNL3ErJAa9Q5JLwcMeTWzbpRBT2mJWprFfLD6ordSZBrXF86zEe9MD+fP3mK+JBdjYZIla0z1zUapK2+iTFsO4jrJOXB6cYzrs8Vh2g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1730757307264983.728612660353; Mon, 4 Nov 2024 13:55:07 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t850y-0007we-Nx; Mon, 04 Nov 2024 16:53:36 -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 1t850w-0007w6-Hx for qemu-devel@nongnu.org; Mon, 04 Nov 2024 16:53:34 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t850u-00011J-Qt for qemu-devel@nongnu.org; Mon, 04 Nov 2024 16:53:34 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-43193678216so41073095e9.0 for ; Mon, 04 Nov 2024 13:53:32 -0800 (PST) Received: from rkanwal-XPS-15-9520.Home ([2a02:c7c:7527:ee00:8a3a:7719:aa26:21cb]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432a26a6da1sm1537595e9.0.2024.11.04.13.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 13:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1730757211; x=1731362011; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YeHKxz4SCr4FLt1UY4Xd40xGZa8n9dG3guDv0GCCUpY=; b=XacK+/OX3KaIRTXOcEDHrlcRDnlhniYAi2U+imH5UFKkPo00rLMcozFw2a95nSbACR Jhxv15lsIuHc1v41YFpSaHrSJWoJh29LV/giD8ZlTI7X8DjpD4zkwV3UPHDPCuX2e9Vm xgvtChy7SQg/e1A27YBxwOjRxpWW4Or9wByhLX3CMcNsmbIRItXdY/Ysfgr4AJbYYmsC 7iBb/cn+uWdGwzMhDZ7r1oULswkvyTnZQdhDGVaTuYYBa4w2CkmTOnS28YbrspUhYxRz AiNJZkQCiQPpfSq9dD0Siovac6fmvF0QNc3TzAN4sRe5eSl1+rjuHZ+Mh4aKYQ6SHR0Y 6ojg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730757211; x=1731362011; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YeHKxz4SCr4FLt1UY4Xd40xGZa8n9dG3guDv0GCCUpY=; b=VKwTIEs0oHvwnBpuDt0RQnTM0QAHbu4uKYfSmgw3X3JkIga1qmPVGkOgLL2kQIQmfK 95oaMwAq7th7CmFOOT97Mrq9ocAknMQv8Hxii7Dy1k3NuwZRdcndBa1KQZ9nf49sDyhW eA+eET/D6v99p1l13ZEOgn9IscgCPbTyOtDswDPJ+toCqmLHAcp3FN3dOqHAhluNwczX 7X3K7XSQr2sZJirPozQNp2a3LVR2HJdkQ5g3AgPyx9iRQlzLxMM2fuhSo9CNFYDPecjB dB24aXaKahIlzj2r2ucuE7cRrfzY+ATB6xZaeY8ttNXvZty2dPhHfQQpWaB2qFvvidiB Km0g== X-Forwarded-Encrypted: i=1; AJvYcCW3Y1QCrb+9HgvH1VYFMjFyr7pTNBPwhNRdqlj79ukBk2e0oSxStF/h4U/9UVQVKvOREi15wvv9FyY7@nongnu.org X-Gm-Message-State: AOJu0Yx3+UYGopRsu/lPW5gDATuuYyrHUpamATOERhMTXlxOhsx0b1Ab M4ChDZZcZkEcxexTs9oPsP8e0O0Sw+GaZRzmvpqP1uuMDMajAbLlyg3R0RGE/OA= X-Google-Smtp-Source: AGHT+IEDAB4JiWUfOOLrAOH3vnBiXDdHQRpqO6/W6ZnbzylQR9wQ5CSu/0HddtrbcxglZw5mPLyLGA== X-Received: by 2002:a05:600c:154d:b0:431:44f6:566f with SMTP id 5b1f17b1804b1-4319ac9d21amr301220465e9.13.1730757211404; Mon, 04 Nov 2024 13:53:31 -0800 (PST) From: Rajnesh Kanwal To: qemu-riscv@nongnu.org, qemu-devel@nongnu.org, Rajnesh Kanwal Cc: alistair.francis@wdc.com, bin.meng@windriver.com, liweiwei@iscas.ac.cn, dbarboza@ventanamicro.com, zhiwei_liu@linux.alibaba.com, atishp@rivosinc.com, apatel@ventanamicro.com, beeman@rivosinc.com, tech-control-transfer-records@lists.riscv.org, jason.chien@sifive.com, frank.chang@sifive.com Subject: [PATCH v3 1/6] target/riscv: Remove obsolete sfence.vm instruction Date: Mon, 4 Nov 2024 21:51:05 +0000 Message-Id: <20241104-b4-ctr_upstream_v3-v3-1-32fd3c48205f@rivosinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241104-b4-ctr_upstream_v3-v3-0-32fd3c48205f@rivosinc.com> References: <20241104-b4-ctr_upstream_v3-v3-0-32fd3c48205f@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.14.2 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=rkanwal@rivosinc.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @rivosinc-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1730757308590116600 Signed-off-by: Rajnesh Kanwal Reviewed-by: Alistair Francis Reviewed-by: Jason Chien --- target/riscv/insn32.decode | 1 - target/riscv/insn_trans/trans_privileged.c.inc | 5 ----- 2 files changed, 6 deletions(-) diff --git a/target/riscv/insn32.decode b/target/riscv/insn32.decode index c45b8fa1d80279f79f70be0531dd88b28208c206..66353a66786a1e2482dc248b7a4= c480b17884808 100644 --- a/target/riscv/insn32.decode +++ b/target/riscv/insn32.decode @@ -119,7 +119,6 @@ sret 0001000 00010 00000 000 00000 1110011 mret 0011000 00010 00000 000 00000 1110011 wfi 0001000 00101 00000 000 00000 1110011 sfence_vma 0001001 ..... ..... 000 00000 1110011 @sfence_vma -sfence_vm 0001000 00100 ..... 000 00000 1110011 @sfence_vm =20 # *** RV32I Base Instruction Set *** lui .................... ..... 0110111 @u diff --git a/target/riscv/insn_trans/trans_privileged.c.inc b/target/riscv/= insn_trans/trans_privileged.c.inc index bc5263a4e0f1f1853f2152e11ae2a60c31c4f39c..4eccdddeaaf0c242cf3b2c268ba= e3230126dbc7c 100644 --- a/target/riscv/insn_trans/trans_privileged.c.inc +++ b/target/riscv/insn_trans/trans_privileged.c.inc @@ -127,8 +127,3 @@ static bool trans_sfence_vma(DisasContext *ctx, arg_sfe= nce_vma *a) #endif return false; } - -static bool trans_sfence_vm(DisasContext *ctx, arg_sfence_vm *a) -{ - return false; -} --=20 2.34.1