1. 19 Apr, 2022 1 commit
  2. 14 Apr, 2022 3 commits
  3. 13 Apr, 2022 3 commits
  4. 12 Apr, 2022 2 commits
    • Samuel Holland's avatar
      of/irq: Use interrupts-extended to find parent · e9103362
      Samuel Holland authored
      The RISC-V PLIC binding uses interrupts-extended to specify its parent
      domain(s). That binding does not allow the interrupt-parent property to
      appear in the irqchip node. This prevents of_irq_init from properly
      detecting the irqchip hierarchy.
      
      If no interrupt-parent property is present in the enclosing bus or root
      node, then desc->interrupt_parent will be NULL for both the per-CPU
      RISC-V INTC (the actual root domain) and the RISC-V PLIC. Similarly, if
      the bus or root node specifies `interrupt-parent = <&plic>`, then
      of_irq_init will hit the `desc->interrupt_parent == np` check, and again
      all parents will be NULL. So things happen to work today for some boards
      due to Makefile ordering.
      
      However, things break when another irqchip ("foo") is stacked on top of
      the PLIC. The bus or root node will have `interrupt-parent = <&foo>`,
      since that is what all of the other peripherals need. When of_irq_init
      runs, it will try to find the PLIC's parent domain. of_irq_find_parent
      will fall back to using the interrupt-parent property of the PLIC's
      parent node (i.e. the bus or root node), and of_irq_init will see "foo"
      as the PLIC's parent domain. But this is wrong, because "foo" is
      actually the PLIC's child domain!
      
      So of_irq_init wrongly attempts to init the stacked irqchip before the
      PLIC. This fails and breaks booting.
      
      Fix this by using the first node referenced by interrupts-extended as
      the parent when that property is present. This allows of_irq_init to see
      the relationship between the PLIC and the per-CPU RISC-V INTC, and thus
      only the RISC-V INTC is (correctly) considered a root domain.
      Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20220412051529.6293-1-samuel@sholland.org
      e9103362
    • Krzysztof Kozlowski's avatar
      dt-bindings: power: renesas,rcar-sysc: correct typo in path · 61cada8d
      Krzysztof Kozlowski authored
      Fix typo '.' -> '/' in the path to headers.
      
      Fixes: 981a3405 ("dt-bindings: power: renesas,rcar-sysc: drop useless consumer example")
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20220411095317.221317-1-krzysztof.kozlowski@linaro.org
      61cada8d
  5. 08 Apr, 2022 6 commits
  6. 07 Apr, 2022 9 commits
  7. 06 Apr, 2022 3 commits
  8. 05 Apr, 2022 6 commits
  9. 04 Apr, 2022 5 commits
  10. 03 Apr, 2022 2 commits
    • Linus Torvalds's avatar
      Linux 5.18-rc1 · 31231092
      Linus Torvalds authored
      31231092
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 09bb8856
      Linus Torvalds authored
      Pull more tracing updates from Steven Rostedt:
      
       - Rename the staging files to give them some meaning. Just
         stage1,stag2,etc, does not show what they are for
      
       - Check for NULL from allocation in bootconfig
      
       - Hold event mutex for dyn_event call in user events
      
       - Mark user events to broken (to work on the API)
      
       - Remove eBPF updates from user events
      
       - Remove user events from uapi header to keep it from being installed.
      
       - Move ftrace_graph_is_dead() into inline as it is called from hot
         paths and also convert it into a static branch.
      
      * tag 'trace-v5.18-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Move user_events.h temporarily out of include/uapi
        ftrace: Make ftrace_graph_is_dead() a static branch
        tracing: Set user_events to BROKEN
        tracing/user_events: Remove eBPF interfaces
        tracing/user_events: Hold event_mutex during dyn_event_add
        proc: bootconfig: Add null pointer check
        tracing: Rename the staging files for trace_events
      09bb8856