From nobody Thu Nov 28 08:49:04 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; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1694076390; cv=none; d=zohomail.com; s=zohoarc; b=FSlGz0rF19852XMEHmAdRbY8L9IrbaCESnG2X+1r1Xq4Zx98h6w2j6/Ke4D6r6iCpwcp0noxkGm/P5hso25rJYxerk7b+dbLFLy3XasR8dP6/8vP30ZYnb7WkEqCp9pAD1tFE1ncl3N4krUEDQAnvqLDtlyK0rg/aK+zHuUPLRc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694076390; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=6gZUcfML6Qtk7QndXvhNoRD/lzswcGgAHIhmy3SRM6A=; b=IcdATkahyrWY2I0XJbWOkbICWD0QiS56kiJBruu93QevoyRjeE3bvS1l2cf92/0/gexUR6sPS2I9lmkm9Fg/OWxijIzguTy9XxXYTvL0C6+0YkvgbZpV9c61uiCzrYSSCChfHEZvlPiUe2LAkk/JRE/g8TUWFHlm2V6eMbgZwkU= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1694076390315953.1538509771871; Thu, 7 Sep 2023 01:46:30 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeAeT-0007EJ-ND; Thu, 07 Sep 2023 04:46:13 -0400 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 1qeAe0-00079a-DV; Thu, 07 Sep 2023 04:45:47 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeAdZ-0008FX-Ic; Thu, 07 Sep 2023 04:45:19 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-68bed2c786eso614076b3a.0; Thu, 07 Sep 2023 01:45:16 -0700 (PDT) Received: from localhost.localdomain (36-226-231-9.dynamic-ip.hinet.net. [36.226.231.9]) by smtp.gmail.com with ESMTPSA id g20-20020a62e314000000b00688214cff65sm11923722pfh.44.2023.09.07.01.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 01:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694076315; x=1694681115; 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=6gZUcfML6Qtk7QndXvhNoRD/lzswcGgAHIhmy3SRM6A=; b=iq8NFoqMMtLfnEhD/HjlYHkjMTZT1vt+2VD470BMVsIeT7iucy5fPLPScrfRG1y/n6 u1cm53MtZrKT6A6RWpRzqp+QiShIp0LeFli+wWSJw1XLorT48rWBQ51A7US1GHPeC8Rt imHfZlnISrEgJJPwMARKuDEPktppzHPnIONlBfA5jXYueEaoLYhonxrrd22uV8pbsxDF qKNUatvSl3pKRndqwynXNhV8ayYl8HPJ3FSi+3zIO3ouUIM6qopT21/fPyUWJZNpsxYx 1GBP02qoN62pEXyoBI+ecjEo411A+PANuPL7pMVfYdp0ZhWzKnc+DRdc/rM5kx0L8a2N I7HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694076315; x=1694681115; 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=6gZUcfML6Qtk7QndXvhNoRD/lzswcGgAHIhmy3SRM6A=; b=MG8OONPvWfeybMFOAhffzjfwq41w98pjSZyAwdKcdYiRURfOajeh4akmM9Jpuzz5ys +Tk1u4uZqrvaWYj54coHZgtHoVkLqviJQJgTbvZOEnRFAOB4i2WAH2rsJ4DuWYk4hWec S4DDloguTHngOc09/l+QR2d+NhZcfWIDag2LL24y80HwT8mSnImkw/dVBq//qYXPxiqs vYvmTcl9uDuclwh8TC6rjwoph+RwOYV9+kBx2Qs5U2Qlc30N5q4SHFKLHbCR1vmYV6dS OkHaNQHw/zPeVp3ubMi9pz6Ex6vN59oBtYNHmxp6/GpWo97k+tfAEsxKbzcq6K/2yNSw +l+Q== X-Gm-Message-State: AOJu0YxR53Ci3ZpYograviZ4vaIz2X70gQFVH8QvQhYY9QHJA3Oz7HF8 1jqiX2y1kOMy8JZfUOnn3CGMoBPueUyTVCBY X-Google-Smtp-Source: AGHT+IFJz4c/X0G1HbvFV9KaogSVGhxfA8DDVqNZ83Yns7QnHNSMfZDItRhZhQ/DTIXYzVVofYsYyA== X-Received: by 2002:a05:6a00:24c3:b0:68b:e29c:b61 with SMTP id d3-20020a056a0024c300b0068be29c0b61mr19238990pfv.19.1694076314885; Thu, 07 Sep 2023 01:45:14 -0700 (PDT) From: Alvin Chang X-Google-Original-From: Alvin Chang To: qemu-riscv@nongnu.org, qemu-devel@nongnu.org Cc: alistair.francis@wdc.com, Alvin Chang Subject: [PATCH] disas/riscv: Fix the typo of inverted order of pmpaddr13 and pmpaddr14 Date: Thu, 7 Sep 2023 16:45:00 +0800 Message-Id: <20230907084500.328-1-alvinga@andestech.com> X-Mailer: git-send-email 2.27.0.windows.1 MIME-Version: 1.0 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=2607:f8b0:4864:20::42a; envelope-from=vivahavey@gmail.com; helo=mail-pf1-x42a.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, FREEMAIL_FROM=0.001, 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 @gmail.com) X-ZM-MESSAGEID: 1694076391219100002 Content-Type: text/plain; charset="utf-8" Fix the inverted order of pmpaddr13 and pmpaddr14 in csr_name(). Signed-off-by: Alvin Chang Reviewed-by: Alistair Francis --- disas/riscv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disas/riscv.c b/disas/riscv.c index 3873a69157..8e89e1d115 100644 --- a/disas/riscv.c +++ b/disas/riscv.c @@ -2116,8 +2116,8 @@ static const char *csr_name(int csrno) case 0x03ba: return "pmpaddr10"; case 0x03bb: return "pmpaddr11"; case 0x03bc: return "pmpaddr12"; - case 0x03bd: return "pmpaddr14"; - case 0x03be: return "pmpaddr13"; + case 0x03bd: return "pmpaddr13"; + case 0x03be: return "pmpaddr14"; case 0x03bf: return "pmpaddr15"; case 0x0780: return "mtohost"; case 0x0781: return "mfromhost"; --=20 2.34.1