1. 03 Jul, 2020 19 commits
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.8-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 0c7d7d1f
      Linus Torvalds authored
      Pull xfs fix from Darrick Wong:
       "Fix a use-after-free bug when the fs shuts down"
      
      * tag 'xfs-5.8-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: fix use-after-free on CIL context on shutdown
      0c7d7d1f
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.8-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 7fec3ce5
      Linus Torvalds authored
      Pull PCI fix from Bjorn Helgaas:
       "Fix a pcie_find_root_port() simplification that broke power management
        because it didn't handle the edge case of finding the Root Port of a
        Root Port itself (Mika Westerberg)""
      
      * tag 'pci-v5.8-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        PCI: Make pcie_find_root_port() work for Root Ports
      7fec3ce5
    • Linus Torvalds's avatar
      Merge tag 'acpi-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 718b7a57
      Linus Torvalds authored
      Pull ACPI updates from Rafael Wysocki:
       "Add a new device ID for Intel Tiger Lake to the DPTF battery
        participant driver (Srinivas Pandruvada) and fix the Tiger Lake fan
        device ID (Sumeet Pawnikar)"
      
      * tag 'acpi-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI: fan: Fix Tiger Lake ACPI device ID
        ACPI: DPTF: Add battery participant for TigerLake
      718b7a57
    • Linus Torvalds's avatar
      Merge tag 'gfs2-v5.8-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · bf2d6369
      Linus Torvalds authored
      Pull gfs2 fixes from Andreas Gruenbacher:
       "Various gfs2 fixes"
      
      * tag 'gfs2-v5.8-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: The freeze glock should never be frozen
        gfs2: When freezing gfs2, use GL_EXACT and not GL_NOCACHE
        gfs2: read-only mounts should grab the sd_freeze_gl glock
        gfs2: freeze should work on read-only mounts
        gfs2: eliminate GIF_ORDERED in favor of list_empty
        gfs2: Don't sleep during glock hash walk
        gfs2: fix trans slab error when withdraw occurs inside log_flush
        gfs2: Don't return NULL from gfs2_inode_lookup
      bf2d6369
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2020-07-03' of git://anongit.freedesktop.org/drm/drm · 1d428714
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Pretty usual rc4 pull: two usual amdgpu, i915 pulls, and some misc arm
        driver fixes.
      
        The bigger bit is including the asm sources for some GPU shaders that
        were contained in the i915 driver, otherwise it's pretty much business
        as usual.
      
        dma-buf:
         - fix a use-after-free bug
      
        amdgpu:
         - Fix for vega20 boards without RAS support
         - DC bandwidth revalidation fix
         - Fix Renoir vram info fetching
         - Fix hwmon freq printing
      
        i915:
         - GVT fixes
            - Two missed MMIO handler fixes for SKL/CFL
            - Fix mask register bits check
            - Fix one lockdep error for debugfs entry access
         - Include asm sources for render cache clear batches
      
        msm:
         - memleak fix
         - display block fix
         - address space fixes
      
        exynos:
         - error value and reference count fix
         - error print removal
      
        sun4i:
         - remove HPD polling"
      
      * tag 'drm-fixes-2020-07-03' of git://anongit.freedesktop.org/drm/drm: (22 commits)
        drm/amdgpu: use %u rather than %d for sclk/mclk
        drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
        drm/amd/display: Only revalidate bandwidth on medium and fast updates
        drm: sun4i: hdmi: Remove extra HPD polling
        drm/i915: Include asm sources for {ivb, hsw}_clear_kernel.c
        drm/exynos: fix ref count leak in mic_pre_enable
        drm/exynos: Properly propagate return value in drm_iommu_attach_device()
        drm/exynos: Remove dev_err() on platform_get_irq() failure
        drm/amd/powerplay: Fix NULL dereference in lock_bus() on Vega20 w/o RAS
        dma-buf: Move dma_buf_release() from fops to dentry_ops
        drm/msm: Fix up the rest of the messed up address sizes
        drm/msm: Fix setup of a6xx create_address_space.
        drm/msm: Fix address space size after refactor.
        drm/i915/gvt: Use GFP_ATOMIC instead of GFP_KERNEL in atomic context
        drm/i915/gvt: Fix incorrect check of enabled bits in mask registers
        drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
        drm/i915/gvt: Add one missing MMIO handler for D_SKL_PLUS
        drm/msm: Fix 0xfffflub in "Refactor address space initialization"
        drm/msm/dpu: allow initialization of encoder locks during encoder init
        drm/msm/dpu: fix error return code in dpu_encoder_init
        ...
      1d428714
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-fan' · ef0c44c3
      Rafael J. Wysocki authored
      * acpi-fan:
        ACPI: fan: Fix Tiger Lake ACPI device ID
      ef0c44c3
    • Bob Peterson's avatar
      gfs2: The freeze glock should never be frozen · c860f8ff
      Bob Peterson authored
      Before this patch, some gfs2 code locked the freeze glock with LM_FLAG_NOEXP
      (Do not freeze) flag, and some did not. We never want to freeze the freeze
      glock, so this patch makes it consistently use LM_FLAG_NOEXP always.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      c860f8ff
    • Bob Peterson's avatar
      gfs2: When freezing gfs2, use GL_EXACT and not GL_NOCACHE · 623ba664
      Bob Peterson authored
      Before this patch, the freeze code in gfs2 specified GL_NOCACHE in
      several places. That's wrong because we always want to know the state
      of whether the file system is frozen.
      
      There was also a problem with freeze/thaw transitioning the glock from
      frozen (EX) to thawed (SH) because gfs2 will normally grant glocks in EX
      to processes that request it in SH mode, unless GL_EXACT is specified.
      Therefore, the freeze/thaw code, which tried to reacquire the glock in
      SH mode would get the glock in EX mode, and miss the transition from EX
      to SH. That made it think the thaw had completed normally, but since the
      glock was still cached in EX, other nodes could not freeze again.
      
      This patch removes the GL_NOCACHE flag to allow the freeze glock to be
      cached. It also adds the GL_EXACT flag so the glock is fully transitioned
      from EX to SH, thereby allowing future freeze operations.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      623ba664
    • Bob Peterson's avatar
      gfs2: read-only mounts should grab the sd_freeze_gl glock · b780cc61
      Bob Peterson authored
      Before this patch, only read-write mounts would grab the freeze
      glock in read-only mode, as part of gfs2_make_fs_rw. So the freeze
      glock was never initialized. That meant requests to freeze, which
      request the glock in EX, were granted without any state transition.
      That meant you could mount a gfs2 file system, which is currently
      frozen on a different cluster node, in read-only mode.
      
      This patch makes read-only mounts lock the freeze glock in SH mode,
      which will block for file systems that are frozen on another node.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      b780cc61
    • Bob Peterson's avatar
      gfs2: freeze should work on read-only mounts · 541656d3
      Bob Peterson authored
      Before this patch, function freeze_go_sync, called when promoting
      the freeze glock, was testing for the SDF_JOURNAL_LIVE superblock flag.
      That's only set for read-write mounts. Read-only mounts don't use a
      journal, so the bit is never set, so the freeze never happened.
      
      This patch removes the check for SDF_JOURNAL_LIVE for freeze requests
      but still checks it when deciding whether to flush a journal.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      541656d3
    • Bob Peterson's avatar
      gfs2: eliminate GIF_ORDERED in favor of list_empty · 7542486b
      Bob Peterson authored
      In several places, we used the GIF_ORDERED inode flag to determine
      if an inode was on the ordered writes list. However, since we always
      held the sd_ordered_lock spin_lock during the manipulation, we can
      just as easily check list_empty(&ip->i_ordered) instead.
      This allows us to keep more than one ordered writes list to make
      journal writing improvements.
      
      This patch eliminates GIF_ORDERED in favor of checking list_empty.
      Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
      7542486b
    • Linus Torvalds's avatar
      Merge tag 'm68knommu-for-v5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · cdd3bb54
      Linus Torvalds authored
      Pull m68knommu mm fixes from Greg Ungerer:
       "Two critical mm related fixes that affect booting of m68k/ColdFire
        devices.
      
        Both fix problems caused by recent system init memblock changes"
      
      * tag 'm68knommu-for-v5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68k: mm: fix node memblock init
        m68k: nommu: register start of the memory with memblock
      cdd3bb54
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 684c8ccc
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
      
       - Sync dtc to upstream to pick up fixes for I2C bus checks and quiet
         warnings
      
       - Various fixes for DT binding check warnings
      
       - A couple of build fixes/improvements for binding checks
      
       - ReST formatting improvements for writing-schema.rst
      
       - Document reference fixes
      
      * tag 'devicetree-fixes-for-5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        dt-bindings: clock: imx: Fix e-mail address
        dt-bindings: thermal: k3: Fix the reg property
        dt-bindings: thermal: Remove soc unit address
        dt-bindings: display: arm: versatile: Pass the sysreg unit name
        dt-bindings: usb: aspeed: Remove the leading zeroes
        dt-bindings: copy process-schema-examples.yaml to process-schema.yaml
        dt-bindings: do not build processed-schema.yaml for 'make dt_binding_check'
        dt-bindings: fix error in 'make clean' after 'make dt_binding_check'
        dt-bindings: mailbox: zynqmp_ipi: fix unit address
        dt-bindings: bus: uniphier-system-bus: fix warning in example
        scripts/dtc: Update to upstream version v1.6.0-11-g9d7888cbf19c
        doc: devicetree: bindings: fix spelling mistake
        docs: dt: minor adjustments at writing-schema.rst
        dt: fix reference to olpc,xo1.75-ec.txt
        dt: Fix broken references to renamed docs
        dt: fix broken links due to txt->yaml renames
        dt: update a reference for reneases pcar file renamed to yaml
      684c8ccc
    • Linus Torvalds's avatar
      Merge tag 'for-linus-2020-07-02' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 45564bcd
      Linus Torvalds authored
      Pull data race annotation from Christian Brauner:
       "This contains an annotation patch for a data race in copy_process()
        reported by KCSAN when reading and writing nr_threads.
      
        The data race is intentional and benign. This is obvious from the
        comment above the relevant code and based on general consensus when
        discussing this issue. So simply using data_race() to annotate this as
        an intentional race seems the best option"
      
      * tag 'for-linus-2020-07-02' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
        fork: annotate data race in copy_process()
      45564bcd
    • Linus Torvalds's avatar
      Merge tag 'tpmdd-next-v5.8-rc4' of git://git.infradead.org/users/jjs/linux-tpmdd · 0c7415c3
      Linus Torvalds authored
      Pull tpm fixes from Jarkko Sakkinen:
       "These are just fixes for bugs found lately.
      
        All of them are small scale things here and there, and all of them are
        for previous kernel releases (the oldest appeared in v2.6.17)"
      
      * tag 'tpmdd-next-v5.8-rc4' of git://git.infradead.org/users/jjs/linux-tpmdd:
        tpm_tis: Remove the HID IFX0102
        tpm_tis_spi: Prefer async probe
        tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributes
        tpm/st33zp24: fix spelling mistake "drescription" -> "description"
        tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
        tpm_tis_spi: Don't send anything during flow control
        tpm: Fix TIS locality timeout problems
      0c7415c3
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-fixes-5.8-rc4' of... · 0dce8845
      Linus Torvalds authored
      Merge tag 'linux-kselftest-fixes-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kselftest fixes from Shuah Khan:
       "tpm test fixes from Jarkko Sakkinen"
      
      * tag 'linux-kselftest-fixes-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests: tpm: Use /bin/sh instead of /bin/bash
        selftests: tpm: Use 'test -e' instead of 'test -f'
        Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"
      0dce8845
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-fixes-5.8-rc4' of... · 55844741
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-fixes-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull kunit fixes from Shuah Khan
       "Fixes for build and run-times failures.
      
        Also includes troubleshooting tips updates to kunit user
        documentation"
      
      * tag 'linux-kselftest-kunit-fixes-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        Documentation: kunit: Add some troubleshooting tips to the FAQ
        kunit: kunit_tool: Fix invalid result when build fails
        kunit: show error if kunit results are not present
        kunit: kunit_config: Fix parsing of CONFIG options with space
      55844741
    • Linus Torvalds's avatar
      Merge tag 'nfsd-5.8-1' of git://linux-nfs.org/~bfields/linux · 083176c8
      Linus Torvalds authored
      Pull nfsd fixes from Bruce Fields:
       "Fixes for a umask bug on exported filesystems lacking ACL support, a
        leak and a module unloading bug in the /proc/fs/nfsd/clients/ code,
        and a compile warning"
      
      * tag 'nfsd-5.8-1' of git://linux-nfs.org/~bfields/linux:
        SUNRPC: Add missing definition of ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE
        nfsd: fix nfsdfs inode reference count leak
        nfsd4: fix nfsdfs reference count loop
        nfsd: apply umask on fs without ACL support
      083176c8
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2020-07-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · 1298a549
      Dave Airlie authored
       * dma-buf: fix a use-after-free bug
      
       * sun4i: remove HPD polling
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200702075143.GA25040@linux-uq9g
      1298a549
  2. 02 Jul, 2020 11 commits
  3. 01 Jul, 2020 8 commits
  4. 30 Jun, 2020 2 commits