Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-09 Thread NeilBrown
On Thu, 6 Sep 2012 16:26:06 +0300 Felipe Balbi wrote: > Hi, > > On Thu, Sep 06, 2012 at 05:02:45PM +1000, NeilBrown wrote: > > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" > > wrote: > > > > > On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: > > > > On Mon, 3 Sep 2012 22:59:06 -0700

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Paolo Bonzini
Il 10/09/2012 08:47, Michael S. Tsirkin ha scritto: > On Mon, Sep 10, 2012 at 08:38:09AM +0200, Paolo Bonzini wrote: >> Il 10/09/2012 08:03, Michael S. Tsirkin ha scritto: >>> On Mon, Sep 10, 2012 at 07:50:13AM +0200, Paolo Bonzini wrote: Il 09/09/2012 00:22, Michael S. Tsirkin ha scritto: >>>

Seeking clarity on IRQCHIP_MASK_ON_SUSPEND

2012-09-09 Thread NeilBrown
The IRQCHIP_MASK_ON_SUSPEND flag seems to be hard to use correctly, so either I'm understanding it wrongly, or it could be made easier to use. If the first case, I'm hoping that some improvement to documentation might result. If the second, then maybe we can fix the code. As I understand it, the

Re: [PATCH RESEND] thermal: add generic cpufreq cooling implementation

2012-09-09 Thread Valentin, Eduardo
Hello Rui and Amit, On Mon, Sep 10, 2012 at 9:25 AM, Zhang Rui wrote: > Refreshed to remove the notifier mechanism as we do not have a real user of > it. > if there is no problem, I'll apply the whole patch set to thermal next tree. > > From: Amit Daniel Kachhap > Date: Thu, 16 Aug 2012 17:11:4

Re: [ 35/95] dccp: check ccid before dereferencing

2012-09-09 Thread David Miller
From: Mathias Krause Date: Mon, 10 Sep 2012 08:17:06 +0200 > Hi Ben, > > On Mon, Sep 10, 2012 at 12:42 AM, Ben Hutchings wrote: >> 3.2-stable review patch. If anyone has any objections, please let me know. > > No objections, but could you please consider including the following > commits, too

Re: [PATCH v2] watchdog: omap_wdt: convert to new watchdog core

2012-09-09 Thread Jarkko Nikula
On Sat, 8 Sep 2012 21:04:01 +0300 Aaro Koskinen wrote: > Convert omap_wdt to new watchdog core. On OMAP boards, there are usually > multiple watchdogs. Since the new watchdog core supports multiple > watchdogs, all watchdog drivers used on OMAP should be converted. > > The legacy watchdog devic

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Michael S. Tsirkin
On Mon, Sep 10, 2012 at 08:38:09AM +0200, Paolo Bonzini wrote: > Il 10/09/2012 08:03, Michael S. Tsirkin ha scritto: > > On Mon, Sep 10, 2012 at 07:50:13AM +0200, Paolo Bonzini wrote: > >> Il 09/09/2012 00:22, Michael S. Tsirkin ha scritto: > Almost. One is "the guest, if really needed, can t

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-09-09 Thread Takao Indoh
(2012/09/10 11:34), Kaneshige, Kenji wrote: >> -Original Message- >> From: linux-pci-ow...@vger.kernel.org >> [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Takao Indoh >> Sent: Wednesday, September 05, 2012 8:10 PM >> To: vgo...@redhat.com >> Cc: ke...@lists.infradead.org; linux-ker

[PATCH] btrfs: fix disk-io.c/btrfs_read_dev_super with BTRFS_SUPER_MIRROR_MAX to control the loops

2012-09-09 Thread Wang Sheng-Hui
To check the duplicated super blocks, use BTRFS_SUPER_MIRROR_MAX as the loops limit. Signed-off-by: Wang Sheng-Hui --- fs/btrfs/disk-io.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 22e98e0..a431144 100644 --- a/fs/btrfs

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Paolo Bonzini
Il 10/09/2012 08:03, Michael S. Tsirkin ha scritto: > On Mon, Sep 10, 2012 at 07:50:13AM +0200, Paolo Bonzini wrote: >> Il 09/09/2012 00:22, Michael S. Tsirkin ha scritto: Almost. One is "the guest, if really needed, can tell the host of pages". If not negotiated, and the host does not

[PATCH RESEND] thermal: add generic cpufreq cooling implementation

2012-09-09 Thread Zhang Rui
Refreshed to remove the notifier mechanism as we do not have a real user of it. if there is no problem, I'll apply the whole patch set to thermal next tree. From: Amit Daniel Kachhap Date: Thu, 16 Aug 2012 17:11:40 +0530 This patchset introduces a new generic cooling device based on cpufreq that

[PATCH 1/2] mtd: add helpers to set/get features for ONFI nand

2012-09-09 Thread Huang Shijie
Add the set-features(0xef)/get-features(0xee) helpers for ONFI nand. Also add the necessary macros. Signed-off-by: Huang Shijie --- drivers/mtd/nand/nand_base.c | 50 ++ include/linux/mtd/nand.h | 14 +++ 2 files changed, 64 insertions(+),

[PATCH 2/2] mtd: add helpers to get the supportted ONFI timing mode

2012-09-09 Thread Huang Shijie
add onfi_get_async_timing_mode() to get the supportted asynchronous timing mode. add onfi_get_sync_timing_mode() to get the supportted synchronous timing mode. Also add the neccessary macros : the timing modes. Signed-off-by: Huang Shijie --- include/linux/mtd/nand.h | 20 +++

Re: [PATCH 2/3] devfreq: Add suspend and resume apis

2012-09-09 Thread Rajagopal Venkat
On 10 September 2012 03:21, Rafael J. Wysocki wrote: > On Monday, September 03, 2012, Rajagopal Venkat wrote: >> Add devfreq suspend/resume apis for devfreq users. This patch >> supports suspend and resume of devfreq load monitoring, required >> for devices which can idle. >> >> Signed-off-by: Raj

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-09 Thread Jan Engelhardt
On Tuesday 2012-08-21 23:29, J. Bruce Fields wrote: >I've seen a couple examples recently where we've gotten this wrong. >Maybe something like this would help? Is there some better way? >(Approximation due to Jim Rees). > >+/* >+ * length of the decimal representation of an unsigned integer. Jus

Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-09 Thread Rajagopal Venkat
On 10 September 2012 03:16, Rafael J. Wysocki wrote: > On Monday, September 03, 2012, Rajagopal Venkat wrote: >> Prepare devfreq core framework to support devices which >> can idle. When device idleness is detected perhaps through >> runtime-pm, need some mechanism to suspend devfreq load >> monit

Re: [ 35/95] dccp: check ccid before dereferencing

2012-09-09 Thread Mathias Krause
Hi Ben, On Mon, Sep 10, 2012 at 12:42 AM, Ben Hutchings wrote: > 3.2-stable review patch. If anyone has any objections, please let me know. No objections, but could you please consider including the following commits, too?: e862f1a atm: fix info leak in getsockopt(SO_ATMPVC) 3c0c5cf atm: f

linux-next: manual merge of the clk tree with the arm-soc tree

2012-09-09 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-ux500/clock.c between commit 79964bcd792f ("ARM: ux500: Correct Ux500 family names usage") from the arm-soc tree and commit ebc96db7632f ("ARM: ux500: Switch to use common clock framework") from the clk tree. The la

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Michael S. Tsirkin
On Mon, Sep 10, 2012 at 07:50:13AM +0200, Paolo Bonzini wrote: > Il 09/09/2012 00:22, Michael S. Tsirkin ha scritto: > >> Almost. One is "the guest, if really needed, can tell the host of > >> pages". If not negotiated, and the host does not support it, the host > >> must break the guest (e.g. fa

[PATCH v5] media: v4l2-ctrls: add control for dpcm predictor

2012-09-09 Thread Prabhakar Lad
From: Lad, Prabhakar add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Acked-by: Hans Verkuil Reviewed-by: Sylwester Nawrocki Cc: Sakari Ailus Cc

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:29 Sun 09 Sep , Nicolas Pitre wrote: > On Sun, 9 Sep 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On 17:26 Fri 07 Sep , Catalin Marinas wrote: > > > +4. Call the kernel image > > > + > > > + > > > +Requirement: MANDATORY > > > + > > > +The decompressed

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Paolo Bonzini
Il 10/09/2012 03:43, Rusty Russell ha scritto: >> Now that vfio is upstream and work on qemu integration >> is being worked on, we might finally see people using this bit >> to allow memory overcommit with device assignment. > That was left-field so you're saying some guest might pull a page >

Re: linux-next: manual merge of the hid tree with Linus' tree

2012-09-09 Thread Marek Vasut
Dear Stephen Rothwell, > Hi Jiri, > > Today's linux-next merge of the hid tree got a conflict in > drivers/hid/usbhid/hid-quirks.c between commit 67ddbb3e6568 ("HID: add > NOGET quirk for Eaton Ellipse MAX UPS") from Linus' tree and commit > 2843b673d034 ("HID: add quirk for Freescale i.MX28 ROM

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Michael S. Tsirkin
On Mon, Sep 10, 2012 at 11:13:12AM +0930, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On Sat, Sep 08, 2012 at 02:36:00PM +0930, Rusty Russell wrote: > >> "Michael S. Tsirkin" writes: > >> > On Fri, Sep 07, 2012 at 04:09:50PM +0930, Rusty Russell wrote: > >> >> > So it looks like a bug

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Paolo Bonzini
Il 09/09/2012 00:22, Michael S. Tsirkin ha scritto: >> Almost. One is "the guest, if really needed, can tell the host of >> pages". If not negotiated, and the host does not support it, the host >> must break the guest (e.g. fail to offer any virtqueues). > > There is no way in spec to break the

linux-next: manual merge of the samsung tree with the mips tree

2012-09-09 Thread Stephen Rothwell
Hi Kukjin, Today's linux-next merge of the samsung tree got a conflict in drivers/pinctrl/Makefile between commit 3fa68afc3d77 ("OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support") from the mips tree and commit 30574f0db1b1 ("pinctrl: add samsung pinctrl and gpiolib driver") from th

[git pull] drm fixes

2012-09-09 Thread Dave Airlie
Hi Linus, just noticed I hadn't send these out, nothing majorly urgent, I know AMD guys have some regression fixes coming soon, This contains: 2 nouveau fixes so it loads on the retina MBP systems properly, 2 vmwgfx fixes to load the driver earlier, and allow distros config it 1 error->debug fi

Re: [PATCH 2/2] backlight: add new lm3639 backlight driver

2012-09-09 Thread Randy Dunlap
On 09/09/2012 08:16 PM, G.Shark Jeong wrote: > From: "G.Shark Jeong" > > This driver is a general version for LM3639 backlgiht driver chip of TI. > > Put NEW_LEDS and LEDS_CLASS into Kconfig file to reduce additional > configuration works in LEDs. > > www.ti.com eh? > > Signed-off-by: G.S

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-09 Thread Sasha Levin
On 09/09/2012 06:56 PM, H. Peter Anvin wrote: >> >> Anyway, that means that the BUG_ON() is likely bogus, but so is the >> whole calling convention. >> >> The 4kB range starting at 0xf000 sounds like a *valid* >> range, but that requires that we fix the calling convention to not >> have

Re: [PATCH 2/2] brd: RAM block module is called 'brd'

2012-09-09 Thread Jan Engelhardt
On Tuesday 2012-08-21 17:10, Paul Bolle wrote: > >2) "modinfo rd" doesn't work. Apparently one needs to feed modinfo the >actual module name and not an alias. Is that by design? I would say so, because you can call modprobe --resolve-alias rd to figure out the actual module to any given

[PATCH] configfs: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- fs/configfs/dir.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/configfs/dir.c b

[PATCH] memstick: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- drivers/memstick/host/r592.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mem

[PATCH] hwspinlock/core: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- drivers/hwspinlock/hwspinlock_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dri

[PATCH] ARM: davinci: dm644x: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- arch/arm/mach-davinci/board-dm644x-evm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH v3] kernel/resource.c: fix stack overflow in __reserve_region_with_split

2012-09-09 Thread Ram Pai
On Fri, Sep 07, 2012 at 04:08:19PM -0600, T Makphaibulchoke wrote: > Using recurvise call to try adding a non-conflicting region in the function > __reserve_region_with_split() could result in a stack overflow in the case > that the recursive calls are too deep. Convert the recursive calls to > an

[PATCH] irqdomain: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- kernel/irq/irqdomain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/irq/irqdom

[PATCH] ocfs2: move the dereference below the NULL test

2012-09-09 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- fs/ocfs2/move_extents.c | 3 ++- fs/ocfs2/journal.c | 3 ++- fs/ocfs2/dlmglue.c | 15 ++-

[PATCH 13/14] ARM: VIC: Add a couple of low-level FIQ management helpers

2012-09-09 Thread Anton Vorontsov
Just a couple of calls to manage VIC FIQ routing. We'll use them for KGDB FIQ support on ARM Versatile machines. Signed-off-by: Anton Vorontsov --- arch/arm/common/vic.c | 28 arch/arm/include/asm/hardware/vic.h | 2 ++ 2 files changed, 30 insertions(+

[PATCH 14/14] ARM: versatile: Make able to use UART ports for KGDB FIQ debugger

2012-09-09 Thread Anton Vorontsov
If enabled, kernel will able to enter KGDB upon serial line activity on UART ports. Note that even with this patch and CONFIG_KGDB_FIQ is enabled, you still need to pass kgdb_fiq.enable=1 kernel command line option, otherwise UART will behave in a normal way. By default UART0 is used, but this ca

[PATCH 12/14] ARM: Add KGDB/KDB FIQ debugger generic code

2012-09-09 Thread Anton Vorontsov
The FIQ debugger may be used to debug situations when the kernel stuck in uninterruptable sections, e.g. the kernel infinitely loops or deadlocked in an interrupt or with interrupts disabled. By default KGDB FIQ is disabled in runtime, but can be enabled with kgdb_fiq.enable=1 kernel command line

[PATCH 11/14] ARM: Move some macros from entry-armv to entry-header

2012-09-09 Thread Anton Vorontsov
Just move the macros into header file as we would want to use them for KGDB FIQ entry code. The following macros were moved: - svc_entry - usr_entry - kuser_cmpxchg_check - vector_stub To make kuser_cmpxchg_check actually work across different files, we also have to make kuser_cmpxchg64_fixu

[PATCH 10/14] tty/serial: Add kgdb_nmi driver

2012-09-09 Thread Anton Vorontsov
This special driver makes it possible to temporary use NMI debugger port as a normal console by issuing 'nmi_console' command (assuming that the port is attached to KGDB). Unlike KDB's disable_nmi command, with this driver you are always able to go back to the debugger using KGDB escape sequence (

[PATCH 09/14] tty/serial/amba-pl011: Implement clear_irqs callback

2012-09-09 Thread Anton Vorontsov
It's all pretty straightforward, except for TXIM interrupt. The interrupt has meaning "ready to transmit", so it's almost always raised, and the only way to silence it is to mask it. But that's OK, ops->start_tx will unmask it. Signed-off-by: Anton Vorontsov --- drivers/tty/serial/amba-pl011.c |

[PATCH 08/14] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-09 Thread Anton Vorontsov
This patch implements a new callback: clear_irqs. It is used for the cases when KDB-entry (e.g. NMI) and KDB IO (e.g. serial port) shares the same interrupt. To get the idea, let's take some real example (ARM machine): we have a serial port which interrupt is routed to an NMI, and the interrupt is

[PATCH 07/14] tty/serial/amba-pl011: Implement poll_init callback

2012-09-09 Thread Anton Vorontsov
The callback is used to initialize the hardware, nothing else should be done, i.e. we should not request interrupts (but we can and do unmask some of them, as they might be useful for NMI entry). As a side-effect, the patch also fixes a division by zero[1] when booting with kgdboc options specifie

[PATCH 06/14] tty/serial/core: Introduce poll_init callback

2012-09-09 Thread Anton Vorontsov
It was noticed that polling drivers (like KGDB) are not able to use serial ports if the ports were not previously initialized via console. I.e. when booting with console=ttyAMA0 kgdboc=ttyAMA0, everything works fine, but with console=ttyFOO kgdboc=ttyAMA0, the kgdboc doesn't work. This is because

[PATCH 05/14] kdb: Turn KGDB_KDB=n stubs into static inlines

2012-09-09 Thread Anton Vorontsov
This makes the stubs actually usable, since e.g. 'foo = kdb_register();' leads to build errors in !KGDB_KDB case. Plus, with static inlines we do type checking. Signed-off-by: Anton Vorontsov --- include/linux/kdb.h | 29 - 1 file changed, 16 insertions(+), 13 deletio

[PATCH 04/14] kdb: Implement disable_nmi command

2012-09-09 Thread Anton Vorontsov
This command disables NMI-entry. If NMI source has been previously shared with a serial console ("debug port"), this effectively releases the port from KDB exclusive use, and makes the console available for normal use. Of course, NMI can be reenabled, enable_nmi modparam is used for that:

[PATCH 03/14] kernel/debug: Mask KGDB NMI upon entry

2012-09-09 Thread Anton Vorontsov
The new arch callback should manage NMIs that usually cause KGDB to enter. That is, not all NMIs should be enabled/disabled, but only those that issue kgdb_handle_exception(). We must mask it as serial-line interrupt can be used as an NMI, so if the original KGDB-entry cause was say a breakpoint,

[PATCH 02/14] drivers/tty/serial/amba-pl0{10,11}.c: use clk_prepare_enable and clk_disable_unprepare

2012-09-09 Thread Anton Vorontsov
From: Julia Lawall Clk_prepare_enable and clk_disable_unprepare combine clk_prepare and clk_enable, and clk_disable and clk_unprepare. The9 make the code more concise, and ensure that clk_unprepare is called when clk_enable fails. A simplified version of the semantic patch that introduces calls

[PATCH 01/14] serial/amba-pl011: fix ages old copy-paste errors

2012-09-09 Thread Anton Vorontsov
From: Linus Walleij The PL011 driver has a number of symbols referring to "pl01x" (probably once shared with the pl010 driver) and some even named "pl010" (probably a pure copy-paste artifact). Lets name all local static functions with the prefix pl011_* for clarity. Signed-off-by: Linus Walleij

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-09 Thread NeilBrown
On Fri, 07 Sep 2012 14:37:16 -0700 Kevin Hilman wrote: > Hi Neil, > > NeilBrown writes: > > > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" > > wrote: > > > >> On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: > >> > On Mon, 3 Sep 2012 22:59:06 -0700 "Shilimkar, Santosh" > >> > wrot

[PATCH v5 0/14] KGDB/KDB FIQ (NMI) debugger

2012-09-09 Thread Anton Vorontsov
Hi all, There wasn't much feedback on v4, the only comment was from Brian Swetland concerning async console (I explained how we deal with it). It would be really great if the core functionality could make it into v3.7. Which raises the question: if the patches are OK, who should take them? They

Re: Question about failure in PCI power-state change

2012-09-09 Thread Larry Finger
On 09/09/2012 07:24 PM, Huang Ying wrote: On Fri, 2012-09-07 at 15:48 -0700, Bjorn Helgaas wrote: +cc Rafael, Huang, linux-pm On Fri, Sep 7, 2012 at 3:44 PM, Larry Finger wrote: Hi, On occasion when I unload and reload driver rtl8192ce, I get the message "Refused to change power state, curr

Re: [PATCH] regulator: fan53555: remove vsel_max not used

2012-09-09 Thread Axel Lin
2012/9/10 Yunfan Zhang : > The max voltage will be bounded by min_uV, uV_step and n_voltages, so > remove it to avoid confusing. > > Signed-off-by: Yunfan Zhang Acked-by: Axel Lin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [RFC] x86: mtrr: Constrain WB MTRR to max phys mem prior to cleanup

2012-09-09 Thread zhenzhong.duan
于 2012-09-08 02:40, H. Peter Anvin 写道: On 09/07/2012 10:44 AM, Peter Hurley wrote: \> diff --git a/arch/x86/kernel/cpu/mtrr/cleanup.c b/arch/x86/kernel/cpu/mtrr/cleanup.c I really don't like it as it introduces yet another user of max_pfn, which should be going away. Furthermore, the bette

[PATCH] regulator: fan53555: remove vsel_max not used

2012-09-09 Thread Yunfan Zhang
The max voltage will be bounded by min_uV, uV_step and n_voltages, so remove it to avoid confusing. Signed-off-by: Yunfan Zhang --- drivers/regulator/fan53555.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c

[PATCH] ARM: Fix build warning in do_alignment.

2012-09-09 Thread Chanho Min
Fix the following build warning: arch/arm/mm/alignment.c: In function 'do_alignment': arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used uninitialized in this function [-Wuninitialized] arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here Signed-off-by: Chanho Min --

linux-next: build failure after merge of the regulator tree

2012-09-09 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "regulator_allow_bypass" [drivers/extcon/extcon-arizona.ko] undefined! Caused by commit e6647c416e4f ("extcon: arizona: Use bypass mode for MICVDD"). I have used the regulator tree

RE: regulator: fan53555: vsel_max does not match with the max voltage?

2012-09-09 Thread Yunfan Zhang
> -Original Message- > From: Axel Lin [mailto:axel@gmail.com] > Sent: 2012年9月10日 11:05 > To: Yunfan Zhang > Cc: Liam Girdwood; Mark Brown; linux-kernel@vger.kernel.org > Subject: regulator: fan53555: vsel_max does not match with the max voltage? > > Hi Yunfan, > Just found below issue

Re: [PATCH 07/13] overlay: overlay filesystem documentation

2012-09-09 Thread NeilBrown
On Mon, 10 Sep 2012 03:47:04 +0200 (CEST) Jan Engelhardt wrote: > > On Wednesday 2012-08-15 17:48, Miklos Szeredi wrote: > >[...] > >+This is most obvious from the 'st_dev' field returned by stat(2). > >+ > >+While directories will report an st_dev from the overlay-filesystem, > >+all non-direct

[PATCH 2/2] backlight: add new lm3639 backlight driver

2012-09-09 Thread G.Shark Jeong
From: "G.Shark Jeong" This driver is a general version for LM3639 backlgiht driver chip of TI. Put NEW_LEDS and LEDS_CLASS into Kconfig file to reduce additional configuration works in LEDs. www.ti.com Signed-off-by: G.Shark Jeong --- drivers/video/backlight/Kconfig |2 ++ 1 files chang

[PATCH 2/2] backlight: add new lm3630 backlight driver

2012-09-09 Thread G.Shark Jeong
From: "G.Shark Jeong" This driver is a general version for LM3630 backlgiht driver chip of TI. Put NEW_LEDS and LEDS_CLASS into Kconfig file to reduce additional configuration works in LEDs. www.ti.com Signed-off-by: G.Shark Jeong --- drivers/video/backlight/Kconfig |2 ++ 1 files chang

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Greg Ungerer
Hi Lars-Peter, On 10/09/12 01:01, Lars-Peter Clausen wrote: The managed clk functions are currently only available when the generic clk lookup framework is build. But the managed clk functions are merely wrappers around clk_get and clk_put and do not depend on any specifics of the generic lookup

regulator: fan53555: vsel_max does not match with the max voltage?

2012-09-09 Thread Axel Lin
Hi Yunfan, Just found below issue while reading the code: For FAN53555_CHIP_ID_04, di->vsel_min = 603000; di->vsel_max = 1411000; di->vsel_step = 12826; So we have below voltage list for FAN53555_CHIP_ID_04: volt[0] = 603000 volt[1] = 615826 volt[2] = 628652 volt[3] = 641

Re: [PATCH 4/4] efikamx: remove Efika MX-specific CHRGVBUS hack from the USB driver

2012-09-09 Thread Fabio Estevam
On Wed, Aug 1, 2012 at 2:49 PM, Matt Sealey wrote: > Since we're removing Efika MX support from the tree (for now), remove > the hack present in the USB host driver since it will never run and > isn't useful on any other systems. > > Signed-off-by: Matt Sealey You should Cc linux-usb list and th

RE: [PATCH][v3] sata_fsl: add workaround for data length mismatch on freescale V2 controller

2012-09-09 Thread Xie Shaohui-B21989
> > + /* Workaround for data length mismatch errata */ > > + if (unlikely(hstatus & INT_ON_DATA_LENGTH_MISMATCH)) { > > + for (tag = 0; tag < ATA_MAX_QUEUE; tag++) { > > + qc = ata_qc_from_tag(ap, tag); > > + if (qc && ata_is_atapi(qc->tf.protocol))

Re: [PATCH v4] hashtable: introduce a small and naive hashtable

2012-09-09 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > This hashtable implementation is using hlist buckets to provide a simple > hashtable to prevent it from getting reimplemented all over the kernel. > > Signed-off-by: Sasha Levin > --- > > I'll send just the hashtable patch itself to avoid spamming

Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Asias He
On 09/10/2012 10:26 AM, Rusty Russell wrote: > Ben Hutchings writes: > >> 3.2-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: "Michael S. Tsirkin" >> >> commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream. >> >> Fix a theoretical

Re: [PATCH v3 0/6] ARM: dove: DT support for Marvell Dove

2012-09-09 Thread Jason Cooper
On Wed, Aug 15, 2012 at 07:07:29PM +0200, Sebastian Hesselbarth wrote: > This patch set adds DT support for Marvell Dove SoC and three boards > equipped with this SoC. The work is based on device tree support for > Marvell Orion based SoCs introduced in 3.6-rc1. > > The first three patches move ma

RE: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-09-09 Thread Kaneshige, Kenji
> -Original Message- > From: linux-pci-ow...@vger.kernel.org > [mailto:linux-pci-ow...@vger.kernel.org] On Behalf Of Takao Indoh > Sent: Wednesday, September 05, 2012 8:10 PM > To: vgo...@redhat.com > Cc: ke...@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-...@vger.kernel.org;

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-09 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Sat, Sep 08, 2012 at 02:36:00PM +0930, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> > On Fri, Sep 07, 2012 at 04:09:50PM +0930, Rusty Russell wrote: >> >> > So it looks like a bug: we should teach driver to tell host first on >> >> > leak? >> >> > Yan

Re: [PATCH 1/2] module: add syscall to load module from fd

2012-09-09 Thread Rusty Russell
Kees Cook writes: > On Fri, Sep 7, 2012 at 10:12 AM, Mimi Zohar wrote: >> This method is a consistent and extensible approach to verifying the >> integrity of file data/metadata, including kernel modules. The only >> downside to this approach, I think, is that it requires changes to the >> usersp

Re: [ 84/95] virtio_blk: fix config handler race

2012-09-09 Thread Rusty Russell
Ben Hutchings writes: > 3.2-stable review patch. If anyone has any objections, please let me know. > > -- > > From: "Michael S. Tsirkin" > > commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream. > > Fix a theoretical race related to config work ??? >From Documentation/stab

Re: [PATCH] virtio: console: fix error handling in init() function

2012-09-09 Thread Rusty Russell
Amit Shah writes: > On (Sat) 01 Sep 2012 [23:49:37], Alexey Khoroshilov wrote: >> If register_virtio_driver() fails, virtio-ports class is not destroyed. >> The patch adds error handling of register_virtio_driver(). >> >> Found by Linux Driver Verification project (linuxtesting.org). >> >> Signe

[PATCH 2/2 V7 for-3.6-fixes] workqueue: fix idle worker depletion

2012-09-09 Thread Lai Jiangshan
If hotplug code grabbed the manager_mutex and worker_thread try to create a worker, the manage_worker() will return false and worker_thread go to process work items. Now, on the CPU, all workers are processing work items, no idle_worker left/ready for managing. It breaks the concept of workqueue an

[PATCH 1/2 V7 for-3.6-fixes] workqueue: add POOL_MANAGING_WORKERS

2012-09-09 Thread Lai Jiangshan
When hotplug happens, the plug code will also grab the manager_mutex, it will break too_many_workers()'s assumption, and make too_many_workers() ugly(kick the timer wrongly, no found bug). To avoid assumption-coruption, we add the original POOL_MANAGING_WORKERS back. Signed-off-by: Lai Jiangshan

Re: [PATCH] UV: fix incorrect tlb flush all issue

2012-09-09 Thread Alex Shi
On 09/07/2012 03:10 PM, Jan Beulich wrote: On 07.09.12 at 07:37, Alex Shi wrote: >> @@ -1113,7 +1114,10 @@ const struct cpumask *uv_flush_tlb_others(const >> struct >> cpumask *cpumask, >> >> record_send_statistics(stat, locals, hubs, remotes, bau_desc); >> >> -bau_desc->paylo

Re: [PATCH v2] regulator: Fairchild fan53555 support

2012-09-09 Thread Mark Brown
On Sat, Sep 08, 2012 at 03:52:18AM -0700, Yunfan Zhang wrote: > This driver supports Fairchild FAN53555 Digitally Programmable > TinyBuck Regulator. The FAN53555 is a step-down switching voltage > regulator that delivers a digitally programmable output from an > input voltage supply of 2.5V to 5.5V

Re: [PATCH] clock: max77686: Add driver for Maxim 77686 32Khz crystal oscillator.

2012-09-09 Thread jonghwa3 . lee
On 2012년 09월 07일 09:04, Mike Turquette wrote: > Quoting Jonghwa Lee (2012-08-28 01:54:28) >> This patch supports max77686 mfd's clock driver using common clock frame >> work. >> max77686 has 3 clock ouputs which all are generated from crystal oscillator >> and >> SOC can enable/disable them via

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-09 Thread Wen Congyang
At 09/10/2012 09:46 AM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > 2012/09/01 5:49, Andrew Morton wrote: >> On Tue, 28 Aug 2012 18:00:07 +0800 >> we...@cn.fujitsu.com wrote: >> >>> This patch series aims to support physical memory hot-remove. >> >> Have you had much review and testing feedback yet? >>

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-09 Thread Yasuaki Ishimatsu
Hi Wen, 2012/09/01 5:49, Andrew Morton wrote: On Tue, 28 Aug 2012 18:00:07 +0800 we...@cn.fujitsu.com wrote: This patch series aims to support physical memory hot-remove. Have you had much review and testing feedback yet? The patches can free/remove the following things: - acpi_memory_

Re: [PATCH 07/13] overlay: overlay filesystem documentation

2012-09-09 Thread Jan Engelhardt
On Wednesday 2012-08-15 17:48, Miklos Szeredi wrote: >[...] >+This is most obvious from the 'st_dev' field returned by stat(2). >+ >+While directories will report an st_dev from the overlay-filesystem, >+all non-directory objects will report an st_dev from the lower or >+upper filesystem that is p

Re: [PATCH v2 0/7] perf ui/browser: Add browser for perf script

2012-09-09 Thread Namhyung Kim
Hi Feng, On Fri, 7 Sep 2012 16:42:22 +0800, Feng Tang wrote: > Hi Arnaldo and all, > > This is a patch set mainly to add a browser for perf script, which > will be integrated into the main hists and annotation browser. > > Patch 1-4 are some preparation for adding the script > patch 5 introduce t

Re: [PATCH] genalloc: make possible to use a custom allocation algorithm

2012-09-09 Thread Huang Ying
On Fri, 2012-09-07 at 11:16 +0200, Benjamin Gaignard wrote: > From: Benjamin Gaignard > > This patch allow to use another algorithm than the default first-fit one. > For example a custom algorithm could be used to manage alignment requirements. > > Add of best-fit algorithm function: > most of t

linux-next: manual merge of the hid tree with Linus' tree

2012-09-09 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the hid tree got a conflict in drivers/hid/usbhid/hid-quirks.c between commit 67ddbb3e6568 ("HID: add NOGET quirk for Eaton Ellipse MAX UPS") from Linus' tree and commit 2843b673d034 ("HID: add quirk for Freescale i.MX28 ROM recovery") from the hid tree. Just

Re: [signal] WARNING: at kernel/lockdep.c:2623 trace_hardirqs_off_caller()

2012-09-09 Thread Fengguang Wu
On Mon, Sep 10, 2012 at 02:13:32AM +0100, Al Viro wrote: > On Mon, Sep 10, 2012 at 09:07:07AM +0800, Fengguang Wu wrote: > > Not sure if it's an unrelated warning, but anyway. > > > > commit: c2865bb326476f031ce7121e876c656cdc12c894 [13/18] x86, um/x86: > > switch to generic sys_execve and kernel

Re: [PATCH 0/9] Prep work for immutable bio vecs

2012-09-09 Thread Kent Overstreet
On Sat, Sep 08, 2012 at 12:41:15PM -0700, Tejun Heo wrote: > Hello, Kent. > > On Fri, Sep 07, 2012 at 03:59:11PM -0700, Kent Overstreet wrote: > > Random assortment of refactoring and trivial cleanups. > > > > Immutable bio vecs and efficient bio splitting require auditing and removing > > pretty

Re: [signal] WARNING: at kernel/lockdep.c:2623 trace_hardirqs_off_caller()

2012-09-09 Thread Al Viro
On Mon, Sep 10, 2012 at 09:07:07AM +0800, Fengguang Wu wrote: > Not sure if it's an unrelated warning, but anyway. > > commit: c2865bb326476f031ce7121e876c656cdc12c894 [13/18] x86, um/x86: switch > to generic sys_execve and kernel_execve [commit in experimental-kernel_thread, not one in execve2/

Re: [signal] BUG: unable to handle kernel NULL pointer dereference at 0000000000000001

2012-09-09 Thread Al Viro
On Mon, Sep 10, 2012 at 08:47:53AM +0800, Fengguang Wu wrote: > Al, > > Something bad happens since the below commit. Because commit [12/18] f411932 > was not tested, it might also be the first bad commit. There's a damn good reason why the branch is called the way it's called ;-) It's missing a

[PATCH] NFS: Remove unnecessary semicolons (fs/nfs/client.c)

2012-09-09 Thread ycnian
From: Yanchuan Nian There are some unnecessary semicolons in function find_nfs_version. Just remove them. Signed-off-by: Yanchuan Nian --- fs/nfs/client.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 9969444..d2e1612 10064

Re: [PATCH v2 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-09 Thread Jason Cooper
On Sun, Sep 02, 2012 at 10:27:29AM +0200, Sebastian Hesselbarth wrote: > there is a v3 of the patch under internal review right now. Sebastian, What is the status of v3? I'd like to get it (and gpio, which depends on this work) in for v3.7, but it's getting close... thx, Jason. -- To unsubscri

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Russell King - ARM Linux
On Mon, Sep 10, 2012 at 08:20:21AM +0800, Mark Brown wrote: > On Mon, Sep 10, 2012 at 01:15:24AM +0100, Russell King - ARM Linux wrote: > > Note that the patch system doesn't always return error messages anymore > > (it used to do that reliably, but as it's now a favourite target for > > spammers a

Re: [PATCH 2/2] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-09 Thread Kent Overstreet
On Sat, Sep 08, 2012 at 12:36:41PM -0700, Tejun Heo wrote: > (Restoring cc list from the previous discussion. Please retain the cc > list of the people who discussed in the previous postings.) > > On Fri, Sep 07, 2012 at 03:12:53PM -0700, Kent Overstreet wrote: > > But this is tricky and not a ge

Re: Question about failure in PCI power-state change

2012-09-09 Thread Huang Ying
On Fri, 2012-09-07 at 15:48 -0700, Bjorn Helgaas wrote: > +cc Rafael, Huang, linux-pm > > On Fri, Sep 7, 2012 at 3:44 PM, Larry Finger > wrote: > > Hi, > > > > On occasion when I unload and reload driver rtl8192ce, I get the message > > > > "Refused to change power state, currently in D3" Hi, L

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Mark Brown
On Mon, Sep 10, 2012 at 01:15:24AM +0100, Russell King - ARM Linux wrote: > On Mon, Sep 10, 2012 at 12:50:59AM +0100, Mark Brown wrote: > > I posted a patch for this (clk: Move devm_ APIs out of clkdev into > > HAVE_CLK) towards the end of the last release cycle and I think reposted > > it since a

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Russell King - ARM Linux
On Mon, Sep 10, 2012 at 12:50:59AM +0100, Mark Brown wrote: > On Sun, Sep 09, 2012 at 05:01:02PM +0200, Lars-Peter Clausen wrote: > > > The managed clk functions are currently only available when the generic clk > > lookup framework is build. But the managed clk functions are merely wrappers > > a

Re: mmotm 2012-09-06-16-46 uploaded (drivers/video/backlight/lm3639_bl)

2012-09-09 Thread gshark
Hi Randy. LM3630/9 have the pins for led so these depend on BACKLIGHT_CLASS_DEVICE and I2C. So we need to set LEDS_CLASS and NEW_LEDS. I will put these two into driver/video/backlight/Kconfig file and patch it so that you don't need to do it. 2012년 09월 08일 09:39, Randy Dunlap 쓴 글: On 09/06

Re: Adding 'msm' tree to linux-next.

2012-09-09 Thread Stephen Rothwell
Hi David, On Fri, 7 Sep 2012 15:04:04 -0700 David Brown wrote: > > I'd like to add the msm soc tree to Linux next. > > git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git for-next > > I had removed it when the creation of the ARM SoC tree, but now that > msm is getting a bit mo

Re: [PATCH] clk: Make the managed clk functions generically available

2012-09-09 Thread Mark Brown
On Sun, Sep 09, 2012 at 05:01:02PM +0200, Lars-Peter Clausen wrote: > The managed clk functions are currently only available when the generic clk > lookup framework is build. But the managed clk functions are merely wrappers > around clk_get and clk_put and do not depend on any specifics of the ge

  1   2   3   >