diff options
author | Atish Patra | 2022-01-20 01:09:18 -0800 |
---|---|---|
committer | Palmer Dabbelt | 2022-01-20 09:27:22 -0800 |
commit | 26fb751ca37846c912daa347be298bfd945cc560 (patch) | |
tree | 545d865d622b096c9c193adba2ebd64b3d79c76a /crypto | |
parent | 2ffc48fc7071da4b2d881b0f21d37ed05feb697b (diff) |
RISC-V: Do not use cpumask data structure for hartid bitmap
Currently, SBI APIs accept a hartmask that is generated from struct
cpumask. Cpumask data structure can hold upto NR_CPUs value. Thus, it
is not the correct data structure for hartids as it can be higher
than NR_CPUs for platforms with sparse or discontguous hartids.
Remove all association between hartid mask and struct cpumask.
Reviewed-by: Anup Patel <anup@brainfault.org> (For Linux RISC-V changes)
Acked-by: Anup Patel <anup@brainfault.org> (For KVM RISC-V changes)
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions