mbox series

[v2,0/3] RISC-V: Fix cpumask rework fall-out

Message ID cover.1644396407.git.geert@linux-m68k.org (mailing list archive)
Headers show
Series RISC-V: Fix cpumask rework fall-out | expand

Message

Geert Uytterhoeven Feb. 9, 2022, 8:53 a.m. UTC
Hi all,

This patch series fixes the fall-out from commit 26fb751ca37846c9
("RISC-V: Do not use cpumask data structure for hartid bitmap"), cfr.
the discussion in thread[1].  Most important, it fixes userspace crashes
on systems where the first CPU does not have the lowest Hart ID.

Changes compared to v1[2]:
  - Add Reviewed-by, Tested-by.

Thanks for applying!

[1] "[PATCH v3 6/6] RISC-V: Do not use cpumask data structure for hartid
     bitmap"
    https://lore.kernel.org/r/20220120090918.2646626-7-atishp@rivosinc.com/
[2] "[PATCH 0/3] RISC-V: Fix cpumask rework falloout"
    https://lore.kernel.org/all/cover.1643635156.git.geert@linux-m68k.org/

Geert Uytterhoeven (3):
  RISC-V: Fix hartid mask handling for hartid 31 and up
  RISC-V: Fix handling of empty cpu masks
  RISC-V: Fix IPI/RFENCE hmask on non-monotonic hartid ordering

 arch/riscv/kernel/sbi.c | 72 +++++++++++++++++++++++++++--------------
 1 file changed, 47 insertions(+), 25 deletions(-)