1. 02 Aug, 2022 1 commit
  2. 23 Jul, 2022 2 commits
  3. 22 Jul, 2022 1 commit
  4. 21 Jul, 2022 16 commits
  5. 09 Jun, 2022 2 commits
    • Tao Jin's avatar
      HID: multitouch: new device class fix Lenovo X12 trackpad sticky · 54eed5c7
      Tao Jin authored
      The trackpad of the given device sends continuous report of pointers
      status as per wxn8 spec. However, the spec did not clarify when the
      fingers are lifted so fast that between the interval of two report
      frames fingers on pad reduced from >=2 to 0. The second last report
      contains >=2 fingers with tip state 1 and the last report contains only
      1 finger with tip state 0. Although this can happen unfrequently, a
        quick fix will be improve the consistency to 100%. A quick fix is to
      disable MT_QUIRK_ALWAYS_VALID and enable MT_QUIRK_NOT_SEEN_MEANS_UP.
      
      Test for hid-tools is added in [1]
      
      In addition to this, I2C device 04CA:00B1 may also need similar class
      but with MT_QUIRK_FORCE_MULTI_INPUT disabled (but it does not harm to
       enable it on non-multi-input device either). The respective owner has
      been notified and a patch may coming soon after test.
      
      [1]: https://gitlab.freedesktop.org/libevdev/hid-tools/-/merge_requests/130Signed-off-by: default avatarTao Jin <tao-j@outlook.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      54eed5c7
    • Harshit Mogalapalli's avatar
      HID: cp2112: prevent a buffer overflow in cp2112_xfer() · 38158384
      Harshit Mogalapalli authored
      Smatch warnings:
      drivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy()
      'data->block[1]' too small (33 vs 255)
      drivers/hid/hid-cp2112.c:793 cp2112_xfer() error: __memcpy() 'buf' too
      small (64 vs 255)
      
      The 'read_length' variable is provided by 'data->block[0]' which comes
      from user and it(read_length) can take a value between 0-255. Add an
      upper bound to 'read_length' variable to prevent a buffer overflow in
      memcpy().
      
      Fixes: 542134c0 ("HID: cp2112: Fix I2C_BLOCK_DATA transactions")
      Signed-off-by: default avatarHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      38158384
  6. 08 Jun, 2022 5 commits
  7. 27 May, 2022 3 commits
  8. 24 May, 2022 10 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2022052401' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid · aa051d36
      Linus Torvalds authored
      Pull HID updates from Jiri Kosina:
      
       - support for pens with 3 buttons with Wacom driver (Joshua Dickens)
      
       - support for HID_DG_SCANTIME to report the timestamp for pen and touch
         events in Wacom driver (Joshua Dickens)
      
       - support for sensor discovery in amd-sfh driver (Basavaraj Natikar)
      
       - support for wider variety of Huion tablets ported from DIGImend
         project (José Expósito, Nikolai Kondrashov)
      
       - new device IDs and other assorted small code cleanups
      
      * tag 'for-linus-2022052401' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid: (44 commits)
        HID: apple: Properly handle function keys on Keychron keyboards
        HID: uclogic: Switch to Digitizer usage for styluses
        HID: uclogic: Add pen support for XP-PEN Star 06
        HID: uclogic: Differentiate touch ring and touch strip
        HID: uclogic: Always shift touch reports to zero
        HID: uclogic: Do not focus on touch ring only
        HID: uclogic: Return raw parameters from v2 pen init
        HID: uclogic: Move param printing to a function
        HID: core: Display "SENSOR HUB" for sensor hub bus string in hid_info
        HID: amd_sfh: Move bus declaration outside of amd-sfh
        HID: amd_sfh: Add physical location to HID device
        HID: amd_sfh: Modify the hid name
        HID: amd_sfh: Modify the bus name
        HID: amd_sfh: Add sensor name by index for debug info
        HID: amd_sfh: Add support for sensor discovery
        HID: bigben: fix slab-out-of-bounds Write in bigben_probe
        Hid: wacom: Fix kernel test robot warning
        HID: uclogic: Disable pen usage for Huion keyboard interfaces
        HID: uclogic: Support disabling pen usage
        HID: uclogic: Pass keyboard reports as is
        ...
      aa051d36
    • Linus Torvalds's avatar
      Merge tag 'spi-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · d8e0f976
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "This is quite a quiet release but some new drivers mean that the
        diffstat is fairly large. The new drivers include the aspeed driver
        which is migrated from MTD as part of the ongoing move of controllers
        with specialised support for SPI flashes into the SPI subsystem.
      
         - Support for devices which flip CPHA during recieve only transfers
           (eg, if MOSI and MISO have inverted polarity).
      
         - Overhaul of the i.MX driver, including the addition of PIO support
           for better performance on small transfers.
      
         - Migration of the Aspeed driver from MTD.
      
         - Support for Aspeed AST2400, Ingenic JZ4775 and X1/2000 and MediaTek
           IPM and SFI"
      
      * tag 'spi-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (84 commits)
        spi: spi-au1550: replace ternary operator with min()
        mtd: spi-nor: aspeed: set the decoding size to at least 2MB for AST2600
        spi: aspeed: Calibrate read timings
        spi: aspeed: Add support for the AST2400 SPI controller
        spi: aspeed: Workaround AST2500 limitations
        spi: aspeed: Adjust direct mapping to device size
        spi: aspeed: Add support for direct mapping
        spi: spi-mem: Convert Aspeed SMC driver to spi-mem
        spi: Convert the Aspeed SMC controllers device tree binding
        spi: spi-cadence: Update ISR status variable type to irqreturn_t
        spi: Doc fix - Describe add_lock and dma_map_dev in spi_controller
        spi: cadence-quadspi: Handle spi_unregister_master() in remove()
        spi: stm32-qspi: Remove SR_BUSY bit check before sending command
        spi: stm32-qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd()
        spi: stm32-qspi: Fix wait_cmd timeout in APM mode
        spi: cadence-quadspi: remove unnecessary (void *) casts
        spi: cadence-quadspi: Add missing blank line in cqspi_request_mmap_dma()
        spi: spi-imx: mx51_ecspi_prepare_message(): skip writing MX51_ECSPI_CONFIG register if unchanged
        spi: spi-imx: add PIO polling support
        spi: spi-imx: replace struct spi_imx_data::bitbang by pointer to struct spi_controller
        ...
      d8e0f976
    • Linus Torvalds's avatar
      Merge tag 'regulator-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 9b18d07b
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "This is mostly a drivers update including a couple of new drivers but
        we do have some fixes and improvements to the core as well.
      
         - Make sure we don't log spuriously about uncontrollable regulators.
      
         - Don't use delays when we should use sleeps for regulators with
           larger ramp times.
      
         - Support for MediaTek MT6358 and MT6366, Richtek RT5759 and Silicon
           Mitus SM5703"
      
      * tag 'regulator-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (36 commits)
        regulator: scmi: Fix refcount leak in scmi_regulator_probe
        regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
        regulator: qcom_smd: Fix up PM8950 regulator configuration
        regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
        regulator: core: Add error flags to sysfs attributes
        regulator: dt-bindings: qcom,rpmh: document vdd-l7-bob-supply on PMR735A
        regulator: dt-bindings: qcom,rpmh: document supplies per variant
        regulator: dt-bindings: qcom,rpmh: update maintainers
        regulator: mt6315: Enforce regulator-compatible, not name
        regulator: pca9450: Enable DVS control via PMIC_STBY_REQ
        regulator: pca9450: Make warm reset on WDOG_B assertion
        regulator: Add property for WDOG_B warm reset
        regulator: pca9450: Make I2C Level Translator configurable
        regulator: Add property for I2C level shifter
        regulator: sm5703: Correct reference to the common regulator schema
        regulator: sm5703-regulator: Add regulators support for SM5703 MFD
        dt-bindings: regulator: Add bindings for Silicon Mitus SM5703 regulators
        regulator: richtek,rt4801: parse GPIOs per regulator
        regulator: dt-bindings: richtek,rt4801: use existing ena_gpiod feature
        regulator: core: Sleep (not delay) in set_voltage()
        ...
      9b18d07b
    • Linus Torvalds's avatar
      Merge tag 'regmap-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 5d23bb5f
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "The main change here is Marek's addition of bulk read/write callbacks
        for individual regmaps, we've supported single register operations for
        a while but there's enough hardware out there which can use bulk
        equivalents to make it worthwhile"
      
      * tag 'regmap-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap: Add missing map->bus check
        regmap: Add bulk read/write callbacks into regmap_config
        regmap: cache: set max_register with reg_stride
        regmap: Constify static regmap_bus structs
      5d23bb5f
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 638971b7
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
      
         - Support zero-out using TRIM for eMMC
      
         - Allow to override the busy-timeout for the ioctl-cmds
      
        MMC host:
      
         - Continued the conversion of DT bindings into the JSON schema
      
         - jz4740: Apply DMA engine limits to maximum segment size
      
         - mmci_stm32: Use a buffer for unaligned DMA requests
      
         - mmc_spi: Enabled high-speed modes via parsing of DT
      
         - omap: Make clock management to be compliant with CCF
      
         - renesas_sdhi:
            - Support eMMC HS400 mode for R-Car V3H ES2.0
            - Don't allow support for eMMC HS400 for R-Car V3M/D3
      
         - sdhci_am654: Fix problem when SD card slot lacks the card detect
           line
      
         - sdhci-esdhc-imx: Add support for the imx8dxl variant
      
         - sdhci-brcmstb: Enable support for clock gating to save power
      
         - sdhci-msm:
            - Add support for the sdx65 variant
            - Add support for the sm8150 variant
      
         - sdhci-of-dwcmshc: Add support for the Rockchip rk3588 variant
      
         - sdhci-pci-gli: Add workaround to allow GL9755 to enter ASPM L1.2"
      
      * tag 'mmc-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (52 commits)
        mmc: sdhci-of-arasan: Add NULL check for data field
        mmc: core: Support zeroout using TRIM for eMMC
        mmc: sdhci-brcmstb: Fix compiler warning
        mmc: sdhci-msm: Add compatible string check for sdx65
        dt-bindings: mmc: sdhci-msm: Document the SDX65 compatible
        mmc: sdhci-msm: Add compatible string check for sm8150
        dt-bindings: mmc: sdhci-msm: Add compatible string for sm8150
        mmc: sdhci-msm: Add SoC specific compatibles
        dt-bindings: mmc: sdhci-msm: Convert bindings to yaml
        dt-bindings: mmc: brcm,sdhci-brcmstb: cleanup example
        dt-bindings: mmc: brcm,sdhci-brcmstb: correct number of reg entries
        mmc: sdhci-brcmstb: Enable Clock Gating to save power
        mmc: sdhci-brcmstb: Re-organize flags
        mmc: mmci: Remove custom ios handler
        mmc: atmel-mci: Simplify if(chan) and if(!chan)
        mmc: core: use kobj_to_dev()
        dt-bindings: mmc: sdhci-of-dwcmhsc: Add rk3588
        mmc: core: Add CIDs for cards to the entropy pool
        mmc: core: Allows to override the timeout value for ioctl() path
        mmc: sdhci-omap: Use of_device_get_match_data() helper
        ...
      638971b7
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.19-1' of https://github.com/cminyard/linux-ipmi · b1b5bf16
      Linus Torvalds authored
      Pull IPMI update from Corey Minyard:
       "Add limits on the number of users and messages, plus sysfs interfaces
        to control those limits.
      
        Other than that, little cleanups, use dev_xxx() insted of pr_xxx(),
        create initializers for structures, fix a refcount leak, etc"
      
      * tag 'for-linus-4.19-1' of https://github.com/cminyard/linux-ipmi:
        ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe
        ipmi: remove unnecessary type castings
        ipmi: Make two logs unique
        ipmi:si: Convert pr_debug() to dev_dbg()
        ipmi: Convert pr_debug() to dev_dbg()
        ipmi: Fix pr_fmt to avoid compilation issues
        ipmi: Add an intializer for ipmi_recv_msg struct
        ipmi: Add an intializer for ipmi_smi_msg struct
        ipmi:ssif: Check for NULL msg when handling events and messages
        ipmi: use simple i2c probe function
        ipmi: Add a sysfs count of total outstanding messages for an interface
        ipmi: Add a sysfs interface to view the number of users
        ipmi: Limit the number of message a user may have outstanding
        ipmi: Add a limit on the number of users that may use IPMI
      b1b5bf16
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · d3353719
      Linus Torvalds authored
      Pull mtd updates from Miquel Raynal:
       "MTD core changes:
         - Call of_platform_populate() for MTD partitions
         - Check devicetree alias for index
         - mtdoops:
            - Add a timestamp to the mtdoops header.
            - Create a header structure for the saved mtdoops.
            - Fix the size of the header read buffer.
         - mtdblock: Warn if opened on NAND
         - Bindings:
            - reserved-memory: Support MTD/block device
            - jedec,spi-nor: remove unneeded properties
            - Extend fixed-partitions binding
            - Add Sercomm (Suzhou) Corporation vendor prefix
      
        MTD driver changes:
         - st_spi_fsm: add missing clk_disable_unprepare() in stfsm_remove()
         - phram:
            - Allow cached mappings
            - Allow probing via reserved-memory
         - maps: ixp4xx: Drop driver
         - bcm47xxpart: Print correct offset on read error
      
        CFI driver changes:
         - Rename chip_ready variables
         - Add S29GL064N ID definition
         - Use chip_ready() for write on S29GL064N
         - Move and rename chip_check/chip_ready/chip_good_for_write
      
        NAND core changes:
         - Print offset instead of page number for bad blocks
      
        Raw NAND controller drivers:
         - Cadence: Fix possible null-ptr-deref in cadence_nand_dt_probe()
         - CS553X: simplify the return expression of cs553x_write_ctrl_byte()
         - Davinci: Remove redundant unsigned comparison to zero
         - Denali: Use managed device resources
         - GPMI:
            - Add large oob bch setting support
            - Rename the variable ecc_chunk_size
            - Uninline the gpmi_check_ecc function
            - Add strict ecc strength check
            - Refactor BCH geometry settings function
         - Intel: Fix possible null-ptr-deref in ebu_nand_probe()
         - MPC5121: Check before clk_disable_unprepare() not needed
         - Mtk:
            - MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK
            - Also parse the default nand-ecc-engine property if available
            - Make mtk_ecc.c a separated module
         - OMAP ELM:
            - Convert the bindings to yaml
            - Describe the bindings for AM64 ELM
            - Add support for its compatible
         - Renesas: Use runtime PM instead of the raw clock API and update the
           bindings accordingly
         - Rockchip: Check before clk_disable_unprepare() not needed
         - TMIO: Check return value after calling platform_get_resource()
      
        Raw NAND chip driver:
         - Kioxia: Add support for TH58NVG3S0HBAI4 and TC58NVG0S3HTA00
      
        SPI-NAND chip drivers:
         - Gigadevice:
            - Add support for:
               - GD5FxGM7xExxG
               - GD5F{2,4}GQ5xExxG
               - GD5F1GQ5RExxG
               - GD5FxGQ4xExxG
            - Fix Quad IO for GD5F1GQ5UExxG
         - XTX: Add support for XT26G0xA
      
        SPI NOR core changes:
         - Read back written SR value to make sure the write was done
           correctly.
         - Introduce a common function for Read ID that manufacturer drivers
           can use to verify the Octal DTR switch worked correctly.
         - Add helpers for read/write any register commands so manufacturer
           drivers don't open code it every time.
         - Clarify rdsr dummy cycles documentation.
         - Add debugfs entry to expose internal flash parameters and state.
      
        SPI NOR manufacturer drivers changes:
         - Add support for Winbond W25Q512NW-IM, and Eon EN25QH256A.
         - Move spi_nor_write_ear() to Winbond module since only Winbond
           flashes use it.
         - Rework Micron and Cypress Octal DTR enable methods to improve
           readability.
         - Use the common Read ID function to verify switch to Octal DTR mode
           for Micron and Cypress flashes.
         - Skip polling status on volatile register writes for Micron and
           Cypress flashes since the operation is instant"
      
      * tag 'mtd/for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (68 commits)
        mtd: st_spi_fsm: add missing clk_disable_unprepare() in stfsm_remove()
        dt-bindings: mtd: partitions: Extend fixed-partitions binding
        dt-bindings: Add Sercomm (Suzhou) Corporation vendor prefix
        mtd: phram: Allow cached mappings
        mtd: call of_platform_populate() for MTD partitions
        mtd: rawnand: renesas: Use runtime PM instead of the raw clock API
        dt-bindings: mtd: renesas: Fix the NAND controller description
        mtd: rawnand: mpc5121: Check before clk_disable_unprepare() not needed
        mtd: rawnand: rockchip: Check before clk_disable_unprepare() not needed
        mtd: nand: MTD_NAND_ECC_MEDIATEK should depend on ARCH_MEDIATEK
        mtd: rawnand: cs553x: simplify the return expression of cs553x_write_ctrl_byte()
        mtd: rawnand: kioxia: Add support for TH58NVG3S0HBAI4
        mtd: spi-nor: debugfs: fix format specifier
        mtd: spi-nor: support eon en25qh256a variant
        mtd: spi-nor: winbond: add support for W25Q512NW-IM
        mtd: spi-nor: expose internal parameters via debugfs
        mtd: spi-nor: export spi_nor_hwcaps_pp2cmd()
        mtd: spi-nor: move spi_nor_write_ear() to winbond module
        mtd: spi-nor: amend the rdsr dummy cycles documentation
        mtd: cfi_cmdset_0002: Rename chip_ready variables
        ...
      d3353719
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v5.19-rc1' of... · 076f222a
      Linus Torvalds authored
      Merge tag 'hwmon-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
      
      Pull hwmon updates from Guenter Roeck:
       "New drivers:
      
         - Driver for the Microchip LAN966x SoC
      
         - PMBus driver for Infineon Digital Multi-phase xdp152 family
           controllers
      
        Chip support added to existing drivers:
      
         - asus-ec-sensors:
            - Support for ROG STRIX X570-E GAMING WIFI II, PRIME X470-PRO, and
              ProArt X570 Creator WIFI
            - External temperature sensor support for ASUS WS X570-ACE
      
         - nct6775:
            - Support for I2C driver
            - Support for ASUS PRO H410T / PRIME H410M-R /
              ROG X570-E GAMING WIFI II
      
         - lm75:
            - Support for - Atmel AT30TS74
      
         - pmbus/max16601:
            - Support for MAX16602
      
         - aquacomputer_d5next:
            - Support for Aquacomputer Farbwerk
            - Support for Aquacomputer Octo
      
         - jc42:
            - Support for S-34TS04A
      
        Kernel API changes / clarifications:
      
         - The chip parameter of with_info API is now mandatory
      
         - New hwmon_device_register_for_thermal API call for use by the
           thermal subsystem
      
        Improvements:
      
         - PMBus and JC42 drivers now register with thermal subsystem
      
         - PMBus drivers now support get_voltage/set_voltage power operations
      
         - The adt7475 driver now supports pin configuration
      
         - The lm90 driver now supports setting extended range temperatures
           configuration with a devicetree property
      
         - The dell-smm driver now registers as cooling device
      
         - The OCC driver delays hwmon registration until requested by
           userspace
      
        ... and various other minor fixes and improvements"
      
      * tag 'hwmon-for-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (71 commits)
        hwmon: (aquacomputer_d5next) Fix an error handling path in aqc_probe()
        hwmon: (sl28cpld) Fix typo in comment
        hwmon: (pmbus) Check PEC support before reading other registers
        hwmon: (dimmtemp) Fix bitmap handling
        hwmon: (lm90) enable extended range according to DTS node
        dt-bindings: hwmon: lm90: add ti,extended-range-enable property
        dt-bindings: hwmon: lm90: add missing ti,tmp461
        hwmon: (ibmaem) Directly use ida_alloc()/free()
        hwmon: Directly use ida_alloc()/free()
        hwmon: (asus-ec-sensors) fix Formula VIII definition
        dt-bindings: trivial-devices: Add xdp152
        hwmon: (sl28cpld-hwmon) Use HWMON_CHANNEL_INFO macro
        hwmon: (pwm-fan) Use HWMON_CHANNEL_INFO macro
        hwmon: (peci/dimmtemp) Use HWMON_CHANNEL_INFO macro
        hwmon: (peci/cputemp) Use HWMON_CHANNEL_INFO macro
        hwmon: (mr75203) Use HWMON_CHANNEL_INFO macro
        hwmon: (ltc2992) Use HWMON_CHANNEL_INFO macro
        hwmon: (as370-hwmon) Use HWMON_CHANNEL_INFO macro
        hwmon: Make chip parameter for with_info API mandatory
        thermal/drivers/thermal_hwmon: Use hwmon_device_register_for_thermal()
        ...
      076f222a
    • Linus Torvalds's avatar
      Merge tag 'integrity-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity · 0350785b
      Linus Torvalds authored
      Pull IMA updates from Mimi Zohar:
       "New is IMA support for including fs-verity file digests and signatures
        in the IMA measurement list as well as verifying the fs-verity file
        digest based signatures, both based on policy.
      
        In addition, are two bug fixes:
      
         - avoid reading UEFI variables, which cause a page fault, on Apple
           Macs with T2 chips.
      
         - remove the original "ima" template Kconfig option to address a boot
           command line ordering issue.
      
        The rest is a mixture of code/documentation cleanup"
      
      * tag 'integrity-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity:
        integrity: Fix sparse warnings in keyring_handler
        evm: Clean up some variables
        evm: Return INTEGRITY_PASS for enum integrity_status value '0'
        efi: Do not import certificates from UEFI Secure Boot for T2 Macs
        fsverity: update the documentation
        ima: support fs-verity file digest based version 3 signatures
        ima: permit fsverity's file digests in the IMA measurement list
        ima: define a new template field named 'd-ngv2' and templates
        fs-verity: define a function to return the integrity protected file digest
        ima: use IMA default hash algorithm for integrity violations
        ima: fix 'd-ng' comments and documentation
        ima: remove the IMA_TEMPLATE Kconfig option
        ima: remove redundant initialization of pointer 'file'.
      0350785b
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-v5.19-rc1' of... · 7cf6a8a1
      Linus Torvalds authored
      Merge tag 'tpmdd-next-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
      
      Pull tpm updates from Jarkko Sakkinen:
      
       - Tightened validation of key hashes for SYSTEM_BLACKLIST_HASH_LIST. An
         invalid hash format causes a compilation error. Previously, they got
         included to the kernel binary but were silently ignored at run-time.
      
       - Allow root user to append new hashes to the blacklist keyring.
      
       - Trusted keys backed with Cryptographic Acceleration and Assurance
         Module (CAAM), which part of some of the new NXP's SoC's. Now there
         is total three hardware backends for trusted keys: TPM, ARM TEE and
         CAAM.
      
       - A scattered set of fixes and small improvements for the TPM driver.
      
      * tag 'tpmdd-next-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
        MAINTAINERS: add KEYS-TRUSTED-CAAM
        doc: trusted-encrypted: describe new CAAM trust source
        KEYS: trusted: Introduce support for NXP CAAM-based trusted keys
        crypto: caam - add in-kernel interface for blob generator
        crypto: caam - determine whether CAAM supports blob encap/decap
        KEYS: trusted: allow use of kernel RNG for key material
        KEYS: trusted: allow use of TEE as backend without TCG_TPM support
        tpm: Add field upgrade mode support for Infineon TPM2 modules
        tpm: Fix buffer access in tpm2_get_tpm_pt()
        char: tpm: cr50_i2c: Suppress duplicated error message in .remove()
        tpm: cr50: Add new device/vendor ID 0x504a6666
        tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
        tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
        tpm/tpm_ftpm_tee: Return true/false (not 1/0) from bool functions
        certs: Explain the rationale to call panic()
        certs: Allow root user to append signed hashes to the blacklist keyring
        certs: Check that builtin blacklist hashes are valid
        certs: Make blacklist_vet_description() more strict
        certs: Factor out the blacklist hash creation
        tools/certs: Add print-cert-tbs-hash.sh
      7cf6a8a1