1. 26 Apr, 2021 40 commits
    • Linus Torvalds's avatar
      Merge tag 'erofs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs · b5b3097d
      Linus Torvalds authored
      Pull erofs updates from Gao Xiang:
       "In this cycle, we would like to introduce a new feature called big
        pcluster so EROFS can compress file data into more than 1 fs block and
        different pcluster size can be selected for each (sub-)files by
        design.
      
        The current EROFS test results on my laptop are [1]:
      
          Testscript: erofs-openbenchmark
          Testdata: enwik9 (1000000000 bytes)
           ________________________________________________________________
          |  file system  |   size    | seq read | rand read | rand9m read |
          |_______________|___________|_ MiB/s __|__ MiB/s __|___ MiB/s ___|
          |___erofs_4k____|_556879872_|_ 781.4 __|__ 55.3 ___|___ 25.3  ___|
          |___erofs_16k___|_452509696_|_ 864.8 __|_ 123.2 ___|___ 20.8  ___|
          |___erofs_32k___|_415223808_|_ 899.8 __|_ 105.8 _*_|___ 16.8 ____|
          |___erofs_64k___|_393814016_|_ 906.6 __|__ 66.6 _*_|___ 11.8 ____|
          |__squashfs_8k__|_556191744_|_  64.9 __|__ 19.3 ___|____ 9.1 ____|
          |__squashfs_16k_|_502661120_|_  98.9 __|__ 38.0 ___|____ 9.8 ____|
          |__squashfs_32k_|_458784768_|_ 115.4 __|__ 71.6 _*_|___ 10.0 ____|
          |_squashfs_128k_|_398204928_|_ 257.2 __|_ 253.8 _*_|___ 10.9 ____|
          |____ext4_4k____|____()_____|_ 786.6 __|__ 28.6 ___|___ 27.8 ____|
      
        which has been verified but I'd like warn it as experimental for a
        while. This matches erofs-utils dev branch and I'll also release a new
        userspace version for this later.
      
        Apart from that, several improvements are also included: eg complete a
        missing case for inplace I/O, optimize endio decompression logic for
        non-atomic contexts and support adjustable sliding window size, ... In
        addition to those, there are some cleanups as always.
      
        Summary:
      
         - avoid memory failure when applying rolling decompression
      
         - optimize endio decompression logic for non-atomic contexts
      
         - complete a missing case which can be safely selected for inplace
           I/O and thus decreasing more memory footprint
      
         - check unsupported on-disk inode i_format strictly
      
         - support adjustable lz4 sliding window size to decrease runtime
           memory footprint
      
         - support on-disk compression configurations
      
         - support big pcluster decompression
      
         - several code cleanups / spelling correction"
      
      * tag 'erofs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs: (21 commits)
        erofs: enable big pcluster feature
        erofs: support decompress big pcluster for lz4 backend
        erofs: support parsing big pcluster compact indexes
        erofs: support parsing big pcluster compress indexes
        erofs: adjust per-CPU buffers according to max_pclusterblks
        erofs: add big physical cluster definition
        erofs: fix up inplace I/O pointer for big pcluster
        erofs: introduce physical cluster slab pools
        erofs: introduce multipage per-CPU buffers
        erofs: reserve physical_clusterbits[]
        erofs: Clean up spelling mistakes found in fs/erofs
        erofs: add on-disk compression configurations
        erofs: introduce on-disk lz4 fs configurations
        erofs: support adjust lz4 history window size
        erofs: introduce erofs_sb_has_xxx() helpers
        erofs: add unsupported inode i_format check
        erofs: don't use erofs_map_blocks() any more
        erofs: complete a missing case for inplace I/O
        erofs: use sync decompression for atomic contexts only
        erofs: use workqueue decompression for atomic contexts only
        ...
      b5b3097d
    • Linus Torvalds's avatar
      Merge tag 'locks-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux · befbfe07
      Linus Torvalds authored
      Pull file locking updates from Jeff Layton:
       "When we reworked the blocked locks into a tree structure instead of a
        flat list a few releases ago, we lost the ability to see all of the
        file locks in /proc/locks. Luo's patch fixes it to dump out all of the
        blocked locks instead, which restores the full output.
      
        This changes the format of /proc/locks as the blocked locks are shown
        at multiple levels of indentation now, but lslocks (the only common
        program I've ID'ed that scrapes this info) seems to be OK with that.
      
        Tian also contributed a small patch to remove a useless assignment"
      
      * tag 'locks-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux:
        fs/locks: remove useless assignment in fcntl_getlk
        fs/locks: print full locks information
      befbfe07
    • Linus Torvalds's avatar
      Merge tag 'docs-5.13' of git://git.lwn.net/linux · 2f9ef055
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "It's been a relatively busy cycle in docsland, though more than
        usually well contained to Documentation/ itself. Highlights include:
      
         - The Chinese translators have been busy and show no signs of
           stopping anytime soon. Italian has also caught up.
      
         - Aditya Srivastava has been working on improvements to the
           kernel-doc script.
      
         - Thorsten continues his work on reporting-issues.rst and related
           documentation around regression reporting.
      
         - Lots of documentation updates, typo fixes, etc. as usual"
      
      * tag 'docs-5.13' of git://git.lwn.net/linux: (139 commits)
        docs/zh_CN: add openrisc translation to zh_CN index
        docs/zh_CN: add openrisc index.rst translation
        docs/zh_CN: add openrisc todo.rst translation
        docs/zh_CN: add openrisc openrisc_port.rst translation
        docs/zh_CN: add core api translation to zh_CN index
        docs/zh_CN: add core-api index.rst translation
        docs/zh_CN: add core-api irq index.rst translation
        docs/zh_CN: add core-api irq irqflags-tracing.rst translation
        docs/zh_CN: add core-api irq irq-domain.rst translation
        docs/zh_CN: add core-api irq irq-affinity.rst translation
        docs/zh_CN: add core-api irq concepts.rst translation
        docs: sphinx-pre-install: don't barf on beta Sphinx releases
        scripts: kernel-doc: improve parsing for kernel-doc comments syntax
        docs/zh_CN: two minor fixes in zh_CN/doc-guide/
        Documentation: dev-tools: Add Testing Overview
        docs/zh_CN: add translations in zh_CN/dev-tools/gcov
        docs: reporting-issues: make people CC the regressions list
        MAINTAINERS: add regressions mailing list
        doc:it_IT: align Italian documentation
        docs/zh_CN: sync reporting-issues.rst
        ...
      2f9ef055
    • Linus Torvalds's avatar
      Merge tag 'arm-apple-m1-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 0c855563
      Linus Torvalds authored
      Pull ARM Apple M1 platform support from Arnd Bergmann:
       "The Apple M1 is the processor used it all current generation Apple
        Macintosh computers. Support for this platform so far is rudimentary,
        but it boots and can use framebuffer and serial console over a special
        USB cable.
      
        Support for several essential on-chip devices (USB, PCIe, IOMMU, NVMe)
        is work in progress but was not ready in time.
      
        A very detailed description of what works is in the commit message of
        commit 1bb2fd38 ("Merge tag 'm1-soc-bringup-v5' [..]") and on the
        AsahiLinux wiki"
      
      Link: https://lore.kernel.org/linux-arm-kernel/bdb18e9f-fcd7-1e31-2224-19c0e5090706@marcan.st/
      
      * tag 'arm-apple-m1-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        asm-generic/io.h: Unbork ioremap_np() declaration
        arm64: apple: Add initial Apple Mac mini (M1, 2020) devicetree
        dt-bindings: display: Add apple,simple-framebuffer
        arm64: Kconfig: Introduce CONFIG_ARCH_APPLE
        irqchip/apple-aic: Add support for the Apple Interrupt Controller
        dt-bindings: interrupt-controller: Add DT bindings for apple-aic
        arm64: Move ICH_ sysreg bits from arm-gic-v3.h to sysreg.h
        of/address: Add infrastructure to declare MMIO as non-posted
        asm-generic/io.h: implement pci_remap_cfgspace using ioremap_np
        arm64: Implement ioremap_np() to map MMIO as nGnRnE
        docs: driver-api: device-io: Document ioremap() variants & access funcs
        docs: driver-api: device-io: Document I/O access functions
        asm-generic/io.h:  Add a non-posted variant of ioremap()
        arm64: arch_timer: Implement support for interrupt-names
        dt-bindings: timer: arm,arch_timer: Add interrupt-names support
        arm64: cputype: Add CPU implementor & types for the Apple M1 cores
        dt-bindings: arm: cpus: Add apple,firestorm & icestorm compatibles
        dt-bindings: arm: apple: Add bindings for Apple ARM platforms
        dt-bindings: vendor-prefixes: Add apple prefix
      0c855563
    • Linus Torvalds's avatar
      Merge tag 'arm-newsoc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 6b0fbc54
      Linus Torvalds authored
      Pull ARM Nuvoton WPCM450 platform support from Arnd Bergmann:
       "The Nuvoton WPCM450 BMC is an older chip based on the ARM926 CPU core
        that remains in use on Supermicro X9 server boards among others.
      
        Support gets added for a particular server board using this SoC along
        with the basic platform bringup.
      
        As the platform is a predecessor to the npcm7xx platform we already
        support, it is added to the same directory, despite using a different
        name. It also seems to be related to the older w90x900/nuc9xx platform
        that was removed last year"
      
      * tag 'arm-newsoc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: config: Add WPCM to multi v5
        MAINTAINERS: Add entry for Nuvoton WPCM450
        ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450
        ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip
        watchdog: npcm: Add support for WPCM450
        ARM: npcm: Introduce Nuvoton WPCM450 SoC
        dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt
        dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string
        dt-bindings: vendor-prefixes: Add Supermicro
        ARM: dts: Add board-specific compatible string to npcm750-evb devicetree
        dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML
      6b0fbc54
    • Linus Torvalds's avatar
      Merge tag 'arm-dt-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · f7857bf3
      Linus Torvalds authored
      Pull ARM devicetree updates from Arnd Bergmann:
       "There are six new SoCs added this time.
      
        Apple M1 and Nuvoton WPCM450 have separate branches because they are
        new SoC families that require changes outside of device tree files.
        The other four are variations of already supported chips and get
        merged through this branch:
      
         - STMicroelectronics STM32H750 is one of many variants of STM32
           microcontrollers based on the Cortex-M7 core.
      
           This is particularly notable since we rarely add support for new
           MMU-less chips these days. In this case, the board that gets added
           along with the platform is not a SoC reference platform but the
           "Art Pi" (https://art-pi.gitee.io/website/) machine that was
           originally design for the RT-Thread RTOS.
      
         - NXP i.MX8QuadMax is a variant of the growing i.MX8
           embedded/industrial SoC family, using two Cortex-A72 and four
           Cortex-A53 cores.
      
           It gets added along with its reference board, the "NXP i.MX8QuadMax
           Multisensory Enablement Kit".
      
         - Qualcomm SC7280 is a Laptop SoC following the SC7180 (Snapdragon
           7c) that is used in some Chromebooks and Windows laptops.
      
           Only a reference board is added for the moment.
      
         - TI AM64x Sita4ra is a new version of the K3 SoC family for
           industrial control, motor control, remote IO, IoT gateway etc.,
           similar to the older AM65x family.
      
           Two reference machines are added alongside.
      
        Among the newly added machines, there is a very clear skew towards
        64-bit machines now, with 12 32-bit machines compared to 23 64-bit
        machines. The full list sorted by SoC is:
      
         - ASpeed AST2500 BMC: ASRock E3C246D4I Xeon server board
         - Allwinner A10: Topwise A721 Tablet
         - Amlogic GXL: MeCool KII TV box
         - Amlogic GXM: Mecool KIII, Minix Neo U9-H TV boxes
         - Broadcom BCM4908: TP-Link Archer C2300 V1 router
         - MStar SSD202D: M5Stack UnitV2 camera
         - Marvell Armada 38x: ATL-x530 ethernet switch
         - Mediatek MT8183 Chromebooks: Lenovo 10e, Acer Spin 311, Asus Flip
           CM3, Asus Detachable CM3
         - Mediatek MT8516/MT8183: OLogic Pumpkin Board
         - NXP i.MX7: reMarkable Tablet
         - NXP i.MX8M: Kontron pitx-imx8m, Engicam i.Core MX8M Mini
         - Nuvoton NPCM730: Quanta GBS BMC
         - Qualcomm X55: Telit FN980 TLB SoM, Thundercomm TurboX T55 SoM
         - Qualcomm MSM8998: OnePlus 5/5T phones
         - Qualcomm SM8350: Snapdragon 888 Mobile Hardware Development Kit
         - Rockchip RK3399: NanoPi R4S board
         - STM32MP1: Engicam MicroGEA STM32MP1 MicroDev 2.0 and SOM, EDIMM2.2
           Starter Kit, Carrier, SOM
         - TI AM65: Siemens SIMATIC IOT2050 gateway
      
        There is notable work going into extending already supported machines
        and SoCs:
      
         - ASpeed AST2500
         - Allwinner A23, A83t, A31, A64, H6
         - Amlogic G12B
         - Broadcom BCM4908
         - Marvell Armada 7K/8K/CN91xx
         - Mediatek MT6589, MT7622, MT8173, MT8183, MT8195
         - NXP i.MX8Q, i.MX8MM, i.MX8MP
         - Qualcomm MSM8916, SC7180, SDM845, SDX55, SM8350
         - Renesas R-Car M3, V3U
         - Rockchip RK3328, RK3399
         - STEricsson U8500
         - STMicroelectronics STM32MP141
         - Samsung Exynos 4412
         - TI K3-AM65, K3-J7200
         - TI OMAP3
      
        Among the treewide cleanups and bug fixes, two parts stand out:
      
         - There are a number of cleanups for issues pointed out by 'make
           dtbs_check' this time, and I expect more to come in the future as
           we increasingly check for regressions.
      
         - After a change to the MMC subsystem that can lead to unpredictable
           device numbers, several platforms add 'aliases' properties for
           these to give each MMC controller a fixed number"
      
      * tag 'arm-dt-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (516 commits)
        dt-bindings: mali-bifrost: add dma-coherent
        arm64: dts: amlogic: misc DT schema fixups
        arm64: dts: qcom: sc7180: Update iommu property for simultaneous playback
        arm64: dts: qcom: sc7180: pompom: Add "dmic_clk_en" + sound model
        arm64: dts: qcom: sc7180: coachz: Add "dmic_clk_en"
        ARM: dts: mstar: Add a dts for M5Stack UnitV2
        dt-bindings: arm: mstar: Add compatible for M5Stack UnitV2
        dt-bindings: vendor-prefixes: Add vendor prefix for M5Stack
        arm64: dts: mt8183: fix dtbs_check warning
        arm64: dts: mt8183-pumpkin: fix dtbs_check warning
        ARM: dts: aspeed: tiogapass: add hotplug controller
        ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses
        ARM: dts: aspeed: Rainier: Update to pass 2 hardware
        ARM: dts: aspeed: Rainier 1S4U: Fix fan nodes
        ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
        ARM: dts: aspeed: Rainier: Fix PCA9552 on bus 8
        ARM: dts: qcom: sdx55: add IPA information
        ARM: dts: qcom: sdx55: Add basic devicetree support for Thundercomm T55
        dt-bindings: arm: qcom: Add binding for Thundercomm T55 kit
        ARM: dts: qcom: sdx55: Add basic devicetree support for Telit FN980 TLB
        ...
      f7857bf3
    • Linus Torvalds's avatar
      Merge tag 'arm-drivers-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 37f00ab4
      Linus Torvalds authored
      Pull ARM SoC driver updates from Arnd Bergmann:
       "Updates for SoC specific drivers include a few subsystems that have
        their own maintainers but send them through the soc tree:
      
        TEE/OP-TEE:
         - Add tracepoints around calls to secure world
      
        Memory controller drivers:
         - Minor fixes for Renesas, Exynos, Mediatek and Tegra platforms
         - Add debug statistics to Tegra20 memory controller
         - Update Tegra bindings and convert to dtschema
      
        ARM SCMI Firmware:
         - Support for modular SCMI protocols and vendor specific extensions
         - New SCMI IIO driver
         - Per-cpu DVFS
      
        The other driver changes are all from the platform maintainers
        directly and reflect the drivers that don't fit into any other
        subsystem as well as treewide changes for a particular platform.
      
        SoCFPGA:
         - Various cleanups contributed by Krzysztof Kozlowski
      
        Mediatek:
         - add MT8183 support to mutex driver
         - MMSYS: use per SoC array to describe the possible routing
         - add MMSYS support for MT8183 and MT8167
         - add support for PMIC wrapper with integrated arbiter
         - add support for MT8192/MT6873
      
        Tegra:
         - Bug fixes to PMC and clock drivers
      
        NXP/i.MX:
         - Update SCU power domain driver to keep console domain power on.
         - Add missing ADC1 power domain to SCU power domain driver.
         - Update comments for single global power domain in SCU power domain
           driver.
         - Add i.MX51/i.MX53 unique id support to i.MX SoC driver.
      
        NXP/FSL SoC driver updates for v5.13
         - Add ACPI support for RCPM driver
         - Use generic io{read,write} for QE drivers after performance
           optimized for PowerPC
         - Fix QBMAN probe to cleanup HW states correctly for kexec
         - Various cleanup and style fix for QBMAN/QE/GUTS drivers
      
        OMAP:
         - Preparation to use devicetree for genpd
         - ti-sysc needs iorange check improved when the interconnect target
           module has no control registers listed
         - ti-sysc needs to probe l4_wkup and l4_cfg interconnects first to
           avoid issues with missing resources and unnecessary deferred probe
         - ti-sysc debug option can now detect more devices
         - ti-sysc now warns if an old incomplete devicetree data is found as
           we now rely on it being complete for am3 and 4
         - soc init code needs to check for prcm and prm nodes for omap4/5 and
           dra7
         - omap-prm driver needs to enable autoidle retention support for
           omap4
         - omap5 clocks are missing gpmc and ocmc clock registers
         - pci-dra7xx now needs to use builtin_platform_driver instead of
           using builtin_platform_driver_probe for deferred probe to work
      
        Raspberry Pi:
         - Fix-up all RPi firmware drivers so as for unbind to happen in an
           orderly fashion
         - Support for RPi's PoE hat PWM bus
      
        Qualcomm
         - Improved detection for SCM calling conventions
         - Support for OEM specific wifi firmware path
         - Added drivers for SC7280/SM8350: RPMH, LLCC< AOSS QMP"
      
      * tag 'arm-drivers-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (165 commits)
        soc: aspeed: fix a ternary sign expansion bug
        memory: mtk-smi: Add device-link between smi-larb and smi-common
        memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
        memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
        clk: socfpga: fix iomem pointer cast on 64-bit
        soc: aspeed: Adapt to new LPC device tree layout
        pinctrl: aspeed-g5: Adapt to new LPC device tree layout
        ipmi: kcs: aspeed: Adapt to new LPC DTS layout
        ARM: dts: Remove LPC BMC and Host partitions
        dt-bindings: aspeed-lpc: Remove LPC partitioning
        soc: fsl: enable acpi support in RCPM driver
        soc: qcom: mdt_loader: Detect truncated read of segments
        soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
        soc: qcom: pdr: Fix error return code in pdr_register_listener
        firmware: qcom_scm: Fix kernel-doc function names to match
        firmware: qcom_scm: Suppress sysfs bind attributes
        firmware: qcom_scm: Workaround lack of "is available" call on SC7180
        firmware: qcom_scm: Reduce locking section for __get_convention()
        firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
        Revert "soc: fsl: qe: introduce qe_io{read,write}* wrappers"
        ...
      37f00ab4
    • Linus Torvalds's avatar
      Merge tag 'arm-defconfig-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 2b90506a
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "The usual set of defconfig updates, enabling newly added drivers.
      
        There are platform updates for at91, omap, ux500 and qcom platforms,
        and a number of changes to the arm64 defconfig"
      
      * tag 'arm-defconfig-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (34 commits)
        ARM: configs: qcom_defconfig: Reduce CMA size to 64MB
        ARM: configs: qcom_defconfig: Enable GLINK SMEM driver
        ARM: configs: qcom_defconfig: Enable SDX55 interconnect driver
        ARM: configs: qcom_defconfig: Enable Q6V5_PAS remoteproc driver
        ARM: configs: qcom_defconfig: Enable CPUFreq support
        ARM: configs: qcom_defconfig: Enable SDX55 A7 PLL and APCS clock driver
        ARM: configs: qcom_defconfig: Enable APCS IPC mailbox driver
        ARM: configs: Remove REGULATOR_USERSPACE_CONSUMER
        ARM: configs: ux500: Update for new drivers
        arm64: defconfig: Enable options to support panel display for Mediatek Chromebooks
        arm64: defconfig: Allow mt8173-based boards to boot from usb
        ARM: configs: at91: Modernize UBI defconfig part
        ARM: configs: at91: Add USB Video webcam class
        ARM: configs: at91: Add mtd tests as modules
        ARM: configs: at91: sama5: Add audio MIKROE PROTO board
        ARM: configs: at91: sama5: Enable LAN78XX as module
        ARM: configs: at91: sama5: PIOBU as built-in
        ARM: configs: at91: sama5: MCP16502 regulator as built-in
        ARM: configs: at91: sama5: enable the Hantro G1 engine
        ARM: configs: at91: sama5: update with savedefconfig
        ...
      2b90506a
    • Linus Torvalds's avatar
      Merge tag 'arm-soc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 01d71368
      Linus Torvalds authored
      Pull ARM SoC updates from Arnd Bergmann:
       "Almost all SoC code changes this time are for the TI OMAP platform,
        which continues its decade-long quest to move from describing a
        complex SoC in code to device tree.
      
        Aside from this, the Uniphier platform has a new maintainer and some
        platforms have minor bugfixes and cleanups that were not urgent enough
        for v5.12"
      
      * tag 'arm-soc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (96 commits)
        MAINTAINERS: Update ARM/UniPhier SoCs maintainers and status
        mailmap: Update email address for Nicolas Saenz
        MAINTAINERS: Update BCM2711/BCM2335 maintainer's mail
        ARM: exynos: correct kernel doc in platsmp
        ARM: hisi: use the correct HiSilicon copyright
        ARM: ux500: make ux500_cpu_die static
        ARM: s3c: Use pwm_get() in favour of pwm_request() in RX1950
        ARM: OMAP1: fix incorrect kernel-doc comment syntax in file
        ARM: OMAP2+: fix incorrect kernel-doc comment syntax in file
        ARM: OMAP2+: Use DEFINE_SPINLOCK() for spinlock
        ARM: at91: pm: Move prototypes to mutually included header
        ARM: OMAP2+: use true and false for bool variable
        ARM: OMAP2+: add missing call to of_node_put()
        ARM: OMAP2+: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE
        ARM: imx: Kconfig: Fix typo in help
        ARM: mach-imx: Fix a spelling in the file pm-imx5.c
        bus: ti-sysc: Warn about old dtb for dra7 and omap4/5
        ARM: OMAP2+: Stop building legacy code for dra7 and omap4/5
        ARM: OMAP2+: Drop legacy platform data for omap5 hwmod
        ARM: OMAP2+: Drop legacy platform data for omap5 l3
        ...
      01d71368
    • Linus Torvalds's avatar
      Merge tag 'usb-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · ef124412
      Linus Torvalds authored
      Pull USB and Thunderbolt updates from Greg KH:
       "Here is the big set of USB and Thunderbolt driver updates for
        5.13-rc1.
      
        Lots of little things in here, with loads of tiny fixes and cleanups
        over these drivers, as well as these "larger" changes:
      
         - thunderbolt updates and new features added
      
         - xhci driver updates and split out of a mediatek-specific xhci
           driver from the main xhci module to make it easier to work with
           (something that I have been wanting for a while).
      
         - loads of typec feature additions and updates
      
         - dwc2 driver updates
      
         - dwc3 driver updates
      
         - gadget driver fixes and minor updates
      
         - loads of usb-serial cleanups and fixes and updates
      
         - usbip documentation updates and fixes
      
         - lots of other tiny USB driver updates
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'usb-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (371 commits)
        usb: Fix up movement of USB core kerneldoc location
        usb: dwc3: gadget: Handle DEV_TXF_FLUSH_BYPASS capability
        usb: dwc3: Capture new capability register GHWPARAMS9
        usb: gadget: prevent a ternary sign expansion bug
        usb: dwc3: core: Do core softreset when switch mode
        usb: dwc2: Get rid of useless error checks in suspend interrupt
        usb: dwc2: Update dwc2_handle_usb_suspend_intr function.
        usb: dwc2: Add exit hibernation mode before removing drive
        usb: dwc2: Add hibernation exiting flow by system resume
        usb: dwc2: Add hibernation entering flow by system suspend
        usb: dwc2: Allow exit hibernation in urb enqueue
        usb: dwc2: Move exit hibernation to dwc2_port_resume() function
        usb: dwc2: Move enter hibernation to dwc2_port_suspend() function
        usb: dwc2: Clear GINTSTS_RESTOREDONE bit after restore is generated.
        usb: dwc2: Clear fifo_map when resetting core.
        usb: dwc2: Allow exiting hibernation from gpwrdn rst detect
        usb: dwc2: Fix hibernation between host and device modes.
        usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
        usb: dwc2: Reset DEVADDR after exiting gadget hibernation.
        usb: dwc2: Update exit hibernation when port reset is asserted
        ...
      ef124412
    • Linus Torvalds's avatar
      Merge tag 'tty-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · d08410d8
      Linus Torvalds authored
      Pull tty and serial driver updates from Greg KH:
       "Here is the big set of tty and serial driver updates for 5.13-rc1.
      
        Actually busy this release, with a number of cleanups happening:
      
         - much needed core tty cleanups by Jiri Slaby
      
         - removal of unused and orphaned old-style serial drivers. If anyone
           shows up with this hardware, it is trivial to restore these but we
           really do not think they are in use anymore.
      
         - fixes and cleanups from Johan Hovold on a number of termios setting
           corner cases that loads of drivers got wrong as well as removing
           unneeded code due to tty core changes from long ago that were never
           propagated out to the drivers
      
         - loads of platform-specific serial port driver updates and fixes
      
         - coding style cleanups and other small fixes and updates all over
           the tty/serial tree.
      
        All of these have been in linux-next for a while now with no reported
        issues"
      
      * tag 'tty-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (186 commits)
        serial: extend compile-test coverage
        serial: stm32: add FIFO threshold configuration
        dt-bindings: serial: 8250: update TX FIFO trigger level
        dt-bindings: serial: stm32: override FIFO threshold properties
        dt-bindings: serial: add RX and TX FIFO properties
        serial: xilinx_uartps: drop low-latency workaround
        serial: vt8500: drop low-latency workaround
        serial: timbuart: drop low-latency workaround
        serial: sunsu: drop low-latency workaround
        serial: sifive: drop low-latency workaround
        serial: txx9: drop low-latency workaround
        serial: sa1100: drop low-latency workaround
        serial: rp2: drop low-latency workaround
        serial: rda: drop low-latency workaround
        serial: owl: drop low-latency workaround
        serial: msm_serial: drop low-latency workaround
        serial: mpc52xx_uart: drop low-latency workaround
        serial: meson: drop low-latency workaround
        serial: mcf: drop low-latency workaround
        serial: lpc32xx_hs: drop low-latency workaround
        ...
      d08410d8
    • Linus Torvalds's avatar
      Merge tag 'staging-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 8900d92f
      Linus Torvalds authored
      Pull staging/IIO driver updates from Greg KH:
       "Here is the big set of staging and IIO driver updates for 5.13-rc1.
      
        Lots of little churn in here, and some larger churn as well. Major
        things are:
      
         - removal of wimax drivers, no one has this hardware anymore for this
           failed "experiment".
      
         - removal of the Google gasket driver, turns out no one wanted to
           maintain it or cares about it anymore, so they asked for it to be
           removed.
      
         - comedi finally moves out of the staging directory into drivers/comedi
      
           This is one of the oldest kernel subsystems around, being created
           in the 2.0 kernel days, and was one of the first things added to
           drivers/staging/ when that was created over 15 years ago.
      
           It should have been moved out of staging a long time ago, it's well
           maintained and used by loads of different devices in the real world
           every day. Nice to see this finally happen.
      
         - so many tiny coding style cleanups it's not funny.
      
           Perfect storm of at least 2 different intern project application
           deadlines combined to provide a huge number of new contributions in
           this area from people learning how to do kernel development. Great
           job to everyone involved here.
      
        There's also the normal updates for IIO drivers with new IIO drivers
        and updates all over that subsystem.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (907 commits)
        staging: octeon: Use 'for_each_child_of_node'
        Staging: rtl8723bs: rtw_xmit: fixed tabbing issue
        staging: rtl8188eu: remove unused function parameters
        staging: rtl8188eu: cmdThread is a task_struct
        staging: rtl8188eu: remove constant variable and dead code
        staging: rtl8188eu: change bLeisurePs' type to bool
        staging: rtl8723bs: remove empty #ifdef block
        staging: rtl8723bs: remove unused DBG_871X_LEVEL macro declarations
        staging: rtl8723bs: split too long line
        staging: rtl8723bs: fix indentation in if block
        staging: rtl8723bs: fix code indent issue
        staging: rtl8723bs: replace DBG_871X_LEVEL logs with netdev_*()
        staging: rtl8192e: indent statement properly
        staging: rtl8723bs: Remove led_blink_hdl() and everything related
        staging: comedi: move out of staging directory
        staging: rtl8723bs: remove sdio_drv_priv structure
        staging: rtl8723bs: remove unused argument in function
        staging: rtl8723bs: remove DBG_871X_SEL_NL macro declaration
        staging: rtl8723bs: replace DBG_871X_SEL_NL with netdev_dbg()
        staging: rtl8723bs: fix indentation issue introduced by long line split
        ...
      8900d92f
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.13-rc1' of... · c01c0716
      Linus Torvalds authored
      Merge tag 'driver-core-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core updates from Greg KH:
       "Here is the "big" set of driver core changes for 5.13-rc1.
      
        Nothing major, just lots of little core changes and cleanups, notable
        things are:
      
         - finally set 'fw_devlink=on' by default.
      
           All reported issues with this have been shaken out over the past 9
           months or so, but we will be paying attention to any fallout here
           in case we need to revert this as the default boot value (symptoms
           of problems are a simple lack of booting)
      
         - fixes found to be needed by fw_devlink=on value in some subsystems
           (like clock).
      
         - delayed work initialization cleanup
      
         - driver core cleanups and minor updates
      
         - software node cleanups and tweaks
      
         - devtmpfs cleanups
      
         - minor debugfs cleanups
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'driver-core-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (53 commits)
        devm-helpers: Fix devm_delayed_work_autocancel() kerneldoc
        PM / wakeup: use dev_set_name() directly
        software node: Allow node addition to already existing device
        kunit: software node: adhear to KUNIT formatting standard
        node: fix device cleanups in error handling code
        kobject_uevent: remove warning in init_uevent_argv()
        debugfs: Make debugfs_allow RO after init
        Revert "driver core: platform: Make platform_get_irq_optional() optional"
        media: ipu3-cio2: Switch to use SOFTWARE_NODE_REFERENCE()
        software node: Introduce SOFTWARE_NODE_REFERENCE() helper macro
        software node: Imply kobj_to_swnode() to be no-op
        software node: Deduplicate code in fwnode_create_software_node()
        software node: Introduce software_node_alloc()/software_node_free()
        software node: Free resources explicitly when swnode_register() fails
        debugfs: drop pointless nul-termination in debugfs_read_file_bool()
        driver core: add helper for deferred probe reason setting
        driver core: Improve fw_devlink & deferred_probe_timeout interaction
        of: property: fw_devlink: Add support for remote-endpoint
        driver core: platform: Make platform_get_irq_optional() optional
        driver core: Replace printf() specifier and drop unneeded casting
        ...
      c01c0716
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 8e3a3249
      Linus Torvalds authored
      Pull char/misc driver updates from Greg KH:
       "Here is the big set of various smaller driver subsystem updates for
        5.13-rc1.
      
        Major bits in here are:
      
         - habanalabs driver updates
      
         - hwtracing driver updates
      
         - interconnect driver updates
      
         - mhi driver updates
      
         - extcon driver updates
      
         - fpga driver updates
      
         - new binder features added
      
         - nvmem driver updates
      
         - phy driver updates
      
         - soundwire driver updates
      
         - smaller misc and char driver fixes and updates.
      
         - bluetooth driver bugfix that maintainer wanted to go through this
           tree.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'char-misc-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (330 commits)
        bluetooth: eliminate the potential race condition when removing the HCI controller
        coresight: etm-perf: Fix define build issue when built as module
        phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"
        phy: ti: j721e-wiz: Add missing include linux/slab.h
        phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
        stm class: Use correct UUID APIs
        intel_th: pci: Add Alder Lake-M support
        intel_th: pci: Add Rocket Lake CPU support
        intel_th: Consistency and off-by-one fix
        intel_th: Constify attribute_group structs
        intel_th: Constify all drvdata references
        stm class: Remove an unused function
        habanalabs/gaudi: Fix uninitialized return code rc when read size is zero
        greybus: es2: fix kernel-doc warnings
        mei: me: add Alder Lake P device id.
        dw-xdata-pcie: Update outdated info and improve text format
        dw-xdata-pcie: Fix documentation build warns
        fbdev: zero-fill colormap in fbcmap.c
        firmware: qcom-scm: Fix QCOM_SCM configuration
        speakup: i18n: Switch to kmemdup_nul() in spk_msg_set()
        ...
      8e3a3249
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.13-1' of... · 90035c28
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver updates freom Hans de Goede:
      
       - lots of Microsoft Surface work
      
       - platform-profile support for HP and Microsoft Surface devices
      
       - new WMI Gigabyte motherboard temperature monitoring driver
      
       - Intel PMC improvements for Tiger Lake and Alder Lake
      
       - misc bugfixes, improvements and quirk additions all over
      
      * tag 'platform-drivers-x86-v5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (87 commits)
        platform/x86: gigabyte-wmi: add support for B550M AORUS PRO-P
        platform/x86: intel_pmc_core: Uninitialized data in pmc_core_lpm_latch_mode_write()
        platform/x86: intel_pmc_core: add ACPI dependency
        platform/surface: aggregator: fix a bit test
        platform/x86: intel_pmc_core: Fix "unsigned 'ret' is never less than zero" smatch warning
        platform/x86: touchscreen_dmi: Add info for the Teclast Tbook 11 tablet
        platform/x86: intel_pmc_core: Add support for Alder Lake PCH-P
        platform/x86: intel_pmc_core: Add LTR registers for Tiger Lake
        platform/x86: intel_pmc_core: Add option to set/clear LPM mode
        platform/x86: intel_pmc_core: Add requirements file to debugfs
        platform/x86: intel_pmc_core: Get LPM requirements for Tiger Lake
        platform/x86: intel_pmc_core: Show LPM residency in microseconds
        platform/x86: intel_pmc_core: Handle sub-states generically
        platform/x86: intel_pmc_core: Remove global struct pmc_dev
        platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
        platform/x86: intel_chtdc_ti_pwrbtn: Fix missing IRQF_ONESHOT as only threaded handler
        platform/x86: gigabyte-wmi: add X570 AORUS ELITE
        platform/x86: thinkpad_acpi: Add labels to the first 2 temperature sensors
        platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
        platform/x86: add Gigabyte WMI temperature driver
        ...
      90035c28
    • Linus Torvalds's avatar
      certs: add 'x509_revocation_list' to gitignore · 81f20231
      Linus Torvalds authored
      Commit d1f04410 ("certs: Add ability to preload revocation certs")
      created a new generated file for revocation certs, but didn't tell git
      to ignore it.  Thus causing unnecessary "git status" noise after a
      kernel build with CONFIG_SYSTEM_REVOCATION_LIST enabled.
      
      Add the proper gitignore magic.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      81f20231
    • Linus Torvalds's avatar
      Merge tag 'hyperv-next-signed-20210426' of... · 4d480dbf
      Linus Torvalds authored
      Merge tag 'hyperv-next-signed-20210426' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
      
      Pull Hyper-V updates from Wei Liu:
      
       - VMBus enhancement
      
       - Free page reporting support for Hyper-V balloon driver
      
       - Some patches for running Linux as Arm64 Hyper-V guest
      
       - A few misc clean-up patches
      
      * tag 'hyperv-next-signed-20210426' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux: (30 commits)
        drivers: hv: Create a consistent pattern for checking Hyper-V hypercall status
        x86/hyperv: Move hv_do_rep_hypercall to asm-generic
        video: hyperv_fb: Add ratelimit on error message
        Drivers: hv: vmbus: Increase wait time for VMbus unload
        Drivers: hv: vmbus: Initialize unload_event statically
        Drivers: hv: vmbus: Check for pending channel interrupts before taking a CPU offline
        Drivers: hv: vmbus: Drivers: hv: vmbus: Introduce CHANNELMSG_MODIFYCHANNEL_RESPONSE
        Drivers: hv: vmbus: Introduce and negotiate VMBus protocol version 5.3
        Drivers: hv: vmbus: Use after free in __vmbus_open()
        Drivers: hv: vmbus: remove unused function
        Drivers: hv: vmbus: Remove unused linux/version.h header
        x86/hyperv: remove unused linux/version.h header
        x86/Hyper-V: Support for free page reporting
        x86/hyperv: Fix unused variable 'hi' warning in hv_apic_read
        x86/hyperv: Fix unused variable 'msr_val' warning in hv_qlock_wait
        hv: hyperv.h: a few mundane typo fixes
        drivers: hv: Fix EXPORT_SYMBOL and tab spaces issue
        Drivers: hv: vmbus: Drop error message when 'No request id available'
        asm-generic/hyperv: Add missing function prototypes per -W1 warnings
        clocksource/drivers/hyper-v: Move handling of STIMER0 interrupts
        ...
      4d480dbf
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 8e47c5f0
      Linus Torvalds authored
      Pull xen updates from Juergen Gross:
      
       - remove some PV ACPI cpu/memory hotplug code which has been broken for
         a long time
      
       - support direct mapped guests (other than dom0) on Arm
      
       - several small fixes and cleanups
      
      * tag 'for-linus-5.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        xen/arm: introduce XENFEAT_direct_mapped and XENFEAT_not_direct_mapped
        xen-pciback: simplify vpci's find hook
        xen-blkfront: Fix 'physical' typos
        xen-blkback: fix compatibility bug with single page rings
        xen: Remove support for PV ACPI cpu/memory hotplug
        xen/pciback: Fix incorrect type warnings
      8e47c5f0
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 31a24ae8
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
      
       - MTE asynchronous support for KASan. Previously only synchronous
         (slower) mode was supported. Asynchronous is faster but does not
         allow precise identification of the illegal access.
      
       - Run kernel mode SIMD with softirqs disabled. This allows using NEON
         in softirq context for crypto performance improvements. The
         conditional yield support is modified to take softirqs into account
         and reduce the latency.
      
       - Preparatory patches for Apple M1: handle CPUs that only have the VHE
         mode available (host kernel running at EL2), add FIQ support.
      
       - arm64 perf updates: support for HiSilicon PA and SLLC PMU drivers,
         new functions for the HiSilicon HHA and L3C PMU, cleanups.
      
       - Re-introduce support for execute-only user permissions but only when
         the EPAN (Enhanced Privileged Access Never) architecture feature is
         available.
      
       - Disable fine-grained traps at boot and improve the documented boot
         requirements.
      
       - Support CONFIG_KASAN_VMALLOC on arm64 (only with KASAN_GENERIC).
      
       - Add hierarchical eXecute Never permissions for all page tables.
      
       - Add arm64 prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) allowing user programs
         to control which PAC keys are enabled in a particular task.
      
       - arm64 kselftests for BTI and some improvements to the MTE tests.
      
       - Minor improvements to the compat vdso and sigpage.
      
       - Miscellaneous cleanups.
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (86 commits)
        arm64/sve: Add compile time checks for SVE hooks in generic functions
        arm64/kernel/probes: Use BUG_ON instead of if condition followed by BUG.
        arm64: pac: Optimize kernel entry/exit key installation code paths
        arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS)
        arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere
        arm64/sve: Remove redundant system_supports_sve() tests
        arm64: fpsimd: run kernel mode NEON with softirqs disabled
        arm64: assembler: introduce wxN aliases for wN registers
        arm64: assembler: remove conditional NEON yield macros
        kasan, arm64: tests supports for HW_TAGS async mode
        arm64: mte: Report async tag faults before suspend
        arm64: mte: Enable async tag check fault
        arm64: mte: Conditionally compile mte_enable_kernel_*()
        arm64: mte: Enable TCO in functions that can read beyond buffer limits
        kasan: Add report for async mode
        arm64: mte: Drop arch_enable_tagging()
        kasan: Add KASAN mode kernel parameter
        arm64: mte: Add asynchronous mode support
        arm64: Get rid of CONFIG_ARM64_VHE
        arm64: Cope with CPUs stuck in VHE mode
        ...
      31a24ae8
    • Linus Torvalds's avatar
      Merge tag 'm68k-for-v5.13-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · 6a713827
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven:
      
       - defconfig updates
      
       - Use common scripts for syscall table and header generation
      
       - Fix timers on MVME platforms
      
       - Fix lock imbalance in cacheflush syscall
      
       - Minor fixes and improvements
      
      * tag 'm68k-for-v5.13-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        m68k: sun3x: Remove unneeded semicolon
        m68k: Add missing mmap_read_lock() to sys_cacheflush()
        m68k: fpsp040,ifpsp060: Remove meaningless EXTRA_LDFLAGS
        m68k: fpsp040: Remove meaningless $(OS_OBJS)
        m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
        m68k: syscalls: switch to generic syscallhdr.sh
        m68k: syscalls: switch to generic syscalltbl.sh
        m68k: defconfig: Update defconfigs for v5.12-rc1
        m68k: mm: Fix flatmem memory model setup
      6a713827
    • Linus Torvalds's avatar
      Merge tag 'x86-vdso-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 69f737ed
      Linus Torvalds authored
      Pull x86 vdso update from Thomas Gleixner:
       "A single fix for the x86 VDSO build infrastructure to address a
        compiler warning on 32bit hosts due to a fprintf() modifier/argument
        mismatch."
      
      * tag 'x86-vdso-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vdso: Use proper modifier for len's format specifier in extract()
      69f737ed
    • Linus Torvalds's avatar
      Merge tag 'x86-splitlock-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 64f8e73d
      Linus Torvalds authored
      Pull x86 bus lock detection updates from Thomas Gleixner:
       "Support for enhanced split lock detection:
      
        Newer CPUs provide a second mechanism to detect operations with lock
        prefix which go accross a cache line boundary. Such operations have to
        take bus lock which causes a system wide performance degradation when
        these operations happen frequently.
      
        The new mechanism is not using the #AC exception. It triggers #DB and
        is restricted to operations in user space. Kernel side split lock
        access can only be detected by the #AC based variant.
      
        Contrary to the #AC based mechanism the #DB based variant triggers
        _after_ the instruction was executed. The mechanism is CPUID
        enumerated and contrary to the #AC version which is based on the magic
        TEST_CTRL_MSR and model/family based enumeration on the way to become
        architectural"
      
      * tag 'x86-splitlock-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Documentation/admin-guide: Change doc for split_lock_detect parameter
        x86/traps: Handle #DB for bus lock
        x86/cpufeatures: Enumerate #DB for bus lock detection
      64f8e73d
    • Linus Torvalds's avatar
      Merge tag 'x86-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · eea2647e
      Linus Torvalds authored
      Pull entry code update from Thomas Gleixner:
       "Provide support for randomized stack offsets per syscall to make
        stack-based attacks harder which rely on the deterministic stack
        layout.
      
        The feature is based on the original idea of PaX's RANDSTACK feature,
        but uses a significantly different implementation.
      
        The offset does not affect the pt_regs location on the task stack as
        this was agreed on to be of dubious value. The offset is applied
        before the actual syscall is invoked.
      
        The offset is stored per cpu and the randomization happens at the end
        of the syscall which is less predictable than on syscall entry.
      
        The mechanism to apply the offset is via alloca(), i.e. abusing the
        dispised VLAs. This comes with the drawback that
        stack-clash-protection has to be disabled for the affected compilation
        units and there is also a negative interaction with stack-protector.
      
        Those downsides are traded with the advantage that this approach does
        not require any intrusive changes to the low level assembly entry
        code, does not affect the unwinder and the correct stack alignment is
        handled automatically by the compiler.
      
        The feature is guarded with a static branch which avoids the overhead
        when disabled.
      
        Currently this is supported for X86 and ARM64"
      
      * tag 'x86-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        arm64: entry: Enable random_kstack_offset support
        lkdtm: Add REPORT_STACK for checking stack offsets
        x86/entry: Enable random_kstack_offset support
        stack: Optionally randomize kernel stack offset each syscall
        init_on_alloc: Optimize static branches
        jump_label: Provide CONFIG-driven build state defaults
      eea2647e
    • Linus Torvalds's avatar
      Merge tag 'x86-apic-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 6f78c2a7
      Linus Torvalds authored
      Pull x86 apic update from Thomas Gleixner:
       "A single commit to make the vector allocation code more resilent
        against an accidental allocation attempt for IRQ2"
      
      * tag 'x86-apic-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vector: Add a sanity check to prevent IRQ2 allocations
      6f78c2a7
    • Linus Torvalds's avatar
      Merge tag 'timers-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 87dcebff
      Linus Torvalds authored
      Pull timer updates from Thomas Gleixner:
       "The time and timers updates contain:
      
        Core changes:
      
         - Allow runtime power management when the clocksource is changed.
      
         - A correctness fix for clock_adjtime32() so that the return value on
           success is not overwritten by the result of the copy to user.
      
         - Allow late installment of broadcast clockevent devices which was
           broken because nothing switched them over to oneshot mode. This
           went unnoticed so far because clockevent devices used to be built
           in, but now people started to make them modular.
      
         - Debugfs related simplifications
      
         - Small cleanups and improvements here and there
      
        Driver changes:
      
         - The usual set of device tree binding updates for a wide range of
           drivers/devices.
      
         - The usual updates and improvements for drivers all over the place
           but nothing outstanding.
      
         - No new clocksource/event drivers. They'll come back next time"
      
      * tag 'timers-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (24 commits)
        posix-timers: Preserve return value in clock_adjtime32()
        tick/broadcast: Allow late registered device to enter oneshot mode
        tick: Use tick_check_replacement() instead of open coding it
        time/timecounter: Mark 1st argument of timecounter_cyc2time() as const
        dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer
        clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init
        clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
        clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
        clocksource/drivers/dw_apb_timer_of: Add handling for potential memory leak
        clocksource/drivers/npcm: Add support for WPCM450
        clocksource/drivers/sh_cmt: Don't use CMTOUT_IE with R-Car Gen2/3
        clocksource/drivers/pistachio: Fix trivial typo
        clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
        clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
        clocksource/drivers/timer-ti-dm: Fix posted mode status check order
        dt-bindings: timer: renesas,cmt: Document R8A77961
        dt-bindings: timer: renesas,cmt: Add r8a779a0 CMT support
        clocksource/drivers/ingenic-ost: Add support for the JZ4760B
        clocksource/drivers/ingenic: Add support for the JZ4760
        dt-bindings: timer: ingenic: Add compatible strings for JZ4760(B)
        ...
      87dcebff
    • Linus Torvalds's avatar
      Merge tag 'irq-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 91552ab8
      Linus Torvalds authored
      Pull irq updates from Thomas Gleixner:
       "The usual updates from the irq departement:
      
        Core changes:
      
         - Provide IRQF_NO_AUTOEN as a flag for request*_irq() so drivers can
           be cleaned up which either use a seperate mechanism to prevent
           auto-enable at request time or have a racy mechanism which disables
           the interrupt right after request.
      
         - Get rid of the last usage of irq_create_identity_mapping() and
           remove the interface.
      
         - An overhaul of tasklet_disable().
      
           Most usage sites of tasklet_disable() are in task context and
           usually in cleanup, teardown code pathes. tasklet_disable()
           spinwaits for a tasklet which is currently executed. That's not
           only a problem for PREEMPT_RT where this can lead to a live lock
           when the disabling task preempts the softirq thread. It's also
           problematic in context of virtualization when the vCPU which runs
           the tasklet is scheduled out and the disabling code has to spin
           wait until it's scheduled back in.
      
           There are a few code pathes which invoke tasklet_disable() from
           non-sleepable context. For these a new disable variant which still
           spinwaits is provided which allows to switch tasklet_disable() to a
           sleep wait mechanism. For the atomic use cases this does not solve
           the live lock issue on PREEMPT_RT. That is mitigated by blocking on
           the RT specific softirq lock.
      
         - The PREEMPT_RT specific implementation of softirq processing and
           local_bh_disable/enable().
      
           On RT enabled kernels soft interrupt processing happens always in
           task context and all interrupt handlers, which are not explicitly
           marked to be invoked in hard interrupt context are forced into task
           context as well. This allows to protect against softirq processing
           with a per CPU lock, which in turn allows to make BH disabled
           regions preemptible.
      
           Most of the softirq handling code is still shared. The RT/non-RT
           specific differences are addressed with a set of inline functions
           which provide the context specific functionality. The
           local_bh_disable() / local_bh_enable() mechanism are obviously
           seperate.
      
         - The usual set of small improvements and cleanups
      
        Driver changes:
      
         - New drivers for Nuvoton WPCM450 and DT 79rc3243x interrupt
           controllers
      
         - Extended functionality for MStar, STM32 and SC7280 irq chips
      
         - Enhanced robustness for ARM GICv3/4.1 drivers
      
         - The usual set of cleanups and improvements all over the place"
      
      * tag 'irq-core-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (53 commits)
        irqchip/xilinx: Expose Kconfig option for Zynq/ZynqMP
        irqchip/gic-v3: Do not enable irqs when handling spurious interrups
        dt-bindings: interrupt-controller: Add IDT 79RC3243x Interrupt Controller
        irqchip: Add support for IDT 79rc3243x interrupt controller
        irqdomain: Drop references to recusive irqdomain setup
        irqdomain: Get rid of irq_create_strict_mappings()
        irqchip/jcore-aic: Kill use of irq_create_strict_mappings()
        ARM: PXA: Kill use of irq_create_strict_mappings()
        irqchip/gic-v4.1: Disable vSGI upon (GIC CPUIF < v4.1) detection
        irqchip/tb10x: Use 'fallthrough' to eliminate a warning
        genirq: Reduce irqdebug cacheline bouncing
        kernel: Initialize cpumask before parsing
        irqchip/wpcm450: Drop COMPILE_TEST
        irqchip/irq-mst: Support polarity configuration
        irqchip: Add driver for WPCM450 interrupt controller
        dt-bindings: interrupt-controller: Add nuvoton, wpcm450-aic
        dt-bindings: qcom,pdc: Add compatible for sc7280
        irqchip/stm32: Add usart instances exti direct event support
        irqchip/gic-v3: Fix OF_BAD_ADDR error handling
        irqchip/sifive-plic: Mark two global variables __ro_after_init
        ...
      91552ab8
    • Linus Torvalds's avatar
      Merge tag 'core-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3b671bf4
      Linus Torvalds authored
      Pull core entry updates from Thomas Gleixner:
       "A trivial cleanup of typo fixes"
      
      * tag 'core-entry-2021-04-26' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        entry: Fix typos in comments
      3b671bf4
    • Linus Torvalds's avatar
      Merge tag 'x86_platform_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 64a925c9
      Linus Torvalds authored
      Pull x86 platform updates from Borislav Petkov:
       "A bunch of SGI UV improvements, fixes and cleanups"
      
      * tag 'x86_platform_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/platform/uv: Remove dead !CONFIG_KEXEC_CORE code
        x86/platform/uv: Fix !KEXEC build failure
        x86/platform/uv: Add more to secondary CPU kdump info
        x86/platform/uv: Use x2apic enabled bit as set by BIOS to indicate APIC mode
        x86/platform/uv: Set section block size for hubless architectures
        x86/platform/uv: Fix indentation warning in Documentation/ABI/testing/sysfs-firmware-sgi_uv
      64a925c9
    • Linus Torvalds's avatar
      Merge tag 'x86_build_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ca53fb2c
      Linus Torvalds authored
      Pull x86 build updates from Borislav Petkov:
       "A bunch of clang build fixes and a Kconfig highmem selection fix for
        486SX"
      
      * tag 'x86_build_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/build: Disable HIGHMEM64G selection for M486SX
        efi/libstub: Add $(CLANG_FLAGS) to x86 flags
        x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
        x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
      ca53fb2c
    • Linus Torvalds's avatar
      Merge tag 'x86_cleanups_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ea5bc7b9
      Linus Torvalds authored
      Pull misc x86 cleanups from Borislav Petkov:
       "Trivial cleanups and fixes all over the place"
      
      * tag 'x86_cleanups_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        MAINTAINERS: Remove me from IDE/ATAPI section
        x86/pat: Do not compile stubbed functions when X86_PAT is off
        x86/asm: Ensure asm/proto.h can be included stand-alone
        x86/platform/intel/quark: Fix incorrect kernel-doc comment syntax in files
        x86/msr: Make locally used functions static
        x86/cacheinfo: Remove unneeded dead-store initialization
        x86/process/64: Move cpu_current_top_of_stack out of TSS
        tools/turbostat: Unmark non-kernel-doc comment
        x86/syscalls: Fix -Wmissing-prototypes warnings from COND_SYSCALL()
        x86/fpu/math-emu: Fix function cast warning
        x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
        x86: Fix various typos in comments, take #2
        x86: Remove unusual Unicode characters from comments
        x86/kaslr: Return boolean values from a function returning bool
        x86: Fix various typos in comments
        x86/setup: Remove unused RESERVE_BRK_ARRAY()
        stacktrace: Move documentation for arch_stack_walk_reliable() to header
        x86: Remove duplicate TSC DEADLINE MSR definitions
      ea5bc7b9
    • Linus Torvalds's avatar
      Merge tag 'x86_boot_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 90e66ce9
      Linus Torvalds authored
      Pull x86 boot updates from Borislav Petkov:
       "Consolidation and cleanup of the early memory reservations, along with
        a couple of gcc11 warning fixes"
      
      * tag 'x86_boot_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/setup: Move trim_snb_memory() later in setup_arch() to fix boot hangs
        x86/setup: Merge several reservations of start of memory
        x86/setup: Consolidate early memory reservations
        x86/boot/compressed: Avoid gcc-11 -Wstringop-overread warning
        x86/boot/tboot: Avoid Wstringop-overread-warning
      90e66ce9
    • Linus Torvalds's avatar
      Merge tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 81a48979
      Linus Torvalds authored
      Pull x86 SGX updates from Borislav Petkov:
       "Add the guest side of SGX support in KVM guests. Work by Sean
        Christopherson, Kai Huang and Jarkko Sakkinen.
      
        Along with the usual fixes, cleanups and improvements"
      
      * tag 'x86_sgx_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (21 commits)
        x86/sgx: Mark sgx_vepc_vm_ops static
        x86/sgx: Do not update sgx_nr_free_pages in sgx_setup_epc_section()
        x86/sgx: Move provisioning device creation out of SGX driver
        x86/sgx: Add helpers to expose ECREATE and EINIT to KVM
        x86/sgx: Add helper to update SGX_LEPUBKEYHASHn MSRs
        x86/sgx: Add encls_faulted() helper
        x86/sgx: Add SGX2 ENCLS leaf definitions (EAUG, EMODPR and EMODT)
        x86/sgx: Move ENCLS leaf definitions to sgx.h
        x86/sgx: Expose SGX architectural definitions to the kernel
        x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled
        x86/cpu/intel: Allow SGX virtualization without Launch Control support
        x86/sgx: Introduce virtual EPC for use by KVM guests
        x86/sgx: Add SGX_CHILD_PRESENT hardware error code
        x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()
        x86/cpufeatures: Add SGX1 and SGX2 sub-features
        x86/cpufeatures: Make SGX_LC feature bit depend on SGX bit
        x86/sgx: Remove unnecessary kmap() from sgx_ioc_enclave_init()
        selftests/sgx: Use getauxval() to simplify test code
        selftests/sgx: Improve error detection and messages
        x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()
        ...
      81a48979
    • Linus Torvalds's avatar
      Merge tag 'x86_vmware_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 47e12f14
      Linus Torvalds authored
      Pull x86 vmware guest update from Borislav Petkov:
       "Have vmware guests skip the refined TSC calibration when the TSC
        frequency has been retrieved from the hypervisor"
      
      * tag 'x86_vmware_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vmware: Avoid TSC recalibration when frequency is known
      47e12f14
    • Linus Torvalds's avatar
      Merge tag 'x86_seves_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 26a4ef7e
      Linus Torvalds authored
      Pull x86 AMD secure virtualization (SEV-ES) updates from Borislav Petkov:
       "Add support for SEV-ES guests booting through the 32-bit boot path,
        along with cleanups, fixes and improvements"
      
      * tag 'x86_seves_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/sev-es: Optimize __sev_es_ist_enter() for better readability
        x86/sev-es: Replace open-coded hlt-loops with sev_es_terminate()
        x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path
        x86/boot/compressed/64: Add CPUID sanity check to 32-bit boot-path
        x86/boot/compressed/64: Add 32-bit boot #VC handler
        x86/boot/compressed/64: Setup IDT in startup_32 boot path
        x86/boot/compressed/64: Reload CS in startup_32
        x86/sev: Do not require Hypervisor CPUID bit for SEV guests
        x86/boot/compressed/64: Cleanup exception handling before booting kernel
        x86/virtio: Have SEV guests enforce restricted virtio memory access
        x86/sev-es: Remove subtraction of res variable
      26a4ef7e
    • Linus Torvalds's avatar
      Merge tag 'x86_misc_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 98ee795b
      Linus Torvalds authored
      Pull x86 tool update from Borislav Petkov:
       "A new kcpuid tool to dump the raw CPUID leafs of a CPU.
      
        It has the CPUID bit definitions in a separate csv file which allows
        for adding support for new CPUID leafs and bits without having to
        update the tool.
      
        The main use case for the tool is hw enablement on preproduction x86
        hardware"
      
      * tag 'x86_misc_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        tools/x86/kcpuid: Add AMD leaf 0x8000001E
        tools/x86/kcpuid: Check last token too
        selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S
        tools/x86/kcpuid: Add AMD Secure Encryption leaf
        tools/x86: Add a kcpuid tool to show raw CPU features
      98ee795b
    • Linus Torvalds's avatar
      Merge tag 'x86_alternatives_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2c5ce2db
      Linus Torvalds authored
      Pull x86 alternatives/paravirt updates from Borislav Petkov:
       "First big cleanup to the paravirt infra to use alternatives and thus
        eliminate custom code patching.
      
        For that, the alternatives infrastructure is extended to accomodate
        paravirt's needs and, as a result, a lot of paravirt patching code
        goes away, leading to a sizeable cleanup and simplification.
      
        Work by Juergen Gross"
      
      * tag 'x86_alternatives_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/paravirt: Have only one paravirt patch function
        x86/paravirt: Switch functions with custom code to ALTERNATIVE
        x86/paravirt: Add new PVOP_ALT* macros to support pvops in ALTERNATIVEs
        x86/paravirt: Switch iret pvops to ALTERNATIVE
        x86/paravirt: Simplify paravirt macros
        x86/paravirt: Remove no longer needed 32-bit pvops cruft
        x86/paravirt: Add new features for paravirt patching
        x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()
        x86/alternative: Support ALTERNATIVE_TERNARY
        x86/alternative: Support not-feature
        x86/paravirt: Switch time pvops functions to use static_call()
        static_call: Add function to query current function
        static_call: Move struct static_call_key definition to static_call_types.h
        x86/alternative: Merge include files
        x86/alternative: Drop unused feature parameter from ALTINSTR_REPLACEMENT()
      2c5ce2db
    • Linus Torvalds's avatar
      Merge tag 'ras_core_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2c532791
      Linus Torvalds authored
      Pull x86 RAS update from Borislav Petkov:
       "Provide the ability to specify the IPID (IP block associated with the
        MCE, AMD-specific) when injecting an MCE"
      
      * tag 'ras_core_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/mce/inject: Add IPID for injection too
      2c532791
    • Linus Torvalds's avatar
      Merge tag 'x86_microcode_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 41acc109
      Linus Torvalds authored
      Pull x86 microcode update from Borislav Petkov:
       "A single fix to the late microcode loading machinery which corrects
        the ordering of when new microcode is loaded from the fs, vs checking
        whether all CPUs are online"
      
      * tag 'x86_microcode_for_v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/microcode: Check for offline CPUs before requesting new microcode
      41acc109
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · a4a78bc8
      Linus Torvalds authored
      Pull crypto updates from Herbert Xu:
       "API:
      
         - crypto_destroy_tfm now ignores errors as well as NULL pointers
      
        Algorithms:
      
         - Add explicit curve IDs in ECDH algorithm names
      
         - Add NIST P384 curve parameters
      
         - Add ECDSA
      
        Drivers:
      
         - Add support for Green Sardine in ccp
      
         - Add ecdh/curve25519 to hisilicon/hpre
      
         - Add support for AM64 in sa2ul"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (184 commits)
        fsverity: relax build time dependency on CRYPTO_SHA256
        fscrypt: relax Kconfig dependencies for crypto API algorithms
        crypto: camellia - drop duplicate "depends on CRYPTO"
        crypto: s5p-sss - consistently use local 'dev' variable in probe()
        crypto: s5p-sss - remove unneeded local variable initialization
        crypto: s5p-sss - simplify getting of_device_id match data
        ccp: ccp - add support for Green Sardine
        crypto: ccp - Make ccp_dev_suspend and ccp_dev_resume void functions
        crypto: octeontx2 - add support for OcteonTX2 98xx CPT block.
        crypto: chelsio/chcr - Remove useless MODULE_VERSION
        crypto: ux500/cryp - Remove duplicate argument
        crypto: chelsio - remove unused function
        crypto: sa2ul - Add support for AM64
        crypto: sa2ul - Support for per channel coherency
        dt-bindings: crypto: ti,sa2ul: Add new compatible for AM64
        crypto: hisilicon - enable new error types for QM
        crypto: hisilicon - add new error type for SEC
        crypto: hisilicon - support new error types for ZIP
        crypto: hisilicon - dynamic configuration 'err_info'
        crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c
        ...
      a4a78bc8
    • Linus Torvalds's avatar
      Merge tag 'tomoyo-pr-20210426' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1 · ffc766b3
      Linus Torvalds authored
      Pull lockdep capacity limit updates from Tetsuo Handa:
       "syzbot is occasionally reporting that fuzz testing is terminated due
        to hitting upper limits lockdep can track.
      
        Analysis via /proc/lockdep* did not show any obvious culprits, allow
        tuning tracing capacity constants"
      
      * tag 'tomoyo-pr-20210426' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1:
        lockdep: Allow tuning tracing capacity constants.
      ffc766b3