diff -druNp --no-dereference linux-libre-3.14.43-gnu/arch/arm/boot/dts/imx27.dtsi linux-libre-3.14.44-gnu/arch/arm/boot/dts/imx27.dtsi
--- linux-libre-3.14.43-gnu/arch/arm/boot/dts/imx27.dtsi	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/arch/arm/boot/dts/imx27.dtsi	2015-06-06 11:19:54.000000000 -0400
@@ -428,7 +428,7 @@
 
 			fec: ethernet@1002b000 {
 				compatible = "fsl,imx27-fec";
-				reg = <0x1002b000 0x4000>;
+				reg = <0x1002b000 0x1000>;
 				interrupts = <50>;
 				clocks = <&clks 48>, <&clks 67>;
 				clock-names = "ipg", "ahb";
diff -druNp --no-dereference linux-libre-3.14.43-gnu/arch/arm/kernel/entry-common.S linux-libre-3.14.44-gnu/arch/arm/kernel/entry-common.S
--- linux-libre-3.14.43-gnu/arch/arm/kernel/entry-common.S	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/arch/arm/kernel/entry-common.S	2015-06-06 11:19:54.000000000 -0400
@@ -32,7 +32,9 @@ ret_fast_syscall:
  UNWIND(.fnstart	)
  UNWIND(.cantunwind	)
 	disable_irq				@ disable interrupts
-	ldr	r1, [tsk, #TI_FLAGS]
+	ldr	r1, [tsk, #TI_FLAGS]		@ re-check for syscall tracing
+	tst	r1, #_TIF_SYSCALL_WORK
+	bne	__sys_trace_return
 	tst	r1, #_TIF_WORK_MASK
 	bne	fast_work_pending
 	asm_trace_hardirqs_on
diff -druNp --no-dereference linux-libre-3.14.43-gnu/arch/powerpc/kernel/vmlinux.lds.S linux-libre-3.14.44-gnu/arch/powerpc/kernel/vmlinux.lds.S
--- linux-libre-3.14.43-gnu/arch/powerpc/kernel/vmlinux.lds.S	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/arch/powerpc/kernel/vmlinux.lds.S	2015-06-06 11:19:54.000000000 -0400
@@ -213,6 +213,7 @@ SECTIONS
 		*(.opd)
 	}
 
+	. = ALIGN(256);
 	.got : AT(ADDR(.got) - LOAD_OFFSET) {
 		__toc_start = .;
 #ifndef CONFIG_RELOCATABLE
diff -druNp --no-dereference linux-libre-3.14.43-gnu/arch/s390/crypto/ghash_s390.c linux-libre-3.14.44-gnu/arch/s390/crypto/ghash_s390.c
--- linux-libre-3.14.43-gnu/arch/s390/crypto/ghash_s390.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/arch/s390/crypto/ghash_s390.c	2015-06-06 11:19:54.000000000 -0400
@@ -16,11 +16,12 @@
 #define GHASH_DIGEST_SIZE	16
 
 struct ghash_ctx {
-	u8 icv[16];
-	u8 key[16];
+	u8 key[GHASH_BLOCK_SIZE];
 };
 
 struct ghash_desc_ctx {
+	u8 icv[GHASH_BLOCK_SIZE];
+	u8 key[GHASH_BLOCK_SIZE];
 	u8 buffer[GHASH_BLOCK_SIZE];
 	u32 bytes;
 };
@@ -28,8 +29,10 @@ struct ghash_desc_ctx {
 static int ghash_init(struct shash_desc *desc)
 {
 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
+	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
 
 	memset(dctx, 0, sizeof(*dctx));
+	memcpy(dctx->key, ctx->key, GHASH_BLOCK_SIZE);
 
 	return 0;
 }
@@ -45,7 +48,6 @@ static int ghash_setkey(struct crypto_sh
 	}
 
 	memcpy(ctx->key, key, GHASH_BLOCK_SIZE);
-	memset(ctx->icv, 0, GHASH_BLOCK_SIZE);
 
 	return 0;
 }
@@ -54,7 +56,6 @@ static int ghash_update(struct shash_des
 			 const u8 *src, unsigned int srclen)
 {
 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
-	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
 	unsigned int n;
 	u8 *buf = dctx->buffer;
 	int ret;
@@ -70,7 +71,7 @@ static int ghash_update(struct shash_des
 		src += n;
 
 		if (!dctx->bytes) {
-			ret = crypt_s390_kimd(KIMD_GHASH, ctx, buf,
+			ret = crypt_s390_kimd(KIMD_GHASH, dctx, buf,
 					      GHASH_BLOCK_SIZE);
 			if (ret != GHASH_BLOCK_SIZE)
 				return -EIO;
@@ -79,7 +80,7 @@ static int ghash_update(struct shash_des
 
 	n = srclen & ~(GHASH_BLOCK_SIZE - 1);
 	if (n) {
-		ret = crypt_s390_kimd(KIMD_GHASH, ctx, src, n);
+		ret = crypt_s390_kimd(KIMD_GHASH, dctx, src, n);
 		if (ret != n)
 			return -EIO;
 		src += n;
@@ -94,7 +95,7 @@ static int ghash_update(struct shash_des
 	return 0;
 }
 
-static int ghash_flush(struct ghash_ctx *ctx, struct ghash_desc_ctx *dctx)
+static int ghash_flush(struct ghash_desc_ctx *dctx)
 {
 	u8 *buf = dctx->buffer;
 	int ret;
@@ -104,24 +105,24 @@ static int ghash_flush(struct ghash_ctx
 
 		memset(pos, 0, dctx->bytes);
 
-		ret = crypt_s390_kimd(KIMD_GHASH, ctx, buf, GHASH_BLOCK_SIZE);
+		ret = crypt_s390_kimd(KIMD_GHASH, dctx, buf, GHASH_BLOCK_SIZE);
 		if (ret != GHASH_BLOCK_SIZE)
 			return -EIO;
+
+		dctx->bytes = 0;
 	}
 
-	dctx->bytes = 0;
 	return 0;
 }
 
 static int ghash_final(struct shash_desc *desc, u8 *dst)
 {
 	struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
-	struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
 	int ret;
 
-	ret = ghash_flush(ctx, dctx);
+	ret = ghash_flush(dctx);
 	if (!ret)
-		memcpy(dst, ctx->icv, GHASH_BLOCK_SIZE);
+		memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE);
 	return ret;
 }
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/arch/x86/kvm/mmu.c linux-libre-3.14.44-gnu/arch/x86/kvm/mmu.c
--- linux-libre-3.14.43-gnu/arch/x86/kvm/mmu.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/arch/x86/kvm/mmu.c	2015-06-06 11:19:54.000000000 -0400
@@ -4078,7 +4078,7 @@ void kvm_mmu_pte_write(struct kvm_vcpu *
 	++vcpu->kvm->stat.mmu_pte_write;
 	kvm_mmu_audit(vcpu, AUDIT_PRE_PTE_WRITE);
 
-	mask.cr0_wp = mask.cr4_pae = mask.nxe = 1;
+	mask.cr0_wp = mask.cr4_pae = mask.nxe = mask.smep_andnot_wp = 1;
 	for_each_gfn_indirect_valid_sp(vcpu->kvm, sp, gfn) {
 		if (detect_write_misaligned(sp, gpa, bytes) ||
 		      detect_write_flooding(sp)) {
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/acpi/osl.c linux-libre-3.14.44-gnu/drivers/acpi/osl.c
--- linux-libre-3.14.43-gnu/drivers/acpi/osl.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/acpi/osl.c	2015-06-06 11:19:54.000000000 -0400
@@ -172,7 +172,7 @@ static void __init acpi_request_region (
 		request_mem_region(addr, length, desc);
 }
 
-static int __init acpi_reserve_resources(void)
+static void __init acpi_reserve_resources(void)
 {
 	acpi_request_region(&acpi_gbl_FADT.xpm1a_event_block, acpi_gbl_FADT.pm1_event_length,
 		"ACPI PM1a_EVT_BLK");
@@ -201,10 +201,7 @@ static int __init acpi_reserve_resources
 	if (!(acpi_gbl_FADT.gpe1_block_length & 0x1))
 		acpi_request_region(&acpi_gbl_FADT.xgpe1_block,
 			       acpi_gbl_FADT.gpe1_block_length, "ACPI GPE1_BLK");
-
-	return 0;
 }
-device_initcall(acpi_reserve_resources);
 
 void acpi_os_printf(const char *fmt, ...)
 {
@@ -1792,6 +1789,7 @@ acpi_status __init acpi_os_initialize(vo
 
 acpi_status __init acpi_os_initialize1(void)
 {
+	acpi_reserve_resources();
 	kacpid_wq = alloc_workqueue("kacpid", 0, 1);
 	kacpi_notify_wq = alloc_workqueue("kacpi_notify", 0, 1);
 	kacpi_hotplug_wq = alloc_ordered_workqueue("kacpi_hotplug", 0);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/ata/libahci.c linux-libre-3.14.44-gnu/drivers/ata/libahci.c
--- linux-libre-3.14.43-gnu/drivers/ata/libahci.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/ata/libahci.c	2015-06-06 11:19:54.000000000 -0400
@@ -1693,8 +1693,7 @@ static void ahci_handle_port_interrupt(s
 	if (unlikely(resetting))
 		status &= ~PORT_IRQ_BAD_PMP;
 
-	/* if LPM is enabled, PHYRDY doesn't mean anything */
-	if (ap->link.lpm_policy > ATA_LPM_MAX_POWER) {
+	if (sata_lpm_ignore_phy_events(&ap->link)) {
 		status &= ~PORT_IRQ_PHYRDY;
 		ahci_scr_write(&ap->link, SCR_ERROR, SERR_PHYRDY_CHG);
 	}
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/ata/libata-core.c linux-libre-3.14.44-gnu/drivers/ata/libata-core.c
--- linux-libre-3.14.43-gnu/drivers/ata/libata-core.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/ata/libata-core.c	2015-06-06 11:19:54.000000000 -0400
@@ -6825,6 +6825,38 @@ u32 ata_wait_register(struct ata_port *a
 	return tmp;
 }
 
+/**
+ *	sata_lpm_ignore_phy_events - test if PHY event should be ignored
+ *	@link: Link receiving the event
+ *
+ *	Test whether the received PHY event has to be ignored or not.
+ *
+ *	LOCKING:
+ *	None:
+ *
+ *	RETURNS:
+ *	True if the event has to be ignored.
+ */
+bool sata_lpm_ignore_phy_events(struct ata_link *link)
+{
+	unsigned long lpm_timeout = link->last_lpm_change +
+				    msecs_to_jiffies(ATA_TMOUT_SPURIOUS_PHY);
+
+	/* if LPM is enabled, PHYRDY doesn't mean anything */
+	if (link->lpm_policy > ATA_LPM_MAX_POWER)
+		return true;
+
+	/* ignore the first PHY event after the LPM policy changed
+	 * as it is might be spurious
+	 */
+	if ((link->flags & ATA_LFLAG_CHANGED) &&
+	    time_before(jiffies, lpm_timeout))
+		return true;
+
+	return false;
+}
+EXPORT_SYMBOL_GPL(sata_lpm_ignore_phy_events);
+
 /*
  * Dummy port_ops
  */
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/ata/libata-eh.c linux-libre-3.14.44-gnu/drivers/ata/libata-eh.c
--- linux-libre-3.14.43-gnu/drivers/ata/libata-eh.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/ata/libata-eh.c	2015-06-06 11:19:54.000000000 -0400
@@ -3488,6 +3488,9 @@ static int ata_eh_set_lpm(struct ata_lin
 		}
 	}
 
+	link->last_lpm_change = jiffies;
+	link->flags |= ATA_LFLAG_CHANGED;
+
 	return 0;
 
 fail:
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/gpio/gpio-kempld.c linux-libre-3.14.44-gnu/drivers/gpio/gpio-kempld.c
--- linux-libre-3.14.43-gnu/drivers/gpio/gpio-kempld.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/gpio/gpio-kempld.c	2015-06-06 11:19:54.000000000 -0400
@@ -117,7 +117,7 @@ static int kempld_gpio_get_direction(str
 		= container_of(chip, struct kempld_gpio_data, chip);
 	struct kempld_device_data *pld = gpio->pld;
 
-	return kempld_gpio_get_bit(pld, KEMPLD_GPIO_DIR_NUM(offset), offset);
+	return !kempld_gpio_get_bit(pld, KEMPLD_GPIO_DIR_NUM(offset), offset);
 }
 
 static int kempld_gpio_pincount(struct kempld_device_data *pld)
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/cik.c linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/cik.c
--- linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/cik.c	2015-05-17 17:02:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/cik.c	2015-06-06 16:03:37.000000000 -0400
@@ -5331,7 +5331,7 @@ static int cik_pcie_gart_enable(struct r
 	 */
 	/* set vm size, must be a multiple of 4 */
 	WREG32(VM_CONTEXT1_PAGE_TABLE_START_ADDR, 0);
-	WREG32(VM_CONTEXT1_PAGE_TABLE_END_ADDR, rdev->vm_manager.max_pfn);
+	WREG32(VM_CONTEXT1_PAGE_TABLE_END_ADDR, rdev->vm_manager.max_pfn - 1);
 	for (i = 1; i < 16; i++) {
 		if (i < 8)
 			WREG32(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (i << 2),
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/ni.c linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/ni.c
--- linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/ni.c	2015-05-17 17:01:42.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/ni.c	2015-06-06 16:03:27.000000000 -0400
@@ -1236,7 +1236,8 @@ static int cayman_pcie_gart_enable(struc
 	 */
 	for (i = 1; i < 8; i++) {
 		WREG32(VM_CONTEXT0_PAGE_TABLE_START_ADDR + (i << 2), 0);
-		WREG32(VM_CONTEXT0_PAGE_TABLE_END_ADDR + (i << 2), rdev->vm_manager.max_pfn);
+		WREG32(VM_CONTEXT0_PAGE_TABLE_END_ADDR + (i << 2),
+			rdev->vm_manager.max_pfn - 1);
 		WREG32(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (i << 2),
 			rdev->gart.table_addr >> 12);
 	}
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/si.c linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/si.c
--- linux-libre-3.14.43-gnu/drivers/gpu/drm/radeon/si.c	2015-05-17 17:01:51.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/gpu/drm/radeon/si.c	2015-06-06 16:03:32.000000000 -0400
@@ -4050,7 +4050,7 @@ static int si_pcie_gart_enable(struct ra
 	/* empty context1-15 */
 	/* set vm size, must be a multiple of 4 */
 	WREG32(VM_CONTEXT1_PAGE_TABLE_START_ADDR, 0);
-	WREG32(VM_CONTEXT1_PAGE_TABLE_END_ADDR, rdev->vm_manager.max_pfn);
+	WREG32(VM_CONTEXT1_PAGE_TABLE_END_ADDR, rdev->vm_manager.max_pfn - 1);
 	/* Assign the pt base to something valid for now; the pts used for
 	 * the VMs are determined by the application and setup and assigned
 	 * on the fly in the vm part of radeon_gart.c
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/hwmon/nct6775.c linux-libre-3.14.44-gnu/drivers/hwmon/nct6775.c
--- linux-libre-3.14.43-gnu/drivers/hwmon/nct6775.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/hwmon/nct6775.c	2015-06-06 11:19:54.000000000 -0400
@@ -986,6 +986,7 @@ nct6775_create_attr_group(struct device
 				 (*t)->dev_attr.attr.name, tg->base + i);
 			if ((*t)->s2) {
 				a2 = &su->u.a2;
+				sysfs_attr_init(&a2->dev_attr.attr);
 				a2->dev_attr.attr.name = su->name;
 				a2->nr = (*t)->u.s.nr + i;
 				a2->index = (*t)->u.s.index;
@@ -996,6 +997,7 @@ nct6775_create_attr_group(struct device
 				*attrs = &a2->dev_attr.attr;
 			} else {
 				a = &su->u.a1;
+				sysfs_attr_init(&a->dev_attr.attr);
 				a->dev_attr.attr.name = su->name;
 				a->index = (*t)->u.index + i;
 				a->dev_attr.attr.mode =
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/hwmon/ntc_thermistor.c linux-libre-3.14.44-gnu/drivers/hwmon/ntc_thermistor.c
--- linux-libre-3.14.43-gnu/drivers/hwmon/ntc_thermistor.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/hwmon/ntc_thermistor.c	2015-06-06 11:19:54.000000000 -0400
@@ -181,8 +181,10 @@ static struct ntc_thermistor_platform_da
 ntc_thermistor_parse_dt(struct platform_device *pdev)
 {
 	struct iio_channel *chan;
+	enum iio_chan_type type;
 	struct device_node *np = pdev->dev.of_node;
 	struct ntc_thermistor_platform_data *pdata;
+	int ret;
 
 	if (!np)
 		return NULL;
@@ -195,6 +197,13 @@ ntc_thermistor_parse_dt(struct platform_
 	if (IS_ERR(chan))
 		return ERR_CAST(chan);
 
+	ret = iio_get_channel_type(chan, &type);
+	if (ret < 0)
+		return ERR_PTR(ret);
+
+	if (type != IIO_VOLTAGE)
+		return ERR_PTR(-EINVAL);
+
 	if (of_property_read_u32(np, "pullup-uv", &pdata->pullup_uv))
 		return ERR_PTR(-ENODEV);
 	if (of_property_read_u32(np, "pullup-ohm", &pdata->pullup_ohm))
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/input/mouse/elantech.c linux-libre-3.14.44-gnu/drivers/input/mouse/elantech.c
--- linux-libre-3.14.43-gnu/drivers/input/mouse/elantech.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/input/mouse/elantech.c	2015-06-06 11:19:54.000000000 -0400
@@ -314,7 +314,7 @@ static void elantech_report_semi_mt_data
 					 unsigned int x2, unsigned int y2)
 {
 	elantech_set_slot(dev, 0, num_fingers != 0, x1, y1);
-	elantech_set_slot(dev, 1, num_fingers == 2, x2, y2);
+	elantech_set_slot(dev, 1, num_fingers >= 2, x2, y2);
 }
 
 /*
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/lguest/core.c linux-libre-3.14.44-gnu/drivers/lguest/core.c
--- linux-libre-3.14.43-gnu/drivers/lguest/core.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/lguest/core.c	2015-06-06 11:19:54.000000000 -0400
@@ -176,7 +176,7 @@ static void unmap_switcher(void)
 bool lguest_address_ok(const struct lguest *lg,
 		       unsigned long addr, unsigned long len)
 {
-	return (addr+len) / PAGE_SIZE < lg->pfn_limit && (addr+len >= addr);
+	return addr+len <= lg->pfn_limit * PAGE_SIZE && (addr+len >= addr);
 }
 
 /*
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/md/raid0.c linux-libre-3.14.44-gnu/drivers/md/raid0.c
--- linux-libre-3.14.43-gnu/drivers/md/raid0.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/md/raid0.c	2015-06-06 11:19:54.000000000 -0400
@@ -531,6 +531,9 @@ static void raid0_make_request(struct md
 			 ? (sector & (chunk_sects-1))
 			 : sector_div(sector, chunk_sects));
 
+		/* Restore due to sector_div */
+		sector = bio->bi_iter.bi_sector;
+
 		if (sectors < bio_sectors(bio)) {
 			split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set);
 			bio_chain(split, bio);
@@ -538,7 +541,6 @@ static void raid0_make_request(struct md
 			split = bio;
 		}
 
-		sector = bio->bi_iter.bi_sector;
 		zone = find_zone(mddev->private, &sector);
 		tmp_dev = map_sector(mddev, zone, sector, &sector);
 		split->bi_bdev = tmp_dev->bdev;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/md/raid5.c linux-libre-3.14.44-gnu/drivers/md/raid5.c
--- linux-libre-3.14.43-gnu/drivers/md/raid5.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/md/raid5.c	2015-06-06 11:19:54.000000000 -0400
@@ -1914,7 +1914,8 @@ static int resize_stripes(struct r5conf
 
 	conf->slab_cache = sc;
 	conf->active_name = 1-conf->active_name;
-	conf->pool_size = newsize;
+	if (!err)
+		conf->pool_size = newsize;
 	return err;
 }
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/mmc/host/atmel-mci.c linux-libre-3.14.44-gnu/drivers/mmc/host/atmel-mci.c
--- linux-libre-3.14.43-gnu/drivers/mmc/host/atmel-mci.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/mmc/host/atmel-mci.c	2015-06-06 11:19:54.000000000 -0400
@@ -1300,7 +1300,7 @@ static void atmci_set_ios(struct mmc_hos
 
 	if (ios->clock) {
 		unsigned int clock_min = ~0U;
-		u32 clkdiv;
+		int clkdiv;
 
 		clk_prepare(host->mck);
 		unprepare_clk = true;
@@ -1329,7 +1329,12 @@ static void atmci_set_ios(struct mmc_hos
 		/* Calculate clock divider */
 		if (host->caps.has_odd_clk_div) {
 			clkdiv = DIV_ROUND_UP(host->bus_hz, clock_min) - 2;
-			if (clkdiv > 511) {
+			if (clkdiv < 0) {
+				dev_warn(&mmc->class_dev,
+					 "clock %u too fast; using %lu\n",
+					 clock_min, host->bus_hz / 2);
+				clkdiv = 0;
+			} else if (clkdiv > 511) {
 				dev_warn(&mmc->class_dev,
 				         "clock %u too slow; using %lu\n",
 				         clock_min, host->bus_hz / (511 + 2));
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/net/wireless/rt2x00/rt2800usb.c linux-libre-3.14.44-gnu/drivers/net/wireless/rt2x00/rt2800usb.c
--- linux-libre-3.14.43-gnu/drivers/net/wireless/rt2x00/rt2800usb.c	2015-05-17 17:17:47.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/net/wireless/rt2x00/rt2800usb.c	2015-06-06 16:14:41.000000000 -0400
@@ -991,6 +991,7 @@ static struct usb_device_id rt2800usb_de
 	{ USB_DEVICE(0x07d1, 0x3c17) },
 	{ USB_DEVICE(0x2001, 0x3317) },
 	{ USB_DEVICE(0x2001, 0x3c1b) },
+	{ USB_DEVICE(0x2001, 0x3c25) },
 	/* Draytek */
 	{ USB_DEVICE(0x07fa, 0x7712) },
 	/* DVICO */
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/net/wireless/rtlwifi/usb.c linux-libre-3.14.44-gnu/drivers/net/wireless/rtlwifi/usb.c
--- linux-libre-3.14.43-gnu/drivers/net/wireless/rtlwifi/usb.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/net/wireless/rtlwifi/usb.c	2015-06-06 11:19:54.000000000 -0400
@@ -126,7 +126,7 @@ static int _usbctrl_vendorreq_sync_read(
 
 	do {
 		status = usb_control_msg(udev, pipe, request, reqtype, value,
-					 index, pdata, len, 0); /*max. timeout*/
+					 index, pdata, len, 1000);
 		if (status < 0) {
 			/* firmware download is checksumed, don't retry */
 			if ((value >= FW_8192C_START_ADDRESS &&
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/scsi/qla2xxx/qla_gbl.h linux-libre-3.14.44-gnu/drivers/scsi/qla2xxx/qla_gbl.h
--- linux-libre-3.14.43-gnu/drivers/scsi/qla2xxx/qla_gbl.h	2015-05-17 17:23:22.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/scsi/qla2xxx/qla_gbl.h	2015-06-06 16:17:56.000000000 -0400
@@ -728,8 +728,6 @@ extern void qla8044_set_idc_dontreset(st
 extern int qla8044_rd_direct(struct scsi_qla_host *vha, const uint32_t crb_reg);
 extern void qla8044_wr_direct(struct scsi_qla_host *vha,
 			      const uint32_t crb_reg, const uint32_t value);
-extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
-extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
 extern int qla8044_device_state_handler(struct scsi_qla_host *vha);
 extern void qla8044_clear_qsnt_ready(struct scsi_qla_host *vha);
 extern void qla8044_clear_drv_active(struct qla_hw_data *);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/scsi/qla2xxx/qla_nx2.c linux-libre-3.14.44-gnu/drivers/scsi/qla2xxx/qla_nx2.c
--- linux-libre-3.14.43-gnu/drivers/scsi/qla2xxx/qla_nx2.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/scsi/qla2xxx/qla_nx2.c	2015-06-06 11:19:54.000000000 -0400
@@ -146,7 +146,7 @@ qla8044_rmw_crb_reg(struct scsi_qla_host
 	return;
 }
 
-inline void
+static inline void
 qla8044_set_qsnt_ready(struct scsi_qla_host *vha)
 {
 	uint32_t qsnt_state;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/scsi/sd.c linux-libre-3.14.44-gnu/drivers/scsi/sd.c
--- linux-libre-3.14.43-gnu/drivers/scsi/sd.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/scsi/sd.c	2015-06-06 11:19:54.000000000 -0400
@@ -1599,6 +1599,7 @@ static unsigned int sd_completed_bytes(s
 {
 	u64 start_lba = blk_rq_pos(scmd->request);
 	u64 end_lba = blk_rq_pos(scmd->request) + (scsi_bufflen(scmd) / 512);
+	u64 factor = scmd->device->sector_size / 512;
 	u64 bad_lba;
 	int info_valid;
 	/*
@@ -1620,16 +1621,9 @@ static unsigned int sd_completed_bytes(s
 	if (scsi_bufflen(scmd) <= scmd->device->sector_size)
 		return 0;
 
-	if (scmd->device->sector_size < 512) {
-		/* only legitimate sector_size here is 256 */
-		start_lba <<= 1;
-		end_lba <<= 1;
-	} else {
-		/* be careful ... don't want any overflows */
-		unsigned int factor = scmd->device->sector_size / 512;
-		do_div(start_lba, factor);
-		do_div(end_lba, factor);
-	}
+	/* be careful ... don't want any overflows */
+	do_div(start_lba, factor);
+	do_div(end_lba, factor);
 
 	/* The bad lba was reported incorrectly, we have no idea where
 	 * the error is.
@@ -2196,8 +2190,7 @@ got_data:
 	if (sector_size != 512 &&
 	    sector_size != 1024 &&
 	    sector_size != 2048 &&
-	    sector_size != 4096 &&
-	    sector_size != 256) {
+	    sector_size != 4096) {
 		sd_printk(KERN_NOTICE, sdkp, "Unsupported sector size %d.\n",
 			  sector_size);
 		/*
@@ -2248,8 +2241,6 @@ got_data:
 		sdkp->capacity <<= 2;
 	else if (sector_size == 1024)
 		sdkp->capacity <<= 1;
-	else if (sector_size == 256)
-		sdkp->capacity >>= 1;
 
 	blk_queue_physical_block_size(sdp->request_queue,
 				      sdkp->physical_block_size);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/scsi/storvsc_drv.c linux-libre-3.14.44-gnu/drivers/scsi/storvsc_drv.c
--- linux-libre-3.14.43-gnu/drivers/scsi/storvsc_drv.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/scsi/storvsc_drv.c	2015-06-06 11:19:54.000000000 -0400
@@ -1625,8 +1625,7 @@ static int storvsc_queuecommand(struct S
 		break;
 	default:
 		vm_srb->data_in = UNKNOWN_TYPE;
-		vm_srb->win8_extension.srb_flags |= (SRB_FLAGS_DATA_IN |
-						     SRB_FLAGS_DATA_OUT);
+		vm_srb->win8_extension.srb_flags |= SRB_FLAGS_NO_DATA_TRANSFER;
 		break;
 	}
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/gdm724x/gdm_mux.c linux-libre-3.14.44-gnu/drivers/staging/gdm724x/gdm_mux.c
--- linux-libre-3.14.43-gnu/drivers/staging/gdm724x/gdm_mux.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/gdm724x/gdm_mux.c	2015-06-06 11:19:54.000000000 -0400
@@ -158,7 +158,7 @@ static int up_to_host(struct mux_rx *r)
 	unsigned int start_flag;
 	unsigned int payload_size;
 	unsigned short packet_type;
-	int dummy_cnt;
+	int total_len;
 	u32 packet_size_sum = r->offset;
 	int index;
 	int ret = TO_HOST_INVALID_PACKET;
@@ -175,10 +175,10 @@ static int up_to_host(struct mux_rx *r)
 			break;
 		}
 
-		dummy_cnt = ALIGN(MUX_HEADER_SIZE + payload_size, 4);
+		total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4);
 
 		if (len - packet_size_sum <
-			MUX_HEADER_SIZE + payload_size + dummy_cnt) {
+			total_len) {
 			pr_err("invalid payload : %d %d %04x\n",
 			       payload_size, len, packet_type);
 			break;
@@ -201,7 +201,7 @@ static int up_to_host(struct mux_rx *r)
 			break;
 		}
 
-		packet_size_sum += MUX_HEADER_SIZE + payload_size + dummy_cnt;
+		packet_size_sum += total_len;
 		if (len - packet_size_sum <= MUX_HEADER_SIZE + 2) {
 			ret = r->callback(NULL,
 					0,
@@ -359,7 +359,6 @@ static int gdm_mux_send(void *priv_dev,
 	struct mux_pkt_header *mux_header;
 	struct mux_tx *t = NULL;
 	static u32 seq_num = 1;
-	int dummy_cnt;
 	int total_len;
 	int ret;
 	unsigned long flags;
@@ -372,9 +371,7 @@ static int gdm_mux_send(void *priv_dev,
 
 	spin_lock_irqsave(&mux_dev->write_lock, flags);
 
-	dummy_cnt = ALIGN(MUX_HEADER_SIZE + len, 4);
-
-	total_len = len + MUX_HEADER_SIZE + dummy_cnt;
+	total_len = ALIGN(MUX_HEADER_SIZE + len, 4);
 
 	t = alloc_mux_tx(total_len);
 	if (!t) {
@@ -390,7 +387,8 @@ static int gdm_mux_send(void *priv_dev,
 	mux_header->packet_type = __cpu_to_le16(packet_type[tty_index]);
 
 	memcpy(t->buf+MUX_HEADER_SIZE, data, len);
-	memset(t->buf+MUX_HEADER_SIZE+len, 0, dummy_cnt);
+	memset(t->buf+MUX_HEADER_SIZE+len, 0, total_len - MUX_HEADER_SIZE -
+	       len);
 
 	t->len = total_len;
 	t->callback = cb;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/rtl8187se/ieee80211/ieee80211.h linux-libre-3.14.44-gnu/drivers/staging/rtl8187se/ieee80211/ieee80211.h
--- linux-libre-3.14.43-gnu/drivers/staging/rtl8187se/ieee80211/ieee80211.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/rtl8187se/ieee80211/ieee80211.h	2015-06-06 11:19:54.000000000 -0400
@@ -1460,12 +1460,12 @@ extern void ieee80211_sta_ps_send_null_f
 
 extern const long ieee80211_wlan_frequencies[];
 
-extern inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
+static inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
 {
 	ieee->scans++;
 }
 
-extern inline int ieee80211_get_scans(struct ieee80211_device *ieee)
+static inline int ieee80211_get_scans(struct ieee80211_device *ieee)
 {
 	return ieee->scans;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/rtl8192e/rtllib.h linux-libre-3.14.44-gnu/drivers/staging/rtl8192e/rtllib.h
--- linux-libre-3.14.43-gnu/drivers/staging/rtl8192e/rtllib.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/rtl8192e/rtllib.h	2015-06-06 11:19:54.000000000 -0400
@@ -2761,7 +2761,6 @@ extern void rtllib_stop_scan(struct rtll
 extern bool rtllib_act_scanning(struct rtllib_device *ieee, bool sync_scan);
 extern void rtllib_stop_scan_syncro(struct rtllib_device *ieee);
 extern void rtllib_start_scan_syncro(struct rtllib_device *ieee, u8 is_mesh);
-extern inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee);
 extern u8 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee);
 extern void rtllib_sta_ps_send_null_frame(struct rtllib_device *ieee,
 					  short pwr);
@@ -2943,12 +2942,12 @@ void rtllib_softmac_scan_syncro(struct r
 
 extern const long rtllib_wlan_frequencies[];
 
-extern inline void rtllib_increment_scans(struct rtllib_device *ieee)
+static inline void rtllib_increment_scans(struct rtllib_device *ieee)
 {
 	ieee->scans++;
 }
 
-extern inline int rtllib_get_scans(struct rtllib_device *ieee)
+static inline int rtllib_get_scans(struct rtllib_device *ieee)
 {
 	return ieee->scans;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/rtl8192e/rtllib_softmac.c linux-libre-3.14.44-gnu/drivers/staging/rtl8192e/rtllib_softmac.c
--- linux-libre-3.14.43-gnu/drivers/staging/rtl8192e/rtllib_softmac.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/rtl8192e/rtllib_softmac.c	2015-06-06 11:19:54.000000000 -0400
@@ -341,7 +341,7 @@ inline void softmac_ps_mgmt_xmit(struct
 	}
 }
 
-inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee)
+static inline struct sk_buff *rtllib_probe_req(struct rtllib_device *ieee)
 {
 	unsigned int len, rate_len;
 	u8 *tag;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/rtl8192u/ieee80211/ieee80211.h linux-libre-3.14.44-gnu/drivers/staging/rtl8192u/ieee80211/ieee80211.h
--- linux-libre-3.14.43-gnu/drivers/staging/rtl8192u/ieee80211/ieee80211.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/rtl8192u/ieee80211/ieee80211.h	2015-06-06 11:19:54.000000000 -0400
@@ -2250,7 +2250,7 @@ static inline void *ieee80211_priv(struc
 	return ((struct ieee80211_device *)netdev_priv(dev))->priv;
 }
 
-extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
+static inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
 {
 	/* Single white space is for Linksys APs */
 	if (essid_len == 1 && essid[0] == ' ')
@@ -2266,7 +2266,7 @@ extern inline int ieee80211_is_empty_ess
 	return 1;
 }
 
-extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode)
+static inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode)
 {
 	/*
 	 * It is possible for both access points and our device to support
@@ -2292,7 +2292,7 @@ extern inline int ieee80211_is_valid_mod
 	return 0;
 }
 
-extern inline int ieee80211_get_hdrlen(u16 fc)
+static inline int ieee80211_get_hdrlen(u16 fc)
 {
 	int hdrlen = IEEE80211_3ADDR_LEN;
 
@@ -2578,12 +2578,12 @@ void ieee80211_softmac_scan_syncro(struc
 
 extern const long ieee80211_wlan_frequencies[];
 
-extern inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
+static inline void ieee80211_increment_scans(struct ieee80211_device *ieee)
 {
 	ieee->scans++;
 }
 
-extern inline int ieee80211_get_scans(struct ieee80211_device *ieee)
+static inline int ieee80211_get_scans(struct ieee80211_device *ieee)
 {
 	return ieee->scans;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/rtl8712/ieee80211.h linux-libre-3.14.44-gnu/drivers/staging/rtl8712/ieee80211.h
--- linux-libre-3.14.43-gnu/drivers/staging/rtl8712/ieee80211.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/rtl8712/ieee80211.h	2015-06-06 11:19:54.000000000 -0400
@@ -734,7 +734,7 @@ enum ieee80211_state {
 #define IEEE_G            (1<<2)
 #define IEEE_MODE_MASK    (IEEE_A|IEEE_B|IEEE_G)
 
-extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
+static inline int ieee80211_is_empty_essid(const char *essid, int essid_len)
 {
 	/* Single white space is for Linksys APs */
 	if (essid_len == 1 && essid[0] == ' ')
@@ -748,7 +748,7 @@ extern inline int ieee80211_is_empty_ess
 	return 1;
 }
 
-extern inline int ieee80211_get_hdrlen(u16 fc)
+static inline int ieee80211_get_hdrlen(u16 fc)
 {
 	int hdrlen = 24;
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/staging/wlags49_h2/wl_internal.h linux-libre-3.14.44-gnu/drivers/staging/wlags49_h2/wl_internal.h
--- linux-libre-3.14.43-gnu/drivers/staging/wlags49_h2/wl_internal.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/staging/wlags49_h2/wl_internal.h	2015-06-06 11:19:54.000000000 -0400
@@ -1013,7 +1013,7 @@ static inline void wl_unlock(struct wl_p
 /* Interrupt enable disable functions                               */
 /********************************************************************/
 
-extern inline void wl_act_int_on(struct wl_private *lp)
+static inline void wl_act_int_on(struct wl_private *lp)
 {
 	/*
 	 * Only do something when the driver is handling
@@ -1025,7 +1025,7 @@ extern inline void wl_act_int_on(struct
 	}
 }
 
-extern inline void wl_act_int_off(struct wl_private *lp)
+static inline void wl_act_int_off(struct wl_private *lp)
 {
 	/*
 	 * Only do something when the driver is handling
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/target/target_core_pscsi.c linux-libre-3.14.44-gnu/drivers/target/target_core_pscsi.c
--- linux-libre-3.14.43-gnu/drivers/target/target_core_pscsi.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/target/target_core_pscsi.c	2015-06-06 11:19:54.000000000 -0400
@@ -520,6 +520,7 @@ static int pscsi_configure_device(struct
 					" pdv_host_id: %d\n", pdv->pdv_host_id);
 				return -EINVAL;
 			}
+			pdv->pdv_lld_host = sh;
 		}
 	} else {
 		if (phv->phv_mode == PHV_VIRTUAL_HOST_ID) {
@@ -602,6 +603,8 @@ static void pscsi_free_device(struct se_
 		if ((phv->phv_mode == PHV_LLD_SCSI_HOST_NO) &&
 		    (phv->phv_lld_host != NULL))
 			scsi_host_put(phv->phv_lld_host);
+		else if (pdv->pdv_lld_host)
+			scsi_host_put(pdv->pdv_lld_host);
 
 		if ((sd->type == TYPE_DISK) || (sd->type == TYPE_ROM))
 			scsi_device_put(sd);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/target/target_core_pscsi.h linux-libre-3.14.44-gnu/drivers/target/target_core_pscsi.h
--- linux-libre-3.14.43-gnu/drivers/target/target_core_pscsi.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/target/target_core_pscsi.h	2015-06-06 11:19:54.000000000 -0400
@@ -45,6 +45,7 @@ struct pscsi_dev_virt {
 	int	pdv_lun_id;
 	struct block_device *pdv_bd;
 	struct scsi_device *pdv_sd;
+	struct Scsi_Host *pdv_lld_host;
 } ____cacheline_aligned;
 
 typedef enum phv_modes {
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/thermal/step_wise.c linux-libre-3.14.44-gnu/drivers/thermal/step_wise.c
--- linux-libre-3.14.43-gnu/drivers/thermal/step_wise.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/thermal/step_wise.c	2015-06-06 11:19:54.000000000 -0400
@@ -146,9 +146,6 @@ static void thermal_zone_trip_update(str
 		dev_dbg(&instance->cdev->device, "old_target=%d, target=%d\n",
 					old_target, (int)instance->target);
 
-		if (old_target == instance->target)
-			continue;
-
 		/* Activate a passive thermal instance */
 		if (old_target == THERMAL_NO_TARGET &&
 			instance->target != THERMAL_NO_TARGET)
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/tty/hvc/hvc_xen.c linux-libre-3.14.44-gnu/drivers/tty/hvc/hvc_xen.c
--- linux-libre-3.14.43-gnu/drivers/tty/hvc/hvc_xen.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/tty/hvc/hvc_xen.c	2015-06-06 11:19:54.000000000 -0400
@@ -289,7 +289,7 @@ static int xen_initial_domain_console_in
 			return -ENOMEM;
 	}
 
-	info->irq = bind_virq_to_irq(VIRQ_CONSOLE, 0);
+	info->irq = bind_virq_to_irq(VIRQ_CONSOLE, 0, false);
 	info->vtermno = HVC_COOKIE;
 
 	spin_lock(&xencons_lock);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/tty/n_gsm.c linux-libre-3.14.44-gnu/drivers/tty/n_gsm.c
--- linux-libre-3.14.43-gnu/drivers/tty/n_gsm.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/tty/n_gsm.c	2015-06-06 11:19:54.000000000 -0400
@@ -3166,7 +3166,7 @@ static int gsmtty_break_ctl(struct tty_s
 	return gsmtty_modem_update(dlci, encode);
 }
 
-static void gsmtty_remove(struct tty_driver *driver, struct tty_struct *tty)
+static void gsmtty_cleanup(struct tty_struct *tty)
 {
 	struct gsm_dlci *dlci = tty->driver_data;
 	struct gsm_mux *gsm = dlci->gsm;
@@ -3174,7 +3174,6 @@ static void gsmtty_remove(struct tty_dri
 	dlci_put(dlci);
 	dlci_put(gsm->dlci[0]);
 	mux_put(gsm);
-	driver->ttys[tty->index] = NULL;
 }
 
 /* Virtual ttys for the demux */
@@ -3195,7 +3194,7 @@ static const struct tty_operations gsmtt
 	.tiocmget		= gsmtty_tiocmget,
 	.tiocmset		= gsmtty_tiocmset,
 	.break_ctl		= gsmtty_break_ctl,
-	.remove			= gsmtty_remove,
+	.cleanup		= gsmtty_cleanup,
 };
 
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/gadget/configfs.c linux-libre-3.14.44-gnu/drivers/usb/gadget/configfs.c
--- linux-libre-3.14.43-gnu/drivers/usb/gadget/configfs.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/gadget/configfs.c	2015-06-06 11:19:54.000000000 -0400
@@ -765,6 +765,7 @@ static void purge_configs_funcs(struct g
 			}
 		}
 		c->next_interface_id = 0;
+		memset(c->interface, 0, sizeof(c->interface));
 		c->superspeed = 0;
 		c->highspeed = 0;
 		c->fullspeed = 0;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/host/xhci.h linux-libre-3.14.44-gnu/drivers/usb/host/xhci.h
--- linux-libre-3.14.43-gnu/drivers/usb/host/xhci.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/host/xhci.h	2015-06-06 11:19:54.000000000 -0400
@@ -1268,7 +1268,7 @@ union xhci_trb {
  * since the command ring is 64-byte aligned.
  * It must also be greater than 16.
  */
-#define TRBS_PER_SEGMENT	64
+#define TRBS_PER_SEGMENT	256
 /* Allow two commands + a link TRB, along with any reserved command TRBs */
 #define MAX_RSVD_CMD_TRBS	(TRBS_PER_SEGMENT - 3)
 #define TRB_SEGMENT_SIZE	(TRBS_PER_SEGMENT*16)
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/host/xhci-ring.c linux-libre-3.14.44-gnu/drivers/usb/host/xhci-ring.c
--- linux-libre-3.14.43-gnu/drivers/usb/host/xhci-ring.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/host/xhci-ring.c	2015-06-06 11:19:54.000000000 -0400
@@ -2213,8 +2213,13 @@ static int process_isoc_td(struct xhci_h
 		break;
 	case COMP_DEV_ERR:
 	case COMP_STALL:
+		frame->status = -EPROTO;
+		skip_td = true;
+		break;
 	case COMP_TX_ERR:
 		frame->status = -EPROTO;
+		if (event_trb != td->last_trb)
+			return 0;
 		skip_td = true;
 		break;
 	case COMP_STOP:
@@ -2822,7 +2827,7 @@ irqreturn_t xhci_irq(struct usb_hcd *hcd
 		xhci_halt(xhci);
 hw_died:
 		spin_unlock(&xhci->lock);
-		return -ESHUTDOWN;
+		return IRQ_HANDLED;
 	}
 
 	/*
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/serial/cp210x.c linux-libre-3.14.44-gnu/drivers/usb/serial/cp210x.c
--- linux-libre-3.14.43-gnu/drivers/usb/serial/cp210x.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/serial/cp210x.c	2015-06-06 11:19:54.000000000 -0400
@@ -127,6 +127,7 @@ static const struct usb_device_id id_tab
 	{ USB_DEVICE(0x10C4, 0x88A5) }, /* Planet Innovation Ingeni ZigBee USB Device */
 	{ USB_DEVICE(0x10C4, 0x8946) }, /* Ketra N1 Wireless Interface */
 	{ USB_DEVICE(0x10C4, 0x8977) },	/* CEL MeshWorks DevKit Device */
+	{ USB_DEVICE(0x10C4, 0x8998) }, /* KCF Technologies PRN */
 	{ USB_DEVICE(0x10C4, 0xEA60) }, /* Silicon Labs factory default */
 	{ USB_DEVICE(0x10C4, 0xEA61) }, /* Silicon Labs factory default */
 	{ USB_DEVICE(0x10C4, 0xEA70) }, /* Silicon Labs factory default */
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/serial/pl2303.c linux-libre-3.14.44-gnu/drivers/usb/serial/pl2303.c
--- linux-libre-3.14.43-gnu/drivers/usb/serial/pl2303.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/serial/pl2303.c	2015-06-06 11:19:54.000000000 -0400
@@ -61,7 +61,6 @@ static const struct usb_device_id id_tab
 	{ USB_DEVICE(DCU10_VENDOR_ID, DCU10_PRODUCT_ID) },
 	{ USB_DEVICE(SITECOM_VENDOR_ID, SITECOM_PRODUCT_ID) },
 	{ USB_DEVICE(ALCATEL_VENDOR_ID, ALCATEL_PRODUCT_ID) },
-	{ USB_DEVICE(SAMSUNG_VENDOR_ID, SAMSUNG_PRODUCT_ID) },
 	{ USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_SX1),
 		.driver_info = PL2303_QUIRK_UART_STATE_IDX0 },
 	{ USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_X65),
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/serial/pl2303.h linux-libre-3.14.44-gnu/drivers/usb/serial/pl2303.h
--- linux-libre-3.14.43-gnu/drivers/usb/serial/pl2303.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/serial/pl2303.h	2015-06-06 11:19:54.000000000 -0400
@@ -62,10 +62,6 @@
 #define ALCATEL_VENDOR_ID	0x11f7
 #define ALCATEL_PRODUCT_ID	0x02df
 
-/* Samsung I330 phone cradle */
-#define SAMSUNG_VENDOR_ID	0x04e8
-#define SAMSUNG_PRODUCT_ID	0x8001
-
 #define SIEMENS_VENDOR_ID	0x11f5
 #define SIEMENS_PRODUCT_ID_SX1	0x0001
 #define SIEMENS_PRODUCT_ID_X65	0x0003
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/serial/visor.c linux-libre-3.14.44-gnu/drivers/usb/serial/visor.c
--- linux-libre-3.14.43-gnu/drivers/usb/serial/visor.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/serial/visor.c	2015-06-06 11:19:54.000000000 -0400
@@ -95,7 +95,7 @@ static const struct usb_device_id id_tab
 		.driver_info = (kernel_ulong_t)&palm_os_4_probe },
 	{ USB_DEVICE(ACER_VENDOR_ID, ACER_S10_ID),
 		.driver_info = (kernel_ulong_t)&palm_os_4_probe },
-	{ USB_DEVICE(SAMSUNG_VENDOR_ID, SAMSUNG_SCH_I330_ID),
+	{ USB_DEVICE_INTERFACE_CLASS(SAMSUNG_VENDOR_ID, SAMSUNG_SCH_I330_ID, 0xff),
 		.driver_info = (kernel_ulong_t)&palm_os_4_probe },
 	{ USB_DEVICE(SAMSUNG_VENDOR_ID, SAMSUNG_SPH_I500_ID),
 		.driver_info = (kernel_ulong_t)&palm_os_4_probe },
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/usb/storage/unusual_devs.h linux-libre-3.14.44-gnu/drivers/usb/storage/unusual_devs.h
--- linux-libre-3.14.43-gnu/drivers/usb/storage/unusual_devs.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/usb/storage/unusual_devs.h	2015-06-06 11:19:54.000000000 -0400
@@ -760,6 +760,13 @@ UNUSUAL_DEV(  0x059f, 0x0643, 0x0000, 0x
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_GO_SLOW ),
 
+/* Reported by Christian Schaller <cschalle@redhat.com> */
+UNUSUAL_DEV(  0x059f, 0x0651, 0x0000, 0x0000,
+		"LaCie",
+		"External HDD",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_NO_WP_DETECT ),
+
 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
  * Some versions of this device need the SubClass and Protocol overrides
  * while others don't.
diff -druNp --no-dereference linux-libre-3.14.43-gnu/drivers/xen/events/events_base.c linux-libre-3.14.44-gnu/drivers/xen/events/events_base.c
--- linux-libre-3.14.43-gnu/drivers/xen/events/events_base.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/drivers/xen/events/events_base.c	2015-06-06 11:19:54.000000000 -0400
@@ -973,7 +973,7 @@ unsigned xen_evtchn_nr_channels(void)
 }
 EXPORT_SYMBOL_GPL(xen_evtchn_nr_channels);
 
-int bind_virq_to_irq(unsigned int virq, unsigned int cpu)
+int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu)
 {
 	struct evtchn_bind_virq bind_virq;
 	int evtchn, irq, ret;
@@ -987,8 +987,12 @@ int bind_virq_to_irq(unsigned int virq,
 		if (irq < 0)
 			goto out;
 
-		irq_set_chip_and_handler_name(irq, &xen_percpu_chip,
-					      handle_percpu_irq, "virq");
+		if (percpu)
+			irq_set_chip_and_handler_name(irq, &xen_percpu_chip,
+						      handle_percpu_irq, "virq");
+		else
+			irq_set_chip_and_handler_name(irq, &xen_dynamic_chip,
+						      handle_edge_irq, "virq");
 
 		bind_virq.virq = virq;
 		bind_virq.vcpu = cpu;
@@ -1078,7 +1082,7 @@ int bind_virq_to_irqhandler(unsigned int
 {
 	int irq, retval;
 
-	irq = bind_virq_to_irq(virq, cpu);
+	irq = bind_virq_to_irq(virq, cpu, irqflags & IRQF_PERCPU);
 	if (irq < 0)
 		return irq;
 	retval = request_irq(irq, handler, irqflags, devname, dev_id);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/binfmt_elf.c linux-libre-3.14.44-gnu/fs/binfmt_elf.c
--- linux-libre-3.14.43-gnu/fs/binfmt_elf.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/binfmt_elf.c	2015-06-06 11:19:54.000000000 -0400
@@ -819,7 +819,7 @@ static int load_elf_binary(struct linux_
 			total_size = total_mapping_size(elf_phdata,
 							loc->elf_ex.e_phnum);
 			if (!total_size) {
-				error = -EINVAL;
+				retval = -EINVAL;
 				goto out_free_dentry;
 			}
 		}
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/dcache.c linux-libre-3.14.44-gnu/fs/dcache.c
--- linux-libre-3.14.43-gnu/fs/dcache.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/dcache.c	2015-06-06 11:19:54.000000000 -0400
@@ -1135,13 +1135,13 @@ ascend:
 		/* might go back up the wrong parent if we have had a rename. */
 		if (need_seqretry(&rename_lock, seq))
 			goto rename_retry;
-		next = child->d_child.next;
-		while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED)) {
+		/* go into the first sibling still alive */
+		do {
+			next = child->d_child.next;
 			if (next == &this_parent->d_subdirs)
 				goto ascend;
 			child = list_entry(next, struct dentry, d_child);
-			next = next->next;
-		}
+		} while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED));
 		rcu_read_unlock();
 		goto resume;
 	}
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/ext4/ext4_jbd2.c linux-libre-3.14.44-gnu/fs/ext4/ext4_jbd2.c
--- linux-libre-3.14.43-gnu/fs/ext4/ext4_jbd2.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/ext4/ext4_jbd2.c	2015-06-06 11:19:54.000000000 -0400
@@ -87,6 +87,12 @@ int __ext4_journal_stop(const char *wher
 		ext4_put_nojournal(handle);
 		return 0;
 	}
+
+	if (!handle->h_transaction) {
+		err = jbd2_journal_stop(handle);
+		return handle->h_err ? handle->h_err : err;
+	}
+
 	sb = handle->h_transaction->t_journal->j_private;
 	err = handle->h_err;
 	rc = jbd2_journal_stop(handle);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/ext4/extents.c linux-libre-3.14.44-gnu/fs/ext4/extents.c
--- linux-libre-3.14.43-gnu/fs/ext4/extents.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/ext4/extents.c	2015-06-06 11:19:54.000000000 -0400
@@ -361,7 +361,7 @@ static int ext4_valid_extent(struct inod
 	ext4_lblk_t lblock = le32_to_cpu(ext->ee_block);
 	ext4_lblk_t last = lblock + len - 1;
 
-	if (lblock > last)
+	if (len == 0 || lblock > last)
 		return 0;
 	return ext4_data_block_valid(EXT4_SB(inode->i_sb), block, len);
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/fhandle.c linux-libre-3.14.44-gnu/fs/fhandle.c
--- linux-libre-3.14.43-gnu/fs/fhandle.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/fhandle.c	2015-06-06 11:19:54.000000000 -0400
@@ -195,8 +195,9 @@ static int handle_to_path(int mountdirfd
 		goto out_err;
 	}
 	/* copy the full handle */
-	if (copy_from_user(handle, ufh,
-			   sizeof(struct file_handle) +
+	*handle = f_handle;
+	if (copy_from_user(&handle->f_handle,
+			   &ufh->f_handle,
 			   f_handle.handle_bytes)) {
 		retval = -EFAULT;
 		goto out_handle;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/jbd2/recovery.c linux-libre-3.14.44-gnu/fs/jbd2/recovery.c
--- linux-libre-3.14.43-gnu/fs/jbd2/recovery.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/jbd2/recovery.c	2015-06-06 11:19:54.000000000 -0400
@@ -839,15 +839,23 @@ static int scan_revoke_records(journal_t
 {
 	jbd2_journal_revoke_header_t *header;
 	int offset, max;
+	int csum_size = 0;
+	__u32 rcount;
 	int record_len = 4;
 
 	header = (jbd2_journal_revoke_header_t *) bh->b_data;
 	offset = sizeof(jbd2_journal_revoke_header_t);
-	max = be32_to_cpu(header->r_count);
+	rcount = be32_to_cpu(header->r_count);
 
 	if (!jbd2_revoke_block_csum_verify(journal, header))
 		return -EINVAL;
 
+	if (jbd2_journal_has_csum_v2or3(journal))
+		csum_size = sizeof(struct jbd2_journal_revoke_tail);
+	if (rcount > journal->j_blocksize - csum_size)
+		return -EINVAL;
+	max = rcount;
+
 	if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT))
 		record_len = 8;
 
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/jbd2/revoke.c linux-libre-3.14.44-gnu/fs/jbd2/revoke.c
--- linux-libre-3.14.43-gnu/fs/jbd2/revoke.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/jbd2/revoke.c	2015-06-06 11:19:54.000000000 -0400
@@ -583,7 +583,7 @@ static void write_one_revoke_record(jour
 {
 	int csum_size = 0;
 	struct buffer_head *descriptor;
-	int offset;
+	int sz, offset;
 	journal_header_t *header;
 
 	/* If we are already aborting, this all becomes a noop.  We
@@ -600,9 +600,14 @@ static void write_one_revoke_record(jour
 	if (jbd2_journal_has_csum_v2or3(journal))
 		csum_size = sizeof(struct jbd2_journal_revoke_tail);
 
+	if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT))
+		sz = 8;
+	else
+		sz = 4;
+
 	/* Make sure we have a descriptor with space left for the record */
 	if (descriptor) {
-		if (offset >= journal->j_blocksize - csum_size) {
+		if (offset + sz > journal->j_blocksize - csum_size) {
 			flush_descriptor(journal, descriptor, offset, write_op);
 			descriptor = NULL;
 		}
@@ -625,16 +630,13 @@ static void write_one_revoke_record(jour
 		*descriptorp = descriptor;
 	}
 
-	if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT)) {
+	if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_64BIT))
 		* ((__be64 *)(&descriptor->b_data[offset])) =
 			cpu_to_be64(record->blocknr);
-		offset += 8;
-
-	} else {
+	else
 		* ((__be32 *)(&descriptor->b_data[offset])) =
 			cpu_to_be32(record->blocknr);
-		offset += 4;
-	}
+	offset += sz;
 
 	*offsetp = offset;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/jbd2/transaction.c linux-libre-3.14.44-gnu/fs/jbd2/transaction.c
--- linux-libre-3.14.43-gnu/fs/jbd2/transaction.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/jbd2/transaction.c	2015-06-06 11:19:54.000000000 -0400
@@ -551,7 +551,6 @@ int jbd2_journal_extend(handle_t *handle
 	int result;
 	int wanted;
 
-	WARN_ON(!transaction);
 	if (is_handle_aborted(handle))
 		return -EROFS;
 	journal = transaction->t_journal;
@@ -627,7 +626,6 @@ int jbd2__journal_restart(handle_t *hand
 	tid_t		tid;
 	int		need_to_start, ret;
 
-	WARN_ON(!transaction);
 	/* If we've had an abort of any type, don't even think about
 	 * actually doing the restart! */
 	if (is_handle_aborted(handle))
@@ -791,7 +789,6 @@ do_get_write_access(handle_t *handle, st
 	int need_copy = 0;
 	unsigned long start_lock, time_lock;
 
-	WARN_ON(!transaction);
 	if (is_handle_aborted(handle))
 		return -EROFS;
 	journal = transaction->t_journal;
@@ -1057,7 +1054,6 @@ int jbd2_journal_get_create_access(handl
 	int err;
 
 	jbd_debug(5, "journal_head %p\n", jh);
-	WARN_ON(!transaction);
 	err = -EROFS;
 	if (is_handle_aborted(handle))
 		goto out;
@@ -1271,7 +1267,6 @@ int jbd2_journal_dirty_metadata(handle_t
 	struct journal_head *jh;
 	int ret = 0;
 
-	WARN_ON(!transaction);
 	if (is_handle_aborted(handle))
 		return -EROFS;
 	journal = transaction->t_journal;
@@ -1407,7 +1402,6 @@ int jbd2_journal_forget (handle_t *handl
 	int err = 0;
 	int was_modified = 0;
 
-	WARN_ON(!transaction);
 	if (is_handle_aborted(handle))
 		return -EROFS;
 	journal = transaction->t_journal;
@@ -1538,8 +1532,22 @@ int jbd2_journal_stop(handle_t *handle)
 	tid_t tid;
 	pid_t pid;
 
-	if (!transaction)
-		goto free_and_exit;
+	if (!transaction) {
+		/*
+		 * Handle is already detached from the transaction so
+		 * there is nothing to do other than decrease a refcount,
+		 * or free the handle if refcount drops to zero
+		 */
+		if (--handle->h_ref > 0) {
+			jbd_debug(4, "h_ref %d -> %d\n", handle->h_ref + 1,
+							 handle->h_ref);
+			return err;
+		} else {
+			if (handle->h_rsv_handle)
+				jbd2_free_handle(handle->h_rsv_handle);
+			goto free_and_exit;
+		}
+	}
 	journal = transaction->t_journal;
 
 	J_ASSERT(journal_current_handle() == handle);
@@ -2381,7 +2389,6 @@ int jbd2_journal_file_inode(handle_t *ha
 	transaction_t *transaction = handle->h_transaction;
 	journal_t *journal;
 
-	WARN_ON(!transaction);
 	if (is_handle_aborted(handle))
 		return -EROFS;
 	journal = transaction->t_journal;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/fs/omfs/inode.c linux-libre-3.14.44-gnu/fs/omfs/inode.c
--- linux-libre-3.14.43-gnu/fs/omfs/inode.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/fs/omfs/inode.c	2015-06-06 11:19:54.000000000 -0400
@@ -361,7 +361,7 @@ nomem:
 }
 
 enum {
-	Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask
+	Opt_uid, Opt_gid, Opt_umask, Opt_dmask, Opt_fmask, Opt_err
 };
 
 static const match_table_t tokens = {
@@ -370,6 +370,7 @@ static const match_table_t tokens = {
 	{Opt_umask, "umask=%o"},
 	{Opt_dmask, "dmask=%o"},
 	{Opt_fmask, "fmask=%o"},
+	{Opt_err, NULL},
 };
 
 static int parse_options(char *options, struct omfs_sb_info *sbi)
diff -druNp --no-dereference linux-libre-3.14.43-gnu/include/drm/drm_pciids.h linux-libre-3.14.44-gnu/include/drm/drm_pciids.h
--- linux-libre-3.14.43-gnu/include/drm/drm_pciids.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/include/drm/drm_pciids.h	2015-06-06 11:19:54.000000000 -0400
@@ -186,6 +186,7 @@
 	{0x1002, 0x6658, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BONAIRE|RADEON_NEW_MEMMAP}, \
 	{0x1002, 0x665c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BONAIRE|RADEON_NEW_MEMMAP}, \
 	{0x1002, 0x665d, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BONAIRE|RADEON_NEW_MEMMAP}, \
+	{0x1002, 0x665f, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BONAIRE|RADEON_NEW_MEMMAP}, \
 	{0x1002, 0x6660, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_HAINAN|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \
 	{0x1002, 0x6663, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_HAINAN|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \
 	{0x1002, 0x6664, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_HAINAN|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP}, \
diff -druNp --no-dereference linux-libre-3.14.43-gnu/include/linux/libata.h linux-libre-3.14.44-gnu/include/linux/libata.h
--- linux-libre-3.14.43-gnu/include/linux/libata.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/include/linux/libata.h	2015-06-06 11:19:54.000000000 -0400
@@ -204,6 +204,7 @@ enum {
 	ATA_LFLAG_SW_ACTIVITY	= (1 << 7), /* keep activity stats */
 	ATA_LFLAG_NO_LPM	= (1 << 8), /* disable LPM on this link */
 	ATA_LFLAG_RST_ONCE	= (1 << 9), /* limit recovery to one reset */
+	ATA_LFLAG_CHANGED	= (1 << 10), /* LPM state changed on this link */
 
 	/* struct ata_port flags */
 	ATA_FLAG_SLAVE_POSS	= (1 << 0), /* host supports slave dev */
@@ -307,6 +308,12 @@ enum {
 	 */
 	ATA_TMOUT_PMP_SRST_WAIT	= 5000,
 
+	/* When the LPM policy is set to ATA_LPM_MAX_POWER, there might
+	 * be a spurious PHY event, so ignore the first PHY event that
+	 * occurs within 10s after the policy change.
+	 */
+	ATA_TMOUT_SPURIOUS_PHY	= 10000,
+
 	/* ATA bus states */
 	BUS_UNKNOWN		= 0,
 	BUS_DMA			= 1,
@@ -785,6 +792,8 @@ struct ata_link {
 	struct ata_eh_context	eh_context;
 
 	struct ata_device	device[ATA_MAX_DEVICES];
+
+	unsigned long		last_lpm_change; /* when last LPM change happened */
 };
 #define ATA_LINK_CLEAR_BEGIN		offsetof(struct ata_link, active_tag)
 #define ATA_LINK_CLEAR_END		offsetof(struct ata_link, device[0])
@@ -1201,6 +1210,7 @@ extern struct ata_device *ata_dev_pair(s
 extern int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev);
 extern void ata_scsi_port_error_handler(struct Scsi_Host *host, struct ata_port *ap);
 extern void ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap, struct list_head *eh_q);
+extern bool sata_lpm_ignore_phy_events(struct ata_link *link);
 
 extern int ata_cable_40wire(struct ata_port *ap);
 extern int ata_cable_80wire(struct ata_port *ap);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/include/xen/events.h linux-libre-3.14.44-gnu/include/xen/events.h
--- linux-libre-3.14.43-gnu/include/xen/events.h	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/include/xen/events.h	2015-06-06 11:19:54.000000000 -0400
@@ -14,7 +14,7 @@ int bind_evtchn_to_irqhandler(unsigned i
 			      irq_handler_t handler,
 			      unsigned long irqflags, const char *devname,
 			      void *dev_id);
-int bind_virq_to_irq(unsigned int virq, unsigned int cpu);
+int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu);
 int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu,
 			    irq_handler_t handler,
 			    unsigned long irqflags, const char *devname,
diff -druNp --no-dereference linux-libre-3.14.43-gnu/lib/strnlen_user.c linux-libre-3.14.44-gnu/lib/strnlen_user.c
--- linux-libre-3.14.43-gnu/lib/strnlen_user.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/lib/strnlen_user.c	2015-06-06 11:19:54.000000000 -0400
@@ -57,7 +57,8 @@ static inline long do_strnlen_user(const
 			return res + find_zero(data) + 1 - align;
 		}
 		res += sizeof(unsigned long);
-		if (unlikely(max < sizeof(unsigned long)))
+		/* We already handled 'unsigned long' bytes. Did we do it all ? */
+		if (unlikely(max <= sizeof(unsigned long)))
 			break;
 		max -= sizeof(unsigned long);
 		if (unlikely(__get_user(c,(unsigned long __user *)(src+res))))
diff -druNp --no-dereference linux-libre-3.14.43-gnu/Makefile linux-libre-3.14.44-gnu/Makefile
--- linux-libre-3.14.43-gnu/Makefile	2015-05-17 16:58:19.000000000 -0400
+++ linux-libre-3.14.44-gnu/Makefile	2015-06-06 16:00:35.000000000 -0400
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 14
-SUBLEVEL = 43
+SUBLEVEL = 44
 EXTRAVERSION =-gnu
 NAME = Remembering Coco
 
@@ -244,7 +244,7 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH"
 
 HOSTCC       = gcc
 HOSTCXX      = g++
-HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
+HOSTCFLAGS   = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89
 HOSTCXXFLAGS = -O2
 
 # Decide whether to build built-in, modular, or both.
@@ -382,7 +382,9 @@ KBUILD_CFLAGS   := -Wall -Wundef -Wstric
 		   -fno-strict-aliasing -fno-common \
 		   -Werror-implicit-function-declaration \
 		   -Wno-format-security \
-		   -fno-delete-null-pointer-checks
+		   -fno-delete-null-pointer-checks \
+		   -std=gnu89
+
 KBUILD_AFLAGS_KERNEL :=
 KBUILD_CFLAGS_KERNEL :=
 KBUILD_AFLAGS   := -D__ASSEMBLY__
diff -druNp --no-dereference linux-libre-3.14.43-gnu/mm/mempolicy.c linux-libre-3.14.44-gnu/mm/mempolicy.c
--- linux-libre-3.14.43-gnu/mm/mempolicy.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/mm/mempolicy.c	2015-06-06 11:19:54.000000000 -0400
@@ -2663,7 +2663,7 @@ static void __init check_numabalancing_e
 	if (numabalancing_override)
 		set_numabalancing_state(numabalancing_override == 1);
 
-	if (nr_node_ids > 1 && !numabalancing_override) {
+	if (num_online_nodes() > 1 && !numabalancing_override) {
 		pr_info("%s automatic NUMA balancing. "
 			"Configure with numa_balancing= or the "
 			"kernel.numa_balancing sysctl",
diff -druNp --no-dereference linux-libre-3.14.43-gnu/net/ceph/osd_client.c linux-libre-3.14.44-gnu/net/ceph/osd_client.c
--- linux-libre-3.14.43-gnu/net/ceph/osd_client.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/net/ceph/osd_client.c	2015-06-06 11:19:54.000000000 -0400
@@ -1932,20 +1932,29 @@ static void kick_requests(struct ceph_os
 		err = __map_request(osdc, req,
 				    force_resend || force_resend_writes);
 		dout("__map_request returned %d\n", err);
-		if (err == 0)
-			continue;  /* no change and no osd was specified */
 		if (err < 0)
 			continue;  /* hrm! */
-		if (req->r_osd == NULL) {
-			dout("tid %llu maps to no valid osd\n", req->r_tid);
-			needmap++;  /* request a newer map */
-			continue;
-		}
+		if (req->r_osd == NULL || err > 0) {
+			if (req->r_osd == NULL) {
+				dout("lingering %p tid %llu maps to no osd\n",
+				     req, req->r_tid);
+				/*
+				 * A homeless lingering request makes
+				 * no sense, as it's job is to keep
+				 * a particular OSD connection open.
+				 * Request a newer map and kick the
+				 * request, knowing that it won't be
+				 * resent until we actually get a map
+				 * that can tell us where to send it.
+				 */
+				needmap++;
+			}
 
-		dout("kicking lingering %p tid %llu osd%d\n", req, req->r_tid,
-		     req->r_osd ? req->r_osd->o_osd : -1);
-		__register_request(osdc, req);
-		__unregister_linger_request(osdc, req);
+			dout("kicking lingering %p tid %llu osd%d\n", req,
+			     req->r_tid, req->r_osd ? req->r_osd->o_osd : -1);
+			__register_request(osdc, req);
+			__unregister_linger_request(osdc, req);
+		}
 	}
 	reset_changed_osds(osdc);
 	mutex_unlock(&osdc->request_mutex);
diff -druNp --no-dereference linux-libre-3.14.43-gnu/net/mac80211/wep.c linux-libre-3.14.44-gnu/net/mac80211/wep.c
--- linux-libre-3.14.43-gnu/net/mac80211/wep.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/net/mac80211/wep.c	2015-06-06 11:19:54.000000000 -0400
@@ -98,8 +98,7 @@ static u8 *ieee80211_wep_add_iv(struct i
 
 	hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_PROTECTED);
 
-	if (WARN_ON(skb_tailroom(skb) < IEEE80211_WEP_ICV_LEN ||
-		    skb_headroom(skb) < IEEE80211_WEP_IV_LEN))
+	if (WARN_ON(skb_headroom(skb) < IEEE80211_WEP_IV_LEN))
 		return NULL;
 
 	hdrlen = ieee80211_hdrlen(hdr->frame_control);
@@ -169,6 +168,9 @@ int ieee80211_wep_encrypt(struct ieee802
 	size_t len;
 	u8 rc4key[3 + WLAN_KEY_LEN_WEP104];
 
+	if (WARN_ON(skb_tailroom(skb) < IEEE80211_WEP_ICV_LEN))
+		return -1;
+
 	iv = ieee80211_wep_add_iv(local, skb, keylen, keyidx);
 	if (!iv)
 		return -1;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/net/socket.c linux-libre-3.14.44-gnu/net/socket.c
--- linux-libre-3.14.43-gnu/net/socket.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/net/socket.c	2015-06-06 11:19:54.000000000 -0400
@@ -2007,14 +2007,12 @@ static int ___sys_sendmsg(struct socket
 	int err, ctl_len, total_len;
 
 	err = -EFAULT;
-	if (MSG_CMSG_COMPAT & flags) {
-		if (get_compat_msghdr(msg_sys, msg_compat))
-			return -EFAULT;
-	} else {
+	if (MSG_CMSG_COMPAT & flags)
+		err = get_compat_msghdr(msg_sys, msg_compat);
+	else
 		err = copy_msghdr_from_user(msg_sys, msg);
-		if (err)
-			return err;
-	}
+	if (err)
+		return err;
 
 	if (msg_sys->msg_iovlen > UIO_FASTIOV) {
 		err = -EMSGSIZE;
@@ -2219,14 +2217,12 @@ static int ___sys_recvmsg(struct socket
 	struct sockaddr __user *uaddr;
 	int __user *uaddr_len;
 
-	if (MSG_CMSG_COMPAT & flags) {
-		if (get_compat_msghdr(msg_sys, msg_compat))
-			return -EFAULT;
-	} else {
+	if (MSG_CMSG_COMPAT & flags)
+		err = get_compat_msghdr(msg_sys, msg_compat);
+	else
 		err = copy_msghdr_from_user(msg_sys, msg);
-		if (err)
-			return err;
-	}
+	if (err)
+		return err;
 
 	if (msg_sys->msg_iovlen > UIO_FASTIOV) {
 		err = -EMSGSIZE;
diff -druNp --no-dereference linux-libre-3.14.43-gnu/net/sunrpc/auth_gss/gss_rpc_xdr.c linux-libre-3.14.44-gnu/net/sunrpc/auth_gss/gss_rpc_xdr.c
--- linux-libre-3.14.43-gnu/net/sunrpc/auth_gss/gss_rpc_xdr.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/net/sunrpc/auth_gss/gss_rpc_xdr.c	2015-06-06 11:19:54.000000000 -0400
@@ -793,20 +793,26 @@ int gssx_dec_accept_sec_context(struct r
 {
 	u32 value_follows;
 	int err;
+	struct page *scratch;
+
+	scratch = alloc_page(GFP_KERNEL);
+	if (!scratch)
+		return -ENOMEM;
+	xdr_set_scratch_buffer(xdr, page_address(scratch), PAGE_SIZE);
 
 	/* res->status */
 	err = gssx_dec_status(xdr, &res->status);
 	if (err)
-		return err;
+		goto out_free;
 
 	/* res->context_handle */
 	err = gssx_dec_bool(xdr, &value_follows);
 	if (err)
-		return err;
+		goto out_free;
 	if (value_follows) {
 		err = gssx_dec_ctx(xdr, res->context_handle);
 		if (err)
-			return err;
+			goto out_free;
 	} else {
 		res->context_handle = NULL;
 	}
@@ -814,11 +820,11 @@ int gssx_dec_accept_sec_context(struct r
 	/* res->output_token */
 	err = gssx_dec_bool(xdr, &value_follows);
 	if (err)
-		return err;
+		goto out_free;
 	if (value_follows) {
 		err = gssx_dec_buffer(xdr, res->output_token);
 		if (err)
-			return err;
+			goto out_free;
 	} else {
 		res->output_token = NULL;
 	}
@@ -826,14 +832,17 @@ int gssx_dec_accept_sec_context(struct r
 	/* res->delegated_cred_handle */
 	err = gssx_dec_bool(xdr, &value_follows);
 	if (err)
-		return err;
+		goto out_free;
 	if (value_follows) {
 		/* we do not support upcall servers sending this data. */
-		return -EINVAL;
+		err = -EINVAL;
+		goto out_free;
 	}
 
 	/* res->options */
 	err = gssx_dec_option_array(xdr, &res->options);
 
+out_free:
+	__free_page(scratch);
 	return err;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/pci/hda/patch_conexant.c linux-libre-3.14.44-gnu/sound/pci/hda/patch_conexant.c
--- linux-libre-3.14.43-gnu/sound/pci/hda/patch_conexant.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/pci/hda/patch_conexant.c	2015-06-06 11:19:54.000000000 -0400
@@ -3591,6 +3591,14 @@ static const struct hda_codec_preset snd
 	  .patch = patch_conexant_auto },
 	{ .id = 0x14f150b9, .name = "CX20665",
 	  .patch = patch_conexant_auto },
+	{ .id = 0x14f150f1, .name = "CX20721",
+	  .patch = patch_conexant_auto },
+	{ .id = 0x14f150f2, .name = "CX20722",
+	  .patch = patch_conexant_auto },
+	{ .id = 0x14f150f3, .name = "CX20723",
+	  .patch = patch_conexant_auto },
+	{ .id = 0x14f150f4, .name = "CX20724",
+	  .patch = patch_conexant_auto },
 	{ .id = 0x14f1510f, .name = "CX20751/2",
 	  .patch = patch_conexant_auto },
 	{ .id = 0x14f15110, .name = "CX20751/2",
@@ -3625,6 +3633,10 @@ MODULE_ALIAS("snd-hda-codec-id:14f150ab"
 MODULE_ALIAS("snd-hda-codec-id:14f150ac");
 MODULE_ALIAS("snd-hda-codec-id:14f150b8");
 MODULE_ALIAS("snd-hda-codec-id:14f150b9");
+MODULE_ALIAS("snd-hda-codec-id:14f150f1");
+MODULE_ALIAS("snd-hda-codec-id:14f150f2");
+MODULE_ALIAS("snd-hda-codec-id:14f150f3");
+MODULE_ALIAS("snd-hda-codec-id:14f150f4");
 MODULE_ALIAS("snd-hda-codec-id:14f1510f");
 MODULE_ALIAS("snd-hda-codec-id:14f15110");
 MODULE_ALIAS("snd-hda-codec-id:14f15111");
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/pci/hda/patch_realtek.c linux-libre-3.14.44-gnu/sound/pci/hda/patch_realtek.c
--- linux-libre-3.14.43-gnu/sound/pci/hda/patch_realtek.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/pci/hda/patch_realtek.c	2015-06-06 11:19:54.000000000 -0400
@@ -4549,6 +4549,7 @@ static const struct snd_pci_quirk alc269
 	SND_PCI_QUIRK_VENDOR(0x104d, "Sony VAIO", ALC269_FIXUP_SONY_VAIO),
 	SND_PCI_QUIRK(0x10cf, 0x1475, "Lifebook", ALC269_FIXUP_LIFEBOOK),
 	SND_PCI_QUIRK(0x10cf, 0x15dc, "Lifebook T731", ALC269_FIXUP_LIFEBOOK_HP_PIN),
+	SND_PCI_QUIRK(0x10cf, 0x1757, "Lifebook E752", ALC269_FIXUP_LIFEBOOK_HP_PIN),
 	SND_PCI_QUIRK(0x10cf, 0x1845, "Lifebook U904", ALC269_FIXUP_LIFEBOOK_EXTMIC),
 	SND_PCI_QUIRK(0x17aa, 0x20f2, "Thinkpad SL410/510", ALC269_FIXUP_SKU_IGNORE),
 	SND_PCI_QUIRK(0x17aa, 0x215e, "Thinkpad L512", ALC269_FIXUP_SKU_IGNORE),
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/pci/hda/thinkpad_helper.c linux-libre-3.14.44-gnu/sound/pci/hda/thinkpad_helper.c
--- linux-libre-3.14.43-gnu/sound/pci/hda/thinkpad_helper.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/pci/hda/thinkpad_helper.c	2015-06-06 11:19:54.000000000 -0400
@@ -71,7 +71,6 @@ static void hda_fixup_thinkpad_acpi(stru
 		if (led_set_func(TPACPI_LED_MUTE, false) >= 0) {
 			old_vmaster_hook = spec->vmaster_mute.hook;
 			spec->vmaster_mute.hook = update_tpacpi_mute_led;
-			spec->vmaster_mute_enum = 1;
 			removefunc = false;
 		}
 		if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0) {
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/soc/codecs/mc13783.c linux-libre-3.14.44-gnu/sound/soc/codecs/mc13783.c
--- linux-libre-3.14.43-gnu/sound/soc/codecs/mc13783.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/soc/codecs/mc13783.c	2015-06-06 11:19:54.000000000 -0400
@@ -634,14 +634,14 @@ static int mc13783_probe(struct snd_soc_
 				AUDIO_SSI_SEL, 0);
 	else
 		mc13xxx_reg_rmw(priv->mc13xxx, MC13783_AUDIO_CODEC,
-				0, AUDIO_SSI_SEL);
+				AUDIO_SSI_SEL, AUDIO_SSI_SEL);
 
 	if (priv->dac_ssi_port == MC13783_SSI1_PORT)
 		mc13xxx_reg_rmw(priv->mc13xxx, MC13783_AUDIO_DAC,
 				AUDIO_SSI_SEL, 0);
 	else
 		mc13xxx_reg_rmw(priv->mc13xxx, MC13783_AUDIO_DAC,
-				0, AUDIO_SSI_SEL);
+				AUDIO_SSI_SEL, AUDIO_SSI_SEL);
 
 	return 0;
 }
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/soc/codecs/wm8960.c linux-libre-3.14.44-gnu/sound/soc/codecs/wm8960.c
--- linux-libre-3.14.43-gnu/sound/soc/codecs/wm8960.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/soc/codecs/wm8960.c	2015-06-06 11:19:54.000000000 -0400
@@ -392,7 +392,7 @@ static const struct snd_soc_dapm_route a
 	{ "Right Input Mixer", "Boost Switch", "Right Boost Mixer", },
 	{ "Right Input Mixer", NULL, "RINPUT1", },  /* Really Boost Switch */
 	{ "Right Input Mixer", NULL, "RINPUT2" },
-	{ "Right Input Mixer", NULL, "LINPUT3" },
+	{ "Right Input Mixer", NULL, "RINPUT3" },
 
 	{ "Left ADC", NULL, "Left Input Mixer" },
 	{ "Right ADC", NULL, "Right Input Mixer" },
diff -druNp --no-dereference linux-libre-3.14.43-gnu/sound/soc/codecs/wm8994.c linux-libre-3.14.44-gnu/sound/soc/codecs/wm8994.c
--- linux-libre-3.14.43-gnu/sound/soc/codecs/wm8994.c	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/sound/soc/codecs/wm8994.c	2015-06-06 11:19:54.000000000 -0400
@@ -2745,7 +2745,7 @@ static struct {
 };
 
 static int fs_ratios[] = {
-	64, 128, 192, 256, 348, 512, 768, 1024, 1408, 1536
+	64, 128, 192, 256, 384, 512, 768, 1024, 1408, 1536
 };
 
 static int bclk_divs[] = {
diff -druNp --no-dereference linux-libre-3.14.43-gnu/tools/vm/Makefile linux-libre-3.14.44-gnu/tools/vm/Makefile
--- linux-libre-3.14.43-gnu/tools/vm/Makefile	2015-05-17 12:54:01.000000000 -0400
+++ linux-libre-3.14.44-gnu/tools/vm/Makefile	2015-06-06 11:19:54.000000000 -0400
@@ -3,7 +3,7 @@
 TARGETS=page-types slabinfo
 
 LIB_DIR = ../lib/api
-LIBS = $(LIB_DIR)/libapikfs.a
+LIBS = $(LIB_DIR)/libapi.a
 
 CC = $(CROSS_COMPILE)gcc
 CFLAGS = -Wall -Wextra -I../lib/
