linux/arch
Atish Patra 6825c7a80f
RISC-V: Add logical CPU indexing for RISC-V
Currently, both Linux CPU id and hart id are same.
This is not recommended as it will lead to discontinuous CPU
indexing in Linux. Moreover, kdump kernel will run from CPU0
which would be absent if we follow existing scheme.

Implement a logical mapping between Linux CPU id and hart
id to decouple these two. Always mark the boot processor as
CPU0 and all other CPUs get the logical CPU id based on their
booting order.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2018-10-22 17:03:37 -07:00
..
alpha
arc ARC: clone syscall to setp r25 as thread pointer 2018-10-05 14:33:29 -07:00
arm Leftover bugfixes. 2018-10-13 15:11:15 +02:00
arm64 arm64: perf: Reject stand-alone CHAIN events for PMUv3 2018-10-12 15:25:17 +01:00
c6x
h8300
hexagon
ia64
m68k
microblaze
mips MIPS: memset: Fix CPU_DADDI_WORKAROUNDS `small_fixup' regression 2018-10-05 09:41:39 -07:00
nds32
nios2
openrisc
parisc parisc: Fix uninitialized variable usage in unwind.c 2018-10-16 11:37:29 +02:00
powerpc libnvdimm/dax 4.19-rc8 2018-10-14 08:34:31 +02:00
riscv RISC-V: Add logical CPU indexing for RISC-V 2018-10-22 17:03:37 -07:00
s390 s390 fixes for 4.19-rc8 2018-10-10 08:44:35 +02:00
sh
sparc sparc: vDSO: Silence an uninitialized variable warning 2018-10-17 21:55:02 -07:00
um
unicore32
x86 x86/swiotlb: Enable swiotlb for > 4GiG RAM on 32-bit kernels 2018-10-19 07:49:32 +02:00
xtensa
.gitignore
Kconfig