1. 05 Jul, 2024 1 commit
  2. 04 Jul, 2024 8 commits
    • Sebastian Ene's avatar
      misc: Register a PPI for the vcpu stall detection virtual device · d2b88700
      Sebastian Ene authored
      Request a PPI for each vCPU during probe which will be used by the host
      to communicate a stall detected event on the vCPU. When the host raises
      this interrupt from the virtual machine monitor, the guest is expected to
      handle the interrupt and panic.
      Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
      Link: https://lore.kernel.org/r/20240703153732.3214238-3-sebastianene@google.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d2b88700
    • Sebastian Ene's avatar
      dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual device · 173c0447
      Sebastian Ene authored
      The vcpu stall detector allows the host to monitor the availability of a
      guest VM. Introduce a PPI interrupt which can be injected from the host
      into the virtual gic to let the guest reboot itself.
      Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
      Link: https://lore.kernel.org/r/20240703153732.3214238-2-sebastianene@google.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      173c0447
    • Gerhard Engleder's avatar
      misc: keba: Add basic KEBA CP500 system FPGA support · a1944676
      Gerhard Engleder authored
      The KEBA CP500 system FPGA is a PCIe device, which consists of multiple
      IP cores. Every IP core has its own auxiliary driver. The cp500 driver
      registers an auxiliary device for each device and the corresponding
      drivers are loaded by the Linux driver infrastructure.
      
      Currently 3 variants of this device exists. Every variant has its own
      PCI device ID, which is used to determine the list of available IP
      cores. In this first version only the auxiliary device for the I2C
      controller is registered.
      
      Besides the auxiliary device registration some other basic functions of
      the FPGA are implemented; e.g, FPGA version sysfs file, keep FPGA
      configuration on reset sysfs file, error message for errors on the
      internal AXI bus of the FPGA.
      Signed-off-by: default avatarGerhard Engleder <eg@keba.com>
      Link: https://lore.kernel.org/r/20240630194740.7137-2-gerhard@engleder-embedded.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a1944676
    • Guenter Roeck's avatar
      eeprom: ee1004: Instantiate jc42 devices for DIMMS implementing Rev.1 SPD · 6150e5e1
      Guenter Roeck authored
      DDR4 DIMMS implementing SPD Annex L, Revision 1 do not implement SPD byte
      14 (Module Temperature Sensor); this byte was only added in revision 2 of
      the standard. This only applies to DDR4, not DDR4E or LPDDR4, since those
      DDR types were only introduced in revision 3 of the standard.
      
      Use this information to instantiate the jc42 device if the module is a DDR4
      following SPD revision 1.0 and a device is detected at the expected thermal
      sensor address, even if the Module Temperature Sensor byte suggests that
      the thermal sensor is not supported.
      
      Cc: Heiner Kallweit <hkallweit1@gmail.com>
      Cc: Thomas Weißschuh <linux@weissschuh.net>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Link: https://lore.kernel.org/r/20240629173716.20389-2-linux@roeck-us.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6150e5e1
    • Guenter Roeck's avatar
      eeprom: ee1004: Call i2c_new_scanned_device to instantiate thermal sensor · 249b4dea
      Guenter Roeck authored
      Instantiating a device by calling i2c_new_client_device() assumes that the
      device is not already instantiated. If that is not the case, it will return
      an error and generate a misleading kernel log message.
      
      i2c i2c-0: Failed to register i2c client jc42 at 0x18 (-16)
      
      This can be reproduced by unloading the ee1004 driver and loading it again.
      
      Avoid this by calling i2c_new_scanned_device() instead, which returns
      silently if a device is already instantiated or does not exist.
      
      Fixes: 393bd100 ("eeprom: ee1004: add support for temperature sensor")
      Cc: Heiner Kallweit <hkallweit1@gmail.com>
      Cc: Thomas Weißschuh <linux@weissschuh.net>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Link: https://lore.kernel.org/r/20240629173716.20389-1-linux@roeck-us.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      249b4dea
    • Armin Wolf's avatar
      eeprom: ee1004: Add nvmem support · 79d0df36
      Armin Wolf authored
      Currently the driver does not register a nvmem provider, which means
      that userspace programs cannot access the ee1004 EEPROM through the
      standard nvmem sysfs API.
      Fix this by replacing the custom sysfs attribute with a standard nvmem
      interface, which also takes care of backwards compatibility.
      
      Tested on a Dell Inspiron 3505.
      Signed-off-by: default avatarArmin Wolf <W_Armin@gmx.de>
      Link: https://lore.kernel.org/r/20240625063459.429953-2-W_Armin@gmx.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      79d0df36
    • Armin Wolf's avatar
      eeprom: ee1004: Use devres for bus data cleanup · 55d57ef6
      Armin Wolf authored
      Use devm_add_action_or_reset() to clean up the bus data at
      driver removal or when an error occurs during probe.
      This will allow us to use other devres-based APIs later.
      
      Tested on a Dell Inspiron 3505.
      Signed-off-by: default avatarArmin Wolf <W_Armin@gmx.de>
      Link: https://lore.kernel.org/r/20240625063459.429953-1-W_Armin@gmx.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      55d57ef6
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-6.11b' of... · 14c4dc8b
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-6.11b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next
      
      Jonathan writes:
      
      IIO: 2nd set of new device support, features and cleanup for 6.11
      
      The big one here is we finally have Paul Cercueil's (and others)
      DMA buffer support for IIO devices enabling high speed zero
      copy transfer of data to and from sensors supported by IIO (and for
      example USB).  This should aid with upstream support of a range of
      higher performance ADCs and DACs.
      
      Two merges from other trees
      - spi/spi_devm_optimize used for simplification in ad7944.
      - dmaengine/topic_dma_vec to enable the DMABUF series.
      
      One feature with impact outside IIO.
      - Richer set of dev_err_probe() like helpers to cover ERR_PTR() cases.
      
      New device support
      ==================
      adi,ad7173
      - Add support for AD4111, AD4112, AD4114, AD4115 and ADC4116 pseudo
        differential ADCs. Major driver rework was needed to enabled these.
      adi,ad7944
      - Use devm_spi_optimize_message() to avoid a local devm cleanup
        callback. This is the example case from the patch set, others will
        follow.
      mediatek,mt6359-auxadc
      - New driver for this ADC IP found in MT6357, MT6358 and MT6359 PMICs.
      st,accel
      - Add support for the LIS2DS12 accelerometer
      ti,ads1119
      - New driver for this 16 bit 2-differential or 4-single ended channel
        ADC.
      
      Features
      ========
      dt-bindings
      - Introduce new common-mode-channel property to help handle pseudo
        differential ADCs where we have something that looks like one side
        of differential input, but which is only suited for use with a
        slow moving reference.
      adi,adf4350
      - Support use as a clock provider.
      iio-hmwon
      - Support reading of labels from IIO devices by their consumers and
        use this in the hwmon bridge.
      
      Cleanup and minor fixes
      =======================
      Treewide
      - Use regmap_clear_bits() / regmap_set_bits() to simplify open coded
        equivalents.
      - Use devm_regulator_get_enable_read_voltage() to replace equivalent
        opencoded boilerplate. In some cases enabled complete conversion to
        devm handling and removal of explicit remove() callbacks.
      - Introduce dev_err_ptr_probe() and other variants and make use of
        of them in a couple of examples driver cleanups. Will find use in
        many more drivers soon.
      adi,ad7192
      - Introduce local struct device *dev and use dev_err_probe() to give
        more readable code.
      adi,adi-axi-adc/dac
      - Improved consistency of messages using dev_err_probe()
      adi,adis
      - Split the trigger handling into cases that needed paging and those that
        don't resulting in more readable code.
      - Use cleanup.h to simplify error paths via scoped cleanup.
      - Add adis specific lock helpers and make use of them in a number of drivers.
      adi,ad7192
      - Update maintainer (Alisa-Dariana Roman)
      adi,ad7606
      - dt-binding cleanup.
      avago,apds9306
      - Add a maintainer entry (Subhajit Ghosh)
      linear,ltc2309
      - Fix a wrong endian type.
      st,stm32-dfsdm
      - Fix a missing port property in the dt-binding.
      st,sensors
      - Relax whoami match failure to a warning print rather than probe failure.
        This enables fallback compatibles to existing parts from those that don't
        necessarily even exit yet.
      
      * tag 'iio-for-6.11b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio: (112 commits)
        iio: adc: ad7173: Fix uninitialized symbol is_current_chan
        iio: adc: Add support for MediaTek MT6357/8/9 Auxiliary ADC
        math.h: Add unsigned 8 bits fractional numbers type
        dt-bindings: iio: adc: Add MediaTek MT6359 PMIC AUXADC
        iio: common: scmi_iio: convert to dev_err_probe()
        iio: backend: make use of dev_err_cast_probe()
        iio: temperature: ltc2983: convert to dev_err_probe()
        dev_printk: add new dev_err_probe() helpers
        iio: xilinx-ams: Add labels
        iio: adc: ad7944: use devm_spi_optimize_message()
        Documentation: iio: Document high-speed DMABUF based API
        iio: buffer-dmaengine: Support new DMABUF based userspace API
        iio: buffer-dma: Enable support for DMABUFs
        iio: core: Add new DMABUF interface infrastructure
        MAINTAINERS: Update AD7192 driver maintainer
        iio: adc: ad7192: use devm_regulator_get_enable_read_voltage
        iio: st_sensors: relax WhoAmI check in st_sensors_verify_id()
        MAINTAINERS: Add AVAGO APDS9306
        dt-bindings: iio: adc: adi,ad7606: comment and sort the compatible names
        dt-bindings: iio: adc: adi,ad7606: add missing datasheet link
        ...
      14c4dc8b
  3. 03 Jul, 2024 22 commits
  4. 02 Jul, 2024 1 commit
  5. 01 Jul, 2024 8 commits