Merge tag 'riscv-for-linus-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Paul Walmsley:

 - Fix a bug in the context switch code that can allow the switched-to
   task to inadvertently inherit the supervisor user memory access
   privilege from the switched-from task

 - Protect the regs->status RMW sequences in the vector register context
   switch code, to fix a potential floating point state corruption bug

 - Fix the return values from the early boot unaligned access speed
   detection functions called by __setup() to return 0 on failure,
   rather than an error code, as 0 is what __setup() expects to receive
   upon an error

 - Prevent the DTB from being potentially overwritten early in boot by
   reserving it in memblock before scanning the /reserved-memory section
   of the DTB

 - Fix hugetlb vmemmap optimization and a few other code paths that map
   kernel pages as read-only by defining PAGE_KERNEL_RO

 - Fix an error path in kgdb_riscv_notify() to add a missing
   local_irq_restore()

 - Fix the RISC-V defconfig to enable heap randomization by default by
   removing CONFIG_COMPAT_BRK, which shouldn't have been there in the
   first place; and to enable building onboard USB hub support as a
   module to better support the SpacemiT K1

 - Fix CONFIG_RISCV_ISA_SV{48,57} to depend on CONFIG_MMU, since they
   are virtual memory configuration options that by definition require
   MMU support

 - Fix a missing space in the SpacemiT K1 DTS file

* tag 'riscv-for-linus-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
  riscv: mm: reserve the DTB before scanning reserved memory
  riscv: unaligned: fix __setup handlers
  riscv: dts: spacemit: k1: Correct missing space
  riscv: defconfig: enable onboard USB hub support
  riscv: signal: protect regs->status RMW from concurrent preemption
  riscv: mm: Define PAGE_KERNEL_RO
  riscv: kgdb: Fix potential missing local_irq_restore() call
  riscv: RISCV_ISA_SV48 and RISCV_ISA_SV57 should depend on MMU
  riscv: defconfig: Disable COMPAT_BRK
  riscv: Fix SR_SUM leakage across context switches