]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
riscv: Update MIPS vendor id to 0x127
authorChao-ying Fu <cfu@wavecomp.com>
Thu, 13 Nov 2025 16:10:32 +0000 (17:10 +0100)
committerPaul Walmsley <pjw@kernel.org>
Sat, 15 Nov 2025 22:27:02 +0000 (15:27 -0700)
[1] defines MIPS vendor id as 0x127. All previous MIPS RISC-V patches
were tested on QEMU, also modified to use 0x722 as MIPS_VENDOR_ID. This
new value should reflect real hardware.

[1] https://mips.com/wp-content/uploads/2025/06/P8700_Programmers_Reference_Manual_Rev1.84_5-31-2025.pdf

Fixes: a8fed1bc03ac ("riscv: Add xmipsexectl as a vendor extension")
Signed-off-by: Chao-ying Fu <cfu@wavecomp.com>
Signed-off-by: Aleksa Paunovic <aleksa.paunovic@htecgroup.com>
Link: https://patch.msgid.link/20251113-mips-vendorid-v2-1-3279489b7f84@htecgroup.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Paul WAlmsley <pjw@kernel.org>
arch/riscv/include/asm/vendorid_list.h

index 3b09874d7a6dfb8f8aa45b0be41c20711d539e78..7f5030ee1fcf830b17c6529e9c430fe19ac68b05 100644 (file)
@@ -7,8 +7,8 @@
 
 #define ANDES_VENDOR_ID                0x31e
 #define MICROCHIP_VENDOR_ID    0x029
+#define MIPS_VENDOR_ID         0x127
 #define SIFIVE_VENDOR_ID       0x489
 #define THEAD_VENDOR_ID                0x5b7
-#define MIPS_VENDOR_ID         0x722
 
 #endif