From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by sourceware.org (Postfix) with ESMTPS id A9FDF3938807 for ; Thu, 12 Mar 2020 10:01:02 +0000 (GMT) Received: by mail-pj1-x1036.google.com with SMTP id f15so2354645pjq.2 for ; Thu, 12 Mar 2020 03:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id; bh=/FW2Alp2ED4S46m5oW++mencdRrRZvhynxUjSXR7TCo=; b=LPK+TYhQeEKcDRjpvn1iauxVmL1ixN+X5s4dzN7qa/r9gWJLRmivaIgHNt4k1wyPXo 6BrL+uOOzLbcD/WEE8+zFPHdOAh6Osk3QNOZ3VIRYF6j5khyE7yg7e0c+meU1dHYJJDt fN7/+XhJryic019gknR5W7/HC41FurC0pZsPqFZc3rHG0jh9WjszaJ4InWbYtxzl0ciQ Hq5S6MD5aDXYmxxFf5CQjoVqBdUKaS9BU6bJ1p15GC1mpGUQOQjcYC9jGJCARRiOpA9+ ai8EKiaKaOWc5heIfRT8gKuWkjW11HwVAD949uUoIRrcjDEjfGMU8pskN++6TfMimNrd Zt9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/FW2Alp2ED4S46m5oW++mencdRrRZvhynxUjSXR7TCo=; b=kj82wQc3BedQnKJQmRGu7fbR36tvuJ7WiMeMCjPIa3kv+MiXrS5KucwWcq6shfs+yv lsJ4mBIJBfMXB4VNcdGlalemjAFeCTzpgJDMXzDvAS8vpqdyEK6avxRm+hWCZa2kH4o0 m5fBkCBYLv6wizpvO9X9T0xz31+G6YNwhEmRRP+dzhAlj/7n+fSH5wgY3Th8P88wRPjD Vmku2idX16cC09HEcllPwUOXK6CkWCIKQHbcFUa+MEpXMzSS0fp/4LEnqTYGI34nbBHM jxjqk4616Y0CSYomQZGpjyrw+iDiccWxRv7w7fwkix5JjOZYeJqDyPFKkgOX/ftL6S7l mBHg== X-Gm-Message-State: ANhLgQ0NAx9AijTeJm9qFHogND3lRkptxt2+x5AqjVw37p/VXH3Q/3pV +EWHNVxFjJ2BwdG6kwNq2KXKSCCPJifoYw== X-Google-Smtp-Source: ADFU+vu4FHNwpKYLIRt97HKx+TpbWVAFxrYjb4H0AEjefzyFeN0QEfWRXsNlZMyv+wCpy3V+lFjwAQ== X-Received: by 2002:a17:902:b090:: with SMTP id p16mr6744225plr.274.1584007261427; Thu, 12 Mar 2020 03:01:01 -0700 (PDT) Received: from gamma05.internal.sifive.com ([64.62.193.194]) by smtp.gmail.com with ESMTPSA id h3sm53985794pfo.102.2020.03.12.03.01.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Mar 2020 03:01:00 -0700 (PDT) From: Nelson Chu To: gdb-patches@sourceware.org, andrew.burgess@embecosm.com Subject: [0/1] RISC-V: Update CSR to priv 1.11. Date: Thu, 12 Mar 2020 03:00:56 -0700 Message-Id: <1584007257-14466-1-git-send-email-nelson.chu@sifive.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 10:01:03 -0000 Hi gdb, Since RISCV priv spec 1.11 has been officially released, it would be good if binutils, gdb, qemu and OpenOCD can support the new CSR. Therfore, I update the CSR to 1.11 in binutils, and the gdm xml files and gas/testsuite/gas/riscv/csr-dw-regnums also need to be updated. There are two difference between 1.10 and 1.11, 1. 0x320 is mcountinhibit rather than mucounteren. You can still use the mucounteren, but objdump will show mcountinhibit for it. 2. 0x7b2 is dscratch0 rather than dscratch, and 0x7b3 is dscratch1. You can still use the old naming, but objdump will show the new one. Thanks Nelson