[PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Len Brown
From: Feng Tang By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. https://bugzilla.kernel.org/show_bug.cgi?id=45151 Reported-and-Tested-by: Francesco Signed-off-by: Feng Tang Signed-off-by: Len Brown cc:

[PATCH 28/30] cpuidle / ACPI: fix potential NULL pointer dereference

2012-10-09 Thread Len Brown
From: Wei Yongjun The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Len Brown --- drivers/acpi/processor_idle.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 25/30] thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()

2012-10-09 Thread Len Brown
From: Sachin Kamat exynos_unregister_thermal() is functional only when 'th_zone' is not NULL (ensured by the NULL checks). However, in the event it is NULL, it gets dereferenced in the for loop. This patch fixes this issue. Signed-off-by: Sachin Kamat --- drivers/thermal/exynos_thermal.c | 7

[PATCH 19/30] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the in-kernel thermal

[PATCH 13/30] Thermal: Introduce locking for cdev.thermal_instances list.

2012-10-09 Thread Len Brown
From: Zhang Rui we need to go over all the thermal_instance list of a cooling device to decide which cooling state to put the cooling device to. But at this time, as a cooling device may be referenced in multiple thermal zones, we need to lock the list first in case another thermal zone is

[PATCH 11/30] Thermal: Introduce simple arbitrator for setting device cooling state

2012-10-09 Thread Len Brown
From: Zhang Rui This fixes the problem that a cooling device may be referenced by by multiple trip points in multiple thermal zones. With this patch, we have two stages for updating a thermal zone, 1. check if a thermal_instance needs to be updated or not 2. update the cooling device, based on

[PATCH 09/30] Thermal: Rename thermal_instance.node to thermal_instance.tz_node.

2012-10-09 Thread Len Brown
From: Zhang Rui thermal_instance should be referenced by both thermal zone devices and thermal cooling devices. Rename thermal_instance.node to thermal_instance.tz_node in this patch and thermal_instanace.cdev_node will be introduced in next patch. Signed-off-by: Zhang Rui Reviewed-by: Rafael

[PATCH 05/30] Thermal: Remove tc1/tc2 in generic thermal layer.

2012-10-09 Thread Len Brown
From: Zhang Rui Remove tc1/tc2 in generic thermal layer. .get_trend() callback starts to take effect from this patch. Signed-off-by: Zhang Rui Reviewed-by: Rafael J. Wysocki Reviewed-by: Valentin, Eduardo --- drivers/acpi/thermal.c | 5 +

[PATCH 01/30] Thermal: Introduce multiple cooling states support

2012-10-09 Thread Len Brown
From: Zhang Rui This is because general active cooling devices, like fans, may have multiple speeds, which can be mapped to different cooling states. Signed-off-by: Zhang Rui Reviewed-by: Rafael J. Wysocki Reviewed-by: Valentin, Eduardo --- drivers/thermal/thermal_sys.c | 12 ++-- 1

ACPI & Thermal patches for Linux-3.7-merge

2012-10-09 Thread Len Brown
Here is my 3.7 queue of Thermal pathces (from Zhang-Rui's release tree) plus a few misc fixes. I fixed two merge issues when pulling rui's tree, the TC1/TC2 vs OMAP and the MAX_IDR_MASK rename issue. Please let me know if you see troubles with any of these patches, they are currently on my

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-09 Thread Kees Cook
On Mon, Oct 8, 2012 at 7:47 PM, Stephen Rothwell wrote: > Hi Kees, > > On Mon, 8 Oct 2012 18:57:51 -0700 Kees Cook wrote: >> >> On Mon, Oct 8, 2012 at 6:20 PM, Greg Kroah-Hartman >> wrote: >> > On Mon, Oct 08, 2012 at 05:46:08PM -0700, Kees Cook wrote: >> >> On Mon, Oct 8, 2012 at 4:53 PM, Greg

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-09 Thread Kees Cook
On Mon, Oct 8, 2012 at 7:47 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Kees, On Mon, 8 Oct 2012 18:57:51 -0700 Kees Cook keesc...@chromium.org wrote: On Mon, Oct 8, 2012 at 6:20 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Oct 08, 2012 at 05:46:08PM -0700,

ACPI Thermal patches for Linux-3.7-merge

2012-10-09 Thread Len Brown
Here is my 3.7 queue of Thermal pathces (from Zhang-Rui's release tree) plus a few misc fixes. I fixed two merge issues when pulling rui's tree, the TC1/TC2 vs OMAP and the MAX_IDR_MASK rename issue. Please let me know if you see troubles with any of these patches, they are currently on my next

[PATCH 01/30] Thermal: Introduce multiple cooling states support

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com This is because general active cooling devices, like fans, may have multiple speeds, which can be mapped to different cooling states. Signed-off-by: Zhang Rui rui.zh...@intel.com Reviewed-by: Rafael J. Wysocki r...@sisk.pl Reviewed-by: Valentin, Eduardo

[PATCH 05/30] Thermal: Remove tc1/tc2 in generic thermal layer.

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com Remove tc1/tc2 in generic thermal layer. .get_trend() callback starts to take effect from this patch. Signed-off-by: Zhang Rui rui.zh...@intel.com Reviewed-by: Rafael J. Wysocki r...@sisk.pl Reviewed-by: Valentin, Eduardo eduardo.valen...@ti.com ---

[PATCH 09/30] Thermal: Rename thermal_instance.node to thermal_instance.tz_node.

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com thermal_instance should be referenced by both thermal zone devices and thermal cooling devices. Rename thermal_instance.node to thermal_instance.tz_node in this patch and thermal_instanace.cdev_node will be introduced in next patch. Signed-off-by: Zhang Rui

[PATCH 11/30] Thermal: Introduce simple arbitrator for setting device cooling state

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com This fixes the problem that a cooling device may be referenced by by multiple trip points in multiple thermal zones. With this patch, we have two stages for updating a thermal zone, 1. check if a thermal_instance needs to be updated or not 2. update the

[PATCH 13/30] Thermal: Introduce locking for cdev.thermal_instances list.

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com we need to go over all the thermal_instance list of a cooling device to decide which cooling state to put the cooling device to. But at this time, as a cooling device may be referenced in multiple thermal zones, we need to lock the list first in case another

[PATCH 19/30] hwmon: exynos4: move thermal sensor driver to driver/thermal directory

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org This movement is needed because the hwmon entries and corresponding sysfs interface is a duplicate of utilities already provided by driver/thermal/thermal_sys.c. The goal is to place it in thermal folder and add necessary functions to use the

[PATCH 25/30] thermal: Exynos: Fix NULL pointer dereference in exynos_unregister_thermal()

2012-10-09 Thread Len Brown
From: Sachin Kamat sachin.ka...@linaro.org exynos_unregister_thermal() is functional only when 'th_zone' is not NULL (ensured by the NULL checks). However, in the event it is NULL, it gets dereferenced in the for loop. This patch fixes this issue. Signed-off-by: Sachin Kamat

[PATCH 28/30] cpuidle / ACPI: fix potential NULL pointer dereference

2012-10-09 Thread Len Brown
From: Wei Yongjun yongjun_...@trendmicro.com.cn The dereference should be moved below the NULL test. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Signed-off-by: Len Brown len.br...@intel.com ---

[PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Len Brown
From: Feng Tang feng.t...@intel.com By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. https://bugzilla.kernel.org/show_bug.cgi?id=45151 Reported-and-Tested-by: Francesco trent...@dei.unipd.it Signed-off-by: Feng Tang

[PATCH 29/30] ACPI idle, CPU hotplug: Fix NULL pointer dereference during hotplug

2012-10-09 Thread Len Brown
From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com On a KVM guest, when a CPU is taken offline and brought back online, we hit the following NULL pointer dereference: [ 45.400843] Unregister pv shared memory for cpu 1 [ 45.412331] smpboot: CPU 1 is now offline [ 45.529894] SMP

[PATCH 30/30] tools/power/acpi/acpidump: remove duplicated include from acpidump.c

2012-10-09 Thread Len Brown
From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Signed-off-by: Len Brown len.br...@intel.com --- tools/power/acpi/acpidump.c

[PATCH 18/30] thermal: add generic cpufreq cooling implementation

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org This patchset introduces a new generic cooling device based on cpufreq that can be used on non-ACPI platforms. As a proof of concept, we have drivers for the following platforms using this mechanism now: * Samsung Exynos (Exynos4 and Exynos5)

[PATCH 20/30] thermal: exynos5: add exynos5250 thermal sensor driver support

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org Insert exynos5 TMU sensor changes into the thermal driver. Some exynos4 changes are made generic for exynos series. [a...@linux-foundation.org: fix comment layout] Signed-off-by: SangWook Ju sw...@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH 24/30] Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.

2012-10-09 Thread Len Brown
From: Jonghwa Lee jonghwa3@samsung.com This patch fixes small bug on cpu_cooling. CPU cooling device has own id generated with idr mathod. However in the previous version, it swapped to all same id at last stage of probing as 0. This makes id's collision and also occures error when it

Re: net: fix typo in freescale/ucc_geth.c

2012-10-09 Thread Eric Dumazet
On Tue, 2012-10-09 at 10:52 +1100, Michael Neuling wrote: The following patch: acb600d net: remove skb recycling added dev_free_skb() to drivers/net/ethernet/freescale/ucc_geth.c This is a typo and should be dev_kfree_skb(). This fixes this. Signed-off-by: Michael Neuling

[PATCH 26/30] ACPI: EC: Make the GPE storm threshold a module parameter

2012-10-09 Thread Len Brown
From: Feng Tang feng.t...@intel.com The Linux EC driver includes a mechanism to detect GPE storms, and switch from interrupt-mode to polling mode. However, polling mode sometimes doesn't work, so the workaround is problematic. Also, different systems seem to need the threshold for detecting the

[PATCH 23/30] thermal: exynos: Use devm_* functions

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org devm_* functions are used to replace kzalloc, request_mem_region, ioremap and request_irq functions in probe call. With the usage of devm_* functions explicit freeing and unmapping is not required. Signed-off-by: Sachin Kamat

[PATCH 21/30] thermal: exynos: register the tmu sensor with the kernel thermal layer

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org This code added creates a link between temperature sensors, linux thermal framework and cooling devices for samsung exynos platform. This layer monitors the temperature from the sensor and informs the generic thermal layer to take the necessary

[PATCH 22/30] ARM: exynos: add thermal sensor driver platform data support

2012-10-09 Thread Len Brown
From: Amit Daniel Kachhap amit.kach...@linaro.org Add necessary default platform data support needed for TMU driver. The supplied dt/non-dt values are tested for origen exynos4210 and smdk exynos5250 platforms and only compile tested for exynos4412. Signed-off-by: Amit Daniel Kachhap

Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain

2012-10-09 Thread Mark Brown
On Mon, Oct 08, 2012 at 09:43:23PM +0530, Laxman Dewangan wrote: Allocate the irq base if it base is not porvided i.e. in case of device tree invocation of this driver. Convert the tps6586x driver to irq domain, using a legacy IRQ mapping if an irq_base is specified in platform data or

[PATCH 17/30] Fix a build error.

2012-10-09 Thread Len Brown
From: Eduardo Valentin eduardo.valen...@ti.com Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com Signed-off-by: Zhang Rui rui.zh...@intel.com --- drivers/staging/omap-thermal/omap-thermal-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] mfd: tps6586x: add irq io-resource for rtc sub driver

2012-10-09 Thread Mark Brown
On Mon, Oct 08, 2012 at 09:43:24PM +0530, Laxman Dewangan wrote: Add IRQ IORESOURCE for rtc sub driver of this device. The rtc driver can get the irq by calling platform_get_irq(). Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Reviewed-by: Mark Brown broo...@opensource.wolfsonmicro.com

Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread H. Peter Anvin
On 10/09/2012 12:39 PM, Yinghai Lu wrote: on top of tip/x86/mm2 Hi Yinghai, This patchset doesn't apply on top of tip:x86/mm2, starting at patch 08/10. Furthermore, a lot of the descriptions are both incomplete and incomprehensible, which makes the patchset very very hard to review. You

Re: [PATCH 3/3] mfd: tps6586x: implement gpio_to_irq

2012-10-09 Thread Mark Brown
On Mon, Oct 08, 2012 at 09:43:25PM +0530, Laxman Dewangan wrote: The TPS6586x adds the interrupt of this device using linear mapping on irq domain. Hence, implement gpio_to_irq to get the irq number corresponding to TPS6586x GPIOs which is created dynamically. Reviewed-by: Mark Brown

[PATCH 06/30] Thermal: Introduce thermal_zone_trip_update()

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com This function is used to update the cooling state of all the cooling devices that are bound to an active trip point. This will be used for passive cooling as well, in the future patches. as both active and passive cooling can share the same algorithm, which is

[PATCH 10/30] Thermal: List thermal_instance in thermal_cooling_device.

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com List thermal_instance in thermal_cooling_device so that cooling device can know the cooling state requirement of all the thermal instances. Signed-off-by: Zhang Rui rui.zh...@intel.com Reviewed-by: Rafael J. Wysocki r...@sisk.pl Reviewed-by: Eduardo Valentin

[PATCH 16/30] thermal: Fix potential NULL pointer accesses

2012-10-09 Thread Len Brown
From: Guenter Roeck li...@roeck-us.net The type parameter in thermal_zone_device_register and thermal_cooling_device_register can be NULL, indicating that no sysfs attribute for the type should be created. Only call strlen() and strcpy() on type if it is not NULL. This patch addresses Coverity

[PATCH 15/30] thermal: add Renesas R-Car thermal sensor support

2012-10-09 Thread Len Brown
From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch add basic Renesas R-Car thermal sensor support. It was tested on R-Car H1 Marzen board. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Cc: Len Brown len.br...@intel.com Cc: Joe Perches j...@perches.com Cc:

[PATCH 14/30] thermal: fix potential out-of-bounds memory access

2012-10-09 Thread Len Brown
From: Guenter Roeck li...@roeck-us.net temp_crit.name and temp_input.name have a length of 16 bytes. Using THERMAL_NAME_LENGTH (20) as length parameter for snprintf() may result in out-of-bounds memory accesses. Replace it with sizeof(). Addresses Coverity #115679 Signed-off-by: Guenter Roeck

[PATCH 12/30] Thermal: Unify the code for both active and passive cooling

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com Remove thermal_zone_device_passive(). And use thermal_zone_trip_update() and thermal_zone_do_update() for both active and passive cooling. Signed-off-by: Zhang Rui rui.zh...@intel.com Reviewed-by: Rafael J. Wysocki r...@sisk.pl Reviewed-by: Eduardo Valentin

[PATCH 08/30] Thermal: Rename thermal_zone_device.cooling_devices

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com Rename thermal_zone_device.cooling_devices to thermal_zone_device.thermal_instances thermal_zone_device.cooling_devices is not accurate as this is a list for thermal instances, rather than cooling devices. Signed-off-by: Zhang Rui rui.zh...@intel.com

[PATCH 07/30] Thermal: rename structure thermal_cooling_device_instance to thermal_instance

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com This struct is used to describe the behavior for a thermal cooling device on a certain trip point for a certain thremal zone. thermal_cooling_device_instance is not accurate, as a cooling device can be used for more than one trip point in one thermal zone

[PATCH 02/30] Thermal: Introduce cooling states range support

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com As the active cooling devices can have multiple cooling states, we may want only several cooling states for a certain trip point, and other cooling states for other active trip points. To do this, we should be able to describe the cooling device behavior for a

[PATCH 04/30] Thermal: Introduce .get_trend() callback.

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com According to ACPI spec, tc1 and tc2 are used by OSPM to anticipate the temperature trends. We introduced the same concept to the generic thermal layer for passive cooling, but now it seems that these values are hard to be used on other platforms. So We

Re: [RFC v9 PATCH 00/21] memory-hotplug: hot-remove physical memory

2012-10-09 Thread Wen Congyang
At 09/27/2012 12:46 AM, Vasilis Liaskovitis Wrote: Hi, I am testing 3.6.0-rc7 with this v9 patchset plus more recent fixes [1],[2],[3] Running in a guest (qemu+seabios from [4]). CONFIG_SLAB=y CONFIG_DEBUG_SLAB=y After succesfull hot-add and online, I am doing a hot-remove with echo 1

[PATCH 03/30] Thermal: set upper and lower limits

2012-10-09 Thread Len Brown
From: Zhang Rui rui.zh...@intel.com set upper and lower limits when binding a thermal cooling device to a thermal zone device. Signed-off-by: Zhang Rui rui.zh...@intel.com Reviewed-by: Rafael J. Wysocki r...@sisk.pl Reviewed-by: Eduardo Valentin eduardo.valen...@ti.com ---

Re: [PATCH 08/10] x86, xen, mm: fix mapping_pagetable_reserve logic

2012-10-09 Thread H. Peter Anvin
On 10/09/2012 12:39 PM, Yinghai Lu wrote: */ struct x86_init_mapping { - void (*pagetable_reserve)(u64 start, u64 end); + void (*make_range_readwrite)(u64 start, u64 end); }; Here you go from one misleading name to another. Another classic case of why hooks suck.

[PATCH] ubi: use list_move_tail instead of list_del/list_add_tail

2012-10-09 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using list_move_tail() instead of list_del() + list_add_tail(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/mtd/ubi/fastmap.c | 3 +-- 1

Re: [PATCH] regulator: TPS51632: Add tps51632 regulator driver

2012-10-09 Thread Mark Brown
On Sat, Oct 06, 2012 at 08:47:46PM +0530, Laxman Dewangan wrote: Actually... + if (pdata-dvfs_step_20mV) + control |= TPS51632_DVFS_STEP_20; + tps-desc.uV_step = TPS51632_VOLATGE_STEP_10mV; Shouldn't the dvfs_step_20mV setting affect the uV_step size? -- To unsubscribe

Re: [PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Jonathan Nieder
Len Brown wrote: By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. What would go wrong if the threshold were just increased to 20 on all models? Thanks, Jonathan -- To unsubscribe from this list: send the line unsubscribe

Re: [bisected] PS/2 keyboard and mouse dead on resume on Intel D845BG

2012-10-09 Thread Ondrej Zary
On Tuesday 09 October 2012, Len Brown wrote: On 10/08/2012 10:42 AM, Matthew Garrett wrote: On Sun, Oct 07, 2012 at 09:00:09PM +0200, Ondrej Zary wrote: Added acpi_read_bit_register there and it seems that SCI_EN is already set! This patch fixes the problem here. I wonder how this

Re: [PATCH 0/6] AMD MCE injection improvs

2012-10-09 Thread Borislav Petkov
On Mon, Oct 08, 2012 at 04:58:34PM -0700, Tony Luck wrote: On Mon, Oct 8, 2012 at 10:11 AM, Borislav Petkov b...@amd64.org wrote: create mode 100644 arch/x86/ras/ras.c Overall it looks good - but I'm a bit puzzled by this ras.c file that gets created as an empty file in part1, and is still

Re: [PATCH] ext3: fix return values on parse_options() failure

2012-10-09 Thread Lukáš Czerner
On Tue, 9 Oct 2012, Zhao Hongjiang wrote: Date: Tue, 09 Oct 2012 13:48:47 +0800 From: Zhao Hongjiang zhaohongjian...@gmail.com To: j...@suse.cz Cc: a...@linux-foundation.org, adilger.ker...@dilger.ca, linux-e...@vger.kernel.org, linux-kernel@vger.kernel.org, Eric W. Biederman

Re: [PATCH 1/2] ARM: OMAP: Trivial driver changes to remove include plat/cpu.h

2012-10-09 Thread Jarkko Nikula
On Mon, 08 Oct 2012 10:35:57 -0700 Tony Lindgren t...@atomide.com wrote: - omap-dma.c and omap-pcm.c can test the arch locally as omap1 and omap2 cannot be compiled together because of conflicting compiler flags ... sound/soc/omap/omap-pcm.c |9 +++-- Build tested above

Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:07 PM, H. Peter Anvin h...@zytor.com wrote: On 10/09/2012 12:39 PM, Yinghai Lu wrote: on top of tip/x86/mm2 Hi Yinghai, This patchset doesn't apply on top of tip:x86/mm2, starting at patch 08/10. sorry for that. I refresh my base to current linus/master and

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-09 Thread David Rientjes
On Mon, 8 Oct 2012, Tang Chen wrote: diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 66b36ab..e76dce9 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -1263,18 +1263,24 @@ EXPORT_SYMBOL_GPL(kick_process); */ static int select_fallback_rq(int cpu, struct

Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain

2012-10-09 Thread Laxman Dewangan
On Tuesday 09 October 2012 11:36 AM, Mark Brown wrote: On Mon, Oct 08, 2012 at 09:43:23PM +0530, Laxman Dewangan wrote: Allocate the irq base if it base is not porvided i.e. in case of device tree invocation of this driver. Convert the tps6586x driver to irq domain, using a legacy IRQ mapping

Re: [PATCH 2/5] regulator; tps65090: Register all regulators in single probe call

2012-10-09 Thread Mark Brown
On Sat, Oct 06, 2012 at 08:47:48PM +0530, Laxman Dewangan wrote: MFD drier registers the regulator driver once per device and hence it is require to register all regulators in single probe call. Following are details of changes done to achieve this: - Add max regulator and register all

Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 11:18:24AM +0530, Laxman Dewangan wrote: On Tuesday 09 October 2012 11:36 AM, Mark Brown wrote: but can you convert to regmap_irq? Yes, the motivation was this when I started this cleanups but found that there is 4 interrupt status and 5 interrupt mask register.

Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread H. Peter Anvin
On 10/09/2012 02:21 PM, Yinghai Lu wrote: Hi Yinghai, This patchset doesn't apply on top of tip:x86/mm2, starting at patch 08/10. sorry for that. I refresh my base to current linus/master and tip/master. could be some change there. could solve it: 1. update x86/mm2 to linus/master

Re: [PATCH 4/5] regulator: tps65090: Add voltage out level in platform data

2012-10-09 Thread Mark Brown
On Sat, Oct 06, 2012 at 08:47:50PM +0530, Laxman Dewangan wrote: TPS65090's DCDCs and FETs act as switch and so output voltage can be enable or disable only. The output voltage of this regulators depends on the input voltage. Add the voltage parameter to tell the output voltage value of

Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-09 Thread Mark Brown
On Sat, Oct 06, 2012 at 08:47:51PM +0530, Laxman Dewangan wrote: The TPS65090's DCDC outut can also be enable/disable through the external digital input signal. Add support for enable/disable either through register access via I2C or through external control inputs. The external control inputs

Re: [PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Feng Tang
Hi Jonathan, On Tue, 9 Oct 2012 14:16:33 +0800 Jonathan Nieder jrnie...@gmail.com wrote: Len Brown wrote: By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode. What would go wrong if the threshold were just increased

Re: [PATCH 08/10] x86, xen, mm: fix mapping_pagetable_reserve logic

2012-10-09 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:12 PM, H. Peter Anvin h...@zytor.com wrote: On 10/09/2012 12:39 PM, Yinghai Lu wrote: */ struct x86_init_mapping { - void (*pagetable_reserve)(u64 start, u64 end); + void (*make_range_readwrite)(u64 start, u64 end); }; Here you go from one misleading

Re: [PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-09 Thread Mark Brown
On Fri, Oct 05, 2012 at 06:54:58PM -0700, Andrey Smirnov wrote: + err = regulator_enable(core-supplies.va); + if (err 0) + break; + + err = regulator_enable(core-supplies.vio2); +

Re: [PATCH v2 6/6] Add a codec driver for SI476X MFD

2012-10-09 Thread Mark Brown
On Fri, Oct 05, 2012 at 06:55:02PM -0700, Andrey Smirnov wrote: This commit add a sound codec driver for Silicon Laboratories 476x series of AM/FM radio chips. Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain

2012-10-09 Thread Laxman Dewangan
On Tuesday 09 October 2012 11:53 AM, Mark Brown wrote: On Tue, Oct 09, 2012 at 11:18:24AM +0530, Laxman Dewangan wrote: On Tuesday 09 October 2012 11:36 AM, Mark Brown wrote: but can you convert to regmap_irq? Yes, the motivation was this when I started this cleanups but found that there is 4

[PATCH 1/5] aio: Kill return value of aio_complete()

2012-10-09 Thread Kent Overstreet
Nothing used the return value, and it probably wasn't possible to use it safely for the locked versions (aio_complete(), aio_put_req()). Just kill it. Signed-off-by: Kent Overstreet koverstr...@google.com --- fs/aio.c| 19 +++ include/linux/aio.h |8 2

[PATCH 4/5] aio: vmap ringbuffer

2012-10-09 Thread Kent Overstreet
It simplifies a lot of stuff if the ringbuffer is contiguously mapped into kernel space, and we can delete a lot of code - in particular, this is useful for converting read_events() to cmpxchg. It'd make more sense if the ringbuffer was allocated with __get_free_pages() and then mapped into

[PATCH 5/5] aio: Refactor aio_read_evt, use cmxchg(), fix bug

2012-10-09 Thread Kent Overstreet
Bunch of cleanup, and make it lockless so that userspace can safely pull events off the ringbuffer without racing with io_getevents(). Signed-off-by: Kent Overstreet koverstr...@google.com --- fs/aio.c | 220 +- 1 file changed, 73

[PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
The refcounting before wasn't very clear; there are two refcounts in struct kioctx, with an unclear relationship between them (or between them and ctx-dead). Now, reqs_active holds a refcount on users (when reqs_active is nonzero), and the initial refcount is taken on reqs_active - when ctx-dead

Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 11:34:47AM +0530, Laxman Dewangan wrote: The bit definitions are also different in status and mask register and yes, this will be again problem as we do in isr thread data-status_buf[i] = ~data-mask_buf[i]; So given the constraint, generic will not work here. OK,

[PATCH 2/5] aio: kiocb_cancel()

2012-10-09 Thread Kent Overstreet
Minor refactoring, to get rid of some duplicated code Signed-off-by: Kent Overstreet koverstr...@google.com --- fs/aio.c | 72 ++ 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index

Re: [PATCH] regulator: TPS51632: Add tps51632 regulator driver

2012-10-09 Thread Laxman Dewangan
On Tuesday 09 October 2012 11:44 AM, Mark Brown wrote: On Sat, Oct 06, 2012 at 08:47:46PM +0530, Laxman Dewangan wrote: Actually... + if (pdata-dvfs_step_20mV) + control |= TPS51632_DVFS_STEP_20; + tps-desc.uV_step = TPS51632_VOLATGE_STEP_10mV; Shouldn't the

Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:25 PM, H. Peter Anvin h...@zytor.com wrote: On 10/09/2012 02:21 PM, Yinghai Lu wrote: Hi Yinghai, This patchset doesn't apply on top of tip:x86/mm2, starting at patch 08/10. sorry for that. I refresh my base to current linus/master and tip/master. could be some

[PATCH v5] create sun sysfs file

2012-10-09 Thread Yasuaki Ishimatsu
_SUN method provides the slot unique-ID in the ACPI namespace. And The value is written in Advanced Configuration and Power Interface Specification as follows: The _SUN value is required to be unique among the slots ofthe same type. It is also recommended that this number match the slot number

Re: [PATCH 2/5] regulator; tps65090: Register all regulators in single probe call

2012-10-09 Thread Laxman Dewangan
On Tuesday 09 October 2012 11:52 AM, Mark Brown wrote: On Sat, Oct 06, 2012 at 08:47:48PM +0530, Laxman Dewangan wrote: MFD drier registers the regulator driver once per device and Shouldn't this be the first commit in the series? Also... Ok, will make this as first commit. to allow

Re: [PATCH] ext3: fix return values on parse_options() failure

2012-10-09 Thread Eric W. Biederman
Lukáš Czerner lczer...@redhat.com writes: On Tue, 9 Oct 2012, Zhao Hongjiang wrote: Date: Tue, 09 Oct 2012 13:48:47 +0800 From: Zhao Hongjiang zhaohongjian...@gmail.com To: j...@suse.cz Cc: a...@linux-foundation.org, adilger.ker...@dilger.ca, linux-e...@vger.kernel.org,

[PATCH V3] block/throttle: Add IO throttled information in blkio.throttle

2012-10-09 Thread Robin Dong
From: Robin Dong san...@taobao.com Currently, if the IO is throttled by io-throttle, the SA has no idea of the situation and can't report it to the real application user about that he/she has to do something. So this patch adds a new interface named blkio.throttle.io_queued which indicates how

Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-09 Thread Laxman Dewangan
On Tuesday 09 October 2012 11:58 AM, Mark Brown wrote: On Sat, Oct 06, 2012 at 08:47:51PM +0530, Laxman Dewangan wrote: The TPS65090's DCDC outut can also be enable/disable through the external digital input signal. Add support for enable/disable either through register access via I2C or

Re: [PATCH] ext2: fix return values on parse_options() failure

2012-10-09 Thread Lukáš Czerner
On Tue, 9 Oct 2012, Zhao Hongjiang wrote: Date: Tue, 09 Oct 2012 13:44:36 +0800 From: Zhao Hongjiang zhaohongjian...@gmail.com To: j...@suse.cz Cc: linux-e...@vger.kernel.org, linux-kernel@vger.kernel.org, Eric W. Biederman ebied...@xmission.com, serge.hal...@canonical.com,

Re: [PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Jonathan Nieder
Feng Tang wrote: Jonathan Nieder jrnie...@gmail.com wrote: What would go wrong if the threshold were just increased to 20 on all models? Then some other platform will stop to work. https://bugzilla.kernel.org/show_bug.cgi?id=11892 The 26/30 and 27/30 patches are bound together to

[PATCH] cpufreq: core: Fix typo in comment describing show_bios_limit()

2012-10-09 Thread Viresh Kumar
show_bios_limit is mistakenly written as show_scaling_driver in a comment describing purpose of show_bios_limit() routine. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 5/5] regulator: tps65090: add external control support for DCDC

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 11:51:19AM +0530, Laxman Dewangan wrote: On Tuesday 09 October 2012 11:58 AM, Mark Brown wrote: There's support for GPIO driven enable lines in the framework already, this driver should be able to use this happily, this sort of hardware is exactly the use case it was

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-09 Thread Ming Lei
On Tue, Oct 9, 2012 at 12:19 PM, Mark Brown It seems better to punt that decision to callers - for example, the case In fact, -ENOENT is returned to caller for non-direct loading situation, see_request_firmware_load(). I understand drivers(caller) may be cheated if a zero-length firmware image

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-09 Thread Ondrej Zary
On Tuesday 09 October 2012, Michael Leun wrote: On Thu, 27 Sep 2012 10:39:05 -0700 Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 24, 2012 at 01:36:34AM +0200, Michael Leun wrote: On Mon, 23 Jul 2012 09:15:04 +0200 Michael Leun lkml20120...@newton.leun.net wrote: [see issue

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
-Original Message- From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] Sent: Tuesday, October 09, 2012 4:23 AM To: Jaegeuk Kim Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; chur@samsung.com;

Re: [Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-09 Thread Mark Brown
On Mon, Oct 08, 2012 at 07:00:39PM +0530, Ashish Jangam wrote: Mostly OK, but there's a few issues including yet more reimplementation of framework features. +static int da9055_list_voltage(struct regulator_dev *rdev, + unsigned int selector) +{ + struct

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 03:05:30PM +0800, Ming Lei wrote: On Tue, Oct 9, 2012 at 12:19 PM, Mark Brown It seems better to punt that decision to callers - for example, the case In fact, -ENOENT is returned to caller for non-direct loading situation, see_request_firmware_load(). I understand

[patch] time: cast -raw_interval to u64 to avoid shift overflow

2012-10-09 Thread Dan Carpenter
We fixed a bunch of integer overflows in timekeeping code during the 3.6 cycle. I did an audit based on that and found this potential overflow. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- I'm not super familiar with this code so please review my work carefully. diff --git

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-09 Thread Ondrej Zary
On Tuesday 09 October 2012, Michael Leun wrote: On Thu, 27 Sep 2012 10:39:05 -0700 Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 24, 2012 at 01:36:34AM +0200, Michael Leun wrote: On Mon, 23 Jul 2012 09:15:04 +0200 Michael Leun lkml20120...@newton.leun.net wrote: [see issue

Re: [PATCH 08/10] x86, xen, mm: fix mapping_pagetable_reserve logic

2012-10-09 Thread H. Peter Anvin
On 10/09/2012 02:33 PM, Yinghai Lu wrote: make_range_readwrite is particularly toxic, though, because it makes it sound like it something along the lines of set_memory_rw(), which it most distinctly is not. it just change some page range from RO back to RW. so how about

Re: [PATCH 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-09 Thread Feng Tang
On Mon, 8 Oct 2012 23:59:07 -0700 Jonathan Nieder jrnie...@gmail.com wrote: Feng Tang wrote: Jonathan Nieder jrnie...@gmail.com wrote: What would go wrong if the threshold were just increased to 20 on all models? Then some other platform will stop to work.

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-09 Thread Paolo Bonzini
Il 09/10/2012 06:59, Rusty Russell ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 05/10/2012 07:43, Rusty Russell ha scritto: That's good. But virtio_blk's scsi command is insoluble AFAICT. As I said to Anthony, the best rules are always and never, so I'd really rather not have to

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-09 Thread Ming Lei
On Tue, Oct 9, 2012 at 3:13 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: If so, I am wondering why the driver has to call request_firmware()? Looks just bypassing request_firmware() is fine for the driver, doesn't it? A driver has no way to tell if the firmware is there or not

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-09 Thread Linus Walleij
On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: As requested in the feedback from the previous patch, we've documented the debugfs and sysfs attributes in files in Documentation/ABI/testing. There's two files, one for debugfs and one for sysfs. This is a massive

Re: [PATCH] video: imxfb: Do not crash on reboot

2012-10-09 Thread Uwe Kleine-König
On Mon, Oct 08, 2012 at 10:35:36AM -0300, Fabio Estevam wrote: Issuing a reboot command after the LCD times out causes the following warnings: Requesting system reboot [ cut here ] WARNING: at drivers/clk/clk.c:471 clk_disable+0x24/0x50() Modules linked in:

<    3   4   5   6   7   8   9   10   11   12   >