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: Lan Tianyu <tianyu.lan@intel.com>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Kamal Mostafa <kamal@canonical.com>
Subject: [PATCH 3.13 070/259] Revert "ACPI / AC: Remove AC's proc directory."
Date: Fri,  8 Aug 2014 13:38:13 -0700	[thread overview]
Message-ID: <1407530482-4483-71-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: Lan Tianyu <tianyu.lan@intel.com>

commit e63f6e28dda6de3de2392ddca321e211fd860925 upstream.

Revert commit ab0fd674d6ce (ACPI / AC: Remove AC's proc directory.),
because some old tools (e.g. kpowersave from kde 3.5.10) are still
using /proc/acpi/ac_adapter.

Fixes: ab0fd674d6ce (ACPI / AC: Remove AC's proc directory.)
Reported-and-tested-by: Sorin Manolache <sorinm@gmail.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 drivers/acpi/ac.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 128 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index cfcfd89..26e7e2f 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -30,6 +30,10 @@
 #include <linux/types.h>
 #include <linux/dmi.h>
 #include <linux/delay.h>
+#ifdef CONFIG_ACPI_PROCFS_POWER
+#include <linux/proc_fs.h>
+#include <linux/seq_file.h>
+#endif
 #include <linux/platform_device.h>
 #include <linux/power_supply.h>
 #include <acpi/acpi_bus.h>
@@ -52,6 +56,7 @@ MODULE_AUTHOR("Paul Diefenbaugh");
 MODULE_DESCRIPTION("ACPI AC Adapter Driver");
 MODULE_LICENSE("GPL");
 
+
 static int acpi_ac_add(struct acpi_device *device);
 static int acpi_ac_remove(struct acpi_device *device);
 static void acpi_ac_notify(struct acpi_device *device, u32 event);
@@ -67,6 +72,13 @@ static int acpi_ac_resume(struct device *dev);
 #endif
 static SIMPLE_DEV_PM_OPS(acpi_ac_pm, NULL, acpi_ac_resume);
 
+#ifdef CONFIG_ACPI_PROCFS_POWER
+extern struct proc_dir_entry *acpi_lock_ac_dir(void);
+extern void *acpi_unlock_ac_dir(struct proc_dir_entry *acpi_ac_dir);
+static int acpi_ac_open_fs(struct inode *inode, struct file *file);
+#endif
+
+
 static int ac_sleep_before_get_state_ms;
 
 static struct acpi_driver acpi_ac_driver = {
@@ -90,6 +102,16 @@ struct acpi_ac {
 
 #define to_acpi_ac(x) container_of(x, struct acpi_ac, charger)
 
+#ifdef CONFIG_ACPI_PROCFS_POWER
+static const struct file_operations acpi_ac_fops = {
+	.owner = THIS_MODULE,
+	.open = acpi_ac_open_fs,
+	.read = seq_read,
+	.llseek = seq_lseek,
+	.release = single_release,
+};
+#endif
+
 /* --------------------------------------------------------------------------
                                AC Adapter Management
    -------------------------------------------------------------------------- */
@@ -142,6 +164,83 @@ static enum power_supply_property ac_props[] = {
 	POWER_SUPPLY_PROP_ONLINE,
 };
 
+#ifdef CONFIG_ACPI_PROCFS_POWER
+/* --------------------------------------------------------------------------
+                              FS Interface (/proc)
+   -------------------------------------------------------------------------- */
+
+static struct proc_dir_entry *acpi_ac_dir;
+
+static int acpi_ac_seq_show(struct seq_file *seq, void *offset)
+{
+	struct acpi_ac *ac = seq->private;
+
+
+	if (!ac)
+		return 0;
+
+	if (acpi_ac_get_state(ac)) {
+		seq_puts(seq, "ERROR: Unable to read AC Adapter state\n");
+		return 0;
+	}
+
+	seq_puts(seq, "state:                   ");
+	switch (ac->state) {
+	case ACPI_AC_STATUS_OFFLINE:
+		seq_puts(seq, "off-line\n");
+		break;
+	case ACPI_AC_STATUS_ONLINE:
+		seq_puts(seq, "on-line\n");
+		break;
+	default:
+		seq_puts(seq, "unknown\n");
+		break;
+	}
+
+	return 0;
+}
+
+static int acpi_ac_open_fs(struct inode *inode, struct file *file)
+{
+	return single_open(file, acpi_ac_seq_show, PDE_DATA(inode));
+}
+
+static int acpi_ac_add_fs(struct acpi_ac *ac)
+{
+	struct proc_dir_entry *entry = NULL;
+
+	printk(KERN_WARNING PREFIX "Deprecated procfs I/F for AC is loaded,"
+			" please retry with CONFIG_ACPI_PROCFS_POWER cleared\n");
+	if (!acpi_device_dir(ac->device)) {
+		acpi_device_dir(ac->device) =
+			proc_mkdir(acpi_device_bid(ac->device), acpi_ac_dir);
+		if (!acpi_device_dir(ac->device))
+			return -ENODEV;
+	}
+
+	/* 'state' [R] */
+	entry = proc_create_data(ACPI_AC_FILE_STATE,
+				 S_IRUGO, acpi_device_dir(ac->device),
+				 &acpi_ac_fops, ac);
+	if (!entry)
+		return -ENODEV;
+	return 0;
+}
+
+static int acpi_ac_remove_fs(struct acpi_ac *ac)
+{
+
+	if (acpi_device_dir(ac->device)) {
+		remove_proc_entry(ACPI_AC_FILE_STATE,
+				  acpi_device_dir(ac->device));
+		remove_proc_entry(acpi_device_bid(ac->device), acpi_ac_dir);
+		acpi_device_dir(ac->device) = NULL;
+	}
+
+	return 0;
+}
+#endif
+
 /* --------------------------------------------------------------------------
                                    Driver Model
    -------------------------------------------------------------------------- */
@@ -222,6 +321,11 @@ static int acpi_ac_add(struct acpi_device *device)
 		goto end;
 
 	ac->charger.name = acpi_device_bid(device);
+#ifdef CONFIG_ACPI_PROCFS_POWER
+	result = acpi_ac_add_fs(ac);
+	if (result)
+		goto end;
+#endif
 	ac->charger.type = POWER_SUPPLY_TYPE_MAINS;
 	ac->charger.properties = ac_props;
 	ac->charger.num_properties = ARRAY_SIZE(ac_props);
@@ -235,8 +339,12 @@ static int acpi_ac_add(struct acpi_device *device)
 	       ac->state ? "on-line" : "off-line");
 
 end:
-	if (result)
+	if (result) {
+#ifdef CONFIG_ACPI_PROCFS_POWER
+		acpi_ac_remove_fs(ac);
+#endif
 		kfree(ac);
+	}
 
 	dmi_check_system(ac_dmi_table);
 	return result;
@@ -277,6 +385,10 @@ static int acpi_ac_remove(struct acpi_device *device)
 	if (ac->charger.dev)
 		power_supply_unregister(&ac->charger);
 
+#ifdef CONFIG_ACPI_PROCFS_POWER
+	acpi_ac_remove_fs(ac);
+#endif
+
 	kfree(ac);
 
 	return 0;
@@ -289,9 +401,20 @@ static int __init acpi_ac_init(void)
 	if (acpi_disabled)
 		return -ENODEV;
 
+#ifdef CONFIG_ACPI_PROCFS_POWER
+	acpi_ac_dir = acpi_lock_ac_dir();
+	if (!acpi_ac_dir)
+		return -ENODEV;
+#endif
+
+
 	result = acpi_bus_register_driver(&acpi_ac_driver);
-	if (result < 0)
+	if (result < 0) {
+#ifdef CONFIG_ACPI_PROCFS_POWER
+		acpi_unlock_ac_dir(acpi_ac_dir);
+#endif
 		return -ENODEV;
+	}
 
 	return 0;
 }
@@ -299,6 +422,9 @@ static int __init acpi_ac_init(void)
 static void __exit acpi_ac_exit(void)
 {
 	acpi_bus_unregister_driver(&acpi_ac_driver);
+#ifdef CONFIG_ACPI_PROCFS_POWER
+	acpi_unlock_ac_dir(acpi_ac_dir);
+#endif
 }
 module_init(acpi_ac_init);
 module_exit(acpi_ac_exit);
-- 
1.9.1


  parent reply	other threads:[~2014-08-08 21:26 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 ` [PATCH 3.13 015/259] x86/xen: safely map and unmap grant frames when in atomic context Kamal Mostafa
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 ` Kamal Mostafa [this message]
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-71-git-send-email-kamal@canonical.com \
    --to=kamal@canonical.com \
    --cc=kernel-team@lists.ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=stable@vger.kernel.org \
    --cc=tianyu.lan@intel.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®