Linux 4.9.7
Greg KH
maintainerI'm announcing the release of the 4.9.7 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/arc/include/asm/delay.h | 4 arch/arc/kernel/unaligned.c | 3 arch/parisc/include/asm/bitops.h | 8 + arch/parisc/include/uapi/asm/bitsperlong.h | 2 arch/parisc/include/uapi/asm/swab.h | 5 arch/s390/kernel/ptrace.c | 8 + arch/s390/mm/pgtable.c | 7 - arch/tile/kernel/ptrace.c | 2 arch/x86/platform/mellanox/mlx-platform.c | 2 drivers/base/memory.c | 4 drivers/gpu/drm/drm_atomic_helper.c | 2 drivers/gpu/drm/drm_modes.c | 7 + drivers/gpu/drm/drm_probe_helper.c | 12 +- drivers/gpu/drm/i915/i915_drv.c | 2 drivers/gpu/drm/i915/i915_gem_evict.c | 1 drivers/gpu/drm/i915/intel_crt.c | 9 - drivers/gpu/drm/i915/intel_display.c | 14 ++ drivers/gpu/drm/i915/intel_fbdev.c | 3 drivers/gpu/drm/i915/intel_lrc.c | 3 drivers/gpu/drm/i915/intel_ringbuffer.c | 8 - drivers/gpu/drm/radeon/radeon_drv.c | 7 - drivers/gpu/drm/vc4/vc4_crtc.c | 2 drivers/gpu/drm/vc4/vc4_gem.c | 4 drivers/gpu/drm/vc4/vc4_render_cl.c | 2 drivers/infiniband/core/cma.c | 3 drivers/infiniband/core/umem.c | 2 drivers/infiniband/hw/cxgb4/device.c | 9 + drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 18 +++ drivers/infiniband/hw/cxgb4/provider.c | 20 ++- drivers/infiniband/hw/cxgb4/qp.c | 35 ++++-- drivers/infiniband/sw/rxe/rxe_net.c | 2 drivers/infiniband/sw/rxe/rxe_qp.c | 3 drivers/infiniband/ulp/iser/iscsi_iser.c | 7 - drivers/infiniband/ulp/srp/ib_srp.c | 15 ++ drivers/isdn/hardware/eicon/message.c | 3 drivers/media/i2c/Kconfig | 1 drivers/media/i2c/tvp5150.c | 56 ++++++--- drivers/media/i2c/tvp5150_reg.h | 9 + drivers/media/usb/dvb-usb/pctv452e.c | 133 ++++++++++++----------- drivers/net/can/c_can/c_can_pci.c | 1 drivers/net/can/ti_hecc.c | 16 ++ drivers/pinctrl/intel/pinctrl-baytrail.c | 28 ++-- drivers/pinctrl/intel/pinctrl-broxton.c | 2 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 2 drivers/platform/x86/intel_mid_powerbtn.c | 2 drivers/video/fbdev/core/fbcmap.c | 26 ++-- drivers/virtio/virtio_mmio.c | 20 +++ drivers/virtio/virtio_ring.c | 7 + fs/btrfs/inode.c | 8 - fs/nfs/nfs4proc.c | 4 fs/xfs/xfs_qm.c | 3 include/linux/memory_hotplug.h | 4 include/linux/mmzone.h | 6 - include/linux/nfs4.h | 3 include/linux/sunrpc/clnt.h | 1 include/uapi/rdma/cxgb3-abi.h | 2 kernel/events/core.c | 58 +++++++++- kernel/sysctl.c | 1 kernel/ucount.c | 14 +- mm/huge_memory.c | 18 ++- mm/memcontrol.c | 4 mm/memory_hotplug.c | 28 ++-- mm/mempolicy.c | 2 mm/page_alloc.c | 68 ++++++++--- net/sunrpc/clnt.c | 5 net/sunrpc/sunrpc_syms.c | 1 67 files changed, 534 insertions(+), 239 deletions(-)
Alex Deucher (1):
Revert "drm/radeon: always apply pci shutdown callbacks"
Ander Conselvan de Oliveira (4):
drm/i915: Don't leak edid in intel_crt_detect_ddc() drm/i915: Don't init hpd polling for vlv and chv from runtime_suspend() drm/i915: Fix calculation of rotated x and y offsets for planar formats drm/i915: Check for NULL atomic state in intel_crtc_disable_noatomic()
Andy Shevchenko (2):
pinctrl: baytrail: Rectify debounce support platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
Arnd Bergmann (2):
ISDN: eicon: silence misleading array-bounds warning
s5k4ecgx: select CRC32 helper
Benjamin Coddington (1):
NFSv4.0: always send mode in SETATTR after EXCLUSIVE4
Brian Foster (1):
xfs: prevent quotacheck from overloading inode lru
Chris Wilson (1):
drm/i915: Clear ret before unbinding in i915_gem_evict_something()
Christian Borntraeger (1):
s390/mm: Fix cmma unused transfer from pgste into pte
Chuck Lever (1):
nfs: Don't increment lock sequence ID after NFS4ERR_MOVED
Clint Taylor (1):
drm/i915: prevent crash with .disable_display parameter
Dan Carpenter (2):
drm/vc4: fix a bounds check
platform/x86: mlx-platform: free first dev on error
Dave Martin (1):
tile/ptrace: Preserve previous registers for short regset write
David Rientjes (1):
mm, memcg: do not retry precharge charges
Einar Jón (1):
can: c_can_pci: fix null-pointer-deref in c_can_start() - set device pointer
Eric Anholt (3):
drm/vc4: Fix memory leak of the CRTC state.
drm/vc4: Fix an integer overflow in temporary allocation layout. drm/vc4: Return -EINVAL on the overflow checks failing.
Eric Dumazet (1):
sysctl: fix proc_doulongvec_ms_jiffies_minmax()
Francisco Jerez (1):
drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround.
Greg Kroah-Hartman (1):
Linux 4.9.7
Helge Deller (1):
parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header
Israel Rukshin (2):
IB/srp: fix mr allocation when the device supports sg gaps IB/srp: fix invalid indirect_sg_entries parameter value
Jack Morgenstein (1):
RDMA/cma: Fix unknown symbol when CONFIG_IPV6 is not enabled
Kees Cook (1):
fbdev: color map copying bounds checking
Kenneth Lee (1):
IB/umem: Release pid in error and ODP flow
Keno Fischer (1):
mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
Kinglong Mee (1):
SUNRPC: cleanup ida information when removing sunrpc module
Laurent Pinchart (3):
v4l: tvp5150: Reset device at probe time, not in get/set format handlers
v4l: tvp5150: Fix comment regarding output pin muxing
v4l: tvp5150: Don't override output pinmuxing at stream on/off time
Lucas Stach (1):
drm/atomic: clear out fence when duplicating state
Maor Gottlieb (1):
IB/rxe: Fix rxe dev insertion to rxe_dev_list
Martin Schwidefsky (1):
s390/ptrace: Preserve previous registers for short regset write
Masahiro Yamada (1):
pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20
Max Gurtovoy (1):
IB/iser: Fix sg_tablesize calculation
Max Kellermann (1):
pctv452e: move buffer to heap, no mutex
Mika Westerberg (1):
pinctrl: broxton: Use correct PADCFGLOCK offset
Nicolas Iooss (1):
IB/cxgb3: fix misspelling in header guard
Nikolay Borisov (1):
userns: Make ucounts lock irq-safe
Omar Sandoval (3):
Btrfs: remove old tree_root case in btrfs_read_locked_inode()
Btrfs: disable xattr operations on subvolume directories
Btrfs: remove ->{get, set}_acl() from btrfs_dir_ro_inode_operations
Peter Ujfalusi (1):
drm: Schedule the output_poll_work with 1s delay if we have delayed event
Peter Zijlstra (1):
perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
Robin Murphy (1):
virtio_mmio: Set DMA masks appropriately
Steve Wise (1):
iw_cxgb4: free EQ queue memory on last deref
Takashi Iwai (1):
drm: Fix broken VT switch with video=1366x768 option
Trond Myklebust (1):
NFSv4.1: Fix a deadlock in layoutget
Ville Syrjälä (1):
drm/i915: Ignore bogus plane coordinates on SKL when the plane is not visible
Vineet Gupta (2):
ARC: udelay: fix inline assembler by adding LP_COUNT to clobber list
ARC: [arcompact] handle unaligned access delay slot corner case
Vlastimil Babka (5):
mm/mempolicy.c: do not put mempolicy before using its nodemask mm, page_alloc: fix check for NULL preferred_zone
mm, page_alloc: fix fast-path race with cpuset update or removal mm, page_alloc: move cpuset seqcount checking to slowpath mm, page_alloc: fix premature OOM when racing with cpuset mems update
Will Deacon (1):
vring: Force use of DMA API for ARM-based systems with legacy devices
Yasuaki Ishimatsu (1):
memory_hotplug: make zone_can_shift() return a boolean value
Yegor Yefremov (1):
can: ti_hecc: add missing prepare and unprepare of the clock
Yonatan Cohen (1):
IB/rxe: Prevent from completer to operate on non valid QP
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 6 +SUBLEVEL = 7 EXTRAVERSION = NAME = Roaring Lionus
arch/arc/include/asm/delay.h +3 -1
@@ -26,7 +26,9 @@ static inline void __delay(unsigned long loops) " lp 1f \n" " nop \n" "1: \n" - : : "r"(loops)); + : + : "r"(loops) + : "lp_count"); }extern void __bad_udelay (void );
arch/arc/kernel/unaligned.c +2 -1
@@ -241,8 +241,9 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs,if (state.fault) goto fault; +/* clear any remanants of delay slot */ if (delay_mode (regs)) { - regs->ret = regs->bta; + regs->ret = regs->bta ~1U; regs->status32 &= ~STATUS_DE_MASK ; }else { regs->ret += state.instr_len;
arch/parisc/include/asm/bitops.h +7 -1
@@ -6,7 +6,7 @@#endif #include <linux/compiler.h> -#include <asm/types.h> /* for BITS_PER_LONG/SHIFT_PER_LONG */ +#include <asm/types.h> #include <asm/byteorder.h> #include <asm/barrier.h> #include <linux/atomic.h>
@@ -17,6 +17,12 @@* to include/asm-i386/bitops.h or kerneldoc */ +#if __BITS_PER_LONG ==64 +#define SHIFT_PER_LONG 6 +#else +#define SHIFT_PER_LONG 5 +#endif +#define CHOP_SHIFTCOUNT (x) (((unsigned long) (x)) & (BITS_PER_LONG - 1))
arch/parisc/include/uapi/asm/bitsperlong.h +0 -2
@@ -3,10 +3,8 @@#if defined(__LP64__)#define __BITS_PER_LONG 64 -#define SHIFT_PER_LONG 6#else #define __BITS_PER_LONG 32 -#define SHIFT_PER_LONG 5#endif #include <asm-generic/bitsperlong.h>
arch/parisc/include/uapi/asm/swab.h +3 -2
@@ -1,6 +1,7 @@#ifndef _PARISC_SWAB_H#define _PARISC_SWAB_H +#include <asm/bitsperlong.h> #include <linux/types.h> #include <linux/compiler.h>
@@ -38,7 +39,7 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 x) }#define __arch_swab32 __arch_swab32 -#if BITS_PER_LONG >32 +#if __BITS_PER_LONG >32 /* ** From "PA-RISC 2.0 Architecture", HP Professional Books. ** See Appendix I page 8 , "Endian Byte Swapping".
@@ -61,6 +62,6 @@ static inline __attribute_const__ __u64 __arch_swab64(__u64 x)return x; }#define __arch_swab64 __arch_swab64 -#endif /* BITS_PER_LONG > 32 */ +#endif /* __BITS_PER_LONG > 32 */ #endif /* _PARISC_SWAB_H */
arch/s390/kernel/ptrace.c +8 -0
@@ -963,6 +963,11 @@ static int s390_fpregs_set(struct task_struct *target,if (target == current)save_fpu_regs (); +if (MACHINE_HAS_VX ) +convert_vx_to_fp (fprs, target->thread.fpu.vxrs); +else +memcpy (&fprs, target->thread.fpu.fprs,sizeof (fprs)); +/* If setting FPC, must validate it first. */ if (count >0 && pos < offsetof(s390_fp_regs , fprs)) {u32 ufpc[2 ] = { target->thread.fpu.fpc,0 };
@@ -1067,6 +1072,9 @@ static int s390_vxrs_low_set(struct task_struct *target,if (target == current)save_fpu_regs (); +for (i =0 ; i < __NUM_VXRS_LOW; i++) + vxrs[i] = *((__u64 *)(target->thread.fpu.vxrs + i) +1 ); + rc =user_regset_copyin (&pos, &count, &kbuf, &ubuf, vxrs,0 ,-1 );if (rc ==0 )for (i =0 ; i < __NUM_VXRS_LOW; i++)
arch/s390/mm/pgtable.c +4 -3
@@ -202,7 +202,7 @@ static inline pgste_t ptep_xchg_start(struct mm_struct *mm,return pgste; } -static inline void ptep_xchg_commit (struct mm_struct *mm, +static inline pte_t ptep_xchg_commit (struct mm_struct *mm,unsigned long addr,pte_t *ptep,pgste_t pgste,pte_t old,pte_t new) {
@@ -220,6 +220,7 @@ static inline void ptep_xchg_commit(struct mm_struct *mm, }else { *ptep = new; } +return old; } pte_t ptep_xchg_direct(struct mm_struct *mm, unsigned long addr,
@@ -231,7 +232,7 @@ pte_t ptep_xchg_direct(struct mm_struct *mm, unsigned long addr,preempt_disable (); pgste =ptep_xchg_start (mm, addr, ptep); old =ptep_flush_direct (mm, addr, ptep); -ptep_xchg_commit (mm, addr, ptep, pgste, old, new); + old =ptep_xchg_commit (mm, addr, ptep, pgste, old, new);preempt_enable ();return old; }
@@ -246,7 +247,7 @@ pte_t ptep_xchg_lazy(struct mm_struct *mm, unsigned long addr,preempt_disable (); pgste =ptep_xchg_start (mm, addr, ptep); old =ptep_flush_lazy (mm, addr, ptep); -ptep_xchg_commit (mm, addr, ptep, pgste, old, new); + old =ptep_xchg_commit (mm, addr, ptep, pgste, old, new);preempt_enable ();return old; }
arch/tile/kernel/ptrace.c +1 -1
@@ -111,7 +111,7 @@ static int tile_gpr_set(struct task_struct *target, const void *kbuf, const void __user *ubuf) { int ret; -struct pt_regs regs; +struct pt_regs regs = *task_pt_regs (target); ret =user_regset_copyin (&pos, &count, &kbuf, &ubuf, ®s,0 ,sizeof (regs));
arch/x86/platform/mellanox/mlx-platform.c +1 -1
@@ -233,7 +233,7 @@ static int __init mlxplat_init(void)return 0 ; fail_platform_mux_register: -for (i--; i >0 ; i--) +while (--i >=0 )platform_device_unregister (priv->pdev_mux[i]);platform_device_unregister (priv->pdev_i2c); fail_alloc:
drivers/base/memory.c +2 -2
@@ -410,14 +410,14 @@ static ssize_t show_valid_zones(struct device *dev,sprintf (buf,"%s" , zone->name);/* MMOP_ONLINE_KERNEL */ - zone_shift =zone_can_shift (start_pfn, nr_pages,ZONE_NORMAL ); +zone_can_shift (start_pfn, nr_pages,ZONE_NORMAL , &zone_shift);if (zone_shift) {strcat (buf," " );strcat (buf, (zone + zone_shift)->name); }/* MMOP_ONLINE_MOVABLE */ - zone_shift =zone_can_shift (start_pfn, nr_pages,ZONE_MOVABLE ); +zone_can_shift (start_pfn, nr_pages,ZONE_MOVABLE , &zone_shift);if (zone_shift) {strcat (buf," " );strcat (buf, (zone + zone_shift)->name);
drivers/gpu/drm/drm_atomic_helper.c +2 -0
@@ -3115,6 +3115,8 @@ void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane,if (state->fb)drm_framebuffer_reference (state->fb); + + state->fence =NULL ; }EXPORT_SYMBOL (__drm_atomic_helper_plane_duplicate_state);
drivers/gpu/drm/drm_modes.c +7 -0
@@ -1462,6 +1462,13 @@ drm_mode_create_from_cmdline_mode(struct drm_device *dev,return NULL ; mode->type |=DRM_MODE_TYPE_USERDEF ; +/* fix up 1368x768: GFT/CVT can't express 1366 width due to alignment */ +if (cmd->xres ==1366 && mode->hdisplay ==1368 ) { + mode->hdisplay =1366 ; + mode->hsync_start--; + mode->hsync_end--; +drm_mode_set_name (mode); + }drm_mode_set_crtcinfo (mode,CRTC_INTERLACE_HALVE_V );return mode; }
drivers/gpu/drm/drm_probe_helper.c +11 -1
@@ -143,8 +143,18 @@ void drm_kms_helper_poll_enable_locked(struct drm_device *dev) }if (dev->mode_config.delayed_event) { +/* +* FIXME: +* +* Use short (1s) delay to handle the initial delayed event. +* This delay should not be needed, but Optimus/nouveau will +* fail in a mysterious way if the delayed event is handled as +* soon as possible like it is done in +* drm_helper_probe_single_connector_modes() in case the poll +* was enabled before. +*/ poll = true; - delay =0 ; + delay =HZ ; }if (poll)
drivers/gpu/drm/i915/i915_drv.c +1 -1
@@ -2372,7 +2372,7 @@ static int intel_runtime_suspend(struct device *kdev)assert_forcewakes_inactive (dev_priv); -if (!IS_VALLEYVIEW (dev_priv) || !IS_CHERRYVIEW (dev_priv)) +if (!IS_VALLEYVIEW (dev_priv) && !IS_CHERRYVIEW (dev_priv))intel_hpd_poll_init (dev_priv);DRM_DEBUG_KMS ("Device suspended\n" );
drivers/gpu/drm/i915/i915_gem_evict.c +1 -0
@@ -194,6 +194,7 @@ i915_gem_evict_something(struct i915_address_space *vm, }/* Unbinding will emit any required flushes */ + ret =0 ;while (!list_empty (&eviction_list)) { vma = list_first_entry(&eviction_list, struct i915_vma,
drivers/gpu/drm/i915/intel_crt.c +5 -4
@@ -499,6 +499,7 @@ static bool intel_crt_detect_ddc(struct drm_connector *connector)struct drm_i915_private *dev_priv =to_i915 (crt->base.base.dev);struct edid *edid;struct i2c_adapter *i2c; +bool ret = false;BUG_ON (crt->base.type !=INTEL_OUTPUT_ANALOG );
@@ -515,17 +516,17 @@ static bool intel_crt_detect_ddc(struct drm_connector *connector)*/ if (!is_digital) {DRM_DEBUG_KMS ("CRT detected via DDC:0x50 [EDID]\n" ); -return true; + ret = true; + }else { +DRM_DEBUG_KMS ("CRT not detected via DDC:0x50 [EDID reports a digital panel]\n" ); } - -DRM_DEBUG_KMS ("CRT not detected via DDC:0x50 [EDID reports a digital panel]\n" ); }else {DRM_DEBUG_KMS ("CRT not detected via DDC:0x50 [no valid EDID found]\n" ); }kfree (edid); -return false; +return ret; } static enum drm_connector_status
drivers/gpu/drm/i915/intel_display.c +12 -2
@@ -2587,8 +2587,9 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,* We only keep the x/y offsets, so push all of the * gtt offset into the x/y offsets. */ -_intel_adjust_tile_offset (&x, &y, tile_size, - tile_width, tile_height, pitch_tiles, +_intel_adjust_tile_offset (&x, &y, + tile_width, tile_height, + tile_size, pitch_tiles, gtt_offset_rotated * tile_size,0 ); gtt_offset_rotated += rot_info->plane[i].width * rot_info->plane[i].height;
@@ -2975,6 +2976,9 @@ int skl_check_plane_surface(struct intel_plane_state *plane_state)unsigned int rotation = plane_state->base.rotation;int ret; +if (!plane_state->base.visible) +return 0 ; +/* Rotate src coordinates to match rotated GTT view */ if (intel_rotation_90_or_270 (rotation)) drm_rect_rotate(&plane_state->base.src,
@@ -6865,6 +6869,12 @@ static void intel_crtc_disable_noatomic(struct drm_crtc *crtc) } state =drm_atomic_state_alloc (crtc->dev); +if (!state) { +DRM_DEBUG_KMS ("failed to disable [CRTC:%d:%s], out of memory" , + crtc->base.id, crtc->name); +return ; + } + state->acquire_ctx = crtc->dev->mode_config.acquire_ctx;/* Everything's already locked, -EDEADLK can't happen. */
drivers/gpu/drm/i915/intel_fbdev.c +3 -0
@@ -745,6 +745,9 @@ void intel_fbdev_initial_config_async(struct drm_device *dev) {struct intel_fbdev *ifbdev =to_i915 (dev)->fbdev; +if (!ifbdev) +return ; + ifbdev->cookie =async_schedule (intel_fbdev_initial_config, ifbdev); }
drivers/gpu/drm/i915/intel_lrc.c +1 -2
@@ -858,8 +858,7 @@ static inline int gen8_emit_flush_coherentl3_wa(struct intel_engine_cs *engine,* this batch updates GEN8_L3SQCREG4 with default value we need to * set this bit here to retain the WA during flush. */ -if (IS_SKL_REVID (dev_priv,0 ,SKL_REVID_E0 ) || -IS_KBL_REVID (dev_priv,0 ,KBL_REVID_E0 )) +if (IS_SKL_REVID (dev_priv,0 ,SKL_REVID_E0 )) l3sqc4_flush |=GEN8_LQSC_RO_PERF_DIS ; wa_ctx_emit(batch, index, (MI_STORE_REGISTER_MEM_GEN8 |
drivers/gpu/drm/i915/intel_ringbuffer.c +0 -8
@@ -1153,14 +1153,6 @@ static int kbl_init_workarounds(struct intel_engine_cs *engine)WA_SET_BIT_MASKED (HDC_CHICKEN0 ,HDC_FENCE_DEST_SLM_DISABLE ); -/* GEN8_L3SQCREG4 has a dependency with WA batch so any new changes -* involving this register should also be added to WA batch as required. -*/ -if (IS_KBL_REVID (dev_priv,0 ,KBL_REVID_E0 )) -/* WaDisableLSQCROPERFforOCL:kbl */ -I915_WRITE (GEN8_L3SQCREG4 ,I915_READ (GEN8_L3SQCREG4 ) | -GEN8_LQSC_RO_PERF_DIS ); -/* WaToEnableHwFixForPushConstHWBug:kbl */ if (IS_KBL_REVID (dev_priv,KBL_REVID_C0 ,REVID_FOREVER )) WA_SET_BIT_MASKED(COMMON_SLICE_CHICKEN2,
drivers/gpu/drm/radeon/radeon_drv.c +3 -4
@@ -366,11 +366,10 @@ static void radeon_pci_shutdown(struct pci_dev *pdev) {/* if we are running in a VM, make sure the device -* torn down properly on reboot/shutdown. -* unfortunately we can't detect certain -* hypervisors so just do this all the time. +* torn down properly on reboot/shutdown */ -radeon_pci_remove (pdev); +if (radeon_device_is_virtual ()) +radeon_pci_remove (pdev); }static int radeon_pmops_suspend (struct device *dev)
drivers/gpu/drm/vc4/vc4_crtc.c +1 -1
@@ -832,7 +832,7 @@ static void vc4_crtc_destroy_state(struct drm_crtc *crtc, } -__drm_atomic_helper_crtc_destroy_state (state); +drm_atomic_helper_crtc_destroy_state (crtc, state); }static const struct drm_crtc_funcs vc4_crtc_funcs = {
drivers/gpu/drm/vc4/vc4_gem.c +3 -1
@@ -594,12 +594,14 @@ vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec) args->shader_rec_count);struct vc4_bo *bo; -if (uniforms_offset < shader_rec_offset || +if (shader_rec_offset < args->bin_cl_size || + uniforms_offset < shader_rec_offset || exec_size < uniforms_offset || args->shader_rec_count >= (UINT_MAX /sizeof (struct vc4_shader_state )) || temp_size < exec_size) {DRM_ERROR ("overflow in exec arguments\n" ); + ret = -EINVAL ; goto fail; }
drivers/gpu/drm/vc4/vc4_render_cl.c +1 -1
@@ -461,7 +461,7 @@ static int vc4_rcl_surface_setup(struct vc4_exec_info *exec, } ret =vc4_full_res_bounds_check (exec, *obj, surf); -if (!ret) +if (ret)return ret;return 0 ;
drivers/infiniband/core/cma.c +2 -1
@@ -2768,7 +2768,8 @@ static int cma_bind_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,if (!src_addr || !src_addr->sa_family) { src_addr = (struct sockaddr *) &id->route.addr.src_addr; src_addr->sa_family = dst_addr->sa_family; -if (dst_addr->sa_family ==AF_INET6 ) { +if (IS_ENABLED (CONFIG_IPV6 ) && + dst_addr->sa_family ==AF_INET6 ) {struct sockaddr_in6 *src_addr6 = (struct sockaddr_in6 *) src_addr;struct sockaddr_in6 *dst_addr6 = (struct sockaddr_in6 *) dst_addr; src_addr6->sin6_scope_id = dst_addr6->sin6_scope_id;
drivers/infiniband/core/umem.c +2 -0
@@ -134,6 +134,7 @@ struct ib_umem *ib_umem_get(struct ib_ucontext *context, unsigned long addr, IB_ACCESS_REMOTE_ATOMIC | IB_ACCESS_MW_BIND));if (access &IB_ACCESS_ON_DEMAND ) { +put_pid (umem->pid); ret =ib_umem_odp_get (context, umem);if (ret) {kfree (umem);
@@ -149,6 +150,7 @@ struct ib_umem *ib_umem_get(struct ib_ucontext *context, unsigned long addr, page_list = (struct page **)__get_free_page (GFP_KERNEL );if (!page_list) { +put_pid (umem->pid);kfree (umem);return ERR_PTR (-ENOMEM ); }
drivers/infiniband/hw/cxgb4/device.c +9 -0
@@ -848,9 +848,17 @@ static int c4iw_rdev_open(struct c4iw_rdev *rdev) } } + rdev->free_workq =create_singlethread_workqueue ("iw_cxgb4_free" ); +if (!rdev->free_workq) { + err = -ENOMEM ; + goto err_free_status_page; + } + rdev->status_page->db_off =0 ;return 0 ; +err_free_status_page: +free_page ((unsigned long )rdev->status_page); destroy_ocqp_pool:c4iw_ocqp_pool_destroy (rdev); destroy_rqtpool:
@@ -864,6 +872,7 @@ static int c4iw_rdev_open(struct c4iw_rdev *rdev)static void c4iw_rdev_close (struct c4iw_rdev *rdev) { +destroy_workqueue (rdev->free_workq);kfree (rdev->wr_log);free_page ((unsigned long )rdev->status_page);c4iw_pblpool_destroy (rdev);
drivers/infiniband/hw/cxgb4/iw_cxgb4.h +18 -0
@@ -45,6 +45,7 @@#include <linux/kref.h> #include <linux/timer.h> #include <linux/io.h> +#include <linux/workqueue.h> #include <asm/byteorder.h>
@@ -107,6 +108,7 @@ struct c4iw_dev_ucontext {struct list_head qpids;struct list_head cqids;struct mutex lock; +struct kref kref; };enum c4iw_rdev_flags {
@@ -183,6 +185,7 @@ struct c4iw_rdev {atomic_t wr_log_idx;struct wr_log_entry *wr_log;int wr_log_size; +struct workqueue_struct *free_workq; };static inline int c4iw_fatal_error (struct c4iw_rdev *rdev)
@@ -482,6 +485,8 @@ struct c4iw_qp {int sq_sig_all;struct completion rq_drained;struct completion sq_drained; +struct work_struct free_work; +struct c4iw_ucontext *ucontext; };static inline struct c4iw_qp *to_c4iw_qp (struct ib_qp *ibqp)
@@ -495,6 +500,7 @@ struct c4iw_ucontext {u32 key;spinlock_t mmap_lock;struct list_head mmaps; +struct kref kref; };static inline struct c4iw_ucontext *to_c4iw_ucontext (struct ib_ucontext *c)
@@ -502,6 +508,18 @@ static inline struct c4iw_ucontext *to_c4iw_ucontext(struct ib_ucontext *c) return container_of(c, struct c4iw_ucontext, ibucontext); } +void _c4iw_free_ucontext (struct kref *kref); + +static inline void c4iw_put_ucontext (struct c4iw_ucontext *ucontext) +{ +kref_put (&ucontext->kref, _c4iw_free_ucontext); +} + +static inline void c4iw_get_ucontext (struct c4iw_ucontext *ucontext) +{ +kref_get (&ucontext->kref); +} +struct c4iw_mm_entry {struct list_head entry;u64 addr;
drivers/infiniband/hw/cxgb4/provider.c +16 -4
@@ -91,17 +91,28 @@ static int c4iw_process_mad(struct ib_device *ibdev, int mad_flags,return -ENOSYS ; } -static int c4iw_dealloc_ucontext (struct ib_ucontext *context) +void _c4iw_free_ucontext (struct kref *kref) { -struct c4iw_dev *rhp =to_c4iw_dev (context->device); -struct c4iw_ucontext *ucontext =to_c4iw_ucontext (context); +struct c4iw_ucontext *ucontext; +struct c4iw_dev *rhp;struct c4iw_mm_entry *mm, *tmp; -PDBG ("%s context %p\n" , __func__, context); + ucontext = container_of(kref, struct c4iw_ucontext, kref); + rhp =to_c4iw_dev (ucontext->ibucontext.device); + +PDBG ("%s ucontext %p\n" , __func__, ucontext);list_for_each_entry_safe (mm, tmp, &ucontext->mmaps, entry)kfree (mm);c4iw_release_dev_ucontext (&rhp->rdev, &ucontext->uctx);kfree (ucontext); +} + +static int c4iw_dealloc_ucontext (struct ib_ucontext *context) +{ +struct c4iw_ucontext *ucontext =to_c4iw_ucontext (context); + +PDBG ("%s context %p\n" , __func__, context); +c4iw_put_ucontext (ucontext);return 0 ; }
@@ -125,6 +136,7 @@ static struct ib_ucontext *c4iw_alloc_ucontext(struct ib_device *ibdev,c4iw_init_dev_ucontext (&rhp->rdev, &context->uctx);INIT_LIST_HEAD (&context->mmaps);spin_lock_init (&context->mmap_lock); +kref_init (&context->kref);if (udata->outlen <sizeof (uresp) -sizeof (uresp.reserved)) {if (!warned++)
drivers/infiniband/hw/cxgb4/qp.c +26 -9
@@ -714,13 +714,32 @@ static int build_inv_stag(union t4_wr *wqe, struct ib_send_wr *wr, u8 *len16)return 0 ; } -static void _free_qp (struct kref *kref) +static void free_qp_work (struct work_struct *work) +{ +struct c4iw_ucontext *ucontext; +struct c4iw_qp *qhp; +struct c4iw_dev *rhp; + + qhp = container_of(work, struct c4iw_qp, free_work); + ucontext = qhp->ucontext; + rhp = qhp->rhp; + +PDBG ("%s qhp %p ucontext %p\n" , __func__, qhp, ucontext); +destroy_qp (&rhp->rdev, &qhp->wq, + ucontext ? &ucontext->uctx : &rhp->rdev.uctx); + +if (ucontext) +c4iw_put_ucontext (ucontext); +kfree (qhp); +} + +static void queue_qp_free (struct kref *kref) {struct c4iw_qp *qhp; qhp = container_of(kref, struct c4iw_qp, kref);PDBG ("%s qhp %p\n" , __func__, qhp); -kfree (qhp); +queue_work (qhp->rhp->rdev.free_workq, &qhp->free_work); }void c4iw_qp_add_ref (struct ib_qp *qp)
@@ -732,7 +751,7 @@ void c4iw_qp_add_ref(struct ib_qp *qp)void c4iw_qp_rem_ref (struct ib_qp *qp) {PDBG ("%s ib_qp %p\n" , __func__, qp); -kref_put (&to_c4iw_qp (qp)->kref, _free_qp); +kref_put (&to_c4iw_qp (qp)->kref, queue_qp_free); }static void add_to_fc_list (struct list_head *head,struct list_head *entry)
@@ -1642,7 +1661,6 @@ int c4iw_destroy_qp(struct ib_qp *ib_qp)struct c4iw_dev *rhp;struct c4iw_qp *qhp;struct c4iw_qp_attributes attrs; -struct c4iw_ucontext *ucontext; qhp =to_c4iw_qp (ib_qp); rhp = qhp->rhp;
@@ -1662,11 +1680,6 @@ int c4iw_destroy_qp(struct ib_qp *ib_qp)spin_unlock_irq (&rhp->lock);free_ird (rhp, qhp->attr.max_ird); - ucontext = ib_qp->uobject ? -to_c4iw_ucontext (ib_qp->uobject->context) :NULL ; -destroy_qp (&rhp->rdev, &qhp->wq, - ucontext ? &ucontext->uctx : &rhp->rdev.uctx); -c4iw_qp_rem_ref (ib_qp);PDBG ("%s ib_qp %p qpid 0x%0x\n" , __func__, ib_qp, qhp->wq.sq.qid);
@@ -1767,6 +1780,7 @@ struct ib_qp *c4iw_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *attrs,mutex_init (&qhp->mutex);init_waitqueue_head (&qhp->wait);kref_init (&qhp->kref); +INIT_WORK (&qhp->free_work, free_qp_work); ret =insert_handle (rhp, &rhp->qpidr, qhp, qhp->wq.sq.qid);if (ret)
@@ -1853,6 +1867,9 @@ struct ib_qp *c4iw_create_qp(struct ib_pd *pd, struct ib_qp_init_attr *attrs, ma_sync_key_mm->len =PAGE_SIZE ;insert_mmap (ucontext, ma_sync_key_mm); } + +c4iw_get_ucontext (ucontext); + qhp->ucontext = ucontext; } qhp->ibqp.qp_num = qhp->wq.sq.qid;init_timer (&(qhp->timer));
drivers/infiniband/sw/rxe/rxe_net.c +1 -1
@@ -554,7 +554,7 @@ struct rxe_dev *rxe_net_add(struct net_device *ndev) }spin_lock_bh (&dev_list_lock); -list_add_tail (&rxe_dev_list, &rxe->list); +list_add_tail (&rxe->list, &rxe_dev_list);spin_unlock_bh (&dev_list_lock);return rxe; }
drivers/infiniband/sw/rxe/rxe_qp.c +1 -2
@@ -813,8 +813,7 @@ void rxe_qp_destroy(struct rxe_qp *qp)del_timer_sync (&qp->rnr_nak_timer);rxe_cleanup_task (&qp->req.task); -if (qp_type (qp) ==IB_QPT_RC ) -rxe_cleanup_task (&qp->comp.task); +rxe_cleanup_task (&qp->comp.task);/* flush out any receive wr's or pending requests */ __rxe_do_task (&qp->req.task);
drivers/infiniband/ulp/iser/iscsi_iser.c +0 -7
@@ -651,13 +651,6 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep, SHOST_DIX_GUARD_CRC); } -/* -* Limit the sg_tablesize and max_sectors based on the device -* max fastreg page list length. -*/ - shost->sg_tablesize = min_t(unsigned short, shost->sg_tablesize, - ib_conn->device->ib_device->attrs.max_fast_reg_page_list_len); -if (iscsi_host_add (shost, ib_conn->device->ib_device->dma_device)) {mutex_unlock (&iser_conn->state_mutex);
drivers/infiniband/ulp/srp/ib_srp.c +13 -2
@@ -366,6 +366,7 @@ static struct srp_fr_pool *srp_create_fr_pool(struct ib_device *device,struct srp_fr_desc *d;struct ib_mr *mr;int i, ret = -EINVAL ; +enum ib_mr_type mr_type;if (pool_size <=0 ) goto err;
@@ -379,9 +380,13 @@ static struct srp_fr_pool *srp_create_fr_pool(struct ib_device *device,spin_lock_init (&pool->lock);INIT_LIST_HEAD (&pool->free_list); +if (device->attrs.device_cap_flags &IB_DEVICE_SG_GAPS_REG ) + mr_type =IB_MR_TYPE_SG_GAPS ; +else + mr_type =IB_MR_TYPE_MEM_REG ; +for (i =0 , d = &pool->desc[0 ]; i < pool->size; i++, d++) { - mr =ib_alloc_mr (pd,IB_MR_TYPE_MEM_REG , - max_page_list_len); + mr =ib_alloc_mr (pd, mr_type, max_page_list_len);if (IS_ERR (mr)) { ret =PTR_ERR (mr); goto destroy_pool;
@@ -3678,6 +3683,12 @@ static int __init srp_init_module(void) indirect_sg_entries = cmd_sg_entries; } +if (indirect_sg_entries >SG_MAX_SEGMENTS ) { +pr_warn ("Clamping indirect_sg_entries to %u\n" , +SG_MAX_SEGMENTS ); + indirect_sg_entries =SG_MAX_SEGMENTS ; + } + srp_remove_wq =create_workqueue ("srp_remove" );if (!srp_remove_wq) { ret = -ENOMEM ;
drivers/isdn/hardware/eicon/message.c +2 -1
@@ -11297,7 +11297,8 @@ static void mixer_notify_update(PLCI *plci, byte others) ((CAPI_MSG *) msg)->header.ncci =0 ; ((CAPI_MSG *) msg)->info.facility_req.Selector =SELECTOR_LINE_INTERCONNECT ; ((CAPI_MSG *) msg)->info.facility_req.structs[0 ] =3 ; -PUT_WORD (&(((CAPI_MSG *) msg)->info.facility_req.structs[1 ]),LI_REQ_SILENT_UPDATE ); + ((CAPI_MSG *) msg)->info.facility_req.structs[1 ] =LI_REQ_SILENT_UPDATE &0xff ; + ((CAPI_MSG *) msg)->info.facility_req.structs[2 ] =LI_REQ_SILENT_UPDATE >>8 ; ((CAPI_MSG *) msg)->info.facility_req.structs[3 ] =0 ; w =api_put (notify_plci->appl, (CAPI_MSG *) msg);if (w != _QUEUE_FULL)
drivers/media/i2c/Kconfig +1 -0
@@ -655,6 +655,7 @@ config VIDEO_S5K6A3 config VIDEO_S5K4ECGX tristate "Samsung S5K4ECGX sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + select CRC32 ---help--- This is a V4L2 sensor-level driver for Samsung S5K4ECGX 5M camera sensor with an embedded SoC image signal processor.
drivers/media/i2c/tvp5150.c +35 -21
101 lines not on this page · raw message
drivers/media/i2c/tvp5150_reg.h +9 -0
@@ -9,6 +9,15 @@#define TVP5150_ANAL_CHL_CTL 0x01/* Analog channel controls */ #define TVP5150_OP_MODE_CTL 0x02/* Operation mode controls */ #define TVP5150_MISC_CTL 0x03/* Miscellaneous controls */ +#define TVP5150_MISC_CTL_VBLK_GPCL BIT(7) +#define TVP5150_MISC_CTL_GPCL BIT(6) +#define TVP5150_MISC_CTL_INTREQ_OE BIT(5) +#define TVP5150_MISC_CTL_HVLK BIT(4) +#define TVP5150_MISC_CTL_YCBCR_OE BIT(3) +#define TVP5150_MISC_CTL_SYNC_OE BIT(2) +#define TVP5150_MISC_CTL_VBLANK BIT(1) +#define TVP5150_MISC_CTL_CLOCK_OE BIT(0) +#define TVP5150_AUTOSW_MSK 0x04/* Autoswitch mask: TVP5150A / TVP5150AM */ /* Reserved 05h */
drivers/media/usb/dvb-usb/pctv452e.c +72 -61
266 lines not on this page · raw message
drivers/net/can/c_can/c_can_pci.c +1 -0
@@ -161,6 +161,7 @@ static int c_can_pci_probe(struct pci_dev *pdev, dev->irq = pdev->irq; priv->base = addr; + priv->device = &pdev->dev;if (!c_can_pci_data->freq) {dev_err (&pdev->dev,"no clock frequency defined\n" );
drivers/net/can/ti_hecc.c +12 -4
@@ -948,7 +948,12 @@ static int ti_hecc_probe(struct platform_device *pdev)netif_napi_add (ndev, &priv->napi, ti_hecc_rx_poll,HECC_DEF_NAPI_WEIGHT ); -clk_enable (priv->clk); + err =clk_prepare_enable (priv->clk); +if (err) { +dev_err (&pdev->dev,"clk_prepare_enable() failed\n" ); + goto probe_exit_clk; + } + err =register_candev (ndev);if (err) {dev_err (&pdev->dev,"register_candev() failed\n" );
@@ -981,7 +986,7 @@ static int ti_hecc_remove(struct platform_device *pdev)struct ti_hecc_priv *priv =netdev_priv (ndev);unregister_candev (ndev); -clk_disable (priv->clk); +clk_disable_unprepare (priv->clk);clk_put (priv->clk); res =platform_get_resource (pdev,IORESOURCE_MEM ,0 );iounmap (priv->base);
@@ -1006,7 +1011,7 @@ static int ti_hecc_suspend(struct platform_device *pdev, pm_message_t state)hecc_set_bit (priv,HECC_CANMC ,HECC_CANMC_PDR ); priv->can.state =CAN_STATE_SLEEPING ; -clk_disable (priv->clk); +clk_disable_unprepare (priv->clk);return 0 ; }
@@ -1015,8 +1020,11 @@ static int ti_hecc_resume(struct platform_device *pdev) {struct net_device *dev =platform_get_drvdata (pdev);struct ti_hecc_priv *priv =netdev_priv (dev); +int err; -clk_enable (priv->clk); + err =clk_prepare_enable (priv->clk); +if (err) +return err;hecc_clear_bit (priv,HECC_CANMC ,HECC_CANMC_PDR ); priv->can.state =CAN_STATE_ERROR_ACTIVE ;
drivers/pinctrl/intel/pinctrl-baytrail.c +17 -11
@@ -1092,6 +1092,7 @@ static int byt_pin_config_get(struct pinctrl_dev *pctl_dev, unsigned int offset,enum pin_config_param param =pinconf_to_config_param (*config);void __iomem *conf_reg =byt_gpio_reg (vg, offset,BYT_CONF0_REG );void __iomem *val_reg =byt_gpio_reg (vg, offset,BYT_VAL_REG ); +void __iomem *db_reg =byt_gpio_reg (vg, offset,BYT_DEBOUNCE_REG );unsigned long flags;u32 conf, pull, val, debounce;u16 arg =0 ;
@@ -1128,7 +1129,7 @@ static int byt_pin_config_get(struct pinctrl_dev *pctl_dev, unsigned int offset,return -EINVAL ;raw_spin_lock_irqsave (&vg->lock, flags); - debounce =readl (byt_gpio_reg (vg, offset,BYT_DEBOUNCE_REG )); + debounce =readl (db_reg);raw_spin_unlock_irqrestore (&vg->lock, flags);switch (debounce &BYT_DEBOUNCE_PULSE_MASK ) {
@@ -1176,6 +1177,7 @@ static int byt_pin_config_set(struct pinctrl_dev *pctl_dev,unsigned int param, arg;void __iomem *conf_reg =byt_gpio_reg (vg, offset,BYT_CONF0_REG );void __iomem *val_reg =byt_gpio_reg (vg, offset,BYT_VAL_REG ); +void __iomem *db_reg =byt_gpio_reg (vg, offset,BYT_DEBOUNCE_REG );unsigned long flags;u32 conf, val, debounce;int i, ret =0 ;
@@ -1238,36 +1240,40 @@ static int byt_pin_config_set(struct pinctrl_dev *pctl_dev,break ;case PIN_CONFIG_INPUT_DEBOUNCE : - debounce =readl (byt_gpio_reg (vg, offset, -BYT_DEBOUNCE_REG )); - conf &= ~BYT_DEBOUNCE_PULSE_MASK ; + debounce =readl (db_reg); + debounce &= ~BYT_DEBOUNCE_PULSE_MASK ;switch (arg) { +case 0 : + conf &=BYT_DEBOUNCE_EN ; +break ;case 375 : - conf |=BYT_DEBOUNCE_PULSE_375US ; + debounce |=BYT_DEBOUNCE_PULSE_375US ;break ;case 750 : - conf |=BYT_DEBOUNCE_PULSE_750US ; + debounce |=BYT_DEBOUNCE_PULSE_750US ;break ;case 1500 : - conf |=BYT_DEBOUNCE_PULSE_1500US ; + debounce |=BYT_DEBOUNCE_PULSE_1500US ;break ;case 3000 : - conf |=BYT_DEBOUNCE_PULSE_3MS ; + debounce |=BYT_DEBOUNCE_PULSE_3MS ;break ;case 6000 : - conf |=BYT_DEBOUNCE_PULSE_6MS ; + debounce |=BYT_DEBOUNCE_PULSE_6MS ;break ;case 12000 : - conf |=BYT_DEBOUNCE_PULSE_12MS ; + debounce |=BYT_DEBOUNCE_PULSE_12MS ;break ;case 24000 : - conf |=BYT_DEBOUNCE_PULSE_24MS ; + debounce |=BYT_DEBOUNCE_PULSE_24MS ;break ;default : ret = -EINVAL ; } +if (!ret) +writel (debounce, db_reg);break ;default : ret = -ENOTSUPP ;
drivers/pinctrl/intel/pinctrl-broxton.c +1 -1
@@ -19,7 +19,7 @@#define BXT_PAD_OWN 0x020#define BXT_HOSTSW_OWN 0x080 -#define BXT_PADCFGLOCK 0x090 +#define BXT_PADCFGLOCK 0x060#define BXT_GPI_IE 0x110#define BXT_COMMUNITY (s, e) \
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c +1 -1
@@ -561,7 +561,7 @@ static const int ether_rgmii_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};static const unsigned ether_rmii_pins[] = {30 ,31 ,32 ,33 ,34 ,35 ,36 ,37 ,39 ,41 ,42 ,45 }; -static const int ether_rmii_muxvals[] = {1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 }; +static const int ether_rmii_muxvals[] = {0 ,0 ,0 ,0 ,1 ,1 ,1 ,1 ,1 ,1 ,1 ,1 };static const unsigned i2c0_pins[] = {63 ,64 };static const int i2c0_muxvals[] = {0 ,0 };static const unsigned i2c1_pins[] = {65 ,66 };
drivers/platform/x86/intel_mid_powerbtn.c +1 -1
@@ -77,7 +77,7 @@ static int mfld_pb_probe(struct platform_device *pdev)input_set_capability (input,EV_KEY ,KEY_POWER ); - error =request_threaded_irq (irq,NULL , mfld_pb_isr,0 , + error =request_threaded_irq (irq,NULL , mfld_pb_isr,IRQF_ONESHOT ,DRIVER_NAME , input);if (error) { dev_err(&pdev->dev, "Unable to request irq %d for mfld power"
drivers/video/fbdev/core/fbcmap.c +14 -12
@@ -163,17 +163,18 @@ void fb_dealloc_cmap(struct fb_cmap *cmap)int fb_copy_cmap (const struct fb_cmap *from,struct fb_cmap *to) { -int tooff =0 , fromoff =0 ; -int size; +unsigned int tooff =0 , fromoff =0 ; +size_t size;if (to->start > from->start) fromoff = to->start - from->start;else tooff = from->start - to->start; - size = to->len - tooff; -if (size > (int ) (from->len - fromoff)) - size = from->len - fromoff; -if (size <=0 ) +if (fromoff >= from->len || tooff >= to->len) +return -EINVAL ; + + size =min_t (size_t, to->len - tooff, from->len - fromoff); +if (size ==0 )return -EINVAL ; size *=sizeof (u16);
@@ -187,17 +188,18 @@ int fb_copy_cmap(const struct fb_cmap *from, struct fb_cmap *to)int fb_cmap_to_user (const struct fb_cmap *from,struct fb_cmap_user *to) { -int tooff =0 , fromoff =0 ; -int size; +unsigned int tooff =0 , fromoff =0 ; +size_t size;if (to->start > from->start) fromoff = to->start - from->start;else tooff = from->start - to->start; - size = to->len - tooff; -if (size > (int ) (from->len - fromoff)) - size = from->len - fromoff; -if (size <=0 ) +if (fromoff >= from->len || tooff >= to->len) +return -EINVAL ; + + size =min_t (size_t, to->len - tooff, from->len - fromoff); +if (size ==0 )return -EINVAL ; size *=sizeof (u16);
drivers/virtio/virtio_mmio.c +19 -1
@@ -59,6 +59,7 @@#define pr_fmt (fmt) "virtio-mmio: " fmt#include <linux/acpi.h> +#include <linux/dma-mapping.h> #include <linux/highmem.h> #include <linux/interrupt.h> #include <linux/io.h>
@@ -497,6 +498,7 @@ static int virtio_mmio_probe(struct platform_device *pdev)struct virtio_mmio_device *vm_dev;struct resource *mem;unsigned long magic; +int rc; mem =platform_get_resource (pdev,IORESOURCE_MEM ,0 );if (!mem)
@@ -545,9 +547,25 @@ static int virtio_mmio_probe(struct platform_device *pdev) } vm_dev->vdev.id.vendor =readl (vm_dev->base +VIRTIO_MMIO_VENDOR_ID ); -if (vm_dev->version ==1 ) +if (vm_dev->version ==1 ) {writel (PAGE_SIZE , vm_dev->base +VIRTIO_MMIO_GUEST_PAGE_SIZE ); + rc =dma_set_mask (&pdev->dev,DMA_BIT_MASK (64 )); +/* +* In the legacy case, ensure our coherently-allocated virtio +* ring will be at an address expressable as a 32-bit PFN. +*/ +if (!rc) +dma_set_coherent_mask (&pdev->dev, +DMA_BIT_MASK (32 +PAGE_SHIFT )); + }else { + rc =dma_set_mask_and_coherent (&pdev->dev,DMA_BIT_MASK (64 )); + } +if (rc) + rc =dma_set_mask_and_coherent (&pdev->dev,DMA_BIT_MASK (32 )); +if (rc) +dev_warn (&pdev->dev,"Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.\n" ); +platform_set_drvdata (pdev, vm_dev);return register_virtio_device (&vm_dev->vdev);
drivers/virtio/virtio_ring.c +7 -0
@@ -159,6 +159,13 @@ static bool vring_use_dma_api(struct virtio_device *vdev)if (xen_domain ())return true; +/* +* On ARM-based machines, the DMA ops will do the right thing, +* so always use them with legacy devices. +*/ +if (IS_ENABLED (CONFIG_ARM ) ||IS_ENABLED (CONFIG_ARM64 )) +return !virtio_has_feature (vdev,VIRTIO_F_VERSION_1 ); +return false; }
fs/btrfs/inode.c +2 -6
@@ -3819,10 +3819,7 @@ static int btrfs_read_locked_inode(struct inode *inode)break ;case S_IFDIR : inode->i_fop = &btrfs_dir_file_operations; -if (root == root->fs_info->tree_root) - inode->i_op = &btrfs_dir_ro_inode_operations; -else - inode->i_op = &btrfs_dir_inode_operations; + inode->i_op = &btrfs_dir_inode_operations;break ;case S_IFLNK : inode->i_op = &btrfs_symlink_inode_operations;
@@ -5682,6 +5679,7 @@ static struct inode *new_simple_dir(struct super_block *s, inode->i_ino =BTRFS_EMPTY_SUBVOL_DIR_OBJECTID ; inode->i_op = &btrfs_dir_ro_inode_operations; + inode->i_opflags &= ~IOP_XATTR ; inode->i_fop = &simple_dir_operations; inode->i_mode =S_IFDIR |S_IRUGO |S_IWUSR |S_IXUGO ; inode->i_mtime =current_time (inode);
@@ -10587,8 +10585,6 @@ static const struct inode_operations btrfs_dir_inode_operations = {static const struct inode_operations btrfs_dir_ro_inode_operations = { .lookup = btrfs_lookup, .permission = btrfs_permission, - .get_acl = btrfs_get_acl, - .set_acl = btrfs_set_acl, .update_time = btrfs_update_time, };
fs/nfs/nfs4proc.c +3 -1
@@ -2678,7 +2678,8 @@ static inline void nfs4_exclusive_attrset(struct nfs4_opendata *opendata, sattr->ia_valid |=ATTR_MTIME ;/* Except MODE, it seems harmless of setting twice. */ -if ((attrset[1 ] &FATTR4_WORD1_MODE )) +if (opendata->o_arg.createmode !=NFS4_CREATE_EXCLUSIVE && + attrset[1 ] &FATTR4_WORD1_MODE ) sattr->ia_valid &= ~ATTR_MODE ;if (attrset[2 ] &FATTR4_WORD2_SECURITY_LABEL )
@@ -8371,6 +8372,7 @@ nfs4_layoutget_handle_exception(struct rpc_task *task, goto out; } +nfs4_sequence_free_slot (&lgp->res.seq_res); err =nfs4_handle_exception (server, nfs4err, exception);if (!status) {if (exception->retry)
fs/xfs/xfs_qm.c +2 -1
@@ -1177,7 +1177,8 @@ xfs_qm_dqusage_adjust(* the case in all other instances. It's OK that we do this because * quotacheck is done only at mount time. */ - error =xfs_iget (mp,NULL , ino,0 ,XFS_ILOCK_EXCL , &ip); + error =xfs_iget (mp,NULL , ino,XFS_IGET_DONTCACHE ,XFS_ILOCK_EXCL , + &ip);if (error) { *res =BULKSTAT_RV_NOTHING ;return error;
include/linux/memory_hotplug.h +2 -2
@@ -284,7 +284,7 @@ extern void sparse_remove_one_section(struct zone *zone, struct mem_section *ms, unsigned long map_offset);extern struct page *sparse_decode_mem_map (unsigned long coded_mem_map,unsigned long pnum); -extern int zone_can_shift (unsigned long pfn,unsigned long nr_pages, -enum zone_type target); +extern bool zone_can_shift (unsigned long pfn,unsigned long nr_pages, +enum zone_type target,int *zone_shift);#endif /* __LINUX_MEMORY_HOTPLUG_H */
include/linux/mmzone.h +5 -1
@@ -972,12 +972,16 @@ static __always_inline struct zoneref *next_zones_zonelist(struct zoneref *z,* @zonelist - The zonelist to search for a suitable zone * @highest_zoneidx - The zone index of the highest zone to return * @nodes - An optional nodemask to filter the zonelist with -* @zone - The first suitable zone found is returned via this parameter +* @return - Zoneref pointer for the first suitable zone found (see below) * * This function returns the first zone at or below a given zone index that is * within the allowed nodemask. The zoneref returned is a cursor that can be * used to iterate the zonelist with next_zones_zonelist by advancing it by * one before calling. +* +* When no eligible zone is found, zoneref->zone is NULL (zoneref itself is +* never NULL). This may happen either genuinely, or due to concurrent nodemask +* update due to cpuset modification. */ static inline struct zoneref *first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx,
include/linux/nfs4.h +2 -1
@@ -282,7 +282,7 @@ enum nfsstat4 {static inline bool seqid_mutating_err (u32 err) { -/* rfc 3530 section 8.1.5: */ +/* See RFC 7530, section 9.1.7 */ switch (err) {case NFS4ERR_STALE_CLIENTID :case NFS4ERR_STALE_STATEID :
@@ -291,6 +291,7 @@ static inline bool seqid_mutating_err(u32 err)case NFS4ERR_BADXDR :case NFS4ERR_RESOURCE :case NFS4ERR_NOFILEHANDLE : +case NFS4ERR_MOVED :return false; };return true;
include/linux/sunrpc/clnt.h +1 -0
@@ -216,5 +216,6 @@ void rpc_clnt_xprt_switch_put(struct rpc_clnt *);void rpc_clnt_xprt_switch_add_xprt (struct rpc_clnt *,struct rpc_xprt *);bool rpc_clnt_xprt_switch_has_addr (struct rpc_clnt *clnt,const struct sockaddr *sap); +void rpc_cleanup_clids (void );#endif /* __KERNEL__ */ #endif /* _LINUX_SUNRPC_CLNT_H */
include/uapi/rdma/cxgb3-abi.h +1 -1
@@ -30,7 +30,7 @@* SOFTWARE. */ #ifndef CXGB3_ABI_USER_H -#define CXBG3_ABI_USER_H +#define CXGB3_ABI_USER_H #include <linux/types.h>
kernel/events/core.c +54 -4
86 lines not on this page · raw message
kernel/sysctl.c +1 -0
@@ -2487,6 +2487,7 @@ static int __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, intbreak ;if (neg)continue ; + val = convmul * val / convdiv;if ((min && val < *min) || (max && val > *max))continue ; *i = val;
kernel/ucount.c +8 -6
@@ -128,10 +128,10 @@ static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid)struct hlist_head *hashent =ucounts_hashentry (ns, uid);struct ucounts *ucounts, *new; -spin_lock (&ucounts_lock); +spin_lock_irq (&ucounts_lock); ucounts =find_ucounts (ns, uid, hashent);if (!ucounts) { -spin_unlock (&ucounts_lock); +spin_unlock_irq (&ucounts_lock); new =kzalloc (sizeof (*new),GFP_KERNEL );if (!new)
@@ -141,7 +141,7 @@ static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) new->uid = uid;atomic_set (&new->count,0 ); -spin_lock (&ucounts_lock); +spin_lock_irq (&ucounts_lock); ucounts =find_ucounts (ns, uid, hashent);if (ucounts) {kfree (new);
@@ -152,16 +152,18 @@ static struct ucounts *get_ucounts(struct user_namespace *ns, kuid_t uid) }if (!atomic_add_unless (&ucounts->count,1 ,INT_MAX )) ucounts =NULL ; -spin_unlock (&ucounts_lock); +spin_unlock_irq (&ucounts_lock);return ucounts; }static void put_ucounts (struct ucounts *ucounts) { +unsigned long flags; +if (atomic_dec_and_test (&ucounts->count)) { -spin_lock (&ucounts_lock); +spin_lock_irqsave (&ucounts_lock, flags);hlist_del_init (&ucounts->node); -spin_unlock (&ucounts_lock); +spin_unlock_irqrestore (&ucounts_lock, flags);kfree (ucounts); }
mm/huge_memory.c +17 -1
@@ -772,6 +772,12 @@ struct page *follow_devmap_pmd(struct vm_area_struct *vma, unsigned long addr,assert_spin_locked (pmd_lockptr (mm, pmd)); +/* +* When we COW a devmap PMD entry, we split it into PTEs, so we should +* not be in this function with `flags & FOLL_COW` set. +*/ +WARN_ONCE (flags &FOLL_COW ,"mm: In follow_devmap_pmd with FOLL_COW set" ); +if (flags &FOLL_WRITE && !pmd_write (*pmd))return NULL ;
@@ -1118,6 +1124,16 @@ int do_huge_pmd_wp_page(struct fault_env *fe, pmd_t orig_pmd)return ret; } +/* +* FOLL_FORCE can write to even unwritable pmd's, but only +* after we've gone through a COW cycle and they are dirty. +*/ +static inline bool can_follow_write_pmd (pmd_t pmd,unsigned int flags) +{ +return pmd_write (pmd) || + ((flags &FOLL_FORCE ) && (flags &FOLL_COW ) &&pmd_dirty (pmd)); +} + struct page *follow_trans_huge_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd,
@@ -1128,7 +1144,7 @@ struct page *follow_trans_huge_pmd(struct vm_area_struct *vma,assert_spin_locked (pmd_lockptr (mm, pmd)); -if (flags &FOLL_WRITE && !pmd_write (*pmd)) +if (flags &FOLL_WRITE && !can_follow_write_pmd (*pmd, flags)) goto out;/* Avoid dumping huge zero page */
mm/memcontrol.c +2 -2
@@ -4360,9 +4360,9 @@ static int mem_cgroup_do_precharge(unsigned long count)return ret; } -/* Try charges one by one with reclaim */ +/* Try charges one by one with reclaim, but do not retry */ while (count--) { - ret =try_charge (mc.to,GFP_KERNEL & ~__GFP_NORETRY,1 ); + ret =try_charge (mc.to,GFP_KERNEL | __GFP_NORETRY,1 );if (ret)return ret; mc.precharge++;
mm/memory_hotplug.c +17 -11
@@ -1033,36 +1033,39 @@ static void node_states_set_node(int node, struct memory_notify *arg)node_set_state (node,N_MEMORY ); } -int zone_can_shift (unsigned long pfn,unsigned long nr_pages, -enum zone_type target) +bool zone_can_shift (unsigned long pfn,unsigned long nr_pages, +enum zone_type target,int *zone_shift) {struct zone *zone =page_zone (pfn_to_page (pfn));enum zone_type idx =zone_idx (zone);int i; + *zone_shift =0 ; +if (idx < target) {/* pages must be at end of current zone */ if (pfn + nr_pages !=zone_end_pfn (zone)) -return 0 ; +return false;/* no zones in use between current zone and target */ for (i = idx +1 ; i < target; i++)if (zone_is_initialized (zone - idx + i)) -return 0 ; +return false; }if (target < idx) {/* pages must be at beginning of current zone */ if (pfn != zone->zone_start_pfn) -return 0 ; +return false;/* no zones in use between current zone and target */ for (i = target +1 ; i < idx; i++)if (zone_is_initialized (zone - idx + i)) -return 0 ; +return false; } -return target - idx; + *zone_shift = target - idx; +return true; }/* Must be protected by mem_hotplug_begin() */
@@ -1089,10 +1092,13 @@ int __ref online_pages(unsigned long pfn, unsigned long nr_pages, int online_typ !can_online_high_movable(zone))return -EINVAL ; -if (online_type ==MMOP_ONLINE_KERNEL ) - zone_shift =zone_can_shift (pfn, nr_pages,ZONE_NORMAL ); -else if (online_type ==MMOP_ONLINE_MOVABLE ) - zone_shift =zone_can_shift (pfn, nr_pages,ZONE_MOVABLE ); +if (online_type ==MMOP_ONLINE_KERNEL ) { +if (!zone_can_shift (pfn, nr_pages,ZONE_NORMAL , &zone_shift)) +return -EINVAL ; + }else if (online_type ==MMOP_ONLINE_MOVABLE ) { +if (!zone_can_shift (pfn, nr_pages,ZONE_MOVABLE , &zone_shift)) +return -EINVAL ; + } zone =move_pfn_range (zone_shift, pfn, pfn + nr_pages);if (!zone)
mm/mempolicy.c +1 -1
@@ -2023,8 +2023,8 @@ alloc_pages_vma(gfp_t gfp, int order, struct vm_area_struct *vma, nmask =policy_nodemask (gfp, pol); zl =policy_zonelist (gfp, pol, node); -mpol_cond_put (pol); page =__alloc_pages_nodemask (gfp, order, zl, nmask); +mpol_cond_put (pol); out:if (unlikely (!page &&read_mems_allowed_retry (cpuset_mems_cookie))) goto retry_cpuset;
mm/page_alloc.c +47 -21
128 lines not on this page · raw message
net/sunrpc/clnt.c +5 -0
@@ -336,6 +336,11 @@ static int rpc_client_register(struct rpc_clnt *clnt,static DEFINE_IDA (rpc_clids); +void rpc_cleanup_clids (void ) +{ +ida_destroy (&rpc_clids); +} +static int rpc_alloc_clid (struct rpc_clnt *clnt) {int clid;
net/sunrpc/sunrpc_syms.c +1 -0
@@ -119,6 +119,7 @@ init_sunrpc(void) static void __exitcleanup_sunrpc (void ) { +rpc_cleanup_clids ();rpcauth_remove_module ();cleanup_socket_xprt ();svc_cleanup_xprt_sock ();
Hi,
Any reports of 4.9.7 breaking X?
I run arch and keep it up to date. With todays updates and 4.9.7 built here X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is the same for both builds. I have three btrfs patches and the BFQ 4.9.0-v8r7 patchset applied on top of stable git's 4.9.{6|7}.
Suggestions on what to look for or to try reverting (via git)
xorg-server is 1.19.1-1
xf86-video-amdgpu 1.2.0-2
mesa is 13.0.4-1
kernel is x86_64
Thanks
Ed
Quoted 259 lines · Greg KH
I'm announcing the release of the 4.9.7 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
------------
Makefile | 2 arch/arc/include/asm/delay.h | 4 arch/arc/kernel/unaligned.c | 3 arch/parisc/include/asm/bitops.h | 8 + arch/parisc/include/uapi/asm/bitsperlong.h | 2 arch/parisc/include/uapi/asm/swab.h | 5 arch/s390/kernel/ptrace.c | 8 + arch/s390/mm/pgtable.c | 7 - arch/tile/kernel/ptrace.c | 2 arch/x86/platform/mellanox/mlx-platform.c | 2 drivers/base/memory.c | 4 drivers/gpu/drm/drm_atomic_helper.c | 2 drivers/gpu/drm/drm_modes.c | 7 + drivers/gpu/drm/drm_probe_helper.c | 12 +- drivers/gpu/drm/i915/i915_drv.c | 2 drivers/gpu/drm/i915/i915_gem_evict.c | 1 drivers/gpu/drm/i915/intel_crt.c | 9 - drivers/gpu/drm/i915/intel_display.c | 14 ++ drivers/gpu/drm/i915/intel_fbdev.c | 3 drivers/gpu/drm/i915/intel_lrc.c | 3 drivers/gpu/drm/i915/intel_ringbuffer.c | 8 - drivers/gpu/drm/radeon/radeon_drv.c | 7 - drivers/gpu/drm/vc4/vc4_crtc.c | 2 drivers/gpu/drm/vc4/vc4_gem.c | 4 drivers/gpu/drm/vc4/vc4_render_cl.c | 2 drivers/infiniband/core/cma.c | 3 drivers/infiniband/core/umem.c | 2 drivers/infiniband/hw/cxgb4/device.c | 9 + drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 18 +++ drivers/infiniband/hw/cxgb4/provider.c | 20 ++- drivers/infiniband/hw/cxgb4/qp.c | 35 ++++-- drivers/infiniband/sw/rxe/rxe_net.c | 2 drivers/infiniband/sw/rxe/rxe_qp.c | 3 drivers/infiniband/ulp/iser/iscsi_iser.c | 7 - drivers/infiniband/ulp/srp/ib_srp.c | 15 ++ drivers/isdn/hardware/eicon/message.c | 3 drivers/media/i2c/Kconfig | 1 drivers/media/i2c/tvp5150.c | 56 ++++++--- drivers/media/i2c/tvp5150_reg.h | 9 + drivers/media/usb/dvb-usb/pctv452e.c | 133 ++++++++++++----------- drivers/net/can/c_can/c_can_pci.c | 1 drivers/net/can/ti_hecc.c | 16 ++ drivers/pinctrl/intel/pinctrl-baytrail.c | 28 ++-- drivers/pinctrl/intel/pinctrl-broxton.c | 2 drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 2 drivers/platform/x86/intel_mid_powerbtn.c | 2 drivers/video/fbdev/core/fbcmap.c | 26 ++-- drivers/virtio/virtio_mmio.c | 20 +++ drivers/virtio/virtio_ring.c | 7 + fs/btrfs/inode.c | 8 - fs/nfs/nfs4proc.c | 4 fs/xfs/xfs_qm.c | 3 include/linux/memory_hotplug.h | 4 include/linux/mmzone.h | 6 - include/linux/nfs4.h | 3 include/linux/sunrpc/clnt.h | 1 include/uapi/rdma/cxgb3-abi.h | 2 kernel/events/core.c | 58 +++++++++- kernel/sysctl.c | 1 kernel/ucount.c | 14 +- mm/huge_memory.c | 18 ++- mm/memcontrol.c | 4 mm/memory_hotplug.c | 28 ++-- mm/mempolicy.c | 2 mm/page_alloc.c | 68 ++++++++--- net/sunrpc/clnt.c | 5 net/sunrpc/sunrpc_syms.c | 1 67 files changed, 534 insertions(+), 239 deletions(-)Alex Deucher (1):
Revert "drm/radeon: always apply pci shutdown callbacks"Ander Conselvan de Oliveira (4):
drm/i915: Don't leak edid inintel_crt_detect_ddc()drm/i915: Don't init hpd polling for vlv and chv fromruntime_suspend()
drm/i915: Fix calculation of rotated x and y offsets for
planar formats
drm/i915: Check for NULL atomic state inintel_crtc_disable_noatomic()Andy Shevchenko (2):
pinctrl: baytrail: Rectify debounce support platform/x86:intel_mid_powerbtn: SetIRQ_ONESHOTArnd Bergmann (2):
ISDN: eicon: silence misleading array-bounds warning
s5k4ecgx: select CRC32 helperBenjamin Coddington (1):
NFSv4.0: always send mode in SETATTR after EXCLUSIVE4Brian Foster (1):
xfs: prevent quotacheck from overloading inode lruChris Wilson (1):
drm/i915: Clear ret before unbinding ini915_gem_evict_something()Christian Borntraeger (1):
s390/mm: Fix cmma unused transfer from pgste into pteChuck Lever (1):
nfs: Don't increment lock sequence ID afterNFS4ERR_MOVEDClint Taylor (1):
drm/i915: prevent crash with .disable_display parameterDan Carpenter (2):
drm/vc4: fix a bounds check
platform/x86: mlx-platform: free first dev on errorDave Martin (1):
tile/ptrace: Preserve previous registers for short regset writeDavid Rientjes (1):
mm, memcg: do not retry precharge chargesEinar Jón (1):
can:c_can_pci: fix null-pointer-deref inc_can_start()-
set device pointerEric Anholt (3):
drm/vc4: Fix memory leak of the CRTC state.
drm/vc4: Fix an integer overflow in temporary allocation layout. drm/vc4: Return-EINVALon the overflow checks failing.Eric Dumazet (1):
sysctl: fixproc_doulongvec_ms_jiffies_minmax()Francisco Jerez (1):
drm/i915: Remove WaDisableLSQCROPERFforOCL KBL workaround.Greg Kroah-Hartman (1):
Linux 4.9.7Helge Deller (1):
parisc: Don't useBITS_PER_LONGin userspace-exportedswab.hheaderIsrael Rukshin (2):
IB/srp: fix mr allocation when the device supports sg gaps IB/srp: fix invalidindirect_sg_entriesparameter valueJack Morgenstein (1):
RDMA/cma: Fix unknown symbol whenCONFIG_IPV6is not enabledKees Cook (1):
fbdev: color map copying bounds checkingKenneth Lee (1):
IB/umem: Release pid in error and ODP flowKeno Fischer (1):
mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thpKinglong Mee (1):
SUNRPC: cleanup ida information when removing sunrpc moduleLaurent Pinchart (3):
v4l: tvp5150: Reset device at probe time, not in get/set
format handlers
v4l: tvp5150: Fix comment regarding output pin muxing
v4l: tvp5150: Don't override output pinmuxing at stream on/off timeLucas Stach (1):
drm/atomic: clear out fence when duplicating stateMaor Gottlieb (1):
IB/rxe: Fix rxe dev insertion torxe_dev_listMartin Schwidefsky (1):
s390/ptrace: Preserve previous registers for short regset writeMasahiro Yamada (1):
pinctrl: uniphier: fix Ethernet (RMII) pin-mux setting for LD20Max Gurtovoy (1):
IB/iser: Fixsg_tablesizecalculationMax Kellermann (1):
pctv452e: move buffer to heap, no mutexMika Westerberg (1):
pinctrl: broxton: Use correct PADCFGLOCK offsetNicolas Iooss (1):
IB/cxgb3: fix misspelling in header guardNikolay Borisov (1):
userns: Make ucounts lock irq-safeOmar Sandoval (3):
Btrfs: remove oldtree_rootcase inbtrfs_read_locked_inode()
Btrfs: disable xattr operations on subvolume directories
Btrfs: remove ->{get, set}_acl() frombtrfs_dir_ro_inode_operationsPeter Ujfalusi (1):
drm: Schedule theoutput_poll_workwith 1s delay if we
have delayed eventPeter Zijlstra (1):
perf/core: Fix concurrentsys_perf_event_open()vs. 'move_group' raceRobin Murphy (1):
virtio_mmio: Set DMA masks appropriatelySteve Wise (1):
iw_cxgb4: free EQ queue memory on last derefTakashi Iwai (1):
drm: Fix broken VT switch with video=1366x768 optionTrond Myklebust (1):
NFSv4.1: Fix a deadlock in layoutgetVille Syrjälä (1):
drm/i915: Ignore bogus plane coordinates on SKL when the
plane is not visibleVineet Gupta (2):
ARC: udelay: fix inline assembler by addingLP_COUNTto clobber list
ARC: [arcompact] handle unaligned access delay slot corner caseVlastimil Babka (5):
mm/mempolicy.c: do not put mempolicy before using its nodemask mm,page_alloc: fix check for NULLpreferred_zone
mm,page_alloc: fix fast-path race with cpuset update or removal mm,page_alloc: move cpuset seqcount checking to slowpath mm,page_alloc: fix premature OOM when racing with cpuset mems updateWill Deacon (1):
vring: Force use of DMA API for ARM-based systems with legacy devicesYasuaki Ishimatsu (1):
memory_hotplug: makezone_can_shift()return a boolean valueYegor Yefremov (1):
can:ti_hecc: add missing prepare and unprepare of the clockYonatan Cohen (1):
IB/rxe: Prevent from completer to operate on non valid QP
Quoted 10 lines · Ed Tomlinson
Hi,
Any reports of 4.9.7 breaking X?
I run arch and keep it up to date. With todays updates and 4.9.7 built here X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is the same for both builds. I have three btrfs patches and the BFQ 4.9.0-v8r7 patchset applied on top of stable git's 4.9.{6|7}.
Suggestions on what to look for or to try reverting (via git)
You should bisect, stable releases are very easy to bisect and this is fast (few builds, no config change, not everything to rebuild each time). It may take as little as 20 mn to figure which patch broke your setup.
Regards,
Willy
Greg KH
maintainerQuoted 9 lines · Ed Tomlinson
Hi,
Any reports of 4.9.7 breaking X?
I run arch and keep it up to date. With todays updates and 4.9.7 built here X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is the same for both builds. I have three btrfs patches and the BFQ 4.9.0-v8r7 patchset applied on top of stable git's 4.9.{6|7}.
Quoted 7 lines
Suggestions on what to look for or to try reverting (via git)
xorg-server is 1.19.1-1
xf86-video-amdgpu 1.2.0-2
mesa is 13.0.4-1kernel is
x86_64
There was a report of a PCI issue affecting 4.9.6, and the fix for that should be hitting Linus's tree soon (if it's not there already), but I haven't heard anything about problems with 4.9.7.
Like the others said, if you could use 'git bisect' to track down the offending problem, that would be wonderful.
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 7 lines · Ed Tomlinson
Hi,
Any reports of 4.9.7 breaking X?
I run arch and keep it up to date. With todays updates and 4.9.7 built here X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is the same for both builds. I have three btrfs patches and the BFQ 4.9.0-v8r7 ...
Quoted 6 lines
There was a report of a PCI issue affecting 4.9.6, and the fix for that should be hitting Linus's tree soon (if it's not there already), but I haven't heard anything about problems with 4.9.7.
Like the others said, if you could use 'git bisect' to track down the offending problem, that would be wonderful.
Greg
Looks like the original 4.9.7 build here must have failed in some wierd way. I've run the bisect twice and its good till the end.
Sorry for the noise,
Ed