diff -druNp --no-dereference linux-libre-3.14.14-gnu/arch/parisc/include/uapi/asm/signal.h linux-libre-3.14.15-gnu/arch/parisc/include/uapi/asm/signal.h
--- linux-libre-3.14.14-gnu/arch/parisc/include/uapi/asm/signal.h	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/arch/parisc/include/uapi/asm/signal.h	2014-07-31 17:51:43.000000000 -0400
@@ -69,8 +69,6 @@
 #define SA_NOMASK	SA_NODEFER
 #define SA_ONESHOT	SA_RESETHAND
 
-#define SA_RESTORER	0x04000000 /* obsolete -- ignored */
-
 #define MINSIGSTKSZ	2048
 #define SIGSTKSZ	8192
 
diff -druNp --no-dereference linux-libre-3.14.14-gnu/arch/s390/kernel/ptrace.c linux-libre-3.14.15-gnu/arch/s390/kernel/ptrace.c
--- linux-libre-3.14.14-gnu/arch/s390/kernel/ptrace.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/arch/s390/kernel/ptrace.c	2014-07-31 17:51:43.000000000 -0400
@@ -323,9 +323,14 @@ static int __poke_user(struct task_struc
 			unsigned long mask = PSW_MASK_USER;
 
 			mask |= is_ri_task(child) ? PSW_MASK_RI : 0;
-			if ((data & ~mask) != PSW_USER_BITS)
+			if ((data ^ PSW_USER_BITS) & ~mask)
+				/* Invalid psw mask. */
+				return -EINVAL;
+			if ((data & PSW_MASK_ASC) == PSW_ASC_HOME)
+				/* Invalid address-space-control bits */
 				return -EINVAL;
 			if ((data & PSW_MASK_EA) && !(data & PSW_MASK_BA))
+				/* Invalid addressing mode bits */
 				return -EINVAL;
 		}
 		*(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr) = data;
@@ -661,9 +666,12 @@ static int __poke_user_compat(struct tas
 
 			mask |= is_ri_task(child) ? PSW32_MASK_RI : 0;
 			/* Build a 64 bit psw mask from 31 bit mask. */
-			if ((tmp & ~mask) != PSW32_USER_BITS)
+			if ((tmp ^ PSW32_USER_BITS) & ~mask)
 				/* Invalid psw mask. */
 				return -EINVAL;
+			if ((data & PSW32_MASK_ASC) == PSW32_ASC_HOME)
+				/* Invalid address-space-control bits */
+				return -EINVAL;
 			regs->psw.mask = (regs->psw.mask & ~PSW_MASK_USER) |
 				(regs->psw.mask & PSW_MASK_BA) |
 				(__u64)(tmp & mask) << 32;
diff -druNp --no-dereference linux-libre-3.14.14-gnu/arch/x86/boot/header.S linux-libre-3.14.15-gnu/arch/x86/boot/header.S
--- linux-libre-3.14.14-gnu/arch/x86/boot/header.S	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/arch/x86/boot/header.S	2014-07-31 17:51:43.000000000 -0400
@@ -91,10 +91,9 @@ bs_die:
 
 	.section ".bsdata", "a"
 bugger_off_msg:
-	.ascii	"Direct floppy boot is not supported. "
-	.ascii	"Use a boot loader program instead.\r\n"
+	.ascii	"Use a boot loader.\r\n"
 	.ascii	"\n"
-	.ascii	"Remove disk and press any key to reboot ...\r\n"
+	.ascii	"Remove disk and press any key to reboot...\r\n"
 	.byte	0
 
 #ifdef CONFIG_EFI_STUB
@@ -108,7 +107,7 @@ coff_header:
 #else
 	.word	0x8664				# x86-64
 #endif
-	.word	3				# nr_sections
+	.word	4				# nr_sections
 	.long	0 				# TimeDateStamp
 	.long	0				# PointerToSymbolTable
 	.long	1				# NumberOfSymbols
@@ -250,6 +249,25 @@ section_table:
 	.word	0				# NumberOfLineNumbers
 	.long	0x60500020			# Characteristics (section flags)
 
+	#
+	# The offset & size fields are filled in by build.c.
+	#
+	.ascii	".bss"
+	.byte	0
+	.byte	0
+	.byte	0
+	.byte	0
+	.long	0
+	.long	0x0
+	.long	0				# Size of initialized data
+						# on disk
+	.long	0x0
+	.long	0				# PointerToRelocations
+	.long	0				# PointerToLineNumbers
+	.word	0				# NumberOfRelocations
+	.word	0				# NumberOfLineNumbers
+	.long	0xc8000080			# Characteristics (section flags)
+
 #endif /* CONFIG_EFI_STUB */
 
 	# Kernel attributes; used by setup.  This is part 1 of the
diff -druNp --no-dereference linux-libre-3.14.14-gnu/arch/x86/boot/tools/build.c linux-libre-3.14.15-gnu/arch/x86/boot/tools/build.c
--- linux-libre-3.14.14-gnu/arch/x86/boot/tools/build.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/arch/x86/boot/tools/build.c	2014-07-31 17:51:43.000000000 -0400
@@ -142,7 +142,7 @@ static void usage(void)
 
 #ifdef CONFIG_EFI_STUB
 
-static void update_pecoff_section_header(char *section_name, u32 offset, u32 size)
+static void update_pecoff_section_header_fields(char *section_name, u32 vma, u32 size, u32 datasz, u32 offset)
 {
 	unsigned int pe_header;
 	unsigned short num_sections;
@@ -163,10 +163,10 @@ static void update_pecoff_section_header
 			put_unaligned_le32(size, section + 0x8);
 
 			/* section header vma field */
-			put_unaligned_le32(offset, section + 0xc);
+			put_unaligned_le32(vma, section + 0xc);
 
 			/* section header 'size of initialised data' field */
-			put_unaligned_le32(size, section + 0x10);
+			put_unaligned_le32(datasz, section + 0x10);
 
 			/* section header 'file offset' field */
 			put_unaligned_le32(offset, section + 0x14);
@@ -178,6 +178,11 @@ static void update_pecoff_section_header
 	}
 }
 
+static void update_pecoff_section_header(char *section_name, u32 offset, u32 size)
+{
+	update_pecoff_section_header_fields(section_name, offset, size, size, offset);
+}
+
 static void update_pecoff_setup_and_reloc(unsigned int size)
 {
 	u32 setup_offset = 0x200;
@@ -202,9 +207,6 @@ static void update_pecoff_text(unsigned
 
 	pe_header = get_unaligned_le32(&buf[0x3c]);
 
-	/* Size of image */
-	put_unaligned_le32(file_sz, &buf[pe_header + 0x50]);
-
 	/*
 	 * Size of code: Subtract the size of the first sector (512 bytes)
 	 * which includes the header.
@@ -219,6 +221,22 @@ static void update_pecoff_text(unsigned
 	update_pecoff_section_header(".text", text_start, text_sz);
 }
 
+static void update_pecoff_bss(unsigned int file_sz, unsigned int init_sz)
+{
+	unsigned int pe_header;
+	unsigned int bss_sz = init_sz - file_sz;
+
+	pe_header = get_unaligned_le32(&buf[0x3c]);
+
+	/* Size of uninitialized data */
+	put_unaligned_le32(bss_sz, &buf[pe_header + 0x24]);
+
+	/* Size of image */
+	put_unaligned_le32(init_sz, &buf[pe_header + 0x50]);
+
+	update_pecoff_section_header_fields(".bss", file_sz, bss_sz, 0, 0);
+}
+
 #endif /* CONFIG_EFI_STUB */
 
 
@@ -270,6 +288,9 @@ int main(int argc, char ** argv)
 	int fd;
 	void *kernel;
 	u32 crc = 0xffffffffUL;
+#ifdef CONFIG_EFI_STUB
+	unsigned int init_sz;
+#endif
 
 	/* Defaults for old kernel */
 #ifdef CONFIG_X86_32
@@ -343,7 +364,9 @@ int main(int argc, char ** argv)
 	put_unaligned_le32(sys_size, &buf[0x1f4]);
 
 #ifdef CONFIG_EFI_STUB
-	update_pecoff_text(setup_sectors * 512, sz + i + ((sys_size * 16) - sz));
+	update_pecoff_text(setup_sectors * 512, i + (sys_size * 16));
+	init_sz = get_unaligned_le32(&buf[0x260]);
+	update_pecoff_bss(i + (sys_size * 16), init_sz);
 
 #ifdef CONFIG_X86_64 /* Yes, this is really how we defined it :( */
 	efi_stub_entry -= 0x200;
diff -druNp --no-dereference linux-libre-3.14.14-gnu/arch/x86/kernel/entry_32.S linux-libre-3.14.15-gnu/arch/x86/kernel/entry_32.S
--- linux-libre-3.14.14-gnu/arch/x86/kernel/entry_32.S	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/arch/x86/kernel/entry_32.S	2014-07-31 17:51:43.000000000 -0400
@@ -433,8 +433,8 @@ sysenter_do_call:
 	cmpl $(NR_syscalls), %eax
 	jae sysenter_badsys
 	call *sys_call_table(,%eax,4)
-	movl %eax,PT_EAX(%esp)
 sysenter_after_call:
+	movl %eax,PT_EAX(%esp)
 	LOCKDEP_SYS_EXIT
 	DISABLE_INTERRUPTS(CLBR_ANY)
 	TRACE_IRQS_OFF
@@ -514,6 +514,7 @@ ENTRY(system_call)
 	jae syscall_badsys
 syscall_call:
 	call *sys_call_table(,%eax,4)
+syscall_after_call:
 	movl %eax,PT_EAX(%esp)		# store the return value
 syscall_exit:
 	LOCKDEP_SYS_EXIT
@@ -683,12 +684,12 @@ syscall_fault:
 END(syscall_fault)
 
 syscall_badsys:
-	movl $-ENOSYS,PT_EAX(%esp)
-	jmp syscall_exit
+	movl $-ENOSYS,%eax
+	jmp syscall_after_call
 END(syscall_badsys)
 
 sysenter_badsys:
-	movl $-ENOSYS,PT_EAX(%esp)
+	movl $-ENOSYS,%eax
 	jmp sysenter_after_call
 END(syscall_badsys)
 	CFI_ENDPROC
diff -druNp --no-dereference linux-libre-3.14.14-gnu/block/blk-cgroup.c linux-libre-3.14.15-gnu/block/blk-cgroup.c
--- linux-libre-3.14.14-gnu/block/blk-cgroup.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/block/blk-cgroup.c	2014-07-31 17:51:43.000000000 -0400
@@ -859,6 +859,13 @@ void blkcg_drain_queue(struct request_qu
 {
 	lockdep_assert_held(q->queue_lock);
 
+	/*
+	 * @q could be exiting and already have destroyed all blkgs as
+	 * indicated by NULL root_blkg.  If so, don't confuse policies.
+	 */
+	if (!q->root_blkg)
+		return;
+
 	blk_throtl_drain(q);
 }
 
diff -druNp --no-dereference linux-libre-3.14.14-gnu/block/blk-tag.c linux-libre-3.14.15-gnu/block/blk-tag.c
--- linux-libre-3.14.14-gnu/block/blk-tag.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/block/blk-tag.c	2014-07-31 17:51:43.000000000 -0400
@@ -27,18 +27,15 @@ struct request *blk_queue_find_tag(struc
 EXPORT_SYMBOL(blk_queue_find_tag);
 
 /**
- * __blk_free_tags - release a given set of tag maintenance info
+ * blk_free_tags - release a given set of tag maintenance info
  * @bqt:	the tag map to free
  *
- * Tries to free the specified @bqt.  Returns true if it was
- * actually freed and false if there are still references using it
+ * Drop the reference count on @bqt and frees it when the last reference
+ * is dropped.
  */
-static int __blk_free_tags(struct blk_queue_tag *bqt)
+void blk_free_tags(struct blk_queue_tag *bqt)
 {
-	int retval;
-
-	retval = atomic_dec_and_test(&bqt->refcnt);
-	if (retval) {
+	if (atomic_dec_and_test(&bqt->refcnt)) {
 		BUG_ON(find_first_bit(bqt->tag_map, bqt->max_depth) <
 							bqt->max_depth);
 
@@ -50,9 +47,8 @@ static int __blk_free_tags(struct blk_qu
 
 		kfree(bqt);
 	}
-
-	return retval;
 }
+EXPORT_SYMBOL(blk_free_tags);
 
 /**
  * __blk_queue_free_tags - release tag maintenance info
@@ -69,28 +65,13 @@ void __blk_queue_free_tags(struct reques
 	if (!bqt)
 		return;
 
-	__blk_free_tags(bqt);
+	blk_free_tags(bqt);
 
 	q->queue_tags = NULL;
 	queue_flag_clear_unlocked(QUEUE_FLAG_QUEUED, q);
 }
 
 /**
- * blk_free_tags - release a given set of tag maintenance info
- * @bqt:	the tag map to free
- *
- * For externally managed @bqt frees the map.  Callers of this
- * function must guarantee to have released all the queues that
- * might have been using this tag map.
- */
-void blk_free_tags(struct blk_queue_tag *bqt)
-{
-	if (unlikely(!__blk_free_tags(bqt)))
-		BUG();
-}
-EXPORT_SYMBOL(blk_free_tags);
-
-/**
  * blk_queue_free_tags - release tag maintenance info
  * @q:  the request queue for the device
  *
diff -druNp --no-dereference linux-libre-3.14.14-gnu/block/compat_ioctl.c linux-libre-3.14.15-gnu/block/compat_ioctl.c
--- linux-libre-3.14.14-gnu/block/compat_ioctl.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/block/compat_ioctl.c	2014-07-31 17:51:43.000000000 -0400
@@ -690,6 +690,7 @@ long compat_blkdev_ioctl(struct file *fi
 	case BLKROSET:
 	case BLKDISCARD:
 	case BLKSECDISCARD:
+	case BLKZEROOUT:
 	/*
 	 * the ones below are implemented in blkdev_locked_ioctl,
 	 * but we call blkdev_ioctl, which gets the lock for us
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/ata/ahci.c linux-libre-3.14.15-gnu/drivers/ata/ahci.c
--- linux-libre-3.14.14-gnu/drivers/ata/ahci.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/ata/ahci.c	2014-07-31 17:51:43.000000000 -0400
@@ -457,6 +457,7 @@ static const struct pci_device_id ahci_p
 
 	/* Promise */
 	{ PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },	/* PDC42819 */
+	{ PCI_VDEVICE(PROMISE, 0x3781), board_ahci },   /* FastTrak TX8660 ahci-mode */
 
 	/* Asmedia */
 	{ PCI_VDEVICE(ASMEDIA, 0x0601), board_ahci },	/* ASM1060 */
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/ata/libata-core.c linux-libre-3.14.15-gnu/drivers/ata/libata-core.c
--- linux-libre-3.14.14-gnu/drivers/ata/libata-core.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/ata/libata-core.c	2014-07-31 17:51:43.000000000 -0400
@@ -4787,6 +4787,10 @@ void swap_buf_le16(u16 *buf, unsigned in
  *	ata_qc_new - Request an available ATA command, for queueing
  *	@ap: target port
  *
+ *	Some ATA host controllers may implement a queue depth which is less
+ *	than ATA_MAX_QUEUE. So we shouldn't allocate a tag which is beyond
+ *	the hardware limitation.
+ *
  *	LOCKING:
  *	None.
  */
@@ -4794,14 +4798,15 @@ void swap_buf_le16(u16 *buf, unsigned in
 static struct ata_queued_cmd *ata_qc_new(struct ata_port *ap)
 {
 	struct ata_queued_cmd *qc = NULL;
+	unsigned int max_queue = ap->host->n_tags;
 	unsigned int i, tag;
 
 	/* no command while frozen */
 	if (unlikely(ap->pflags & ATA_PFLAG_FROZEN))
 		return NULL;
 
-	for (i = 0; i < ATA_MAX_QUEUE; i++) {
-		tag = (i + ap->last_tag + 1) % ATA_MAX_QUEUE;
+	for (i = 0, tag = ap->last_tag + 1; i < max_queue; i++, tag++) {
+		tag = tag < max_queue ? tag : 0;
 
 		/* the last tag is reserved for internal command. */
 		if (tag == ATA_TAG_INTERNAL)
@@ -6103,6 +6108,7 @@ void ata_host_init(struct ata_host *host
 {
 	spin_lock_init(&host->lock);
 	mutex_init(&host->eh_mutex);
+	host->n_tags = ATA_MAX_QUEUE - 1;
 	host->dev = dev;
 	host->ops = ops;
 }
@@ -6184,6 +6190,8 @@ int ata_host_register(struct ata_host *h
 {
 	int i, rc;
 
+	host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE - 1);
+
 	/* host must have been started */
 	if (!(host->flags & ATA_HOST_STARTED)) {
 		dev_err(host->dev, "BUG: trying to register unstarted host\n");
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/base/platform.c linux-libre-3.14.15-gnu/drivers/base/platform.c
--- linux-libre-3.14.14-gnu/drivers/base/platform.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/base/platform.c	2014-07-31 17:51:43.000000000 -0400
@@ -89,8 +89,13 @@ int platform_get_irq(struct platform_dev
 	return dev->archdata.irqs[num];
 #else
 	struct resource *r;
-	if (IS_ENABLED(CONFIG_OF_IRQ) && dev->dev.of_node)
-		return of_irq_get(dev->dev.of_node, num);
+	if (IS_ENABLED(CONFIG_OF_IRQ) && dev->dev.of_node) {
+		int ret;
+
+		ret = of_irq_get(dev->dev.of_node, num);
+		if (ret >= 0 || ret == -EPROBE_DEFER)
+			return ret;
+	}
 
 	r = platform_get_resource(dev, IORESOURCE_IRQ, num);
 
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/cik.c linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/cik.c
--- linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/cik.c	2014-07-28 17:55:14.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/cik.c	2014-08-01 01:27:57.000000000 -0400
@@ -2190,6 +2190,7 @@ static void cik_tiling_mode_table_init(s
 				gb_tile_moden = 0;
 				break;
 			}
+			rdev->config.cik.macrotile_mode_array[reg_offset] = gb_tile_moden;
 			WREG32(GB_MACROTILE_MODE0 + (reg_offset * 4), gb_tile_moden);
 		}
 	} else if (num_pipe_configs == 8) {
@@ -7241,6 +7242,7 @@ static inline u32 cik_get_ih_wptr(struct
 		tmp = RREG32(IH_RB_CNTL);
 		tmp |= IH_WPTR_OVERFLOW_CLEAR;
 		WREG32(IH_RB_CNTL, tmp);
+		wptr &= ~RB_OVERFLOW;
 	}
 	return (wptr & rdev->ih.ptr_mask);
 }
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/evergreen.c linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/evergreen.c
--- linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/evergreen.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/evergreen.c	2014-07-31 17:51:43.000000000 -0400
@@ -4763,6 +4763,7 @@ static u32 evergreen_get_ih_wptr(struct
 		tmp = RREG32(IH_RB_CNTL);
 		tmp |= IH_WPTR_OVERFLOW_CLEAR;
 		WREG32(IH_RB_CNTL, tmp);
+		wptr &= ~RB_OVERFLOW;
 	}
 	return (wptr & rdev->ih.ptr_mask);
 }
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/r600.c linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/r600.c
--- linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/r600.c	2014-07-28 17:54:58.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/r600.c	2014-08-01 01:27:41.000000000 -0400
@@ -3747,6 +3747,7 @@ static u32 r600_get_ih_wptr(struct radeo
 		tmp = RREG32(IH_RB_CNTL);
 		tmp |= IH_WPTR_OVERFLOW_CLEAR;
 		WREG32(IH_RB_CNTL, tmp);
+		wptr &= ~RB_OVERFLOW;
 	}
 	return (wptr & rdev->ih.ptr_mask);
 }
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/si.c linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/si.c
--- linux-libre-3.14.14-gnu/drivers/gpu/drm/radeon/si.c	2014-07-28 17:55:08.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/gpu/drm/radeon/si.c	2014-08-01 01:27:51.000000000 -0400
@@ -6064,6 +6064,7 @@ static inline u32 si_get_ih_wptr(struct
 		tmp = RREG32(IH_RB_CNTL);
 		tmp |= IH_WPTR_OVERFLOW_CLEAR;
 		WREG32(IH_RB_CNTL, tmp);
+		wptr &= ~RB_OVERFLOW;
 	}
 	return (wptr & rdev->ih.ptr_mask);
 }
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/hwmon/smsc47m192.c linux-libre-3.14.15-gnu/drivers/hwmon/smsc47m192.c
--- linux-libre-3.14.14-gnu/drivers/hwmon/smsc47m192.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/hwmon/smsc47m192.c	2014-07-31 17:51:43.000000000 -0400
@@ -86,7 +86,7 @@ static inline u8 IN_TO_REG(unsigned long
  */
 static inline s8 TEMP_TO_REG(int val)
 {
-	return clamp_val(SCALE(val, 1, 1000), -128000, 127000);
+	return SCALE(clamp_val(val, -128000, 127000), 1, 1000);
 }
 
 static inline int TEMP_FROM_REG(s8 val)
@@ -384,6 +384,8 @@ static ssize_t set_vrm(struct device *de
 	err = kstrtoul(buf, 10, &val);
 	if (err)
 		return err;
+	if (val > 255)
+		return -EINVAL;
 
 	data->vrm = val;
 	return count;
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/input/input.c linux-libre-3.14.15-gnu/drivers/input/input.c
--- linux-libre-3.14.14-gnu/drivers/input/input.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/input/input.c	2014-07-31 17:51:43.000000000 -0400
@@ -257,9 +257,10 @@ static int input_handle_abs_event(struct
 }
 
 static int input_get_disposition(struct input_dev *dev,
-			  unsigned int type, unsigned int code, int value)
+			  unsigned int type, unsigned int code, int *pval)
 {
 	int disposition = INPUT_IGNORE_EVENT;
+	int value = *pval;
 
 	switch (type) {
 
@@ -357,6 +358,7 @@ static int input_get_disposition(struct
 		break;
 	}
 
+	*pval = value;
 	return disposition;
 }
 
@@ -365,7 +367,7 @@ static void input_handle_event(struct in
 {
 	int disposition;
 
-	disposition = input_get_disposition(dev, type, code, value);
+	disposition = input_get_disposition(dev, type, code, &value);
 
 	if ((disposition & INPUT_PASS_TO_DEVICE) && dev->event)
 		dev->event(dev, type, code, value);
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/input/mouse/synaptics.c linux-libre-3.14.15-gnu/drivers/input/mouse/synaptics.c
--- linux-libre-3.14.14-gnu/drivers/input/mouse/synaptics.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/input/mouse/synaptics.c	2014-07-31 17:51:43.000000000 -0400
@@ -132,7 +132,8 @@ static const struct min_max_quirk min_ma
 		1232, 5710, 1156, 4696
 	},
 	{
-		(const char * const []){"LEN0034", "LEN0036", "LEN2004", NULL},
+		(const char * const []){"LEN0034", "LEN0036", "LEN2002",
+					"LEN2004", NULL},
 		1024, 5112, 2024, 4832
 	},
 	{
@@ -168,7 +169,7 @@ static const char * const topbuttonpad_p
 	"LEN0049",
 	"LEN2000",
 	"LEN2001", /* Edge E431 */
-	"LEN2002",
+	"LEN2002", /* Edge E531 */
 	"LEN2003",
 	"LEN2004", /* L440 */
 	"LEN2005",
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/media/dvb-frontends/tda10071.c linux-libre-3.14.15-gnu/drivers/media/dvb-frontends/tda10071.c
--- linux-libre-3.14.14-gnu/drivers/media/dvb-frontends/tda10071.c	2014-07-28 17:57:19.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/media/dvb-frontends/tda10071.c	2014-08-01 01:30:03.000000000 -0400
@@ -667,6 +667,7 @@ static int tda10071_set_frontend(struct
 	struct dtv_frontend_properties *c = &fe->dtv_property_cache;
 	int ret, i;
 	u8 mode, rolloff, pilot, inversion, div;
+	fe_modulation_t modulation;
 
 	dev_dbg(&priv->i2c->dev, "%s: delivery_system=%d modulation=%d " \
 		"frequency=%d symbol_rate=%d inversion=%d pilot=%d " \
@@ -701,10 +702,13 @@ static int tda10071_set_frontend(struct
 
 	switch (c->delivery_system) {
 	case SYS_DVBS:
+		modulation = QPSK;
 		rolloff = 0;
 		pilot = 2;
 		break;
 	case SYS_DVBS2:
+		modulation = c->modulation;
+
 		switch (c->rolloff) {
 		case ROLLOFF_20:
 			rolloff = 2;
@@ -749,7 +753,7 @@ static int tda10071_set_frontend(struct
 
 	for (i = 0, mode = 0xff; i < ARRAY_SIZE(TDA10071_MODCOD); i++) {
 		if (c->delivery_system == TDA10071_MODCOD[i].delivery_system &&
-			c->modulation == TDA10071_MODCOD[i].modulation &&
+			modulation == TDA10071_MODCOD[i].modulation &&
 			c->fec_inner == TDA10071_MODCOD[i].fec) {
 			mode = TDA10071_MODCOD[i].val;
 			dev_dbg(&priv->i2c->dev, "%s: mode found=%02x\n",
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/media/usb/hdpvr/hdpvr-video.c linux-libre-3.14.15-gnu/drivers/media/usb/hdpvr/hdpvr-video.c
--- linux-libre-3.14.14-gnu/drivers/media/usb/hdpvr/hdpvr-video.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/media/usb/hdpvr/hdpvr-video.c	2014-07-31 17:51:43.000000000 -0400
@@ -82,7 +82,7 @@ static void hdpvr_read_bulk_callback(str
 }
 
 /*=========================================================================*/
-/* bufffer bits */
+/* buffer bits */
 
 /* function expects dev->io_mutex to be hold by caller */
 int hdpvr_cancel_queue(struct hdpvr_device *dev)
@@ -926,7 +926,7 @@ static int hdpvr_s_ctrl(struct v4l2_ctrl
 	case V4L2_CID_MPEG_AUDIO_ENCODING:
 		if (dev->flags & HDPVR_FLAG_AC3_CAP) {
 			opt->audio_codec = ctrl->val;
-			return hdpvr_set_audio(dev, opt->audio_input,
+			return hdpvr_set_audio(dev, opt->audio_input + 1,
 					      opt->audio_codec);
 		}
 		return 0;
@@ -1198,7 +1198,7 @@ int hdpvr_register_videodev(struct hdpvr
 	v4l2_ctrl_new_std_menu(hdl, &hdpvr_ctrl_ops,
 		V4L2_CID_MPEG_AUDIO_ENCODING,
 		ac3 ? V4L2_MPEG_AUDIO_ENCODING_AC3 : V4L2_MPEG_AUDIO_ENCODING_AAC,
-		0x7, V4L2_MPEG_AUDIO_ENCODING_AAC);
+		0x7, ac3 ? dev->options.audio_codec : V4L2_MPEG_AUDIO_ENCODING_AAC);
 	v4l2_ctrl_new_std_menu(hdl, &hdpvr_ctrl_ops,
 		V4L2_CID_MPEG_VIDEO_ENCODING,
 		V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC, 0x3,
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/media/v4l2-core/v4l2-dv-timings.c linux-libre-3.14.15-gnu/drivers/media/v4l2-core/v4l2-dv-timings.c
--- linux-libre-3.14.14-gnu/drivers/media/v4l2-core/v4l2-dv-timings.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/media/v4l2-core/v4l2-dv-timings.c	2014-07-31 17:51:43.000000000 -0400
@@ -595,10 +595,10 @@ struct v4l2_fract v4l2_calc_aspect_ratio
 		aspect.denominator = 9;
 	} else if (ratio == 34) {
 		aspect.numerator = 4;
-		aspect.numerator = 3;
+		aspect.denominator = 3;
 	} else if (ratio == 68) {
 		aspect.numerator = 15;
-		aspect.numerator = 9;
+		aspect.denominator = 9;
 	} else {
 		aspect.numerator = hor_landscape + 99;
 		aspect.denominator = 100;
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/parport/Kconfig linux-libre-3.14.15-gnu/drivers/parport/Kconfig
--- linux-libre-3.14.14-gnu/drivers/parport/Kconfig	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/parport/Kconfig	2014-07-31 17:51:43.000000000 -0400
@@ -5,6 +5,12 @@
 # Parport configuration.
 #
 
+config ARCH_MIGHT_HAVE_PC_PARPORT
+	bool
+	help
+	  Select this config option from the architecture Kconfig if
+	  the architecture might have PC parallel port hardware.
+
 menuconfig PARPORT
 	tristate "Parallel port support"
 	depends on HAS_IOMEM
@@ -31,12 +37,6 @@ menuconfig PARPORT
 
 	  If unsure, say Y.
 
-config ARCH_MIGHT_HAVE_PC_PARPORT
-	bool
-	help
-	  Select this config option from the architecture Kconfig if
-	  the architecture might have PC parallel port hardware.
-
 if PARPORT
 
 config PARPORT_PC
diff -druNp --no-dereference linux-libre-3.14.14-gnu/drivers/staging/media/omap4iss/Kconfig linux-libre-3.14.15-gnu/drivers/staging/media/omap4iss/Kconfig
--- linux-libre-3.14.14-gnu/drivers/staging/media/omap4iss/Kconfig	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/drivers/staging/media/omap4iss/Kconfig	2014-07-31 17:51:43.000000000 -0400
@@ -1,6 +1,6 @@
 config VIDEO_OMAP4
 	bool "OMAP 4 Camera support"
-	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && I2C && ARCH_OMAP4
+	depends on VIDEO_V4L2=y && VIDEO_V4L2_SUBDEV_API && I2C=y && ARCH_OMAP4
 	select VIDEOBUF2_DMA_CONTIG
 	---help---
 	  Driver for an OMAP 4 ISS controller.
diff -druNp --no-dereference linux-libre-3.14.14-gnu/fs/coredump.c linux-libre-3.14.15-gnu/fs/coredump.c
--- linux-libre-3.14.14-gnu/fs/coredump.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/fs/coredump.c	2014-07-31 17:51:43.000000000 -0400
@@ -306,7 +306,7 @@ static int zap_threads(struct task_struc
 	if (unlikely(nr < 0))
 		return nr;
 
-	tsk->flags = PF_DUMPCORE;
+	tsk->flags |= PF_DUMPCORE;
 	if (atomic_read(&mm->mm_users) == nr + 1)
 		goto done;
 	/*
diff -druNp --no-dereference linux-libre-3.14.14-gnu/fs/namei.c linux-libre-3.14.15-gnu/fs/namei.c
--- linux-libre-3.14.14-gnu/fs/namei.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/fs/namei.c	2014-07-31 17:51:43.000000000 -0400
@@ -2247,9 +2247,10 @@ done:
 		goto out;
 	}
 	path->dentry = dentry;
-	path->mnt = mntget(nd->path.mnt);
+	path->mnt = nd->path.mnt;
 	if (should_follow_link(dentry, nd->flags & LOOKUP_FOLLOW))
 		return 1;
+	mntget(path->mnt);
 	follow_mount(path);
 	error = 0;
 out:
diff -druNp --no-dereference linux-libre-3.14.14-gnu/fs/nfs/nfs3acl.c linux-libre-3.14.15-gnu/fs/nfs/nfs3acl.c
--- linux-libre-3.14.14-gnu/fs/nfs/nfs3acl.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/fs/nfs/nfs3acl.c	2014-07-31 17:51:43.000000000 -0400
@@ -247,3 +247,46 @@ const struct xattr_handler *nfs3_xattr_h
 	&posix_acl_default_xattr_handler,
 	NULL,
 };
+
+static int
+nfs3_list_one_acl(struct inode *inode, int type, const char *name, void *data,
+		size_t size, ssize_t *result)
+{
+	struct posix_acl *acl;
+	char *p = data + *result;
+
+	acl = get_acl(inode, type);
+	if (!acl)
+		return 0;
+
+	posix_acl_release(acl);
+
+	*result += strlen(name);
+	*result += 1;
+	if (!size)
+		return 0;
+	if (*result > size)
+		return -ERANGE;
+
+	strcpy(p, name);
+	return 0;
+}
+
+ssize_t
+nfs3_listxattr(struct dentry *dentry, char *data, size_t size)
+{
+	struct inode *inode = dentry->d_inode;
+	ssize_t result = 0;
+	int error;
+
+	error = nfs3_list_one_acl(inode, ACL_TYPE_ACCESS,
+			POSIX_ACL_XATTR_ACCESS, data, size, &result);
+	if (error)
+		return error;
+
+	error = nfs3_list_one_acl(inode, ACL_TYPE_DEFAULT,
+			POSIX_ACL_XATTR_DEFAULT, data, size, &result);
+	if (error)
+		return error;
+	return result;
+}
diff -druNp --no-dereference linux-libre-3.14.14-gnu/fs/nfs/nfs3proc.c linux-libre-3.14.15-gnu/fs/nfs/nfs3proc.c
--- linux-libre-3.14.14-gnu/fs/nfs/nfs3proc.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/fs/nfs/nfs3proc.c	2014-07-31 17:51:43.000000000 -0400
@@ -926,7 +926,7 @@ static const struct inode_operations nfs
 	.getattr	= nfs_getattr,
 	.setattr	= nfs_setattr,
 #ifdef CONFIG_NFS_V3_ACL
-	.listxattr	= generic_listxattr,
+	.listxattr	= nfs3_listxattr,
 	.getxattr	= generic_getxattr,
 	.setxattr	= generic_setxattr,
 	.removexattr	= generic_removexattr,
@@ -940,7 +940,7 @@ static const struct inode_operations nfs
 	.getattr	= nfs_getattr,
 	.setattr	= nfs_setattr,
 #ifdef CONFIG_NFS_V3_ACL
-	.listxattr	= generic_listxattr,
+	.listxattr	= nfs3_listxattr,
 	.getxattr	= generic_getxattr,
 	.setxattr	= generic_setxattr,
 	.removexattr	= generic_removexattr,
diff -druNp --no-dereference linux-libre-3.14.14-gnu/include/linux/libata.h linux-libre-3.14.15-gnu/include/linux/libata.h
--- linux-libre-3.14.14-gnu/include/linux/libata.h	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/include/linux/libata.h	2014-07-31 17:51:43.000000000 -0400
@@ -593,6 +593,7 @@ struct ata_host {
 	struct device 		*dev;
 	void __iomem * const	*iomap;
 	unsigned int		n_ports;
+	unsigned int		n_tags;			/* nr of NCQ tags */
 	void			*private_data;
 	struct ata_port_operations *ops;
 	unsigned long		flags;
diff -druNp --no-dereference linux-libre-3.14.14-gnu/kernel/trace/trace.c linux-libre-3.14.15-gnu/kernel/trace/trace.c
--- linux-libre-3.14.14-gnu/kernel/trace/trace.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/kernel/trace/trace.c	2014-07-31 17:51:43.000000000 -0400
@@ -811,7 +811,7 @@ static struct {
 	{ trace_clock_local,	"local",	1 },
 	{ trace_clock_global,	"global",	1 },
 	{ trace_clock_counter,	"counter",	0 },
-	{ trace_clock_jiffies,	"uptime",	1 },
+	{ trace_clock_jiffies,	"uptime",	0 },
 	{ trace_clock,		"perf",		1 },
 	ARCH_TRACE_CLOCKS
 };
diff -druNp --no-dereference linux-libre-3.14.14-gnu/kernel/trace/trace_clock.c linux-libre-3.14.15-gnu/kernel/trace/trace_clock.c
--- linux-libre-3.14.14-gnu/kernel/trace/trace_clock.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/kernel/trace/trace_clock.c	2014-07-31 17:51:43.000000000 -0400
@@ -59,13 +59,14 @@ u64 notrace trace_clock(void)
 
 /*
  * trace_jiffy_clock(): Simply use jiffies as a clock counter.
+ * Note that this use of jiffies_64 is not completely safe on
+ * 32-bit systems. But the window is tiny, and the effect if
+ * we are affected is that we will have an obviously bogus
+ * timestamp on a trace event - i.e. not life threatening.
  */
 u64 notrace trace_clock_jiffies(void)
 {
-	u64 jiffy = jiffies - INITIAL_JIFFIES;
-
-	/* Return nsecs */
-	return (u64)jiffies_to_usecs(jiffy) * 1000ULL;
+	return jiffies_64_to_clock_t(jiffies_64 - INITIAL_JIFFIES);
 }
 
 /*
diff -druNp --no-dereference linux-libre-3.14.14-gnu/Makefile linux-libre-3.14.15-gnu/Makefile
--- linux-libre-3.14.14-gnu/Makefile	2014-07-28 17:53:37.000000000 -0400
+++ linux-libre-3.14.15-gnu/Makefile	2014-08-01 01:26:20.000000000 -0400
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 14
-SUBLEVEL = 14
+SUBLEVEL = 15
 EXTRAVERSION =-gnu
 NAME = Remembering Coco
 
@@ -639,6 +639,8 @@ KBUILD_CFLAGS	+= -fomit-frame-pointer
 endif
 endif
 
+KBUILD_CFLAGS   += $(call cc-option, -fno-var-tracking-assignments)
+
 ifdef CONFIG_DEBUG_INFO
 KBUILD_CFLAGS	+= -g
 KBUILD_AFLAGS	+= -Wa,--gdwarf-2
diff -druNp --no-dereference linux-libre-3.14.14-gnu/mm/hugetlb.c linux-libre-3.14.15-gnu/mm/hugetlb.c
--- linux-libre-3.14.14-gnu/mm/hugetlb.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/mm/hugetlb.c	2014-07-31 17:51:43.000000000 -0400
@@ -2422,6 +2422,7 @@ int copy_hugetlb_page_range(struct mm_st
 		} else {
 			if (cow)
 				huge_ptep_set_wrprotect(src, addr, src_pte);
+			entry = huge_ptep_get(src_pte);
 			ptepage = pte_page(entry);
 			get_page(ptepage);
 			page_dup_rmap(ptepage);
diff -druNp --no-dereference linux-libre-3.14.14-gnu/mm/slab_common.c linux-libre-3.14.15-gnu/mm/slab_common.c
--- linux-libre-3.14.14-gnu/mm/slab_common.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/mm/slab_common.c	2014-07-31 17:51:43.000000000 -0400
@@ -56,7 +56,7 @@ static int kmem_cache_sanity_check(struc
 			continue;
 		}
 
-#if !defined(CONFIG_SLUB) || !defined(CONFIG_SLUB_DEBUG_ON)
+#if !defined(CONFIG_SLUB)
 		/*
 		 * For simplicity, we won't check this in the list of memcg
 		 * caches. We have control over memcg naming, and if there
diff -druNp --no-dereference linux-libre-3.14.14-gnu/net/wireless/nl80211.c linux-libre-3.14.15-gnu/net/wireless/nl80211.c
--- linux-libre-3.14.14-gnu/net/wireless/nl80211.c	2014-07-28 11:07:25.000000000 -0400
+++ linux-libre-3.14.15-gnu/net/wireless/nl80211.c	2014-07-31 17:51:43.000000000 -0400
@@ -1450,18 +1450,17 @@ static int nl80211_send_wiphy(struct cfg
 		}
 		CMD(start_p2p_device, START_P2P_DEVICE);
 		CMD(set_mcast_rate, SET_MCAST_RATE);
+#ifdef CONFIG_NL80211_TESTMODE
+		CMD(testmode_cmd, TESTMODE);
+#endif
 		if (state->split) {
 			CMD(crit_proto_start, CRIT_PROTOCOL_START);
 			CMD(crit_proto_stop, CRIT_PROTOCOL_STOP);
 			if (dev->wiphy.flags & WIPHY_FLAG_HAS_CHANNEL_SWITCH)
 				CMD(channel_switch, CHANNEL_SWITCH);
+			CMD(set_qos_map, SET_QOS_MAP);
 		}
-		CMD(set_qos_map, SET_QOS_MAP);
-
-#ifdef CONFIG_NL80211_TESTMODE
-		CMD(testmode_cmd, TESTMODE);
-#endif
-
+		/* add into the if now */
 #undef CMD
 
 		if (dev->ops->connect || dev->ops->auth) {
