1. 21 Apr, 2023 5 commits
    • Thomas Gleixner's avatar
      Merge tag 'irqchip-6.4' of... · f37202aa
      Thomas Gleixner authored
      Merge tag 'irqchip-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core
      
      Pull irqchip changes from Marc Zyngier:
      
       - Large RISC-V IPI rework to make way for a new interrupt
         architecture
      
       - More Loongarch fixes from Lianmin Lv, fixing issues in the so
         called "dual-bridge" systems.
      
       - Workaround for the nvidia T241 chip that gets confused in
         3 and 4 socket configurations, leading to the GIC
         malfunctionning in some contexts
      
       - Drop support for non-firmware driven GIC configurarations
         now that the old ARM11MP Cavium board is gone
      
       - Workaround for the Rockchip 3588 chip that doesn't
         correctly deal with the shareability attributes.
      
       - Replace uses of of_find_property() with the more appropriate
         of_property_read_bool()
      
       - Make bcm-6345-l1 request its MMIO region
      
       - Add suspend support to the SiFive PLIC
      
       - Drop support for stih415, stih416 and stid127 platforms
      
      Link: https://lore.kernel.org/lkml/20230421132104.3021536-1-maz@kernel.org
      f37202aa
    • Marc Zyngier's avatar
      Merge branch irq/misc-6.4 into irq/irqchip-next · 2ff1b083
      Marc Zyngier authored
      * irq/misc-6.4:
        : .
        : Misc irqchip changes for 6.4:
        :
        : - Replace uses of of_find_property() with the more
        :   appropriate of_property_read_bool()
        :
        : - Make bcm-6345-l1 request its MMIO region
        :
        : - Add suspend support to the SiFive PLIC
        :
        : - Drop support for stih415, stih416 and stid127 platforms
        : .
        irqchip/st: Remove stih415/stih416 and stid127 platforms support
        irqchip/irq-sifive-plic: Add syscore callbacks for hibernation
        irqchip: Use of_property_read_bool() for boolean properties
        irqchip/bcm-6345-l1: Request memory region
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      2ff1b083
    • Marc Zyngier's avatar
      Merge branch irq/loongarch-fixes-6.4 into irq/irqchip-next · 275232c0
      Marc Zyngier authored
      * irq/loongarch-fixes-6.4:
        : .
        : More Loongarch fixes from Lianmin Lv, fixing issues
        : in the so called "dual-bridge" systems.
        : .
        irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling
        irqchip/loongson-pch-pic: Fix registration of syscore_ops
        irqchip/loongson-eiointc: Fix registration of syscore_ops
        irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent
        irqchip/loongson-eiointc: Fix returned value on parsing MADT
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      275232c0
    • Marc Zyngier's avatar
      Merge branch irq/riscv-ipi into irq/irqchip-next · e7b5771a
      Marc Zyngier authored
      * irq/riscv-ipi:
        : .
        : RISC-V IPI rework from Anup Patel:
        :
        : "This series aims to improve IPI support in Linux RISC-V in following ways:
        :  1) Treat IPIs as normal per-CPU interrupts instead of having custom RISC-V
        :     specific hooks. This also makes Linux RISC-V IPI support aligned with
        :     other architectures.
        :  2) Remote TLB flushes and icache flushes should prefer local IPIs instead
        :     of SBI calls whenever we have specialized hardware (such as RISC-V AIA
        :     IMSIC and RISC-V SWI) which allows S-mode software to directly inject
        :     IPIs without any assistance from M-mode runtime firmware."
        : .
        irqchip/riscv-intc: Add empty irq_eoi() for chained irq handlers
        RISC-V: Use IPIs for remote icache flush when possible
        RISC-V: Use IPIs for remote TLB flush when possible
        RISC-V: Allow marking IPIs as suitable for remote FENCEs
        RISC-V: Treat IPIs as normal Linux IRQs
        irqchip/riscv-intc: Allow drivers to directly discover INTC hwnode
        RISC-V: Clear SIP bit only when using SBI IPI operations
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      e7b5771a
    • Marc Zyngier's avatar
      Merge branch irq/gic-6.4 into irq/irqchip-next · f39157b3
      Marc Zyngier authored
      * irq/gic-6.4:
        : .
        : Collection of GIC/GICv3 fixes and cleanups
        :
        : - Workaround for the nvidia T241 chip that gets confused
        :   in 3 and 4 socket configurations, leading to the GIC
        :   malfunctionning in some contexts
        :
        : - Drop support for non-firmware driven GIC configurarations
        :   now that the old ARM11MP Cavium board is gone
        :
        : - Workaround for the Rockchip 3588 chip that doesn't
        :   correctly deal with the shareability attributes.
        : .
        irqchip/gic-v3: Add Rockchip 3588001 erratum workaround
        irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4
        irqchip/gic: Drop support for board files
      Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
      f39157b3
  2. 19 Apr, 2023 1 commit
  3. 18 Apr, 2023 1 commit
  4. 15 Apr, 2023 2 commits
    • John Keeping's avatar
      genirq: Update affinity of secondary threads · 80323598
      John Keeping authored
      For interrupts with secondary threads, the affinity is applied when the
      thread is created but if the interrupts affinity is changed later only
      the primary thread is updated.
      
      Update the secondary thread's affinity as well to keep all the interrupts
      activity on the assigned CPUs.
      Signed-off-by: default avatarJohn Keeping <john@metanate.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Link: https://lore.kernel.org/r/20230406180857.588682-1-john@metanate.com
      80323598
    • Lingutla Chandrasekhar's avatar
      softirq: Add trace points for tasklet entry/exit · f4bf3ca2
      Lingutla Chandrasekhar authored
      Tasklets are supposed to finish their work quickly and should not block the
      current running process, but it is not guaranteed that they do so.
      
      Currently softirq_entry/exit can be used to analyse the total tasklets
      execution time, but that's not helpful to track individual tasklets
      execution time. That makes it hard to identify tasklet functions, which
      take more time than expected.
      
      Add tasklet_entry/exit trace point support to track individual tasklet
      execution.
      
      Trivial usage example:
         # echo 1 > /sys/kernel/debug/tracing/events/irq/tasklet_entry/enable
         # echo 1 > /sys/kernel/debug/tracing/events/irq/tasklet_exit/enable
         # cat /sys/kernel/debug/tracing/trace
       # tracer: nop
       #
       # entries-in-buffer/entries-written: 4/4   #P:4
       #
       #                                _-----=> irqs-off/BH-disabled
       #                               / _----=> need-resched
       #                              | / _---=> hardirq/softirq
       #                              || / _--=> preempt-depth
       #                              ||| / _-=> migrate-disable
       #                              |||| /     delay
       #           TASK-PID     CPU#  |||||  TIMESTAMP  FUNCTION
       #              | |         |   |||||     |         |
                 <idle>-0       [003] ..s1.   314.011428: tasklet_entry: tasklet=0xffffa01ef8db2740 function=tcp_tasklet_func
                 <idle>-0       [003] ..s1.   314.011432: tasklet_exit: tasklet=0xffffa01ef8db2740 function=tcp_tasklet_func
                 <idle>-0       [003] ..s1.   314.017369: tasklet_entry: tasklet=0xffffa01ef8db2740 function=tcp_tasklet_func
                 <idle>-0       [003] ..s1.   314.017371: tasklet_exit: tasklet=0xffffa01ef8db2740 function=tcp_tasklet_func
      Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
      Signed-off-by: default avatarJ. Avila <elavila@google.com>
      Signed-off-by: default avatarJohn Stultz <jstultz@google.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
      Link: https://lore.kernel.org/r/20230407230526.1685443-1-jstultz@google.com
      
      [elavila: Port to android-mainline]
      [jstultz: Rebased to upstream, cut unused trace points, added
       comments for the tracepoints, reworded commit]
      f4bf3ca2
  5. 08 Apr, 2023 17 commits
  6. 02 Apr, 2023 5 commits
  7. 01 Apr, 2023 5 commits
    • Linus Torvalds's avatar
      Merge tag '6.3-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6 · f7772da6
      Linus Torvalds authored
      Pull cifs client fixes from Steve French:
       "Four cifs/smb3 client (reconnect and DFS related) fixes, including two
        for stable:
      
         - DFS oops fix
      
         - DFS reconnect recursion fix
      
         - An SMB1 parallel reconnect fix
      
         - Trivial dead code removal in smb2_reconnect"
      
      * tag '6.3-rc4-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: get rid of dead check in smb2_reconnect()
        cifs: prevent infinite recursion in CIFSGetDFSRefer()
        cifs: avoid races in parallel reconnects in smb1
        cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
      f7772da6
    • Linus Torvalds's avatar
      Merge tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 00c7b5f4
      Linus Torvalds authored
      Pull input fixes from Dmitry Torokhov:
      
       - fixes to ALPS and Focaltech PS/2 drivers dealing with the breakage of
         switching to -funsigned-char
      
       - quirks to i8042 to better handle Lifebook A574/H and TUXEDO devices
      
       - a quirk to Goodix touchscreen driver to handle Yoga Book X90F
      
       - a fix for incorrectly merged patch to xpad game controller driver
      
      * tag 'input-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix
        Input: alps - fix compatibility with -funsigned-char
        Input: focaltech - use explicitly signed char type
        Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON
        Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
        Input: i8042 - add quirk for Fujitsu Lifebook A574/H
      00c7b5f4
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 93e2b017
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Some pin control fixes for the v6.3 series.
      
        The most notable and urgent one is probably the AMD fix which affects
        AMD laptops, found by the Chromium people.
      
        Summary:
      
         - Fix up the Kconfig options for MediaTek MT7981
      
         - Fix the irq domain name in the AT91-PIO4 driver
      
         - Fix some alternative muxing modes in the Ocelot driver
      
         - Allocate the GPIO numbers dynamically in the STM32 driver
      
         - Disable and mask interrupts on resume in the AMD driver
      
         - Fix a typo in the Qualcomm SM8550 pin control device tree bindings"
      
      * tag 'pinctrl-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        dt-bindings: pinctrl: qcom,sm8550-lpass-lpi: allow input-enabled and bias-bus-hold
        pinctrl: amd: Disable and mask interrupts on resume
        pinctrl: stm32: use dynamic allocation of GPIO base
        pinctrl: ocelot: Fix alt mode for ocelot
        pinctrl: at91-pio4: fix domain name assignment
        pinctrl: mediatek: fix naming inconsistency
        pinctrl: mediatek: add missing options to PINCTRL_MT7981
      93e2b017
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v6.3-2' of... · ce0c2375
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix linux-headers debian package
      
       - Fix a merge_config.sh error due to a misspelled variable
      
       - Fix modversion for 32-bit build machines
      
      * tag 'kbuild-fixes-v6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        modpost: Fix processing of CRCs on 32-bit build machines
        scripts: merge_config: Fix typo in variable name.
        kbuild: deb-pkg: set version for linux-headers paths
      ce0c2375
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 92367fdf
      Linus Torvalds authored
      Pull iommu fixes from Joerg Roedel:
      
       - Maintainer update for S390 IOMMU driver
      
       - A fix for the set_platform_dma_ops() call-back in the Exynos
         IOMMU driver
      
       - Intel VT-d fixes from Lu Baolu:
          - Fix a lockdep splat
          - Fix a supplement of the specification
          - Fix a warning in perfmon code
      
      * tag 'iommu-fixes-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/vt-d: Fix an IOMMU perfmon warning when CPU hotplug
        iommu/vt-d: Allow zero SAGAW if second-stage not supported
        iommu/vt-d: Remove unnecessary locking in intel_irq_remapping_alloc()
        iommu/exynos: Fix set_platform_dma_ops() callback
        MAINTAINERS: Update s390-iommu driver maintainer information
      92367fdf
  8. 31 Mar, 2023 4 commits