1. 08 Jul, 2021 13 commits
  2. 05 Jul, 2021 13 commits
  3. 04 Jul, 2021 7 commits
    • Linus Torvalds's avatar
      Merge tag 's390-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 2bb919b6
      Linus Torvalds authored
      Pull s390 updates from Vasily Gorbik:
      
       - Rework inline asm to get rid of error prone "register asm"
         constructs, which are problematic especially when code
         instrumentation is enabled.
      
         In particular introduce and use register pair union to allocate
         even/odd register pairs. Unfortunately this breaks compatibility with
         older clang compilers and minimum clang version for s390 has been
         raised to 13.
      
           https://lore.kernel.org/linux-next/CAK7LNARuSmPCEy-ak0erPrPTgZdGVypBROFhtw+=3spoGoYsyw@mail.gmail.com/
      
       - Fix gcc 11 warnings, which triggered various minor reworks all over
         the code.
      
       - Add zstd kernel image compression support.
      
       - Rework boot CPU lowcore handling.
      
       - De-duplicate and move kernel memory layout setup logic earlier.
      
       - Few fixes in preparation for FORTIFY_SOURCE performing compile-time
         and run-time field bounds checking for mem functions.
      
       - Remove broken and unused power management support leftovers in s390
         drivers.
      
       - Disable stack-protector for decompressor and purgatory to fix
         buildroot build.
      
       - Fix vt220 sclp console name to match the char device name.
      
       - Enable HAVE_IOREMAP_PROT and add zpci_set_irq()/zpci_clear_irq() in
         zPCI code.
      
       - Remove some implausible WARN_ON_ONCEs and remove arch specific
         counter transaction call backs in favour of default transaction
         handling in perf code.
      
       - Extend/add new uevents for online/config/mode state changes of AP
         card / queue device in zcrypt.
      
       - Minor entry and ccwgroup code improvements.
      
       - Other small various fixes and improvements all over the code.
      
      * tag 's390-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (91 commits)
        s390/dasd: use register pair instead of register asm
        s390/qdio: get rid of register asm
        s390/ioasm: use symbolic names for asm operands
        s390/ioasm: get rid of register asm
        s390/cmf: get rid of register asm
        s390/lib,string: get rid of register asm
        s390/lib,uaccess: get rid of register asm
        s390/string: get rid of register asm
        s390/cmpxchg: use register pair instead of register asm
        s390/mm,pages-states: get rid of register asm
        s390/lib,xor: get rid of register asm
        s390/timex: get rid of register asm
        s390/hypfs: use register pair instead of register asm
        s390/zcrypt: Switch to flexible array member
        s390/speculation: Use statically initialized const for instructions
        virtio/s390: get rid of open-coded kvm hypercall
        s390/pci: add zpci_set_irq()/zpci_clear_irq()
        scripts/min-tool-version.sh: Raise minimum clang version to 13.0.0 for s390
        s390/ipl: use register pair instead of register asm
        s390/mem_detect: fix tprot() program check new psw handling
        ...
      2bb919b6
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux · 0d4d4c6f
      Linus Torvalds authored
      Pull arch/csky updates from Guo Ren:
       "A small cleanup and a fixup"
      
      * tag 'csky-for-linus-5.14-rc1' of git://github.com/c-sky/csky-linux:
        csky: Kconfig: Remove unused selects
        csky: syscache: Fixup duplicate cache flush
      0d4d4c6f
    • Linus Torvalds's avatar
      Merge tag 'cxl-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl · 0c66a95c
      Linus Torvalds authored
      Pull CXL (Compute Express Link) updates from Dan Williams:
       "This subsystem is still in the build-out phase as the bulk of the
        update is improvements to enumeration and fleshing out the device
        model. In terms of new features, more mailbox commands have been added
        to the allowed-list in support of persistent memory provisioning
        support targeting v5.15.
      
        The critical update from an enumeration perspective is support for the
        CXL Fixed Memory Window Structure that indicates to Linux which system
        physical address ranges decode to the CXL Host Bridges in the system.
        This allows the driver to detect which address ranges have been mapped
        by firmware and what address ranges are available for future hotplug.
      
        So, again, mostly skeleton this round, with more meat targeting v5.15.
      
        Summary:
      
         - Add support for the CXL Fixed Memory Window Structure, a recent
           extension of the ACPI CEDT (CXL Early Discovery Table)
      
         - Add infrastructure for component registers
      
         - Add HDM (Host-managed device memory) decoder definitions
      
         - Define a device model for an HDM decoder tree
      
         - Bridge CXL persistent memory capabilities to an NVDIMM bus /
           device-model
      
         - Switch to fine grained mapping of CXL MMIO registers to allow
           different drivers / system software to own individual register
           blocks
      
         - Enable media provisioning commands, and publish the label storage
           area size in sysfs
      
         - Miscellaneous cleanups and fixes"
      
      * tag 'cxl-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: (34 commits)
        cxl/pci: Rename CXL REGLOC ID
        cxl/acpi: Use the ACPI CFMWS to create static decoder objects
        cxl/acpi: Add the Host Bridge base address to CXL port objects
        cxl/pmem: Register 'pmem' / cxl_nvdimm devices
        libnvdimm: Drop unused device power management support
        libnvdimm: Export nvdimm shutdown helper, nvdimm_delete()
        cxl/pmem: Add initial infrastructure for pmem support
        cxl/core: Add cxl-bus driver infrastructure
        cxl/pci: Add media provisioning required commands
        cxl/component_regs: Fix offset
        cxl/hdm: Fix decoder count calculation
        cxl/acpi: Introduce cxl_decoder objects
        cxl/acpi: Enumerate host bridge root ports
        cxl/acpi: Add downstream port data to cxl_port instances
        cxl/Kconfig: Default drivers to CONFIG_CXL_BUS
        cxl/acpi: Introduce the root of a cxl_port topology
        cxl/pci: Fixup devm_cxl_iomap_block() to take a 'struct device *'
        cxl/pci: Add HDM decoder capabilities
        cxl/pci: Reserve individual register block regions
        cxl/pci: Map registers based on capabilities
        ...
      0c66a95c
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 855ff900
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
      
       - core supports now bus regulators controlling power for SCL/SDA
      
       - quite some DT binding conversions to YAML
      
       - added a seperate DT binding for the optional SMBus Alert feature
      
       - documentation with examples how to deal with I2C sysfs files
      
       - some bigger rework for the i801 driver
      
       - and a few usual driver updates
      
      * 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (42 commits)
        i2c: ali1535: mention that the device should not be disabled
        i2c: mpc: Restore reread of I2C status register
        i2c: core-smbus: Expose PEC calculate function for generic use
        Documentation: i2c: Add doc for I2C sysfs
        i2c: core: Disable client irq on reboot/shutdown
        dt-bindings: i2c: update bindings for MT8195 SoC
        i2c: imx: Fix some checkpatch warnings
        i2c: davinci: Simplify with dev_err_probe()
        i2c: cadence: Simplify with dev_err_probe()
        i2c: xiic: Simplify with dev_err_probe()
        i2c: cadence: Clear HOLD bit before xfer_size register rolls over
        dt-bindings: i2c: ce4100: Replace "ti,pcf8575" by "nxp,pcf8575"
        i2c: i801: Improve i801_setup_hstcfg
        i2c: i801: Use driver name constant instead of function dev_driver_string
        i2c: i801: Simplify initialization of i2c_board_info in i801_probe_optional_slaves
        i2c: i801: Improve status polling
        i2c: cht-wc: Replace of_node by NULL
        i2c: riic: Add RZ/G2L support
        dt-bindings: i2c: renesas,riic: Document RZ/G2L I2C controller
        dt-bindings: i2c: renesas,iic: Convert to json-schema
        ...
      855ff900
    • Martin K. Petersen's avatar
      scsi: blkcg: Fix application ID config options · d2500a0c
      Martin K. Petersen authored
      Commit d2bcbeab ("scsi: blkcg: Add app identifier support for
      blkcg") introduced an FC_APPID config option under SCSI. However, the
      added config option is not used anywhere. Simply remove it.
      
      The block layer BLK_CGROUP_FC_APPID config option is what actually
      controls whether the application ID code should be built or not. Make
      this option dependent on NVMe over FC since that is currently the only
      transport which supports the capability.
      
      Fixes: d2bcbeab ("scsi: blkcg: Add app identifier support for blkcg")
      Reported-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d2500a0c
    • Guo Ren's avatar
      csky: Kconfig: Remove unused selects · 90dc8c0e
      Guo Ren authored
       - GENERIC_ALLOCATOR is duplicated
       - Remove USB_ARCH_HAS_OHCI & USB_ARCH_HAS_EHCI, because they
         have been removed from linux.
      Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      90dc8c0e
    • Guo Ren's avatar
      csky: syscache: Fixup duplicate cache flush · 6ea42c84
      Guo Ren authored
      The current csky logic of sys_cacheflush is wrong, it'll cause
      icache flush call dcache flush again. Now fixup it with a
      conditional "break & fallthrough".
      
      Fixes: 997153b9 ("csky: Add flush_icache_mm to defer flush icache all")
      Fixes: 0679d29d ("csky: fix syscache.c fallthrough warning")
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Co-Developed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      6ea42c84
  4. 03 Jul, 2021 7 commits
    • Linus Torvalds's avatar
      Merge tag 'leds-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds · 303392fd
      Linus Torvalds authored
      Pull LED updates from Pavel Machek:
       "This contains quite a lot of fixes, with more fixes in my inbox that
        did not make it (sorry)"
      
      * tag 'leds-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds: (36 commits)
        leds: lgm: Fix up includes
        leds: ktd2692: Fix an error handling path
        leds: as3645a: Fix error return code in as3645a_parse_node()
        leds: turris-omnia: add missing MODULE_DEVICE_TABLE
        leds: lp55xx: Initialize enable GPIO direction to output
        leds: lm36274: Add missed property.h
        leds: el15203000: Make error handling more robust
        leds: pwm: Make error handling more robust
        leds: lt3593: Make use of device properties
        leds: lp50xx: Put fwnode in error case during ->probe()
        leds: lm3697: Don't spam logs when probe is deferred
        leds: lm3692x: Put fwnode in any case during ->probe()
        leds: lm36274: Correct headers (of*.h -> mod_devicetable.h)
        leds: lm36274: Put fwnode in error case during ->probe()
        leds: lm3532: Make error handling more robust
        leds: lm3532: select regmap I2C API
        leds: lgm-sso: Drop duplicate NULL check for GPIO operations
        leds: lgm-sso: Remove unneeded of_match_ptr()
        leds: lgm-sso: Fix clock handling
        leds: el15203000: Introduce to_el15203000_led() helper
        ...
      303392fd
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.14-rc1' of git://github.com/awilliam/linux-vfio · 8e8d9442
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Module reference fixes, structure renaming (Max Gurtovoy)
      
       - Export and use common pci_dev_trylock() (Luis Chamberlain)
      
       - Enable direct mdev device creation and probing by parent (Christoph
         Hellwig & Jason Gunthorpe)
      
       - Fix mdpy error path leak (Colin Ian King)
      
       - Fix mtty list entry leak (Jason Gunthorpe)
      
       - Enforce mtty device limit (Alex Williamson)
      
       - Resolve concurrent vfio-pci mmap faults (Alex Williamson)
      
      * tag 'vfio-v5.14-rc1' of git://github.com/awilliam/linux-vfio:
        vfio/pci: Handle concurrent vma faults
        vfio/mtty: Enforce available_instances
        vfio/mtty: Delete mdev_devices_list
        vfio: use the new pci_dev_trylock() helper to simplify try lock
        PCI: Export pci_dev_trylock() and pci_dev_unlock()
        vfio/mdpy: Fix memory leak of object mdev_state->vconfig
        vfio/iommu_type1: rename vfio_group struck to vfio_iommu_group
        vfio/mbochs: Convert to use vfio_register_group_dev()
        vfio/mdpy: Convert to use vfio_register_group_dev()
        vfio/mtty: Convert to use vfio_register_group_dev()
        vfio/mdev: Allow the mdev_parent_ops to specify the device driver to bind
        vfio/mdev: Remove CONFIG_VFIO_MDEV_DEVICE
        driver core: Export device_driver_attach()
        driver core: Don't return EPROBE_DEFER to userspace during sysfs bind
        driver core: Flow the return code from ->probe() through to sysfs bind
        driver core: Better distinguish probe errors in really_probe
        driver core: Pull required checks into driver_probe_device()
        vfio/platform: remove unneeded parent_module attribute
        vfio: centralize module refcount in subsystem layer
      8e8d9442
    • Linus Torvalds's avatar
      Merge branch 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 58ec9059
      Linus Torvalds authored
      Pull vfs name lookup updates from Al Viro:
       "Small namei.c patch series, mostly to simplify the rules for nameidata
        state. It's actually from the previous cycle - but I didn't post it
        for review in time...
      
        Changes visible outside of fs/namei.c: file_open_root() calling
        conventions change, some freed bits in LOOKUP_... space"
      
      * 'work.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        namei: make sure nd->depth is always valid
        teach set_nameidata() to handle setting the root as well
        take LOOKUP_{ROOT,ROOT_GRABBED,JUMPED} out of LOOKUP_... space
        switch file_open_root() to struct path
      58ec9059
    • Linus Torvalds's avatar
      Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · d3acb15a
      Linus Torvalds authored
      Pull iov_iter updates from Al Viro:
       "iov_iter cleanups and fixes.
      
        There are followups, but this is what had sat in -next this cycle. IMO
        the macro forest in there became much thinner and easier to follow..."
      
      * 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (37 commits)
        csum_and_copy_to_pipe_iter(): leave handling of csum_state to caller
        clean up copy_mc_pipe_to_iter()
        pipe_zero(): we don't need no stinkin' kmap_atomic()...
        iov_iter: clean csum_and_copy_...() primitives up a bit
        copy_page_from_iter(): don't need kmap_atomic() for kvec/bvec cases
        copy_page_to_iter(): don't bother with kmap_atomic() for bvec/kvec cases
        iterate_xarray(): only of the first iteration we might get offset != 0
        pull handling of ->iov_offset into iterate_{iovec,bvec,xarray}
        iov_iter: make iterator callbacks use base and len instead of iovec
        iov_iter: make the amount already copied available to iterator callbacks
        iov_iter: get rid of separate bvec and xarray callbacks
        iov_iter: teach iterate_{bvec,xarray}() about possible short copies
        iterate_bvec(): expand bvec.h macro forest, massage a bit
        iov_iter: unify iterate_iovec and iterate_kvec
        iov_iter: massage iterate_iovec and iterate_kvec to logics similar to iterate_bvec
        iterate_and_advance(): get rid of magic in case when n is 0
        csum_and_copy_to_iter(): massage into form closer to csum_and_copy_from_iter()
        iov_iter: replace iov_iter_copy_from_user_atomic() with iterator-advancing variant
        [xarray] iov_iter_npages(): just use DIV_ROUND_UP()
        iov_iter_npages(): don't bother with iterate_all_kinds()
        ...
      d3acb15a
    • Linus Torvalds's avatar
      Merge branch 'work.d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · f92a322a
      Linus Torvalds authored
      Pull vfs d_path() updates from Al Viro:
       "d_path.c refactoring"
      
      * 'work.d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        getcwd(2): clean up error handling
        d_path: prepend_path() is unlikely to return non-zero
        d_path: prepend_path(): lift the inner loop into a new helper
        d_path: prepend_path(): lift resetting b in case when we'd return 3 out of loop
        d_path: prepend_path(): get rid of vfsmnt
        d_path: introduce struct prepend_buffer
        d_path: make prepend_name() boolean
        d_path: lift -ENAMETOOLONG handling into callers of prepend_path()
        d_path: don't bother with return value of prepend()
        getcwd(2): saner logics around prepend_path() call
        d_path: get rid of path_with_deleted()
        d_path: regularize handling of root dentry in __dentry_path()
        d_path: saner calling conventions for __dentry_path()
        d_path: "\0" is {0,0}, not {0}
      f92a322a
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 757fa80f
      Linus Torvalds authored
      Pull tracing updates from Steven Rostedt:
      
       - Added option for per CPU threads to the hwlat tracer
      
       - Have hwlat tracer handle hotplug CPUs
      
       - New tracer: osnoise, that detects latency caused by interrupts,
         softirqs and scheduling of other tasks.
      
       - Added timerlat tracer that creates a thread and measures in detail
         what sources of latency it has for wake ups.
      
       - Removed the "success" field of the sched_wakeup trace event. This has
         been hardcoded as "1" since 2015, no tooling should be looking at it
         now. If one exists, we can revert this commit, fix that tool and try
         to remove it again in the future.
      
       - tgid mapping fixed to handle more than PID_MAX_DEFAULT pids/tgids.
      
       - New boot command line option "tp_printk_stop", as tp_printk causes
         trace events to write to console. When user space starts, this can
         easily live lock the system. Having a boot option to stop just after
         boot up is useful to prevent that from happening.
      
       - Have ftrace_dump_on_oops boot command line option take numbers that
         match the numbers shown in /proc/sys/kernel/ftrace_dump_on_oops.
      
       - Bootconfig clean ups, fixes and enhancements.
      
       - New ktest script that tests bootconfig options.
      
       - Add tracepoint_probe_register_may_exist() to register a tracepoint
         without triggering a WARN*() if it already exists. BPF has a path
         from user space that can do this. All other paths are considered a
         bug.
      
       - Small clean ups and fixes
      
      * tag 'trace-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: (49 commits)
        tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
        tracing: Simplify & fix saved_tgids logic
        treewide: Add missing semicolons to __assign_str uses
        tracing: Change variable type as bool for clean-up
        trace/timerlat: Fix indentation on timerlat_main()
        trace/osnoise: Make 'noise' variable s64 in run_osnoise()
        tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
        tracing: Fix spelling in osnoise tracer "interferences" -> "interference"
        Documentation: Fix a typo on trace/osnoise-tracer
        trace/osnoise: Fix return value on osnoise_init_hotplug_support
        trace/osnoise: Make interval u64 on osnoise_main
        trace/osnoise: Fix 'no previous prototype' warnings
        tracing: Have osnoise_main() add a quiescent state for task rcu
        seq_buf: Make trace_seq_putmem_hex() support data longer than 8
        seq_buf: Fix overflow in seq_buf_putmem_hex()
        trace/osnoise: Support hotplug operations
        trace/hwlat: Support hotplug operations
        trace/hwlat: Protect kdata->kthread with get/put_online_cpus
        trace: Add timerlat tracer
        trace: Add osnoise tracer
        ...
      757fa80f
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · a70bb580
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Refine reserved memory nomap handling
      
       - Merge some PCI and non-PCI address handling implementations
      
       - Simplify of_address.h header ifdefs
      
       - Improve printk handling of some 64-bit types
      
       - Convert adi,adv7511, Arm ccree, Arm SCMI, Arm SCU, Arm TWD timer, Arm
         VIC, arm,sbsa-gwdt, Arm/Amlogic SCPI, Aspeed I2C, Broadcom iProc PWM,
         linaro,optee-tz, MDIO GPIO, Mediatek RNG, MTD physmap, NXP
         pcf8563/pcf85263/pcf85363, Renesas TPU, renesas,emev2-smu,
         renesas,r9a06g032-sysctrl, sysc-rmobile, Tegra20 EMC, TI AM56 PCI, TI
         OMAP mailbox, TI SCI bindings, virtio-mmio, Zynq FPGA, and ZynqMP RTC
         to DT schema
      
       - Convert mux and mux controller bindings to schema. This includes MDIO
         IIO, and I2C muxes.
      
       - Add Arm PL031 RTC binding schema
      
       - Add vendor prefixes for StarFive Technology Co. Ltd. and Insignal Ltd
      
       - Fix some stale doc references
      
       - Remove stale property-units.txt. Superseded by schema in dt-schema
         repo.
      
       - Fixes for 'unevaluatedProperties' handling (enabled with experimental
         json-schema support)
      
       - Drop redundant usage of minItems and maxItems across the tree
      
       - Update some examples to use bindings with a schema
      
      * tag 'devicetree-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (83 commits)
        dt-bindings: Fix 'unevaluatedProperties' errors in DT graph users
        dt-bindings: display: renesas,du: Fix 'ports' reference
        dt-bindings: media: adv7180: Add missing video-interfaces.yaml reference
        dt-bindings: crypto: ccree: Convert to json-schema
        dt-bindings: fpga: zynq: convert bindings to YAML
        dt-bindings: rtc: zynqmp: convert bindings to YAML
        dt-bindings: interrupt-controller: Convert ARM VIC to json-schema
        of: of_reserved_mem: mark nomap memory instead of removing
        of: of_reserved_mem: only call memblock_free for normal reserved memory
        dt-bindings: Drop redundant minItems/maxItems
        dt-bindings: spmi: Correct 'reg' schema
        of: reserved-memory: Add stub for RESERVEDMEM_OF_DECLARE()
        dt-bindings: clk: vc5: Fix example
        dt-bindings: timer: renesas,tmu: add r8a779a0 TMU support
        dt-bindings: drm: bridge: adi,adv7511.txt: convert to yaml
        dt-bindings: PCI: ti,am65: Convert PCIe host/endpoint mode dt-bindings to YAML
        of: Remove superfluous casts when printing u64 values
        of: Fix truncation of memory sizes on 32-bit platforms
        dt-bindings: rtc: nxp,pcf8563: Absorb pcf85263/pcf85363 bindings
        dt-bindings: pwm: Use examples with documented/matching schema
        ...
      a70bb580