Some current cpus based on T-Head cores implement memory-types way different than described in the svpbmt spec even going so far as using PTE bits marked as reserved. Add the T-Head vendor-id and necessary errata code to replace the affected instructions. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Samuel Holland <samuel@sholland.org> Link: https://lore.kernel.org/r/20220511192921.2223629-13-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
12 lines
203 B
C
12 lines
203 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2021 SiFive
|
|
*/
|
|
#ifndef ASM_VENDOR_LIST_H
|
|
#define ASM_VENDOR_LIST_H
|
|
|
|
#define SIFIVE_VENDOR_ID 0x489
|
|
#define THEAD_VENDOR_ID 0x5b7
|
|
|
|
#endif
|