From patchwork Mon Mar 28 13:11:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tsukasa OI X-Patchwork-Id: 1610177 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=irq.a4lg.com header.i=@irq.a4lg.com header.a=rsa-sha256 header.s=2017s01 header.b=HQzco3Lx; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KRv9v26bxz9s5V for ; Tue, 29 Mar 2022 00:46:27 +1100 (AEDT) Received: from localhost ([::1]:41816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYphR-0007Jc-CL for incoming@patchwork.ozlabs.org; Mon, 28 Mar 2022 09:46:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYp9j-000350-09; Mon, 28 Mar 2022 09:11:35 -0400 Received: from mail-sender.a4lg.com ([153.120.152.154]:63827 helo=mail-sender-0.a4lg.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYp9h-0004Ud-4I; Mon, 28 Mar 2022 09:11:34 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id DB4DE300089; Mon, 28 Mar 2022 13:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1648473091; bh=8XjPTSCgvJ2zXdwJphhhu+q0qX8Ez19jJaKG41vPCNk=; h=From:To:Cc:Subject:Date:Message-Id:Mime-Version: Content-Transfer-Encoding; b=HQzco3LxVj6aQGzbVJsK4nheXqC8OEWfi0A1b0p6nSy8WmtjY9add1Mh0pxT3EeFP /g10CgZnGVX6DRXYxvYQzz5rjnOX3W/dfV42Lh5hPTded6YPo0Y0xo8+X8Bd49F/ak SyPsaFRGC/EVU6PcyfyVyonGO0oUVAQYcVH4dgfA= From: Tsukasa OI To: Tsukasa OI , Alistair Francis , Frank Chang Subject: [PATCH v2 0/1] target/riscv: misa to ISA string conversion fix Date: Mon, 28 Mar 2022 22:11:22 +0900 Message-Id: Mime-Version: 1.0 Received-SPF: pass client-ip=153.120.152.154; envelope-from=research_trasio@irq.a4lg.com; helo=mail-sender-0.a4lg.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-riscv@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" [v1] https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg06350.html S and U are misa bits but not extensions (instead, they are supported privilege modes). Thus, they should not be copied to the ISA string. [CHANGES: v1 -> v2] I also removed almost all reserved/dropped single-letter "extensions" from the list. - "B": Not going to be a single-letter extension (misa.B is reserved). - "J": Not going to be a single-letter extension (misa.J is reserved). - "K": Not going to be a single-letter extension (misa.K is reserved). - "L": Dropped. - "N": Dropped. - "T": Dropped. Signed-off-by: Tsukasa OI Tsukasa OI (1): target/riscv: misa to ISA string conversion fix target/riscv/cpu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) base-commit: 3d31fe4d662f13c70eb7e87f29513623ccd76322