1. 28 Jul, 2022 34 commits
  2. 30 Jun, 2022 1 commit
  3. 25 May, 2022 1 commit
  4. 24 May, 2022 4 commits
    • Linus Torvalds's avatar
      Merge tag 'devprop-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 268db333
      Linus Torvalds authored
      Pull device properties framework updates from Rafael Wysocki:
       "These mostly extend the device property API and make it easier to use
        in some cases.
      
        Specifics:
      
         - Allow error pointer to be passed to fwnode APIs (Andy Shevchenko).
      
         - Introduce fwnode_for_each_parent_node() (Andy Shevchenko, Douglas
           Anderson).
      
         - Advertise fwnode and device property count API calls (Andy
           Shevchenko).
      
         - Clean up fwnode_is_ancestor_of() (Andy Shevchenko).
      
         - Convert device_{dma_supported,get_dma_attr} to fwnode (Sakari
           Ailus).
      
         - Release subnode properties with data nodes (Sakari Ailus).
      
         - Add ->iomap() and ->irq_get() to fwnode operations (Sakari Ailus)"
      
      * tag 'devprop-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        device property: Advertise fwnode and device property count API calls
        device property: Fix recent breakage of fwnode_get_next_parent_dev()
        device property: Drop 'test' prefix in parameters of fwnode_is_ancestor_of()
        device property: Introduce fwnode_for_each_parent_node()
        device property: Allow error pointer to be passed to fwnode APIs
        ACPI: property: Release subnode properties with data nodes
        device property: Add irq_get to fwnode operation
        device property: Add iomap to fwnode operations
        ACPI: property: Move acpi_fwnode_device_get_match_data() up
        device property: Convert device_{dma_supported,get_dma_attr} to fwnode
      268db333
    • Linus Torvalds's avatar
      Merge tag 'thermal-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f4fb8596
      Linus Torvalds authored
      Pull thermal control updates from Rafael Wysocki:
       "These add a thermal library and thermal tools to wrap the netlink
        interface into event-based callbacks, improve overheat condition
        handling during suspend-to-idle on Intel SoCs, add some new hardware
        support, fix bugs and clean up code.
      
        Specifics:
      
         - Add thermal library and thermal tools to encapsulate the netlink
           into event based callbacks (Daniel Lezcano, Jiapeng Chong).
      
         - Improve overheat condition handling during suspend-to-idle in the
           Intel PCH thermal driver (Zhang Rui).
      
         - Use local ops instead of global ops in devfreq_cooling (Kant Fan).
      
         - Clean up _OSC handling in int340x (Davidlohr Bueso).
      
         - Switch hisi_termal from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
           (Hesham Almatary).
      
         - Add new k3 j72xx bangdap driver and the corresponding bindings
           (Keerthy).
      
         - Fix missing of_node_put() in the SC iMX driver at probe time
           (Miaoqian Lin).
      
         - Fix memory leak in __thermal_cooling_device_register()
           when device_register() fails by calling
           thermal_cooling_device_destroy_sysfs() (Yang Yingliang).
      
         - Add sc8180x and sc8280xp compatible string in the DT bindings and
           lMH support for QCom tsens driver (Bjorn Andersson).
      
         - Fix OTP Calibration Register values conforming to the documentation
           on RZ/G2L and bindings documentation for RZ/G2UL (Biju Das).
      
         - Fix type in kerneldoc description for __thermal_bind_params
           (Corentin Labbe).
      
         - Fix potential NULL dereference in sr_thermal_probe() on Broadcom
           platform (Zheng Yongjun).
      
         - Add change mode ops to the thermal-of sensor (Manaf Meethalavalappu
           Pallikunhi).
      
         - Fix non-negative value support by preventing the value to be clamp
           to zero (Stefan Wahren).
      
         - Add compatible string and DT bindings for MSM8960 tsens driver
           (Dmitry Baryshkov).
      
         - Add hwmon support for K3 driver (Massimiliano Minella).
      
         - Refactor and add multiple generations support for QCom ADC driver
           (Jishnu Prakash).
      
         - Use platform_get_irq_optional() to get the interrupt on RCar driver
           and document Document RZ/V2L bindings (Lad Prabhakar).
      
         - Remove NULL check after container_of() call from the Intel HFI
           thermal driver (Haowen Bai)"
      
      * tag 'thermal-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (38 commits)
        thermal: intel: pch: improve the cooling delay log
        thermal: intel: pch: enhance overheat handling
        thermal: intel: pch: move cooling delay to suspend_noirq phase
        PM: wakeup: expose pm_wakeup_pending to modules
        thermal: k3_j72xx_bandgap: Add the bandgap driver support
        dt-bindings: thermal: k3-j72xx: Add VTM bindings documentation
        thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe
        thermal/core: Fix memory leak in __thermal_cooling_device_register()
        dt-bindings: thermal: tsens: Add sc8280xp compatible
        dt-bindings: thermal: lmh: Add Qualcomm sc8180x compatible
        thermal/drivers/qcom/lmh: Add sc8180x compatible
        thermal/drivers/rz2gl: Fix OTP Calibration Register values
        dt-bindings: thermal: rzg2l-thermal: Document RZ/G2UL bindings
        thermal: thermal_of: fix typo on __thermal_bind_params
        tools/thermal: remove unneeded semicolon
        tools/lib/thermal: remove unneeded semicolon
        thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
        tools/thermal: Add thermal daemon skeleton
        tools/thermal: Add a temperature capture tool
        tools/thermal: Add util library
        ...
      f4fb8596
    • Linus Torvalds's avatar
      Merge tag 'pm-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 09583dfe
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "These add support for 'artificial' Energy Models in which power
        numbers for different entities may be in different scales, add support
        for some new hardware, fix bugs and clean up code in multiple places.
      
        Specifics:
      
         - Update the Energy Model support code to allow the Energy Model to
           be artificial, which means that the power values may not be on a
           uniform scale with other devices providing power information, and
           update the cpufreq_cooling and devfreq_cooling thermal drivers to
           support artificial Energy Models (Lukasz Luba).
      
         - Make DTPM check the Energy Model type (Lukasz Luba).
      
         - Fix policy counter decrementation in cpufreq if Energy Model is in
           use (Pierre Gondois).
      
         - Add CPU-based scaling support to passive devfreq governor (Saravana
           Kannan, Chanwoo Choi).
      
         - Update the rk3399_dmc devfreq driver (Brian Norris).
      
         - Export dev_pm_ops instead of suspend() and resume() in the IIO
           chemical scd30 driver (Jonathan Cameron).
      
         - Add namespace variants of EXPORT[_GPL]_SIMPLE_DEV_PM_OPS and
           PM-runtime counterparts (Jonathan Cameron).
      
         - Move symbol exports in the IIO chemical scd30 driver into the
           IIO_SCD30 namespace (Jonathan Cameron).
      
         - Avoid device PM-runtime usage count underflows (Rafael Wysocki).
      
         - Allow dynamic debug to control printing of PM messages (David
           Cohen).
      
         - Fix some kernel-doc comments in hibernation code (Yang Li, Haowen
           Bai).
      
         - Preserve ACPI-table override during hibernation (Amadeusz
           Sławiński).
      
         - Improve support for suspend-to-RAM for PSCI OSI mode (Ulf Hansson).
      
         - Make Intel RAPL power capping driver support the RaptorLake and
           AlderLake N processors (Zhang Rui, Sumeet Pawnikar).
      
         - Remove redundant store to value after multiply in the RAPL power
           capping driver (Colin Ian King).
      
         - Add AlderLake processor support to the intel_idle driver (Zhang
           Rui).
      
         - Fix regression leading to no genpd governor in the PSCI cpuidle
           driver and fix the riscv-sbi cpuidle driver to allow a genpd
           governor to be used (Ulf Hansson).
      
         - Fix cpufreq governor clean up code to avoid using kfree() directly
           to free kobject-based items (Kevin Hao).
      
         - Prepare cpufreq for powerpc's asm/prom.h cleanup (Christophe
           Leroy).
      
         - Make intel_pstate notify frequency invariance code when no_turbo is
           turned on and off (Chen Yu).
      
         - Add Sapphire Rapids OOB mode support to intel_pstate (Srinivas
           Pandruvada).
      
         - Make cpufreq avoid unnecessary frequency updates due to mismatch
           between hardware and the frequency table (Viresh Kumar).
      
         - Make remove_cpu_dev_symlink() clear the real_cpus mask to simplify
           code (Viresh Kumar).
      
         - Rearrange cpufreq_offline() and cpufreq_remove_dev() to make the
           calling convention for some driver callbacks consistent (Rafael
           Wysocki).
      
         - Avoid accessing half-initialized cpufreq policies from the show()
           and store() sysfs functions (Schspa Shi).
      
         - Rearrange cpufreq_offline() to make the calling convention for some
           driver callbacks consistent (Schspa Shi).
      
         - Update CPPC handling in cpufreq (Pierre Gondois).
      
         - Extend dev_pm_domain_detach() doc (Krzysztof Kozlowski).
      
         - Move genpd's time-accounting to ktime_get_mono_fast_ns() (Ulf
           Hansson).
      
         - Improve the way genpd deals with its governors (Ulf Hansson).
      
         - Update the turbostat utility to version 2022.04.16 (Len Brown, Dan
           Merillat, Sumeet Pawnikar, Zephaniah E. Loss-Cutler-Hull, Chen Yu)"
      
      * tag 'pm-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (94 commits)
        PM: domains: Trust domain-idle-states from DT to be correct by genpd
        PM: domains: Measure power-on/off latencies in genpd based on a governor
        PM: domains: Allocate governor data dynamically based on a genpd governor
        PM: domains: Clean up some code in pm_genpd_init() and genpd_remove()
        PM: domains: Fix initialization of genpd's next_wakeup
        PM: domains: Fixup QoS latency measurements for IRQ safe devices in genpd
        PM: domains: Measure suspend/resume latencies in genpd based on governor
        PM: domains: Move the next_wakeup variable into the struct gpd_timing_data
        PM: domains: Allocate gpd_timing_data dynamically based on governor
        PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain()
        PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd
        PM: domains: Don't check PM_QOS_FLAG_NO_POWER_OFF in genpd
        PM: domains: Drop redundant code for genpd always-on governor
        PM: domains: Add GENPD_FLAG_RPM_ALWAYS_ON for the always-on governor
        powercap: intel_rapl: remove redundant store to value after multiply
        cpufreq: CPPC: Enable dvfs_possible_from_any_cpu
        cpufreq: CPPC: Enable fast_switch
        ACPI: CPPC: Assume no transition latency if no PCCT
        ACPI: bus: Set CPPC _OSC bits for all and when CPPC_LIB is supported
        ACPI: CPPC: Check _OSC for flexible address space
        ...
      09583dfe
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 1961b06c
      Linus Torvalds authored
      Pull ACPI updates from Rafael Wysocki:
       "These update the ACPICA kernel code to upstream revision 20220331,
        improve handling of PCI devices that are in D3cold during system
        initialization, add support for a few features, fix bugs and clean up
        code.
      
        Specifics:
      
         - Update ACPICA code in the kernel to upstream revision 20220331
           including the following changes:
             - Add support for the Windows 11 _OSI string (Mario Limonciello)
             - Add the CFMWS subtable to the CEDT table (Lawrence Hileman).
             - iASL: NHLT: Treat Terminator as specific_config (Piotr
               Maziarz).
             - iASL: NHLT: Fix parsing undocumented bytes at the end of
               Endpoint Descriptor (Piotr Maziarz).
             - iASL: NHLT: Rename linux specific strucures to device_info
               (Piotr Maziarz).
             - Add new ACPI 6.4 semantics to Load() and LoadTable() (Bob
               Moore).
             - Clean up double word in comment (Tom Rix).
             - Update copyright notices to the year 2022 (Bob Moore).
             - Remove some tabs and // comments - automated cleanup (Bob
               Moore).
             - Replace zero-length array with flexible-array member (Gustavo
               A. R. Silva).
             - Interpreter: Add units to time variable names (Paul Menzel).
             - Add support for ARM Performance Monitoring Unit Table (Besar
               Wicaksono).
             - Inform users about ACPI spec violation related to sleep length
               (Paul Menzel).
             - iASL/MADT: Add OEM-defined subtable (Bob Moore).
             - Interpreter: Fix some typo mistakes (Selvarasu Ganesan).
             - Updates for revision E.d of IORT (Shameer Kolothum).
             - Use ACPI_FORMAT_UINT64 for 64-bit output (Bob Moore).
      
         - Improve debug messages in the ACPI device PM code (Rafael Wysocki).
      
         - Block ASUS B1400CEAE from suspend to idle by default (Mario
           Limonciello).
      
         - Improve handling of PCI devices that are in D3cold during system
           initialization (Rafael Wysocki).
      
         - Fix BERT error region memory mapping (Lorenzo Pieralisi).
      
         - Add support for NVIDIA 16550-compatible port subtype to the SPCR
           parsing code (Jeff Brasen).
      
         - Use static for BGRT_SHOW kobj_attribute defines (Tom Rix).
      
         - Fix missing prototype warning for acpi_agdi_init() (Ilkka
           Koskinen).
      
         - Fix missing ERST record ID in the APEI code (Liu Xinpeng).
      
         - Make APEI error injection to refuse to inject into the zero page
           (Tony Luck).
      
         - Correct description of INT3407 / INT3532 DPTF attributes in sysfs
           (Sumeet Pawnikar).
      
         - Add support for high frequency impedance notification to the DPTF
           driver (Sumeet Pawnikar).
      
         - Make mp_config_acpi_gsi() a void function (Li kunyu).
      
         - Unify Package () representation for properties in the ACPI device
           properties documentation (Andy Shevchenko).
      
         - Include UUID in _DSM evaluation warning (Michael Niewöhner)"
      
      * tag 'acpi-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (41 commits)
        Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms"
        ACPI: utils: include UUID in _DSM evaluation warning
        ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
        x86: ACPI: Make mp_config_acpi_gsi() a void function
        ACPI: DPTF: Add support for high frequency impedance notification
        ACPI: AGDI: Fix missing prototype warning for acpi_agdi_init()
        ACPI: bus: Avoid non-ACPI device objects in walks over children
        ACPI: DPTF: Correct description of INT3407 / INT3532 attributes
        ACPI: BGRT: use static for BGRT_SHOW kobj_attribute defines
        ACPI, APEI, EINJ: Refuse to inject into the zero page
        ACPI: PM: Always print final debug message in acpi_device_set_power()
        ACPI: SPCR: Add support for NVIDIA 16550-compatible port subtype
        ACPI: docs: enumeration: Unify Package () for properties (part 2)
        ACPI: APEI: Fix missing ERST record id
        ACPICA: Update version to 20220331
        ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output
        ACPICA: IORT: Updates for revision E.d
        ACPICA: executer/exsystem: Fix some typo mistakes
        ACPICA: iASL/MADT: Add OEM-defined subtable
        ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms
        ...
      1961b06c