1. 07 Oct, 2022 2 commits
  2. 06 Oct, 2022 11 commits
    • Linus Torvalds's avatar
      Merge tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 70df64d6
      Linus Torvalds authored
      Pull vfs d_path updates from Al Viro.
      
      * tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        d_path.c: typo fix...
        dynamic_dname(): drop unused dentry argument
      70df64d6
    • Linus Torvalds's avatar
      Merge tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 46811b5c
      Linus Torvalds authored
      Pull vfs inode update from Al Viro:
       "Saner inode_init_always(), also fixing a nilfs problem"
      
      * tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        fs: fix UAF/GPF bug in nilfs_mdt_destroy
      46811b5c
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-6.1-rc1' of... · ffb39098
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit updates from Shuah Khan:
       "Several documentation fixes, UML related cleanups, and a feature to
        enable/disable KUnit tests
      
        This includes the change to rename all_test_uml.config, and use it for
        '--alltests'. Note: if anyone was using all_tests_uml.config, this
        change breaks them.
      
        This change simplifies the usage and eliminates the need to type:
      
           --kunitconfig=tools/testing/kunit/configs/all_tests_uml.config
      
        A simple workaround to create a symlink to the new name can solve the
        problem for anyone using all_tests_uml.config.
      
        all_tests_uml.config should work across ~all architectures"
      
      * tag 'linux-kselftest-kunit-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        Documentation: Kunit: Use full path to .kunitconfig
        kunit: tool: rename all_test_uml.config, use it for --alltests
        kunit: tool: remove UML specific options from all_tests_uml.config
        lib: stackinit: update reference to kunit-tool
        lib: overflow: update reference to kunit-tool
        Documentation: KUnit: update links in the index page
        Documentation: KUnit: add intro to the getting-started page
        Documentation: KUnit: Reword start guide for selecting tests
        Documentation: KUnit: add note about mrproper in start.rst
        Documentation: KUnit: avoid repeating "kunit.py run" in start.rst
        Documentation: KUnit: remove duplicated docs for kunit_tool
        Documentation: Kunit: Add ref for other kinds of tests
        Documentation: KUnit: Fix non-uml anchor
        Documentation: Kunit: Fix inconsistent titles
        Documentation: kunit: fix trivial typo
        kunit: no longer call module_info(test, "Y") for kunit modules
        kunit: add kunit.enable to enable/disable KUnit test
        kunit: tool: make --raw_output=kunit (aka --raw_output) preserve leading spaces
      ffb39098
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-6.1-rc1' of... · dd42d9c3
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest updates from Shuah Khan:
       "Fixes and new tests:
      
         - Add an amd-pstate-ut test module, used by kselftest to unit test
           amd-pstate functionality
      
         - Fixes and cleanups to to cpu-hotplug to delete the fault injection
           test code
      
         - Improvements to vm test to use top_srcdir for builds"
      
      * tag 'linux-kselftest-next-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        docs:kselftest: fix kselftest_module.h path of example module
        cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT
        selftests/cpu-hotplug: Add log info when test success
        selftests/cpu-hotplug: Reserve one cpu online at least
        selftests/cpu-hotplug: Delete fault injection related code
        selftests/cpu-hotplug: Use return instead of exit
        selftests/cpu-hotplug: Correct log info
        cpufreq: amd-pstate: modify type in argument 2 for filp_open
        Documentation: amd-pstate: Add unit test introduction
        selftests: amd-pstate: Add test trigger for amd-pstate driver
        cpufreq: amd-pstate: Add test module for amd-pstate driver
        cpufreq: amd-pstate: Expose struct amd_cpudata
        selftests/vm: use top_srcdir instead of recomputing relative paths
      dd42d9c3
    • Linus Torvalds's avatar
      Merge tag 'asm-generic-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic · 93ed07a2
      Linus Torvalds authored
      Pull asm-generic updates from Arnd Bergmann:
       "This contains a series from Linus Walleij to unify the linux/io.h
        interface by making the ia64, alpha, parisc and sparc include
        asm-generic/io.h.
      
        All functions provided by the generic header are now available to all
        drivers, but the architectures can still override this.
      
        For the moment, mips and sh still don't include asm-generic/io.h but
        provide a full set of functions themselves.
      
        There are also a few minor cleanups unrelated to this"
      
      * tag 'asm-generic-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic:
        alpha: add full ioread64/iowrite64 implementation
        parisc: Drop homebrewn io[read|write]64_[lo_hi|hi_lo]
        parisc: hide ioread64 declaration on 32-bit
        ia64: export memory_add_physaddr_to_nid to fix cxl build error
        asm-generic: Remove empty #ifdef SA_RESTORER
        parisc: Use the generic IO helpers
        parisc: Remove 64bit access on 32bit machines
        sparc: Fix the generic IO helpers
        alpha: Use generic <asm-generic/io.h>
      93ed07a2
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 18fd0497
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
      
       - arm64 perf: DDR PMU driver for Alibaba's T-Head Yitian 710 SoC, SVE
         vector granule register added to the user regs together with SVE perf
         extensions documentation.
      
       - SVE updates: add HWCAP for SVE EBF16, update the SVE ABI
         documentation to match the actual kernel behaviour (zeroing the
         registers on syscall rather than "zeroed or preserved" previously).
      
       - More conversions to automatic system registers generation.
      
       - vDSO: use self-synchronising virtual counter access in gettimeofday()
         if the architecture supports it.
      
       - arm64 stacktrace cleanups and improvements.
      
       - arm64 atomics improvements: always inline assembly, remove LL/SC
         trampolines.
      
       - Improve the reporting of EL1 exceptions: rework BTI and FPAC
         exception handling, better EL1 undefs reporting.
      
       - Cortex-A510 erratum 2658417: remove BF16 support due to incorrect
         result.
      
       - arm64 defconfig updates: build CoreSight as a module, enable options
         necessary for docker, memory hotplug/hotremove, enable all PMUs
         provided by Arm.
      
       - arm64 ptrace() support for TPIDR2_EL0 (register provided with the SME
         extensions).
      
       - arm64 ftraces updates/fixes: fix module PLTs with mcount, remove
         unused function.
      
       - kselftest updates for arm64: simple HWCAP validation, FP stress test
         improvements, validation of ZA regs in signal handlers, include
         larger SVE and SME vector lengths in signal tests, various cleanups.
      
       - arm64 alternatives (code patching) improvements to robustness and
         consistency: replace cpucap static branches with equivalent
         alternatives, associate callback alternatives with a cpucap.
      
       - Miscellaneous updates: optimise kprobe performance of patching
         single-step slots, simplify uaccess_mask_ptr(), move MTE registers
         initialisation to C, support huge vmalloc() mappings, run softirqs on
         the per-CPU IRQ stack, compat (arm32) misalignment fixups for
         multiword accesses.
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (126 commits)
        arm64: alternatives: Use vdso/bits.h instead of linux/bits.h
        arm64/kprobe: Optimize the performance of patching single-step slot
        arm64: defconfig: Add Coresight as module
        kselftest/arm64: Handle EINTR while reading data from children
        kselftest/arm64: Flag fp-stress as exiting when we begin finishing up
        kselftest/arm64: Don't repeat termination handler for fp-stress
        ARM64: reloc_test: add __init/__exit annotations to module init/exit funcs
        arm64/mm: fold check for KFENCE into can_set_direct_map()
        arm64: ftrace: fix module PLTs with mcount
        arm64: module: Remove unused plt_entry_is_initialized()
        arm64: module: Make plt_equals_entry() static
        arm64: fix the build with binutils 2.27
        kselftest/arm64: Don't enable v8.5 for MTE selftest builds
        arm64: uaccess: simplify uaccess_mask_ptr()
        arm64: asm/perf_regs.h: Avoid C++-style comment in UAPI header
        kselftest/arm64: Fix typo in hwcap check
        arm64: mte: move register initialization to C
        arm64: mm: handle ARM64_KERNEL_USES_PMD_MAPS in vmemmap_populate()
        arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()
        arm64/sve: Add Perf extensions documentation
        ...
      18fd0497
    • Linus Torvalds's avatar
      Merge tag 'arm-soc-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 41fc64a0
      Linus Torvalds authored
      Pull ARM SoC updates from Arnd Bergmann:
       "The main changes this time are for the organization of the Kconfig
        files, introducing per-vendor top-level options on arm64 to match
        those on arm32, and making the platform selection on arm32 more
        uniform, in particular for the remaining StrongARM platforms that
        still have a couple of special cases compared to the more recent ones.
      
        I also did a cleanup of the old Footbridge platform, which was the
        last holdout for the phys_to_dma()/dma_to_phys() interface that is now
        completely gone from arm32, completing work started by Christoph
        Hellwig"
      
      * tag 'arm-soc-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (21 commits)
        ARM: aspeed: Kconfig: Fix indentation
        ARM: Drop CMDLINE_* dependency on ATAGS
        ARM: Drop CMDLINE_FORCE dependency on !ARCH_MULTIPLATFORM
        ARM: s3c: remove orphan declarations from arch/arm/mach-s3c/devs.h
        pxa: Drop if with an always false condition
        ARM: orion: fix include path
        ARM: shmobile: Drop selecting SOC_BUS
        arm64: renesas: Drop selecting SOC_BUS
        ARM: disallow PCI with MMU=n again
        ARM: footbridge: remove custom DMA address handling
        MAINTAINERS: Add BCM4908 maintainer to BCMBCA entry
        ARM: footbridge: move isa-dma support into footbridge
        ARM: footbridge: remove leftover from personal-server
        ARM: footbridge: remove addin mode
        arm64: Kconfig.platforms: Group NXP platforms together
        arm64: Kconfig.platforms: Re-organized Broadcom menu
        ARM: make ARCH_MULTIPLATFORM user-visible
        ARM: fix XIP_KERNEL dependencies
        ARM: Kconfig: clean up platform selection
        ARM: simplify machdirs/platdirs handling
        ...
      41fc64a0
    • Linus Torvalds's avatar
      Merge tag 'arm-dt-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 7171a8da
      Linus Torvalds authored
      Pull ARM devicetree updates from Arnd Bergmann:
       "Most of the changes fall into one of three categories: adding support
        for additional devices on existing machines, cleaning up issues found
        by the ongoing conversion to machine-readable bindings, and addressing
        minor mistakes in the existing DT data.
      
        Across SoC vendors, Qualcomm and Freescale stick out as getting the
        most updates, which corresponds to their dominance in the mobile phone
        and embedded industrial markets, respectively.
      
        There are 636 non-merge changeset in this branch, which is a little
        lower than most times, but more importantly we only add 36 machine
        files, which is about half of what we had the past few releases.
      
        Eight new SoCs are added, but all of them are variations of already
        supported SoC families, and most of them come with one reference board
        design from the SoC vendor:
      
         - Mediatek MT8186 is a Chromebook/Tablet type SoC, similar to the
           MT65xx series of phone SoCs, with two Cortex-A76 and six Cortex-A55
           cores.
      
         - TI AM62A is another member of the K3 family with Cortex-A53 cores,
           this one is targetted at Video/Vision processing for industrial and
           automotive applications.
      
         - NXP i.MX8DXL is another chip for this market in the ever-growing
           i.MX8 family, this one again with two Cortex-A35 cores.
      
         - Renesas R-Car H3Ne-1.7G (R8A779MB) and R-Car V3H2 (R8A77980A) are
           minor updates of R8A77951 and R8A77980, respectively.
      
         - Qualcomm IPQ8064-v2.0, IPQ8062 and IPQ8065 are all variants of the
           IPQ8064 chip, with minimally different features.
      
        The AMD Pensando Elba and Apple M1 Ultra SoC support was getting close
        this time, but in the end did not make the cut.
      
        The new machines based on existing SoC support are fairly uneventful:
      
         - Sony Xperia 1 IV is a fairly recent phone based on Qualcomm
           Snapdragon 8 Gen 1.
      
         - Three Samsung phones based on Snapdragon 410: Galaxy E5, E7 and
           Grand Max. These are added for both 32-bit and 64-bit kernels, as
           they originally shipped running 32-bit code.
      
         - Two new servers using AST2600 BMCs: AMD DaytonaX and Ampere Mt.
           Mitchell
      
         - Three new machines based on Rockchips RK3399 and RK3566: Anberic
           RG353P and RG503, Pine64 Pinephone Pro, Open AI Lab
      
         - Multiple NXP i.MX6/i.MX8 based boards: Kontron SL/BL i.MX8MM OSM-S,
           i.MX8MM Gateworks GW7904, MSC SM2S-IMX8PLUS SoM and carrier board
      
         - Two development boards in the Microchip AT91 family: SAMA5D3-EDS
           and lan966x-pcb8290.
      
         - Minor variants of existing boards using Amlogic, Broadcom, Marvell,
           Rockchips, Freescale Layerscape and Socionext Uniphier SoCs"
      
      * tag 'arm-dt-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (617 commits)
        Revert "ARM: dts: BCM5301X: Add basic PCI controller properties"
        ARM: dts: s5pv210: correct double "pins" in pinmux node
        ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
        arm64: dts: exynos: fix polarity of "enable" line of NFC chip in TM2
        arm64: dts: uniphier: Add L2 cache node
        arm64: dts: uniphier: Remove compatible "snps,dw-pcie" from pcie node
        arm64: dts: uniphier: Fix opp-table node name for LD20
        arm64: dts: uniphier: Add USB-device support for PXs3 reference board
        arm64: dts: uniphier: Add ahci controller nodes for PXs3
        arm64: dts: uniphier: Use GIC interrupt definitions
        arm64: dts: uniphier: Rename gpio-hog nodes
        arm64: dts: uniphier: Rename usb-glue node for USB3 to usb-controller
        arm64: dts: uniphier: Rename usb-phy node for USB2 to usb-controller
        arm64: dts: uniphier: Rename pvtctl node to thermal-sensor
        ARM: dts: uniphier: Remove compatible "snps,dw-pcie-ep" from pcie-ep node
        ARM: dts: uniphier: Move interrupt-parent property to each child node in uniphier-support-card
        ARM: dts: uniphier: Add ahci controller nodes for PXs2
        ARM: dts: uniphier: Add ahci controller nodes for Pro4
        ARM: dts: uniphier: Use GIC interrupt definitions
        ARM: dts: uniphier: Rename gpio-hog node
        ...
      7171a8da
    • Linus Torvalds's avatar
      Merge tag 'arm-drivers-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ff6862c2
      Linus Torvalds authored
      Pull ARM driver updates from Arnd Bergmann:
       "The drivers branch for 6.1 is a bit larger than for most releases.
      
        Most of the changes come from SoC maintainers for the drivers/soc
        subsystem:
      
         - A new driver for error handling on the NVIDIA Tegra 'control
           backbone' bus.
      
         - A new driver for Qualcomm LLCC/DDR bandwidth measurement
      
         - New Rockchip rv1126 and rk3588 power domain drivers
      
         - DT binding updates for memory controllers, older Rockchip SoCs,
           various Mediatek devices, Qualcomm SCM firmware
      
         - Minor updates to Hisilicon LPC bus, the Allwinner SRAM driver, the
           Apple rtkit firmware driver, Tegra firmware
      
         - Minor updates for SoC drivers (Samsung, Mediatek, Renesas, Tegra,
           Qualcomm, Broadcom, NXP, ...)
      
        There are also some separate subsystem with downstream maintainers
        that merge updates this way:
      
         - Various updates and new drivers in the memory controller subsystem
           for Mediatek and Broadcom SoCs
      
         - Small set of changes in preparation to add support for FF-A v1.1
           specification later, in the Arm FF-A firmware subsystem
      
         - debugfs support in the PSCI firmware subsystem"
      
      * tag 'arm-drivers-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (149 commits)
        ARM: remove check for CONFIG_DEBUG_LL_SER3
        firmware/psci: Add debugfs support to ease debugging
        firmware/psci: Print a warning if PSCI doesn't accept PC mode
        dt-bindings: memory: snps,dw-umctl2-ddrc: Extend schema with IRQs/resets/clocks props
        dt-bindings: memory: snps,dw-umctl2-ddrc: Replace opencoded numbers with macros
        dt-bindings: memory: snps,dw-umctl2-ddrc: Use more descriptive device name
        dt-bindings: memory: synopsys,ddrc-ecc: Detach Zynq DDRC controller support
        soc: sunxi: sram: Add support for the D1 system control
        soc: sunxi: sram: Export the LDO control register
        soc: sunxi: sram: Save a pointer to the OF match data
        soc: sunxi: sram: Return void from the release function
        soc: apple: rtkit: Add apple_rtkit_poll
        soc: imx: add i.MX93 media blk ctrl driver
        soc: imx: add i.MX93 SRC power domain driver
        soc: imx: imx8m-blk-ctrl: Use genpd_xlate_onecell
        soc: imx: imx8mp-blk-ctrl: handle PCIe PHY resets
        soc: imx: imx8m-blk-ctrl: add i.MX8MP VPU blk ctrl
        soc: imx: add i.MX8MP HDMI blk ctrl HDCP/HRV_MWR
        soc: imx: add icc paths for i.MX8MP hsio/hdmi blk ctrl
        soc: imx: add icc paths for i.MX8MP media blk ctrl
        ...
      ff6862c2
    • Linus Torvalds's avatar
      Merge tag 'arm-defconfig-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 40285e64
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "As usual, we enable newly added device drivers in the various
        defconfig files.
      
        This time, there is also a larger cleanup series that just reorders
        symbols according to what 'make savedefconfig' outputs and then tracks
        down the most common removed or renamed symbols on top"
      
      * tag 'arm-defconfig-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (43 commits)
        ARM: config: aspeed_g5: Enable PECI
        ARM: configs: aspeed_g4: Remove appended DTB and ATAG
        ARM: configs: aspeed: Refresh defconfigs
        ARM: config: aspeed: Enable namespaces
        ARM: configs: aspeed_g4: Enable IPV6 options
        ARM: configs: aspeed_g4: Enable OCC and NBD drivers
        ARM: configs: aspeed_g5: Enable MCTP stack
        ARM: configs: aspeed_g5: Add PL2303 USB serial driver
        ARM: configs: aspeed_g5: Add TPM TIS I2C driver
        ARM: configs: aspeed_g5: Add mp5023 driver
        ARM: configs: aspeed: Add support for USB flash drives
        arm64: configs: Enable all PMUs provided by Arm
        arm64: defconfig: Enable Synopsys DWC MSHC driver
        arm64: defconfig: Enabled SC8180x configs
        arm64: defconfig: Make TEGRA186_GPC_DMA built-in
        arm64: tegra: Enable Tegra SPI & QSPI in deconfig
        arm64: defconfig: enable newer Qualcomm SoC sound drivers
        ARM: config: ixp4xx: Disable legacy EEPROM driver
        arm64: defconfig: Enable devfreq cooling device
        arm64: defconfig: enable ARCH_NXP
        ...
      40285e64
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 7782aae4
      Linus Torvalds authored
      Pull ARM updates from Russell King:
      
       - Print an un-hashed userspace PC on undefined instruction exception
      
       - Disable FDPIC ABI
      
       - Remove redundant vfp_flush/release_thread functions
      
       - Use raw_cpu_* rather than this_cpu_* in handle_bad_stack()
      
       - Avoid needlessly long backtraces when show_regs() is called
      
       - Fix an issue with stack traces through call_with_stack()
      
       - Avoid stack traces saving a duplicate exception PC value
      
       - Pass a void pointer to virt_to_page() in DMA mapping code
      
       - Fix kasan maps for modules when CONFIG_KASAN_VMALLOC=n
      
       - Show FDT region and page table level names in kernel page tables dump
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
        ARM: 9246/1: dump: show page table level name
        ARM: 9245/1: dump: show FDT region
        ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
        ARM: 9240/1: dma-mapping: Pass (void *) to virt_to_page()
        ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value
        ARM: 9233/1: stacktrace: Skip frame pointer boundary check for call_with_stack()
        ARM: 9224/1: Dump the stack traces based on the parameter 'regs' of show_regs()
        ARM: 9232/1: Replace this_cpu_* with raw_cpu_* in handle_bad_stack()
        ARM: 9228/1: vfp: kill vfp_flush/release_thread()
        ARM: 9226/1: disable FDPIC ABI
        ARM: 9221/1: traps: print un-hashed user pc on undefined instruction
      7782aae4
  3. 05 Oct, 2022 27 commits
    • Linus Torvalds's avatar
      Merge tag 'sound-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 833477fc
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "The majority of changes are ASoC drivers (SOF, Intel, AMD, Mediatek,
        Qualcomm, TI, Apple Silicon, etc), while we see a few small fixes in
        ALSA / ASoC core side, too.
      
        Here are highlights:
      
        Core:
         - A new string helper parse_int_array_user() and cleanups with it
         - Continued cleanup of memory allocation helpers
         - PCM core optimization and hardening
         - Continued ASoC core code cleanups
      
        ASoC:
         - Improvements to the SOF IPC4 code, especially around trace
         - Support for AMD Rembrant DSPs, AMD Pink Sardine ACP 6.2, Apple
           Silicon systems, Everest ES8326, Intel Sky Lake and Kaby Lake,
           Mediatek MT8186 support, NXP i.MX8ULP DSPs, Qualcomm SC8280XP,
           SM8250 and SM8450 and Texas Instruments SRC4392
      
        HD- and USB-audio:
         - Cleanups for unification of hda-ext bus
         - HD-audio HDMI codec driver cleanups
         - Continued endpoint management fixes for USB-audio
         - New quirks as usual"
      
      * tag 'sound-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (422 commits)
        ALSA: hda: Fix position reporting on Poulsbo
        ALSA: hda/hdmi: Don't skip notification handling during PM operation
        ASoC: rockchip: i2s: use regmap_read_poll_timeout_atomic to poll I2S_CLR
        ASoC: dt-bindings: Document audio OF graph dai-tdm-slot-num dai-tdm-slot-width props
        ASoC: qcom: fix unmet direct dependencies for SND_SOC_QDSP6
        ALSA: usb-audio: Fix potential memory leaks
        ALSA: usb-audio: Fix NULL dererence at error path
        ASoC: mediatek: mt8192-mt6359: Set the driver name for the card
        ALSA: hda/realtek: More robust component matching for CS35L41
        ASoC: Intel: sof_rt5682: remove SOF_RT1015_SPEAKER_AMP_100FS flag
        ASoC: nau8825: Add TDM support
        ASoC: core: clarify the driver name initialization
        ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
        ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
        ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
        ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
        ASoC: wcd-mbhc-v2: Revert "ASoC: wcd-mbhc-v2: use pm_runtime_resume_and_get()"
        ASoC: mediatek: mt8186: Fix spelling mistake "slect" -> "select"
        ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model
        ALSA: asihpi - Remove unused struct hpi_subsys_response
        ...
      833477fc
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2022-10-05' of git://anongit.freedesktop.org/drm/drm · 7e6739b9
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Lots of stuff all over, some new AMD IP support and gang submit
        support. i915 has further DG2 and Meteorlake pieces, and a bunch of
        i915 display refactoring. msm has a shrinker rework. There are also a
        bunch of conversions to use kunit.
      
        This has two external pieces, some MEI changes needed for future Intel
        discrete GPUs. These should be acked by Greg. There is also a cross
        maintainer shared tree with some backlight rework from Hans in here.
      
        Core:
         - convert selftests to kunit
         - managed init for more objects
         - move to idr_init_base
         - rename fb and gem cma helpers to dma
         - hide unregistered connectors from getconnector ioctl
         - DSC passthrough aux support
         - backlight handling improvements
         - add dma_resv_assert_held to vmap/vunmap
      
        edid:
         - move luminance calculation to core
      
        fbdev:
         - fix aperture helper usage
      
        fourcc:
         - add more format helpers
         - add DRM_FORMAT_Cxx, DRM_FORMAT_Rxx, DRM_FORMAT_Dxx
         - add packed AYUV8888, XYUV8888
         - add some kunit tests
      
        ttm:
         - allow bos without backing store
         - rewrite placement to use intersect/compatible functions
      
        dma-buf:
         - docs update
         - improve signalling when debugging
      
        udmabuf:
         - fix failure path GPF
      
        dp:
         - drop dp/mst legacy code
         - atomic mst state support
         - audio infoframe packing
      
        panel:
         - Samsung LTL101AL01
         - B120XAN01.0
         - R140NWF5 RH
         - DMT028VGHMCMI-1A T
         - AUO B133UAN02.1
         - IVO M133NW4J-R3
         - Innolux N120ACA-EA1
      
        amdgpu:
         - Gang submit support
         - Mode2 reset for RDNA2
         - New IP support:
              DCN 3.1.4, 3.2
              SMU 13.x
              NBIO 7.7
              GC 11.x
              PSP 13.x
              SDMA 6.x
              GMC 11.x
         - DSC passthrough support
         - PSP fixes for TA support
         - vangogh GFXOFF stats
         - clang fixes
         - gang submit CS cleanup prep work
         - fix VRAM eviction issues
      
        amdkfd:
         - GC 10.3 IP ISA fixes
         - fix CRIU regression
         - CPU fault on COW mapping fixes
      
        i915:
         - align fw versioning with kernel practices
         - add display substruct to i915 private
         - add initial runtime info to driver info
         - split out HDCP and backlight registers
         - MEI XeHP SDV GSC support
         - add per-gt sysfs defaults
         - TLB invalidation improvements
         - Disable PCI BAR resize on 32-bit
         - GuC firmware updates and compat changes
         - GuC log timestamp translation
         - DG2 preemption workaround changes
         - DG2 improved HDMI pixel clocks support
         - PCI BAR sanity checks
         - Enable DC5 on DG2
         - DG2 DMC fw bumped
         - ADL-S PCI ID added
         - Meteorlake enablement
         - Rename ggtt_view to gtt_view
         - host RPS fixes
         - release mmaps on rpm suspend on discrete
         - clocking and dpll refactoring
         - VBT definitions and parsing updates
         - SKL watermark code extracted to separate file
         - allow seamless M/N changes on eDP panels
         - BUG_ON removal and cleanups
      
        msm:
         - DPU:
             simplified VBIF configuration
             cleanup CTL interfaces
         - DSI:
             removed unused msm_display_dsc_config struct
             switch regulator calls to new API
             switched to PANEL_BRIDGE for direct attached panels
         - DSI_PHY: convert drivers to parent_hws
         - DP: cleanup pixel_rate handling
         - HDMI: turned hdmi-phy-8996 into OF clk provider
         - misc dt-bindings fixes
         - choose eDP as primary display if it's available
         - support getting interconnects from either the mdss or the mdp5/dpu
           device nodes
         - gem: Shrinker + LRU re-work:
         - adds a shared GEM LRU+shrinker helper and moves msm over to that
         - reduce lock contention between retire and submit by avoiding the
           need to acquire obj lock in retire path (and instead using resv
           seeing obj's busyness in the shrinker
         - fix reclaim vs submit issues
         - GEM fault injection for triggering userspace error paths
         - Map/unmap optimization
         - Improved robustness for a6xx GPU recovery
      
        virtio:
         - improve error and edge conditions handling
         - convert to use managed helpers
         - stop exposing LINEAR modifier
      
        mgag200:
         - split modeset handling per model
      
        udl:
         - suspend/disconnect handling improvements
      
        vc4:
         - rework HDMI power up
         - depend on PM
         - better unplugging support
      
        ast:
         - resolution handling improvements
      
        ingenic:
         - add JZ4760(B) support
         - avoid a modeset when sharpness property is unchanged
         - use the new PM ops
      
        it6505:
         - power seq and clock updates
      
        ssd130x:
         - regmap bulk write
         - use atomic helpers instead of simple helpers
      
        via:
         - rename via_drv to via_dri1, consolidate all code.
      
        radeon:
         - drop DP MST experimental support
         - delayed work flush fix
         - use time_after
      
        ti-sn65dsi86:
         - DP support
      
        mediatek:
         - MT8195 DP support
         - drop of_gpio header
         - remove unneeded result
         - small DP code improvements
      
        vkms:
         - RGB565, XRGB64 and ARGB64 support
      
        sun4i:
         - tv: convert to atomic
      
        rcar-du:
         - Synopsys DW HDMI bridge DT bindings update
      
        exynos:
         - use drm_display_info.is_hdmi
         - correct return of mixer_mode_valid and hdmi_mode_valid
      
        omap:
         - refcounting fix
      
        rockchip:
         - RK3568 support
         - RK3399 gamma support"
      
      * tag 'drm-next-2022-10-05' of git://anongit.freedesktop.org/drm/drm: (1374 commits)
        drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
        drm/amdkfd: Track unified memory when switching xnack mode
        drm/amdgpu: Enable sram on vcn_4_0_2
        drm/amdgpu: Enable VCN DPG for GC11_0_1
        drm/msm: Fix build break with recent mm tree
        drm/panel: simple: Use dev_err_probe() to simplify code
        drm/panel: panel-edp: Use dev_err_probe() to simplify code
        drm/panel: simple: Add Multi-Inno Technology MI0800FT-9
        dt-bindings: display: simple: Add Multi-Inno Technology MI0800FT-9 panel
        drm/amdgpu: correct the memcpy size for ip discovery firmware
        drm/amdgpu: Skip put_reset_domain if it doesn't exist
        drm/amdgpu: remove switch from amdgpu_gmc_noretry_set
        drm/amdgpu: Fix mc_umc_status used uninitialized warning
        drm/amd/display: Prevent OTG shutdown during PSR SU
        drm/amdgpu: add page retirement handling for CPU RAS
        drm/amdgpu: use RAS error address convert api in mca notifier
        drm/amdgpu: support to convert dedicated umc mca address
        drm/amdgpu: export umc error address convert interface
        drm/amdgpu: fix sdma v4 init microcode error
        drm/amd/display: fix array-bounds error in dc_stream_remove_writeback()
        ...
      7e6739b9
    • Linus Torvalds's avatar
      Merge tag 'backlight-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight · a47e6072
      Linus Torvalds authored
      Pull backlight update from Lee Jones:
      
       - Add support for MediaTek MT6370 Backlight
      
      * tag 'backlight-next-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
        video: backlight: mt6370: Add MediaTek MT6370 support
        dt-bindings: backlight: Add MediaTek MT6370 backlight
      a47e6072
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v6.1-1' of... · 7fb68b6c
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver updates from Hans de Goede:
      
       - AMD Platform Management Framework (PMF) driver with AMT and QnQF
         support
      
       - AMD PMC: Improved logging for debugging s2idle issues
      
       - Big refactor of the ACPI/x86 backlight handling, ensuring that we
         only register 1 /sys/class/backlight device per LCD panel
      
       - Microsoft Surface:
          - Surface Laptop Go 2 support
          - Surface Pro 8 HID sensor support
      
       - Asus WMI:
          - Lots of cleanups
          - Support for TUF RGB keyboard backlight control
          - Add support for ROG X13 tablet mode
      
       - Siemens Simatic: IPC227G and IPC427G support
      
       - Toshiba ACPI laptop driver: Fan hwmon and battery ECO mode support
      
       - tools/power/x86/intel-speed-select: Various improvements
      
       - Various cleanups
      
       - Various small bugfixes
      
      * tag 'platform-drivers-x86-v6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (153 commits)
        platform/x86: use PLATFORM_DEVID_NONE instead of -1
        platform/x86/amd: pmc: Dump idle mask during "check" stage instead
        platform/x86/intel/wmi: thunderbolt: Use dev_groups callback
        platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks
        platform/surface: Split memcpy() of struct ssam_event flexible array
        platform/x86: compal-laptop: Get rid of a few forward declarations
        platform/x86: intel-uncore-freq: Use sysfs_emit() to instead of scnprintf()
        platform/x86: dell-smbios-base: Use sysfs_emit()
        platform/x86/amd/pmf: Remove unused power_delta instances
        platform/x86/amd/pmf: install notify handler after acpi init
        Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF
        platform/x86/amd/pmf: Add sysfs to toggle CnQF
        platform/x86/amd/pmf: Add support for CnQF
        platform/x86/amd: pmc: Fix build without debugfs
        platform/x86: hp-wmi: Support touchpad on/off
        platform/x86: int3472/discrete: Drop a forward declaration
        platform/x86: toshiba_acpi: change turn_on_panel_on_resume to static
        platform/x86: wmi: Drop forward declaration of static functions
        platform/x86: toshiba_acpi: Remove duplicate include
        platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
        ...
      7fb68b6c
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-for-v6.1' of... · 1c2daf52
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform updates from Tzung-Bi Shih:
       "cros_ec_proto:
         - Fix protocol failure if EC firmware jumps to RO part
      
        cros_typec_switch:
         - Add USB Type-C switch driver for mode switches and retimers
         - Integrate to EC for retimers, status update, and mode switches
         - Clean-ups
      
        cros_ec_typec:
         - Clean-ups
         - Use partner PDOs to register USB PD capabilities
      
        chromeos_laptop:
         - Fix a double-free
      
        cros_ec_chardev:
         - Check data length from userland to avoid a memory corruption
      
        cros_ec:
         - Expose suspend_timeout_ms in debugfs
         - Notify the PM about wake events during resume"
      
      * tag 'tag-chrome-platform-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: cros_ec: Notify the PM of wake events during resume
        platform/chrome: cros_ec_typec: Register partner PDOs
        platform/chrome: cros_typec_switch: Inline DRV_NAME
        platform/chrome: cros_typec_switch: Use PTR_ERR_OR_ZERO() to simplify
        platform/chrome: cros_typec_switch: Remove impossible condition
        platform/chrome: cros_typec_switch: Add missing newline on printk
        platform/chrome: cros_ec_typec: Correct alt mode index
        platform/chrome: cros_ec_typec: Add bit offset for DP VDO
        platform/chrome: cros_ec: Expose suspend_timeout_ms in debugfs
        platform/chrome: fix memory corruption in ioctl
        platform/chrome: fix double-free in chromeos_laptop_prepare()
        platform/chrome: cros_ec_typec: Get retimer handle
        platform/chrome: cros_ec_typec: Cleanup switch handle return paths
        platform/chrome: cros_typec_switch: Register mode switches
        platform/chrome: cros_typec_switch: Add event check
        platform/chrome: cros_typec_switch: Set EC retimer
        platform/chrome: cros_typec_switch: Add switch driver
        platform/chrome: Add Type-C mux set command definitions
        platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
      1c2daf52
    • Hoi Pok Wu's avatar
      docs:kselftest: fix kselftest_module.h path of example module · 83e14a57
      Hoi Pok Wu authored
      "module.h" does not exist in kselftest, it should be "kselftest_module.h".
      Signed-off-by: default avatarHoi Pok Wu <wuhoipok@gmail.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      83e14a57
    • Meng Li's avatar
      cpufreq: amd-pstate: Add explanation for X86_AMD_PSTATE_UT · bf6430f8
      Meng Li authored
      This kernel module is used for testing. It's safe to say M here.
      It can also be built-in without X86_AMD_PSTATE enabled.
      Currently, only tests for amd-pstate are supported. If X86_AMD_PSTATE
      is set disabled, it can tell the users test can only run on amd-pstate
      driver, please set X86_AMD_PSTATE enabled.
      In the future, comparison tests will be added. It can set amd-pstate
      disabled and set acpi-cpufreq enabled to run test cases, then compare
      the test results.
      Suggested-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      bf6430f8
    • Zhao Gongyi's avatar
      selftests/cpu-hotplug: Add log info when test success · 96788ac5
      Zhao Gongyi authored
      Add log information when run full test successfully.
      Signed-off-by: default avatarZhao Gongyi <zhaogongyi@huawei.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      96788ac5
    • Zhao Gongyi's avatar
      selftests/cpu-hotplug: Reserve one cpu online at least · 51d4c851
      Zhao Gongyi authored
      Considering that we can not offline all cpus in any cases,
      we need to reserve one cpu online when the test offline all
      hotpluggable online cpus, otherwise the test will fail forever.
      
      Fixes: d89dffa9 ("fault-injection: add selftests for cpu and memory hotplug")
      Signed-off-by: default avatarZhao Gongyi <zhaogongyi@huawei.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      51d4c851
    • Zhao Gongyi's avatar
      selftests/cpu-hotplug: Delete fault injection related code · 195d74be
      Zhao Gongyi authored
      Delete fault injection related code since the module has been deleted.
      Signed-off-by: default avatarZhao Gongyi <zhaogongyi@huawei.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      195d74be
    • Zhao Gongyi's avatar
      selftests/cpu-hotplug: Use return instead of exit · 972cf4ce
      Zhao Gongyi authored
      Some cpus will be left in offline state when online
      function exits in some error conditions. Use return
      instead of exit to fix it.
      Signed-off-by: default avatarZhao Gongyi <zhaogongyi@huawei.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      972cf4ce
    • Zhao Gongyi's avatar
      selftests/cpu-hotplug: Correct log info · 2354edd0
      Zhao Gongyi authored
      Correct the log info to match the test.
      Signed-off-by: default avatarZhao Gongyi <zhaogongyi@huawei.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      2354edd0
    • Meng Li's avatar
      cpufreq: amd-pstate: modify type in argument 2 for filp_open · ce29a148
      Meng Li authored
      Modify restricted FMODE_PREAD to experted int O_RDONLY to
      fix the sparse warnings below:
      sparse warnings: (new ones prefixed by >>)
      >> drivers/cpufreq/amd-pstate-ut.c:74:40: sparse: sparse: incorrect type
      >> in argument 2 (different base types) @@     expected int @@     got
      >> restricted fmode_t [usertype] @@
         drivers/cpufreq/amd-pstate-ut.c:74:40: sparse:     expected int
         drivers/cpufreq/amd-pstate-ut.c:74:40: sparse:     got restricted
      fmode_t [usertype]
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      ce29a148
    • Meng Li's avatar
      Documentation: amd-pstate: Add unit test introduction · 7fe36297
      Meng Li authored
      Introduce the AMD P-State unit test module design and implementation.
      It also talks about kselftest and how to use.
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      7fe36297
    • Meng Li's avatar
      selftests: amd-pstate: Add test trigger for amd-pstate driver · e1083a03
      Meng Li authored
      Add amd-pstate test trigger in kselftest, it will load/unload
      amd-pstate-ut module to test some cases etc.
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      e1083a03
    • Meng Li's avatar
      cpufreq: amd-pstate: Add test module for amd-pstate driver · 14eb1c96
      Meng Li authored
      Add amd-pstate-ut test module, this module is used by kselftest
      to unit test amd-pstate functionality. This module will be
      expected by some of selftests to be present and loaded.
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      14eb1c96
    • Meng Li's avatar
      cpufreq: amd-pstate: Expose struct amd_cpudata · f1375ec1
      Meng Li authored
      Expose struct amd_cpudata to AMD P-State unit test module.
      
      This data struct will be used on the following AMD P-State unit test
      (amd-pstate-ut) module. The amd-pstate-ut module can get some
      AMD infomations by this data struct. For example: highest perf,
      nominal perf, boost supported etc.
      Signed-off-by: default avatarMeng Li <li.meng@amd.com>
      Acked-by: default avatarHuang Rui <ray.huang@amd.com>
      Acked-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      f1375ec1
    • Axel Rasmussen's avatar
      selftests/vm: use top_srcdir instead of recomputing relative paths · 0e29bc0e
      Axel Rasmussen authored
      In various places both in t/t/s/v/Makefile as well as some of the test
      sources, we were referring to headers or directories using some fairly
      long relative paths.
      
      Since we have a working top_srcdir variable though, which refers to the
      root of the kernel tree, we can clean up all of these "up and over"
      relative paths, just relying on the single variable instead.
      Signed-off-by: default avatarAxel Rasmussen <axelrasmussen@google.com>
      Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      0e29bc0e
    • Linus Torvalds's avatar
      Merge tag 'mmc-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · c3f13bbf
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
      
       - dt-bindings: Increase maximum supported frequency to 384MHz
      
       - dw_mmc-rockchip: Add support for the rk3128 variant
      
       - meson-gx: Add support for SDIO interrupts
      
       - mtk-sd: Add support for MT6795 Helio X10 variant
      
       - sdhci: Improve the code by centralizing the CMD/DATA reset handling
      
       - sdhci-msm:
           - Add support for the sdm670 variant
           - Add support for the sm6115 variant
      
       - sdhci-omap: Make Vignesh replace Kishon as the maintainer
      
       - sdhci-pci-o2micro: Disable fragile support for DDR50 in favor of
         SDR50
      
       - sdhci-sprd: Fix clock divider limitation
      
      * tag 'mmc-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (31 commits)
        mmc: sdhci: Centralize CMD and DATA reset handling
        mmc: sdhci: Get rid of SDHCI_QUIRK_RESET_CMD_DATA_ON_IOS
        mmc: sdhci: Remove misleading comment about resets
        mmc: sdhci: Separate out sdhci_reset_for_all()
        MAINTAINERS: Add Vignesh as maintainer of TI SDHCI OMAP DRIVER
        mmc: sdhci-msm: add compatible string check for sdm670
        dt-bindings: mmc: sdhci-msm: add sdm670 compatible
        mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
        mmc: rtsx_usb_sdmmc: Remove the unneeded result variable
        mmc: sdhci-of-aspeed: Add dependency on ARCH_ASPEED
        mmc: mtk-sd: Add support for MT6795 Helio X10
        mmc: mtk-sd: Reorder of_device_id and platform data by name
        mmc: sdhci-sprd: Fix the limitation of div
        dt-bindings: mmc: sdhci-msm: Add pinctrl-1 property
        dt-bindings: mmc: rockchip: add rockchip,rk3128-dw-mshc
        dt-bindings: mmc: renesas,sdhi: Add iommus property
        mmc: sdhci_am654: Remove the unneeded result variable
        mmc: meson-gx: add SDIO interrupt support
        mmc: meson-gx: adjust and re-use constant IRQ_EN_MASK
        mmc: jz4740_mmc: Fix error check for dma_map_sg
        ...
      c3f13bbf
    • Linus Torvalds's avatar
      Merge tag 'pcmcia-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux · ebcfaeec
      Linus Torvalds authored
      Pull PCMCIA updates from Dominik Brodowski:
       "Odd cleanups and fixes for v6.1
      
        Remove the obsolete VR41XX and AT91RM9200 Compact Flash drivers, and
        fix some minor coding issues (__init/__exit annotations, unused
        variable)"
      
      * tag 'pcmcia-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux:
        pcmcia: remove AT91RM9200 Compact Flash driver
        pcmcia: Removed unused variable control.
        pcmcia: Add __init/__exit annotations to module init/exit funcs
        pcmcia: at91_cf: make mc static
        pcmcia: remove VR41XX PCMCIA driver
        pcmcia: sa1100: Make sa11x0_drv_pcmcia_legacy_remove() return void
      ebcfaeec
    • Nathan Chancellor's avatar
      arm64: alternatives: Use vdso/bits.h instead of linux/bits.h · d2995249
      Nathan Chancellor authored
      When building with CONFIG_LTO after commit ba00c2a0 ("arm64: fix the
      build with binutils 2.27"), the following build error occurs:
      
        In file included from arch/arm64/kernel/module-plts.c:6:
        In file included from include/linux/elf.h:6:
        In file included from arch/arm64/include/asm/elf.h:8:
        In file included from arch/arm64/include/asm/hwcap.h:9:
        In file included from arch/arm64/include/asm/cpufeature.h:9:
        In file included from arch/arm64/include/asm/alternative-macros.h:5:
        In file included from include/linux/bits.h:22:
        In file included from include/linux/build_bug.h:5:
        In file included from include/linux/compiler.h:248:
        In file included from arch/arm64/include/asm/rwonce.h:71:
        include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm'
                return __READ_ONCE(*(unsigned long *)addr);
                      ^
        arch/arm64/include/asm/rwonce.h:43:16: note: expanded from macro '__READ_ONCE'
                        asm volatile(__LOAD_RCPC(b, %w0, %1)                    \
                                    ^
        arch/arm64/include/asm/rwonce.h:17:2: note: expanded from macro '__LOAD_RCPC'
                ALTERNATIVE(                                                    \
                ^
      
      Similar to the issue resolved by commit 0072dc1b ("arm64: avoid
      BUILD_BUG_ON() in alternative-macros"), there is a circular include
      dependency through <linux/bits.h> when CONFIG_LTO is enabled due to
      <asm/rwonce.h> appearing in the include chain before the contents of
      <asm/alternative-macros.h>, which results in ALTERNATIVE() not getting
      expanded properly because it has not been defined yet.
      
      Avoid this issue by including <vdso/bits.h>, which includes the
      definition of the BIT() macro, instead of <linux/bits.h>, as BIT() is the
      only macro from bits.h that is relevant to this header.
      
      Fixes: ba00c2a0 ("arm64: fix the build with binutils 2.27")
      Link: https://github.com/ClangBuiltLinux/linux/issues/1728Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Tested-by: default avatarWill Deacon <will@kernel.org>
      Link: https://lore.kernel.org/r/20221003193759.1141709-1-nathan@kernel.orgSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      d2995249
    • Arnd Bergmann's avatar
      Revert "ARM: dts: BCM5301X: Add basic PCI controller properties" · 114b9da7
      Arnd Bergmann authored
      Adding the #address-cells/#size-cells properties without also
      adding the other required properties for PCI nodes causes new
      build warnings from dtc that now show up everywhere, rather than
      just while verifying the yaml bindings:
      
      arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge)
      arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge)
      arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge)
      arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge'
      
      Revert it for now.
      
      Fixes: 61dc1e38 ("ARM: dts: BCM5301X: Add basic PCI controller properties")
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      114b9da7
    • Linus Torvalds's avatar
      Merge tag 'spi-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 2bca25ea
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "With the exception of some refactoring to fix long standing issues
        where we weren't handling cache syncs properly for messages which had
        PIO and DMA transfers going to the same page correctly there has been
        no work on the core this time around, and it's also been quite a quiet
        release for the drivers too:
      
         - Fix cache syncs for cases where we have DMA and PIO transfers in
           the same message going to the same page
      
         - Update the fsl_spi driver to use transfer_one() rather than a
           custom transfer function
      
         - Support for configuring transfer speeds with the AMD SPI controller
      
         - Support for a second chip select and 64K erase on Intel SPI
      
         - Support for Microchip coreQSPI, Nuvoton NPCM845, NXP i.MX93, and
           Rockchip RK3128 and RK3588"
      
      * tag 'spi-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (73 commits)
        spi: Ensure that sg_table won't be used after being freed
        spi: spi-gxp: Use devm_platform_ioremap_resource()
        spi: s3c64xx: Fix large transfers with DMA
        spi: Split transfers larger than max size
        spi: Fix cache corruption due to DMA/PIO overlap
        spi: Save current RX and TX DMA devices
        spi: mt65xx: Add dma max segment size declaration
        spi: migrate mt7621 text bindings to YAML
        spi: renesas,sh-msiof: Add r8a779g0 support
        spi: spi-fsl-qspi: Use devm_platform_ioremap_resource_byname()
        spi: spi-fsl-lpspi: Use devm_platform_get_and_ioremap_resource()
        spi: spi-fsl-dspi: Use devm_platform_get_and_ioremap_resource()
        spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
        spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
        spi: cadence-quadspi: Fix PM disable depth imbalance in cqspi_probe
        spi: s3c24xx: Switch to use devm_spi_alloc_master()
        spi: xilinx: Switch to use devm_spi_alloc_master()
        spi: img-spfi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
        spi: aspeed: Remove redundant dev_err call
        spi: spi-mpc52xx: switch to using gpiod API
        ...
      2bca25ea
    • Linus Torvalds's avatar
      Merge tag 'regulator-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · d40c8745
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "The core work this time around has mostly been around the code to
        manage regulator modes, simplifying the interface for configuring
        modes to not take account of the voltage and as a side effect
        resolving a bootstrapping issue on systems where we can't read the
        voltage from the regulator.
      
        Otherwise it's been quite a quiet release with some new drivers and a
        devm helper:
      
         - Make the load handling in the Qualcomm RPMH regulators much more
           idiomatic and general cleanups to the handling of load
           configuration
      
         - devm helper for a combined get and enable operation
      
         - Support for MediaTek MT6331, Qualcomm PM660, 660L and PM6125, Texas
           Instruments TPS65219"
      
      * tag 'regulator-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (45 commits)
        dt-bindings: gpio-regulator: add vin-supply property support
        regulator: gpio: Add input_supply support in gpio_regulator_config
        regulator: tps65219: Fix is_enabled checking in tps65219_set_bypass
        regulator: qcom,rpmh: add pm660 and pm660l pmics
        regulator: qcom-rpmh: add pm660 and pm660l pmics
        regulator: of: Fix kernel-doc
        regulator: of: Fix kernel-doc
        regulator: Add driver for MT6332 PMIC regulators
        regulator: Add bindings for MT6332 regulator
        regulator: Add driver for MT6331 PMIC regulators
        regulator: Add bindings for MT6331 regulator
        regulator: tps65219: Fix .bypass_val_on setting
        regulator: qcom_rpm: Fix circular deferral regression
        regulator: core: Prevent integer underflow
        regulator: dt-bindings: qcom,rpmh: Indicate regulator-allow-set-load dependencies
        regulator: bd9576: switch to using devm_fwnode_gpiod_get()
        regulator: bd71815: switch to using devm_fwnode_gpiod_get()
        regulator: core: Fix regulator supply registration with sysfs
        regulator: tps65219: change tps65219_regulator_irq_types to static
        regulator: core: Don't err if allow-set-load but no allowed-modes
        ...
      d40c8745
    • Linus Torvalds's avatar
      Merge tag 'regmap-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 521d04e3
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "This has been a busy release for regmap with one thing and other,
        there's been an especially large interest in MMIO regmaps for some
        reason. The bulk of the changes are cleanups but there are several
        user visible changes too:
      
         - Support for I/O ports in regmap-mmio
      
         - Support for accelerated noinc operations in regmap-mmio
      
         - Support for tracing the register values in bulk operations"
      
      * tag 'regmap-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap: mmio: replace return 0 with break in switch statement
        regmap: spi-avmm: Use swabXX_array() helpers
        regmap: mmio: Use swabXX_array() helpers
        swab: Add array operations
        regmap: trace: Remove unneeded blank lines
        regmap: trace: Remove explicit castings
        regmap: trace: Remove useless check for NULL for bulk ops
        regmap: mmio: Fix rebase error
        regmap: check right noinc bounds in debug print
        regmap: introduce value tracing for regmap bulk operations
        regmap/hexagon: Properly fix the generic IO helpers
        regmap: mmio: Support accelerared noinc operations
        regmap: Support accelerated noinc operations
        regmap: Make use of get_unaligned_be24(), put_unaligned_be24()
        regmap: mmio: Fix MMIO accessors to avoid talking to IO port
        regmap: mmio: Introduce IO accessors that can talk to IO port
        regmap: mmio: Get rid of broken 64-bit IO
        regmap: mmio: Remove mmio_relaxed member from context
      521d04e3
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 0baf6dcc
      Linus Torvalds authored
      Pull hwmon updates from Guenter Roeck:
       "New drivers:
      
         - Driver for MAX31760 fan speed controller
      
         - Driver for TEXAS TPS546D24 Buck Converter
      
         - Driver for EMC2301/2/3/5 RPM-based PWM Fan Speed Controller
      
        Removed drivers:
      
         - Drop obsolete asus_wmi_ec_sensors driver
      
        Cleanups, affecting various drivers:
      
         - Use DEFINE_SIMPLE_DEV_PM_OPS where appropriate
      
         - Remove forward declarations
      
         - Move from strlcpy with unused retval to strscpy
      
         - Make use of devm_clk_get_enabled()
      
         - Drop devm_of_pwm_get()
      
        Other notable cleanup and improvements:
      
         - Support for additional USB devide ID and support for reporting of
           rail mode via debugfs added to corsair-psu driver
      
         - Support for aditional USB ID in nzxt-smart2 driver
      
         - Support for Aquacomputer High Flow Next in aquacomputer_d5next
           driver
      
         - Major cleanup of pwm-fan driver
      
         - Major cleanup of mr75203 driver, and added support for new device
           revision
      
        And various other minor fixes and cleanups"
      
      * tag 'hwmon-for-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (86 commits)
        hwmon: (corsair-psu) add USB id of new revision of the HX1000i psu
        hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
        dt-bindings: hwmon: sensirion,shtc1: Clean up spelling mistakes and grammar
        hwmon: (nct6683) remove unused variable in nct6683_create_attr_group
        hwmon: w83627hf: Reorder symbols to get rid of a few forward declarations
        hwmon: (ina3221) Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
        hwmon: (w83627ehf) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (tmp108) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (tmp103) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (tmp102) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (pwm-fan) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (nct6775) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (max6639) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (max31730) witch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (max31722) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (ltc2947) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (lm90) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (it87) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (gpio-fan) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        hwmon: (adt7x10) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
        ...
      0baf6dcc
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · b86406d4
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
      
       - 'remove' callback converted to return void. Big change with trivial
         fixes all over the tree. Other subsystems depending on this change
         have been asked to pull an immutable topic branch for this.
      
       - new driver for Microchip PCI1xxxx switch
      
       - heavy refactoring of the Mellanox BlueField driver
      
       - we prefer async probe in the i801 driver now
      
       - the rest is usual driver updates (support for more SoCs, some
         refactoring, some feature additions)
      
      * tag 'i2c-for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (37 commits)
        i2c: pci1xxxx: prevent signed integer overflow
        i2c: acpi: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
        i2c: i801: Prefer async probe
        i2c: designware-pci: Use standard pattern for memory allocation
        i2c: designware-pci: Group AMD NAVI quirk parts together
        i2c: microchip: pci1xxxx: Add driver for I2C host controller in multifunction endpoint of pci1xxxx switch
        docs: i2c: slave-interface: return errno when handle I2C_SLAVE_WRITE_REQUESTED
        i2c: mlxbf: remove device tree support
        i2c: mlxbf: support BlueField-3 SoC
        i2c: cadence: Add standard bus recovery support
        i2c: mlxbf: add multi slave functionality
        i2c: mlxbf: support lock mechanism
        macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change
        i2c: riic: Use devm_platform_ioremap_resource()
        i2c: mlxbf: remove IRQF_ONESHOT
        dt-bindings: i2c: rockchip: add rockchip,rk3128-i2c
        dt-bindings: i2c: renesas,rcar-i2c: Add r8a779g0 support
        i2c: tegra: Add GPCDMA support
        i2c: scmi: Convert to be a platform driver
        i2c: rk3x: Add rv1126 support
        ...
      b86406d4