• Linus Torvalds's avatar
    Merge tag 'riscv-for-linus-5.11-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · e2ae6340
    Linus Torvalds authored
    Pull RISC-V updates from Palmer Dabbelt:
     "We have a handful of new kernel features for 5.11:
    
       - Support for the contiguous memory allocator.
    
       - Support for IRQ Time Accounting
    
       - Support for stack tracing
    
       - Support for strict /dev/mem
    
       - Support for kernel section protection
    
      I'm being a bit conservative on the cutoff for this round due to the
      timing, so this is all the new development I'm going to take for this
      cycle (even if some of it probably normally would have been OK). There
      are, however, some fixes on the list that I will likely be sending
      along either later this week or early next week.
    
      There is one issue in here: one of my test configurations
      (PREEMPT{,_DEBUG}=y) fails to boot on QEMU 5.0.0 (from April) as of
      the .text.init alignment patch.
    
      With any luck we'll sort out the issue, but given how many bugs get
      fixed all over the place and how unrelated those features seem my
      guess is that we're just running into something that's been lurking
      for a while and has already been fixed in the newer QEMU (though I
      wouldn't be surprised if it's one of these implicit assumptions we
      have in the boot flow). If it was hardware I'd be strongly inclined to
      look more closely, but given that users can upgrade their simulators
      I'm less worried about it"
    
    * tag 'riscv-for-linus-5.11-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
      arm64: Use the generic devmem_is_allowed()
      arm: Use the generic devmem_is_allowed()
      RISC-V: Use the new generic devmem_is_allowed()
      lib: Add a generic version of devmem_is_allowed()
      riscv: Fixed kernel test robot warning
      riscv: kernel: Drop unused clean rule
      riscv: provide memmove implementation
      RISC-V: Move dynamic relocation section under __init
      RISC-V: Protect all kernel sections including init early
      RISC-V: Align the .init.text section
      RISC-V: Initialize SBI early
      riscv: Enable ARCH_STACKWALK
      riscv: Make stack walk callback consistent with generic code
      riscv: Cleanup stacktrace
      riscv: Add HAVE_IRQ_TIME_ACCOUNTING
      riscv: Enable CMA support
      riscv: Ignore Image.* and loader.bin
      riscv: Clean up boot dir
      riscv: Fix compressed Image formats build
      RISC-V: Add kernel image sections to the resource tree
    e2ae6340
head.S 7.66 KB