target/riscv: Support Supm and Sspm as part of Zjpm v1.0
authorAlexey Baturo <baturo.alexey@gmail.com>
Mon, 13 Jan 2025 19:44:09 +0000 (22:44 +0300)
committerAlistair Francis <alistair.francis@wdc.com>
Sat, 18 Jan 2025 23:44:35 +0000 (09:44 +1000)
commit941f76e2930c2d57e22692e4163d8797529d0491
treee26273203cbdac2ced0dbcdfcabce99c282ef401
parentfa622855eaaca8b543e19cf7ba8ab0304a1e4b84
target/riscv: Support Supm and Sspm as part of Zjpm v1.0

The Zjpm v1.0 spec states there should be Supm and Sspm extensions that
are used in profile specification. Enabling Supm extension enables both
Ssnpm and Smnpm, while Sspm enables only Smnpm.

Signed-off-by: Alexey Baturo <baturo.alexey@gmail.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20250113194410.1307494-1-baturo.alexey@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c
target/riscv/cpu_cfg.h