1. 14 Dec, 2022 1 commit
  2. 09 Dec, 2022 1 commit
  3. 08 Dec, 2022 1 commit
    • Kris Bahnsen's avatar
      spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode · 3a6f994f
      Kris Bahnsen authored
      The addition of 3WIRE support would affect MOSI direction even
      when still in standard (4 wire) mode. This can lead to MOSI being
      at an invalid logic level when a device driver sets an SPI
      message with a NULL tx_buf.
      
      spi.h states that if tx_buf is NULL then "zeros will be shifted
      out ... " If MOSI is tristated then the data shifted out is subject
      to pull resistors, keepers, or in the absence of those, noise.
      
      This issue came to light when using spi-gpio connected to an
      ADS7843 touchscreen controller. MOSI pulled high when clocking
      MISO data in caused the SPI device to interpret this as a command
      which would put the device in an unexpected and non-functional
      state.
      
      Fixes: 4b859db2 ("spi: spi-gpio: add SPI_3WIRE support")
      Fixes: 5132b3d2 ("spi: gpio: Support 3WIRE high-impedance turn-around")
      Signed-off-by: default avatarKris Bahnsen <kris@embeddedTS.com>
      Link: https://lore.kernel.org/r/20221207230853.6174-1-kris@embeddedTS.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      3a6f994f
  4. 07 Dec, 2022 3 commits
  5. 06 Dec, 2022 1 commit
  6. 01 Dec, 2022 1 commit
  7. 29 Nov, 2022 4 commits
  8. 28 Nov, 2022 2 commits
  9. 25 Nov, 2022 10 commits
  10. 24 Nov, 2022 3 commits
  11. 23 Nov, 2022 3 commits
  12. 18 Nov, 2022 4 commits
  13. 16 Nov, 2022 1 commit
  14. 14 Nov, 2022 2 commits
  15. 06 Nov, 2022 3 commits
    • Linus Torvalds's avatar
      Linux 6.1-rc4 · f0c4d9fc
      Linus Torvalds authored
      f0c4d9fc
    • Linus Torvalds's avatar
      Merge tag 'cxl-fixes-for-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl · 16c7a368
      Linus Torvalds authored
      Pull cxl fixes from Dan Williams:
       "Several fixes for CXL region creation crashes, leaks and failures.
      
        This is mainly fallout from the original implementation of dynamic CXL
        region creation (instantiate new physical memory pools) that arrived
        in v6.0-rc1.
      
        Given the theme of "failures in the presence of pass-through decoders"
        this also includes new regression test infrastructure for that case.
      
        Summary:
      
         - Fix region creation crash with pass-through decoders
      
         - Fix region creation crash when no decoder allocation fails
      
         - Fix region creation crash when scanning regions to enforce the
           increasing physical address order constraint that CXL mandates
      
         - Fix a memory leak for cxl_pmem_region objects, track 1:N instead of
           1:1 memory-device-to-region associations.
      
         - Fix a memory leak for cxl_region objects when regions with active
           targets are deleted
      
         - Fix assignment of NUMA nodes to CXL regions by CFMWS (CXL Window)
           emulated proximity domains.
      
         - Fix region creation failure for switch attached devices downstream
           of a single-port host-bridge
      
         - Fix false positive memory leak of cxl_region objects by recycling
           recently used region ids rather than freeing them
      
         - Add regression test infrastructure for a pass-through decoder
           configuration
      
         - Fix some mailbox payload handling corner cases"
      
      * tag 'cxl-fixes-for-6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl:
        cxl/region: Recycle region ids
        cxl/region: Fix 'distance' calculation with passthrough ports
        tools/testing/cxl: Add a single-port host-bridge regression config
        tools/testing/cxl: Fix some error exits
        cxl/pmem: Fix cxl_pmem_region and cxl_memdev leak
        cxl/region: Fix cxl_region leak, cleanup targets at region delete
        cxl/region: Fix region HPA ordering validation
        cxl/pmem: Use size_add() against integer overflow
        cxl/region: Fix decoder allocation crash
        ACPI: NUMA: Add CXL CFMWS 'nodes' to the possible nodes set
        cxl/pmem: Fix failure to account for 8 byte header for writes to the device LSA.
        cxl/region: Fix null pointer dereference due to pass through decoder commit
        cxl/mbox: Add a check on input payload size
      16c7a368
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.1-rc4' of... · aa529949
      Linus Torvalds authored
      Merge tag 'hwmon-for-v6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon fixes from Guenter Roeck:
       "Fix two regressions:
      
         - Commit 54cc3dbf ("hwmon: (pmbus) Add regulator supply into
           macro") resulted in regulator undercount when disabling regulators.
           Revert it.
      
         - The thermal subsystem rework caused the scmi driver to no longer
           register with the thermal subsystem because index values no longer
           match. To fix the problem, the scmi driver now directly registers
           with the thermal subsystem, no longer through the hwmon core"
      
      * tag 'hwmon-for-v6.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        Revert "hwmon: (pmbus) Add regulator supply into macro"
        hwmon: (scmi) Register explicitly with Thermal Framework
      aa529949