linux/arch
Atish Patra 26fb751ca3
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>
2022-01-20 09:27:22 -08:00
..
alpha Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
arc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm64 Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
csky Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
h8300 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
hexagon Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
ia64 Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
m68k Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
microblaze Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
mips Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
nds32 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
nios2 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
openrisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
parisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
powerpc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
riscv RISC-V: Do not use cpumask data structure for hartid bitmap 2022-01-20 09:27:22 -08:00
s390 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sh Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sparc Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
um virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes 2022-01-18 10:05:48 +02:00
x86 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
xtensa Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
.gitignore
Kconfig Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00