[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v2 07/47] target: riscv: Enable Bit Manip for OpenTitan Ibex CPU
From: |
Alistair Francis |
Subject: |
[PULL v2 07/47] target: riscv: Enable Bit Manip for OpenTitan Ibex CPU |
Date: |
Wed, 25 Sep 2024 08:17:08 +1000 |
From: Alistair Francis <alistair23@gmail.com>
The OpenTitan Ibex CPU now supports the the Zba, Zbb, Zbc
and Zbs bit-manipulation sub-extensions ratified in
v.1.0.0 of the RISC-V Bit- Manipulation ISA Extension, so let's enable
them in QEMU as well.
1: https://github.com/lowRISC/opentitan/pull/9748
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20240823003231.3522113-1-alistair.francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
target/riscv/cpu.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 0f8189bcf0..a1ca12077f 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -680,6 +680,11 @@ static void rv32_ibex_cpu_init(Object *obj)
cpu->cfg.ext_zicsr = true;
cpu->cfg.pmp = true;
cpu->cfg.ext_smepmp = true;
+
+ cpu->cfg.ext_zba = true;
+ cpu->cfg.ext_zbb = true;
+ cpu->cfg.ext_zbc = true;
+ cpu->cfg.ext_zbs = true;
}
static void rv32_imafcu_nommu_cpu_init(Object *obj)
--
2.46.1
- [PULL v2 00/47] riscv-to-apply queue, Alistair Francis, 2024/09/24
- [PULL v2 01/47] target/riscv: Add a property to set vl to ceil(AVL/2), Alistair Francis, 2024/09/24
- [PULL v2 02/47] tests/acpi: Add empty ACPI SRAT data file for RISC-V, Alistair Francis, 2024/09/24
- [PULL v2 03/47] tests/qtest/bios-tables-test.c: Enable numamem testing for RISC-V, Alistair Francis, 2024/09/24
- [PULL v2 04/47] tests/acpi: Add expected ACPI SRAT AML file for RISC-V, Alistair Francis, 2024/09/24
- [PULL v2 05/47] target/riscv/tcg/tcg-cpu.c: consider MISA bit choice in implied rule, Alistair Francis, 2024/09/24
- [PULL v2 06/47] target/riscv: fix za64rs enabling, Alistair Francis, 2024/09/24
- [PULL v2 07/47] target: riscv: Enable Bit Manip for OpenTitan Ibex CPU,
Alistair Francis <=
- [PULL v2 08/47] target/riscv/kvm: Fix the group bit setting of AIA, Alistair Francis, 2024/09/24
- [PULL v2 09/47] target/riscv: Stop timer with infinite timecmp, Alistair Francis, 2024/09/24
- [PULL v2 10/47] target/riscv/cpu.c: Add 'fcsr' register to QEMU log as a part of F extension, Alistair Francis, 2024/09/24
- [PULL v2 11/47] util/util/cpuinfo-riscv.c: fix riscv64 build on musl libc, Alistair Francis, 2024/09/24
- [PULL v2 12/47] target/riscv: Preliminary textra trigger CSR writting support, Alistair Francis, 2024/09/24
- [PULL v2 13/47] target/riscv: Add textra matching condition for the triggers, Alistair Francis, 2024/09/24
- [PULL v2 14/47] exec/memtxattr: add process identifier to the transaction attributes, Alistair Francis, 2024/09/24
- [PULL v2 15/47] hw/riscv: add riscv-iommu-bits.h, Alistair Francis, 2024/09/24
- [PULL v2 17/47] pci-ids.rst: add Red Hat pci-id for RISC-V IOMMU device, Alistair Francis, 2024/09/24
- [PULL v2 16/47] hw/riscv: add RISC-V IOMMU base emulation, Alistair Francis, 2024/09/24