target/riscv: Add Control Transfer Records CSR definitions.
authorRajnesh Kanwal <rkanwal@rivosinc.com>
Wed, 5 Feb 2025 11:18:46 +0000 (11:18 +0000)
committerAlistair Francis <alistair.francis@wdc.com>
Tue, 4 Mar 2025 05:42:54 +0000 (15:42 +1000)
commit3f833f8920d815caa6cd0215a5707a03426ba574
treece7ebeb969402dc6a301cf38aea1d68f906dff9a
parentb638f679fede4835474a16cd423cb7e77ff6e7cc
target/riscv: Add Control Transfer Records CSR definitions.

The Control Transfer Records (CTR) extension provides a method to
record a limited branch history in register-accessible internal chip
storage.

This extension is similar to Arch LBR in x86 and BRBE in ARM.
The Extension has been stable and the latest release can be found here
https://github.com/riscv/riscv-control-transfer-records/releases/tag/v1.0_rc5

Signed-off-by: Rajnesh Kanwal <rkanwal@rivosinc.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20250205-b4-ctr_upstream_v6-v6-2-439d8e06c8ef@rivosinc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu_bits.h