[PATCH] riscv: Update MIPS vendor id to 0x127.

Aleksa Paunovic aleksa.paunovic at htecgroup.com
Tue Nov 4 03:53:49 PST 2025


Hi Conor,


Thank you for your response!


On 11/3/25 23:07, Conor Dooley wrote:

> On Mon, Nov 03, 2025 at 04:05:48PM +0100, Aleksa Paunovic wrote:
>> From: Chao-ying Fu <cfu at wavecomp.com>
>>
>> [1] defines MIPS vendor id as 0x127.
>>
>> [1] https://mips.com/wp-content/uploads/2025/06/P8700_Programmers_Reference_Manual_Rev1.84_5-31-2025.pdf
>>
>> Fixes: a8fed1bc03ace27902338e4f0d318335883ac847 ("riscv: Add xmipsexectl as a vendor extension")
> Incorrect format for fixes tags!
Will fix that in v2.
>
>> Signed-off-by: Aleksa Paunovic <aleksa.paunovic at htecgroup.com>
>> ---
>>  arch/riscv/include/asm/vendorid_list.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/riscv/include/asm/vendorid_list.h b/arch/riscv/include/asm/vendorid_list.h
>> index 3b09874d7a6dfb8f8aa45b0be41c20711d539e78..55205f7938055ba2b744dba5118bba935bcac008 100644
>> --- a/arch/riscv/include/asm/vendorid_list.h
>> +++ b/arch/riscv/include/asm/vendorid_list.h
>> @@ -9,6 +9,6 @@
>>  #define MICROCHIP_VENDOR_ID	0x029
>>  #define SIFIVE_VENDOR_ID	0x489
>>  #define THEAD_VENDOR_ID		0x5b7
>> -#define MIPS_VENDOR_ID		0x722
>> +#define MIPS_VENDOR_ID		0x127
> How was this ever wrong? Do devices exist with this old ID? Do we need
> to support both as vendor IDs for MIPS?
I'm not sure how it first started, but since we worked on qemu as well, we never noticed any issues while testing. 
It shouldn't cause any problems in the future though.
> Also, this was added in the wrong point in the list (it's meant to be
> alphanumeric order IIRC). Sorting by the ID makes things annoying to
> humans to read.
Will fix that as well.


Best regards,

Aleksa



More information about the linux-riscv mailing list