Skip to content

RISC-V: Fix cpumask rework fall-out

Geert Uytterhoeven linux-riscv lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3RISC-V: Fix hartid mask handling for hartid 31 and uparch/riscv/kernel/sbi.c+4 -30 replies
2/3RISC-V: Fix handling of empty cpu masksarch/riscv/kernel/sbi.c+4 -40 replies
3/3RISC-V: Fix IPI/RFENCE hmask on non-monotonic hartid orderingarch/riscv/kernel/sbi.c+39 -180 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAtish PatraEmil Renner Berthing
1/3R-b T-b
2/3R-b T-b
3/3R-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] RISC-V: Fix cpumask rework fall-out

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/[email protected]/
[2] "[PATCH 0/3] RISC-V: Fix cpumask rework falloout"
    https://lore.kernel.org/all/[email protected]/

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(-)
Signature · 12 lines
2.25.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds