1. 09 Aug, 2022 33 commits
  2. 08 Aug, 2022 7 commits
    • Linus Torvalds's avatar
      Merge tag 'rproc-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 5d5d353b
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "This introduces support for the remoteproc on Mediatek MT8188, and
        enables caches for MT8186 SCP. It adds support for PRU cores found on
        the TI K3 AM62x SoCs.
      
        It moves the recovery work after a firmware crash to an unbound
        workqueue, to allow recovery to happen in parallel.
      
        A new DMA API is introduced to release dma_mem for a device.
      
        It adds support a panic handler for the Qualcomm modem remoteproc,
        with the goal of having caches flushed in memory dumps for post-mortem
        debugging and it introduces a mechanism to wait for the modem firmware
        on SM8450 to decrypt part of its memory for post-mortem debugging.
      
        Qualcomm sysmon is restricted to only inform remote processors about
        peers that are actually running, to avoid a race where Linux tries to
        notify a recovering remote processor about its peers new state. A
        mechanism for waiting for the sysmon connection to be established is
        also introduced, to avoid out-of-sync updates for rapidly restarting
        remote processors.
      
        A number of Devicetree binding cleanups and conversions to YAML are
        introduced, to facilitate Devicetree validation. Lastly it introduces
        a number of smaller fixes and cleanups in the core and a few different
        drivers"
      
      * tag 'rproc-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (42 commits)
        remoteproc: qcom_q6v5_pas: Do not fail if regulators are not found
        drivers/remoteproc: fix repeated words in comments
        remoteproc: Directly use ida_alloc()/free()
        remoteproc: Use unbounded workqueue for recovery work
        remoteproc: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
        remoteproc: qcom_q6v5_pas: Deal silently with optional px and cx regulators
        remoteproc: sysmon: Send sysmon state only for running rprocs
        remoteproc: sysmon: Wait for SSCTL service to come up
        remoteproc: qcom: q6v5: Set q6 state to offline on receiving wdog irq
        remoteproc: qcom: pas: Check if coredump is enabled
        remoteproc: qcom: pas: Mark devices as wakeup capable
        remoteproc: qcom: pas: Mark va as io memory
        remoteproc: qcom: pas: Add decrypt shutdown support for modem
        remoteproc: qcom: q6v5-mss: add powerdomains to MSM8996 config
        remoteproc: qcom_q6v5: Introduce panic handler for MSS
        remoteproc: qcom_q6v5_mss: Update MBA log info
        remoteproc: qcom: correct kerneldoc
        remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use
        remoteproc: qcom: using pm_runtime_resume_and_get to simplify the code
        remoteproc: mediatek: Support MT8188 SCP
        ...
      5d5d353b
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · c7268761
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This contains fixes and cleanups in the rpmsg core, Qualcomm SMD and
        GLINK drivers, a circular lock dependency in the Mediatek driver and
        a possible race condition in the rpmsg_char driver is resolved"
      
      * tag 'rpmsg-v5.20' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: convert sysfs snprintf to sysfs_emit
        rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
        rpmsg: qcom: correct kerneldoc
        rpmsg: qcom: glink: remove unused name
        rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
        rpmsg: Strcpy is not safe, use strscpy_pad() instead
        rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
        rpmsg: Fix parameter naming for announce_create/destroy ops
        rpmsg: mtk_rpmsg: Fix circular locking dependency
        rpmsg: char: Add mutex protection for rpmsg_eptdev_open()
      c7268761
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-5.20-rc1' of git://www.linux-watchdog.org/linux-watchdog · e6cc0b56
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - add RTL9310 support
      
       - sp805_wdt: add arm cmsdk apb wdt support
      
       - Remove #ifdef guards for PM related functions for several watchdog
         device drivers
      
       - pm8916_wdt reboot improvements
      
       - Several other fixes and improvements
      
      * tag 'linux-watchdog-5.20-rc1' of git://www.linux-watchdog.org/linux-watchdog: (24 commits)
        watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
        watchdog: dw_wdt: Fix comment typo
        watchdog: Fix comment typo
        dt-bindings: watchdog: Add fsl,scu-wdt yaml file
        watchdog:Fix typo in comment
        watchdog: pm8916_wdt: Handle watchdog enabled by bootloader
        watchdog: pm8916_wdt: Report reboot reason
        watchdog: pm8916_wdt: Avoid read of write-only PET register
        watchdog: wdat_wdt: Remove #ifdef guards for PM related functions
        watchdog: tegra_wdt: Remove #ifdef guards for PM related functions
        watchdog: st_lpc_wdt: Remove #ifdef guards for PM related functions
        watchdog: sama5d4_wdt: Remove #ifdef guards for PM related functions
        watchdog: s3c2410_wdt: Remove #ifdef guards for PM related functions
        watchdog: mtk_wdt: Remove #ifdef guards for PM related functions
        watchdog: dw_wdt: Remove #ifdef guards for PM related functions
        watchdog: bcm7038_wdt: Remove #ifdef guards for PM related functions
        watchdog: realtek-otto: add RTL9310 support
        dt-bindings: watchdog: realtek,otto-wdt: add RTL9310
        watchdog: sp805_wdt: add arm cmsdk apb wdt support
        watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource
        ...
      e6cc0b56
    • Linus Torvalds's avatar
      Merge tag 'pm-5.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 507f811f
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These are ARM cpufreq updates and operating performance points (OPP)
        updates plus one cpuidle update adding a new trace point.
      
        Specifics:
      
         - Fix return error code in mtk_cpu_dvfs_info_init (Yang Yingliang).
      
         - Minor cleanups and support for new boards for Qcom cpufreq drivers
           (Bryan O'Donoghue, Konrad Dybcio, Pierre Gondois, and Yicong Yang).
      
         - Fix sparse warnings for Tegra cpufreq driver (Viresh Kumar).
      
         - Make dev_pm_opp_set_regulators() accept NULL terminated list
           (Viresh Kumar).
      
         - Add dev_pm_opp_set_config() and friends and migrate other users and
           helpers to using them (Viresh Kumar).
      
         - Add support for multiple clocks for a device (Viresh Kumar and
           Krzysztof Kozlowski).
      
         - Configure resources before adding OPP table for Venus (Stanimir
           Varbanov).
      
         - Keep reference count up for opp->np and opp_table->np while they
           are still in use (Liang He).
      
         - Minor OPP cleanups (Viresh Kumar and Yang Li).
      
         - Add a trace event for cpuidle to track missed (too deep or too
           shallow) wakeups (Kajetan Puchalski)"
      
      * tag 'pm-5.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (55 commits)
        cpuidle: Add cpu_idle_miss trace event
        venus: pm_helpers: Fix warning in OPP during probe
        OPP: Don't drop opp->np reference while it is still in use
        OPP: Don't drop opp_table->np reference while it is still in use
        cpufreq: tegra194: Staticize struct tegra_cpufreq_soc instances
        dt-bindings: cpufreq: cpufreq-qcom-hw: Add SM6375 compatible
        dt-bindings: opp: Add msm8939 to the compatible list
        dt-bindings: opp: Add missing compat devices
        dt-bindings: opp: opp-v2-kryo-cpu: Fix example binding checks
        cpufreq: Change order of online() CB and policy->cpus modification
        cpufreq: qcom-hw: Remove deprecated irq_set_affinity_hint() call
        cpufreq: qcom-hw: Disable LMH irq when disabling policy
        cpufreq: qcom-hw: Reset cancel_throttle when policy is re-enabled
        cpufreq: qcom-cpufreq-hw: use HZ_PER_KHZ macro in units.h
        cpufreq: mediatek: fix error return code in mtk_cpu_dvfs_info_init()
        OPP: Remove dev{m}_pm_opp_of_add_table_noclk()
        PM / devfreq: tegra30: Register config_clks helper
        OPP: Allow config_clks helper for single clk case
        OPP: Provide a simple implementation to configure multiple clocks
        OPP: Assert clk_count == 1 for single clk helpers
        ...
      507f811f
    • Linus Torvalds's avatar
      Merge tag 'thermal-5.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 033c88d5
      Linus Torvalds authored
      Pull more thermal control updates from Rafael Wysocki:
       "These fix an error code path issue leading to a NULL pointer
        dereference, drop Kconfig dependencies that are not needed any more
        after recent changes, add CPU IDs for new chips to a driver and fix up
        the tmon utility.
      
        Specifics:
      
         - Fix NULL pointer dereference in the thermal sysfs interface that
           results from an error code path mishandling (Rafael Wysocki).
      
         - Drop COMPILE_TEST dependency that's not needed any more from two
           thermal Kconfig entries (Jean Delvare).
      
         - Make the Intel TCC cooling driver support Alder Lake-N and Raptor
           Lake-P (Sumeet Pawnikar).
      
         - Fix possible path truncations in the tmon utility (Florian
           Fainelli)"
      
      * tag 'thermal-5.20-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        tools/thermal: Fix possible path truncations
        thermal: Drop obsolete dependency on COMPILE_TEST
        thermal: sysfs: Fix cooling_device_stats_setup() error code path
        thermal: intel: Add TCC cooling support for Alder Lake-N and Raptor Lake-P
      033c88d5
    • Linus Torvalds's avatar
      Merge tag 'sysctl-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · d5af75f7
      Linus Torvalds authored
      Pull sysctl updates from Luis Chamberlain:
       "There isn't much for 6.0 for sysctl stuff, most of the stuff went
        through the networking subsystem (Kuniyuki Iwashima's trove of fixes
        using READ_ONCE/WRITE_ONCE helpers) as most of the issues there have
        been identified on networking side. So it is good we don't have much
        updates as we would have ended up with tons of conflicts. I rebased my
        delta just now to your tree so to avoid conflicts with that stuff.
        This merge request is just minor fluff cleanups then. Perhaps for 6.1
        kernel/sysctl.c will get more love than this release"
      
      * tag 'sysctl-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        kernel/sysctl.c: Remove trailing white space
        kernel/sysctl.c: Clean up indentation, replace spaces with tab.
        sysctl: Merge adjacent CONFIG_TREE_RCU blocks
      d5af75f7
    • Linus Torvalds's avatar
      Merge tag 'modules-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux · e74acdf5
      Linus Torvalds authored
      Pull module updates from Luis Chamberlain:
       "For the 6.0 merge window the modules code shifts to cleanup and minor
        fixes effort. This becomes much easier to do and review now due to the
        code split to its own directory from effort on the last kernel
        release. I expect to see more of this with time and as we expand on
        test coverage in the future. The cleanups and fixes come from usual
        suspects such as Christophe Leroy and Aaron Tomlin but there are also
        some other contributors.
      
        One particular minor fix worth mentioning is from Helge Deller, where
        he spotted a *forever* incorrect natural alignment on both ELF section
        header tables:
      
          * .altinstructions
          * __bug_table sections
      
        A lot of back and forth went on in trying to determine the ill effects
        of this misalignment being present for years and it has been
        determined there should be no real ill effects unless you have a buggy
        exception handler. Helge actually hit one of these buggy exception
        handlers on parisc which is how he ended up spotting this issue. When
        implemented correctly these paths with incorrect misalignment would
        just mean a performance penalty, but given that we are dealing with
        alternatives on modules and with the __bug_table (where info regardign
        BUG()/WARN() file/line information associated with it is stored) this
        really shouldn't be a big deal.
      
        The only other change with mentioning is the kmap() with
        kmap_local_page() and my only concern with that was on what is done
        after preemption, but the virtual addresses are restored after
        preemption. This is only used on module decompression.
      
        This all has sit on linux-next for a while except the kmap stuff which
        has been there for 3 weeks"
      
      * tag 'modules-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux:
        module: Replace kmap() with kmap_local_page()
        module: Show the last unloaded module's taint flag(s)
        module: Use strscpy() for last_unloaded_module
        module: Modify module_flags() to accept show_state argument
        module: Move module's Kconfig items in kernel/module/
        MAINTAINERS: Update file list for module maintainers
        module: Use vzalloc() instead of vmalloc()/memset(0)
        modules: Ensure natural alignment for .altinstructions and __bug_table sections
        module: Increase readability of module_kallsyms_lookup_name()
        module: Fix ERRORs reported by checkpatch.pl
        module: Add support for default value for module async_probe
      e74acdf5