1. 20 2月, 2019 4 次提交
    • M
      drm: change func to better detect wether swiotlb is needed · 913b2cb7
      Michael D Labriola 提交于
      This commit fixes DRM failures on Xen PV systems that were introduced in
      v4.17 by the following commits:
      
      82626363 drm: add func to get max iomem address v2
      fd5fd480 drm/amdgpu: only enable swiotlb alloc when need v2
      1bc3d3cc drm/radeon: only enable swiotlb path when need v2
      
      The introduction of ->need_swiotlb to the ttm_dma_populate() conditionals
      in the radeon and amdgpu device drivers causes Gnome to immediately crash
      on Xen PV systems, returning the user to the login screen.  The following
      kernel errors get logged:
      
      [   28.554259] radeon_dp_aux_transfer_native: 200 callbacks suppressed
      [   31.219821] radeon 0000:01:00.0: swiotlb buffer is full (sz: 2097152 bytes)
      [   31.220030] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (16384000, 2, 4096, -14)
      [   31.226109] radeon 0000:01:00.0: swiotlb buffer is full (sz: 2097152 bytes)
      [   31.226300] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (16384000, 2, 4096, -14)
      [   31.300734] gnome-shell[1935]: segfault at 88 ip 00007f39151cd904 sp 00007ffc97611ad8 error 4 in libmutter-cogl.so[7f3915178000+aa000]
      [   31.300745] Code: 5f c3 0f 1f 40 00 48 8b 47 78 48 8b 40 40 ff e0 66 0f 1f 44 00 00 48 8b 47 78 48 8b 40 48 ff e0 66 0f 1f 44 00 00 48 8b 47 78 <48> 8b 80 88 00 00 00 ff e0 0f 1f 00 48 8b 47 78 48 8b 40 68 ff e0
      [   38.193302] radeon_dp_aux_transfer_native: 116 callbacks suppressed
      [   40.009317] radeon 0000:01:00.0: swiotlb buffer is full (sz: 2097152 bytes)
      [   40.009488] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (16384000, 2, 4096, -14)
      [   40.015114] radeon 0000:01:00.0: swiotlb buffer is full (sz: 2097152 bytes)
      [   40.015297] [drm:radeon_gem_object_create [radeon]] *ERROR* Failed to allocate GEM object (16384000, 2, 4096, -14)
      [   40.028302] gnome-shell[2431]: segfault at 2dadf40 ip 0000000002dadf40 sp 00007ffcd24ea5f8 error 15
      [   40.028306] Code: 20 6e 31 00 00 00 00 00 00 00 00 37 e3 3d 2d 7f 00 00 80 f4 e6 3d 2d 7f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 c1 00 00 00 00 00 00 00 80 e1 d2 03 00 00
      
      This commit renames drm_get_max_iomem() to drm_need_swiotlb(), adds a
      xen_pv_domain() check to it, and moves the bit shifting comparison that
      always follows its usage into the function (simplifying the drm driver
      code).
      Signed-off-by: NMichael D Labriola <michael.d.labriola@gmail.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NChristian König <christian.koenig@amd.com>
      Link: https://patchwork.freedesktop.org/patch/286987/
      913b2cb7
    • U
      drm/i915: Attach colorspace property and enable modeset · 2f146b78
      Uma Shankar 提交于
      This patch attaches the colorspace connector property to the
      hdmi connector. Based on colorspace change, modeset will be
      triggered to switch to new colorspace.
      
      Based on colorspace property value create an infoframe
      with appropriate colorspace. This can be used to send an
      infoframe packet with proper colorspace value set which
      will help to enable wider color gamut like BT2020 on sink.
      
      This patch attaches and enables HDMI colorspace, DP will be
      taken care separately.
      
      v2: Merged the changes of creating infoframe as well to this
      patch as per Maarten's suggestion.
      
      v3: Addressed review comments from Shashank. Separated HDMI
      and DP colorspaces as suggested by Ville and Maarten.
      
      v4: Addressed Chris and Ville's review comments, and created a
      common colorspace property for DP and HDMI, filtered the list
      based on the colorspaces supported by the respective protocol
      standard. Handle the default case properly.
      
      v5: Merged the DP handling along with platform colorspace
      handling as per Shashank's comments.
      
      v6: Reverted to old design of exposing all colorspaces to
      userspace as per Ville's review comment
      
      v7: Fixed a checkpatch complaint, Addressed  Maarten' review
      comment, updated the RB from Maarten and Jani's ack.
      
      v8: Moved colorspace AVI Infoframe programming to drm core and
      removed from driver as per Ville's suggestion.
      
      v9: Added a check to only allow RGB colorpsaces to be set in
      infoframe though the colorspace property. Since there is no output
      csc property to control planar formats and it will be added later.
      Changes for RGB->YUV conversion inside driver without userspace
      knowledge is still supported. This is as per Ville's suggestion.
      
      v10: Fixed an error in if check.
      
      v11: Dropped the check for planar vs RGB and allow all the colorspaces.
      Onus will be on userspace to pick whatever pipe output it is able to
      drive.
      
      v12: Added Ville's RB.
      Signed-off-by: NUma Shankar <uma.shankar@intel.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1550596381-993-4-git-send-email-uma.shankar@intel.com
      2f146b78
    • U
      drm: Add colorspace info to AVI Infoframe · 0d68b887
      Uma Shankar 提交于
      This adds colorspace information to HDMI AVI infoframe.
      A helper function is added to program the same.
      
      v2: Moved this to drm core instead of i915 driver.
      
      v3: Exported the helper function.
      
      v4: Added separate HDMI specific macro as per CTA spec.
      This is separate from user exposed enum values. This is
      as per Ville's suggestion.
      
      v5: Appended BT709 and SMPTE 170M with YCC information as per Ville's
      review comment to be clear and not to be confused with RGB.
      
      v6: Added bit wise macro for various fields of colorimetry for easier
      understanding and review as per Ville's comments. Moved the same out of
      header file to avoid any namespace issues.
      
      v7: Undef some macros to avoid any namespace collision as suggested by
      Ville. Added Ville's RB.
      Signed-off-by: NUma Shankar <uma.shankar@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1550596381-993-3-git-send-email-uma.shankar@intel.com
      0d68b887
    • U
      drm: Add HDMI colorspace property · d2c6a405
      Uma Shankar 提交于
      Create a new connector property to program colorspace to sink
      devices. Modern sink devices support more than 1 type of
      colorspace like 601, 709, BT2020 etc. This helps to switch
      based on content type which is to be displayed. The decision
      lies with compositors as to in which scenarios, a particular
      colorspace will be picked.
      
      This will be helpful mostly to switch to higher gamut colorspaces
      like BT2020 when the media content is encoded as BT2020. Thereby
      giving a good visual experience to users.
      
      The expectation from userspace is that it should parse the EDID
      and get supported colorspaces. Use this property and switch to the
      one supported. Sink supported colorspaces should be retrieved by
      userspace from EDID and driver will not explicitly expose them.
      
      Basically the expectation from userspace is:
       - Set up CRTC DEGAMMA/CTM/GAMMA to convert to some sink
         colorspace
       - Set this new property to let the sink know what it
         converted the CRTC output to.
      
      v2: Addressed Maarten and Ville's review comments. Enhanced
      the colorspace enum to incorporate both HDMI and DP supported
      colorspaces. Also, added a default option for colorspace.
      
      v3: Removed Adobe references from enum definitions as per
      Ville, Hans Verkuil and Jonas Karlman suggestions. Changed
      Default to an unset state where driver will assign the colorspace
      is not chosen by user, suggested by Ville and Maarten. Addressed
      other misc review comments from Maarten. Split the changes to
      have separate colorspace property for DP and HDMI.
      
      v4: Addressed Chris and Ville's review comments, and created a
      common colorspace property for DP and HDMI, filtered the list
      based on the colorspaces supported by the respective protocol
      standard.
      
      v5: Made the property creation helper accept enum list based on
      platform capabilties as suggested by Shashank. Consolidated HDMI
      and DP property creation in the common helper.
      
      v6: Addressed Shashank's review comments.
      
      v7: Added defines instead of enum in uapi as per Brian Starkey's
      suggestion in order to go with string matching at userspace. Updated
      the commit message to add more details as well kernel docs.
      
      v8: Addressed Maarten's review comments.
      
      v9: Removed macro defines from uapi as per Brian Starkey and Daniel
      Stone's comments and moved to drm include file. Moved back to older
      design with exposing all HDMI colorspaces to userspace since infoframe
      capability is there even on legacy platforms, as per Ville's review
      comments.
      
      v10: Fixed sparse warnings, updated the RB from Maarten and Jani's ack.
      
      v11: Addressed Ville's review comments. Updated the Macro naming and
      added DCI-P3 colorspace as well, defined in CTA 861.G spec.
      
      v12: Appended BT709 and SMPTE 170M with YCC information as per Ville's
      review comment to be clear and not to be confused with RGB.
      
      v13: Reorder the colorspace macros.
      
      v14: Removed DP as of now, will be added later once full support is
      enabled, as per Ville's suggestion. Added Ville's RB.
      Signed-off-by: NUma Shankar <uma.shankar@intel.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Reviewed-by: NShashank Sharma <shashank.sharma@intel.com>
      Reviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/1550596381-993-2-git-send-email-uma.shankar@intel.com
      d2c6a405
  2. 19 2月, 2019 19 次提交
  3. 18 2月, 2019 10 次提交
    • D
      Merge v5.0-rc7 into drm-next · c06de561
      Dave Airlie 提交于
      Backmerging for nouveau and imx that needed some fixes for next pulls.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c06de561
    • L
      Linux 5.0-rc7 · a3b22b9f
      Linus Torvalds 提交于
      a3b22b9f
    • L
      Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 2fee036a
      Linus Torvalds 提交于
      Pull EFI fixes from Ingo Molnar:
       "This tree reverts a GICv3 commit (which was broken) and fixes it in
        another way, by adding a memblock build-time entries quirk for ARM64"
      
      * 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        efi/arm: Revert "Defer persistent reservations until after paging_init()"
        arm64, mm, efi: Account for GICv3 LPI tables in static memblock reserve table
      2fee036a
    • L
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 8d33316d
      Linus Torvalds 提交于
      Pull x86 fixes from Ingo Molnar:
       "Three changes:
      
         - An UV fix/quirk to pull UV BIOS calls into the efi_runtime_lock
           locking regime. (This done by aliasing __efi_uv_runtime_lock to
           efi_runtime_lock, which should make the quirk nature obvious and
           maintain the general policy that the EFI lock (name...) isn't
           exposed to drivers.)
      
         - Our version of MAGA: Make a.out Great Again.
      
         - Add a new Intel model name enumerator to an upstream header to help
           reduce dependencies going forward"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls
        x86/CPU: Add Icelake model number
        x86/a.out: Clear the dump structure initially
      8d33316d
    • L
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · dd6f29da
      Linus Torvalds 提交于
      Pull perf fixes from Ingo Molnar:
       "Two fixes on the kernel side: fix an over-eager condition that failed
        larger perf ring-buffer sizes, plus fix crashes in the Intel BTS code
        for a corner case, found by fuzzing"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/core: Fix impossible ring-buffer sizes warning
        perf/x86: Add check_period PMU callback
      dd6f29da
    • L
      Merge tag 'powerpc-5.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · c5f1ac5e
      Linus Torvalds 提交于
      Pull powerpc fix from Michael Ellerman:
       "Just one fix, for pgd/pud_present() which were broken on big endian
        since v4.20, leading to possible data corruption.
      
        Thanks to: Aneesh Kumar K.V., Erhard F., Jan Kara"
      
      * tag 'powerpc-5.0-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()
      c5f1ac5e
    • L
      Merge tag 'csky-for-linus-5.0-rc6' of git://github.com/c-sky/csky-linux · 0513ebc3
      Linus Torvalds 提交于
      Pull arch/csky fixes from Guo Ren:
       "Here are some fixup patches for 5.0-rc6"
      
      * tag 'csky-for-linus-5.0-rc6' of git://github.com/c-sky/csky-linux:
        csky: Fixup dead loop in show_stack
        csky: Fixup io-range page attribute for mmap("/dev/mem")
        csky: coding convention: Use task_stack_page
        csky: Fixup wrong pt_regs size
        csky: Fixup _PAGE_GLOBAL bit for 610 tlb entry
      0513ebc3
    • L
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · 1653c2f2
      Linus Torvalds 提交于
      Pull i2c fixes from Wolfram Sang:
       "Two more driver bugfixes"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: bcm2835: Clear current buffer pointers and counts after a transfer
        i2c: cadence: Fix the hold bit setting
      1653c2f2
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · b8c82b6a
      Linus Torvalds 提交于
      Pull input fixes from Dmitry Torokhov:
      
       - tweaks to Elan drivers (both PS/2 and I2C) to support new devices.
         Also revert of one of IDs as that device should really be driven by
         i2c-hid + hid-multitouch
      
       - a few drivers have been switched to set_brightness_blocking() call
         because they either were sleeping the their set_brightness()
         implementation or used workqueue but were not canceling it on unbind.
      
       - ps2-gpio and matrix_keypad needed to [properly] flush their works to
         avoid potential use-after-free on unbind.
      
       - other miscellaneous fixes.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK
        Input: st-keyscan - fix potential zalloc NULL dereference
        Input: apanel - switch to using brightness_set_blocking()
        Revert "Input: elan_i2c - add ACPI ID for touchpad in ASUS Aspire F5-573G"
        Input: qt2160 - switch to using brightness_set_blocking()
        Input: matrix_keypad - use flush_delayed_work()
        Input: ps2-gpio - flush TX work when closing port
        Input: cap11xx - switch to using set_brightness_blocking()
        Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780
        Input: bma150 - register input device after setting private data
        Input: pwm-vibra - stop regulator after disabling pwm, not before
        Input: pwm-vibra - prevent unbalanced regulator
        Input: snvs_pwrkey - allow selecting driver for i.MX 7D
      b8c82b6a
    • L
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm · ed0a0ec9
      Linus Torvalds 提交于
      Pull KVM fixes from Paolo Bonzini:
       "A somewhat bigger ARM update, and the usual smattering of x86 bug
        fixes"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
        kvm: vmx: Fix entry number check for add_atomic_switch_msr()
        KVM: x86: Recompute PID.ON when clearing PID.SN
        KVM: nVMX: Restore a preemption timer consistency check
        x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available
        KVM: arm64: Forbid kprobing of the VHE world-switch code
        KVM: arm64: Relax the restriction on using stage2 PUD huge mapping
        arm: KVM: Add missing kvm_stage2_has_pmd() helper
        KVM: arm/arm64: vgic: Always initialize the group of private IRQs
        arm/arm64: KVM: Don't panic on failure to properly reset system registers
        arm/arm64: KVM: Allow a VCPU to fully reset itself
        KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
        arm64: KVM: Don't generate UNDEF when LORegion feature is present
        KVM: arm/arm64: vgic: Make vgic_cpu->ap_list_lock a raw_spinlock
        KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
        KVM: arm/arm64: vgic: Make vgic_irq->irq_lock a raw_spinlock
      ed0a0ec9
  4. 17 2月, 2019 7 次提交
    • M
      Input: elan_i2c - add ACPI ID for touchpad in Lenovo V330-15ISK · 7ad222b3
      Mauro Ciancio 提交于
      This adds ELAN0617 to the ACPI table to support Elan touchpad found in
      Lenovo V330-15ISK.
      Signed-off-by: NMauro Ciancio <mauro@acadeu.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      7ad222b3
    • G
      Input: st-keyscan - fix potential zalloc NULL dereference · 2439d37e
      Gabriel Fernandez 提交于
      This patch fixes the following static checker warning:
      
      drivers/input/keyboard/st-keyscan.c:156 keyscan_probe()
      error: potential zalloc NULL dereference: 'keypad_data->input_dev'
      Reported-by: NDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: NGabriel Fernandez <gabriel.fernandez@st.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      2439d37e
    • D
      Input: apanel - switch to using brightness_set_blocking() · 1cd48dc5
      Dmitry Torokhov 提交于
      Now that LEDs core allows "blocking" flavor of "set brightness" method we
      can use it and get rid of private work item. As a bonus, we are no longer
      forgetting to cancel it when we unbind the driver.
      Reviewed-by: NSven Van Asbroeck <TheSven73@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      1cd48dc5
    • M
      powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present() · a5800762
      Michael Ellerman 提交于
      In v4.20 we changed our pgd/pud_present() to check for _PAGE_PRESENT
      rather than just checking that the value is non-zero, e.g.:
      
        static inline int pgd_present(pgd_t pgd)
        {
       -       return !pgd_none(pgd);
       +       return (pgd_raw(pgd) & cpu_to_be64(_PAGE_PRESENT));
        }
      
      Unfortunately this is broken on big endian, as the result of the
      bitwise & is truncated to int, which is always zero because
      _PAGE_PRESENT is 0x8000000000000000ul. This means pgd_present() and
      pud_present() are always false at compile time, and the compiler
      elides the subsequent code.
      
      Remarkably with that bug present we are still able to boot and run
      with few noticeable effects. However under some work loads we are able
      to trigger a warning in the ext4 code:
      
        WARNING: CPU: 11 PID: 29593 at fs/ext4/inode.c:3927 .ext4_set_page_dirty+0x70/0xb0
        CPU: 11 PID: 29593 Comm: debugedit Not tainted 4.20.0-rc1 #1
        ...
        NIP .ext4_set_page_dirty+0x70/0xb0
        LR  .set_page_dirty+0xa0/0x150
        Call Trace:
         .set_page_dirty+0xa0/0x150
         .unmap_page_range+0xbf0/0xe10
         .unmap_vmas+0x84/0x130
         .unmap_region+0xe8/0x190
         .__do_munmap+0x2f0/0x510
         .__vm_munmap+0x80/0x110
         .__se_sys_munmap+0x14/0x30
         system_call+0x5c/0x70
      
      The fix is simple, we need to convert the result of the bitwise & to
      an int before returning it.
      
      Thanks to Erhard, Jan Kara and Aneesh for help with debugging.
      
      Fixes: da7ad366 ("powerpc/mm/book3s: Update pmd_present to look at _PAGE_PRESENT bit")
      Cc: stable@vger.kernel.org # v4.20+
      Reported-by: NErhard F. <erhard_f@mailbox.org>
      Reviewed-by: NAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      a5800762
    • L
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 64c0133e
      Linus Torvalds 提交于
      Pull ARM SoC fixes from Arnd Bergmann:
       "This week is a much smaller update, containing fixes only for TI OMAP,
        NXP i.MX and Rockchips platforms:
      
        omap:
         - omap4 had problems with lost timer interrupts
         - another IRQ handling issue with OMAP5
         - A workaround for a regression in the pwm-omap-dmtimer driver
      
        NXP i.MX:
         - eMMC was broken on the new imx8mq-evk board
      
        Rockchip:
         - a fix for new dtc graph warnings and a regulator fix for rock64
         - USB support broke on rk3328-rock64"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
        arm64: dts: imx8mq: Fix boot from eMMC
        ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
        ARM: dts: Configure clock parent for pwm vibra
        bus: ti-sysc: Fix timer handling with drop pm_runtime_irq_safe()
        arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-rock64
        arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator
        ARM: OMAP5+: Fix inverted nirq pin interrupts with irq_set_type
        clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
        ARM: dts: rockchip: remove qos_cif1 from rk3188 power-domain
      64c0133e
    • L
      Merge tag 'nfsd-5.0-2' of git://linux-nfs.org/~bfields/linux · 88fe73cb
      Linus Torvalds 提交于
      Pull more nfsd fixes from Bruce Fields:
       "Two small fixes, one for crashes using nfs/krb5 with older enctypes,
        one that could prevent clients from reclaiming state after a kernel
        upgrade"
      
      * tag 'nfsd-5.0-2' of git://linux-nfs.org/~bfields/linux:
        sunrpc: fix 4 more call sites that were using stack memory with a scatterlist
        Revert "nfsd4: return default lease period"
      88fe73cb
    • L
      Merge tag 'nfs-for-5.0-4' of git://git.linux-nfs.org/projects/anna/linux-nfs · 55638c52
      Linus Torvalds 提交于
      Pull more NFS client fixes from Anna Schumaker:
       "Three fixes this time.
      
        Nicolas's is for xprtrdma completion vector allocation on single-core
        systems. Greg's adds an error check when allocating a debugfs dentry.
        And Ben's is an additional fix for nfs_page_async_flush() to prevent
        pages from accidentally getting truncated.
      
        Summary:
      
         - Make sure Send CQ is allocated on an existing compvec
      
         - Properly check debugfs dentry before using it
      
         - Don't use page_file_mapping() after removing a page"
      
      * tag 'nfs-for-5.0-4' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        NFS: Don't use page_file_mapping after removing the page
        rpc: properly check debugfs dentry before using it
        xprtrdma: Make sure Send CQ is allocated on an existing compvec
      55638c52