RISC-V: fix ordering of Zbb extension
authorHeiko Stuebner <heiko.stuebner@vrull.eu>
Wed, 8 Feb 2023 22:53:27 +0000 (23:53 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 22 Feb 2023 01:21:21 +0000 (17:21 -0800)
commit1eac28201ac0725192f5ced34192d281a06692e5
tree5a74f57aae2e9fb85935929842f2138d19d89746
parent9ddfc3cd806081ce1f6c9c2f988cbb031f35d28f
RISC-V: fix ordering of Zbb extension

As Andrew reported,
    Zb* comes after Zi* according 27.11 "Subset Naming Convention"
so fix the ordering accordingly.

Reported-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230208225328.1636017-2-heiko@sntech.de
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpu.c