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

2012-10-08 Thread Jonathan Nieder
Feng Tang wrote: > Jonathan Nieder 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 fix one bu

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

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

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

2012-10-08 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 through

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

2012-10-08 Thread Robin Dong
From: Robin Dong 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 many IOs are current

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

2012-10-08 Thread Eric W. Biederman
Lukáš Czerner writes: > On Tue, 9 Oct 2012, Zhao Hongjiang wrote: > >> Date: Tue, 09 Oct 2012 13:48:47 +0800 >> From: Zhao Hongjiang >> 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. Bie

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

2012-10-08 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 thing

[PATCH v5] create sun sysfs file

2012-10-08 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 pr

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

2012-10-08 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:25 PM, H. Peter Anvin 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

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

2012-10-08 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 dvfs_s

[PATCH 2/5] aio: kiocb_cancel()

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

[PATCH 3/5] aio: Rewrite refcounting

2012-10-08 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-08 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.

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

2012-10-08 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 --- fs/aio.c | 220 +- 1 file changed, 73 insertions(+), 147 deletion

[PATCH 4/5] aio: vmap ringbuffer

2012-10-08 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 usersp

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

2012-10-08 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 --- fs/aio.c| 19 +++ include/linux/aio.h |8 2 files changed, 11 inser

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

2012-10-08 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

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

2012-10-08 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 majord...@vge

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

2012-10-08 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 08/10] x86, xen, mm: fix mapping_pagetable_reserve logic

2012-10-08 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:12 PM, H. Peter Anvin 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 27/30] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-08 Thread Feng Tang
Hi Jonathan, On Tue, 9 Oct 2012 14:16:33 +0800 Jonathan Nieder 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 to 20 on all

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

2012-10-08 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 inp

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

2012-10-08 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 -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-08 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 l

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

2012-10-08 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 2/5] regulator; tps65090: Register all regulators in single probe call

2012-10-08 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

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

2012-10-08 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 if

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

2012-10-08 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 t

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

2012-10-08 Thread Yinghai Lu
On Mon, Oct 8, 2012 at 11:07 PM, H. Peter Anvin 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 tip/master. co

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

2012-10-08 Thread Jarkko Nikula
On Mon, 08 Oct 2012 10:35:57 -0700 Tony Lindgren 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 for omap1 and

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

2012-10-08 Thread Lukáš Czerner
On Tue, 9 Oct 2012, Zhao Hongjiang wrote: > Date: Tue, 09 Oct 2012 13:48:47 +0800 > From: Zhao Hongjiang > 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 , serge.hal...@canonical.c

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

2012-10-08 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 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 empty at

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

2012-10-08 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

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

2012-10-08 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 "unsubscri

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

2012-10-08 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 unsubscri

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

2012-10-08 Thread Wei Yongjun
From: Wei Yongjun 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 --- drivers/mtd/ubi/fastmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

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

2012-10-08 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." make

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

2012-10-08 Thread Len Brown
From: Zhang Rui set upper and lower limits when binding a thermal cooling device to a thermal zone device. Signed-off-by: Zhang Rui Reviewed-by: Rafael J. Wysocki Reviewed-by: Eduardo Valentin --- Documentation/thermal/sysfs-api.txt | 9 ++- drivers/acpi/thermal.c | 53

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

2012-10-08 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 wit

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 introduce .get_trend() as a

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 certain trip point,

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 device. Signed-off-by:

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 Reviewed-by: Rafael J. Wysocki Reviewed-by: Ed

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 Reviewed-by: Rafael J. Wysocki Reviewed-by: Eduardo Valentin --- drivers/thermal/thermal_sys.c | 110 ++-

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

2012-10-08 Thread Len Brown
From: Guenter Roeck 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 Cc: Len Brown Cc

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

2012-10-08 Thread Len Brown
From: Kuninori Morimoto This patch add basic Renesas R-Car thermal sensor support. It was tested on R-Car H1 Marzen board. Signed-off-by: Kuninori Morimoto Cc: Len Brown Cc: Joe Perches Cc: Jean Delvare Cc: Guenter Roeck Cc: Magnus Damm Signed-off-by: Andrew Morton Signed-off-by: Zhang Ru

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

2012-10-08 Thread Len Brown
From: Guenter Roeck 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 #102180 and #102182:

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 Reviewed-by: Rafael J. Wysocki Reviewed-by: Eduardo Valentin --- drivers/thermal/thermal_sys.c | 7 ++- inc

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

2012-10-08 Thread Len Brown
From: Zhang Rui 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 1. if the temperat

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

2012-10-08 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 --

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

2012-10-08 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 shoul

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

2012-10-08 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 Reviewed-by: Mark Brown -- To unsubscribe from this list: send the line "un

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

2012-10-08 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 dy

[PATCH 17/30] Fix a build error.

2012-10-08 Thread Len Brown
From: Eduardo Valentin Signed-off-by: Eduardo Valentin Signed-off-by: Zhang Rui --- drivers/staging/omap-thermal/omap-thermal-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-

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

2012-10-08 Thread Len Brown
From: Amit Daniel Kachhap 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 Acked-by: Guenter Roeck Cc: Sang

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

2012-10-08 Thread Len Brown
From: Amit Daniel Kachhap 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 cooling action. [a...@li

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

2012-10-08 Thread Len Brown
From: Amit Daniel Kachhap 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 Signed-off-by: Sachin Kamat Signed-off-by:

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

2012-10-08 Thread Len Brown
From: Feng Tang 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 GPE storm at differe

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

2012-10-08 Thread Eric Dumazet
f-by: Michael Neuling > --- > This hit as a compile error in next-20121008 with mpc85xx_defconfig. > > diff --git a/drivers/net/ethernet/freescale/ucc_geth.c > b/drivers/net/ethernet/freescale/ucc_geth.c > index dfa0aaa..0a70bb5 100644 > --- a/drivers/net/ethernet/freescale/ucc_get

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

2012-10-08 Thread Len Brown
From: Jonghwa Lee 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 releases that id. Signed-off-by

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

2012-10-08 Thread Len Brown
From: Amit Daniel Kachhap 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 Signed-off-by: Amit Daniel Kachhap Acked-by: Guenter Roeck Cc: Durgadoss C

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

2012-10-08 Thread Len Brown
From: Amit Daniel Kachhap 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) in the current patchset.

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

2012-10-08 Thread Len Brown
From: Wei Yongjun Remove duplicated include. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Len Brown --- tools/power/acpi/acpidump.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/power/acpi/acpidump.c

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

2012-10-08 Thread Len Brown
From: "Srivatsa S. Bhat" 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 alternatives: lockdep: fixing up alter

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

2012-10-08 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: sta...@vger.kern

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

2012-10-08 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 deleti

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

2012-10-08 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-08 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 interface

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

2012-10-08 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 updat

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

2012-10-08 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 t

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

2012-10-08 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-08 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 + drivers/platform/x86

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

2012-10-08 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-08 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"

Re: [PATCH] make CONFIG_EXPERIMENTAL invisible and default

2012-10-08 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

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

2012-10-08 Thread Zhao Hongjiang
From: Zhao Hongjiang parse_options() in ext3 should return 0 when parse the mount options fails. Signed-off-by: Zhao Hongjiang --- fs/ext3/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 17ae5c8..ebf8312 100644 --- a/f

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

2012-10-08 Thread Zhao Hongjiang
From: Zhao Hongjiang parse_options() in ext2 should return 0 when parse the mount options fails. Signed-off-by: Zhao Hongjiang --- fs/ext2/super.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 6c205d0..fa04d02 100644 --- a/f

RE: Possible regression: BUG in fs/sysfs/group.c:65

2012-10-08 Thread Wei, Gang
Kent Yoder wrote on 2012-10-06: > On Fri, Oct 05, 2012 at 11:16:06AM -0700, Eric W. Biederman wrote: >> Ben Guthro writes: >> >>> I am seeing a regression in today's (Oct 5) kernel - 2 WARNINGS, and a >>> BUG below that seems to occur upon resuming from S3. >>> >>> I can start a bisection with 3

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-08 Thread Arun MURTHY
> > On Wed, Oct 03, 2012 at 05:54:08AM +0200, Arun MURTHY wrote: > > > > On Mon, Oct 01, 2012 at 07:30:38AM +0200, Arun MURTHY wrote: > > > > > > On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: > > > > > > > +#include > > > > > > > +#include > > > > > > > +#include > > > > > > > +#i

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

2012-10-08 Thread Michael Leun
On Thu, 27 Sep 2012 10:39:05 -0700 Greg KH 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 wrote: > > > > [see issue description below] > > > > Bisecting yielded > > > > b1ff4f96fd1c63890d78d8939c6e0f2b44ce3113 is

RE: [PATCH 02/16] f2fs: add on-disk layout

2012-10-08 Thread Chul Lee
Dear David Sterba, David Sterba wrote: > On Fri, Oct 05, 2012 at 08:56:44PM +0900, ? wrote: > > +struct node_footer { > > + __le32 nid; /* node id */ > > + __le32 ino; /* inode nunmber */ > > + __le32 cold:1; /* cold mark */ > > + __le32 fsync:1;

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

2012-10-08 Thread Rusty Russell
Paolo Bonzini 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 grandfather that in. > > It is, but we can add a rule th

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/9/2012 7:07 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 06:53:29AM +0200, Marek Szyprowski wrote: Hello, On 10/9/2012 6:43 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: On 10/9/2012 5:10 AM, Minchan Kim wrote: On Mon, Oct 08, 2012 a

Re: [PATCH v4] create sun sysfs file

2012-10-08 Thread Yasuaki Ishimatsu
Hi Len, 2012/10/09 14:05, Len Brown wrote: > On 10/08/2012 07:57 PM, Yasuaki Ishimatsu wrote: >> Hi Len, >> >> What should I do to put this patch in your tree? > > Please add a description of the attribute in > Documentation/ABI/testing/ > > A human needs to understand exactly what is in that fi

RE: [PATCH 03/16] f2fs: add superblock and major in-memory structures

2012-10-08 Thread Chul Lee
Dear David Sterba, David Sterba wrote: > On Fri, Oct 05, 2012 at 08:57:46PM +0900, ? wrote: > > +struct f2fs_nm_info { > > + block_t nat_blkaddr;/* base disk address of NAT */ > > + unsigned int nat_segs; /* the number of nat segments */ > > + unsigned int nat_b

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

2012-10-08 Thread Len Brown
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 affects systems that >> require SCI_EN to be set

Re: [PATCH v4] create sun sysfs file

2012-10-08 Thread Len Brown
On 10/08/2012 07:57 PM, Yasuaki Ishimatsu wrote: > Hi Len, > > What should I do to put this patch in your tree? Please add a description of the attribute in Documentation/ABI/testing/ A human needs to understand exactly what is in that file because you are proposing it as an ABI. thanks, Len Br

Re: CMA and zone watermarks

2012-10-08 Thread Minchan Kim
On Tue, Oct 09, 2012 at 06:53:29AM +0200, Marek Szyprowski wrote: > Hello, > > On 10/9/2012 6:43 AM, Minchan Kim wrote: > >On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: > >>On 10/9/2012 5:10 AM, Minchan Kim wrote: > >>>On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wro

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

2012-10-08 Thread Len Brown
Applied. thanks, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tu

Re: CMA and zone watermarks

2012-10-08 Thread Marek Szyprowski
Hello, On 10/9/2012 6:43 AM, Minchan Kim wrote: On Tue, Oct 09, 2012 at 05:12:21AM +0200, Marek Szyprowski wrote: On 10/9/2012 5:10 AM, Minchan Kim wrote: On Mon, Oct 08, 2012 at 05:41:14PM +0200, Rabin Vincent wrote: Fortunately, recently, Bart sent a patch about that. http://marc.info/?l=

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

2012-10-08 Thread Baruch Siach
Hi Fabio, On Mon, Oct 08, 2012 at 07:23:58PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Issuing a "reboot" command after the LCD times out causes the following > warnings: [snip] > @@ -513,47 +514,53 @@ static void imxfb_exit_backlight(struct imxfb_info > *fbi) > > static void i

[RFC PATCH 5/5] amd_iommu: Properly account for virtual aliases in IOMMU groups

2012-10-08 Thread Alex Williamson
An alias doesn't always point to a physical device. When this happens we must first verify that the IOMMU group isn't rooted in a device above the alias. In this case the alias is effectively just another quirk for the devices aliased to it. Alternatively, the virtual alias itself may be the roo

[RFC PATCH 4/5] amd_iommu: Split IOMMU group allocation and attach

2012-10-08 Thread Alex Williamson
Add a WARN_ON to make it clear why we don't add dma_pdev->dev to the group we're allocating. Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/io

[RFC PATCH 3/5] amd_iommu: Split upstream bus device lookup

2012-10-08 Thread Alex Williamson
Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 6edbd0e..3a00b5ce 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/am

[RFC PATCH 2/5] amd_iommu: Split IOMMU Group topology walk

2012-10-08 Thread Alex Williamson
Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 58 ++--- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index b65b377..6edbd0e 100644 --- a/drivers/iommu/amd_iommu.c +

[RFC PATCH 1/5] amd_iommu: Split IOMMU group initialization

2012-10-08 Thread Alex Williamson
This needs to be broken apart, start with pulling all the IOMMU group init code into a new function. Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 61 - 1 file changed, 43 insertions(+), 18 deletions(-) diff --git a/drivers/iommu/a

[RFC PATCH 0/5] amd_iommu: Refactor IOMMU group and support virtual aliases

2012-10-08 Thread Alex Williamson
This series is meant to refactor IOMMU group support in amd_iommu to properly support virtual aliases. If multiple devices alias to the same virtual alias, they should be grouped together. This code also verifies whether the alias should be the root of the group vs devices above the alias. This

Re: [PATCH v2] Convert properly UTF-8 to UTF-16

2012-10-08 Thread Suresh Jayaraman
On 10/08/2012 01:48 PM, Frediano Ziglio wrote: > On Wed, 2012-10-03 at 14:49 -0500, Steve French wrote: >> Merged - but doesn't the reverse also have to be added in cifs_from_utf16? >> ie >> >> utf16s_to_utf8s(uni, ... ); >> > > Not strictly necessary, at least to be able to mount shar

[GIT PULL] Blackfin updates for 3.7-rc1

2012-10-08 Thread Bob Liu
The following changes since commit a0d271cbfed1dd50278c6b06bead3d00ba0a88f9: Linux 3.6 (2012-09-30 16:47:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin.git for-linus for you to fetch changes up to 6594b982f6d5f957c8d72de7658b

[PATCH 10/10] x86, mm: Add early_pgt_buf_*

2012-10-08 Thread Yinghai Lu
So we could use the left early pgt buf in BRK at first, then use new one. We avoid wasting in _BRK. Also we don't need to memblock_reserve that buf in brk again, because all BRK is reserved before. Signed-off-by: Yinghai Lu --- arch/x86/include/asm/init.h |3 +++ arch/x86/mm/init.c

[PATCH 09/10] x86, mm: Hide pgt_buf_* into internal to xen

2012-10-08 Thread Yinghai Lu
only should be used by init.c and init_64.c and init_32.c Signed-off-by: Yinghai Lu Cc: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge --- arch/x86/include/asm/init.h |2 ++ arch/x86/mm/init.c |5 + arch/x86/xen/mmu.c |2 +- 3 files changed, 8 insertions(+), 1

  1   2   3   4   5   6   >