summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSunil V L <sunilvl@ventanamicro.com>2022-05-27 08:17:43 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-07-20 02:39:19 +0300
commit171549f829dfebf1f44ffa76d3191bdc032d4cdb (patch)
tree6418b4dd15e37ac05b57952a855e35702e061fe2 /lib/mpi/mpiutil.c
parentad635e723e17379b192a5ba9c182e3eedfc24d16 (diff)
downloadlinux-171549f829dfebf1f44ffa76d3191bdc032d4cdb.tar.xz
riscv/efi_stub: Add 64bit boot-hartid support on RV64
The boot-hartid can be a 64bit value on RV64 platforms but the "boot-hartid" in DT is assumed to be 32bit only. Detect the size of the "boot-hartid" in DT and use 32bit or 64bit read appropriately. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Link: https://lore.kernel.org/r/20220527051743.2829940-6-sunilvl@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions