1. 12 Oct, 2019 2 commits
  2. 11 Oct, 2019 13 commits
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-5.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs · 1c0cc5f1
      Linus Torvalds authored
      Pull NFS client bugfixes from Anna Schumaker:
       "Stable bugfixes:
         - Fix O_DIRECT accounting of number of bytes read/written # v4.1+
      
        Other fixes:
         - Fix nfsi->nrequests count error on nfs_inode_remove_request()
         - Remove redundant mirror tracking in O_DIRECT
         - Fix leak of clp->cl_acceptor string
         - Fix race to sk_err after xs_error_report"
      
      * tag 'nfs-for-5.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        SUNRPC: fix race to sk_err after xs_error_report
        NFSv4: Fix leak of clp->cl_acceptor string
        NFS: Remove redundant mirror tracking in O_DIRECT
        NFS: Fix O_DIRECT accounting of number of bytes read/written
        nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
      1c0cc5f1
    • Linus Torvalds's avatar
      Merge tag '5.4-rc2-smb3' of git://git.samba.org/sfrench/cifs-2.6 · c6ad7c3c
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "Eight small SMB3 fixes, four for stable, and important fix for the
        recent regression introduced by filesystem timestamp range patches"
      
      * tag '5.4-rc2-smb3' of git://git.samba.org/sfrench/cifs-2.6:
        CIFS: Force reval dentry if LOOKUP_REVAL flag is set
        CIFS: Force revalidate inode when dentry is stale
        smb3: Fix regression in time handling
        smb3: remove noisy debug message and minor cleanup
        CIFS: Gracefully handle QueryInfo errors during open
        cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
        fs: cifs: mute -Wunused-const-variable message
        smb3: cleanup some recent endian errors spotted by updated sparse
      c6ad7c3c
    • Linus Torvalds's avatar
      Merge tag 'modules-for-v5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · c6f6ebd7
      Linus Torvalds authored
      Pull module fixes from Jessica Yu:
       "Code cleanups and kbuild/namespace related fixups from Masahiro.
      
        Most importantly, it fixes a namespace-related modpost issue for
        external module builds
      
         - Fix broken external module builds due to a modpost bug in
           read_dump(), where the namespace was not being strdup'd and
           sym->namespace would be set to bogus data.
      
         - Various namespace-related kbuild fixes and cleanups thanks to
           Masahiro Yamada"
      
      * tag 'modules-for-v5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
        doc: move namespaces.rst from kbuild/ to core-api/
        nsdeps: make generated patches independent of locale
        nsdeps: fix hashbang of scripts/nsdeps
        kbuild: fix build error of 'make nsdeps' in clean tree
        module: rename __kstrtab_ns_* to __kstrtabns_* to avoid symbol conflict
        modpost: fix broken sym->namespace for external module builds
        module: swap the order of symbol.namespace
        scripts: add_namespace: Fix coccicheck failed
      c6f6ebd7
    • Linus Torvalds's avatar
      Merge tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux · 56c642e2
      Linus Torvalds authored
      Pull Hyper-V fixes from Sasha Levin:
       "Two fixes from Dexuan Cui:
      
         - Fix a (harmless) warning when building vmbus without
           CONFIG_PM_SLEEP
      
         - Fix for a memory leak (and optimization) in the hyperv mouse code"
      
      * tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
        Drivers: hv: vmbus: Fix harmless building warnings without CONFIG_PM_SLEEP
        HID: hyperv: Use in-place iterator API in the channel callback
      56c642e2
    • Joe Perches's avatar
      Documentation/process: Add fallthrough pseudo-keyword · b9918bdc
      Joe Perches authored
      Describe the fallthrough pseudo-keyword.
      
      Convert the coding-style.rst example to the keyword style.
      Add description and links to deprecated.rst.
      
      Miguel Ojeda comments on the eventual [[fallthrough]] syntax:
       "Note that C17/C18 does not have [[fallthrough]].
      
        C++17 introduced it, as it is mentioned above. I would keep the
        __attribute__((fallthrough)) -> [[fallthrough]] change you did,
        though, since that is indeed the standard syntax (given the paragraph
        references C++17).
      
        I was told by Aaron Ballman (who is proposing them for C) that it is
        more or less likely that it becomes standardized in C2x. However, it
        is still not added to the draft (other attributes are already,
        though). See N2268 and N2269:
      
           http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2268.pdf (fallthrough)
           http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2269.pdf (attributes in general)"
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Acked-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b9918bdc
    • Joe Perches's avatar
      compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use · 294f69e6
      Joe Perches authored
      Reserve the pseudo keyword 'fallthrough' for the ability to convert the
      various case block /* fallthrough */ style comments to appear to be an
      actual reserved word with the same gcc case block missing fallthrough
      warning capability.
      
      All switch/case blocks now should end in one of:
      
      	break;
      	fallthrough;
      	goto <label>;
      	return [expression];
      	continue;
      
      In C mode, GCC supports the __fallthrough__ attribute since 7.1,
      the same time the warning and the comment parsing were introduced.
      
      fallthrough devolves to an empty "do {} while (0)" if the compiler
      version (any version less than gcc 7) does not support the attribute.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Suggested-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      294f69e6
    • Joe Perches's avatar
      net: sctp: Rename fallthrough label to unhandled · 48f9bcf9
      Joe Perches authored
      fallthrough will become a pseudo reserved keyword so this only use of
      fallthrough is better renamed to allow it.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      48f9bcf9
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2019-10-11' of git://anongit.freedesktop.org/drm/drm · 9892f9f6
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "The regular fixes pull for rc3. The i915 team found some fixes they
        (or I) missed for rc1, which is why this is a bit bigger than usual,
        otherwise there is a single amdgpu fix, some spi panel aliases, and a
        bridge fix.
      
        i915:
         - execlist access fixes
         - list deletion fix
         - CML display fix
         - HSW workaround extension to GT2
         - chicken bit whitelist
         - GGTT resume issue
         - SKL GPU hangs for Vulkan compute
      
        amdgpu:
         - memory leak fix
      
        panel:
         - spi aliases
      
        tc358767:
         - bridge artifacts fix"
      
      * tag 'drm-fixes-2019-10-11' of git://anongit.freedesktop.org/drm/drm: (22 commits)
        drm/bridge: tc358767: fix max_tu_symbol value
        drm/i915/gt: execlists->active is serialised by the tasklet
        drm/i915/execlists: Protect peeking at execlists->active
        drm/i915: Fixup preempt-to-busy vs reset of a virtual request
        drm/i915: Only enqueue already completed requests
        drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
        drm/i915/cml: Add second PCH ID for CMP
        drm/amdgpu: fix memory leak
        drm/panel: tpo-td043mtea1: Fix SPI alias
        drm/panel: tpo-td028ttec1: Fix SPI alias
        drm/panel: sony-acx565akm: Fix SPI alias
        drm/panel: nec-nl8048hl11: Fix SPI alias
        drm/panel: lg-lb035q02: Fix SPI alias
        drm/i915: Mark contents as dirty on a write fault
        drm/i915: Prevent bonded requests from overtaking each other on preemption
        drm/i915: Bump skl+ max plane width to 5k for linear/x-tiled
        drm/i915: Verify the engine after acquiring the active.lock
        drm/i915: Extend Haswell GT1 PSMI workaround to all
        drm/i915: Don't mix srcu tag and negative error codes
        drm/i915: Whitelist COMMON_SLICE_CHICKEN2
        ...
      9892f9f6
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20191010' of git://git.kernel.dk/linux-block · 297cbccc
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - Fix wbt performance regression introduced with the blk-rq-qos
         refactoring (Harshad)
      
       - Fix io_uring fileset removal inadvertently killing the workqueue (me)
      
       - Fix io_uring typo in linked command nonblock submission (Pavel)
      
       - Remove spurious io_uring wakeups on request free (Pavel)
      
       - Fix null_blk zoned command error return (Keith)
      
       - Don't use freezable workqueues for backing_dev, also means we can
         revert a previous libata hack (Mika)
      
       - Fix nbd sysfs mutex dropped too soon at removal time (Xiubo)
      
      * tag 'for-linus-20191010' of git://git.kernel.dk/linux-block:
        nbd: fix possible sysfs duplicate warning
        null_blk: Fix zoned command return code
        io_uring: only flush workqueues on fileset removal
        io_uring: remove wait loop spurious wakeups
        blk-wbt: fix performance regression in wbt scale_up/scale_down
        Revert "libata, freezer: avoid block device removal while system is frozen"
        bdi: Do not use freezable workqueue
        io_uring: fix reversed nonblock flag for link submission
      297cbccc
    • Christian Borntraeger's avatar
      s390/uaccess: avoid (false positive) compiler warnings · 062795fc
      Christian Borntraeger authored
      Depending on inlining decisions by the compiler, __get/put_user_fn
      might become out of line. Then the compiler is no longer able to tell
      that size can only be 1,2,4 or 8 due to the check in __get/put_user
      resulting in false positives like
      
      ./arch/s390/include/asm/uaccess.h: In function ‘__put_user_fn’:
      ./arch/s390/include/asm/uaccess.h:113:9: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        113 |  return rc;
            |         ^~
      ./arch/s390/include/asm/uaccess.h: In function ‘__get_user_fn’:
      ./arch/s390/include/asm/uaccess.h:143:9: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
        143 |  return rc;
            |         ^~
      
      These functions are supposed to be always inlined. Mark it as such.
      Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
      062795fc
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2019-10-10' of... · 4adbcff2
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2019-10-10' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix CML display by adding a missing ID.
      - Drop redundant list_del_init
      - Only enqueue already completed requests to avoid races
      - Fixup preempt-to-busy vs reset of a virtual request
      - Protect peeking at execlists->active
      - execlists->active is serialised by the tasklet
      
      drm-intel-next-fixes-2019-09-19:
      - Extend old HSW workaround to fix some GPU hangs on Haswell GT2
      - Fix return error code on GEM mmap.
      - White list a chicken bit register for push constants legacy mode on Mesa
      - Fix resume issue related to GGTT restore
      - Remove incorrect BUG_ON on execlist's schedule-out
      - Fix unrecoverable GPU hangs with Vulkan compute workloads on SKL
      
      drm-intel-next-fixes-2019-09-26:
      - Fix concurrence on cases where requests where getting retired at same time as resubmitted to HW
      - Fix gen9 display resolutions by setting the right max plane width
      - Fix GPU hang on preemption
      - Mark contents as dirty on a write fault. This was breaking cursor sprite with dumb buffers.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191010143039.GA15313@intel.com
      4adbcff2
    • Dave Airlie's avatar
      Merge tag 'drm-fixes-5.4-2019-10-09' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 46fe219d
      Dave Airlie authored
      drm-fixes-5.4-2019-10-09:
      
      amdgpu:
      - fix memory leak in bo_list ioctl error path
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexdeucher@gmail.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191010031023.23359-1-alexander.deucher@amd.com
      46fe219d
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2019-10-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 437c5a15
      Dave Airlie authored
      Short summary of fixes pull (less than what git shortlog provides):
      - SPI Aliases fixes for panels
      - One fix for the tc358767 bridge dealing with visual artifacts
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191010105137.j6juxht5dsobgxph@gilmour
      437c5a15
  3. 10 Oct, 2019 17 commits
  4. 09 Oct, 2019 8 commits