Skip to content
  1. Jul 17, 2019
    • Henry Burns's avatar
      mm/z3fold.c: reinitialize zhdr structs after migration · c92d2f38
      Henry Burns authored
      z3fold_page_migration() calls memcpy(new_zhdr, zhdr, PAGE_SIZE).
      However, zhdr contains fields that can't be directly coppied over (ex:
      list_head, a circular linked list).  We only need to initialize the
      linked lists in new_zhdr, as z3fold_isolate_page() already ensures that
      these lists are empty
      
      Additionally it is possible that zhdr->work has been placed in a
      workqueue.  In this case we shouldn't migrate the page, as zhdr->work
      references zhdr as opposed to new_zhdr.
      
      Link: http://lkml.kernel.org/r/20190716000520.230595-1-henryburns@google.com
      Fixes: 1f862989
      
       ("mm/z3fold.c: support page migration")
      Signed-off-by: default avatarHenry Burns <henryburns@google.com>
      Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
      Cc: Vitaly Vul <vitaly.vul@sony.com>
      Cc: Vitaly Wool <vitalywool@gmail.com>
      Cc: Jonathan Adams <jwadams@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c92d2f38
    • Henry Burns's avatar
      mm/z3fold.c: remove z3fold_migration trylock · be03074c
      Henry Burns authored
      z3fold_page_migrate() will never succeed because it attempts to acquire
      a lock that has already been taken by migrate.c in __unmap_and_move().
      
        __unmap_and_move() migrate.c
          trylock_page(oldpage)
          move_to_new_page(oldpage_newpage)
            a_ops->migrate_page(oldpage, newpage)
              z3fold_page_migrate(oldpage, newpage)
                trylock_page(oldpage)
      
      Link: http://lkml.kernel.org/r/20190710213238.91835-1-henryburns@google.com
      Fixes: 1f862989
      
       ("mm/z3fold.c: support page migration")
      Signed-off-by: default avatarHenry Burns <henryburns@google.com>
      Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
      Cc: Vitaly Wool <vitalywool@gmail.com>
      Cc: Vitaly Vul <vitaly.vul@sony.com>
      Cc: Jonathan Adams <jwadams@google.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Snild Dolkow <snild@sony.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      be03074c
    • Andrew Morton's avatar
      mm/vmscan.c: add checks for incorrect handling of current->reclaim_state · 1732d2b0
      Andrew Morton authored
      
      
      Six sites are presently altering current->reclaim_state.  There is a
      risk that one function stomps on a caller's value.  Use a helper
      function to catch such errors.
      
      Cc: Yafang Shao <laoar.shao@gmail.com>
      Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
      Cc: Mel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1732d2b0
    • Yafang Shao's avatar
      mm/vmscan.c: calculate reclaimed slab caches in all reclaim paths · 0308f7cf
      Yafang Shao authored
      
      
      There are six different reclaim paths by now:
      
       - kswapd reclaim path
       - node reclaim path
       - hibernate preallocate memory reclaim path
       - direct reclaim path
       - memcg reclaim path
       - memcg softlimit reclaim path
      
      The slab caches reclaimed in these paths are only calculated in the
      above three paths.
      
      There're some drawbacks if we don't calculate the reclaimed slab caches.
      
       - The sc->nr_reclaimed isn't correct if there're some slab caches
         relcaimed in this path.
      
       - The slab caches may be reclaimed thoroughly if there're lots of
         reclaimable slab caches and few page caches.
      
         Let's take an easy example for this case. If one memcg is full of
         slab caches and the limit of it is 512M, in other words there're
         approximately 512M slab caches in this memcg. Then the limit of the
         memcg is reached and the memcg reclaim begins, and then in this memcg
         reclaim path it will continuesly reclaim the slab caches until the
         sc->priority drops to 0. After this reclaim stops, you will find
         there're few slab caches left, which is less than 20M in my test
         case. While after this patch applied the number is greater than 300M
         and the sc->priority only drops to 3.
      
      Link: http://lkml.kernel.org/r/1561112086-6169-3-git-send-email-laoar.shao@gmail.com
      Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
      Reviewed-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
      Cc: Mel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0308f7cf
    • Yafang Shao's avatar
      mm/vmscan.c: add a new member reclaim_state in struct shrink_control · e5ca8071
      Yafang Shao authored
      
      
      Patch series "mm/vmscan: calculate reclaimed slab in all reclaim paths".
      
      This patchset is to fix the issues in doing shrink slab.
      
      There're six different reclaim paths by now,
       - kswapd reclaim path
       - node reclaim path
       - hibernate preallocate memory reclaim path
       - direct reclaim path
       - memcg reclaim path
       - memcg softlimit reclaim path
      
      The slab caches reclaimed in these paths are only calculated in the
      above three paths.  The issues are detailed explained in patch #2.  We
      should calculate the reclaimed slab caches in every reclaim path.  In
      order to do it, the struct reclaim_state is placed into the struct
      shrink_control.
      
      In node reclaim path, there'is another issue about shrinking slab, which
      is adressed in "mm/vmscan: shrink slab in node reclaim"
      (https://lore.kernel.org/linux-mm/1559874946-22960-1-git-send-email-laoar.shao@gmail.com/).
      
      This patch (of 2):
      
      The struct reclaim_state is used to record how many slab caches are
      reclaimed in one reclaim path.  The struct shrink_control is used to
      control one reclaim path.  So we'd better put reclaim_state into
      shrink_control.
      
      [laoar.shao@gmail.com: remove reclaim_state assignment from __perform_reclaim()]
      Link: http://lkml.kernel.org/r/1561381582-13697-1-git-send-email-laoar.shao@gmail.com
      Link: http://lkml.kernel.org/r/1561112086-6169-2-git-send-email-laoar.shao@gmail.com
      Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
      Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Reviewed-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
      Cc: Mel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e5ca8071
    • Yafang Shao's avatar
      mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones · 766a4c19
      Yafang Shao authored
      After commit 815744d7
      
       ("mm: memcontrol: don't batch updates of local
      VM stats and events"), the local VM counter are not in sync with the
      hierarchical ones.
      
      Below is one example in a leaf memcg on my server (with 8 CPUs):
      
      	inactive_file 3567570944
      	total_inactive_file 3568029696
      
      We find that the deviation is very great because the 'val' in
      __mod_memcg_state() is in pages while the effective value in
      memcg_stat_show() is in bytes.
      
      So the maximum of this deviation between local VM stats and total VM
      stats can be (32 * number_of_cpu * PAGE_SIZE), that may be an
      unacceptably great value.
      
      We should keep the local VM stats in sync with the total stats.  In
      order to keep this behavior the same across counters, this patch updates
      __mod_lruvec_state() and __count_memcg_events() as well.
      
      Link: http://lkml.kernel.org/r/1562851979-10610-1-git-send-email-laoar.shao@gmail.com
      Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
      Acked-by: ...
      766a4c19
    • Henry Burns's avatar
      mm/z3fold.c: allow __GFP_HIGHMEM in z3fold_alloc · f1549cb5
      Henry Burns authored
      
      
      One of the gfp flags used to show that a page is movable is
      __GFP_HIGHMEM.  Currently z3fold_alloc() fails when __GFP_HIGHMEM is
      passed.  Now that z3fold pages are movable, we allow __GFP_HIGHMEM.  We
      strip the movability related flags from the call to kmem_cache_alloc()
      for our slots since it is a kernel allocation.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Link: http://lkml.kernel.org/r/20190712222118.108192-1-henryburns@google.com
      Signed-off-by: default avatarHenry Burns <henryburns@google.com>
      Acked-by: default avatarVitaly Wool <vitalywool@gmail.com>
      Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f1549cb5
    • Ryohei Suzuki's avatar
      mm/cma.c: fix a typo ("alloc_cma" -> "cma_alloc") in cma_release() comments · 929f92f7
      Ryohei Suzuki authored
      
      
      A comment referred to a non-existent function alloc_cma(), which should
      have been cma_alloc().
      
      Link: http://lkml.kernel.org/r/20190712085549.5920-1-ryh.szk.cmnty@gmail.com
      Signed-off-by: default avatarRyohei Suzuki <ryh.szk.cmnty@gmail.com>
      Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      929f92f7
    • Arnd Bergmann's avatar
      mm/slab_common.c: work around clang bug #42570 · a07057dc
      Arnd Bergmann authored
      
      
      Clang gets rather confused about two variables in the same special
      section when one of them is not initialized, leading to an assembler
      warning later:
      
        /tmp/slab_common-18f869.s: Assembler messages:
        /tmp/slab_common-18f869.s:7526: Warning: ignoring changed section attributes for .data..ro_after_init
      
      Adding an initialization to kmalloc_caches is rather silly here
      but does avoid the issue.
      
      Link: https://bugs.llvm.org/show_bug.cgi?id=42570
      Link: http://lkml.kernel.org/r/20190712090455.266021-1-arnd@arndb.de
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarDavid Rientjes <rientjes@google.com>
      Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Pekka Enberg <penberg@kernel.org>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Roman Gushchin <guro@fb.com>
      Cc: Shakeel Butt <shakeelb@google.com>
      Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
      Cc: Andrey Konovalov <andreyknvl...
      a07057dc
    • Arnd Bergmann's avatar
      lib/mpi/longlong.h: fix building with 32-bit x86 · 7b7c1df2
      Arnd Bergmann authored
      The mpi library contains some rather old inline assembly statements that
      produce a lot of warnings for 32-bit x86, such as:
      
        lib/mpi/mpih-div.c:76:16: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
                                        udiv_qrnnd(qp[i], n1, n1, np[i], d);
                                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
        lib/mpi/longlong.h:423:20: note: expanded from macro 'udiv_qrnnd'
                : "=a" ((USItype)(q)), \
                        ~~~~~~~~~~^~
      
      There is no point in doing a type cast for the output of an inline
      assembler statement, so just remove the cast here, as we have done for
      other architectures in the past.
      
      See also dea632ca
      
       ("lib/mpi: fix build with clang").
      
      Link: http://lkml.kernel.org/r/20190712090740.340186-1-arnd@arndb.de
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Cc: Stefan Agner <stefan@agner.ch>
      Cc: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7b7c1df2
    • Arnd Bergmann's avatar
      mm/shmem.c: fix unused shmem_parse_huge() function warning · e5f2249a
      Arnd Bergmann authored
      
      
      When CONFIG_SYSFS is disabled but CONFIG_TMPFS is enabled, we get a
      warning about shmem_parse_huge() never being called:
      
        mm/shmem.c:417:12: error: unused function 'shmem_parse_huge' [-Werror,-Wunused-function]
        static int shmem_parse_huge(const char *str)
      
      Change the #ifdef so we no longer build this function in that configuration.
      
      Link: http://lkml.kernel.org/r/20190712091141.673355-1-arnd@arndb.de
      Fixes: 144df3b288c4 ("vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Hugh Dickins <hughd@google.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Matthew Wilcox <willy@infradead.org>
      Cc: Vlastimil Babka <vbabka@suse.cz>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: Vineeth Remanan Pillai <vpillai@digitalocean.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e5f2249a
    • Vitaly Wool's avatar
      mm/z3fold: don't try to use buddy slots after free · bb9a374d
      Vitaly Wool authored
      As reported by Henry Burns:
      
      Running z3fold stress testing with address sanitization showed zhdr->slots
      was being used after it was freed.
      
        z3fold_free(z3fold_pool, handle)
          free_handle(handle)
            kmem_cache_free(pool->c_handle, zhdr->slots)
          release_z3fold_page_locked_list(kref)
            __release_z3fold_page(zhdr, true)
              zhdr_to_pool(zhdr)
                slots_to_pool(zhdr->slots)  *BOOM*
      
      To fix this, add pointer to the pool back to z3fold_header and modify
      zhdr_to_pool to return zhdr->pool.
      
      Link: http://lkml.kernel.org/r/20190708134808.e89f3bfadd9f6ffd7eff9ba9@gmail.com
      Fixes: 7c2b8baa
      
        ("mm/z3fold.c: add structure for buddy handles")
      Signed-off-by: default avatarVitaly Wool <vitalywool@gmail.com>
      Reported-by: default avatarHenry Burns <henryburns@google.com>
      Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
      Cc: Jonathan Adams <jwadams@google.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bb9a374d
    • 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
  2. Jul 16, 2019
    • 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 ejec...
      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...
      be8454af
    • Dave Airlie's avatar
      Revert "Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm-next" · 3729fe2b
      Dave Airlie authored
      This reverts commit 031e610a, reversing
      changes made to 52d2d44e
      
      .
      
      The mm changes in there we premature and not fully ack or reviewed by core mm folks,
      I dropped the ball by merging them via this tree, so lets take em all back out.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      3729fe2b
    • Dave Airlie's avatar
      Revert "mm: adjust apply_to_pfn_range interface for dropped token." · 7e4b4dfc
      Dave Airlie authored
      This reverts commit 6dfc43d3
      
      .
      
      Going to revert the whole vmwwgfx pull.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      7e4b4dfc
  3. Jul 15, 2019
    • Dave Airlie's avatar
      mm: adjust apply_to_pfn_range interface for dropped token. · 6dfc43d3
      Dave Airlie authored
      
      
      mm/pgtable: drop pgtable_t variable from pte_fn_t functions
      drops the token came in via the hmm tree, this caused lots of
      conflicts, but applying this cleanup patch should reduce it
      to something easier to handle. Just accept the token is unused
      at this point.
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      6dfc43d3
    • Linus Torvalds's avatar
      Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · fec88ab0
      Linus Torvalds authored
      Pull HMM updates from Jason Gunthorpe:
       "Improvements and bug fixes for the hmm interface in the kernel:
      
         - Improve clarity, locking and APIs related to the 'hmm mirror'
           feature merged last cycle. In linux-next we now see AMDGPU and
           nouveau to be using this API.
      
         - Remove old or transitional hmm APIs. These are hold overs from the
           past with no users, or APIs that existed only to manage cross tree
           conflicts. There are still a few more of these cleanups that didn't
           make the merge window cut off.
      
         - Improve some core mm APIs:
             - export alloc_pages_vma() for driver use
             - refactor into devm_request_free_mem_region() to manage
               DEVICE_PRIVATE resource reservations
             - refactor duplicative driver code into the core dev_pagemap
               struct
      
         - Remove hmm wrappers of improved core mm APIs, instead have drivers
           use the simplified API directly
      
         - Remove DEVICE_PUBLIC
      
         - Simplify the kconfig flow for the hmm users and core code"
      
      * tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (42 commits)
        mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
        mm: remove the HMM config option
        mm: sort out the DEVICE_PRIVATE Kconfig mess
        mm: simplify ZONE_DEVICE page private data
        mm: remove hmm_devmem_add
        mm: remove hmm_vma_alloc_locked_page
        nouveau: use devm_memremap_pages directly
        nouveau: use alloc_page_vma directly
        PCI/P2PDMA: use the dev_pagemap internal refcount
        device-dax: use the dev_pagemap internal refcount
        memremap: provide an optional internal refcount in struct dev_pagemap
        memremap: replace the altmap_valid field with a PGMAP_ALTMAP_VALID flag
        memremap: remove the data field in struct dev_pagemap
        memremap: add a migrate_to_ram method to struct dev_pagemap_ops
        memremap: lift the devmap_enable manipulation into devm_memremap_pages
        memremap: pass a struct dev_pagemap to ->kill and ->cleanup
        memremap: move dev_pagemap callbacks into a separate structure
        memremap: validate the pagemap type passed to devm_memremap_pages
        mm: factor out a devm_request_free_mem_region helper
        mm: export alloc_pages_vma
        ...
      fec88ab0
    • Linus Torvalds's avatar
      Merge tag 'ecryptfs-5.3-rc1-fixes' of... · fa6e951a
      Linus Torvalds authored
      Merge tag 'ecryptfs-5.3-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs
      
      Pull eCryptfs updates from Tyler Hicks:
      
       - Fix error handling when ecryptfs_read_lower() encounters an error
      
       - Fix read-only file creation when the eCryptfs mount is configured to
         store metadata in xattrs
      
       - Minor code cleanups
      
      * tag 'ecryptfs-5.3-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs:
        ecryptfs: Change return type of ecryptfs_process_flags
        ecryptfs: Make ecryptfs_xattr_handler static
        ecryptfs: remove unnessesary null check in ecryptfs_keyring_auth_tok_for_sig
        ecryptfs: use print_hex_dump_bytes for hexdump
        eCryptfs: fix permission denied with ecryptfs_xattr mount option when create readonly file
        ecryptfs: re-order a condition for static checkers
        eCryptfs: fix a couple type promotion bugs
      fa6e951a
    • Linus Torvalds's avatar
      Merge tag 'upstream-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · a318423b
      Linus Torvalds authored
      Pull UBIFS updates from Richard Weinberger:
      
       - Support for zstd compression
      
       - Support for offline signed filesystems
      
       - Various fixes for regressions
      
      * tag 'upstream-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubifs: Don't leak orphans on memory during commit
        ubifs: Check link count of inodes when killing orphans.
        ubifs: Add support for zstd compression.
        ubifs: support offline signed images
        ubifs: remove unnecessary check in ubifs_log_start_commit
        ubifs: Fix typo of output in get_cs_sqnum
        ubifs: Simplify redundant code
        ubifs: Correctly use tnc_next() in search_dh_cookie()
      a318423b
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml · f2772a0e
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - A new timer mode, time travel, for testing with UML
      
       - Many bugixes/improvements for the serial line driver
      
       - Various bugfixes
      
      * tag 'for-linus-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: fix build without CONFIG_UML_TIME_TRAVEL_SUPPORT
        um: Fix kcov crash during startup
        um: configs: Remove useless UEVENT_HELPER_PATH
        um: Support time travel mode
        um: Pass nsecs to os timer functions
        um: Remove drivers/ssl.h
        um: Don't garbage collect in deactivate_all_fds()
        um: Silence lockdep complaint about mmap_sem
        um: Remove locking in deactivate_all_fds()
        um: Timer code cleanup
        um: fix os_timer_one_shot()
        um: Fix IRQ controller regression on console read
      f2772a0e
    • Linus Torvalds's avatar
      Merge tag 'stream_open-5.3' of https://lab.nexedi.com/kirr/linux · fcd98147
      Linus Torvalds authored
      Pull stream_open() updates from Kirill Smelkov:
       "This time on stream_open front it is only two small changes:
      
         - the first one converts stream_open.cocci to treat all functions
           that start with wait_.* as blocking. Previously it was only
           wait_event_.* functions that were considered as blocking, but this
           was falsely reporting several deadlock cases as only warning.
      
           This was picked by linux-kbuild and entered mainline as commit
           0c4ab18f ("coccinelle: api/stream_open: treat all wait_.*()
           calls as blocking"), and already merged earlier.
      
         - the second one teaches stream_open.cocci to consider files as being
           stream-like even if they use noop_llseek. It results in two more
           drivers being converted to stream_open() (mousedev.c and
           hid-sensor-custom.c)"
      
      * tag 'stream_open-5.3' of https://lab.nexedi.com/kirr/linux:
        *: convert stream-like files -> stream_open, even if they use noop_llseek
      fcd98147
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.3-1' of git://git.infradead.org/linux-platform-drivers-x86 · 55167453
      Linus Torvalds authored
      Pull x86 platform driver updates from Andy Shevchenko:
       "Gathered a bunch of x86 platform driver changes. It's rather big,
        since includes two big refactors and completely new driver:
      
         - ASUS WMI driver got a big refactoring in order to support the TUF
           Gaming laptops. Besides that, the regression with backlight being
           permanently off on various EeePC laptops has been fixed.
      
         - Accelerometer on HP ProBook 450 G0 shows wrong measurements due to
           X axis being inverted. This has been fixed.
      
         - Intel PMC core driver has been extended to be ACPI enumerated if
           the DSDT provides device with _HID "INT33A1". This allows to
           convert the driver to be pure platform and support new hardware
           purely based on ACPI DSDT.
      
         - From now on the Intel Speed Select Technology is supported thru a
           corresponding driver. This driver provides an access to the
           features of the ISST, such as Perf...
      55167453
    • Linus Torvalds's avatar
      Merge tag 'mailbox-v5.3' of git://git.linaro.org/landing-teams/working/fujitsu/integration · fde7dc63
      Linus Torvalds authored
      Pull mailbox updates from Jassi Brar:
      
       - stm32: race fix by adding a spinlock
      
       - mhu: trim included headers
      
       - omap: add support for K3 SoCs
      
       - imx: Irq disable fix
      
       - bcm: tidy up extracting driver data
      
       - tegra: make resume 'noirq'
      
       - api: fix error handling
      
      * tag 'mailbox-v5.3' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
        mailbox: handle failed named mailbox channel request
        mailbox: tegra: avoid resume NULL mailboxes
        mailbox: tegra: hsp: add noirq resume
        mailbox: bcm-flexrm-mailbox: using dev_get_drvdata directly
        mailbox: imx: Clear GIEn bit at shutdown
        mailbox: omap: Add support for TI K3 SoCs
        dt-bindings: mailbox: omap: Update bindings for TI K3 SoCs
        mailbox: arm_mhu: reorder header inclusion and drop unneeded ones
        mailbox: stm32_ipcc: add spinlock to fix channels concurrent access
      fde7dc63
    • Linus Torvalds's avatar
      Merge branch 'for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu · a1240cf7
      Linus Torvalds authored
      Pull percpu updates from Dennis Zhou:
       "This includes changes to let percpu_ref release the backing percpu
        memory earlier after it has been switched to atomic in cases where the
        percpu ref is not revived.
      
        This will help recycle percpu memory earlier in cases where the
        refcounts are pinned for prolonged periods of time"
      
      * 'for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
        percpu_ref: release percpu memory early without PERCPU_REF_ALLOW_REINIT
        md: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT
        io_uring: initialize percpu refcounters using PERCU_REF_ALLOW_REINIT
        percpu_ref: introduce PERCPU_REF_ALLOW_REINIT flag
      a1240cf7
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 1d039859
      Linus Torvalds authored
      Pull perf fixes from Ingo Molnar:
       "A number of PMU driver corner case fixes, a race fix, an event
        grouping fix, plus a bunch of tooling fixes/updates"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (30 commits)
        perf/x86/intel: Fix spurious NMI on fixed counter
        perf/core: Fix exclusive events' grouping
        perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
        perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
        perf/core: Fix race between close() and fork()
        perf intel-pt: Fix potential NULL pointer dereference found by the smatch tool
        perf intel-bts: Fix potential NULL pointer dereference found by the smatch tool
        perf script: Assume native_arch for pipe mode
        perf scripts python: export-to-sqlite.py: Fix DROP VIEW power_events_view
        perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view
        perf hists browser: Fix potential NULL pointer dereference found by the smatch tool
        perf cs-etm: Fix potential NULL pointer dereference found by the smatch tool
        perf parse-events: Remove unused variable: error
        perf parse-events: Remove unused variable 'i'
        perf metricgroup: Add missing list_del_init() when flushing egroups list
        perf tools: Use list_del_init() more thorougly
        perf tools: Use zfree() where applicable
        tools lib: Adopt zalloc()/zfree() from tools/perf
        perf tools: Move get_current_dir_name() cond prototype out of util.h
        perf namespaces: Move the conditional setns() prototype to namespaces.h
        ...
      1d039859
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 0c85ce13
      Linus Torvalds authored
      Pull locking fix from Ingo Molnar:
       "A single fix for a locking statistics bug"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/lockdep: Fix lock used or unused stats error
      0c85ce13
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 577d9460
      Linus Torvalds authored
      Pull x86 fix from Ingo Molnar:
       "A single build system bugfix"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/vdso: Fix flip/flop vdso build bug
      577d9460
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 50ec1881
      Linus Torvalds authored
      Pull scheduler fix from Ingo Molnar:
       "Fix a sched statistics related bug that would trigger a kernel warning
        on certain configs"
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/core: Fix preempt warning in ttwu
      50ec1881
  4. Jul 14, 2019
    • Kirill Smelkov's avatar
      *: convert stream-like files -> stream_open, even if they use noop_llseek · 3975b097
      Kirill Smelkov authored
      This patch continues 10dce8af (fs: stream_open - opener for
      stream-like files so that read and write can run simultaneously without
      deadlock) and c5bf68fe (*: convert stream-like files from
      nonseekable_open -> stream_open) and teaches steam_open.cocci to
      consider files as being stream-like not only if they have
      .llseek=no_llseek, but also if they have .llseek=noop_llseek.
      
      This is safe to do: the comment about noop_llseek says
      
      	This is an implementation of ->llseek useable for the rare special case when
      	userspace expects the seek to succeed but the (device) file is actually not
      	able to perform the seek. In this case you use noop_llseek() instead of
      	falling back to the default implementation of ->llseek.
      
      and in general noop_llseek was massively added to drivers in 6038f373
      
      
      (llseek: automatically add .llseek fop) when changing default for NULL .llseek
      from NOP to no_llseek with the idea to avoid breaking compatibility, if
      maybe some user-space program was using lseek on a device without caring
      about the result, but caring if it was an error or not.
      
      Amended semantic patch produces two changes when applied tree-wide:
      
              drivers/hid/hid-sensor-custom.c:690:8-24: WARNING: hid_sensor_custom_fops: .read() has stream semantic; safe to change nonseekable_open -> stream_open.
              drivers/input/mousedev.c:564:1-17: ERROR: mousedev_fops: .read() can deadlock .write(); change nonseekable_open -> stream_open to fix.
      
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Cc: Jan Blunck <jblunck@suse.de>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Jiri Kosina <jikos@kernel.org>
      Cc: Jonathan Cameron <jic23@kernel.org>
      Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
      Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Signed-off-by: default avatarKirill Smelkov <kirr@nexedi.com>
      3975b097
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 192f0f8e
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
       "Notable changes:
      
         - Removal of the NPU DMA code, used by the out-of-tree Nvidia driver,
           as well as some other functions only used by drivers that haven't
           (yet?) made it upstream.
      
         - A fix for a bug in our handling of hardware watchpoints (eg. perf
           record -e mem: ...) which could lead to register corruption and
           kernel crashes.
      
         - Enable HAVE_ARCH_HUGE_VMAP, which allows us to use large pages for
           vmalloc when using the Radix MMU.
      
         - A large but incremental rewrite of our exception handling code to
           use gas macros rather than multiple levels of nested CPP macros.
      
        And the usual small fixes, cleanups and improvements.
      
        Thanks to: Alastair D'Silva, Alexey Kardashevskiy, Andreas Schwab,
        Aneesh Kumar K.V, Anju T Sudhakar, Anton Blanchard, Arnd Bergmann,
        Athira Rajeev, Cédric Le Goater, Christian Lamparter, Christophe
        Leroy, Chri...
      192f0f8e
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · ec924975
      Linus Torvalds authored
      Pull sparc updates from David Miller:
       "Just a few small changes:
      
         - Fix console naming inconsistency with hypervisor consoles, from
           John Paul Adrian Glaubitz
      
         - Fix userland compilation due to use of u_int, from Masahiro Yamada"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc64: Add missing newline at end of file
        sparc: fix unknown type name u_int in uapi header
        sparc: configs: Remove useless UEVENT_HELPER_PATH
        sparc: Remove redundant copy of the LGPL-2.0
        sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
      ec924975
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · d1210929
      Linus Torvalds authored
      Pull networking fixes from David Miller:
      
       1) Fix excessive stack usage in cxgb4, from Arnd Bergmann.
      
       2) Missing skb queue lock init in tipc, from Chris Packham.
      
       3) Fix some regressions in ipv6 flow label handling, from Eric Dumazet.
      
       4) Elide flow dissection of local packets in FIB rules, from Petar
          Penkov.
      
       5) Fix TLS support build failure in mlx5, from Tariq Toukab.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (36 commits)
        ppp: mppe: Revert "ppp: mppe: Add softdep to arc4"
        net: dsa: qca8k: replace legacy gpio include
        net: hisilicon: Use devm_platform_ioremap_resource
        cxgb4: reduce kernel stack usage in cudbg_collect_mem_region()
        tipc: ensure head->lock is initialised
        tc-tests: updated skbedit tests
        nfp: flower: ensure ip protocol is specified for L4 matches
        nfp: flower: fix ethernet check on match fields
        net/mlx5e: Provide cb_list pointer when setting up tc block on rep
        net: phy: make exported variables non-static
        net: sched: Fix NULL-pointer dereference in tc_indr_block_ing_cmd()
        davinci_cpdma: don't cast dma_addr_t to pointer
        net: openvswitch: do not update max_headroom if new headroom is equal to old headroom
        net/mlx5e: Convert single case statement switch statements into if statements
        net/mlx5: E-Switch, Reduce ingress acl modify metadata stack usage
        net/mlx5e: Fix unused variable warning when CONFIG_MLX5_ESWITCH is off
        net/mlx5e: Fix compilation error in TLS code
        ipv6: fix static key imbalance in fl_create()
        ipv6: fix potential crash in ip6_datagram_dst_update()
        ipv6: tcp: fix flowlabels reflection for RST packets
        ...
      d1210929
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide · 1fa91854
      Linus Torvalds authored
      Pull IDE update from David Miller:
       "Small cleanup"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide:
        ide: use BIT() macro for defining bit-flags
      1fa91854