diff -druNp --no-dereference linux-libre-3.14.56-gnu/arch/arm64/kernel/stacktrace.c linux-libre-3.14.57-gnu/arch/arm64/kernel/stacktrace.c
--- linux-libre-3.14.56-gnu/arch/arm64/kernel/stacktrace.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/arch/arm64/kernel/stacktrace.c	2015-11-09 15:50:58.000000000 -0500
@@ -48,11 +48,7 @@ int unwind_frame(struct stackframe *fram
 
 	frame->sp = fp + 0x10;
 	frame->fp = *(unsigned long *)(fp);
-	/*
-	 * -4 here because we care about the PC at time of bl,
-	 * not where the return will go.
-	 */
-	frame->pc = *(unsigned long *)(fp + 8) - 4;
+	frame->pc = *(unsigned long *)(fp + 8);
 
 	return 0;
 }
diff -druNp --no-dereference linux-libre-3.14.56-gnu/arch/powerpc/kernel/rtas.c linux-libre-3.14.57-gnu/arch/powerpc/kernel/rtas.c
--- linux-libre-3.14.56-gnu/arch/powerpc/kernel/rtas.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/arch/powerpc/kernel/rtas.c	2015-11-09 15:50:58.000000000 -0500
@@ -1041,6 +1041,9 @@ asmlinkage int ppc_rtas(struct rtas_args
 	if (!capable(CAP_SYS_ADMIN))
 		return -EPERM;
 
+	if (!rtas.entry)
+		return -EINVAL;
+
 	if (copy_from_user(&args, uargs, 3 * sizeof(u32)) != 0)
 		return -EFAULT;
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/arch/x86/xen/enlighten.c linux-libre-3.14.57-gnu/arch/x86/xen/enlighten.c
--- linux-libre-3.14.56-gnu/arch/x86/xen/enlighten.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/arch/x86/xen/enlighten.c	2015-11-09 15:50:58.000000000 -0500
@@ -33,7 +33,7 @@
 #include <linux/memblock.h>
 #include <linux/edd.h>
 
-#ifdef CONFIG_KEXEC_CORE
+#ifdef CONFIG_KEXEC
 #include <linux/kexec.h>
 #endif
 
@@ -1848,7 +1848,7 @@ static struct notifier_block xen_hvm_cpu
 	.notifier_call	= xen_hvm_cpu_notify,
 };
 
-#ifdef CONFIG_KEXEC_CORE
+#ifdef CONFIG_KEXEC
 static void xen_hvm_shutdown(void)
 {
 	native_machine_shutdown();
@@ -1879,7 +1879,7 @@ static void __init xen_hvm_guest_init(vo
 	x86_init.irqs.intr_init = xen_init_IRQ;
 	xen_hvm_init_time_ops();
 	xen_hvm_init_mmu_ops();
-#ifdef CONFIG_KEXEC_CORE
+#ifdef CONFIG_KEXEC
 	machine_ops.shutdown = xen_hvm_shutdown;
 	machine_ops.crash_shutdown = xen_hvm_crash_shutdown;
 #endif
diff -druNp --no-dereference linux-libre-3.14.56-gnu/crypto/ablkcipher.c linux-libre-3.14.57-gnu/crypto/ablkcipher.c
--- linux-libre-3.14.56-gnu/crypto/ablkcipher.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/crypto/ablkcipher.c	2015-11-09 15:50:58.000000000 -0500
@@ -695,7 +695,7 @@ struct crypto_ablkcipher *crypto_alloc_a
 err:
 		if (err != -EAGAIN)
 			break;
-		if (signal_pending(current)) {
+		if (fatal_signal_pending(current)) {
 			err = -EINTR;
 			break;
 		}
diff -druNp --no-dereference linux-libre-3.14.56-gnu/crypto/algapi.c linux-libre-3.14.57-gnu/crypto/algapi.c
--- linux-libre-3.14.56-gnu/crypto/algapi.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/crypto/algapi.c	2015-11-09 15:50:58.000000000 -0500
@@ -325,7 +325,7 @@ static void crypto_wait_for_test(struct
 		crypto_alg_tested(larval->alg.cra_driver_name, 0);
 	}
 
-	err = wait_for_completion_interruptible(&larval->completion);
+	err = wait_for_completion_killable(&larval->completion);
 	WARN_ON(err);
 
 out:
diff -druNp --no-dereference linux-libre-3.14.56-gnu/crypto/api.c linux-libre-3.14.57-gnu/crypto/api.c
--- linux-libre-3.14.56-gnu/crypto/api.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/crypto/api.c	2015-11-09 15:50:58.000000000 -0500
@@ -172,7 +172,7 @@ static struct crypto_alg *crypto_larval_
 	struct crypto_larval *larval = (void *)alg;
 	long timeout;
 
-	timeout = wait_for_completion_interruptible_timeout(
+	timeout = wait_for_completion_killable_timeout(
 		&larval->completion, 60 * HZ);
 
 	alg = larval->adult;
@@ -435,7 +435,7 @@ struct crypto_tfm *crypto_alloc_base(con
 err:
 		if (err != -EAGAIN)
 			break;
-		if (signal_pending(current)) {
+		if (fatal_signal_pending(current)) {
 			err = -EINTR;
 			break;
 		}
@@ -552,7 +552,7 @@ void *crypto_alloc_tfm(const char *alg_n
 err:
 		if (err != -EAGAIN)
 			break;
-		if (signal_pending(current)) {
+		if (fatal_signal_pending(current)) {
 			err = -EINTR;
 			break;
 		}
diff -druNp --no-dereference linux-libre-3.14.56-gnu/crypto/crypto_user.c linux-libre-3.14.57-gnu/crypto/crypto_user.c
--- linux-libre-3.14.56-gnu/crypto/crypto_user.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/crypto/crypto_user.c	2015-11-09 15:50:58.000000000 -0500
@@ -361,7 +361,7 @@ static struct crypto_alg *crypto_user_ae
 		err = PTR_ERR(alg);
 		if (err != -EAGAIN)
 			break;
-		if (signal_pending(current)) {
+		if (fatal_signal_pending(current)) {
 			err = -EINTR;
 			break;
 		}
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/block/rbd.c linux-libre-3.14.57-gnu/drivers/block/rbd.c
--- linux-libre-3.14.56-gnu/drivers/block/rbd.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/block/rbd.c	2015-11-09 15:50:58.000000000 -0500
@@ -94,6 +94,8 @@ static int atomic_dec_return_safe(atomic
 #define RBD_MINORS_PER_MAJOR		256
 #define RBD_SINGLE_MAJOR_PART_SHIFT	4
 
+#define RBD_MAX_PARENT_CHAIN_LEN	16
+
 #define RBD_SNAP_DEV_NAME_PREFIX	"snap_"
 #define RBD_MAX_SNAP_NAME_LEN	\
 			(NAME_MAX - (sizeof (RBD_SNAP_DEV_NAME_PREFIX) - 1))
@@ -411,7 +413,7 @@ static ssize_t rbd_add_single_major(stru
 				    size_t count);
 static ssize_t rbd_remove_single_major(struct bus_type *bus, const char *buf,
 				       size_t count);
-static int rbd_dev_image_probe(struct rbd_device *rbd_dev, bool mapping);
+static int rbd_dev_image_probe(struct rbd_device *rbd_dev, int depth);
 static void rbd_spec_put(struct rbd_spec *spec);
 
 static int rbd_dev_id_to_minor(int dev_id)
@@ -3443,6 +3445,9 @@ static int rbd_init_disk(struct rbd_devi
 	blk_queue_io_opt(q, segment_size);
 
 	blk_queue_merge_bvec(q, rbd_merge_bvec);
+	if (!ceph_test_opt(rbd_dev->rbd_client->client, NOCRC))
+		q->backing_dev_info.capabilities |= BDI_CAP_STABLE_WRITES;
+
 	disk->queue = q;
 
 	q->queuedata = rbd_dev;
@@ -4819,44 +4824,50 @@ out_err:
 	return ret;
 }
 
-static int rbd_dev_probe_parent(struct rbd_device *rbd_dev)
+/*
+ * @depth is rbd_dev_image_probe() -> rbd_dev_probe_parent() ->
+ * rbd_dev_image_probe() recursion depth, which means it's also the
+ * length of the already discovered part of the parent chain.
+ */
+static int rbd_dev_probe_parent(struct rbd_device *rbd_dev, int depth)
 {
 	struct rbd_device *parent = NULL;
-	struct rbd_spec *parent_spec;
-	struct rbd_client *rbdc;
 	int ret;
 
 	if (!rbd_dev->parent_spec)
 		return 0;
-	/*
-	 * We need to pass a reference to the client and the parent
-	 * spec when creating the parent rbd_dev.  Images related by
-	 * parent/child relationships always share both.
-	 */
-	parent_spec = rbd_spec_get(rbd_dev->parent_spec);
-	rbdc = __rbd_get_client(rbd_dev->rbd_client);
 
-	ret = -ENOMEM;
-	parent = rbd_dev_create(rbdc, parent_spec);
-	if (!parent)
+	if (++depth > RBD_MAX_PARENT_CHAIN_LEN) {
+		pr_info("parent chain is too long (%d)\n", depth);
+		ret = -EINVAL;
 		goto out_err;
+	}
 
-	ret = rbd_dev_image_probe(parent, false);
+	parent = rbd_dev_create(rbd_dev->rbd_client, rbd_dev->parent_spec);
+	if (!parent) {
+		ret = -ENOMEM;
+		goto out_err;
+	}
+
+	/*
+	 * Images related by parent/child relationships always share
+	 * rbd_client and spec/parent_spec, so bump their refcounts.
+	 */
+	__rbd_get_client(rbd_dev->rbd_client);
+	rbd_spec_get(rbd_dev->parent_spec);
+
+	ret = rbd_dev_image_probe(parent, depth);
 	if (ret < 0)
 		goto out_err;
+
 	rbd_dev->parent = parent;
 	atomic_set(&rbd_dev->parent_ref, 1);
-
 	return 0;
+
 out_err:
-	if (parent) {
-		rbd_dev_unparent(rbd_dev);
+	rbd_dev_unparent(rbd_dev);
+	if (parent)
 		rbd_dev_destroy(parent);
-	} else {
-		rbd_put_client(rbdc);
-		rbd_spec_put(parent_spec);
-	}
-
 	return ret;
 }
 
@@ -4972,7 +4983,7 @@ static void rbd_dev_image_release(struct
  * parent), initiate a watch on its header object before using that
  * object to get detailed information about the rbd image.
  */
-static int rbd_dev_image_probe(struct rbd_device *rbd_dev, bool mapping)
+static int rbd_dev_image_probe(struct rbd_device *rbd_dev, int depth)
 {
 	int ret;
 
@@ -4992,7 +5003,7 @@ static int rbd_dev_image_probe(struct rb
 	if (ret)
 		goto err_out_format;
 
-	if (mapping) {
+	if (!depth) {
 		ret = rbd_dev_header_watch_sync(rbd_dev);
 		if (ret)
 			goto out_header_name;
@@ -5009,7 +5020,7 @@ static int rbd_dev_image_probe(struct rb
 	if (ret)
 		goto err_out_probe;
 
-	ret = rbd_dev_probe_parent(rbd_dev);
+	ret = rbd_dev_probe_parent(rbd_dev, depth);
 	if (ret)
 		goto err_out_probe;
 
@@ -5020,7 +5031,7 @@ static int rbd_dev_image_probe(struct rb
 err_out_probe:
 	rbd_dev_unprobe(rbd_dev);
 err_out_watch:
-	if (mapping)
+	if (!depth)
 		rbd_dev_header_unwatch_sync(rbd_dev);
 out_header_name:
 	kfree(rbd_dev->header_name);
@@ -5087,7 +5098,7 @@ static ssize_t do_rbd_add(struct bus_typ
 	rbdc = NULL;		/* rbd_dev now owns this */
 	spec = NULL;		/* rbd_dev now owns this */
 
-	rc = rbd_dev_image_probe(rbd_dev, true);
+	rc = rbd_dev_image_probe(rbd_dev, 0);
 	if (rc < 0)
 		goto err_out_rbd_dev;
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/block/xen-blkfront.c linux-libre-3.14.57-gnu/drivers/block/xen-blkfront.c
--- linux-libre-3.14.56-gnu/drivers/block/xen-blkfront.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/block/xen-blkfront.c	2015-11-09 15:50:58.000000000 -0500
@@ -1917,7 +1917,8 @@ static void blkback_changed(struct xenbu
 			break;
 		/* Missed the backend's Closing state -- fallthrough */
 	case XenbusStateClosing:
-		blkfront_closing(info);
+		if (info)
+			blkfront_closing(info);
 		break;
 	}
 }
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/gpu/drm/i915/intel_display.c linux-libre-3.14.57-gnu/drivers/gpu/drm/i915/intel_display.c
--- linux-libre-3.14.56-gnu/drivers/gpu/drm/i915/intel_display.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/gpu/drm/i915/intel_display.c	2015-11-09 15:50:58.000000000 -0500
@@ -1451,6 +1451,8 @@ static void i9xx_enable_pll(struct intel
 
 	I915_WRITE(reg, dpll);
 
+	I915_WRITE(reg, dpll);
+
 	/* Wait for the clocks to stabilize. */
 	POSTING_READ(reg);
 	udelay(150);
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/gpu/drm/nouveau/nouveau_gem.c linux-libre-3.14.57-gnu/drivers/gpu/drm/nouveau/nouveau_gem.c
--- linux-libre-3.14.56-gnu/drivers/gpu/drm/nouveau/nouveau_gem.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/gpu/drm/nouveau/nouveau_gem.c	2015-11-09 15:50:58.000000000 -0500
@@ -196,11 +196,12 @@ nouveau_gem_info(struct drm_file *file_p
 	struct nouveau_bo *nvbo = nouveau_gem_object(gem);
 	struct nouveau_vma *vma;
 
-	if (nvbo->bo.mem.mem_type == TTM_PL_TT)
+	if (is_power_of_2(nvbo->valid_domains))
+		rep->domain = nvbo->valid_domains;
+	else if (nvbo->bo.mem.mem_type == TTM_PL_TT)
 		rep->domain = NOUVEAU_GEM_DOMAIN_GART;
 	else
 		rep->domain = NOUVEAU_GEM_DOMAIN_VRAM;
-
 	rep->offset = nvbo->bo.offset;
 	if (cli->base.vm) {
 		vma = nouveau_bo_vma_find(nvbo, cli->base.vm);
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/gpu/drm/radeon/radeon.h linux-libre-3.14.57-gnu/drivers/gpu/drm/radeon/radeon.h
--- linux-libre-3.14.56-gnu/drivers/gpu/drm/radeon/radeon.h	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/gpu/drm/radeon/radeon.h	2015-11-09 15:50:58.000000000 -0500
@@ -1551,6 +1551,7 @@ struct radeon_pm {
 	struct device	        *int_hwmon_dev;
 	/* dpm */
 	bool                    dpm_enabled;
+	bool                    sysfs_initialized;
 	struct radeon_dpm       dpm;
 };
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/gpu/drm/radeon/radeon_pm.c linux-libre-3.14.57-gnu/drivers/gpu/drm/radeon/radeon_pm.c
--- linux-libre-3.14.56-gnu/drivers/gpu/drm/radeon/radeon_pm.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/gpu/drm/radeon/radeon_pm.c	2015-11-09 15:50:58.000000000 -0500
@@ -1350,19 +1350,23 @@ int radeon_pm_late_init(struct radeon_de
 
 	if (rdev->pm.pm_method == PM_METHOD_DPM) {
 		if (rdev->pm.dpm_enabled) {
-			ret = device_create_file(rdev->dev, &dev_attr_power_dpm_state);
-			if (ret)
-				DRM_ERROR("failed to create device file for dpm state\n");
-			ret = device_create_file(rdev->dev, &dev_attr_power_dpm_force_performance_level);
-			if (ret)
-				DRM_ERROR("failed to create device file for dpm state\n");
-			/* XXX: these are noops for dpm but are here for backwards compat */
-			ret = device_create_file(rdev->dev, &dev_attr_power_profile);
-			if (ret)
-				DRM_ERROR("failed to create device file for power profile\n");
-			ret = device_create_file(rdev->dev, &dev_attr_power_method);
-			if (ret)
-				DRM_ERROR("failed to create device file for power method\n");
+			if (!rdev->pm.sysfs_initialized) {
+				ret = device_create_file(rdev->dev, &dev_attr_power_dpm_state);
+				if (ret)
+					DRM_ERROR("failed to create device file for dpm state\n");
+				ret = device_create_file(rdev->dev, &dev_attr_power_dpm_force_performance_level);
+				if (ret)
+					DRM_ERROR("failed to create device file for dpm state\n");
+				/* XXX: these are noops for dpm but are here for backwards compat */
+				ret = device_create_file(rdev->dev, &dev_attr_power_profile);
+				if (ret)
+					DRM_ERROR("failed to create device file for power profile\n");
+				ret = device_create_file(rdev->dev, &dev_attr_power_method);
+				if (ret)
+					DRM_ERROR("failed to create device file for power method\n");
+				if (!ret)
+					rdev->pm.sysfs_initialized = true;
+			}
 
 			mutex_lock(&rdev->pm.mutex);
 			ret = radeon_dpm_late_enable(rdev);
@@ -1378,7 +1382,8 @@ int radeon_pm_late_init(struct radeon_de
 			}
 		}
 	} else {
-		if (rdev->pm.num_power_states > 1) {
+		if ((rdev->pm.num_power_states > 1) &&
+		    (!rdev->pm.sysfs_initialized)) {
 			/* where's the best place to put these? */
 			ret = device_create_file(rdev->dev, &dev_attr_power_profile);
 			if (ret)
@@ -1386,6 +1391,8 @@ int radeon_pm_late_init(struct radeon_de
 			ret = device_create_file(rdev->dev, &dev_attr_power_method);
 			if (ret)
 				DRM_ERROR("failed to create device file for power method\n");
+			if (!ret)
+				rdev->pm.sysfs_initialized = true;
 		}
 	}
 	return ret;
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/infiniband/core/cm.c linux-libre-3.14.57-gnu/drivers/infiniband/core/cm.c
--- linux-libre-3.14.56-gnu/drivers/infiniband/core/cm.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/infiniband/core/cm.c	2015-11-09 15:50:58.000000000 -0500
@@ -860,6 +860,11 @@ retest:
 	case IB_CM_SIDR_REQ_RCVD:
 		spin_unlock_irq(&cm_id_priv->lock);
 		cm_reject_sidr_req(cm_id_priv, IB_SIDR_REJECT);
+		spin_lock_irq(&cm.lock);
+		if (!RB_EMPTY_NODE(&cm_id_priv->sidr_id_node))
+			rb_erase(&cm_id_priv->sidr_id_node,
+				 &cm.remote_sidr_table);
+		spin_unlock_irq(&cm.lock);
 		break;
 	case IB_CM_REQ_SENT:
 		ib_cancel_mad(cm_id_priv->av.port->mad_agent, cm_id_priv->msg);
@@ -3099,7 +3104,10 @@ int ib_send_cm_sidr_rep(struct ib_cm_id
 	spin_unlock_irqrestore(&cm_id_priv->lock, flags);
 
 	spin_lock_irqsave(&cm.lock, flags);
-	rb_erase(&cm_id_priv->sidr_id_node, &cm.remote_sidr_table);
+	if (!RB_EMPTY_NODE(&cm_id_priv->sidr_id_node)) {
+		rb_erase(&cm_id_priv->sidr_id_node, &cm.remote_sidr_table);
+		RB_CLEAR_NODE(&cm_id_priv->sidr_id_node);
+	}
 	spin_unlock_irqrestore(&cm.lock, flags);
 	return 0;
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/iommu/amd_iommu.c linux-libre-3.14.57-gnu/drivers/iommu/amd_iommu.c
--- linux-libre-3.14.56-gnu/drivers/iommu/amd_iommu.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/iommu/amd_iommu.c	2015-11-09 15:50:58.000000000 -0500
@@ -2152,8 +2152,8 @@ static void set_dte_entry(u16 devid, str
 static void clear_dte_entry(u16 devid)
 {
 	/* remove entry from the device table seen by the hardware */
-	amd_iommu_dev_table[devid].data[0] = IOMMU_PTE_P | IOMMU_PTE_TV;
-	amd_iommu_dev_table[devid].data[1] = 0;
+	amd_iommu_dev_table[devid].data[0]  = IOMMU_PTE_P | IOMMU_PTE_TV;
+	amd_iommu_dev_table[devid].data[1] &= DTE_FLAG_MASK;
 
 	amd_iommu_apply_erratum_63(devid);
 }
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/iommu/amd_iommu_types.h linux-libre-3.14.57-gnu/drivers/iommu/amd_iommu_types.h
--- linux-libre-3.14.56-gnu/drivers/iommu/amd_iommu_types.h	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/iommu/amd_iommu_types.h	2015-11-09 15:50:58.000000000 -0500
@@ -283,6 +283,7 @@
 #define IOMMU_PTE_IR (1ULL << 61)
 #define IOMMU_PTE_IW (1ULL << 62)
 
+#define DTE_FLAG_MASK	(0x3ffULL << 32)
 #define DTE_FLAG_IOTLB	(0x01UL << 32)
 #define DTE_FLAG_GV	(0x01ULL << 55)
 #define DTE_GLX_SHIFT	(56)
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/md.c linux-libre-3.14.57-gnu/drivers/md/md.c
--- linux-libre-3.14.56-gnu/drivers/md/md.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/md.c	2015-11-09 15:50:58.000000000 -0500
@@ -7775,8 +7775,7 @@ static int remove_and_add_spares(struct
 		       !test_bit(Bitmap_sync, &rdev->flags)))
 			continue;
 
-		if (rdev->saved_raid_disk < 0)
-			rdev->recovery_offset = 0;
+		rdev->recovery_offset = 0;
 		if (mddev->pers->
 		    hot_add_disk(mddev, rdev) == 0) {
 			if (sysfs_link_rdev(mddev, rdev))
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/persistent-data/dm-btree.c linux-libre-3.14.57-gnu/drivers/md/persistent-data/dm-btree.c
--- linux-libre-3.14.56-gnu/drivers/md/persistent-data/dm-btree.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/persistent-data/dm-btree.c	2015-11-09 15:50:58.000000000 -0500
@@ -523,7 +523,7 @@ static int btree_split_beneath(struct sh
 
 	r = new_block(s->info, &right);
 	if (r < 0) {
-		/* FIXME: put left */
+		unlock_block(s->info, left);
 		return r;
 	}
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/persistent-data/dm-btree-remove.c linux-libre-3.14.57-gnu/drivers/md/persistent-data/dm-btree-remove.c
--- linux-libre-3.14.56-gnu/drivers/md/persistent-data/dm-btree-remove.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/persistent-data/dm-btree-remove.c	2015-11-09 15:50:58.000000000 -0500
@@ -301,11 +301,16 @@ static void redistribute3(struct dm_btre
 {
 	int s;
 	uint32_t max_entries = le32_to_cpu(left->header.max_entries);
-	unsigned target = (nr_left + nr_center + nr_right) / 3;
-	BUG_ON(target > max_entries);
+	unsigned total = nr_left + nr_center + nr_right;
+	unsigned target_right = total / 3;
+	unsigned remainder = (target_right * 3) != total;
+	unsigned target_left = target_right + remainder;
+
+	BUG_ON(target_left > max_entries);
+	BUG_ON(target_right > max_entries);
 
 	if (nr_left < nr_right) {
-		s = nr_left - target;
+		s = nr_left - target_left;
 
 		if (s < 0 && nr_center < -s) {
 			/* not enough in central node */
@@ -316,10 +321,10 @@ static void redistribute3(struct dm_btre
 		} else
 			shift(left, center, s);
 
-		shift(center, right, target - nr_right);
+		shift(center, right, target_right - nr_right);
 
 	} else {
-		s = target - nr_right;
+		s = target_right - nr_right;
 		if (s > 0 && nr_center < s) {
 			/* not enough in central node */
 			shift(center, right, nr_center);
@@ -329,7 +334,7 @@ static void redistribute3(struct dm_btre
 		} else
 			shift(center, right, s);
 
-		shift(left, center, nr_left - target);
+		shift(left, center, nr_left - target_left);
 	}
 
 	*key_ptr(parent, c->index) = center->keys[0];
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/raid10.c linux-libre-3.14.57-gnu/drivers/md/raid10.c
--- linux-libre-3.14.56-gnu/drivers/md/raid10.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/raid10.c	2015-11-09 15:50:58.000000000 -0500
@@ -2604,7 +2604,7 @@ static int narrow_write_error(struct r10
 				   choose_data_offset(r10_bio, rdev) +
 				   (sector - r10_bio->sector));
 		wbio->bi_bdev = rdev->bdev;
-		if (submit_bio_wait(WRITE, wbio) == 0)
+		if (submit_bio_wait(WRITE, wbio) < 0)
 			/* Failure! */
 			ok = rdev_set_badblocks(rdev, sector,
 						sectors, 0)
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/raid1.c linux-libre-3.14.57-gnu/drivers/md/raid1.c
--- linux-libre-3.14.56-gnu/drivers/md/raid1.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/raid1.c	2015-11-09 15:50:58.000000000 -0500
@@ -2251,7 +2251,7 @@ static int narrow_write_error(struct r1b
 		bio_trim(wbio, sector - r1_bio->sector, sectors);
 		wbio->bi_iter.bi_sector += rdev->data_offset;
 		wbio->bi_bdev = rdev->bdev;
-		if (submit_bio_wait(WRITE, wbio) == 0)
+		if (submit_bio_wait(WRITE, wbio) < 0)
 			/* failure! */
 			ok = rdev_set_badblocks(rdev, sector,
 						sectors, 0)
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/md/raid5.c linux-libre-3.14.57-gnu/drivers/md/raid5.c
--- linux-libre-3.14.56-gnu/drivers/md/raid5.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/md/raid5.c	2015-11-09 15:50:58.000000000 -0500
@@ -3029,6 +3029,8 @@ static void handle_stripe_clean_event(st
 		}
 	if (!discard_pending &&
 	    test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) {
+		int hash = sh->hash_lock_index;
+
 		clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags);
 		clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags);
 		if (sh->qd_idx >= 0) {
@@ -3042,9 +3044,9 @@ static void handle_stripe_clean_event(st
 		 * no updated data, so remove it from hash list and the stripe
 		 * will be reinitialized
 		 */
-		spin_lock_irq(&conf->device_lock);
+		spin_lock_irq(conf->hash_locks + hash);
 		remove_hash(sh);
-		spin_unlock_irq(&conf->device_lock);
+		spin_unlock_irq(conf->hash_locks + hash);
 		if (test_bit(STRIPE_SYNC_REQUESTED, &sh->state))
 			set_bit(STRIPE_HANDLE, &sh->state);
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/net/ethernet/sfc/selftest.c linux-libre-3.14.57-gnu/drivers/net/ethernet/sfc/selftest.c
--- linux-libre-3.14.56-gnu/drivers/net/ethernet/sfc/selftest.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/net/ethernet/sfc/selftest.c	2015-11-09 15:50:58.000000000 -0500
@@ -46,7 +46,7 @@ struct efx_loopback_payload {
 	struct iphdr ip;
 	struct udphdr udp;
 	__be16 iteration;
-	const char msg[64];
+	char msg[64];
 } __packed;
 
 /* Loopback test source MAC address */
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/net/wireless/ath/ath9k/init.c linux-libre-3.14.57-gnu/drivers/net/wireless/ath/ath9k/init.c
--- linux-libre-3.14.56-gnu/drivers/net/wireless/ath/ath9k/init.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/net/wireless/ath/ath9k/init.c	2015-11-09 15:50:58.000000000 -0500
@@ -956,6 +956,7 @@ static void ath9k_set_hw_capab(struct at
 	hw->max_rate_tries = 10;
 	hw->sta_data_size = sizeof(struct ath_node);
 	hw->vif_data_size = sizeof(struct ath_vif);
+	hw->extra_tx_headroom = 4;
 
 	hw->wiphy->available_antennas_rx = BIT(ah->caps.max_rxchains) - 1;
 	hw->wiphy->available_antennas_tx = BIT(ah->caps.max_txchains) - 1;
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/dvm/lib.c linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/dvm/lib.c
--- linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/dvm/lib.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/dvm/lib.c	2015-11-09 15:50:58.000000000 -0500
@@ -1022,7 +1022,7 @@ static void iwlagn_wowlan_program_keys(s
 			u8 *pn = seq.ccmp.pn;
 
 			ieee80211_get_key_rx_seq(key, i, &seq);
-			aes_sc->pn = cpu_to_le64(
+			aes_sc[i].pn = cpu_to_le64(
 					(u64)pn[5] |
 					((u64)pn[4] << 8) |
 					((u64)pn[3] << 16) |
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/mvm/d3.c linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/mvm/d3.c
--- linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/mvm/d3.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/mvm/d3.c	2015-11-09 15:50:58.000000000 -0500
@@ -297,12 +297,12 @@ static void iwl_mvm_wowlan_program_keys(
 			u8 *pn = seq.ccmp.pn;
 
 			ieee80211_get_key_rx_seq(key, i, &seq);
-			aes_sc->pn = cpu_to_le64((u64)pn[5] |
-						 ((u64)pn[4] << 8) |
-						 ((u64)pn[3] << 16) |
-						 ((u64)pn[2] << 24) |
-						 ((u64)pn[1] << 32) |
-						 ((u64)pn[0] << 40));
+			aes_sc[i].pn = cpu_to_le64((u64)pn[5] |
+						   ((u64)pn[4] << 8) |
+						   ((u64)pn[3] << 16) |
+						   ((u64)pn[2] << 24) |
+						   ((u64)pn[1] << 32) |
+						   ((u64)pn[0] << 40));
 		}
 		data->use_rsc_tsc = true;
 		break;
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/pcie/drv.c linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/pcie/drv.c
--- linux-libre-3.14.56-gnu/drivers/net/wireless/iwlwifi/pcie/drv.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/net/wireless/iwlwifi/pcie/drv.c	2015-11-09 15:50:58.000000000 -0500
@@ -396,6 +396,11 @@ static DEFINE_PCI_DEVICE_TABLE(iwl_hw_ca
 	{IWL_PCI_DEVICE(0x095A, 0x5590, iwl7265_2ac_cfg)},
 	{IWL_PCI_DEVICE(0x095B, 0x5290, iwl7265_2ac_cfg)},
 	{IWL_PCI_DEVICE(0x095A, 0x5490, iwl7265_2ac_cfg)},
+	{IWL_PCI_DEVICE(0x095A, 0x5F10, iwl7265_2ac_cfg)},
+	{IWL_PCI_DEVICE(0x095B, 0x5212, iwl7265_2ac_cfg)},
+	{IWL_PCI_DEVICE(0x095B, 0x520A, iwl7265_2ac_cfg)},
+	{IWL_PCI_DEVICE(0x095A, 0x9000, iwl7265_2ac_cfg)},
+	{IWL_PCI_DEVICE(0x095A, 0x9400, iwl7265_2ac_cfg)},
 #endif /* CONFIG_IWLMVM */
 
 	{0}
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/power/bq24190_charger.c linux-libre-3.14.57-gnu/drivers/power/bq24190_charger.c
--- linux-libre-3.14.56-gnu/drivers/power/bq24190_charger.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/power/bq24190_charger.c	2015-11-09 15:50:58.000000000 -0500
@@ -1208,7 +1208,7 @@ static irqreturn_t bq24190_irq_handler_t
 {
 	struct bq24190_dev_info *bdi = data;
 	bool alert_userspace = false;
-	u8 ss_reg, f_reg;
+	u8 ss_reg = 0, f_reg = 0;
 	int ret;
 
 	pm_runtime_get_sync(bdi->dev);
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/scsi/mvsas/mv_sas.c linux-libre-3.14.57-gnu/drivers/scsi/mvsas/mv_sas.c
--- linux-libre-3.14.56-gnu/drivers/scsi/mvsas/mv_sas.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/scsi/mvsas/mv_sas.c	2015-11-09 15:50:58.000000000 -0500
@@ -988,6 +988,8 @@ static void mvs_slot_free(struct mvs_inf
 static void mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task,
 			  struct mvs_slot_info *slot, u32 slot_idx)
 {
+	if (!slot)
+		return;
 	if (!slot->task)
 		return;
 	if (!sas_protocol_ata(task->task_proto))
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/spi/spi-gpio.c linux-libre-3.14.57-gnu/drivers/spi/spi-gpio.c
--- linux-libre-3.14.56-gnu/drivers/spi/spi-gpio.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/spi/spi-gpio.c	2015-11-09 15:50:58.000000000 -0500
@@ -250,7 +250,7 @@ static int spi_gpio_setup(struct spi_dev
 		/*
 		 * ... otherwise, take it from spi->controller_data
 		 */
-		cs = (unsigned int) spi->controller_data;
+		cs = (unsigned int)(uintptr_t) spi->controller_data;
 	}
 
 	if (!spi->controller_state) {
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/staging/iio/adc/mxs-lradc.c linux-libre-3.14.57-gnu/drivers/staging/iio/adc/mxs-lradc.c
--- linux-libre-3.14.56-gnu/drivers/staging/iio/adc/mxs-lradc.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/staging/iio/adc/mxs-lradc.c	2015-11-09 15:50:58.000000000 -0500
@@ -920,11 +920,12 @@ static int mxs_lradc_read_raw(struct iio
 	case IIO_CHAN_INFO_OFFSET:
 		if (chan->type == IIO_TEMP) {
 			/* The calculated value from the ADC is in Kelvin, we
-			 * want Celsius for hwmon so the offset is
-			 * -272.15 * scale
+			 * want Celsius for hwmon so the offset is -273.15
+			 * The offset is applied before scaling so it is
+			 * actually -213.15 * 4 / 1.012 = -1079.644268
 			 */
-			*val = -1075;
-			*val2 = 691699;
+			*val = -1079;
+			*val2 = 644268;
 
 			return IIO_VAL_INT_PLUS_MICRO;
 		}
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/tty/serial/8250/8250_pci.c linux-libre-3.14.57-gnu/drivers/tty/serial/8250/8250_pci.c
--- linux-libre-3.14.56-gnu/drivers/tty/serial/8250/8250_pci.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/tty/serial/8250/8250_pci.c	2015-11-09 15:50:58.000000000 -0500
@@ -1772,6 +1772,9 @@ pci_wch_ch353_setup(struct serial_privat
 #define PCI_DEVICE_ID_SUNIX_1999	0x1999
 
 
+#define PCI_DEVICE_ID_EXAR_XR17V4358	0x4358
+#define PCI_DEVICE_ID_EXAR_XR17V8358	0x8358
+
 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */
 #define PCI_SUBDEVICE_ID_UNKNOWN_0x1584	0x1584
 #define PCI_SUBDEVICE_ID_UNKNOWN_0x1588	0x1588
@@ -2266,6 +2269,20 @@ static struct pci_serial_quirk pci_seria
 		.subdevice	= PCI_ANY_ID,
 		.setup		= pci_xr17v35x_setup,
 	},
+	{
+		.vendor = PCI_VENDOR_ID_EXAR,
+		.device = PCI_DEVICE_ID_EXAR_XR17V4358,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.setup		= pci_xr17v35x_setup,
+	},
+	{
+		.vendor = PCI_VENDOR_ID_EXAR,
+		.device = PCI_DEVICE_ID_EXAR_XR17V8358,
+		.subvendor	= PCI_ANY_ID,
+		.subdevice	= PCI_ANY_ID,
+		.setup		= pci_xr17v35x_setup,
+	},
 	/*
 	 * Xircom cards
 	 */
@@ -2706,6 +2723,8 @@ enum pci_board_num_t {
 	pbn_exar_XR17V352,
 	pbn_exar_XR17V354,
 	pbn_exar_XR17V358,
+	pbn_exar_XR17V4358,
+	pbn_exar_XR17V8358,
 	pbn_exar_ibm_saturn,
 	pbn_pasemi_1682M,
 	pbn_ni8430_2,
@@ -3375,6 +3394,22 @@ static struct pciserial_board pci_boards
 		.reg_shift	= 0,
 		.first_offset	= 0,
 	},
+	[pbn_exar_XR17V4358] = {
+		.flags		= FL_BASE0,
+		.num_ports	= 12,
+		.base_baud	= 7812500,
+		.uart_offset	= 0x400,
+		.reg_shift	= 0,
+		.first_offset	= 0,
+	},
+	[pbn_exar_XR17V8358] = {
+		.flags		= FL_BASE0,
+		.num_ports	= 16,
+		.base_baud	= 7812500,
+		.uart_offset	= 0x400,
+		.reg_shift	= 0,
+		.first_offset	= 0,
+	},
 	[pbn_exar_ibm_saturn] = {
 		.flags		= FL_BASE0,
 		.num_ports	= 1,
@@ -4731,7 +4766,7 @@ static struct pci_device_id serial_pci_t
 		0,
 		0, pbn_exar_XR17C158 },
 	/*
-	 * Exar Corp. XR17V35[248] Dual/Quad/Octal PCIe UARTs
+	 * Exar Corp. XR17V[48]35[248] Dual/Quad/Octal/Hexa PCIe UARTs
 	 */
 	{	PCI_VENDOR_ID_EXAR, PCI_DEVICE_ID_EXAR_XR17V352,
 		PCI_ANY_ID, PCI_ANY_ID,
@@ -4745,7 +4780,14 @@ static struct pci_device_id serial_pci_t
 		PCI_ANY_ID, PCI_ANY_ID,
 		0,
 		0, pbn_exar_XR17V358 },
-
+	{	PCI_VENDOR_ID_EXAR, PCI_DEVICE_ID_EXAR_XR17V4358,
+		PCI_ANY_ID, PCI_ANY_ID,
+		0,
+		0, pbn_exar_XR17V4358 },
+	{	PCI_VENDOR_ID_EXAR, PCI_DEVICE_ID_EXAR_XR17V8358,
+		PCI_ANY_ID, PCI_ANY_ID,
+		0,
+		0, pbn_exar_XR17V8358 },
 	/*
 	 * Topic TP560 Data/Fax/Voice 56k modem (reported by Evan Clarke)
 	 */
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/usb/host/xhci-pci.c linux-libre-3.14.57-gnu/drivers/usb/host/xhci-pci.c
--- linux-libre-3.14.56-gnu/drivers/usb/host/xhci-pci.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/usb/host/xhci-pci.c	2015-11-09 15:50:58.000000000 -0500
@@ -140,6 +140,7 @@ static void xhci_pci_quirks(struct devic
 			xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
 
 		xhci->quirks |= XHCI_SPURIOUS_REBOOT;
+		xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
 	}
 	if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
 			pdev->device == PCI_DEVICE_ID_ASROCK_P67) {
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/usb/host/xhci-ring.c linux-libre-3.14.57-gnu/drivers/usb/host/xhci-ring.c
--- linux-libre-3.14.56-gnu/drivers/usb/host/xhci-ring.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/usb/host/xhci-ring.c	2015-11-09 15:50:58.000000000 -0500
@@ -2417,6 +2417,7 @@ static int handle_tx_event(struct xhci_h
 	u32 trb_comp_code;
 	int ret = 0;
 	int td_num = 0;
+	bool handling_skipped_tds = false;
 
 	slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags));
 	xdev = xhci->devs[slot_id];
@@ -2550,6 +2551,10 @@ static int handle_tx_event(struct xhci_h
 		ep->skip = true;
 		xhci_dbg(xhci, "Miss service interval error, set skip flag\n");
 		goto cleanup;
+	case COMP_PING_ERR:
+		ep->skip = true;
+		xhci_dbg(xhci, "No Ping response error, Skip one Isoc TD\n");
+		goto cleanup;
 	default:
 		if (xhci_is_vendor_info_code(xhci, trb_comp_code)) {
 			status = 0;
@@ -2681,13 +2686,18 @@ static int handle_tx_event(struct xhci_h
 						 ep, &status);
 
 cleanup:
+
+
+		handling_skipped_tds = ep->skip &&
+			trb_comp_code != COMP_MISSED_INT &&
+			trb_comp_code != COMP_PING_ERR;
+
 		/*
-		 * Do not update event ring dequeue pointer if ep->skip is set.
-		 * Will roll back to continue process missed tds.
+		 * Do not update event ring dequeue pointer if we're in a loop
+		 * processing missed tds.
 		 */
-		if (trb_comp_code == COMP_MISSED_INT || !ep->skip) {
+		if (!handling_skipped_tds)
 			inc_deq(xhci, xhci->event_ring);
-		}
 
 		if (ret) {
 			urb = td->urb;
@@ -2722,7 +2732,7 @@ cleanup:
 	 * Process them as short transfer until reach the td pointed by
 	 * the event.
 	 */
-	} while (ep->skip && trb_comp_code != COMP_MISSED_INT);
+	} while (handling_skipped_tds);
 
 	return 0;
 }
diff -druNp --no-dereference linux-libre-3.14.56-gnu/drivers/vhost/scsi.c linux-libre-3.14.57-gnu/drivers/vhost/scsi.c
--- linux-libre-3.14.56-gnu/drivers/vhost/scsi.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/drivers/vhost/scsi.c	2015-11-09 15:50:58.000000000 -0500
@@ -1139,7 +1139,7 @@ tcm_vhost_send_evt(struct vhost_scsi *vs
 		 * lun[4-7] need to be zero according to virtio-scsi spec.
 		 */
 		evt->event.lun[0] = 0x01;
-		evt->event.lun[1] = tpg->tport_tpgt & 0xFF;
+		evt->event.lun[1] = tpg->tport_tpgt;
 		if (lun->unpacked_lun >= 256)
 			evt->event.lun[2] = lun->unpacked_lun >> 8 | 0x40 ;
 		evt->event.lun[3] = lun->unpacked_lun & 0xFF;
@@ -2004,12 +2004,12 @@ tcm_vhost_make_tpg(struct se_wwn *wwn,
 			struct tcm_vhost_tport, tport_wwn);
 
 	struct tcm_vhost_tpg *tpg;
-	unsigned long tpgt;
+	u16 tpgt;
 	int ret;
 
 	if (strstr(name, "tpgt_") != name)
 		return ERR_PTR(-EINVAL);
-	if (kstrtoul(name + 5, 10, &tpgt) || tpgt > UINT_MAX)
+	if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET)
 		return ERR_PTR(-EINVAL);
 
 	tpg = kzalloc(sizeof(struct tcm_vhost_tpg), GFP_KERNEL);
diff -druNp --no-dereference linux-libre-3.14.56-gnu/include/sound/wm8904.h linux-libre-3.14.57-gnu/include/sound/wm8904.h
--- linux-libre-3.14.56-gnu/include/sound/wm8904.h	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/include/sound/wm8904.h	2015-11-09 15:50:58.000000000 -0500
@@ -119,7 +119,7 @@
 #define WM8904_MIC_REGS  2
 #define WM8904_GPIO_REGS 4
 #define WM8904_DRC_REGS  4
-#define WM8904_EQ_REGS   25
+#define WM8904_EQ_REGS   24
 
 /**
  * DRC configurations are specified with a label and a set of register
diff -druNp --no-dereference linux-libre-3.14.56-gnu/kernel/module.c linux-libre-3.14.57-gnu/kernel/module.c
--- linux-libre-3.14.56-gnu/kernel/module.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/kernel/module.c	2015-11-09 15:50:58.000000000 -0500
@@ -915,11 +915,15 @@ void symbol_put_addr(void *addr)
 	if (core_kernel_text(a))
 		return;
 
-	/* module_text_address is safe here: we're supposed to have reference
-	 * to module from symbol_get, so it can't go away. */
+	/*
+	 * Even though we hold a reference on the module; we still need to
+	 * disable preemption in order to safely traverse the data structure.
+	 */
+	preempt_disable();
 	modaddr = __module_text_address(a);
 	BUG_ON(!modaddr);
 	module_put(modaddr);
+	preempt_enable();
 }
 EXPORT_SYMBOL_GPL(symbol_put_addr);
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/Makefile linux-libre-3.14.57-gnu/Makefile
--- linux-libre-3.14.56-gnu/Makefile	2015-10-27 03:47:39.000000000 -0400
+++ linux-libre-3.14.57-gnu/Makefile	2015-11-10 14:27:42.000000000 -0500
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 14
-SUBLEVEL = 56
+SUBLEVEL = 57
 EXTRAVERSION =-gnu
 NAME = Remembering Coco
 
diff -druNp --no-dereference linux-libre-3.14.56-gnu/mm/filemap.c linux-libre-3.14.57-gnu/mm/filemap.c
--- linux-libre-3.14.56-gnu/mm/filemap.c	2015-10-26 20:46:24.000000000 -0400
+++ linux-libre-3.14.57-gnu/mm/filemap.c	2015-11-09 15:50:58.000000000 -0500
@@ -2509,6 +2509,11 @@ again:
 			break;
 		}
 
+		if (fatal_signal_pending(current)) {
+			status = -EINTR;
+			break;
+		}
+
 		status = a_ops->write_begin(file, mapping, pos, bytes, flags,
 						&page, &fsdata);
 		if (unlikely(status < 0))
@@ -2546,10 +2551,6 @@ again:
 		written += copied;
 
 		balance_dirty_pages_ratelimited(mapping);
-		if (fatal_signal_pending(current)) {
-			status = -EINTR;
-			break;
-		}
 	} while (iov_iter_count(i));
 
 	return written ? written : status;
