[PATCH 1/1] openrisc: remove CONFIG_SYMBOL_PREFIX

2013-02-06 Thread James Hogan
Remove the SYMBOL_PREFIX Kconfig symbol as it's empty anyway. Signed-off-by: James Hogan Cc: Jonas Bonn Cc: li...@lists.openrisc.net Cc: Mike Frysinger --- arch/openrisc/Kconfig |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/openrisc/Kconfig

[PATCH v2 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-02-06 Thread James Hogan
On architectures which have symbol prefixes, depmod emits lots of warnings like this: WARNING: $module.ko needs unknown symbol $symbol This is because depmod isn't being passed the -P arguments to specify the symbol prefix to ignore. This option is included since the 3.13 release of

selinux_msg_queue_msgrcv() oops

2013-02-06 Thread Tommi Rantala
Hello, I'm hitting an oops in selinux_msg_queue_msgrcv() when fuzzing with Trinity as the root user (in a qemu VM): [12578.053111] BUG: unable to handle kernel NULL pointer dereference at (null) [12578.054025] IP: [] selinux_msg_queue_msgrcv+0xda/0x1e0 [12578.054025] PGD 29961067 PUD

Re: [PATCH v2 linux-next 2/2] cpufreq: Convert the cpufreq_driver_lock to use the rcu

2013-02-06 Thread Rafael J. Wysocki
On Wednesday, February 06, 2013 02:21:11 PM Viresh Kumar wrote: > On 6 February 2013 08:22, Viresh Kumar wrote: > > On 6 February 2013 07:34, Nathan Zimmer wrote: > >> In general rwlocks are discourged so we are moving it to use the rcu > >> instead. > >> > >> Cc: Viresh Kumar > >> Cc: "Rafael

Re: [PATCH] rtc: Modify leap year test for more simpler way

2013-02-06 Thread jonghwa3 . lee
On 2013년 02월 06일 20:42, Venu Byravarasu wrote: > By definition, leap year is one, which is a divisible by 4 & 400, excluding > multiples of 100s. > Hence I feel this patch is not correct. No, I think you might misunderstood the it's meaning. The former code checks whether if it is multiple of 4

Re: [PATCH] cpufreq: ondemand: Replace down_differential tuner with adj_up_threshold

2013-02-06 Thread Rafael J. Wysocki
On Wednesday, February 06, 2013 11:05:45 AM Viresh Kumar wrote: > On Wed, Feb 6, 2013 at 2:34 AM, Stratos Karafotis > wrote: > > In order to avoid the calculation of up_threshold - down_differential > > every time that the frequency must be decreased, we replace the > > down_differential tuner

Re: [PATCH 2/2] perf scripts: Fix rwtop record script

2013-02-06 Thread Jiri Olsa
On Tue, Feb 05, 2013 at 09:15:20AM -0700, David Ahern wrote: > On 2/5/13 9:05 AM, Jiri Olsa wrote: > >Adding -D option into the rwtop record command line, to get > >immediate response when there's event in the buffer. > > Seems like this will dramatically increase CPU usage of perf-record > as

[PATCH RESEND 1/1] Drivers: scsi: storvsc: Initialize the sglist

2013-02-06 Thread K. Y. Srinivasan
Properly initialize scatterlist before using it. Signed-off-by: K. Y. Srinivasan Cc: sta...@vger.kernel.org --- drivers/scsi/storvsc_drv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 270b3cf..5ada1d0

Re: [PATCH] rtc: Modify leap year test for more simpler way

2013-02-06 Thread jonghwa3 . lee
On 2013년 02월 06일 20:42, Venu Byravarasu wrote: > By definition, leap year is one, which is a divisible by 4 & 400, excluding > multiples of 100s. > Hence I feel this patch is not correct. No, I think you might misunderstood the it's meaning. The former code checks whether if it is multiple of 4

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-06 Thread Lars Poeschel
Hi Matt! At first thanks for you efforts on DMA Engine on AM33XX. On Friday 01 February 2013 at 22:01:17, Matt Porter wrote: > This series adds DT DMA Engine Client support to the omap_hsmmc. > It leverages the generic DMA OF helpers in -next and the > dma_request_slave_channel_compat() wrapper

[PATCH 3/3] stop_machine: wake up stopper thread lazily

2013-02-06 Thread Hillf Danton
Ring no bell if the stopper thread is busy in handling enqueued works. Signed-off-by: Hillf Danton --- --- a/kernel/stop_machine.c Wed Feb 6 20:05:44 2013 +++ b/kernel/stop_machine.c Wed Feb 6 20:06:56 2013 @@ -72,8 +72,10 @@ static void cpu_stop_queue_work(struct c

[PATCH 2/3] stop_machine: dequeue work before signal completion

2013-02-06 Thread Hillf Danton
As handled by the kernel thread, work is dequeued first for further actions. Signed-off-by: Hillf Danton --- --- a/kernel/stop_machine.c Wed Feb 6 19:57:12 2013 +++ b/kernel/stop_machine.c Wed Feb 6 20:02:12 2013 @@ -334,23 +334,24 @@ static int __cpuinit cpu_stop_cpu_callba #ifdef

[PATCH 1/3] stop_machine: check work->done while handling enqueued works

2013-02-06 Thread Hillf Danton
To advoid invalid reference, updating work result is moved to cpu_stop_signal_done(). Signed-off-by: Hillf Danton --- --- a/kernel/stop_machine.c Wed Feb 6 19:50:56 2013 +++ b/kernel/stop_machine.c Wed Feb 6 19:54:34 2013 @@ -51,9 +51,11 @@ static void cpu_stop_init_done(struct cp }

Re: [PATCH v5 01/10] clk: tegra: Refactor PLL programming code

2013-02-06 Thread Peter De Schrijver
On Tue, Feb 05, 2013 at 02:23:55PM +0100, Peter De Schrijver wrote: > On Tue, Feb 05, 2013 at 06:42:11AM +0100, Prashant Gaikwad wrote: > > On Monday 04 February 2013 08:02 PM, Peter De Schrijver wrote: > > > On Mon, Feb 04, 2013 at 07:06:47AM +0100, Prashant Gaikwad wrote: > > >> On Friday 01

Re: [PATCH] clk: tegra: initialise parent of uart clocks

2013-02-06 Thread Peter De Schrijver
On Wed, Feb 06, 2013 at 11:47:41AM +0100, Laxman Dewangan wrote: > Initialise the parent of UARTs to PLLP and disabling clock by > default. > I wonder if we should move the parent definitions to DT at some point. Cheers, Peter. -- To unsubscribe from this list: send the line "unsubscribe

Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-06 Thread Joerg Roedel
On Tue, Feb 05, 2013 at 06:57:21AM -0700, Shuah Khan wrote: > Thanks much. I will hang on to this test system for testing your fix. Okay, here is the simple fix for v3.8-rc6. I guess it is not straighforward to port it to v3.4, but it should be doable. >From

Re: 3.8-rc1 patch_cirrus 4.0 regression...

2013-02-06 Thread David Henningsson
On 02/06/2013 08:05 AM, Takashi Iwai wrote: At Wed, 6 Feb 2013 08:47:41 +0800, Daniel J Blueman wrote: To be sure, could you try again 3.8-rc6 without reversing patches, adjust "Speaker" and "Bass Speaker" volumes properly, and retest? If it still doesn't work, please take alsa-info.sh

[char-misc-next 3/6] mei: separate compilation of the ME hardware specifics

2013-02-06 Thread Tomas Winkler
We add struct mei_hw_ops to virtualize access to hw specific configurations. This allows us to separate the compilation of the ME interface from the ME hardware specifics Signed-off-by: Tomas Winkler --- drivers/misc/mei/Kconfig | 17 - drivers/misc/mei/Makefile|6 +-

[char-misc-next 2/6] mei: initial extract of ME hw specifics from mei_device

2013-02-06 Thread Tomas Winkler
This is initial step of move the ME hw specifics out of mei_device structure into mei_me_hw Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 131 +--- drivers/misc/mei/hw-me.h | 12 drivers/misc/mei/init.c| 28 +-

[char-misc-next 4/6] mei: move interrupt handlers to be me hw specific

2013-02-06 Thread Tomas Winkler
interrupt handler are platform specifics so we move them to hw-mei.c. For sake of that we need to export write, read, and complete handlers from the interrupt.c Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 164 +++--

[char-misc-next 5/6] mei: rename to mei_host_buffer_is_empty to hbuf_is_ready

2013-02-06 Thread Tomas Winkler
we rename the mei_host_buffer_is_empty to keep naming convention of hbuf and also make the query more generic to be correct also for other under laying hardware Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c |8 drivers/misc/mei/client.c | 13 ++---

[char-misc-next 1/6] mei: sperate interface and pci code into two files

2013-02-06 Thread Tomas Winkler
leave misc file operations in the main and move PCI related code into pci-me Signed-off-by: Tomas Winkler --- drivers/misc/mei/Makefile |1 + drivers/misc/mei/main.c| 354 ++-- drivers/misc/mei/mei_dev.h |3 + drivers/misc/mei/pci-me.c | 393

[char-misc-next 0/6] MEI and ME separation

2013-02-06 Thread Tomas Winkler
We are about to introduce new under laying hardware that supports MEI interface. For that purpose we split the driver into interface hand hardware specific layers Tomas Winkler (6): mei: sperate interface and pci code into two files mei: initial extract of ME hw specifics from mei_device

[char-misc-next 6/6] mei: move clients cleanup code from init.c to client.c

2013-02-06 Thread Tomas Winkler
during reset we clean up client data structures we move that code into wrappers in client and call the wrappers Signed-off-by: Tomas Winkler --- drivers/misc/mei/client.c | 51 + drivers/misc/mei/client.h |5 drivers/misc/mei/init.c |

Re: clock_nanosleep() task_struct leak

2013-02-06 Thread Tommi Rantala
2013/2/6 Stanislaw Gruszka : > Below is proposed fix. Error cases wasn't that bad since there are > various limitations when timer could be fired (i.e. timer which > already fired can not be fired again). > > Tommi, please check if patch really fixes the problem. I tested it > with signal

Re: [PATCH V2] i2c: davinci: update to devm_* API

2013-02-06 Thread Sergei Shtylyov
Hello. On 06-02-2013 15:22, Vishwanathrao Badarkhe, Manish wrote: Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Vishwanathrao Badarkhe, Manish --- Changes since V1: - Rebase on top of v3.8-rc6 of linus tree. - Apply devm operation on

[PATCH] crypto: caam - set RDB bit in security configuration register

2013-02-06 Thread Vakul Garg
This change is required for post SEC-5.0 devices which have RNG4. Setting RDB in security configuration register allows CAAM to use the "Random Data Buffer" to be filled by a single request. The Random Data Buffer is large enough for ten packets to get their IVs from a single request. If the

Re: [GIT PULL rcu/next] RCU commits for 3.9

2013-02-06 Thread Ingo Molnar
btw., I got a non-trivial conflicts in kernel/context_tracking.c, with the following commits interacting between the RCU tree (tip:core/rcu) and the scheduler tree (tip:sched/core): 6a61671bb2f3 cputime: Safely read cputime of full dynticks CPUs abf917cd91cb cputime: Generic on-demand

Re: [GIT PULL rcu/next] RCU commits for 3.9

2013-02-06 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Mon, Feb 04, 2013 at 12:25:23PM -0800, Paul E. McKenney wrote: > > On Mon, Feb 04, 2013 at 08:30:41PM +0100, Ingo Molnar wrote: > > > > > > Btw., I'm now getting these build errors in -tip too: > > > > > > kernel/built-in.o: In function `rcu_torture_reader': >

RE: [PATCH] rtc: Modify leap year test for more simpler way

2013-02-06 Thread Venu Byravarasu
By definition, leap year is one, which is a divisible by 4 & 400, excluding multiples of 100s. Hence I feel this patch is not correct. Thanks, Venu > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jonghwa Lee >

Re: [PATCH 02/13] workqueue: fix work_busy()

2013-02-06 Thread Lai Jiangshan
On Wed, Feb 6, 2013 at 2:53 AM, Tejun Heo wrote: > Hello, > > On Tue, Feb 05, 2013 at 08:06:54PM +0800, Lai Jiangshan wrote: >> >>@@ -3453,15 +3451,13 @@ unsigned int work_busy(struct work_struct *work) >> >> { >> >>struct worker_pool *pool = get_work_pool(work); >> >>unsigned long

Re: [PATCH 3/5] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-02-06 Thread Russell King - ARM Linux
On Wed, Feb 06, 2013 at 01:22:31PM +0200, Felipe Balbi wrote: > there's a little more to it. When running allmodconfig, > CONFIG_ARCH_MULTIPLATFORM is set but none of the other ARCHes > (ARCH_OMAP, ARCH_AT91, ARCH_VERSATILE, etc) are set, so it turned out > that the driver wasn't even included on

RE: [PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-02-06 Thread Philip, Avinash
On Sat, Feb 02, 2013 at 03:35:10, Tony Lindgren wrote: > * Philip Avinash [130123 01:28]: > > With recent GPMC driver conversion, usage of gpmc_save/restore_context > > can done from gpmc driver itself. Hence removes the usage from pm34xx.c. > > Also removes the conditional compilation primitives

Re: [PATCH 03/13] workqueue: don't set work cwq until we queued it on pool

2013-02-06 Thread Lai Jiangshan
On Wed, Feb 6, 2013 at 12:45 AM, Tejun Heo wrote: > Hey, Lai. > > On Tue, Feb 05, 2013 at 11:00:42PM +0800, Lai Jiangshan wrote: >> The @cpu can be WORK_CPU_UNBOUND, and the current code will delay >> to determine on which cpu should this work be queued until timeout, >> I didn't want to change

Re: [PATCH] rwsem: steal writing sem for better performance

2013-02-06 Thread Ingo Molnar
* Alex Shi wrote: > On 02/05/2013 10:58 PM, Ingo Molnar wrote: > > > > * Alex Shi wrote: > > > >> Commit 5a50508 change to rwsem from mutex, that cause aim7 > >> fork_test dropped 50%. Yuanhan liu does a good analysis, > >> find it caused by strict sequential writing. Ingo suggest > >>

[PATCH] watchdog: davinci_wdt: use devm managed clk get

2013-02-06 Thread Mrugesh Katepallewar
Get the clock using devm_clk_get(). Signed-off-by: Mrugesh Katepallewar --- Apply on top of v3.8-rc6 of linus tree. :100644 100644 e8e8724... c3c2f820.. M drivers/watchdog/davinci_wdt.c drivers/watchdog/davinci_wdt.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: clock_nanosleep() task_struct leak

2013-02-06 Thread Stanislaw Gruszka
On Tue, Feb 05, 2013 at 11:55:19AM +0100, Thomas Gleixner wrote: > On Tue, 5 Feb 2013, Stanislaw Gruszka wrote: > > On Mon, Feb 04, 2013 at 08:32:23PM +0100, Oleg Nesterov wrote: > > > On 02/01, Thomas Gleixner wrote: > > > > > > > > B1;2601;0cOn Fri, 1 Feb 2013, Tommi Rantala wrote: > > > > > > >

[PATCH] rtc: max8997: Add driver for max8997 rtc.

2013-02-06 Thread Jonghwa Lee
This patch adds rtc driver for Maxim 8997 multifunction chip. Max8997 has rtc module in it. and it can be used for timekeeping clock and system alarm. It provide various operational mode those are BCD/binary, 24/12hour, am/pm. Driver sets binary/24/ for default. Maxim 8997 also supports

[PATCH] rtc: Modify leap year test for more simpler way

2013-02-06 Thread Jonghwa Lee
Leap year which is multiple of 4, just needed 2 LSB for verifying. A year with zero for all thease two bits means that it is leap year. Signed-off-by: Jonghwa Lee --- include/linux/rtc.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rtc.h

[PATCH] rtc: core: Prevent repeated calling of alarm_irq_enable().

2013-02-06 Thread Jonghwa Lee
This patch removes repeated execution of disabling alarm in rtc_alarm_irq_enable() of rtc core interface. It made useless call even all alarm had been disabled from rtc_timer_remove(). We'd better to skip disabling alarm when timer queue is empty. Signed-off-by: Jonghwa Lee ---

Re: [PATCH 3/5] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-02-06 Thread Felipe Balbi
Hi again, On Wed, Feb 06, 2013 at 01:03:55PM +0200, Felipe Balbi wrote: > Hi, > > On Wed, Feb 06, 2013 at 10:57:13AM +, Russell King - ARM Linux wrote: > > On Wed, Feb 06, 2013 at 11:28:11AM +0530, Kishon Vijay Abraham I wrote: > > > Added has_mailbox to the musb platform data to specify

[PATCH v3] rtc: max77686: Add driver for max77686 rtc.

2013-02-06 Thread Jonghwa Lee
This patch adds rtc driver for Maxim 77686 multifunction chip. Max77686 has rtc module in it. and it can be used for timekeeping clock and system alarm. It provide various operational mode those are BCD/binary, 24/12hour, am/pm. Driver sets binary/24/ for default. Maxim 8997 also supports

[PATCH V2] i2c: davinci: update to devm_* API

2013-02-06 Thread Vishwanathrao Badarkhe, Manish
Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Vishwanathrao Badarkhe, Manish --- Changes since V1: - Rebase on top of v3.8-rc6 of linus tree. - Apply devm operation on clk_get. :100644 100644 6a0a553... da4e218... M

RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-02-06 Thread Patil, Rachna
Hi Koen, > > > > > Since AM335x is DT only, why is there a platform data codepath and why > > > > is it the first branch it tries? And I guess the next question is > > > > related to the first: why doesn't it work when used with DT? When I > > > > copy over the nodes from the evm.dts to my

Re: [PATCH 1/6] kvm tools: Return error status in lkvm list

2013-02-06 Thread Pekka Enberg
Applied all patches, thanks a lot Michael! -- 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.tux.org/lkml/

Re: [PATCH 4/7] x86, UV: UV3 Update x2apic Support

2013-02-06 Thread Ingo Molnar
* Mike Travis wrote: > This patch add support for the SGI UV3 hub to the > common x2apic functions. > > Signed-off-by: Mike Travis > Acked-by: Russ Anderson > Reviewed-by: Dimitri Sivanich > Cc: Alexander Gordeev > Cc: Suresh Siddha > Cc: Michael S. Tsirkin > Cc: Steffen

[PATCH 03/49] regulator: ab8500: Fix for regulator_set_mode functionality

2013-02-06 Thread Lee Jones
From: Bengt Jonsson Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones Reviewed-by: Mattias WALLIN Reviewed-by: Emeric VIGIER Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500.c | 78 1 file changed, 42 insertions(+), 36 deletions(-)

[PATCH 08/49] regulator: ab8500: Add support of low voltage battery

2013-02-06 Thread Lee Jones
Low voltage batteries have a wider voltage range with lower operating voltages. Some consumers in the platform may not work with the lower voltages and therefore need an extra regulator to boost the voltage in this case. This driver adds support for checking the consumers that need higher voltage

[PATCH 06/49] regulator: ab8500: Another push to synchronise recent AB8500 developments

2013-02-06 Thread Lee Jones
This patch ensures that many of the recent developments pertaining to the AB8500 regulator device are propagated out into the public arena. It aims to update some of the existing initialisation values in accordance with internal ST-Ericsson code submissions. This single patch was originally a

[PATCH 04/49] regulator: ab8500: Added get_optimum_mode on regulators with idle mode

2013-02-06 Thread Lee Jones
From: Bengt Jonsson With this change, Vtvout, Vintcore12, Vaux1, 2 and 3 regulators support DRMS (Dynamic Regulator Mode Switching) which will dynamically handle requests for max current consumption from several consumers and select a suitable regulator mode. Signed-off-by: Bengt Jonsson

[PATCH 10/49] regulator: ab8500-ext: Cosmetic changes

2013-02-06 Thread Lee Jones
Variable is renamed in driver. Some comments are added. Signed-off-by: Lee Jones --- drivers/regulator/ab8500-ext.c | 22 +++--- include/linux/regulator/ab8500.h |2 ++ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/regulator/ab8500-ext.c

[PATCH 02/49] regulator: ab8500: Add set_mode/get_mode support

2013-02-06 Thread Lee Jones
From: Emeric Vigier Signed-off-by: Ludovic Barré Signed-off-by: Emeric Vigier Signed-off-by: Lee Jones Reviewed-by: Bengt JONSSON --- drivers/regulator/ab8500.c | 71 1 file changed, 71 insertions(+) diff --git a/drivers/regulator/ab8500.c

[PATCH 09/49] ARM: ux500: Update displays in vaux1 consumer list

2013-02-06 Thread Lee Jones
Add 3 more specific consumers pertaining to the displays found on the u8500 and ST User Interface Boards (UIBs). Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH 11/49] regulator: ab8500-ext: Add HW request support

2013-02-06 Thread Lee Jones
From: Bengt Jonsson Support for HW request is added in the external regulator driver. A flag in the board configuration can be set to let HW control the regulator when there is no SW request. This means that the regulator will be put in high power mode when there is a SW request and in

[PATCH 07/49] regulator: ab8500: Separate regulator and MFD platform data

2013-02-06 Thread Lee Jones
From: Bengt Jonsson The ab8500 MFD should not have knowledge about regulator- specific platform data like number of regulators and regulator registers. As the regulator platform data is about to grow with external regulators, this information is moved to a new structure provided by the regulator

[PATCH 16/49] ARM: ux500: Add supply for the Proximity and Hal sensor

2013-02-06 Thread Lee Jones
This patch lists the Proximity and Hal sensors as a consumer of the AB8500 VAUX1 regulator. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

[PATCH 15/49] ARM: ux500: Add supply for the L3G4200D Gyroscope

2013-02-06 Thread Lee Jones
This patch lists the L3G4200D Gyroscope as a consumer of the AB8500 VAUX1 regulator. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

Re: [PATCH v2 0/9] Support of Nexio 42" and new default class for hid-multitouch

2013-02-06 Thread Benjamin Tissoires
On Tue, Feb 5, 2013 at 12:13 PM, Jiri Kosina wrote: > On Mon, 4 Feb 2013, Henrik Rydberg wrote: > >> > Thanks for the review. However, before sending a new patch series, I'd >> > like to have your answers to my comments as I mostly disagree on >> > everything :) >> >> With good reason,

[PATCH 18/49] ARM: ux500: Add supply for the Pressure sensor

2013-02-06 Thread Lee Jones
This patch lists the Pressure sensor as a consumer of the AB8500 VAUX1 regulator. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

Re: [PATCH 3/5] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-02-06 Thread Felipe Balbi
Hi, On Wed, Feb 06, 2013 at 10:57:13AM +, Russell King - ARM Linux wrote: > On Wed, Feb 06, 2013 at 11:28:11AM +0530, Kishon Vijay Abraham I wrote: > > Added has_mailbox to the musb platform data to specify that omap uses > > an external mailbox (in control module) to communicate with the

[PATCH 14/49] regulator: ab8500: Init debug from regulator driver

2013-02-06 Thread Lee Jones
The purpose of this patch is to guarantee that ab8500-debug will record the regulator registers before they are modified by the ab8500 regulator driver. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 10 ++ include/linux/regulator/ab8500.h | 14 ++ 2

[PATCH 19/49] ARM: ux500: Add supply for the Cypress TrueTouch Touchscreen

2013-02-06 Thread Lee Jones
This patch lists the Cypress TrueTouch Touchscreen as a consumer of the AB8500 VAUX1 regulator. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

[PATCH 23/49] regulator: ab8500: Add support for the ab9540

2013-02-06 Thread Lee Jones
To obtain full AB9540 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

[PATCH 24/49] regulator: ab8500: Correct TVOUT regulator start-up delay

2013-02-06 Thread Lee Jones
From: Jonas Aaberg Update TVOUT regulator to match specification. (Was 10ms, changed to 500us.) Signed-off-by: Jonas Aaberg Signed-off-by: Lee Jones Reviewed-by: Bengt JONSSON --- drivers/regulator/ab8500.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 26/49] ARM: ux500: Partially revert changes surrounding audio regulators

2013-02-06 Thread Lee Jones
From: Philippe Langlais Signed-off-by: Philippe Langlais Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

[PATCH 05/49] ARM: ux500: regulators: Add mask for configuration

2013-02-06 Thread Lee Jones
There is already before a register mask in the regulator driver to allow some bits of a register to be initialized. The register value is defined in the board configuration. This patch puts a mask in the board configuration to specify which bits should actually be altered. The purpose with this

[PATCH 27/49] regulator: ab8500: add support for ab8505

2013-02-06 Thread Lee Jones
To obtain full AB8505 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

Re: [PATCH 06/62] block: fix synchronization and limit check in blk_alloc_devt()

2013-02-06 Thread Jens Axboe
On Sat, Feb 02 2013, Tejun Heo wrote: > idr allocation in blk_alloc_devt() wasn't synchronized against lookup > and removal, and its limit check was off by one - 1 << MINORBITS is > the number of minors allowed, not the maximum allowed minor. > > Add locking and rename MAX_EXT_DEVT to NR_EXT_DEVT

[PATCH 20/49] ARM: ux500: regulators: List the MMIO camera as a consumer of VAUX1

2013-02-06 Thread Lee Jones
The MMIO camera uses the VAUX1 as it's voltage supply. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index

[PATCH 29/49] regulator: ab8500-ext: Add support for AB9540 regulators

2013-02-06 Thread Lee Jones
From: Michel JAOUEN Add the support for ab9540 external regulators. Signed-off-by: Michel JAOUEN Signed-off-by: Lee Jones Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500-ext.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCH 22/49] regulator: ab8500: Prepare the driver for additional platforms

2013-02-06 Thread Lee Jones
More platforms are to be supported by the AB8500 regulator driver, so in this patch we prepare for their arrival. Instead of using the AB8500 settings blindly, we provide an infrastructure where adding a new platform is as easy as providing a couple of platform specific data structures.

[PATCH 31/49] regulator: ab8500: Update voltage handling for fixed voltage regulators

2013-02-06 Thread Lee Jones
There are a few over-lapping methods for voltage selection operating in the AB8500 regulator driver currently. This patch removes unused, unnecessary variables from the regulator_info structures and provides voltage tables for those regulators which have fixed voltages. Signed-off-by: Lee Jones

[PATCH 13/49] regulator: ab8500: Remove USB regulator

2013-02-06 Thread Lee Jones
From: Bengt Jonsson The USB regulator is controlled by hardware. The software support was only needed for early hardware (ED) which is no longer supported. Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 20

[PATCH 28/49] ARM: ux500: regulator: Use device IDs instead of device names

2013-02-06 Thread Lee Jones
Remove device name from sensor platform data and change regulator names according to device name. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 35/49] regulator: ab8500: Correct regulator id values

2013-02-06 Thread Lee Jones
The regulator id in the regulator info array should be the same values as the position of the element within the array. This patch fixes the mismatches. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 62 ++-- 1 file changed, 31 insertions(+),

[PATCH 37/49] regulator: ab8500: Add voltage selection for AUDIO and ANA on AB8505

2013-02-06 Thread Lee Jones
Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 55 +++- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 20c3270..9643bcc 100644 --- a/drivers/regulator/ab8500.c +++

[PATCH 36/49] regulator: ab8500: Don't register external regulators on AB8505

2013-02-06 Thread Lee Jones
From: Rabin Vincent ExtSupply regulators are not included on AB8505 based platforms. Signed-off-by: Rabin Vincent Signed-off-by: Lee Jones Tested-by: Marcus COOPER --- drivers/regulator/ab8500.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[PATCH 38/49] regulator: ab8500: Also check for AB8505 based platforms

2013-02-06 Thread Lee Jones
From: "xiaomei.zhang" Ensure we initialise AB8505 external supply regulators. Signed-off-by: Alexandre Torgue Signed-off-by: Lee Jones Reviewed-by: Philippe LANGLAIS Tested-by: Xiao Mei ZHANG --- drivers/regulator/ab8500-ext.c |2 +- drivers/regulator/ab8500.c |3 +++ 2 files

Re: [PATCH 3/5] ARM: OMAP2: MUSB: Specify omap4 has mailbox

2013-02-06 Thread Russell King - ARM Linux
On Wed, Feb 06, 2013 at 11:28:11AM +0530, Kishon Vijay Abraham I wrote: > Added has_mailbox to the musb platform data to specify that omap uses > an external mailbox (in control module) to communicate with the musb > core during device connect and disconnect. So, I've been through your five

[PATCH 32/49] regulator: ab8500: Delete useless fixed_uV field

2013-02-06 Thread Lee Jones
From: Mustapha Ben Zoubeir The fixed_uV property residing in ab8500_ext_regulator_info is currently unused. We remove it here. Signed-off-by: Mustapha Ben Zoubeir Signed-off-by: Lee Jones Reviewed-by: Daniel WILLERUD Reviewed-by: Mattias WALLIN Tested-by: Philippe LANGLAIS ---

[PATCH 21/49] regulator: ab8500: Clean out SoC registers

2013-02-06 Thread Lee Jones
Clean out initialisation that is handled by SoC. Regulator settings for Vpll (partly), Vsmps1, Vsmps2, Vsmps3 (partly), Vrf1, Varm, Vape, Vbb, Vmod are cleaned out. They should not be touched by the kernel. We also update many of the initialisation values to be more in-line with the current

[PATCH 17/49] ARM: ux500: Add supply for the Ambient light sensor device

2013-02-06 Thread Lee Jones
This patch lists the Ambient light sensor device as a consumer of the AB8500 VAUX1 regulator. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c

[PATCH 40/49] regulator: ab8500: Default value on LDO USB to HP

2013-02-06 Thread Lee Jones
From: Mattias Wallin This patch change the default value on LDO USB to High Power since this is the normal execution mode. Signed-off-by: Mattias Wallin Signed-off-by: Lee Jones Reviewed-by: Marcus COOPER Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500.c |2 +- 1 file changed, 1

[PATCH 39/49] regulator: ab8500: Add new operations for Vaux3

2013-02-06 Thread Lee Jones
From: "xiaomei.zhang" In former functions, only can set Vaux3 to 2.91V, because the highest bit of Vaux3 register is put into another register. So add new expanded functions for Vaux3's operation. Signed-off-by: zhang xiaomei Signed-off-by: Lee Jones Reviewed-by: Philippe LANGLAIS ---

Re: [PATCH 4/5] perf, x86: Support full width counting

2013-02-06 Thread Stephane Eranian
On Wed, Feb 6, 2013 at 1:27 AM, Andi Kleen wrote: > Here's an updated patch. I'm not reposting the full series. > Also cut down on cc to spare the innocents. > > --- > > perf, x86: Support full width counting v2 > > Recent Intel CPUs like Haswell and IvyBridge have a new alternative MSR > range

[PATCH 41/49] regulator: ab8500: Add mode operation for v-amic

2013-02-06 Thread Lee Jones
v-amic1 and v-amic2 regulators have dedicated mode registers and share the same mode bit. This patch adds special handling for those regulators. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c | 10 +- drivers/regulator/ab8500.c| 178

[PATCH 43/49] regulator: ab8500-ext: Adapt regulator registration for newly changed API

2013-02-06 Thread Lee Jones
From: Gabriel Fernandez Instead of using a long list of arguments for registering a new regulator, the API has changed to accommodate a new structure which is to contain the necessary runtime configuration. This patch allows the external regulator to follow suit and continue to successfully

[PATCH 42/49] regulator: ab8500: Update vdmic, vamic[1|2] parameters for AB8540

2013-02-06 Thread Lee Jones
Add voltage setting for vdmic; add LP mode setting for vamic1,2. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 45 +++- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c

[PATCH 25/49] regulator: ab8500-ext: Add support for AB8505/AB9540

2013-02-06 Thread Lee Jones
From: Bengt Jonsson The external regulator driver checks for old AB8500 HW to apply a fix. This patch adds a check to see that it is a AB8500 (not AB8505/AB9540). Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones --- drivers/regulator/ab8500-ext.c |2 +- 1 file changed, 1

[PATCH 44/49] regulator: ab8500: Use a struct to select the good regulator configuration

2013-02-06 Thread Lee Jones
At the probe use a structure to select the good regulator array from from ab9540, ab8505, ab8540 or ab8500 configuration. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 135 +--- 1 file changed, 64 insertions(+), 71 deletions(-) diff --git

[PATCH 47/49] regulator: ab8500: Remove the need for a 'delay' property

2013-02-06 Thread Lee Jones
The regulator framework now has provisions to read a regulator's start-up time via the 'enable_time' attribute. So let's remove all 'enable_time'/'delay' duplication and just stick with 'enable_time' from now on. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c |8 +--- 1 file

[PATCH 48/49] regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages

2013-02-06 Thread Lee Jones
The regulator framework offers a generic regulator_list_voltage_table() function which can directly look-up a regulator's voltage capabilities using a table provided through the desc structure. This patch ensures that information is available. Signed-off-by: Lee Jones ---

[PATCH 45/49] regulator: ab8500: Introduce aux5, aux6 regulators for AB8540

2013-02-06 Thread Lee Jones
From: Zhenhua HUANG Introduce aux5, aux6 into ab8540 regulator framework. Signed-off-by: Zhenhua HUANG Signed-off-by: Lee Jones Reviewed-by: Maxime COQUELIN Reviewed-by: David PARIS Reviewed-by: Philippe LANGLAIS --- drivers/regulator/ab8500.c | 65

[PATCH 49/49] ARM: ux500: Pass regulator platform data using the new format

2013-02-06 Thread Lee Jones
Regulator platform data is now passed though a single structure as opposed to the old way where four separate struct elements were required. This patch makes use of the new format. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c |5 + include/linux/mfd/abx500/ab8500.h |

[PATCH 46/49] regulator: ab8500: Set enable enable_time in regulator_desc

2013-02-06 Thread Lee Jones
Allow the regulator framework to directly access the time it takes any given regulator to settle. This saves time and code because without it we would have to implement a dedication function to read the value from elsewhere. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c |3 +++ 1

[PATCH 33/49] regulator: ab8500: Use regulator_list_voltage_table()

2013-02-06 Thread Lee Jones
Following a recent move to regulator_list_voltage_table() for all previous abx500 related platforms this converts all recent platform updates over too. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 61 +++- 1 file changed, 21 insertions(+),

[PATCH 30/49] regulator: ab8500: Add support for the ab8540

2013-02-06 Thread Lee Jones
To obtain full AB8540 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

[PATCH 34/49] regulator: ab8500: Fix vsdio parameters for AB8540 based platforms

2013-02-06 Thread Lee Jones
From: Zhenhua HUANG Fix the parameters for vsdio in idle mode and normal mode. Signed-off-by: Zhenhua HUANG Signed-off-by: Lee Jones Reviewed-by: Maxime COQUELIN Reviewed-by: Xiao Mei ZHANG Reviewed-by: Rabin VINCENT --- drivers/regulator/ab8500.c |4 ++-- 1 file changed, 2

[PATCH 01/49] regulator: ab8500: Further populate initialisation registers

2013-02-06 Thread Lee Jones
This patch supplies access to some extra settings provided by the AB8500 regulator device. We also update some of the existing initialisation values in accordance with internal ST-Ericsson code submissions. This single patch was originally a collection of updates which have been squashed together

[PATCH 12/49] regulator: ab8500-ext: Add suspend support

2013-02-06 Thread Lee Jones
From: Bengt Jonsson Operations regulator_suspend_enable and regulator_suspend_disable are added. Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones Reviewed-by: Mattias NILSSON Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500-ext.c | 16 1 file changed, 16

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