1. 08 Feb, 2020 8 commits
    • Linus Torvalds's avatar
      Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 236f4532
      Linus Torvalds authored
      Pull misc vfs updates from Al Viro:
      
       - bmap series from cmaiolino
      
       - getting rid of convolutions in copy_mount_options() (use a couple of
         copy_from_user() instead of the __get_user() crap)
      
      * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        saner copy_mount_options()
        fibmap: Reject negative block numbers
        fibmap: Use bmap instead of ->bmap method in ioctl_fibmap
        ecryptfs: drop direct calls to ->bmap
        cachefiles: drop direct usage of ->bmap method.
        fs: Enable bmap() function to properly return errors
      236f4532
    • Linus Torvalds's avatar
      Merge branch 'pipe-exclusive-wakeup' · 99593330
      Linus Torvalds authored
      Merge thundering herd avoidance on pipe IO.
      
      This would have been applied for 5.5 already, but got delayed because of
      a user-space race condition in the GNU make jobserver code.  Now that
      there's a new GNU make 4.3 release, and most distributions seem to have
      at least applied the (almost three year old) fix for the problem, let's
      see if people notice.
      
      And it might have been just bad random timing luck on my machine.
      
      If you do hit the race condition, things will still work, but the
      symptom is that you don't get nearly the expected parallelism when using
      "make -j<N>".
      
      The jobserver bug can definitely happen without this patch too, but
      seems to be easier to trigger when we no longer wake up pipe waiters
      unnecessarily.
      
      * pipe-exclusive-wakeup:
        pipe: use exclusive waits when reading or writing
      99593330
    • Linus Torvalds's avatar
      pipe: use exclusive waits when reading or writing · 0ddad21d
      Linus Torvalds authored
      
      
      This makes the pipe code use separate wait-queues and exclusive waiting
      for readers and writers, avoiding a nasty thundering herd problem when
      there are lots of readers waiting for data on a pipe (or, less commonly,
      lots of writers waiting for a pipe to have space).
      
      While this isn't a common occurrence in the traditional "use a pipe as a
      data transport" case, where you typically only have a single reader and
      a single writer process, there is one common special case: using a pipe
      as a source of "locking tokens" rather than for data communication.
      
      In particular, the GNU make jobserver code ends up using a pipe as a way
      to limit parallelism, where each job consumes a token by reading a byte
      from the jobserver pipe, and releases the token by writing a byte back
      to the pipe.
      
      This pattern is fairly traditional on Unix, and works very well, but
      will waste a lot of time waking up a lot of processes when only a single
      reader needs to be woken up when a writer releases a new token.
      
      A simplified test-case of just this pipe interaction is to create 64
      processes, and then pass a single token around between them (this
      test-case also intentionally passes another token that gets ignored to
      test the "wake up next" logic too, in case anybody wonders about it):
      
          #include <unistd.h>
      
          int main(int argc, char **argv)
          {
              int fd[2], counters[2];
      
              pipe(fd);
              counters[0] = 0;
              counters[1] = -1;
              write(fd[1], counters, sizeof(counters));
      
              /* 64 processes */
              fork(); fork(); fork(); fork(); fork(); fork();
      
              do {
                      int i;
                      read(fd[0], &i, sizeof(i));
                      if (i < 0)
                              continue;
                      counters[0] = i+1;
                      write(fd[1], counters, (1+(i & 1)) *sizeof(int));
              } while (counters[0] < 1000000);
              return 0;
          }
      
      and in a perfect world, passing that token around should only cause one
      context switch per transfer, when the writer of a token causes a
      directed wakeup of just a single reader.
      
      But with the "writer wakes all readers" model we traditionally had, on
      my test box the above case causes more than an order of magnitude more
      scheduling: instead of the expected ~1M context switches, "perf stat"
      shows
      
              231,852.37 msec task-clock                #   15.857 CPUs utilized
              11,250,961      context-switches          #    0.049 M/sec
                 616,304      cpu-migrations            #    0.003 M/sec
                   1,648      page-faults               #    0.007 K/sec
       1,097,903,998,514      cycles                    #    4.735 GHz
         120,781,778,352      instructions              #    0.11  insn per cycle
          27,997,056,043      branches                  #  120.754 M/sec
             283,581,233      branch-misses             #    1.01% of all branches
      
            14.621273891 seconds time elapsed
      
             0.018243000 seconds user
             3.611468000 seconds sys
      
      before this commit.
      
      After this commit, I get
      
                5,229.55 msec task-clock                #    3.072 CPUs utilized
               1,212,233      context-switches          #    0.232 M/sec
                 103,951      cpu-migrations            #    0.020 M/sec
                   1,328      page-faults               #    0.254 K/sec
          21,307,456,166      cycles                    #    4.074 GHz
          12,947,819,999      instructions              #    0.61  insn per cycle
           2,881,985,678      branches                  #  551.096 M/sec
              64,267,015      branch-misses             #    2.23% of all branches
      
             1.702148350 seconds time elapsed
      
             0.004868000 seconds user
             0.110786000 seconds sys
      
      instead. Much better.
      
      [ Note! This kernel improvement seems to be very good at triggering a
        race condition in the make jobserver (in GNU make 4.2.1) for me. It's
        a long known bug that was fixed back in June 2017 by GNU make commit
        b552b0525198 ("[SV 51159] Use a non-blocking read with pselect to
        avoid hangs.").
      
        But there wasn't a new release of GNU make until 4.3 on Jan 19 2020,
        so a number of distributions may still have the buggy version. Some
        have backported the fix to their 4.2.1 release, though, and even
        without the fix it's quite timing-dependent whether the bug actually
        is hit. ]
      
      Josh Triplett says:
       "I've been hammering on your pipe fix patch (switching to exclusive
        wait queues) for a month or so, on several different systems, and I've
        run into no issues with it. The patch *substantially* improves
        parallel build times on large (~100 CPU) systems, both with parallel
        make and with other things that use make's pipe-based jobserver.
      
        All current distributions (including stable and long-term stable
        distributions) have versions of GNU make that no longer have the
        jobserver bug"
      Tested-by: default avatarJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0ddad21d
    • Linus Torvalds's avatar
      Merge tag 'fuse-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse · f7571657
      Linus Torvalds authored
      Pull fuse fixes from Miklos Szeredi:
      
       - Fix a regression introduced in v5.1 that triggers WARNINGs for some
         fuse filesystems
      
       - Fix an xfstest failure
      
       - Allow overlayfs to be used on top of fuse/virtiofs
      
       - Code and documentation cleanups
      
      * tag 'fuse-fixes-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
        fuse: use true,false for bool variable
        Documentation: filesystems: convert fuse to RST
        fuse: Support RENAME_WHITEOUT flag
        fuse: don't overflow LLONG_MAX with end offset
        fix up iter on short count in fuse_direct_io()
      f7571657
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 175787e0
      Linus Torvalds authored
      Pull gfs2 fixes from Andreas Gruenbacher:
      
       - Fix a bug in Abhi Das's journal head lookup improvements that can
         cause a valid journal to be rejected.
      
       - Fix an O_SYNC write handling bug reported by Christoph Hellwig.
      
      * tag 'gfs2-for-5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: fix O_SYNC write handling
        gfs2: move setting current->backing_dev_info
        gfs2: fix gfs2_find_jhead that returns uninitialized jhead with seq 0
      175787e0
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · 60ea27e9
      Linus Torvalds authored
      Pull orangefs fix from Mike Marshall:
       "Debugfs fix for orangefs.
      
        Vasliy Averin noticed that 'if seq_file .next function does not change
        position index, read after some lseek can generate unexpected output'
        and sent in this fix"
      
      * tag 'for-linus-5.6-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
        help_next should increase position index
      60ea27e9
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.6' of git://linux-nfs.org/~bfields/linux · 08dffcc7
      Linus Torvalds authored
      Pull nfsd updates from Bruce Fields:
       "Highlights:
      
         - Server-to-server copy code from Olga.
      
           To use it, client and both servers must have support, the target
           server must be able to access the source server over NFSv4.2, and
           the target server must have the inter_copy_offload_enable module
           parameter set.
      
         - Improvements and bugfixes for the new filehandle cache, especially
           in the container case, from Trond
      
         - Also from Trond, better reporting of write errors.
      
         - Y2038 work from Arnd"
      
      * tag 'nfsd-5.6' of git://linux-nfs.org/~bfields/linux: (55 commits)
        sunrpc: expiry_time should be seconds not timeval
        nfsd: make nfsd_filecache_wq variable static
        nfsd4: fix double free in nfsd4_do_async_copy()
        nfsd: convert file cache to use over/underflow safe refcount
        nfsd: Define the file access mode enum for tracing
        nfsd: Fix a perf warning
        nfsd: Ensure sampling of the write verifier is atomic with the write
        nfsd: Ensure sampling of the commit verifier is atomic with the commit
        sunrpc: clean up cache entry add/remove from hashtable
        sunrpc: Fix potential leaks in sunrpc_cache_unhash()
        nfsd: Ensure exclusion between CLONE and WRITE errors
        nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range()
        nfsd: Update the boot verifier on stable writes too.
        nfsd: Fix stable writes
        nfsd: Allow nfsd_vfs_write() to take the nfsd_file as an argument
        nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create()
        nfsd: Reduce the number of calls to nfsd_file_gc()
        nfsd: Schedule the laundrette regularly irrespective of file errors
        nfsd: Remove unused constant NFSD_FILE_LRU_RESCAN
        nfsd: Containerise filecache laundrette
        ...
      08dffcc7
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · f43574d0
      Linus Torvalds authored
      Puyll NFS client updates from Anna Schumaker:
       "Stable bugfixes:
         - Fix memory leaks and corruption in readdir # v2.6.37+
         - Directory page cache needs to be locked when read # v2.6.37+
      
        New features:
         - Convert NFS to use the new mount API
         - Add "softreval" mount option to let clients use cache if server goes down
         - Add a config option to compile without UDP support
         - Limit the number of inactive delegations the client can cache at once
         - Improved readdir concurrency using iterate_shared()
      
        Other bugfixes and cleanups:
         - More 64-bit time conversions
         - Add additional diagnostic tracepoints
         - Check for holes in swapfiles, and add dependency on CONFIG_SWAP
         - Various xprtrdma cleanups to prepare for 5.7's changes
         - Several fixes for NFS writeback and commit handling
         - Fix acls over krb5i/krb5p mounts
         - Recover from premature loss of openstateids
         - Fix NFS v3 chacl and chmod bug
         - Compare creds using cred_fscmp()
         - Use kmemdup_nul() in more places
         - Optimize readdir cache page invalidation
         - Lease renewal and recovery fixes"
      
      * tag 'nfs-for-5.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (93 commits)
        NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewals
        NFSv4: try lease recovery on NFS4ERR_EXPIRED
        NFS: Fix memory leaks
        nfs: optimise readdir cache page invalidation
        NFS: Switch readdir to using iterate_shared()
        NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()
        NFS: Directory page cache pages need to be locked when read
        NFS: Fix memory leaks and corruption in readdir
        SUNRPC: Use kmemdup_nul() in rpc_parse_scope_id()
        NFS: Replace various occurrences of kstrndup() with kmemdup_nul()
        NFSv4: Limit the total number of cached delegations
        NFSv4: Add accounting for the number of active delegations held
        NFSv4: Try to return the delegation immediately when marked for return on close
        NFS: Clear NFS_DELEGATION_RETURN_IF_CLOSED when the delegation is returned
        NFSv4: nfs_inode_evict_delegation() should set NFS_DELEGATION_RETURNING
        NFS: nfs_find_open_context() should use cred_fscmp()
        NFS: nfs_access_get_cached_rcu() should use cred_fscmp()
        NFSv4: pnfs_roc() must use cred_fscmp() to compare creds
        NFS: remove unused macros
        nfs: Return EINVAL rather than ERANGE for mount parse errors
        ...
      f43574d0
  2. 07 Feb, 2020 15 commits
    • Linus Torvalds's avatar
      Merge tag 'docs-5.6-2' of git://git.lwn.net/linux · 41dcd67e
      Linus Torvalds authored
      Pull Documentation fixes from Jonathan Corbet:
       "A handful of small documentation fixes that wandered in"
      
      * tag 'docs-5.6-2' of git://git.lwn.net/linux:
        Allow git builds of Sphinx
        Documentation: changes.rst: update several outdated project URLs
        Documentation: build warnings related to missing blank lines after explicit markups has been fixed
        mailmap: add entry for Tiezhu Yang
        Documentation/ko_KR/howto: Update a broken link
        Documentation/ko_KR/howto: Update broken web addresses
        docs/locking: Fix outdated section names
      41dcd67e
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 11777ee8
      Linus Torvalds authored
      Pull i2c updates from Wolfram Sang:
       "i2c core:
      
         - huge improvements and refactorizations of the Linux I2C
           documentation (lots of thanks to Luca for doing it and Jean for the
           careful review)
      
         - subsystem wide API conversion to i2c_new_client_device()
      
         - remove obsolete parport-light driver
      
         - smaller core updates (removal of 'extern', enabling more compile
           testing, use more helper macros)
      
         - and quite a bunch of driver updates (new IDs, simplifications,
           better PM, support of atomic transfers and other improvements)
      
        i2c-mux:
      
         - The main feature is the idle-state rework of the pca954x driver
           from Biwen Li
      
        at24 driver:
      
         - minor maintenance: update the license tag, sort headers
      
         - move support for the write-protect pin into nvmem core
      
         - add a reference to the new wp-gpios property in nvmem to at25
           bindings
      
         - add support for regulator and pm_runtime control"
      ...
      11777ee8
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ed39ba0e
      Linus Torvalds authored
      Pull more ACPI updates from Rafael Wysocki:
       "Add Hisilicon Hip08-Lite I2C controller clock frequency support to the
        ACPI driver for AMD SoCs (APD) and to the Designware I2C driver
        (Hanjun Guo)"
      
      * tag 'acpi-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        i2c: designware: Add ACPI HID for Hisilicon Hip08-Lite I2C controller
        ACPI / APD: Add clock frequency for Hisilicon Hip08-Lite I2C controller
      ed39ba0e
    • Linus Torvalds's avatar
      Merge tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · ba7dcfc7
      Linus Torvalds authored
      Pull more power management updates from Rafael Wysocki:
      
       - Update the recently merged CPR (Core Power Reduction) support in the
         AVS (Adaptive Voltage Scaling) subsystem (Brendan Higgins, Nathan
         Chancellor, Niklas Cassel)
      
       - Update the rockchip-io AVS driver (Heiko Stuebner)
      
       - Add two more module parameters to intel_idle on top of the recently
         merged material (Rafael Wysocki)
      
       - Clean up a piece of cpuidle documentation and consolidate system
         sleep states documentation (Rafael Wysocki)
      
      * tag 'pm-5.6-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpuidle: Documentation: Clean up PM QoS description
        Documentation: admin-guide: PM: Update sleep states documentation
        intel_idle: Introduce 'states_off' module parameter
        intel_idle: Introduce 'use_acpi' module parameter
        power: avs: qcom-cpr: Avoid clang -Wsometimes-uninitialized in cpr_scale
        power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
        PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30
        power: avs: qcom-cpr: add a printout after the driver has been initialized
      ba7dcfc7
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-02-07' of git://anongit.freedesktop.org/drm/drm · c16b99d6
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just some fixes for this merge window: the tegra changes fix some
        regressions in the merge, nouveau has a few modesetting fixes.
      
        The amdgpu fixes are bit bigger, but they contain a couple of weeks of
        fixes, and don't seem to contain anything that isn't really a fix.
      
        Summary:
      
        tegra:
         - merge window regression fixes
      
        nouveau:
         - couple of volta/turing modesetting fixes
      
        amdgpu:
         - EDC fixes for Arcturus
         - GDDR6 memory training fixe
         - Fix for reading gfx clockgating registers while in GFXOFF state
         - i2c freq fixes
         - Misc display fixes
         - TLB invalidation fix when using semaphores
         - VCN 2.5 instancing fixes
         - Switch raven1 gfxoff to a blacklist
         - Coreboot workaround for KV/KB
         - Root cause dongle fixes for display and revert workaround
         - Enable GPU reset for renoir and navi
         - Navi overclocking fixes
         - Fix up confusing warnings in display clock validation on raven
      
        amdkfd:
         - SDMA fix
      
        radeon:
         - Misc LUT fixes"
      
      * tag 'drm-next-2020-02-07' of git://anongit.freedesktop.org/drm/drm: (90 commits)
        gpu: host1x: Set DMA direction only for DMA-mapped buffer objects
        drm/tegra: Reuse IOVA mapping where possible
        drm/tegra: Relax IOMMU usage criteria on old Tegra
        drm/amd/dm/mst: Ignore payload update failures
        drm/amdgpu: update default voltage for boot od table for navi1x
        drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
        drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
        drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
        drm/amdgpu: fetch default VDDC curve voltages (v2)
        drm/amdgpu/smu_v11_0: Correct behavior of restoring default tables (v2)
        drm/amdgpu/navi10: add OD_RANGE for navi overclocking
        drm/amdgpu/navi: fix index for OD MCLK
        drm/amd/display: Fix HW/SW state mismatch
        drm/amd/display: Fix a typo when computing dsc configuration
        drm/amd/powerplay: fix navi10 system intermittent reboot issue V2
        drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
        drm/amd/display: Only enable cursor on pipes that need it
        drm/nouveau/kms/gv100-: avoid sending a core update until the first modeset
        drm/nouveau/kms/gv100-: move window ownership setup into modesetting path
        drm/nouveau/disp/gv100-: halt NV_PDISP_FE_RM_INTR_STAT_CTRL_DISP_ERROR storms
        ...
      c16b99d6
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 8bf5973a
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "A collection of fixes:
      
         - Make of_clk.h self contained
      
         - Fix new qcom DT bindings that just merged to match the DTS files
      
         - Fix qcom clk driver to properly detect DFS clk frequencies
      
         - Fix the ls1028a driver to not deref a pointer before assigning it"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        of: clk: Make <linux/of_clk.h> self-contained
        clk: qcom: Use ARRAY_SIZE in videocc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for videocc-sc7180
        dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180
        clk: qcom: Use ARRAY_SIZE in gpucc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for gpucc-sc7180
        dt-bindings: clock: Fix qcom,gpucc bindings for sdm845/sc7180/msm8998
        clk: qcom: Use ARRAY_SIZE in dispcc-sc7180 for parent clocks
        clk: qcom: Get rid of the test clock for dispcc-sc7180
        clk: qcom: Get rid of fallback global names for dispcc-sc7180
        dt-bindings: clock: Fix qcom,dispcc bindings for sdm845/sc7180
        clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
        clk: ls1028a: fix a dereference of pointer 'parent' before a null check
        dt-bindings: clk: qcom: Fix self-validation, split, and clean cruft
        clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()
      8bf5973a
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-5.6-rc1' of git://www.linux-watchdog.org/linux-watchdog · b34f01f7
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - add IT8786 chipset ID
      
       - addition of sam9x60 compatible watchdog
      
       - da9062 improvements
      
       - fix UAF in reboot notifier handling in watchdog core code
      
       - other fixes and small improvements
      
      * tag 'linux-watchdog-5.6-rc1' of git://www.linux-watchdog.org/linux-watchdog:
        watchdog: da9062: make restart handler atomic safe
        watchdog: mtk_wdt: mt2712: Add reset controller
        watchdog: mtk_wdt: mt8183: Add reset controller
        dt-bindings: mediatek: mt2712: Add #reset-cells
        dt-bindings: mediatek: mt8183: Add #reset-cells
        dt-bindings: watchdog: da9062: add suspend disable option
        watchdog: it87_wdt: add IT8786 ID
        watchdog: dw_wdt: ping watchdog to reset countdown before start
        watchdog: fix UAF in reboot notifier handling in watchdog core code
        watchdog: cadence: Skip printing pointer value
        watchdog: qcom: Use platform_get_irq_optional() for bark irq
        watchdog: da9062: add power management ops
        watchdog: make DesignWare watchdog allow users to set bigger timeout value
        drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
        watchdog: sama5d4_wdt: addition of sam9x60 compatible watchdog
      b34f01f7
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · e0f121c5
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "Some bug fixes/cleanups.
      
        The deprecated scsi passthrough for virtio_blk is removed"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        virtio_balloon: Fix memory leaks on errors in virtballoon_probe()
        virtio-balloon: Fix memory leak when unloading while hinting is in progress
        virtio_balloon: prevent pfn array overflow
        virtio-blk: remove VIRTIO_BLK_F_SCSI support
        virtio-pci: check name when counting MSI-X vectors
        virtio-balloon: initialize all vq callbacks
        virtio-mmio: convert to devm_platform_ioremap_resource
      e0f121c5
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20200206' of git://github.com/jcmvbkbc/linux-xtensa · 9b7fa288
      Linus Torvalds authored
      Pull xtensa updates from Max Filippov:
      
       - reorganize exception vectors placement
      
       - small cleanups (drop unused functions/headers/defconfig entries,
         spelling fixes)
      
      * tag 'xtensa-20200206' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: ISS: improve simcall assembly
        xtensa: reorganize vectors placement
        xtensa: separate SMP and XIP support
        xtensa: move fast exception handlers close to vectors
        arch/xtensa: fix Kconfig typos for HAVE_SMP
        xtensa: clean up optional XCHAL_* definitions
        xtensa: drop unused function fast_coprocessor_double
        xtensa: drop empty platform_* functions from platforms
        xtensa: clean up platform headers
        xtensa: drop set_except_vector declaration
        xtensa: configs: Cleanup old Kconfig IO scheduler options
      9b7fa288
    • Roberto Bergantinos Corpas's avatar
      sunrpc: expiry_time should be seconds not timeval · 3d96208c
      Roberto Bergantinos Corpas authored
      When upcalling gssproxy, cache_head.expiry_time is set as a
      timeval, not seconds since boot. As such, RPC cache expiry
      logic will not clean expired objects created under
      auth.rpcsec.context cache.
      
      This has proven to cause kernel memory leaks on field. Using
      64 bit variants of getboottime/timespec
      
      Expiration times have worked this way since 2010's c5b29f88
      
       "sunrpc:
      use seconds since boot in expiry cache".  The gssproxy code introduced
      in 2012 added gss_proxy_save_rsc and introduced the bug.  That's a while
      for this to lurk, but it required a bit of an extreme case to make it
      obvious.
      Signed-off-by: default avatarRoberto Bergantinos Corpas <rbergant@redhat.com>
      Cc: stable@vger.kernel.org
      Fixes: 030d794b
      
       "SUNRPC: Use gssproxy upcall for server..."
      Tested-By: default avatarFrank Sorenson <sorenson@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      3d96208c
    • Chen Zhou's avatar
      nfsd: make nfsd_filecache_wq variable static · 50d0def9
      Chen Zhou authored
      
      
      Fix sparse warning:
      
      fs/nfsd/filecache.c:55:25: warning:
      	symbol 'nfsd_filecache_wq' was not declared. Should it be static?
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      50d0def9
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-avs' and 'pm-cpuidle' · 33200825
      Rafael J. Wysocki authored
      * pm-avs:
        power: avs: qcom-cpr: Avoid clang -Wsometimes-uninitialized in cpr_scale
        power: avs: qcom-cpr: add unspecified HAS_IOMEM dependency
        PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30
        power: avs: qcom-cpr: add a printout after the driver has been initialized
      
      * pm-cpuidle:
        cpuidle: Documentation: Clean up PM QoS description
        intel_idle: Introduce 'states_off' module parameter
        intel_idle: Introduce 'use_acpi' module parameter
      33200825
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.6-2020-02-05' of git://people.freedesktop.org/~agd5f/linux into drm-next · 9f880327
      Dave Airlie authored
      
      
      amd-drm-next-5.6-2020-02-05:
      
      amdgpu:
      - EDC fixes for Arcturus
      - GDDR6 memory training fixe
      - Fix for reading gfx clockgating registers while in GFXOFF state
      - i2c freq fixes
      - Misc display fixes
      - TLB invalidation fix when using semaphores
      - VCN 2.5 instancing fixes
      - Switch raven1 gfxoff to a blacklist
      - Coreboot workaround for KV/KB
      - Root cause dongle fixes for display and revert workaround
      - Enable GPU reset for renoir and navi
      - Navi overclocking fixes
      - Fix up confusing warnings in display clock validation on raven
      
      amdkfd:
      - SDMA fix
      
      radeon:
      - Misc LUT fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200206035458.3894-1-alexander.deucher@amd.com
      9f880327
    • Dave Airlie's avatar
      Merge branch 'linux-5.6' of git://github.com/skeggsb/linux into drm-next · a345cc0d
      Dave Airlie authored
      
      
      Just a couple of fixes to Volta/Turing modesetting on some systems.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Ben Skeggs <skeggsb@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ <CACAvsv7=eP+Ai1ouoMyYyo1xMF0pTQki=owYjJkS=NpvKQd1fg@mail.gmail.com
      a345cc0d
    • Dave Airlie's avatar
      Merge tag 'drm/tegra/for-5.6-rc1-fixes' of git://anongit.freedesktop.org/tegra/linux into drm-next · e139e8ae
      Dave Airlie authored
      
      
      drm/tegra: Fixes for v5.6-rc1
      
      These are a couple of quick fixes for regressions that were found during
      the first two weeks of the merge window.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thierry Reding <thierry.reding@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200206172753.2185390-1-thierry.reding@gmail.com
      e139e8ae
  3. 06 Feb, 2020 17 commits