mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kamal Mostafa <kamal@canonical.com>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	kernel-team@lists.ubuntu.com
Cc: David Vrabel <david.vrabel@citrix.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Stefan Bader <stefan.bader@canonical.com>,
	Kamal Mostafa <kamal@canonical.com>
Subject: [PATCH 3.13 015/259] x86/xen: safely map and unmap grant frames when in atomic context
Date: Fri,  8 Aug 2014 13:37:18 -0700	[thread overview]
Message-ID: <1407530482-4483-16-git-send-email-kamal@canonical.com> (raw)
In-Reply-To: <1407530482-4483-1-git-send-email-kamal@canonical.com>

3.13.11.6 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: David Vrabel <david.vrabel@citrix.com>

commit b7dd0e350e0bd4c0fddcc9b8958342700b00b168 upstream.

arch_gnttab_map_frames() and arch_gnttab_unmap_frames() are called in
atomic context but were calling alloc_vm_area() which might sleep.

Also, if a driver attempts to allocate a grant ref from an interrupt
and the table needs expanding, then the CPU may already by in lazy MMU
mode and apply_to_page_range() will BUG when it tries to re-enable
lazy MMU mode.

These two functions are only used in PV guests.

Introduce arch_gnttab_init() to allocates the virtual address space in
advance.

Avoid the use of apply_to_page_range() by using saving and using the
array of PTE addresses from the alloc_vm_area() call (which ensures
that the required page tables are pre-allocated).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[ David Vrabel: Backported to 3.13.10. ]
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 arch/arm/xen/grant-table.c |   5 ++
 arch/x86/xen/grant-table.c | 148 ++++++++++++++++++++++++++++-----------------
 drivers/xen/grant-table.c  |   5 ++
 include/xen/grant_table.h  |   1 +
 4 files changed, 102 insertions(+), 57 deletions(-)

diff --git a/arch/arm/xen/grant-table.c b/arch/arm/xen/grant-table.c
index 859a9bb..91cf08b 100644
--- a/arch/arm/xen/grant-table.c
+++ b/arch/arm/xen/grant-table.c
@@ -51,3 +51,8 @@ int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
 {
 	return -ENOSYS;
 }
+
+int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status)
+{
+	return 0;
+}
diff --git a/arch/x86/xen/grant-table.c b/arch/x86/xen/grant-table.c
index 3a5f55d..4d2c9bf 100644
--- a/arch/x86/xen/grant-table.c
+++ b/arch/x86/xen/grant-table.c
@@ -36,92 +36,126 @@
 
 #include <linux/sched.h>
 #include <linux/mm.h>
+#include <linux/slab.h>
 #include <linux/vmalloc.h>
 
 #include <xen/interface/xen.h>
 #include <xen/page.h>
 #include <xen/grant_table.h>
+#include <xen/xen.h>
 
 #include <asm/pgtable.h>
 
-static int map_pte_fn(pte_t *pte, struct page *pmd_page,
-		      unsigned long addr, void *data)
-{
-	unsigned long **frames = (unsigned long **)data;
-
-	set_pte_at(&init_mm, addr, pte, mfn_pte((*frames)[0], PAGE_KERNEL));
-	(*frames)++;
-	return 0;
-}
-
-/*
- * This function is used to map shared frames to store grant status. It is
- * different from map_pte_fn above, the frames type here is uint64_t.
- */
-static int map_pte_fn_status(pte_t *pte, struct page *pmd_page,
-			     unsigned long addr, void *data)
-{
-	uint64_t **frames = (uint64_t **)data;
-
-	set_pte_at(&init_mm, addr, pte, mfn_pte((*frames)[0], PAGE_KERNEL));
-	(*frames)++;
-	return 0;
-}
-
-static int unmap_pte_fn(pte_t *pte, struct page *pmd_page,
-			unsigned long addr, void *data)
-{
-
-	set_pte_at(&init_mm, addr, pte, __pte(0));
-	return 0;
-}
+static struct gnttab_vm_area {
+	struct vm_struct *area;
+	pte_t **ptes;
+} gnttab_shared_vm_area, gnttab_status_vm_area;
 
 int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes,
 			   unsigned long max_nr_gframes,
 			   void **__shared)
 {
-	int rc;
 	void *shared = *__shared;
+	unsigned long addr;
+	unsigned long i;
+
+	if (shared == NULL)
+		*__shared = shared = gnttab_shared_vm_area.area->addr;
 
-	if (shared == NULL) {
-		struct vm_struct *area =
-			alloc_vm_area(PAGE_SIZE * max_nr_gframes, NULL);
-		BUG_ON(area == NULL);
-		shared = area->addr;
-		*__shared = shared;
+	addr = (unsigned long)shared;
+
+	for (i = 0; i < nr_gframes; i++) {
+		set_pte_at(&init_mm, addr, gnttab_shared_vm_area.ptes[i],
+			   mfn_pte(frames[i], PAGE_KERNEL));
+		addr += PAGE_SIZE;
 	}
 
-	rc = apply_to_page_range(&init_mm, (unsigned long)shared,
-				 PAGE_SIZE * nr_gframes,
-				 map_pte_fn, &frames);
-	return rc;
+	return 0;
 }
 
 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes,
 			   unsigned long max_nr_gframes,
 			   grant_status_t **__shared)
 {
-	int rc;
 	grant_status_t *shared = *__shared;
+	unsigned long addr;
+	unsigned long i;
+
+	if (shared == NULL)
+		*__shared = shared = gnttab_status_vm_area.area->addr;
 
-	if (shared == NULL) {
-		/* No need to pass in PTE as we are going to do it
-		 * in apply_to_page_range anyhow. */
-		struct vm_struct *area =
-			alloc_vm_area(PAGE_SIZE * max_nr_gframes, NULL);
-		BUG_ON(area == NULL);
-		shared = area->addr;
-		*__shared = shared;
+	addr = (unsigned long)shared;
+
+	for (i = 0; i < nr_gframes; i++) {
+		set_pte_at(&init_mm, addr, gnttab_status_vm_area.ptes[i],
+			   mfn_pte(frames[i], PAGE_KERNEL));
+		addr += PAGE_SIZE;
 	}
 
-	rc = apply_to_page_range(&init_mm, (unsigned long)shared,
-				 PAGE_SIZE * nr_gframes,
-				 map_pte_fn_status, &frames);
-	return rc;
+	return 0;
 }
 
 void arch_gnttab_unmap(void *shared, unsigned long nr_gframes)
 {
-	apply_to_page_range(&init_mm, (unsigned long)shared,
-			    PAGE_SIZE * nr_gframes, unmap_pte_fn, NULL);
+	pte_t **ptes;
+	unsigned long addr;
+	unsigned long i;
+
+	if (shared == gnttab_status_vm_area.area->addr)
+		ptes = gnttab_status_vm_area.ptes;
+	else
+		ptes = gnttab_shared_vm_area.ptes;
+
+	addr = (unsigned long)shared;
+
+	for (i = 0; i < nr_gframes; i++) {
+		set_pte_at(&init_mm, addr, ptes[i], __pte(0));
+		addr += PAGE_SIZE;
+	}
+}
+
+static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames)
+{
+	area->ptes = kmalloc(sizeof(pte_t *) * nr_frames, GFP_KERNEL);
+	if (area->ptes == NULL)
+		return -ENOMEM;
+
+	area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes);
+	if (area->area == NULL) {
+		kfree(area->ptes);
+		return -ENOMEM;
+	}
+
+	return 0;
+}
+
+static void arch_gnttab_vfree(struct gnttab_vm_area *area)
+{
+	free_vm_area(area->area);
+	kfree(area->ptes);
+}
+
+int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status)
+{
+	int ret;
+
+	if (!xen_pv_domain())
+		return 0;
+
+	ret = arch_gnttab_valloc(&gnttab_shared_vm_area, nr_shared);
+	if (ret < 0)
+		return ret;
+
+	/*
+	 * Always allocate the space for the status frames in case
+	 * we're migrated to a host with V2 support.
+	 */
+	ret = arch_gnttab_valloc(&gnttab_status_vm_area, nr_status);
+	if (ret < 0)
+		goto err;
+
+	return 0;
+  err:
+	arch_gnttab_vfree(&gnttab_shared_vm_area);
+	return -ENOMEM;
 }
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index aa846a4..b983a99 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -1250,6 +1250,11 @@ int gnttab_init(void)
 		}
 	}
 
+	ret = arch_gnttab_init(boot_max_nr_grant_frames,
+			       nr_status_frames(boot_max_nr_grant_frames));
+	if (ret < 0)
+		goto ini_nomem;
+
 	if (gnttab_setup() < 0) {
 		ret = -ENODEV;
 		goto ini_nomem;
diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h
index 694dcaf..bbb6c50 100644
--- a/include/xen/grant_table.h
+++ b/include/xen/grant_table.h
@@ -170,6 +170,7 @@ gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr,
 	unmap->dev_bus_addr = 0;
 }
 
+int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status);
 int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes,
 			   unsigned long max_nr_gframes,
 			   void **__shared);
-- 
1.9.1


  parent reply	other threads:[~2014-08-08 22:33 UTC|newest]

Thread overview: 261+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-08 20:37 [3.13.y.z extended stable] Linux 3.13.11.6 stable review Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 001/259] ACPI / PAD: call schedule() when need_resched() is true Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 002/259] KVM: ioapic: fix assignment of ioapic->rtc_status.pending_eoi (CVE-2014-0155) Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 003/259] target: Explicitly clear ramdisk_mcp backend pages Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 004/259] sctp: Fix sk_ack_backlog wrap-around problem Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 005/259] mm: hugetlb: fix copy_hugetlb_page_range() Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 006/259] x86_32, entry: Store badsys error code in %eax Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 007/259] shmem: fix faulting into a hole while it's punched Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 008/259] shmem: fix faulting into a hole, not taking i_mutex Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 009/259] shmem: fix splicing from a hole while it's punched Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 010/259] net: fix UDP tunnel GSO of frag_list GRO packets Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 011/259] ipvs: Fix panic due to non-linear skb Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 012/259] ALSA: hda/hdmi - apply all Haswell fix-ups to Broadwell display codec Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 013/259] ALSA: hda - verify pin:converter connection on unsol event for HSW and VLV Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 014/259] ALSA: hda - verify pin:cvt connection on preparing a stream for Intel HDMI codec Kamal Mostafa
2014-08-08 20:37 ` Kamal Mostafa [this message]
2014-08-08 20:37 ` [PATCH 3.13 016/259] ext4: Fix buffer double free in ext4_alloc_branch() Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 017/259] ARM: OMAP2+: Fix parser-bug in platform muxing code Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 018/259] KVM: x86: Increase the number of fixed MTRR regs to 10 Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 019/259] KVM: x86: preserve the high 32-bits of the PAT register Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 020/259] usb: musb: ux500: don't propagate the OF node Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 021/259] usb: gadget: f_fs: fix NULL pointer dereference when there are no strings Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 022/259] staging: iio/ad7291: fix error code in ad7291_probe() Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 023/259] iio: of_iio_channel_get_by_name() returns non-null pointers for error legs Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 024/259] irqchip: spear_shirq: Fix interrupt offset Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 025/259] USB: option: add device ID for SpeedUp SU9800 usb 3g modem Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 026/259] USB: ftdi_sio: fix null deref at port probe Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 027/259] usb: option: add/modify Olivetti Olicard modems Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 028/259] scsi_error: fix invalid setting of host byte Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 029/259] xhci: Use correct SLOT ID when handling a reset device command Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 030/259] xhci: correct burst count field for isoc transfers on 1.0 xhci hosts Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 031/259] xhci: clear root port wake on bits if controller isn't wake-up capable Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 032/259] xhci: Fix runtime suspended xhci from blocking system suspend Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 033/259] ibmvscsi: Abort init sequence during error recovery Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 034/259] ibmvscsi: Add memory barriers for send / receive Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 035/259] virtio-scsi: avoid cancelling uninitialized work items Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 036/259] virtio-scsi: fix various bad behavior on aborted requests Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 037/259] MIPS: KVM: Fix memory leak on VCPU Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 038/259] ext4: Fix hole punching for files with indirect blocks Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 039/259] usb: musb: Fix panic upon musb_am335x module removal Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 040/259] usb: musb: Ensure that cppi41 timer gets armed on premature DMA TX irq Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 041/259] nfsd: fix rare symlink decoding bug Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 042/259] tools: ffs-test: fix header values endianess Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 043/259] usb-storage/SCSI: Add broken_fua blacklist flag Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 044/259] drm/radeon/dpm: fix typo in vddci setup for eg/btc Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 045/259] drm/radeon/dpm: fix vddci setup typo on cayman Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 046/259] tracing: Remove ftrace_stop/start() from reading the trace file Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 047/259] usb: chipidea: udc: delete td from req's td list at ep_dequeue Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 048/259] drm/radeon/cik: fix typo in EOP packet Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 049/259] md: flush writes before starting a recovery Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 050/259] drm/vmwgfx: Fix incorrect write to read-only register v2: Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 051/259] mm: page_alloc: fix CMA area initialisation when pageblock > MAX_ORDER Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 052/259] /proc/stat: convert to single_open_size() Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 053/259] nick kvfree() from apparmor Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 054/259] fs/seq_file: fallback to vmalloc allocation Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 055/259] lz4: add overrun checks to lz4_uncompress_unknownoutputsize() Kamal Mostafa
2014-08-08 20:37 ` [PATCH 3.13 056/259] ptrace,x86: force IRET path after a ptrace_stop() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 057/259] arm64: mm: Make icache synchronisation logic huge page aware Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 058/259] workqueue: fix dev_set_uevent_suppress() imbalance Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 059/259] cpuset,mempolicy: fix sleeping function called from invalid context Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 060/259] crypto: sha512_ssse3 - fix byte count to bit count conversion Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 061/259] thermal: hwmon: Make the check for critical temp valid consistent Kamal Mostafa
2014-08-09 16:51   ` edubezval
2014-08-08 20:38 ` [PATCH 3.13 062/259] clk: s2mps11: Fix double free corruption during driver unbind Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 063/259] hwmon: (amc6821) Fix permissions for temp2_input Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 064/259] hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 065/259] hwmon: (adm1021) Fix cache problem when writing temperature limits Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 066/259] ext4: fix unjournalled bg descriptor while initializing inode bitmap Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 067/259] ext4: clarify error count warning messages Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 068/259] ext4: clarify ext4_error message in ext4_mb_generate_buddy_error() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 069/259] ext4: disable synchronous transaction batching if max_batch_time==0 Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 070/259] Revert "ACPI / AC: Remove AC's proc directory." Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 071/259] intel_pstate: Fix setting VID Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 072/259] intel_pstate: don't touch turbo bit if turbo disabled or unavailable Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 073/259] intel_pstate: Set CPU number before accessing MSRs Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 074/259] USB: cp210x: add support for Corsair usb dongle Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 075/259] usb: option: Add ID for Telewell TW-LTE 4G v2 Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 076/259] ACPI / EC: Avoid race condition related to advance_transaction() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 077/259] ACPI / EC: Add asynchronous command byte write support Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 078/259] ACPI / EC: Remove duplicated ec_wait_ibf0() waiter Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 079/259] ACPI / EC: Fix race condition in ec_transaction_completed() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 080/259] ACPI / battery: Retry to get battery information if failed during probing Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 081/259] hwmon: (adm1031) Fix writes to limit registers Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 082/259] workqueue: zero cpumask of wq_numa_possible_cpumask on init Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 083/259] hwmon: (emc2103) Clamp limits instead of bailing out Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 084/259] arm64: implement TASK_SIZE_OF Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 085/259] iio: ti_am335x_adc: Fix: Use same step id at FIFOs both ends Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 086/259] cpufreq: Makefile: fix compilation for davinci platform Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 087/259] drm/i915: Don't clobber the GTT when it's within stolen memory Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 088/259] Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 089/259] USB: ftdi_sio: Add extra PID Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 090/259] crypto: caam - fix memleak in caam_jr module Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 091/259] dm: allocate a special workqueue for deferred device removal Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 092/259] dm io: fix a race condition in the wake up code for sync_io Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 093/259] drm/radeon/dp: return -EIO for flags not zero case Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 094/259] drm/radeon: fix typo in golden register setup on evergreen Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 095/259] drm/radeon: fix typo in ci_stop_dpm() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 096/259] drm/radeon/dpm: Reenabling SS on Cayman Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 097/259] powerpc/perf: Add PPMU_ARCH_207S define Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 098/259] powerpc/perf: Clear MMCR2 when enabling PMU Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 099/259] powerpc/perf: Never program book3s PMCs with values >= 0x80000000 Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 100/259] USB: serial: ftdi_sio: Add Infineon Triboard Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 101/259] phy: core: Fix error path in phy_create() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 102/259] ext4: fix a potential deadlock in __ext4_es_shrink() Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 103/259] parisc: add serial ports of C8000/1GHz machine to hardware database Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 104/259] parisc: fix fanotify_mark() syscall on 32bit compat kernel Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 105/259] parisc: drop unused defines and header includes Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 106/259] clk: spear3xx: Use proper control register offset Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 107/259] Bluetooth: Ignore H5 non-link packets in non-active state Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 108/259] iwlwifi: update the 7265 series HW IDs Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 109/259] mwifiex: fix Tx timeout issue Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 110/259] x86, tsc: Fix cpufreq lockup Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 111/259] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 112/259] perf: Do not allow optimized switch for non-cloned events Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 113/259] xen/manage: fix potential deadlock when resuming the console Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 114/259] iwlwifi: dvm: don't enable CTS to self Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 115/259] iwlwifi: mvm: disable CTS to Self Kamal Mostafa
2014-08-08 20:38 ` [PATCH 3.13 116/259] xen/balloon: set ballooned out pages as invalid in p2m Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 117/259] mtd: devices: elm: fix elm_context_save() and elm_context_restore() functions Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 118/259] fuse: timeout comparison fix Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 119/259] fuse: ignore entry-timeout on LOOKUP_REVAL Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 120/259] fuse: handle large user and group ID Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 121/259] alarmtimer: Fix bug where relative alarm timers were treated as absolute Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 122/259] irqchip: gic: Add support for cortex a7 compatible string Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 123/259] net: mvneta: fix operation in 10 Mbit/s mode Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 124/259] net: mvneta: Fix big endian issue in mvneta_txq_desc_csum() Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 125/259] igb: Workaround for i210 Errata 25: Slow System Clock Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 126/259] x86/efi: Include a .bss section within the PE/COFF headers Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 127/259] igb: do a reset on SR-IOV re-init if device is down Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 128/259] iio:core: Handle error when mask type is not separate Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 129/259] of/irq: do irq resolution in platform_get_irq_byname() Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 130/259] platform_get_irq: Revert to platform_get_resource if of_irq_get fails Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 131/259] aio: protect reqs_available updates from changes in interrupt handlers Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 132/259] hwmon: (da9052) Don't use dash in the name attribute Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 133/259] hwmon: (da9055) " Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 134/259] net/l2tp: don't fall back on UDP [get|set]sockopt Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 135/259] PM / sleep: Fix request_firmware() error at resume Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 136/259] ALSA: hda - Fix broken PM due to incomplete i915 initialization Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 137/259] tracing: Add ftrace_trace_stack into __trace_puts/__trace_bputs Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 138/259] tracing: Fix graph tracer with stack tracer on other archs Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 139/259] tracing: Add TRACE_ITER_PRINTK flag check in __trace_puts/__trace_bputs Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 140/259] dm thin metadata: do not allow the data block size to change Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 141/259] dm cache " Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 142/259] quota: missing lock in dqcache_shrink_scan() Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 143/259] ring-buffer: Fix polling on trace_pipe Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 144/259] sched: Fix possible divide by zero in avg_atom() calculation Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 145/259] locking/mutex: Disable optimistic spinning on some architectures Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 146/259] drm/qxl: return IRQ_NONE if it was not our irq Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 147/259] hwmon: (adt7470) Fix writes to temperature limit registers Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 148/259] cpufreq: move policy kobj to policy->cpu at resume Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 149/259] drm/radeon: avoid leaking edid data Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 150/259] drm/radeon: set default bl level to something reasonable Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 151/259] usb: chipidea: udc: Disable auto ZLP generation on ep0 Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 152/259] usb: Check if port status is equal to RxDetect Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 153/259] irqchip: gic: Fix core ID calculation when topology is read from DT Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 154/259] slab_common: fix the check for duplicate slab names Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 155/259] xtensa: add fixup for double exception raised in window overflow Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 156/259] [media] media: v4l2-core: v4l2-dv-timings.c: Cleaning up code wrong value used in aspect ratio Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 157/259] [media] hdpvr: fix two audio bugs Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 158/259] block: don't assume last put of shared tags is for the host Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 159/259] blkcg: don't call into policy draining if root_blkg is already gone Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 160/259] block: provide compat ioctl for BLKZEROOUT Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 161/259] libata: support the ata host which implements a queue depth less than 32 Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 162/259] [media] tda10071: force modulation to QPSK on DVB-S Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 163/259] [media] gspca_pac7302: Add new usb-id for Genius i-Look 317 Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 164/259] s390/ptrace: fix PSW mask check Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 165/259] ahci: add support for the Promise FastTrak TX8660 SATA HBA (ahci mode) Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 166/259] Input: fix defuzzing logic Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 167/259] tracing: Fix wraparound problems in "uptime" trace clock Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 168/259] drm/i915: Reorder the semaphore deadlock check, again Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 169/259] libata: introduce ata_host->n_tags to avoid oops on SAS controllers Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 170/259] drm/radeon: fix irq ring buffer overflow handling Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 171/259] coredump: fix the setting of PF_DUMPCORE Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 172/259] fs: umount on symlink leaks mnt count Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 173/259] hwmon: (smsc47m192) Fix temperature limit and vrm write operations Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 174/259] parisc: Remove SA_RESTORER define Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 175/259] drm/radeon: fix cut and paste issue for hawaii Kamal Mostafa
2014-08-08 20:39 ` [PATCH 3.13 176/259] parport: fix menu breakage Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 177/259] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 178/259] Revert "mac80211: move "bufferable MMPDU" check to fix AP mode scan" Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 179/259] scsi: handle flush errors properly Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 180/259] cfg80211: fix mic_failure tracing Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 181/259] iio: buffer: Fix demux table creation Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 182/259] iio:bma180: Fix scale factors to report correct acceleration units Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 183/259] iio:bma180: Missing check for frequency fractional part Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 184/259] powerpc/perf: Fix MMCR2 handling for EBB Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 185/259] ath9k: fix aggregation session lockup Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 186/259] sched_clock: Avoid corrupting hrtimer tree during suspend Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 187/259] staging: vt6655: Fix Warning on boot handle_irq_event_percpu Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 188/259] staging: vt6655: Fix disassociated messages every 10 seconds Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 189/259] can: c_can_platform: Fix raminit, use devm_ioremap() instead of devm_ioremap_resource() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 190/259] crypto: arm-aes - fix encryption of unaligned data Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 191/259] ARM: fix alignment of keystone page table fixup Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 192/259] net: sendmsg: fix NULL pointer dereference Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 193/259] mm/page-writeback.c: fix divide by zero in bdi_dirty_limits() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 194/259] mm, thp: do not allow thp faults to avoid cpuset restrictions Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 195/259] rapidio/tsi721_dma: fix failure to obtain transaction descriptor Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 196/259] memcg: oom_notify use-after-free fix Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 197/259] crypto: af_alg - properly label AF_ALG socket Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 198/259] printk: rename printk_sched to printk_deferred Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 199/259] timer: Fix lock inversion between hrtimer_bases.lock and scheduler locks Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 200/259] dm bufio: fully initialize shrinker Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 201/259] dm cache: fix race affecting dirty block count Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 202/259] netlink: Rename netlink_capable netlink_allowed Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 203/259] net: Move the permission check in sock_diag_put_filterinfo to packet_diag_dump Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 204/259] net: Add variants of capable for use on on sockets Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 205/259] net: Add variants of capable for use on netlink messages Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 206/259] net: Use netlink_ns_capable to verify the permisions of " Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 207/259] netlink: Only check file credentials for implicit destinations Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 208/259] qlcnic: info leak in qlcnic_dcb_peer_app_info() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 209/259] netlink: rate-limit leftover bytes warning and print process name Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 210/259] bridge: Prevent insertion of FDB entry with disallowed vlan Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 211/259] net: tunnels - enable module autoloading Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 212/259] net: fix inet_getid() and ipv6_select_ident() bugs Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 213/259] team: fix mtu setting Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 214/259] tcp: fix cwnd undo on DSACK in F-RTO Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 215/259] sh_eth: use RNC mode for packet reception Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 216/259] sh_eth: fix SH7619/771x support Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 217/259] net: filter: fix typo in sparc BPF JIT Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 218/259] net: filter: fix sparc32 typo Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 219/259] net: qmi_wwan: add Olivetti Olicard modems Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 220/259] net: force a list_del() in unregister_netdevice_many() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 221/259] ipip, sit: fix ipv4_{update_pmtu,redirect} calls Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 222/259] sfc: PIO:Restrict to 64bit arch and use 64-bit writes Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 223/259] ipv4: fix a race in ip4_datagram_release_cb() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 224/259] rtnetlink: fix userspace API breakage for iproute2 < v3.9.0 Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 225/259] vxlan: use dev->needed_headroom instead of dev->hard_header_len Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 226/259] udp: ipv4: do not waste time in __udp4_lib_mcast_demux_lookup Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 227/259] net/mlx4_core: pass pci_device_id.driver_data to __mlx4_init_one during reset Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 228/259] net/mlx4_core: Preserve pci_dev_data after __mlx4_remove_one() Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 229/259] ip_tunnel: fix ip_tunnel_lookup Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 230/259] slip: Fix deadlock in write_wakeup Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 231/259] slcan: Port write_wakeup deadlock fix from slip Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 232/259] net: sctp: propagate sysctl errors from proc_do* properly Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 233/259] tcp: fix tcp_match_skb_to_sack() for unaligned SACK at end of an skb Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 234/259] net: sctp: check proc_dointvec result in proc_sctp_do_auth Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 235/259] 8021q: fix a potential memory leak Kamal Mostafa
2014-08-08 20:40 ` [PATCH 3.13 236/259] net: huawei_cdc_ncm: increase command buffer size Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 237/259] ipv4: fix dst race in sk_dst_get() Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 238/259] ipv4: irq safe sk_dst_[re]set() and ipv4_sk_update_pmtu() fix Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 239/259] net: fix sparse warning in sk_dst_set() Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 240/259] vlan: free percpu stats in device destructor Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 241/259] bnx2x: fix possible panic under memory stress Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 242/259] tcp: Fix divide by zero when pushing during tcp-repair Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 243/259] ipv4: icmp: Fix pMTU handling for rare case Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 244/259] net: qmi_wwan: Add ID for Telewell TW-LTE 4G v2 Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 245/259] net: qmi_wwan: add two Sierra Wireless/Netgear devices Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 246/259] net: Fix NETDEV_CHANGE notifier usage causing spurious arp flush Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 247/259] igmp: fix the problem when mc leave group Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 248/259] tcp: fix false undo corner cases Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 249/259] appletalk: Fix socket referencing in skb Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 250/259] netlink: Fix handling of error from netlink_dump() Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 251/259] be2net: set EQ DB clear-intr bit in be_open() Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 252/259] tipc: clear 'next'-pointer of message fragments before reassembly Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 253/259] net: sctp: fix information leaks in ulpevent layer Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 254/259] net: pppoe: use correct channel MTU when using Multilink PPP Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 255/259] sunvnet: clean up objects created in vnet_new() on vnet_exit() Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 256/259] net: huawei_cdc_ncm: add "subclass 3" devices Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 257/259] dns_resolver: assure that dns_query() result is null-terminated Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 258/259] dns_resolver: Null-terminate the right string Kamal Mostafa
2014-08-08 20:41 ` [PATCH 3.13 259/259] ipv4: fix buffer overflow in ip_options_compile() Kamal Mostafa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407530482-4483-16-git-send-email-kamal@canonical.com \
    --to=kamal@canonical.com \
    --cc=david.vrabel@citrix.com \
    --cc=kernel-team@lists.ubuntu.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=stefan.bader@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®