Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-04 Thread Linus Walleij
On Wed, Sep 5, 2012 at 8:41 AM, Lee Jones wrote: > On Tue, Sep 04, 2012 at 07:27:10PM +0200, Linus Walleij wrote: >> On Tue, Sep 4, 2012 at 4:28 PM, Arnd Bergmann wrote: >> >> > In this particular case, we don't have a single board file providing a >> > struct nmk_i2c_controller definition for pl

[PATCH] staging: gdm72xx: use list_move_tail instead of list_del/list_add_tail

2012-09-04 Thread Wei Yongjun
From: Wei Yongjun Using list_move_tail() instead of list_del() + list_add_tail(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- drivers/staging/gdm72xx/gdm_usb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH] staging: ozwpan: use list_move_tail instead of list_del/list_add_tail

2012-09-04 Thread Wei Yongjun
From: Wei Yongjun Using list_move_tail() instead of list_del() + list_add_tail(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- drivers/staging/ozwpan/ozhcd.c | 15 +-- 1 file changed, 5 insertions(+), 10 de

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-04 Thread Lee Jones
On Tue, Sep 04, 2012 at 07:27:10PM +0200, Linus Walleij wrote: > On Tue, Sep 4, 2012 at 4:28 PM, Arnd Bergmann wrote: > > > In this particular case, we don't have a single board file providing a > > struct nmk_i2c_controller definition for platform data, so the best way > > to handle this IMHO is

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

2012-09-04 Thread Wei Yongjun
From: Wei Yongjun Using list_move_tail() instead of list_del() + list_add_tail(). Signed-off-by: Wei Yongjun --- mm/rmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index 0f3b7cd..6333654 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -307,8 +307,7

Re: [PATCH] perf/x86: Disable uncore on virtualized CPU.

2012-09-04 Thread Ingo Molnar
* Yan, Zheng wrote: > From: "Yan, Zheng" > > Initializing uncore PMU on virtualized CPU may hang the kernel. > This is because kvm does not emulate the entire hardware. Thers > are lots of uncore related MSRs, making kvm enumerate them all > is a non-trival task. So just disable uncore on virt

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

2012-09-04 Thread Wei Yongjun
From: Wei Yongjun Using list_move_tail() instead of list_del() + list_add_tail(). Signed-off-by: Wei Yongjun --- sound/drivers/opl4/opl4_synth.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/drivers/opl4/opl4_synth.c b/sound/drivers/opl4/opl4_synth.c index

[PATCH] trace: Don't declare trace_*_rcuidle functions in modules

2012-09-04 Thread Josh Triplett
Tracepoints declare a static inline trace_*_rcuidle variant of the trace function, to support safely generating trace events from the idle loop. Module code never actually uses that variant of trace functions, because modules don't run code that needs tracing with RCU idled. However, the declarati

[PATCH 2/2] workqueue: fix possible deadlock in idle worker rebinding

2012-09-04 Thread Tejun Heo
Currently, rebind_workers() and idle_worker_rebind() are two-way interlocked. rebind_workers() waits for idle workers to finish rebinding and rebound idle workers wait for rebind_workers() to finish rebinding busy workers before proceeding. Unfortunately, this isn't enough. The second wait from

[git pull] Please pull powerpc.git merge branch

2012-09-04 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few fixes for 3.6 that were piling up while I was away or busy (I was mostly MIA a week or two before San Diego). Some fixes from Anton fixing up issues with our relatively new DSCR control feature, and a few other fixes that are either regressions or bugs nasty enough to war

linux-next: Tree for Sept 5

2012-09-04 Thread Stephen Rothwell
Hi all, Changes since 20120904: The net-next tree lost its build failure but gained another for which I applied a patch. It also gained a conflict against the vfs tree. I applied a supplied merge fix patch to the sound-asoc tree. The spi-mb tree gained a conflict against the mmc tree. The

[PATCH 1/2] workqueue: move WORKER_REBIND clearing in rebind_workers() to the end of the function

2012-09-04 Thread Tejun Heo
This doesn't make any functional difference and is purely to help the next patch to be simpler. Signed-off-by: Tejun Heo Cc: Lai Jiangshan --- Here are the split patches. Will push these through wq/for-3.6-fixes. Thanks. kernel/workqueue.c | 26 +- 1 file changed, 1

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Michael S. Tsirkin
On Tue, Sep 04, 2012 at 03:53:53PM +0930, Rusty Russell wrote: > Kent Overstreet writes: > > > CONFIG_VIRTIO isn't exposed, everything else is supposed to select it > > instead. > > This is a slight mis-understanding. It's supposed to be selected by > the particular driver, probably virtio_pci

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Michael S. Tsirkin
On Wed, Sep 05, 2012 at 01:54:07PM +0800, Asias He wrote: > On 09/05/2012 01:48 PM, Michael S. Tsirkin wrote: > > On Wed, Sep 05, 2012 at 12:22:58PM +0800, Asias He wrote: > >> On 09/04/2012 02:23 PM, Rusty Russell wrote: > >>> Kent Overstreet writes: > >>> > CONFIG_VIRTIO isn't exposed, ever

[PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-04 Thread Thomas Abraham
Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all Samsung SoC's to interface with the pinctrl and gpiolib subsystems. This driver supports only device tree based instantiation and hence can be used only on thos

Re: [PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-04 Thread Shawn Guo
Hi Samuel, The series needs to go via mfd or arm-soc tree as a whole. In case you want to take it through mfd tree, here is my ack. Acked-by: Shawn Guo Otherwise, I can take it via arm-soc tree with your ack. Regards, Shawn On Wed, Sep 05, 2012 at 10:57:12AM +0800, Dong Aisheng wrote: > This

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Asias He
On 09/05/2012 01:48 PM, Michael S. Tsirkin wrote: > On Wed, Sep 05, 2012 at 12:22:58PM +0800, Asias He wrote: >> On 09/04/2012 02:23 PM, Rusty Russell wrote: >>> Kent Overstreet writes: >>> CONFIG_VIRTIO isn't exposed, everything else is supposed to select it instead. >>> >>> This is a s

Re: A workaround for request_firmware() stuck in module_init

2012-09-04 Thread Takashi Iwai
At Wed, 5 Sep 2012 09:15:34 +0800, Ming Lei wrote: > > On Wed, Sep 5, 2012 at 12:10 AM, Takashi Iwai wrote: > > At Tue, 4 Sep 2012 23:52:15 +0800, > > Ming Lei wrote: > >> > >> On Tue, Sep 4, 2012 at 9:06 PM, Takashi Iwai wrote: > >> > Hi, > >> > > >> > as I've got recently a few bug reports reg

Re: [PATCH 1/1] Input: joydev - fix axes values sent in initial js_event

2012-09-04 Thread Dmitry Torokhov
Hi Vojtech, On Tue, Aug 14, 2012 at 12:11:54AM +0200, Vojtech Bocek wrote: > Initial input event has not yet arrived in joydev_connect() > where values are set, which means default values of input_absinfo > are used for init event, not the actual values from joystick. So what guarantees that joys

[PATCH -v3 05/14] x86, mm: Find early page table only one time

2012-09-04 Thread Yinghai Lu
Should not do that in every calling of init_memory_mapping. Actually in early time, only need do once. Also move down early_memtest. -v2: fix one early_memtest with 32bit by passing max_pfn_mapped instead. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c | 72 ++--

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Michael S. Tsirkin
On Wed, Sep 05, 2012 at 12:22:58PM +0800, Asias He wrote: > On 09/04/2012 02:23 PM, Rusty Russell wrote: > > Kent Overstreet writes: > > > >> CONFIG_VIRTIO isn't exposed, everything else is supposed to select it > >> instead. > > > > This is a slight mis-understanding. It's supposed to be selec

[PATCH -v3 06/14] x86, mm: Separate out calculate_table_space_size()

2012-09-04 Thread Yinghai Lu
it should take physical address range that will need to be mapped. and find_early_table_space should take range that pgt buff should be in. Separate those two to reduce confusion. Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/mm/init.c | 39 -

[PATCH -v3 07/14] x86, mm: Move down two calculate_table_space_size down.

2012-09-04 Thread Yinghai Lu
So later could make it call split_mem_range... Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/mm/init.c | 116 ++-- 1 files changed, 58 insertions(+), 58 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index f

[PATCH -v3 08/14] x86, mm: set memblock initial limit to 1M

2012-09-04 Thread Yinghai Lu
memblock_x86_fill() could double memory array. and we set max_pfn_mapped to 512M, so memory array could be around 512M. So kdump will not get big range (like 512M) under 1024M. Try to put it down under 1M, it could use about 4k or so. Also we need this one when we try to only map ram range only l

[PATCH -v3 02/14] x86, mm: Split out split_mem_range

2012-09-04 Thread Yinghai Lu
from init_memory_mapping, so make init_memory_mapping readable. Suggested-by: Ingo Molnar Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/mm/init.c | 42 ++ 1 files changed, 26 insertions(+), 16 deletions(-) diff --git a/arch/x86/mm/i

[PATCH -v3 01/14] x86, mm: Add global page_size_mask

2012-09-04 Thread Yinghai Lu
detect if need to use 1G or 2M and store them in page_size_mask. Only probe them one time. Suggested-by: Ingo Molnar Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/include/asm/pgtable.h |1 + arch/x86/kernel/setup.c|1 + arch/x86/mm/init.c | 66

[PATCH -v3 00/14] x86, mm: init_memory_mapping cleanup

2012-09-04 Thread Yinghai Lu
Only create mapping for E820_820 and E820_RESERVED_KERN. Seperate calculate_table_space_size and find_early_page_table out with init_memory_mapping. For all ranges, will allocate page table one time, but init mapping only for E820 RAM and E820_RESERVED_KERN. Could be found at: git://git.kernel.o

[PATCH -v3 10/14] x86: Fixup code testing if a pfn is direct mapped

2012-09-04 Thread Yinghai Lu
From: Jacob Shin Update code that previously assumed pfns [ 0 - max_low_pfn_mapped ) and [ 4GB - max_pfn_mapped ) were always direct mapped, to now look up pfn_mapped ranges instead. -v2: change applying sequence to keep git bisecting working. so add dummy pfn_range_is_mapped(). - Yinghai

[PATCH -v3 09/14] x86: if kernel .text .data .bss are not marked as E820_RAM, complain and fix

2012-09-04 Thread Yinghai Lu
From: Jacob Shin There could be cases where user supplied memmap=exactmap memory mappings do not mark the region where the kernel .text .data and .bss reside as E820_RAM, as reported here: https://lkml.org/lkml/2012/8/14/86 Handle it by complaining, and adding the range back into the e820. Sig

linux-next: build failure after merge of the final tree (staging tree related)

2012-09-04 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/ipack/ipack.c: In function 'ipack_device_read_id': drivers/staging/ipack/ipack.c:291:2: error: implicit declaration of function 'ioread8' [-Werror=implicit-function-declaration

[PATCH -v3 12/14] x86/mm: calculate_table_space_size based on memory ranges that are being mapped

2012-09-04 Thread Yinghai Lu
From: Jacob Shin Current logic finds enough space for direct mapping page tables from 0 to end. Instead, we only need to find enough space to cover mr[0].start to mr[nr_range].end -- the range that is actually being mapped by init_memory_mapping() This patch also reportedly fixes suspend/resume

[PATCH -v3 13/14] x86, mm: Use func pointer to table size calculation and mapping

2012-09-04 Thread Yinghai Lu
They all need to go over ram range in same sequence. So add shared function to reduce duplicated code. -v2: Change to walk_ram_ranges() according to Pekka Enberg. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c | 64 ++- 1 files changed, 23 ins

[PATCH -v3 14/14] x86, mm: Map ISA area with connected ram range at the same time

2012-09-04 Thread Yinghai Lu
so could reduce one loop. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c | 21 ++--- 1 files changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 6663f61..e69f832 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -248

[PATCH -v3 03/14] x86, mm: Moving init_memory_mapping calling

2012-09-04 Thread Yinghai Lu
from setup.c to mm/init.c So could update all related calling together later Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/include/asm/init.h|1 - arch/x86/include/asm/pgtable.h |2 +- arch/x86/kernel/setup.c| 13 + arch/x86/mm/init.c

[PATCH -v3 11/14] x86: Only direct map addresses that are marked as E820_RAM

2012-09-04 Thread Yinghai Lu
From: Jacob Shin Currently direct mappings are created for [ 0 to max_low_pfn< Signed-off-by: Yinghai Lu Reviewed-by: Pekka Enberg --- arch/x86/include/asm/page_types.h |8 +-- arch/x86/kernel/setup.c |8 ++- arch/x86/mm/init.c| 119 ++

[PATCH -v3 04/14] x86, mm: Revert back good_end setting for 64bit

2012-09-04 Thread Yinghai Lu
So we could put page table high again for 64bit. Signed-off-by: Yinghai Lu --- arch/x86/mm/init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index 15a6a38..cca9b7d 100644 --- a/arch/x86/mm/init.c +++ b/arch/x86/mm/init.c @@ -

Re: [PATCH v5 3/3] powerpc: Uprobes port to powerpc

2012-09-04 Thread Ananth N Mavinakayanahalli
On Wed, Sep 05, 2012 at 03:26:59PM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2012-08-24 at 13:01 +0530, Ananth N Mavinakayanahalli wrote: > > From: Ananth N Mavinakayanahalli > > > > This is the port of uprobes to powerpc. Usage is similar to x86. > > Guys, can you do a minimum of build tes

[GIT PULL] gpio fixes for v3.6

2012-09-04 Thread Linus Walleij
Hi Linus, these are some smallish GPIO regression fixes for the v3.6 series, should be no big deal, please pull them in! Details in the tag. Yours, Linus Walleij The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are availa

RE: [PATCH] xen: fix logical error in tlb flushing

2012-09-04 Thread Ren, Yongjie
> -Original Message- > From: Shi, Alex > Sent: Wednesday, September 05, 2012 1:35 PM > To: Jan Beulich > Cc: Konrad Rzeszutek Wilk; t...@linutronix.de; mi...@redhat.com; > linux-kernel@vger.kernel.org; h...@zytor.com; Ren, Yongjie > Subject: Re: [PATCH] xen: fix logical error in tlb flushin

linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-04 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: net/ipv6/netfilter/nf_nat_l3proto_ipv6.c: In function 'nf_nat_ipv6_csum_recalc': net/ipv6/netfilter/nf_nat_l3proto_ipv6.c:144:4: error: implicit declaration of function 'csum_ipv6_magic' [-Wer

Re: [PATCH] xen: fix logical error in tlb flushing

2012-09-04 Thread Alex Shi
On 08/25/2012 03:45 AM, Jan Beulich wrote: On 24.08.12 at 20:17, Konrad Rzeszutek Wilk wrote: >> On Fri, Aug 24, 2012 at 04:16:39PM +0100, Jan Beulich wrote: >> On 24.08.12 at 10:55, Alex Shi wrote: While TLB_FLUSH_ALL gets passed as 'end' argument to flush_tlb_others(), the X

Re: [PATCH v5 3/3] powerpc: Uprobes port to powerpc

2012-09-04 Thread Benjamin Herrenschmidt
On Fri, 2012-08-24 at 13:01 +0530, Ananth N Mavinakayanahalli wrote: > From: Ananth N Mavinakayanahalli > > This is the port of uprobes to powerpc. Usage is similar to x86. Guys, can you do a minimum of build testing ? This one breaks due to uprobe_get_swbp_addr() being defined in both asm and

Re: [PATCH] perf: allow user to indicate path to objdump in command line

2012-09-04 Thread Maciek Borzecki
On Wed, 2012-09-05 at 12:11 +1000, Michael Ellerman wrote: > On Tue, 2012-09-04 at 10:05 -0600, David Ahern wrote: > > On 9/4/12 4:32 AM, Maciek Borzecki wrote: > > > When analyzing perf data from hosts of other architecture than one of the > > > local > > > host it's useful to call objdump that i

Re: [PATCH] userns: Add basic quota support v4

2012-09-04 Thread Eric W. Biederman
Dave Chinner writes: > On Wed, Aug 29, 2012 at 02:31:26AM -0700, Eric W. Biederman wrote: >> >> Dave thanks for taking the time to take a detailed look at this code. >> >> Dave Chinner writes: >> >> > On Tue, Aug 28, 2012 at 12:09:56PM -0700, Eric W. Biederman wrote: >> > How did you tes

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-04 Thread Matthew Garrett
On Tue, Sep 04, 2012 at 09:33:31PM -0700, Eric W. Biederman wrote: > Matthew Garrett writes: > > The full implementation should trust keys that are trusted by the > > platform, so it'd boot any kexec image you cared to sign. Or simply > > patch this code out and rebuild and self-sign, or disable

[PATCH 3/7] perf header: Swap pmu mapping numbers if needed

2012-09-04 Thread Namhyung Kim
From: Namhyung Kim Like others, the numbers can be saved in a different endian format than a host machine. Swap them if needed. Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/util/header.c b/too

[PATCH 0/7] perf header: Save and reuse feature information in header (v2)

2012-09-04 Thread Namhyung Kim
Hi, This is a v2 of my perf header cleanup series. The v1 can be found here [1]. Currently the perf header information is used only at initial setup time and discarded. If it's saved we could reuse the information for various purpose in the future. The patch 1-3 are cleanups so that they can b

[PATCH 1/7] perf header: Use evlist->nr_entries on write_event_desc()

2012-09-04 Thread Namhyung Kim
From: Namhyung Kim Number of events (evsels) in a evlist is kept on nr_entries field so that we don't need to recalculate it. Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/header.c b/tools/perf/

[PATCH 4/7] perf header: Add struct perf_header_info

2012-09-04 Thread Namhyung Kim
From: Namhyung Kim The struct perf_header_info will preserve environment information at the time of perf record. It can be accessed anytime after parsing a perf.data file if needed. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.h | 24 +++

[PATCH 2/7] perf header: Set tracepoint event name only if not set

2012-09-04 Thread Namhyung Kim
From: Namhyung Kim The event name can be set already by processing a event_desc data. So check it before setting to prevent possible leak. Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/header.c b/too

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

2012-09-04 Thread Prabhakar Lad
Hi Sakari, Thanks for the review. On Wednesday 05 September 2012 12:42 AM, Sakari Ailus wrote: > Hi Prabhakar, > > Thanks for the patch. I've got a few comments below. > > On Tue, Sep 04, 2012 at 11:07:52AM +0530, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add V4L2_CID_DPCM_PREDICTOR c

[PATCH 7/7] perf header: Remove unused @feat arg from ->process callback

2012-09-04 Thread Namhyung Kim
From: Namhyung Kim As the @feat arg is not used anywhere, get rid of it from the signature. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 59 1 file changed, 25 insertions(+), 34 deletions(-

[PATCH 5/7] perf header: Add ->process callbacks to most of features

2012-09-04 Thread Namhyung Kim
>From now on each feature information is processed and saved in perf header so that it can be used wherever needed. The BRANCH_STACK feature is an exception since it needs nothing to be done. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 31

[PATCH 6/7] perf header: Use pre-processed header info when printing

2012-09-04 Thread Namhyung Kim
>From now on each feature information is processed and saved in perf header so that it can be used for printing. The event desc and branch stack features are not touched since they're not saved. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c |

Re: linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Masatake YAMATO
Hi, How can I see source files applied your patch? (I'm very new to kernel development.) You patch looks like a patch for another patch. Masatake YAMATO > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in > net/socket.c between commits f8a78429cc70 ("take descriptor h

[PATCH 3/5] regulator: lp872x: initialize the DVS mode

2012-09-04 Thread Kim, Milo
The platform specific configuration(general_config) is optional. However, the DVS settings should be configured explicitly while loading the driver. This patch enables configuring the default DVS mode even though the platform data is not defined. Signed-off-by: Milo(Woogyom) Kim --- drivers

Re: [PATCH] dma: tegra: move smmu.h into SMMU driver

2012-09-04 Thread Hiroshi Doyu
On Wed, 5 Sep 2012 00:36:15 +0200 Stephen Warren wrote: > From: Stephen Warren > > There's no need to place these defines into arch/arm/mach-tegra/include/. > Move them into the SMMU driver to clean up mach-tegra, as a pre-requisite > for single-zImage. > > Signed-off-by: Stephen Warren > Cc:

[PATCH 5/5] regulator: lp872x: remove unnecessary function

2012-09-04 Thread Kim, Milo
The lp872x_check_dvs_validity() is used for checking DVS platform data. If the DVS platform data is not defined, return as error code. Now, this is unnecessary because the default DVS mode is set in this case. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 28

[PATCH 4/5] regulator: lp872x: fix NULL pointer access problem

2012-09-04 Thread Kim, Milo
The lp872x_set_dvs() is used for changing the DVS pin state. This function works only when the DVS platform data is defined. So don't assume that DVS data is always valid. In case the platform data is not defined, the DVS data is set to NULL for skipping the DVS pin control. DVS selection an

[PATCH 2/5] regulator: lp872x: set the default DVS mode

2012-09-04 Thread Kim, Milo
The lp872x driver has the DVS platform data which select the register address of the BUCK voltage. This patch enables updating the default DVS mode when the DVS platform data is not defined. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 15 ++- 1 file change

[PATCH 1/5] regulator: lp872x: remove regulator platform data dependency

2012-09-04 Thread Kim, Milo
This patch enables registering the regulator driver even though the regulator_init_data is not defined in the platform side. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/regulator/

[PATCH 0/5] regulator: lp872x: remove platform data dependency

2012-09-04 Thread Kim, Milo
This patch-set removes the platform data dependency. The LP872x driver should be run even if the platform data is not defined. 5 patches enable running the driver in case the LP8720/8725 platform data has no configuration. [PATCH 1/5] regulator: lp872x: remove regulator platform data dependency [

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

2012-09-04 Thread Tejun Heo
Hello, Dave. On Wed, Sep 05, 2012 at 01:57:59PM +1000, Dave Chinner wrote: > > But, yeah, this can't be solved by enlarging the stack size. The > > upper limit is unbound. > > Sure, but recursion issue is isolated to the block layer. > > If we can still submit IO directly through the block laye

Re: WARNING: cpu_is_offline() at native_smp_send_reschedule()

2012-09-04 Thread Michael Wang
Hi, Feng Guang On 09/05/2012 09:11 AM, Fengguang Wu wrote: > Hi, > > Here is an old problem that happens also in 3.4. It's very unreliable: > it may only happen once per 3000 boots.. > > [ 10.968565] reboot: machine restart > [ 10.983510] [ cut here ] > [ 10.984218]

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-04 Thread Eric W. Biederman
Matthew Garrett writes: > On Tue, Sep 04, 2012 at 03:12:52PM -0700, Eric W. Biederman wrote: >> Matthew Garrett writes: >> > The driving force behind this code right now is that our choices are >> > either (1) do something like this, or (2) disable kexec entirely. >> >> Actually there is an in

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Asias He
On 09/04/2012 02:23 PM, Rusty Russell wrote: > Kent Overstreet writes: > >> CONFIG_VIRTIO isn't exposed, everything else is supposed to select it >> instead. > > This is a slight mis-understanding. It's supposed to be selected by > the particular driver, probably virtio_pci in your case. virti

[PATCH] clkdev: Add default clkdev.h

2012-09-04 Thread Mark Brown
Ease the deployment of clkdev by providing a default asm/clkdev.h for use if the arch does not have an include/asm/clkdev.h. Due to limitations in Kbuild we manually add clkdev.h to all architectures that don't have one rather than having the header appear by default. Signed-off-by: Mark Brown R

Re: [PATCH v3 2/4] misc: Generic on-chip SRAM allocation driver

2012-09-04 Thread Shawn Guo
On Mon, Sep 03, 2012 at 06:02:06PM +0200, Philipp Zabel wrote: > +static struct platform_driver sram_driver = { > + .driver = { > + .name = "sram", > + .of_match_table = of_match_ptr(sram_dt_ids), > + }, > + .probe = sram_probe, > + .remove = __devexit_p(sram

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

2012-09-04 Thread Dave Chinner
On Tue, Sep 04, 2012 at 11:26:33AM -0700, Tejun Heo wrote: > Hello, > > On Tue, Sep 04, 2012 at 09:54:23AM -0400, Vivek Goyal wrote: > > > Given that we are working around stack depth issues in the > > > filesystems already in several places, and now it seems like there's > > > a reason to work ar

linux-next: manual merge of the rcu tree with the tip tree

2012-09-04 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the rcu tree got a conflict in kernel/sched/core.c between commit f319da0c6894 ("sched: Fix load avg vs cpu-hotplug") from the tip tree and commit ead504e5600e ("sched: Fix load avg vs cpu-hotplug") from the rcu tree. These are 2 slightly different versions of

Re: linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-04 Thread Marek Vasut
Dear Stephen Rothwell, > Hi Mark, > > Today's linux-next merge of the spi-mb tree got a conflict in > drivers/mmc/host/mxs-mmc.c between commit fc108d24d3a6 ("mmc: mxs-mmc: > fix deadlock caused by recursion loop") from the mmc tree and commit > 829c1bf40b92 ("mmc: spi: Pull out parts shared betw

RE: [PATCH] usb: otg: Move phy interface to separate file.

2012-09-04 Thread Venu Byravarasu
Hi Greg, Initially I pushed patch to linux-next with https://lkml.org/lkml/2012/8/29/40 . In this patch, my mail id for "Signed-off-by" is correctly shown. However as Felipe wanted me to push the patch to his branch, I synced to his code base and pushed the patch. Am still not sure, why my mail

Re: RCU warning during UBI file system mount

2012-09-04 Thread Shawn Guo
On Tue, Sep 04, 2012 at 08:43:12AM -0700, Subodh Nijsure wrote: > MX28 is ARM device. I removed following from my config and these > warnings went away. > > CONFIG_CPU_IDLE=y > CONFIG_CPU_IDLE_GOV_LADDER=y > CONFIG_CPU_IDLE_GOV_MENU=y > There is no cpuidle implemented on imx28. I do not understa

RE: [PATCH] usb: otg: Move phy interface to separate file.

2012-09-04 Thread Venu Byravarasu
Not sure, why it appeared like that. However my actual mail id is: vbyravar...@nvidia.com Shall I resend the patch, or this mail id can be added in the patch? Thanks, Venu > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 10:51

Re: [PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-09-04 Thread Benjamin Herrenschmidt
On Wed, 2012-08-22 at 16:42 -0500, Kent Yoder wrote: > On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote: > > This patch adds a new device driver to support IBM virtual TPM > > (vTPM) for PPC64. IBM vTPM is supported through the adjunct > > partition with firmware release 740 or higher.

Re: [PATCH v2 0/6] device_cgroup: replace internally whitelist with exception list

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > The original model of device_cgroup is having a whitelist where all the > allowed devices are listed. The problem with this approach is that is > impossible to have the case of allowing everything but few devices. > > The reason for that lies in the wa

Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-04 Thread Mark Brown
On Tue, Sep 04, 2012 at 04:51:00PM -0700, Randy Dunlap wrote: > This build error still happens in linux-next of 20120904. > Can we get the patch merged for linux-next? Greg's the one managing extcon in -next. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH v2 6/6] device_cgroup: introduce a new, more consistent interface for device_cgroup

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > Internally device_cgroup now uses a default rule (behavior) and an exception > list and this interface reflects it. > > The new files, devices.behavior ('allow' or 'deny') and devices.exceptions map > directly to the internal state. > > Also, update d

Re: [PATCH v2 5/6] device_cgroup: rename whitelist to exception list

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This patch replaces the "whitelist" usage in the code and comments and replace > them by exception list related information. > > v2: > - fix checkpatch warnings > > Cc: Tejun Heo > Cc: Li Zefan > Cc: James Morris > Cc: Pavel Emelyanov > Cc: Serge

Re: [PATCH v2 4/6] device_cgroup: stop using simple_strtoul()

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This patch converts the code to use kstrtou32() instead of simple_strtoul() > which is deprecated. The real size of the variables are u32, so use kstrtou32 > instead of kstrtoul > > Signed-off-by: Aristeu Rozanski phew, i'm afraid i'm not up on the l

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

2012-09-04 Thread Xie Shaohui-B21989
> -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Tuesday, September 04, 2012 10:51 PM > To: Xie Shaohui-B21989; jgar...@pobox.com; linux-...@vger.kernel.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Bhartiya > Anju-B07263 > Subject:

[PATCH v6 4/4] mfd: anatop-mfd: remove anatop driver

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng The anatop registers are accessed via syscon now, no one will use mfd anatop driver anymore, remove it. Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- drivers/mfd/Kconfig|8 --- drivers/mfd/Makefile |1 - drivers/mfd/anatop-mfd.c | 124 ---

[PATCH v6 2/4] ARM: imx6q: add iomuxc gpr support into syscon

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Include headfile for easy using. Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- ChangeLog v4-v5: * renamed: include/linux/fsl/imx6q-iomuxc-gpr.h -> include/linux/mfd/syscon/imx6q-iomuxc-gpr.h * a minor typo fix --- arch/arm/boot/dts/imx6q.dtsi

[PATCH v6 3/4] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Using syscon to access anatop register. Acked-by: Mark Brown Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- ChangeLog v5->v6: * of_node_put after using syscon_node_to_regmap ChangeLog v4->v5: * merge patch 3,4,5,6 to avoid break bisect. ChangeLog v2->v3: * upda

[PATCH v6 1/4] mfd: add syscon driver based on regmap

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Add regmap based syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IMX IOMUXC GPR and ANATOP. With this driver, client can use generic regmap API to access registers which are registered into syscon.

[PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-04 Thread Dong Aisheng
This patch series mainly adds an syscon driver which is used to access general system controller registers like FSL IOMUXC GPR and ANATOP, after that, we convert all the exist private access general registers code to use standard API from regmap to access registers. Finally we remove the old mfd a

linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-04 Thread Stephen Rothwell
Hi Mark, Today's linux-next merge of the spi-mb tree got a conflict in drivers/mmc/host/mxs-mmc.c between commit fc108d24d3a6 ("mmc: mxs-mmc: fix deadlock caused by recursion loop") from the mmc tree and commit 829c1bf40b92 ("mmc: spi: Pull out parts shared between MMC and SPI") from the spi-mb tr

Re: [PATCH v2 3/6] device_cgroup: convert device_cgroup internally to policy + exceptions

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > The original model of device_cgroup is having a whitelist where all the > allowed devices are listed. The problem with this approach is that is > impossible to have the case of allowing everything but few devices. > > The reason for that lies in the wa

Re: [PATCH v2 2/6] device_cgroup: introduce dev_whitelist_clean()

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This function cleans all the items in a whitelist and will be used by the next > patches. > > v2: > - no changes > > Cc: Tejun Heo > Cc: Li Zefan > Cc: James Morris > Cc: Pavel Emelyanov > Cc: Serge Hallyn Acked-by: Serge Hallyn > Signed-off-b

Re: [PATCH v2 1/6] device_cgroup: add "behavior" in dev_cgroup structure

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > behavior will determine if the default policy is to deny all device access > unless for the ones in the exception list. > > This variable will be used in the next patches to convert device_cgroup > internally into a default policy + rules. > > v2: > -

Re: [PATCH v2] powerpc: fix personality handling in ppc64_personality()

2012-09-04 Thread Benjamin Herrenschmidt
On Thu, 2012-08-02 at 09:10 +0200, Jiri Kosina wrote: > Directly comparing current->personality against PER_LINUX32 doesn't work > in cases when any of the personality flags stored in the top three bytes > are used. > > Directly forcefully setting personality to PER_LINUX32 or PER_LINUX > discards

[PATCH] slab: fix the DEADLOCK issue on l3 alien lock

2012-09-04 Thread Michael Wang
From: Michael Wang DEADLOCK will be report while running a kernel with NUMA and LOCKDEP enabled, the process of this fake report is: kmem_cache_free()//free obj in cachep -> cache_free_alien() //acquire cachep's l3 alien lock -> __drain_alien_cache() -> f

Re: [PATCH V3 3/4] PCI: Add support for non-BAR ROMs

2012-09-04 Thread Matthew Garrett
On Tue, Sep 04, 2012 at 10:18:48PM -0400, Don Dutile wrote: > > /* > >+ * Some devices may provide ROMs via a source other than the BAR > >+ */ > >+if (pdev->rom&& pdev->romlen) { > >+*size = pdev->romlen; > >+return phys_to_virt((phys_addr_t)pdev->rom); >

RE: [PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:devel-boun...@linuxdriverproject.org] On Behalf Of KY > Srinivasan > Sent: Tuesday, September 04, 2012 8:29 PM > To: Greg KH > Cc: o...@aepfle.de; tho...@redhat.com; linux-kernel@vger.kernel.org; > d...@redhat.com; a...@canonical.com; de...@linux

[PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread K. Y. Srinivasan
To keep the KVP daemon code free of distro specific details, we invoke an external script to retrieve the DHCP state. This is an example script that was used to test the KVP code. This script has to be implemented in a Distro specific fashion. For instance on distros that ship with Network Manager

[PATCH] HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000

2012-09-04 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/hid/hid-lcpower.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-lcpower.c b/drivers/hid/hid-lcpower.c index c4fe9bd0..22bc14a 100644 --- a/drivers/hid/hid-lcpower.c +++ b/drivers/hid/hid-lcpower.c @@ -24,7 +24,7 @@ stati

Re: [PATCH V3 3/4] PCI: Add support for non-BAR ROMs

2012-09-04 Thread Don Dutile
On 08/23/2012 12:36 PM, Matthew Garrett wrote: Platforms may provide their own mechanisms for obtaining ROMs. Add support for using data provided by the platform in that case. Signed-off-by: Matthew Garrett --- drivers/pci/rom.c | 11 +-- include/linux/pci.h | 2 ++ 2 files change

Re: [PATCH] perf: allow user to indicate path to objdump in command line

2012-09-04 Thread Michael Ellerman
On Tue, 2012-09-04 at 10:05 -0600, David Ahern wrote: > On 9/4/12 4:32 AM, Maciek Borzecki wrote: > > When analyzing perf data from hosts of other architecture than one of the > > local > > host it's useful to call objdump that is part of a toolchain for that > > architecture. Instead of calling r

Re: [PATCH] clk: Make the generic clock API available by default

2012-09-04 Thread Benjamin Herrenschmidt
On Tue, 2012-08-28 at 13:35 -0700, Mark Brown wrote: > Rather than requiring platforms to select the generic clock API to make > it available make the API available as a user selectable option unless the > user either selects HAVE_CUSTOM_CLK (if they have their own implementation) > or selects COMM

linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/socket.c between commits f8a78429cc70 ("take descriptor handling from sock_alloc_file() to callers") and 32b529f92ea7 ("unexport sock_map_fd(), switch to sock_alloc_file()") from the vfs tree and commit 600e177920df ("net:

  1   2   3   4   5   6   7   >