1. 15 Jun, 2023 11 commits
    • Abhijit Gangurde's avatar
      cdx: Replace custom mcdi logging with print_hex_dump_debug() · b1c8ea3c
      Abhijit Gangurde authored
      Replace custom mcdi logging for send and receive requests
      with dynamic debug method print_hex_dump_debug().
      Signed-off-by: default avatarAbhijit Gangurde <abhijit.gangurde@amd.com>
      Message-ID: <20230613084318.27996-1-abhijit.gangurde@amd.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b1c8ea3c
    • Nipun Gupta's avatar
      cdx: fix driver managed dma support · b8c5ff76
      Nipun Gupta authored
      The devices on cdx could be bound to drivers with the device
      DMA managed by kernel drivers or user-space applications.
      As multiple devices can be placed in the same IOMMU group, the
      DMA on these devices must either be entirely under kernel control
      or userspace control. Fix the CDX bus driver to acknowlege the
      driver_managed_dma flag and call the appropriate iommu APIs.
      
      Fixes: 2959ab24 ("cdx: add the cdx bus driver")
      Signed-off-by: default avatarNipun Gupta <nipun.gupta@amd.com>
      Reported-by: default avatarAlex Williamson <alex.williamson@redhat.com>
      Closes: https://lore.kernel.org/lkml/20230524134831.28dc97e2.alex.williamson@redhat.com/Reviewed-by: default avatarNikhil Agarwal <nikhil.agarwal@amd.com>
      Message-ID: <20230605131009.6869-1-nipun.gupta@amd.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b8c5ff76
    • Julien Panis's avatar
      samples: Add userspace example for TI TPS6594 PFSM · 9e66fb52
      Julien Panis authored
      This patch adds an example showing how to use PFSM devices
      from a userspace application. The PMIC is armed to be triggered
      by a RTC alarm to execute state transition.
      Signed-off-by: default avatarJulien Panis <jpanis@baylibre.com>
      Message-ID: <20230511095126.105104-7-jpanis@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9e66fb52
    • Julien Panis's avatar
      Documentation: Add TI TPS6594 PFSM · dce54888
      Julien Panis authored
      This patch adds documentation for the TPS6594 PFSM driver.
      
      The PFSM controls the operational states of the TPS6594 PMIC.
      Depending on the operational mode, some power domain networks
      remain energized while others can be off.
      Signed-off-by: default avatarJulien Panis <jpanis@baylibre.com>
      Message-ID: <20230511095126.105104-6-jpanis@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dce54888
    • Julien Panis's avatar
      misc: tps6594-pfsm: Add driver for TI TPS6594 PFSM · a0df3ef0
      Julien Panis authored
      This PFSM controls the operational modes of the PMIC:
      - STANDBY and LP_STANDBY,
      - ACTIVE state,
      - MCU_ONLY state,
      - RETENTION state, with or without DDR and/or GPIO retention.
      Depending on the current operational mode, some voltage domains
      remain energized while others can be off.
      
      This PFSM is also used to trigger a firmware update, and provides
      R/W access to device registers.
      
      See Documentation/misc-devices/tps6594-pfsm.rst for more
      information.
      Signed-off-by: default avatarJulien Panis <jpanis@baylibre.com>
      Message-ID: <20230511095126.105104-5-jpanis@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a0df3ef0
    • Julien Panis's avatar
      misc: tps6594-esm: Add driver for TI TPS6594 ESM · 875fdd07
      Julien Panis authored
      This patch adds support for TPS6594 ESM (Error Signal Monitor).
      This device monitors the SoC error output signal at its nERR_SOC input pin.
      In error condition, ESM toggles its nRSTOUT_SOC pin to reset the SoC.
      Signed-off-by: default avatarJulien Panis <jpanis@baylibre.com>
      Message-ID: <20230511095126.105104-4-jpanis@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      875fdd07
    • Greg Kroah-Hartman's avatar
      Merge tag 'ib-mfd-tps6594-core-v6.5' of... · 9fb90804
      Greg Kroah-Hartman authored
      Merge tag 'ib-mfd-tps6594-core-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into char-misc-next
      
      Immutable branch containing TPS6594 core (MFD) support due for the v6.5 merge window
      
      We want this due to patches requiring this mfd support.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      
      * tag 'ib-mfd-tps6594-core-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd:
        mfd: tps6594: Add driver for TI TPS6594 PMIC
      9fb90804
    • Greg Kroah-Hartman's avatar
      Merge tag 'counter-updates-for-6.5a' of... · e04b1bff
      Greg Kroah-Hartman authored
      Merge tag 'counter-updates-for-6.5a' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter into char-misc-next
      
      William writes:
      
      First set of Counter updates for the 6.5 cycle
      
      Biggest changes in this set include the introduction of a new Intel 8254
      interface library module and the refactoring of the existing 104-quad-8
      modules to migrate it to the regmap API. Some other minor cleanups
      touching tools/counter and stm32-timer-cnt are also present.
      
      Changes
      * 104-quad-8
        - Remove reference in Kconfig to 25-bit counter value
        - Utilize bitfield access macros
        - Refactor to buffer states for CMR, IOR, and IDR
        - Utilize helper functions to handle PR, FLAG and PSC
        - Migrate to the regmap API
      * i8254
        - Introduce the Intel 8254 interface library module
      * stm32-timer-cnt
        - Reset TIM_TISEL to its default value in probe
      * tools/counter
        - Add .gitignore
        - Remove lingering 'include' directories on make clean
      
      * tag 'counter-updates-for-6.5a' of git://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter:
        counter: i8254: Introduce the Intel 8254 interface library module
        counter: 104-quad-8: Migrate to the regmap API
        counter: 104-quad-8: Utilize helper functions to handle PR, FLAG and PSC
        counter: 104-quad-8: Refactor to buffer states for CMR, IOR, and IDR
        counter: 104-quad-8: Utilize bitfield access macros
        tools/counter: Makefile: Remove lingering 'include' directories on make clean
        tools/counter: Add .gitignore
        counter: stm32-timer-cnt: Reset TIM_TISEL to its default value in probe
        counter: 104-quad-8: Remove reference in Kconfig to 25-bit counter value
      e04b1bff
    • Greg Kroah-Hartman's avatar
      Merge tag 'fpga-for-6.5-rc1' of... · be2c2edf
      Greg Kroah-Hartman authored
      Merge tag 'fpga-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga into char-misc-next
      
      Xu writes:
      
      FPGA Manager changes for 6.5-rc1
      
      DFL:
      
      - Krzysztof's change constifies pointers to hwmon_channel_info
      
      Xilinx:
      
      - Alfonso's change ensures proper reprograming (xCAP) interface switch
      
      All patches have been reviewed on the mailing list, and have been in the
      last linux-next releases (as part of our for-next branch).
      Signed-off-by: default avatarXu Yilun <yilun.xu@intel.com>
      
      * tag 'fpga-for-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga:
        fpga: zynq-fpga: Ensure proper xCAP interface switch
        fpga: dfl-fme: constify pointers to hwmon_channel_info
      be2c2edf
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-6.5a' of... · 269b9d8f
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-6.5a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      1st set of IIO new device support, features and cleanup for the 6.5 cycle.
      
      New device support
      - honeywell,mprls0025pa
        * New driver and dt-bindings for this series of pressure sensors.
      - invensense,mpu6050
        * Add support for ICM 20600 IMU (ID, bindings and device data).
      - melexis,mlx90614
        * Add support for mlx90615 Infra Red Thermometer after driver cleanup
          and refactoring to support the differences in this device.
      - renesas,x9250
        * New driver and bindings for this quad potentiometer.
      - rockchip,saradc
        * Add support for RK3588. Also included is a bunch of refactoring and
          cleanup for that driver.
      - rohm,bu27008
        * New driver bindings etc for this 5 photodiode color sensor.
      - st,lsm9ds0/st,st-sensors
        * ID added for LSM303D accelerometer and magnetometer including ACPI binding.
      - ti,opt4001
        * New driver and bindings for this ambient light sensor.
      
      Features
      - core
        * Introduce iio_validate_own_trigger() for cases where a driver can only
          consumer a trigger it registered (detected via same parent device).
          Use it in the kionix,kx022a driver and new rohm,by27008 driver.
      - dynaimage,al3320a
        * ACPI binding CALS0001 seen on Lenovo Yoga Table 2 devices.
      - kionix,kx002a
        * Enable asynchronous probe.
      - rohm,bu27034
        * Enable asynchronous probe.
      - ti,tmp006
        * Explicit support for DT including binding documentation.
      
      Cleanups, minor fixes and misc improvements.
      - treewide
        * Switch I2C drivers from probe_new() back to probe() - part of the
          long process of getting rid of a parameter from probe()
        * Various whitespace and typo fixes not otherwise called out.
      - core
        * industrialio-buffer,Style cleanup.
        * Add documentation to extend_name field of struct iio_chan_spec to
          direct people using it towards the label infrastructure instead.
          extend_name was a design mistake a long time back so directly people
          away from it may be useful.
      - adi,ad7606
        * Add HAS_IOPORT dependency to prepare for some Kconfig changes.
      - bosch,bma400
        * Drop pointless print of ret in a dev_err_probe() message.
      - invensense,icm42600
        * Rework timestamp handling to reduce jitter.
      - mediatek,mt7986-auxdac
        * Add DT binding for this part.
      - qcom,spmi-vadc
        * Allow for 1/16th prescaling used on a few devices.
        * Various changes to channel labeling and naming, including dropping
          use of fwnode_name which generates odd channel names. Small ABI
          change as a result, but not thought to be a problem for users of this
          platform.
      - st,lsm6dsx
        * dt-binding: Use common schema for mount-matrix via a reference.
      - st,stm32
        * Add a debug print for when legacy channel config is used.
      - ti,palmas-adc
        * Drop unused i2c.h include.
      
      * tag 'iio-for-6.5a' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (59 commits)
        dt-bindings: iio: rockchip: Fix 'oneOf' condition failed warning
        dt-bindings: iio: afe: voltage-divider: Spelling s/curcuit/circuit/
        dt-bindings: iio: adc: Add rockchip,rk3588-saradc string
        iio: adc: rockchip_saradc: Use dev_err_probe
        iio: adc: rockchip_saradc: Match alignment with open parenthesis
        iio: adc: rockchip_saradc: Use of_device_get_match_data
        iio: adc: rockchip_saradc: Make use of devm_clk_get_enabled
        iio: adc: rockchip_saradc: Add support for RK3588
        iio: adc: rockchip_saradc: Add callback functions
        iio: temperature: tmp006: Add OF device matching support
        dt-bindings: iio: temperature: Add support for tmp006
        staging: iio: Switch i2c drivers back to use .probe()
        iio: amplifiers: ad8366 Fix whitespace issue
        iio: imu: inv_icm42600: avoid frequent timestamp jitter
        MAINTAINERS: Add ROHM BU27008
        iio: light: ROHM BU27008 color sensor
        iio: kx022a: Use new iio_validate_own_trigger()
        iio: trigger: Add simple trigger_validation helper
        dt-bindings: iio: light: ROHM BU27008
        iio: mlx90614: Add MLX90615 support
        ...
      269b9d8f
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-fixes-for-6.4b' of... · 6ea65f24
      Greg Kroah-Hartman authored
      Merge tag 'iio-fixes-for-6.4b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      2nd set of IIO fixes for the 6.4 cycle.
      
      Given how late this pull request is, I'm expecting these to get queued
      up for the 6.5 merge window.
      
      - adi,ad7192
        * Fix a null pointer as spi_set_drvdata() is no longer called.
        * Fix wrong check prior to using internal clock.
        * Fix dt-binding to make it clear the voltage reference is required.
      - adi,ad74413
        * DIN_SINK should not be set for functions other than digital inputs.
          Enforce that in the driver.
      - amlogic,meson-saradc
        * Fix clock divider mask length - affects only meson 8 family.
      - freescale,fxls8962af
        * Fix endian type and shift of channels to match with default device setup.
        * Narrow errata handling to FXLS8962AF only as doesn't affect other devices
          supported by this driver.
      
      * tag 'iio-fixes-for-6.4b' of https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio:
        meson saradc: fix clock divider mask length
        iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
        iio: accel: fxls8962af: fixup buffer scan element type
        dt-bindings: iio: ad7192: Add mandatory reference voltage source
        iio: adc: ad7192: Fix internal/external clock selection
        iio: adc: ad7192: Fix null ad7192_state pointer access
        iio: addac: ad74413: don't set DIN_SINK for functions other than digital input
      6ea65f24
  2. 10 Jun, 2023 3 commits
  3. 08 Jun, 2023 1 commit
  4. 06 Jun, 2023 1 commit
  5. 05 Jun, 2023 3 commits
  6. 04 Jun, 2023 20 commits
  7. 03 Jun, 2023 1 commit
    • Paolo Bonzini's avatar
      Merge tag 'kvm-x86-fixes-6.4' of https://github.com/kvm-x86/linux into HEAD · f211b450
      Paolo Bonzini authored
      KVM x86 fixes for 6.4
      
       - Fix a memslot lookup bug in the NX recovery thread that could
         theoretically let userspace bypass the NX hugepage mitigation
      
       - Fix a s/BLOCKING/PENDING bug in SVM's vNMI support
      
       - Account exit stats for fastpath VM-Exits that never leave the super
         tight run-loop
      
       - Fix an out-of-bounds bug in the optimized APIC map code, and add a
         regression test for the race.
      f211b450