Skip to content
  1. Sep 07, 2023
    • Srinivas Pandruvada's avatar
      powercap: intel_rapl: Fix invalid setting of Power Limit 4 · 081690e9
      Srinivas Pandruvada authored
      System runs at minimum performance, once powercap RAPL package domain
      enabled flag is changed from 1 to 0 to 1.
      
      Setting RAPL package domain enabled flag to 0, results in setting of
      power limit 4 (PL4) MSR 0x601 to 0. This implies disabling PL4 limit.
      The PL4 limit controls the peak power. So setting 0, results in some
      undesirable performance, which depends on hardware implementation.
      
      Even worse, when the enabled flag is set to 1 again. This will set PL4
      MSR value to 0x01, which means reduce peak power to 0.125W. This will
      force system to run at the lowest possible performance on every PL4
      supported system.
      
      Setting enabled flag should only affect the "enable" bit, not other
      bits. Here it is changing power limit.
      
      This is caused by a change which assumes that there is an enable bit in
      the PL4 MSR like other power limits. Although PL4 enable/disable bit is
      present with TPMI RAPL interface, it is not present with the MSR
      interface.
      
      There is a rapl_primitive_info defined for non existent PL4 enable bit
      and then it is used with the commit 9050a9cd ("powercap: intel_rapl:
      Cleanup Power Limits support") to enable PL4. This is wrong, hence remove
      this rapl primitive for PL4. Also in the function
      rapl_detect_powerlimit(), PL_ENABLE is used to check for the presence of
      power limits. Replace PL_ENABLE with PL_LIMIT, as PL_LIMIT must be
      present. Without this change, PL4 controls will not be available in the
      sysfs once rapl primitive for PL4 is removed.
      
      Fixes: 9050a9cd
      
       ("powercap: intel_rapl: Cleanup Power Limits support")
      Suggested-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Tested-by: default avatarSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
      Cc: 6.5+ <stable@vger.kernel.org> # 6.5+
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      081690e9
  2. Sep 05, 2023
    • Linus Torvalds's avatar
      Merge tag 'pm-6.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ea4f9c37
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
       "These fix cpufreq core and the pcc cpufreq driver, add per-policy
        boost support to cpufreq and add Georgian translation Makefile
        LANGUAGES in cpupower.
      
        Specifics:
      
         - Add Georgian translation to Makefile LANGUAGES in cpupower (Shuah
           Khan).
      
         - Add support for per-policy performance boost to cpufreq (Jie Zhan).
      
         - Fix assorted issues in the cpufreq core, common governor code and
           in the pcc cpufreq driver (Liao Chang)"
      
      * tag 'pm-6.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: Support per-policy performance boost
        cpufreq: pcc: Fix the potentinal scheduling delays in target_index()
        cpufreq: governor: Free dbs_data directly when gov->init() fails
        cpufreq: Fix the race condition while updating the transition_task of policy
        cpufreq: Avoid printing kernel addresses in cpufreq_resume()
        cpupower: Add Georgian translation to Makefile LANGUAGES
      ea4f9c37
    • Linus Torvalds's avatar
      Merge tag 'thermal-6.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 0ca4080a
      Linus Torvalds authored
      Pull more thermal control updates from Rafael Wysocki:
       "These are mostly updates of thermal control drivers for ARM platforms,
        new thermal control support for Loongson-2 and a couple of core
        cleanups made possible by recent changes merged previously.
      
        Specifics:
      
         - Check if the Tegra BPMP supports the trip points in order to set
           the .set_trips callback (Mikko Perttunen)
      
         - Add new Loongson-2 thermal sensor along with the DT bindings (Yinbo
           Zhu)
      
         - Use IS_ERR_OR_NULL() helper to replace a double test on the TI
           bandgap sensor (Li Zetao)
      
         - Remove redundant platform_set_drvdata() calls, as there are no
           corresponding calls to platform_get_drvdata(), from a bunch of
           drivers (Andrei Coardos)
      
         - Switch the Mediatek LVTS mode to filtered in order to enable
           interrupts (Nícolas F. R. A. Prado)
      
         - Fix Wvoid-pointer-to-enum-cast warning on the Exynos TMU (Krzysztof
           Kozlowski)
      
         - Remove redundant dev_err_probe(), because the underlying function
           already called it, from the Mediatek sensor (Chen Jiahao)
      
         - Free calibration nvmem after reading it on sun8i (Mark Brown)
      
         - Remove useless comment from the sun8i driver (Yangtao Li)
      
         - Make tsens_xxxx_nvmem static to fix a sparse warning on QCom tsens
           (Min-Hua Chen)
      
         - Remove error message at probe deferral on imx8mm (Ahmad Fatoum)
      
         - Fix parameter check in lvts_debugfs_init() with IS_ERR() on
           Mediatek LVTS (Minjie Du)
      
         - Fix interrupt routine and configuratoin for Mediatek LVTS (Nícolas
           F. R. A. Prado)
      
         - Drop unused .get_trip_type(), .get_trip_temp() and .get_trip_hyst()
           thermal zone callbacks from the core and rework the .get_trend()
           one to take a trip point pointer as an argument (Rafael Wysocki)"
      
      * tag 'thermal-6.6-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (29 commits)
        thermal: core: Rework .get_trend() thermal zone callback
        thermal: core: Drop unused .get_trip_*() callbacks
        thermal/drivers/tegra-bpmp: Check if BPMP supports trip points
        thermal: dt-bindings: add loongson-2 thermal
        thermal/drivers/loongson-2: Add thermal management support
        thermal/drivers/ti-soc-thermal: Use helper function IS_ERR_OR_NULL()
        thermal/drivers/generic-adc: Removed unneeded call to platform_set_drvdata()
        thermal/drivers/max77620_thermal: Removed unneeded call to platform_set_drvdata()
        thermal/drivers/mediatek/auxadc_thermal: Removed call to platform_set_drvdata()
        thermal/drivers/sun8i_thermal: Remove unneeded call to platform_set_drvdata()
        thermal/drivers/broadcom/brcstb_thermal: Removed unneeded platform_set_drvdata()
        thermal/drivers/mediatek/lvts_thermal: Make readings valid in filtered mode
        thermal/drivers/k3_bandgap: Remove unneeded call to platform_set_drvdata()
        thermal/drivers/k3_j72xx_bandgap: Removed unneeded call to platform_set_drvdata()
        thermal/drivers/broadcom/sr-thermal: Removed call to platform_set_drvdata()
        thermal/drivers/samsung: Fix Wvoid-pointer-to-enum-cast warning
        thermal/drivers/db8500: Remove redundant of_match_ptr()
        thermal/drivers/mediatek: Clean up redundant dev_err_probe()
        thermal/drivers/sun8i: Free calibration nvmem after reading it
        thermal/drivers/sun8i: Remove unneeded comments
        ...
      0ca4080a
    • Linus Torvalds's avatar
      Merge tag 'rproc-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 2a3a850e
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "Support for booting the iMX remoteprocs using MMIO, instead of SMCCC
        is added. The iMX driver is also extended to support delivering
        interrupts from an arbitrary number of vdev.
      
        Support is added to the TI PRU driver, to allow GPMUX to be controlled
        from DeviceTree.
      
        The Qualcomm coredump collector is extended to fall back to generating
        a full coredump, in the case that the loaded firmware doesn't support
        generating minidump. The overly terse MD abbreviation of "MINIDUMP" is
        expanded, to make the code easier on the eye.
      
        The list of Qualcomm Sensor Low Power Island (SLPI) instances
        supported is cleaned up, and SDM845 is added. SDM630/636/660 support
        for the modem subsystem (mss) is added.
      
        All the Qualcomm drivers are transitioned to of_reserved_mem_lookup()
        instead of open coding the resolution of reserved-memory regions, to
        gain handling of error cases. A couple of drivers are transitioned to
        use devm_platform_ioremap_resource_byname().
      
        The stm32 remoteproc driver's PM operations are updated to modern
        macros, to avoid the "unused variable"-warning in some configurations.
      
        Drivers are transitioned away from directly including of_device.h"
      
      * tag 'rproc-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (23 commits)
        remoteproc: pru: add support for configuring GPMUX based on client setup
        remoteproc: stm32: fix incorrect optional pointers
        remoteproc: imx_rproc: Switch iMX8MN/MP from SMCCC to MMIO
        dt-bindings: remoteproc: imx_rproc: Support i.MX8MN/P MMIO
        dt-bindings: remoteproc: qcom,msm8996-mss-pil: Fix 8996 clocks
        remoteproc: qcom: pas: add SDM845 SLPI compatible
        remoteproc: qcom: q6v5-mss: Add support for SDM630/636/660
        dt-bindings: remoteproc: qcom,msm8996-mss-pil: Add SDM660 compatible
        remoteproc: qcom: Expand MD_* as MINIDUMP_*
        remoteproc: qcom: pas: refactor SLPI remoteproc init
        dt-bindings: remoteproc: qcom: adsp: add qcom,sdm845-slpi-pas compatible
        remoteproc: qcom: wcnss: use devm_platform_ioremap_resource_byname()
        remoteproc: qcom: q6v5: use devm_platform_ioremap_resource_byname()
        dt-bindings: remoteproc: qcom: sm6115-pas: Add QCM2290
        remoteproc: qcom: Add full coredump fallback mechanism
        remoteproc: core: Export the rproc coredump APIs
        remoteproc: qcom: Use of_reserved_mem_lookup()
        remoteproc: imx_rproc: iterate all notifiyids in rx callback
        dt-bindings: remoteproc: qcom,adsp: bring back firmware-name
        dt-bindings: remoteproc: qcom,sm8550-pas: require memory-region
        ...
      2a3a850e
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · 3d904704
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "Add support for the GLINK flow control signals, and expose this to the
        user through the rpmsg_char interface. Add missing kstrdup() failure
        handling during allocation of GLINK channel objects"
      
      * tag 'rpmsg-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        rpmsg: glink: Avoid dereferencing NULL channel
        rpmsg: glink: Add check for kstrdup
        rpmsg: char: Add RPMSG GET/SET FLOWCONTROL IOCTL support
        rpmsg: glink: Add support to handle signals command
        rpmsg: core: Add signal API support
      3d904704
    • Linus Torvalds's avatar
      Merge tag 'hwlock-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux · e3a6fa00
      Linus Torvalds authored
      Pull hwspinlock updates from Bjorn Andersson:
       "Convert u8500 and omap drivers to void-returning remove.
      
        Complete the support for representing the Qualcomm TCSR mutex as a
        mmio device, and check the return value of devm_regmap_field_alloc()
        in the same"
      
      * tag 'hwlock-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
        hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation
        hwspinlock: u8500: Convert to platform remove callback returning void
        hwspinlock: omap: Convert to platform remove callback returning void
        hwspinlock: omap: Emit only one error message for errors in .remove()
        hwspinlock: add a check of devm_regmap_field_alloc in qcom_hwspinlock_probe
      e3a6fa00
    • Linus Torvalds's avatar
      Merge tag 'leds-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · 2be6bc48
      Linus Torvalds authored
      Pull LED updates from Lee Jones:
       "Core Frameworks:
         - Add new framework to support Group Multi-Color (GMC) LEDs
         - Offer an 'optional' API for non-essential LEDs
         - Support obtaining 'max brightness' values from Device Tree
         - Provide new led_classdev member 'color' (settable via DT and SYFS)
         - Stop TTY Trigger from using the old LED_ON constraints
         - Statically allocate leds_class
      
        New Drivers:
         - Add support for NXP PCA995x I2C Constant Current LED Driver
      
        New Device Support:
         - Add support for Siemens Simatic IPC BX-21 to Simatic IPC
      
        Fix-ups:
         - Some dependency / Kconfig tweaking
         - Move final probe() functions back over from .probe_new()
         - Simplify obtaining resources (memory, device data) using unified
           API helpers
         - Bunch of Device Tree additions, conversions and adaptions
         - Fix trivial styling issues; comments
         - Ensure correct includes are present and remove some that are not
           required
         - Omit the use of redundant casts and if relevant replace with better
           ones
         - Use purpose-built APIs for various actions; sysfs_emit(),
           module_led_trigger()
         - Remove a bunch of superfluous locking
      
        Bug Fixes:
         - Ensure error codes are correctly propagated back up the call chain
         - Fix incorrect error values from being returned (missing '-')
         - Ensure get'ed resources are put'ed to prevent leaks
         - Use correct class when exporting module resources
         - Fixing rounding (or lack there of) issues
         - Fix 'always false' LED_COLOR_ID_MULTI BUG() check"
      
      * tag 'leds-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (40 commits)
        leds: aw2013: Enable pull-up supply for interrupt and I2C
        dt-bindings: leds: Document pull-up supply for interrupt and I2C
        dt-bindings: leds: aw2013: Document interrupt
        leds: uleds: Use module_misc_device macro to simplify the code
        leds: trigger: netdev: Use module_led_trigger macro to simplify the code
        dt-bindings: leds: Fix reference to definition of default-state
        leds: turris-omnia: Drop unnecessary mutex locking
        leds: turris-omnia: Use sysfs_emit() instead of sprintf()
        leds: Make leds_class a static const structure
        leds: Remove redundant of_match_ptr()
        dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO
        leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
        dt-bindings: leds: rohm,bd71828: Drop select:false
        leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
        leds: multicolor: Use rounded division when calculating color components
        leds: rgb: Add a multicolor LED driver to group monochromatic LEDs
        dt-bindings: leds: Add binding for a multicolor group of LEDs
        leds: class: Store the color index in struct led_classdev
        leds: Provide devm_of_led_get_optional()
        leds: pca995x: Fix MODULE_DEVICE_TABLE for OF
        ...
      2be6bc48
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · d8723062
      Linus Torvalds authored
      Pull NFD updates from Lee Jones:
       "New Drivers:
         - Add support for the Cirrus Logic CS42L43 Audio CODEC
      
        Fix-ups:
         - Make use of specific printk() format tags for various optimisations
         - Kconfig / module modifications / tweaking
         - Simplify obtaining resources (memory, device data) using unified
           API helpers
         - Bunch of Device Tree additions, conversions and adaptions
         - Convert a bunch of Regmap configurations to use the Maple Tree
           cache
         - Ensure correct includes are present and remove some that are not
           required
         - Remove superfluous code
         - Reduce amount of cycles spent in critical sections
         - Omit the use of redundant casts and if relevant replace with better
           ones
         - Swap out raw_spin_{un}lock_irq{save,restore}() for
           spin_{un}lock_irq{save,restore}()
      
        Bug Fixes:
         - Repair theoretical deadlock situation
         - Fix some link-time dependencies
         - Use more appropriate datatype when casting"
      
      * tag 'mfd-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (70 commits)
        mfd: mc13xxx: Simplify device data fetching in probe()
        mfd: rz-mtu3: Replace raw_spin_lock->spin_lock()
        mfd: rz-mtu3: Reduce critical sections
        mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning
        mfd: wm31x: Fix Wvoid-pointer-to-enum-cast warning
        mfd: wm8994: Fix Wvoid-pointer-to-enum-cast warning
        mfd: tc3589: Fix Wvoid-pointer-to-enum-cast warning
        mfd: lp87565: Fix Wvoid-pointer-to-enum-cast warning
        mfd: hi6421-pmic: Fix Wvoid-pointer-to-enum-cast warning
        mfd: max77541: Fix Wvoid-pointer-to-enum-cast warning
        mfd: max14577: Fix Wvoid-pointer-to-enum-cast warning
        mfd: stmpe: Fix Wvoid-pointer-to-enum-cast warning
        mfd: rn5t618: Remove redundant of_match_ptr()
        mfd: lochnagar-i2c: Remove redundant of_match_ptr()
        mfd: stpmic1: Remove redundant of_match_ptr()
        mfd: act8945a: Remove redundant of_match_ptr()
        mfd: rsmu_spi: Remove redundant of_match_ptr()
        mfd: altera-a10sr: Remove redundant of_match_ptr()
        mfd: rsmu_i2c: Remove redundant of_match_ptr()
        mfd: tc3589x: Remove redundant of_match_ptr()
        ...
      d8723062
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · e3b85b07
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "I2C has mainly cleanups this time and a few driver improvements.
      
        Because a lot of developers were on holidays (including myself) it was
        a good timing to apply lots of cleanups which would normally cause
        merge conflicts with other floating patches. Extra thanks go to Andi
        Shyti who backed me up when I was on a four week hiatus. This is also
        the reason that some patches were commited later than ideal"
      
      * tag 'i2c-for-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (67 commits)
        i2c: at91: Use dev_err_probe() instead of dev_err()
        I2C: ali15x3: Do PCI error checks on own line
        i2c: Make return value check more accurate and explicit for devm_pinctrl_get()
        i2c: designware: Add support for recovery when GPIO need pinctrl
        i2c: mlxcpld: Add support for extended transaction length
        i2c: mlxcpld: Allow driver to run on ARM64 architecture
        i2c: nforce2: Do PCI error check on own line
        i2c: sis5595: Do PCI error checks on own line
        i2c: qcom-cci: Fix error checking in cci_probe()
        i2c: muxes: pca954x: Add regulator support
        i2c: muxes: pca954x: Add MAX735x/MAX736x support
        dt-bindings: i2c: Add Maxim MAX735x/MAX736x variants
        dt-bindings: i2c: pca954x: Correct interrupt support
        i2c: pnx: Use devm_platform_get_and_ioremap_resource()
        i2c: pxa: Use devm_platform_get_and_ioremap_resource()
        i2c: s3c2410: Use devm_platform_get_and_ioremap_resource()
        i2c: sh_mobile: Use devm_platform_get_and_ioremap_resource()
        i2c: st: Use devm_platform_get_and_ioremap_resource()
        i2c: qcom-geni: Convert to devm_platform_ioremap_resource()
        i2c: stm32f4: Use devm_platform_get_and_ioremap_resource()
        ...
      e3b85b07
    • Linus Torvalds's avatar
      Merge tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux · 3c31041e
      Linus Torvalds authored
      Pull printk updates from Petr Mladek:
      
       - Do not try to get the console lock when it is not need or useful in
         panic()
      
       - Replace the global console_suspended state by a per-console flag
      
       - Export symbols needed for dumping the raw printk buffer in panic()
      
       - Fix documentation of printf formats for integer types
      
       - Moved Sergey Senozhatsky to the reviewer role
      
       - Misc cleanups
      
      * tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
        printk: export symbols for debug modules
        lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
        printk: ringbuffer: Fix truncating buffer size min_t cast
        printk: Rename abandon_console_lock_in_panic() to other_cpu_in_panic()
        printk: Add per-console suspended state
        printk: Consolidate console deferred printing
        printk: Do not take console lock for console_flush_on_panic()
        printk: Keep non-panic-CPUs out of console lock
        printk: Reduce console_unblank() usage in unsafe scenarios
        kdb: Do not assume write() callback available
        docs: printk-formats: Treat char as always unsigned
        docs: printk-formats: Fix hex printing of signed values
        MAINTAINERS: adjust printk/vsprintf entries
      3c31041e
    • Linus Torvalds's avatar
      Merge tag 'timers-core-2023-09-04-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4accdb98
      Linus Torvalds authored
      Pull clocksource/clockevent driver updates from Thomas Gleixner:
      
       - Remove the OXNAS driver instead of adding a new one!
      
       - A set of boring fixes, cleanups and improvements
      
      * tag 'timers-core-2023-09-04-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        clocksource: Explicitly include correct DT includes
        clocksource/drivers/sun5i: Convert to platform device driver
        clocksource/drivers/sun5i: Remove pointless struct
        clocksource/drivers/sun5i: Remove duplication of code and data
        clocksource/drivers/loongson1: Set variable ls1x_timer_lock storage-class-specifier to static
        clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL
        dt-bindings: timer: oxsemi,rps-timer: remove obsolete bindings
        clocksource/drivers/timer-oxnas-rps: Remove obsolete timer driver
      4accdb98
    • Linus Torvalds's avatar
      Merge tag 'm68knommu-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 7a1415ee
      Linus Torvalds authored
      Pull m68knommu updates from Greg Ungerer:
       "Two changes, one a trivial white space clean up, the other removes the
        unnecessary local pcibios_setup() code"
      
      * tag 'm68knommu-for-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68k: coldfire: dma_timer: ERROR: "foo __init bar" should be "foo __init bar"
        m68k/pci: Drop useless pcibios_setup()
      7a1415ee
    • Linus Torvalds's avatar
      Merge tag 'uml-for-linus-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux · 68d76d4e
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Drop 32-bit checksum implementation and re-use it from arch/x86
      
       - String function cleanup
      
       - Fixes for -Wmissing-variable-declarations and -Wmissing-prototypes
         builds
      
      * tag 'uml-for-linus-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/uml/linux:
        um: virt-pci: fix missing declaration warning
        um: Refactor deprecated strncpy to memcpy
        um: fix 3 instances of -Wmissing-prototypes
        um: port_kern: fix -Wmissing-variable-declarations
        uml: audio: fix -Wmissing-variable-declarations
        um: vector: refactor deprecated strncpy
        um: use obj-y to descend into arch/um/*/
        um: Hard-code the result of 'uname -s'
        um: Use the x86 checksum implementation on 32-bit
        asm-generic: current: Don't include thread-info.h if building asm
        um: Remove unsued extern declaration ldt_host_info()
        um: Fix hostaudio build errors
        um: Remove strlcpy usage
      68d76d4e
    • Linus Torvalds's avatar
      Merge tag 'hyperv-next-signed-20230902' of... · 0b90c563
      Linus Torvalds authored
      Merge tag 'hyperv-next-signed-20230902' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
      
      Pull hyperv updates from Wei Liu:
      
       - Support for SEV-SNP guests on Hyper-V (Tianyu Lan)
      
       - Support for TDX guests on Hyper-V (Dexuan Cui)
      
       - Use SBRM API in Hyper-V balloon driver (Mitchell Levy)
      
       - Avoid dereferencing ACPI root object handle in VMBus driver (Maciej
         Szmigiero)
      
       - A few misecllaneous fixes (Jiapeng Chong, Nathan Chancellor, Saurabh
         Sengar)
      
      * tag 'hyperv-next-signed-20230902' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux: (24 commits)
        x86/hyperv: Remove duplicate include
        x86/hyperv: Move the code in ivm.c around to avoid unnecessary ifdef's
        x86/hyperv: Remove hv_isolation_type_en_snp
        x86/hyperv: Use TDX GHCI to access some MSRs in a TDX VM with the paravisor
        Drivers: hv: vmbus: Bring the post_msg_page back for TDX VMs with the paravisor
        x86/hyperv: Introduce a global variable hyperv_paravisor_present
        Drivers: hv: vmbus: Support >64 VPs for a fully enlightened TDX/SNP VM
        x86/hyperv: Fix serial console interrupts for fully enlightened TDX guests
        Drivers: hv: vmbus: Support fully enlightened TDX guests
        x86/hyperv: Support hypercalls for fully enlightened TDX guests
        x86/hyperv: Add hv_isolation_type_tdx() to detect TDX guests
        x86/hyperv: Fix undefined reference to isolation_type_en_snp without CONFIG_HYPERV
        x86/hyperv: Add missing 'inline' to hv_snp_boot_ap() stub
        hv: hyperv.h: Replace one-element array with flexible-array member
        Drivers: hv: vmbus: Don't dereference ACPI root object handle
        x86/hyperv: Add hyperv-specific handling for VMMCALL under SEV-ES
        x86/hyperv: Add smp support for SEV-SNP guest
        clocksource: hyper-v: Mark hyperv tsc page unencrypted in sev-snp enlightened guest
        x86/hyperv: Use vmmcall to implement Hyper-V hypercall in sev-snp enlightened guest
        drivers: hv: Mark percpu hvcall input arg page unencrypted in SEV-SNP enlightened guest
        ...
      0b90c563
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · e4f1b820
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "A small pull request this time around, mostly because the vduse
        network got postponed to next relase so we can be sure we got the
        security store right"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
        virtio_vdpa: build affinity masks conditionally
        virtio_net: merge dma operations when filling mergeable buffers
        virtio_ring: introduce dma sync api for virtqueue
        virtio_ring: introduce dma map api for virtqueue
        virtio_ring: introduce virtqueue_reset()
        virtio_ring: separate the logic of reset/enable from virtqueue_resize
        virtio_ring: correct the expression of the description of virtqueue_resize()
        virtio_ring: skip unmap for premapped
        virtio_ring: introduce virtqueue_dma_dev()
        virtio_ring: support add premapped buf
        virtio_ring: introduce virtqueue_set_dma_premapped()
        virtio_ring: put mapping error check in vring_map_one_sg
        virtio_ring: check use_dma_api before unmap desc for indirect
        vdpa_sim: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK
        vdpa: add get_backend_features vdpa operation
        vdpa: accept VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK backend feature
        vdpa: add VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK flag
        vdpa/mlx5: Remove unused function declarations
      e4f1b820
    • Linus Torvalds's avatar
      Merge tag 'tomoyo-pr-20230903' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1 · 5c5e0e81
      Linus Torvalds authored
      Pull tomoyo updates from Tetsuo Handa:
       "Three cleanup patches, no behavior changes"
      
      * tag 'tomoyo-pr-20230903' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1:
        tomoyo: remove unused function declaration
        tomoyo: refactor deprecated strncpy
        tomoyo: add format attributes to functions
      5c5e0e81
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 19a56a6b
      Rafael J. Wysocki authored
      Merge additional cpufreq updates for 6.6-rc1:
      
       - Add support for per-policy performance boost (Jie Zhan).
      
       - Fix assorted issues in the cpufreq core, common governor code and in
         the pcc cpufreq driver (Liao Chang).
      
      * pm-cpufreq:
        cpufreq: Support per-policy performance boost
        cpufreq: pcc: Fix the potentinal scheduling delays in target_index()
        cpufreq: governor: Free dbs_data directly when gov->init() fails
        cpufreq: Fix the race condition while updating the transition_task of policy
        cpufreq: Avoid printing kernel addresses in cpufreq_resume()
      19a56a6b
  3. Sep 04, 2023
    • Petr Mladek's avatar
      f0f69239
    • Petr Mladek's avatar
      b3553628
    • Yuan Yao's avatar
      virtio_ring: fix avail_wrap_counter in virtqueue_add_packed · 1acfe2c1
      Yuan Yao authored
      In current packed virtqueue implementation, the avail_wrap_counter won't
      flip, in the case when the driver supplies a descriptor chain with a
      length equals to the queue size; total_sg == vq->packed.vring.num.
      
      Let’s assume the following situation:
      vq->packed.vring.num=4
      vq->packed.next_avail_idx: 1
      vq->packed.avail_wrap_counter: 0
      
      Then the driver adds a descriptor chain containing 4 descriptors.
      
      We expect the following result with avail_wrap_counter flipped:
      vq->packed.next_avail_idx: 1
      vq->packed.avail_wrap_counter: 1
      
      But, the current implementation gives the following result:
      vq->packed.next_avail_idx: 1
      vq->packed.avail_wrap_counter: 0
      
      To reproduce the bug, you can set a packed queue size as small as
      possible, so that the driver is more likely to provide a descriptor
      chain with a length equal to the packed queue size. For example, in
      qemu run following commands:
      sudo qemu-system-x86_64 \
      -enable-kvm \
      -nographic \
      -kernel "path/to/kernel_image" \
      -m 1G \
      -drive file="path/to/rootfs",if=none,id=disk \
      -device virtio-blk,drive=disk \
      -drive file="path/to/disk_image",if=none,id=rwdisk \
      -device virtio-blk,drive=rwdisk,packed=on,queue-size=4,\
      indirect_desc=off \
      -append "console=ttyS0 root=/dev/vda rw init=/bin/bash"
      
      Inside the VM, create a directory and mount the rwdisk device on it. The
      rwdisk will hang and mount operation will not complete.
      
      This commit fixes the wrap counter error by flipping the
      packed.avail_wrap_counter, when start of descriptor chain equals to the
      end of descriptor chain (head == i).
      
      Fixes: 1ce9e605
      
       ("virtio_ring: introduce packed ring support")
      Signed-off-by: default avatarYuan Yao <yuanyaogoog@chromium.org>
      Message-Id: <20230808051110.3492693-1-yuanyaogoog@chromium.org>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      1acfe2c1
    • Jason Wang's avatar
      virtio_vdpa: build affinity masks conditionally · ae15acea
      Jason Wang authored
      We try to build affinity mask via create_affinity_masks()
      unconditionally which may lead several issues:
      
      - the affinity mask is not used for parent without affinity support
        (only VDUSE support the affinity now)
      - the logic of create_affinity_masks() might not work for devices
        other than block. For example it's not rare in the networking device
        where the number of queues could exceed the number of CPUs. Such
        case breaks the current affinity logic which is based on
        group_cpus_evenly() who assumes the number of CPUs are not less than
        the number of groups. This can trigger a warning[1]:
      
      	if (ret >= 0)
      		WARN_ON(nr_present + nr_others < numgrps);
      
      Fixing this by only build the affinity masks only when
      
      - Driver passes affinity descriptor, driver like virtio-blk can make
        sure to limit the number of queues when it exceeds the number of CPUs
      - Parent support affinity setting config ops
      
      This help to avoid the warning. More optimizations could be done on
      top.
      
      [1]
      [  682.146655] WARNING: CPU: 6 PID: 1550 at lib/group_cpus.c:400 group_cpus_evenly+0x1aa/0x1c0
      [  682.146668] CPU: 6 PID: 1550 Comm: vdpa Not tainted 6.5.0-rc5jason+ #79
      [  682.146671] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
      [  682.146673] RIP: 0010:group_cpus_evenly+0x1aa/0x1c0
      [  682.146676] Code: 4c 89 e0 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 1b c4 74 ff 48 89 ef e8 13 ac 98 ff 4c 89 e7 45 31 e4 e8 08 ac 98 ff eb c2 <0f> 0b eb b6 e8 fd 05 c3 00 45 31 e4 eb e5 cc cc cc cc cc cc cc cc
      [  682.146679] RSP: 0018:ffffc9000215f498 EFLAGS: 00010293
      [  682.146682] RAX: 000000000001f1e0 RBX: 0000000000000041 RCX: 0000000000000000
      [  682.146684] RDX: ffff888109922058 RSI: 0000000000000041 RDI: 0000000000000030
      [  682.146686] RBP: ffff888109922058 R08: ffffc9000215f498 R09: ffffc9000215f4a0
      [  682.146687] R10: 00000000000198d0 R11: 0000000000000030 R12: ffff888107e02800
      [  682.146689] R13: 0000000000000030 R14: 0000000000000030 R15: 0000000000000041
      [  682.146692] FS:  00007fef52315740(0000) GS:ffff888237380000(0000) knlGS:0000000000000000
      [  682.146695] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [  682.146696] CR2: 00007fef52509000 CR3: 0000000110dbc004 CR4: 0000000000370ee0
      [  682.146698] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      [  682.146700] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
      [  682.146701] Call Trace:
      [  682.146703]  <TASK>
      [  682.146705]  ? __warn+0x7b/0x130
      [  682.146709]  ? group_cpus_evenly+0x1aa/0x1c0
      [  682.146712]  ? report_bug+0x1c8/0x1e0
      [  682.146717]  ? handle_bug+0x3c/0x70
      [  682.146721]  ? exc_invalid_op+0x14/0x70
      [  682.146723]  ? asm_exc_invalid_op+0x16/0x20
      [  682.146727]  ? group_cpus_evenly+0x1aa/0x1c0
      [  682.146729]  ? group_cpus_evenly+0x15c/0x1c0
      [  682.146731]  create_affinity_masks+0xaf/0x1a0
      [  682.146735]  virtio_vdpa_find_vqs+0x83/0x1d0
      [  682.146738]  ? __pfx_default_calc_sets+0x10/0x10
      [  682.146742]  virtnet_find_vqs+0x1f0/0x370
      [  682.146747]  virtnet_probe+0x501/0xcd0
      [  682.146749]  ? vp_modern_get_status+0x12/0x20
      [  682.146751]  ? get_cap_addr.isra.0+0x10/0xc0
      [  682.146754]  virtio_dev_probe+0x1af/0x260
      [  682.146759]  really_probe+0x1a5/0x410
      
      Fixes: 3dad5682
      
       ("virtio-vdpa: Support interrupt affinity spreading mechanism")
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230811091539.1359865-1-jasowang@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      ae15acea
    • Xuan Zhuo's avatar
      virtio_net: merge dma operations when filling mergeable buffers · 295525e2
      Xuan Zhuo authored
      
      
      Currently, the virtio core will perform a dma operation for each
      buffer. Although, the same page may be operated multiple times.
      
      This patch, the driver does the dma operation and manages the dma
      address based the feature premapped of virtio core.
      
      This way, we can perform only one dma operation for the pages of the
      alloc frag. This is beneficial for the iommu device.
      
      kernel command line: intel_iommu=on iommu.passthrough=0
      
             |  strict=0  | strict=1
      Before |  775496pps | 428614pps
      After  | 1109316pps | 742853pps
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-13-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      295525e2
    • Xuan Zhuo's avatar
      virtio_ring: introduce dma sync api for virtqueue · 8bd2f710
      Xuan Zhuo authored
      
      
      These API has been introduced:
      
      * virtqueue_dma_need_sync
      * virtqueue_dma_sync_single_range_for_cpu
      * virtqueue_dma_sync_single_range_for_device
      
      These APIs can be used together with the premapped mechanism to sync the
      DMA address.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-12-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      8bd2f710
    • Xuan Zhuo's avatar
      virtio_ring: introduce dma map api for virtqueue · b6253b4e
      Xuan Zhuo authored
      
      
      Added virtqueue_dma_map_api* to map DMA addresses for virtual memory in
      advance. The purpose is to keep memory mapped across multiple add/get
      buf operations.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-11-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      b6253b4e
    • Xuan Zhuo's avatar
      virtio_ring: introduce virtqueue_reset() · ba3e0c47
      Xuan Zhuo authored
      
      
      Introduce virtqueue_reset() to release all buffer inside vq.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-10-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      ba3e0c47
    • Xuan Zhuo's avatar
      virtio_ring: separate the logic of reset/enable from virtqueue_resize · ad48d53b
      Xuan Zhuo authored
      
      
      The subsequent reset function will reuse these logic.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-9-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      ad48d53b
    • Xuan Zhuo's avatar
      virtio_ring: correct the expression of the description of virtqueue_resize() · 4d09f240
      Xuan Zhuo authored
      
      
      Modify the "useless" to a more accurate "unused".
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-8-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      4d09f240
    • Xuan Zhuo's avatar
      virtio_ring: skip unmap for premapped · b319940f
      Xuan Zhuo authored
      
      
      Now we add a case where we skip dma unmap, the vq->premapped is true.
      
      We can't just rely on use_dma_api to determine whether to skip the dma
      operation. For convenience, I introduced the "do_unmap". By default, it
      is the same as use_dma_api. If the driver is configured with premapped,
      then do_unmap is false.
      
      So as long as do_unmap is false, for addr of desc, we should skip dma
      unmap operation.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-7-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      b319940f
    • Xuan Zhuo's avatar
      virtio_ring: introduce virtqueue_dma_dev() · 2df64759
      Xuan Zhuo authored
      
      
      Added virtqueue_dma_dev() to get DMA device for virtio. Then the
      caller can do dma operation in advance. The purpose is to keep memory
      mapped across multiple add/get buf operations.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-6-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      2df64759
    • Xuan Zhuo's avatar
      virtio_ring: support add premapped buf · d7344a2f
      Xuan Zhuo authored
      
      
      If the vq is the premapped mode, use the sg_dma_address() directly.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-5-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      d7344a2f
    • Xuan Zhuo's avatar
      virtio_ring: introduce virtqueue_set_dma_premapped() · 8daafe9e
      Xuan Zhuo authored
      
      
      This helper allows the driver change the dma mode to premapped mode.
      Under the premapped mode, the virtio core do not do dma mapping
      internally.
      
      This just work when the use_dma_api is true. If the use_dma_api is false,
      the dma options is not through the DMA APIs, that is not the standard
      way of the linux kernel.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Message-Id: <20230810123057.43407-4-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      8daafe9e
    • Xuan Zhuo's avatar
      virtio_ring: put mapping error check in vring_map_one_sg · 0e27fa6d
      Xuan Zhuo authored
      
      
      This patch put the dma addr error check in vring_map_one_sg().
      
      The benefits of doing this:
      
      1. reduce one judgment of vq->use_dma_api.
      2. make vring_map_one_sg more simple, without calling
         vring_mapping_error to check the return value. simplifies subsequent
         code
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-3-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      0e27fa6d
    • Xuan Zhuo's avatar
      virtio_ring: check use_dma_api before unmap desc for indirect · 610c708b
      Xuan Zhuo authored
      
      
      Inside detach_buf_split(), if use_dma_api is false,
      vring_unmap_one_split_indirect will be called many times, but actually
      nothing is done. So this patch check use_dma_api firstly.
      
      Signed-off-by: default avatarXuan Zhuo <xuanzhuo@linux.alibaba.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Message-Id: <20230810123057.43407-2-xuanzhuo@linux.alibaba.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      610c708b
    • Eugenio Pérez's avatar
      vdpa_sim: offer VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK · 2c9c6371
      Eugenio Pérez authored
      
      
      Start offering the feature in the simulator.  Other parent drivers can
      follow this code to offer it too.
      
      Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@amd.com>
      Message-Id: <20230609092127.170673-5-eperezma@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      2c9c6371
    • Eugenio Pérez's avatar
      vdpa: add get_backend_features vdpa operation · b63e5c70
      Eugenio Pérez authored
      
      
      This operation allow vdpa parent to expose its own backend feature bits.
      
      Next patches introduce a feature not compatible with all parent drivers:
      the ability to enable vq after driver_ok.  Each parent must declare if
      it allows it or not.
      
      Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@amd.com>
      Message-Id: <20230609092127.170673-4-eperezma@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      b63e5c70
    • Eugenio Pérez's avatar
      vdpa: accept VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK backend feature · 9f09fd61
      Eugenio Pérez authored
      
      
      Accepting VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK backend feature if
      userland sets it.
      
      Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@amd.com>
      Message-Id: <20230609092127.170673-3-eperezma@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      9f09fd61
    • Eugenio Pérez's avatar
      vdpa: add VHOST_BACKEND_F_ENABLE_AFTER_DRIVER_OK flag · 8b59b4da
      Eugenio Pérez authored
      
      
      This feature flag allows the driver enabling virtqueues both before and
      after DRIVER_OK.
      
      This is needed for software assisted live migration, so userland can
      restore the device status in devices with control virtqueue before the
      dataplane is enabled.
      
      Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@amd.com>
      Message-Id: <20230609092127.170673-2-eperezma@redhat.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      8b59b4da
    • Yue Haibing's avatar
      vdpa/mlx5: Remove unused function declarations · c1081002
      Yue Haibing authored
      Commit 29064bfd
      
       ("vdpa/mlx5: Add support library for mlx5 VDPA implementation")
      declared but never implemented these.
      
      Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
      Message-Id: <20230803143041.23388-1-yuehaibing@huawei.com>
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      c1081002
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine · 708283ab
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "New controller support and updates to drivers.
      
        New support:
         - Qualcomm SM6115 and QCM2290 dmaengine support
         - at_xdma support for microchip,sam9x7 controller
      
        Updates:
         - idxd updates for wq simplification and ats knob updates
         - fsl edma updates for v3 support
         - Xilinx AXI4-Stream control support
         - Yaml conversion for bcm dma binding"
      
      * tag 'dmaengine-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (53 commits)
        dmaengine: fsl-edma: integrate v3 support
        dt-bindings: fsl-dma: fsl-edma: add edma3 compatible string
        dmaengine: fsl-edma: move tcd into struct fsl_dma_chan
        dmaengine: fsl-edma: refactor chan_name setup and safety
        dmaengine: fsl-edma: move clearing of register interrupt into setup_irq function
        dmaengine: fsl-edma: refactor using devm_clk_get_enabled
        dmaengine: fsl-edma: simply ATTR_DSIZE and ATTR_SSIZE by using ffs()
        dmaengine: fsl-edma: move common IRQ handler to common.c
        dmaengine: fsl-edma: Remove enum edma_version
        dmaengine: fsl-edma: transition from bool fields to bitmask flags in drvdata
        dmaengine: fsl-edma: clean up EXPORT_SYMBOL_GPL in fsl-edma-common.c
        dmaengine: fsl-edma: fix build error when arch is s390
        dmaengine: idxd: Fix issues with PRS disable sysfs knob
        dmaengine: idxd: Allow ATS disable update only for configurable devices
        dmaengine: xilinx_dma: Program interrupt delay timeout
        dmaengine: xilinx_dma: Use tasklet_hi_schedule for timing critical usecase
        dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit
        dmaengine: xilinx_dma: Increase AXI DMA transaction segment count
        dmaengine: xilinx_dma: Pass AXI4-Stream control words to dma client
        dt-bindings: dmaengine: xilinx_dma: Add xlnx,irq-delay property
        ...
      708283ab
    • Linus Torvalds's avatar
      Merge tag 'phy-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy · db906f0c
      Linus Torvalds authored
      Pull phy updates from Vinod Koul:
       "As usual a couple of new drivers, a bunch of new device support and
        few updates to existing drivers
      
        New Support:
         - Starfive dphy rx, JH7110 usb and pcie support
         - Rockchip rv1126 inno-dsi phy, rk3588 usb and pcie support
         - Qualcomm sa8775p PCIe support, M31 USB PHY driver
         - Samsung Exynos850 usb support
      
        Updates:
         - Mediatek dsi driver clock updates
         - Qualcomm sm8150 combo phy with reworking of qmp pcie driver
         - Xilinx zynqmp runtime PM support"
      
      * tag 'phy-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: (83 commits)
        phy: exynos5-usbdrd: Add Exynos850 support
        phy: exynos5-usbdrd: Add 26MHz ref clk support
        phy: exynos5-usbdrd: Make it possible to pass custom phy ops
        dt-bindings: phy: samsung,usb3-drd-phy: Add Exynos850 support
        phy: qcom-qmp-combo: fix clock probing
        phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs
        phy: qcom-qmp-pcie: populate offsets configuration
        phy: qcom-qmp-pcie: simplify clock handling
        phy: qcom-qmp-pcie: keep offset tables sorted
        phy: qcom-qmp-pcie: drop ln_shrd from v5_20 config
        dt-bindings: phy: qcom,qmp-pcie: describe SM8150 PCIe PHYs
        dt-bindings: phy: migrate QMP PCIe PHY bindings to qcom,sc8280xp-qmp-pcie-phy.yaml
        phy: fsl-imx8mq-usb: add dev_err_probe if getting vbus failed
        phy: qcom: Introduce M31 USB PHY driver
        dt-bindings: phy: qcom,m31: Document qcom,m31 USB phy
        phy: rockchip: inno-dsidphy: Add rv1126 support
        dt-bindings: phy: rockchip-inno-dsidphy: Document rv1126
        dt-bindings: phy: mediatek,tphy: allow simple nodename pattern
        phy: amlogic: meson-g12a-usb2: fix Wvoid-pointer-to-enum-cast warning
        phy: marvell pxa-usb: fix Wvoid-pointer-to-enum-cast warning
        ...
      db906f0c