1. 17 Jul, 2019 2 commits
    • Mauro Carvalho Chehab's avatar
      docs: power: add it to to the main documentation index · 08a69058
      Mauro Carvalho Chehab authored
      The power docs are orphaned at the documentation body.
      
      While it could likely be moved to be inside some guide, I'm opting to just
      adding it to the main index.rst, removing the :orphan: and adding the SPDX
      header.
      
      The reason is similar to what it was done for other driver-specific
      subsystems: the docs there contain a mix of Kernelspace, uAPI and
      admin-guide. So, better to keep them on its own directory,
      while the docs there are not properly classified.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      08a69058
    • Mauro Carvalho Chehab's avatar
      docs: powerpc: convert docs to ReST and rename to *.rst · 4d2e26a3
      Mauro Carvalho Chehab authored
      Convert docs to ReST and add them to the arch-specific
      book.
      
      The conversion here was trivial, as almost every file there
      was already using an elegant format close to ReST standard.
      
      The changes were mostly to mark literal blocks and add a few
      missing section title identifiers.
      
      One note with regards to "--": on Sphinx, this can't be used
      to identify a list, as it will format it badly. This can be
      used, however, to identify a long hyphen - and "---" is an
      even longer one.
      
      At its new index.rst, let's add a :orphan: while this is not linked to
      the main index.rst file, in order to avoid build warnings.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      Acked-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> # cxl
      4d2e26a3
  2. 16 Jul, 2019 18 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.3-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · 0a8ad0ff
      Linus Torvalds authored
      Pull orangefs updates from Mike Marshall:
       "Two small fixes.
      
        This is just a fix for an unused value that Colin King sent me and a
        related fix I added"
      
      * tag 'for-linus-5.3-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
        orangefs: eliminate needless variable assignments
        orangefs: remove redundant assignment to variable buffer_index
      0a8ad0ff
    • Linus Torvalds's avatar
      Merge tag 'for-5.3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · a18f8775
      Linus Torvalds authored
      Pull btrfs updates from David Sterba:
       "Highlights:
      
         - chunks that have been trimmed and unchanged since last mount are
           tracked and skipped on repeated trims
      
         - use hw assissed crc32c on more arches, speedups if native
           instructions or optimized implementation is available
      
         - the RAID56 incompat bit is automatically removed when the last
           block group of that type is removed
      
        Fixes:
      
         - fsync fix for reflink on NODATACOW files that could lead to ENOSPC
      
         - fix data loss after inode eviction, renaming it, and fsync it
      
         - fix fsync not persisting dentry deletions due to inode evictions
      
         - update ctime/mtime/iversion after hole punching
      
         - fix compression type validation (reported by KASAN)
      
         - send won't be allowed to start when relocation is in progress, this
           can cause spurious errors or produce incorrect send stream
      
        Core:
      
         - new tracepoints for space update
      
         - tree-checker: better check for end of extents for some tree items
      
         - preparatory work for more checksum algorithms
      
         - run delayed iput at unlink time and don't push the work to cleaner
           thread where it's not properly throttled
      
         - wrap block mapping to structures and helpers, base for further
           refactoring
      
         - split large files, part 1:
             - space info handling
             - block group reservations
             - delayed refs
             - delayed allocation
      
         - other cleanups and refactoring"
      
      * tag 'for-5.3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux: (103 commits)
        btrfs: fix memory leak of path on error return path
        btrfs: move the subvolume reservation stuff out of extent-tree.c
        btrfs: migrate the delalloc space stuff to it's own home
        btrfs: migrate btrfs_trans_release_chunk_metadata
        btrfs: migrate the delayed refs rsv code
        btrfs: Evaluate io_tree in find_lock_delalloc_range()
        btrfs: migrate the global_block_rsv helpers to block-rsv.c
        btrfs: migrate the block-rsv code to block-rsv.c
        btrfs: stop using block_rsv_release_bytes everywhere
        btrfs: cleanup the target logic in __btrfs_block_rsv_release
        btrfs: export __btrfs_block_rsv_release
        btrfs: export btrfs_block_rsv_add_bytes
        btrfs: move btrfs_block_rsv definitions into it's own header
        btrfs: Simplify update of space_info in __reserve_metadata_bytes()
        btrfs: unexport can_overcommit
        btrfs: move reserve_metadata_bytes and supporting code to space-info.c
        btrfs: move dump_space_info to space-info.c
        btrfs: export block_rsv_use_bytes
        btrfs: move btrfs_space_info_add_*_bytes to space-info.c
        btrfs: move the space info update macro to space-info.h
        ...
      a18f8775
    • Linus Torvalds's avatar
      Merge tag 'arc-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc · 3eb51486
      Linus Torvalds authored
      Pull ARC updates from Vineet Gupta:
      
       - long due rewrite of do_page_fault
      
       - refactoring of entry/exit code to utilize the double load/store
         instructions
      
       - hsdk platform updates
      
      * tag 'arc-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
        ARC: [plat-hsdk]: Enable AXI DW DMAC in defconfig
        ARC: [plat-hsdk]: enable DW SPI controller
        ARC: hide unused function unw_hdr_alloc
        ARC: [haps] Add Virtio support
        ARCv2: entry: simplify return to Delay Slot via interrupt
        ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause
        ARCv2: entry: rewrite to enable use of double load/stores LDD/STD
        ARCv2: entry: avoid a branch
        ARCv2: entry: push out the Z flag unclobber from common EXCEPTION_PROLOGUE
        ARCv2: entry: comments about hardware auto-save on taken interrupts
        ARC: mm: do_page_fault refactor #8: release mmap_sem sooner
        ARC: mm: do_page_fault refactor #7: fold the various error handling
        ARC: mm: do_page_fault refactor #6: error handlers to use same pattern
        ARC: mm: do_page_fault refactor #5: scoot no_context to end
        ARC: mm: do_page_fault refactor #4: consolidate retry related logic
        ARC: mm: do_page_fault refactor #3: tidyup vma access permission code
        ARC: mm: do_page_fault refactor #2: remove short lived variable
        ARC: mm: do_page_fault refactor #1: remove label @good_area
      3eb51486
    • Linus Torvalds's avatar
      Merge tag 'docs/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · c309b6f2
      Linus Torvalds authored
      Pull rst conversion of docs from Mauro Carvalho Chehab:
       "As agreed with Jon, I'm sending this big series directly to you, c/c
        him, as this series required a special care, in order to avoid
        conflicts with other trees"
      
      * tag 'docs/v5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (77 commits)
        docs: kbuild: fix build with pdf and fix some minor issues
        docs: block: fix pdf output
        docs: arm: fix a breakage with pdf output
        docs: don't use nested tables
        docs: gpio: add sysfs interface to the admin-guide
        docs: locking: add it to the main index
        docs: add some directories to the main documentation index
        docs: add SPDX tags to new index files
        docs: add a memory-devices subdir to driver-api
        docs: phy: place documentation under driver-api
        docs: serial: move it to the driver-api
        docs: driver-api: add remaining converted dirs to it
        docs: driver-api: add xilinx driver API documentation
        docs: driver-api: add a series of orphaned documents
        docs: admin-guide: add a series of orphaned documents
        docs: cgroup-v1: add it to the admin-guide book
        docs: aoe: add it to the driver-api book
        docs: add some documentation dirs to the driver-api book
        docs: driver-model: move it to the driver-api book
        docs: lp855x-driver.rst: add it to the driver-api book
        ...
      c309b6f2
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20190715' of git://github.com/jcmvbkbc/linux-xtensa · 3e859477
      Linus Torvalds authored
      Pull Xtensa updates from Max Filippov:
      
       - clean up PCI support code
      
       - add defconfig and DTS for the 'virt' board
      
       - abstract 'entry' and 'retw' uses in xtensa assembly in preparation
         for XEA3/NX pipeline support
      
       - random small cleanups
      
      * tag 'xtensa-20190715' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: virt: add defconfig and DTS
        xtensa: abstract 'entry' and 'retw' in assembly code
        xtensa: One function call less in bootmem_init()
        xtensa: remove arch/xtensa/include/asm/types.h
        xtensa: use generic pcibios_set_master and pcibios_enable_device
        xtensa: drop dead PCI support code
        xtensa/PCI: Remove unused variable
      3e859477
    • Linus Torvalds's avatar
      Merge tag 'safesetid-5.3' of git://github.com/micah-morton/linux · 1ec4013b
      Linus Torvalds authored
      Pull safesetid updates from Micah Morton:
       "These changes from Jann Horn fix a couple issues in the recently added
        SafeSetID LSM:
      
         - There was a simple logic bug in one of the hooks for the LSM where
           the code was incorrectly returning early in some cases before all
           security checks had been passed.
      
         - There was a more high level issue with how this LSM gets configured
           that could allow for a program to bypass the security restrictions
           by switching to an allowed UID and then again to any other UID on
           the system if the target UID of the first transition is
           unconstrained on the system. Luckily this is an easy fix that we
           now enforce at the time the LSM gets configured.
      
        There are also some changes from Jann that make policy updates for
        this LSM atomic. Kees Cook, Jann and myself have reviewed these
        changes and they look good from our point of view"
      
      * tag 'safesetid-5.3' of git://github.com/micah-morton/linux:
        LSM: SafeSetID: fix use of literal -1 in capable hook
        LSM: SafeSetID: verify transitive constrainedness
        LSM: SafeSetID: add read handler
        LSM: SafeSetID: rewrite userspace API to atomic updates
        LSM: SafeSetID: fix userns handling in securityfs
        LSM: SafeSetID: refactor policy parsing
        LSM: SafeSetID: refactor safesetid_security_capable()
        LSM: SafeSetID: refactor policy hash table
        LSM: SafeSetID: fix check for setresuid(new1, new2, new3)
        LSM: SafeSetID: fix pr_warn() to include newline
      1ec4013b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20190715' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 3c69914b
      Linus Torvalds authored
      Pull pidfd and clone3 fixes from Christian Brauner:
       "This contains a bugfix for CLONE_PIDFD when used with the legacy clone
        syscall, two fixes to ensure that syscall numbering and clone3
        entrypoint implementations will stay consistent, and an update for the
        maintainers file:
      
         - The addition of clone3 broke CLONE_PIDFD for legacy clone on all
           architectures that use do_fork() directly instead of calling the
           clone syscall itself. (Fwiw, cleaning do_fork() up is on my todo.)
      
           The reason this happened was that during conversion of _do_fork()
           to use struct kernel_clone_args we missed that do_fork() is called
           directly by various architectures. This is fixed by making sure
           that the pidfd argument in struct kernel_clone_args is correctly
           initialized with the parent_tidptr argument passed down from
           do_fork(). Additionally, do_fork() missed a check to make
           CLONE_PIDFD and CLONE_PARENT_SETTID mutually exclusive just a
           clone() does. This is now fixed too.
      
         - When clone3() was introduced we skipped architectures that require
           special handling for fork-like syscalls. Their syscall tables did
           not contain any mention of clone3().
      
           To make sure that Arnd's work to make syscall numbers on all
           architectures identical (minus alpha) was not for naught we are
           placing a comment in all syscall tables that do not yet implement
           clone3(). The comment makes it clear that 435 is reserved for
           clone3 and should not be used.
      
         - Also, this contains a patch to make the clone3() syscall definition
           in asm-generic/unist.h conditional on __ARCH_WANT_SYS_CLONE3. This
           lets us catch new architectures that implicitly make use of clone3
           without setting __ARCH_WANT_SYS_CLONE3 which is a good indicator
           that they did not check whether it needs special treatment or not.
      
         - Finally, this contains a patch to add me as maintainer for pidfd
           stuff so people can start blaming me (more)"
      
      * tag 'for-linus-20190715' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        MAINTAINERS: add new entry for pidfd api
        unistd: protect clone3 via __ARCH_WANT_SYS_CLONE3
        arch: mark syscall number 435 reserved for clone3
        clone: fix CLONE_PIDFD support
      3c69914b
    • Linus Torvalds's avatar
      Merge branch 'proc-cmdline' (/proc/<pid>/cmdline fixes) · 29541522
      Linus Torvalds authored
      This fixes two problems reported with the cmdline simplification and
      cleanup last year:
      
       - the setproctitle() special cases didn't quite match the original
         semantics, and it can be noticeable:
      
            https://lore.kernel.org/lkml/alpine.LNX.2.21.1904052326230.3249@kich.toxcorp.com/
      
       - it could leak an uninitialized byte from the temporary buffer under
         the right (wrong) circustances:
      
            https://lore.kernel.org/lkml/20190712160913.17727-1-izbyshev@ispras.ru/
      
      It rewrites the logic entirely, splitting it into two separate commits
      (and two separate functions) for the two different cases ("unedited
      cmdline" vs "setproctitle() has been used to change the command line").
      
      * proc-cmdline:
        /proc/<pid>/cmdline: add back the setproctitle() special case
        /proc/<pid>/cmdline: remove all the special cases
      29541522
    • Linus Torvalds's avatar
      /proc/<pid>/cmdline: add back the setproctitle() special case · d26d0cd9
      Linus Torvalds authored
      This makes the setproctitle() special case very explicit indeed, and
      handles it with a separate helper function entirely.  In the process, it
      re-instates the original semantics of simply stopping at the first NUL
      character when the original last NUL character is no longer there.
      
      [ The original semantics can still be seen in mm/util.c: get_cmdline()
        that is limited to a fixed-size buffer ]
      
      This makes the logic about when we use the string lengths etc much more
      obvious, and makes it easier to see what we do and what the two very
      different cases are.
      
      Note that even when we allow walking past the end of the argument array
      (because the setproctitle() might have overwritten and overflowed the
      original argv[] strings), we only allow it when it overflows into the
      environment region if it is immediately adjacent.
      
      [ Fixed for missing 'count' checks noted by Alexey Izbyshev ]
      
      Link: https://lore.kernel.org/lkml/alpine.LNX.2.21.1904052326230.3249@kich.toxcorp.com/
      Fixes: 5ab82718 ("fs/proc: simplify and clarify get_mm_cmdline() function")
      Cc: Jakub Jankowski <shasta@toxcorp.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Alexey Izbyshev <izbyshev@ispras.ru>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d26d0cd9
    • Linus Torvalds's avatar
      /proc/<pid>/cmdline: remove all the special cases · 3d712546
      Linus Torvalds authored
      Start off with a clean slate that only reads exactly from arg_start to
      arg_end, without any oddities.  This simplifies the code and in the
      process removes the case that caused us to potentially leak an
      uninitialized byte from the temporary kernel buffer.
      
      Note that in order to start from scratch with an understandable base,
      this simplifies things _too_ much, and removes all the legacy logic to
      handle setproctitle() having changed the argument strings.
      
      We'll add back those special cases very differently in the next commit.
      
      Link: https://lore.kernel.org/lkml/20190712160913.17727-1-izbyshev@ispras.ru/
      Fixes: f5b65348 ("proc: fix missing final NUL in get_mm_cmdline() rewrite")
      Cc: Alexey Izbyshev <izbyshev@ispras.ru>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3d712546
    • Linus Torvalds's avatar
      Merge tag 'backlight-next-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight · 50950626
      Linus Torvalds authored
      Pull backlight updates from Lee Jones:
       "New Functionality:
         - Provide support for ACPI enumeration; gpio_backlight
      
        Fix-ups:
         - SPDX fixups; pwm_bl
         - Fix linear	brightness levels to include number available; pwm_bl"
      
      * tag 'backlight-next-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight:
        backlight: pwm_bl: Fix heuristic to determine number of brightness levels
        backlight: gpio_backlight: Enable ACPI enumeration
        backlight: pwm_bl: Convert to use SPDX identifier
      50950626
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20190715' of git://git.kernel.dk/linux-block · 9637d517
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
       "A later pull request with some followup items. I had some vacation
        coming up to the merge window, so certain things items were delayed a
        bit. This pull request also contains fixes that came in within the
        last few days of the merge window, which I didn't want to push right
        before sending you a pull request.
      
        This contains:
      
         - NVMe pull request, mostly fixes, but also a few minor items on the
           feature side that were timing constrained (Christoph et al)
      
         - Report zones fixes (Damien)
      
         - Removal of dead code (Damien)
      
         - Turn on cgroup psi memstall (Josef)
      
         - block cgroup MAINTAINERS entry (Konstantin)
      
         - Flush init fix (Josef)
      
         - blk-throttle low iops timing fix (Konstantin)
      
         - nbd resize fixes (Mike)
      
         - nbd 0 blocksize crash fix (Xiubo)
      
         - block integrity error leak fix (Wenwen)
      
         - blk-cgroup writeback and priority inheritance fixes (Tejun)"
      
      * tag 'for-linus-20190715' of git://git.kernel.dk/linux-block: (42 commits)
        MAINTAINERS: add entry for block io cgroup
        null_blk: fixup ->report_zones() for !CONFIG_BLK_DEV_ZONED
        block: Limit zone array allocation size
        sd_zbc: Fix report zones buffer allocation
        block: Kill gfp_t argument of blkdev_report_zones()
        block: Allow mapping of vmalloc-ed buffers
        block/bio-integrity: fix a memory leak bug
        nvme: fix NULL deref for fabrics options
        nbd: add netlink reconfigure resize support
        nbd: fix crash when the blksize is zero
        block: Disable write plugging for zoned block devices
        block: Fix elevator name declaration
        block: Remove unused definitions
        nvme: fix regression upon hot device removal and insertion
        blk-throttle: fix zero wait time for iops throttled group
        block: Fix potential overflow in blk_report_zones()
        blkcg: implement REQ_CGROUP_PUNT
        blkcg, writeback: Implement wbc_blkcg_css()
        blkcg, writeback: Add wbc->no_cgroup_owner
        blkcg, writeback: Rename wbc_account_io() to wbc_account_cgroup_owner()
        ...
      9637d517
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 273cbf61
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "New stuff from the I2C world:
      
         - in the core, getting irqs from ACPI is now similar to OF
      
         - new driver for MediaTek MT7621/7628/7688 SoCs
      
         - bcm2835, i801, and tegra drivers got some more attention
      
         - GPIO API cleanups
      
         - cleanups in the core headers
      
         - lots of usual driver updates"
      
      * 'i2c/for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: (74 commits)
        i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
        i2c: cpm: remove casting dma_alloc
        dt-bindings: i2c: sun6i-p2wi: Fix the binding example
        dt-bindings: i2c: mv64xxx: Fix the example compatible
        i2c: i801: Documentation update
        i2c: i801: Add support for Intel Tiger Lake
        i2c: i801: Fix PCI ID sorting
        dt-bindings: i2c-stm32: document optional dmas
        i2c: i2c-stm32f7: Add I2C_SMBUS_I2C_BLOCK_DATA support
        i2c: core: Tidy up handling of init_irq
        i2c: core: Move ACPI gpio IRQ handling into i2c_acpi_get_irq
        i2c: core: Move ACPI IRQ handling to probe time
        i2c: acpi: Factor out getting the IRQ from ACPI
        i2c: acpi: Use available IRQ helper functions
        i2c: core: Allow whole core to use i2c_dev_irq_from_resources
        eeprom: at24: modify a comment referring to platform data
        dt-bindings: i2c: omap: Add new compatible for J721E SoCs
        dt-bindings: i2c: mv64xxx: Add YAML schemas
        dt-bindings: i2c: sun6i-p2wi: Add YAML schemas
        i2c: mt7621: Add MediaTek MT7621/7628/7688 I2C driver
        ...
      273cbf61
    • Linus Torvalds's avatar
      Merge tag 'for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 5fe7b600
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Core:
         - add HWMON compat layer
         - new properties:
             - input power limit
             - input voltage limit
      
        Drivers:
         - qcom-pon: add gen2 support
         - new driver for storing reboot move in NVMEM
         - new driver for Wilco EC charger configuration
         - simplify getting the adapter of a client"
      
      * tag 'for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
        power: reset: nvmem-reboot-mode: add CONFIG_OF dependency
        power_supply: wilco_ec: Add charging config driver
        power: supply: cros: allow to set input voltage and current limit
        power: supply: add input power and voltage limit properties
        power: supply: fix semicolon.cocci warnings
        power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface
        dt-bindings: power: reset: add document for NVMEM based reboot-mode
        reset: qcom-pon: Add support for gen2 pon
        dt-bindings: power: reset: qcom: Add qcom,pm8998-pon compatibility line
        power: supply: Add HWMON compatibility layer
        power: supply: sbs-manager: simplify getting the adapter of a client
        power: supply: rt9455_charger: simplify getting the adapter of a client
        power: supply: rt5033_battery: simplify getting the adapter of a client
        power: supply: max17042_battery: simplify getting the adapter of a client
        power: supply: max17040_battery: simplify getting the adapter of a client
        power: supply: max14656_charger_detector: simplify getting the adapter of a client
        power: supply: bq25890_charger: simplify getting the adapter of a client
        power: supply: bq24257_charger: simplify getting the adapter of a client
        power: supply: bq24190_charger: simplify getting the adapter of a client
      5fe7b600
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · fb4da215
      Linus Torvalds authored
      Pull PCI updates from Bjorn Helgaas:
       "Enumeration changes:
      
         - Evaluate PCI Boot Configuration _DSM to learn if firmware wants us
           to preserve its resource assignments (Benjamin Herrenschmidt)
      
         - Simplify resource distribution (Nicholas Johnson)
      
         - Decode 32 GT/s link speed (Gustavo Pimentel)
      
        Virtualization:
      
         - Fix incorrect caching of VF config space size (Alex Williamson)
      
         - Fix VF driver probing sysfs knobs (Alex Williamson)
      
        Peer-to-peer DMA:
      
         - Fix dma_virt_ops check (Logan Gunthorpe)
      
        Altera host bridge driver:
      
         - Allow building as module (Ley Foon Tan)
      
        Armada 8K host bridge driver:
      
         - add PHYs support (Miquel Raynal)
      
        DesignWare host bridge driver:
      
         - Export APIs to support removable loadable module (Vidya Sagar)
      
         - Enable Relaxed Ordering erratum workaround only on Tegra20 &
           Tegra30 (Vidya Sagar)
      
        Hyper-V host bridge driver:
      
         - Fix use-after-free in eject (Dexuan Cui)
      
        Mobiveil host bridge driver:
      
         - Clean up and fix many issues, including non-identify mapped
           windows, 64-bit windows, multi-MSI, class code, INTx clearing (Hou
           Zhiqiang)
      
        Qualcomm host bridge driver:
      
         - Use clk bulk API for 2.4.0 controllers (Bjorn Andersson)
      
         - Add QCS404 support (Bjorn Andersson)
      
         - Assert PERST for at least 100ms (Niklas Cassel)
      
        R-Car host bridge driver:
      
         - Add r8a774a1 DT support (Biju Das)
      
        Tegra host bridge driver:
      
         - Add support for Gen2, opportunistic UpdateFC and ACK (PCIe protocol
           details) AER, GPIO-based PERST# (Manikanta Maddireddy)
      
         - Fix many issues, including power-on failure cases, interrupt
           masking in suspend, UPHY settings, AFI dynamic clock gating,
           pending DLL transactions (Manikanta Maddireddy)
      
        Xilinx host bridge driver:
      
         - Fix NWL Multi-MSI programming (Bharat Kumar Gogada)
      
        Endpoint support:
      
         - Fix 64bit BAR support (Alan Mikhak)
      
         - Fix pcitest build issues (Alan Mikhak, Andy Shevchenko)
      
        Bug fixes:
      
         - Fix NVIDIA GPU multi-function power dependencies (Abhishek Sahu)
      
         - Fix NVIDIA GPU HDA enablement issue (Lukas Wunner)
      
         - Ignore lockdep for sysfs "remove" (Marek Vasut)
      
        Misc:
      
         - Convert docs to reST (Changbin Du, Mauro Carvalho Chehab)"
      
      * tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (107 commits)
        PCI: Enable NVIDIA HDA controllers
        tools: PCI: Fix installation when `make tools/pci_install`
        PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
        PCI: Fix typos and whitespace errors
        PCI: mobiveil: Fix INTx interrupt clearing in mobiveil_pcie_isr()
        PCI: mobiveil: Fix infinite-loop in the INTx handling function
        PCI: mobiveil: Move PCIe PIO enablement out of inbound window routine
        PCI: mobiveil: Add upper 32-bit PCI base address setup in inbound window
        PCI: mobiveil: Add upper 32-bit CPU base address setup in outbound window
        PCI: mobiveil: Mask out hardcoded bits in inbound/outbound windows setup
        PCI: mobiveil: Clear the control fields before updating it
        PCI: mobiveil: Add configured inbound windows counter
        PCI: mobiveil: Fix the valid check for inbound and outbound windows
        PCI: mobiveil: Clean-up program_{ib/ob}_windows()
        PCI: mobiveil: Remove an unnecessary return value check
        PCI: mobiveil: Fix error return values
        PCI: mobiveil: Refactor the MEM/IO outbound window initialization
        PCI: mobiveil: Make some register updates more readable
        PCI: mobiveil: Reformat the code for readability
        dt-bindings: PCI: mobiveil: Change gpio_slave and apb_csr to optional
        ...
      fb4da215
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 2a3c389a
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "A smaller cycle this time. Notably we see another new driver, 'Soft
        iWarp', and the deletion of an ancient unused driver for nes.
      
         - Revise and simplify the signature offload RDMA MR APIs
      
         - More progress on hoisting object allocation boiler plate code out
           of the drivers
      
         - Driver bug fixes and revisions for hns, hfi1, efa, cxgb4, qib,
           i40iw
      
         - Tree wide cleanups: struct_size, put_user_page, xarray, rst doc
           conversion
      
         - Removal of obsolete ib_ucm chardev and nes driver
      
         - netlink based discovery of chardevs and autoloading of the modules
           providing them
      
         - Move more of the rdamvt/hfi1 uapi to include/uapi/rdma
      
         - New driver 'siw' for software based iWarp running on top of netdev,
           much like rxe's software RoCE.
      
         - mlx5 feature to report events in their raw devx format to userspace
      
         - Expose per-object counters through rdma tool
      
         - Adaptive interrupt moderation for RDMA (DIM), sharing the DIM core
           from netdev"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (194 commits)
        RMDA/siw: Require a 64 bit arch
        RDMA/siw: Mark expected switch fall-throughs
        RDMA/core: Fix -Wunused-const-variable warnings
        rdma/siw: Remove set but not used variable 's'
        rdma/siw: Add missing dependencies on LIBCRC32C and DMA_VIRT_OPS
        RDMA/siw: Add missing rtnl_lock around access to ifa
        rdma/siw: Use proper enumerated type in map_cqe_status
        RDMA/siw: Remove unnecessary kthread create/destroy printouts
        IB/rdmavt: Fix variable shadowing issue in rvt_create_cq
        RDMA/core: Fix race when resolving IP address
        RDMA/core: Make rdma_counter.h compile stand alone
        IB/core: Work on the caller socket net namespace in nldev_newlink()
        RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM
        RDMA/mlx5: Set RDMA DIM to be enabled by default
        RDMA/nldev: Added configuration of RDMA dynamic interrupt moderation to netlink
        RDMA/core: Provide RDMA DIM support for ULPs
        linux/dim: Implement RDMA adaptive moderation (DIM)
        IB/mlx5: Report correctly tag matching rendezvous capability
        docs: infiniband: add it to the driver-api bookset
        IB/mlx5: Implement VHCA tunnel mechanism in DEVX
        ...
      2a3c389a
    • Linus Torvalds's avatar
      Merge tag 'mfd-next-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd · 8de26253
      Linus Torvalds authored
      Pull MFD updates from Lee Jones:
       "Core Frameworks:
         - Set 'struct device' fwnode when registering a new device
      
        New Drivers:
         - Add support for ROHM BD70528 PMIC
      
        New Device Support:
         - Add support for LP87561 4-Phase Regulator to TI LP87565 PMIC
         - Add support for RK809 and RK817 to Rockchip RK808
         - Add support for Lid Angle to ChromeOS core
         - Add support for CS47L15 CODEC to Madera core
         - Add support for CS47L92 CODEC to Madera core
         - Add support for ChromeOS (legacy) Accelerometers in ChromeOS core
         - Add support for Add Intel Elkhart Lake PCH to Intel LPSS
      
        New Functionality:
         - Provide regulator supply information when registering; madera-core
         - Additional Device Tree support; lp87565, madera, cros-ec, rohm,bd71837-pmic
         - Allow over-riding power button press via Device Tree; rohm-bd718x7
         - Differentiate between running processors; cros_ec_dev
      
        Fix-ups:
         - Big header file update; cros_ec_commands.h
         - Split header per-subsystem; rohm-bd718x7
         - Remove superfluous code; menelaus, cs5535-mfd, cs47lXX-tables
         - Trivial; sorting, coding style; intel-lpss-pci
         - Only remove Power Off functionality if set locally; rk808
         - Make use for Power Off Prepare(); rk808
         - Fix spelling mistake in header guards; stmfx
         - Properly free IDA resources
         - SPDX fixups; cs47lXX-tables, madera
         - Error path fixups; hi655x-pmic
      
        Bug Fixes:
         - Add missing break in case() statement
         - Repair undefined behaviour when not initialising variables; arizona-core, madera-core
         - Fix reference to Device Tree documentation; madera"
      
      * tag 'mfd-next-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (45 commits)
        mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk
        mfd: madera: Fixup SPDX headers
        mfd: madera: Remove some unused registers and fix some defaults
        mfd: intel-lpss: Release IDA resources
        mfd: intel-lpss: Add Intel Elkhart Lake PCH PCI IDs
        mfd: cs5535-mfd: Remove ifdef OLPC noise
        mfd: stmfx: Fix macro definition spelling
        dt-bindings: mfd: Add link to ROHM BD71847 Datasheet
        MAINAINERS: Swap words in INTEL PMIC MULTIFUNCTION DEVICE DRIVERS
        mfd: cros_ec_dev: Register cros_ec_accel_legacy driver as a subdevice
        mfd: rk808: Prepare rk805 for poweroff
        mfd: rk808: Check pm_power_off pointer
        mfd: cros_ec: differentiate SCP from EC by feature bit
        dt-bindings: Add binding for cros-ec-rpmsg
        mfd: madera: Add Madera core support for CS47L92
        mfd: madera: Add Madera core support for CS47L15
        mfd: madera: Update DT bindings to add additional CODECs
        mfd: madera: Add supply mapping for MICVDD
        mfd: madera: Fix potential uninitialised use of variable
        mfd: madera: Fix bad reference to pinctrl.txt file
        ...
      8de26253
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2019-07-16' of git://anongit.freedesktop.org/drm/drm · be8454af
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "The biggest thing in this is the AMD Navi GPU support, this again
        contains a bunch of header files that are large. These are the new AMD
        RX5700 GPUs that just recently became available.
      
        New drivers:
         - ST-Ericsson MCDE driver
         - Ingenic JZ47xx SoC
      
        UAPI change:
         - HDR source metadata property
      
        Core:
         - HDR inforframes and EDID parsing
         - drm hdmi infoframe unpacking
         - remove prime sg_table caching into dma-buf
         - New gem vram helpers to reduce driver code
         - Lots of drmP.h removal
         - reservation fencing fix
         - documentation updates
         - drm_fb_helper_connector removed
         - mode name command handler rewrite
      
        fbcon:
         - Remove the fbcon notifiers
      
        ttm:
         - forward progress fixes
      
        dma-buf:
         - make mmap call optional
         - debugfs refcount fixes
         - dma-fence free with pending signals fix
         - each dma-buf gets an inode
      
        Panels:
         - Lots of additional panel bindings
      
        amdgpu:
         - initial navi10 support
         - avoid hw reset
         - HDR metadata support
         - new thermal sensors for vega asics
         - RAS fixes
         - use HMM rather than MMU notifier
         - xgmi topology via kfd
         - SR-IOV fixes
         - driver reload fixes
         - DC use a core bpc attribute
         - Aux fixes for DC
         - Bandwidth calc updates for DC
         - Clock handling refactor
         - kfd VEGAM support
      
        vmwgfx:
         - Coherent memory support changes
      
        i915:
         - HDR Support
         - HDMI i2c link
         - Icelake multi-segmented gamma support
         - GuC firmware update
         - Mule Creek Canyon PCH support for EHL
         - EHL platform updtes
         - move i915.alpha_support to i915.force_probe
         - runtime PM refactoring
         - VBT parsing refactoring
         - DSI fixes
         - struct mutex dependency reduction
         - GEM code reorg
      
        mali-dp:
         - Komeda driver features
      
        msm:
         - dsi vs EPROBE_DEFER fixes
         - msm8998 snapdragon 835 support
         - a540 gpu support
         - mdp5 and dpu interconnect support
      
        exynos:
         - drmP.h removal
      
        tegra:
         - misc fixes
      
        tda998x:
         - audio support improvements
         - pixel repeated mode support
         - quantisation range handling corrections
         - HDMI vendor info fix
      
        armada:
         - interlace support fix
         - overlay/video plane register handling refactor
         - add gamma support
      
        rockchip:
         - RX3328 support
      
        panfrost:
         - expose perf counters via hidden ioctls
      
        vkms:
         - enumerate CRC sources list
      
        ast:
         - rework BO handling
      
        mgag200:
         - rework BO handling
      
        dw-hdmi:
         - suspend/resume support
      
        rcar-du:
         - R8A774A1 Soc Support
         - LVDS dual-link mode support
         - Additional formats
         - Misc fixes
      
        omapdrm:
         - DSI command mode display support
      
        stm
         - fb modifier support
         - runtime PM support
      
        sun4i:
         - use vmap ops
      
        vc4:
         - binner bo binding rework
      
        v3d:
         - compute shader support
         - resync/sync fixes
         - job management refactoring
      
        lima:
         - NULL pointer in irq handler fix
         - scheduler default timeout
      
        virtio:
         - fence seqno support
         - trace events
      
        bochs:
         - misc fixes
      
        tc458767:
         - IRQ/HDP handling
      
        sii902x:
         - HDMI audio support
      
        atmel-hlcdc:
         - misc fixes
      
        meson:
         - zpos support"
      
      * tag 'drm-next-2019-07-16' of git://anongit.freedesktop.org/drm/drm: (1815 commits)
        Revert "Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm-next"
        Revert "mm: adjust apply_to_pfn_range interface for dropped token."
        mm: adjust apply_to_pfn_range interface for dropped token.
        drm/amdgpu/navi10: add uclk activity sensor
        drm/amdgpu: properly guard the generic discovery code
        drm/amdgpu: add missing documentation on new module parameters
        drm/amdgpu: don't invalidate caches in RELEASE_MEM, only do the writeback
        drm/amd/display: avoid 64-bit division
        drm/amdgpu/psp11: simplify the ucode register logic
        drm/amdgpu: properly guard DC support in navi code
        drm/amd/powerplay: vega20: fix uninitialized variable use
        drm/amd/display: dcn20: include linux/delay.h
        amdgpu: make pmu support optional
        drm/amd/powerplay: Zero initialize current_rpm in vega20_get_fan_speed_percent
        drm/amd/powerplay: Zero initialize freq in smu_v11_0_get_current_clk_freq
        drm/amd/powerplay: Use memset to initialize metrics structs
        drm/amdgpu/mes10.1: Fix header guard
        drm/amd/powerplay: add temperature sensor support for navi10
        drm/amdgpu: fix scheduler timeout calc
        drm/amdgpu: Prepare for hmm_range_register API change (v2)
        ...
      be8454af
  3. 15 Jul, 2019 20 commits