[PATCH 03/12] ipx.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 04/12] lapb.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 05/12] llc*.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 06/12] mrp.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 07/12] ndisc.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 10/12] netevent/netlink.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 09/12] iw_handler.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 08/12] net_namespace.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

[PATCH 01/12] inet*.h: Remove extern from function prototypes

2013-09-21 Thread Joe Perches
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare

Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread Russell King - ARM Linux
On Sun, Sep 22, 2013 at 12:49:45AM +0800, cinifr wrote: > Thanks. I have modify my patch as you said. > It is in attachments. Maybe I remail the new patch? Please don't attach patches (or if you do, ensure that they have an inline disposition) as non-inline attachments can't be easily quoted and

Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread cinifr
Thanks. I have modify my patch as you said. It is in attachments. Maybe I remail the new patch? 0001-Add-smp-support-for-Allwinner-A20-sunxi-7i.patch Description: Binary data

Re: [PATCH] hotplug: Optimize {get,put}_online_cpus()

2013-09-21 Thread Oleg Nesterov
Sorry for delay, I was sick... On 09/19, Peter Zijlstra wrote: > > I used a per-cpu spinlock to keep the state check and refcount inc > atomic vs the setting of state. I think this could be simpler, see below. > So the slow path is still per-cpu and mostly uncontended even in the > pending

Re: [PATCH] drivers: bluetooth: btusb: Added support for Belkin F8065bf usb bluetooth device

2013-09-21 Thread Marcel Holtmann
Hi Ken, > Adding generic rule for broadcom devices to generic usb bluetooth driver on > encountering another instance of Broadcom's BCM20702A0. > > Relevant section from /sys/kernel/debug/usb/devices: > > T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.00

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Borislav Petkov
On Sat, Sep 21, 2013 at 06:01:21PM +0200, Leif Lindholm wrote: > Correct. On arm64, EFI_PAGE_SIZE will be 4K, and PAGE_SIZE can be 4K > or 64K, with at least Fedora opting for 64K. Hm, ok, it looks like we want to keep EFI_PAGE_SIZE. Oh well. Thanks. -- Regards/Gruss, Boris. Sent from a

Re: i915 pipe A assertion failure (expected on, current off)

2013-09-21 Thread Ville Syrjälä
On Sat, Sep 21, 2013 at 05:48:42PM +0200, Daniel Vetter wrote: > On Sat, Sep 21, 2013 at 5:29 PM, Meelis Roos wrote: > >> Tried 3.11-rc7 on Thinkpad X30 (first 3-11-rc tried on this hw). Works > >> but i915 gives strange assertion failure with WARNING stack trace. This > >> is new since 3.10. > >

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Leif Lindholm
On Sat, Sep 21, 2013 at 05:50:39PM +0200, Borislav Petkov wrote: > > Ok, maybe the generic header include/linux/efi.h might be a problem but > > the rest are changes to arch/x86/ which should have no effect whatsoever > > on any other arch. > > > > Or are you planning to move some of it into

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Leif Lindholm
On Sat, Sep 21, 2013 at 05:41:43PM +0200, Borislav Petkov wrote: > On Sat, Sep 21, 2013 at 05:21:39PM +0200, Leif Lindholm wrote: > > > It will probably not be a problem on the stub side, and it's not used > > in many places but it would break efi_lookup_mapped_address(), > > efi_range_is_wc()

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Borislav Petkov
On Sat, Sep 21, 2013 at 05:41:43PM +0200, Borislav Petkov wrote: > On Sat, Sep 21, 2013 at 05:21:39PM +0200, Leif Lindholm wrote: > > > It will probably not be a problem on the stub side, and it's not used > > in many places but it would break efi_lookup_mapped_address(), > > efi_range_is_wc()

Re: i915 pipe A assertion failure (expected on, current off)

2013-09-21 Thread Daniel Vetter
On Sat, Sep 21, 2013 at 5:29 PM, Meelis Roos wrote: >> Tried 3.11-rc7 on Thinkpad X30 (first 3-11-rc tried on this hw). Works >> but i915 gives strange assertion failure with WARNING stack trace. This >> is new since 3.10. > > It is still there with 3.12-rc1 but now I git around to bisecting it.

Re: tracing: don't stuff stale pointers in filp->private_data

2013-09-21 Thread Steven Rostedt
Or make the assignment in an else block. -- Steve Al Viro wrote: >On Fri, Sep 20, 2013 at 12:47:32PM -0400, Dave Jones wrote: >> Probably harmless, but still not a nice thing to do. >> >> Signed-off-by: Dave Jones >> >> diff --git a/kernel/trace/trace_events.c >b/kernel/trace/trace_events.c

Re: [PATCH] x86 efi: bugfix interrupt disabling sequence

2013-09-21 Thread Matt Fleming
On Fri, 20 Sep, at 10:21:26PM, Bart Kuivenhoven wrote: > Well, isn't it so, that the kernel expects a setup in which interrupts > are disabled before the decompressed image is loaded? Yes, but I wasn't advocating leaving interrupts enabled, rather, because interrupts are disabled we don't need

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Borislav Petkov
On Sat, Sep 21, 2013 at 05:21:39PM +0200, Leif Lindholm wrote: > It will probably not be a problem on the stub side, and it's not used > in many places but it would break efi_lookup_mapped_address(), > efi_range_is_wc() and memrange_efi_to_native() for use by arm64. > At least the first of these

Re: i915 pipe A assertion failure (expected on, current off)

2013-09-21 Thread Meelis Roos
> Tried 3.11-rc7 on Thinkpad X30 (first 3-11-rc tried on this hw). Works > but i915 gives strange assertion failure with WARNING stack trace. This > is new since 3.10. It is still there with 3.12-rc1 but now I git around to bisecting it. This is the commit that introduces the warning. commit

Re: [PATCH 02/11] efi: Remove EFI_PAGE_SHIFT and EFI_PAGE_SIZE

2013-09-21 Thread Leif Lindholm
On Fri, Sep 20, 2013 at 11:42:49AM +0100, Matt Fleming wrote: > On Thu, 19 Sep, at 04:54:45PM, Borislav Petkov wrote: > > From: Borislav Petkov > > > > ... and use the good old standard defines which we all know. Also, > > simplify math to shift by PAGE_SHIFT instead of multiplying by > >

Re: [PATCH 3/6] clk: exynos5250: add clock ID for div_pcm0

2013-09-21 Thread Tomasz Figa
Hi Andrew, On Friday 20 of September 2013 14:13:54 Andrew Bresticker wrote: > There is no gate for the PCM clock input to the AudioSS block, so > the parent of sclk_pcm is div_pcm0. Add a clock ID for it so that > we can reference it in device trees. > > Signed-off-by: Andrew Bresticker > ---

Re: [PATCH 6/6] ARM: dts: exynos5420: add sclk_pcm_in to audss clock controller

2013-09-21 Thread Tomasz Figa
Hi Andrew, On Friday 20 of September 2013 14:13:57 Andrew Bresticker wrote: > The parent of sclk_pcm in the AudioSS block is sclk_maupcm0. > > Signed-off-by: Andrew Bresticker > --- > arch/arm/boot/dts/exynos5420.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 5/6] clk: exynos-audss: add support for Exynos 5420

2013-09-21 Thread Tomasz Figa
Hi Andrew, On Friday 20 of September 2013 14:13:56 Andrew Bresticker wrote: > The AudioSS block on Exynos 5420 has an additional clock gate for the > ADMA bus clock. > > Signed-off-by: Andrew Bresticker > --- > Documentation/devicetree/bindings/clock/clk-exynos-audss.txt | 7 > +--

Re: [PATCH 4/6] ARM: dts: exynos5250: add sclk_pcm_in to audss clock controller

2013-09-21 Thread Tomasz Figa
Hi Andrew, On Friday 20 of September 2013 14:13:55 Andrew Bresticker wrote: > The parent of sclk_pcm in the AudioSS block is div_pcm0. > > Signed-off-by: Andrew Bresticker > --- > arch/arm/boot/dts/exynos5250.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH 2/6] clk: exynos-audss: allow input clocks to be specified in device tree

2013-09-21 Thread Tomasz Figa
Hi Andrew, On Friday 20 of September 2013 14:13:53 Andrew Bresticker wrote: > This allows the input clocks to the Exynos AudioSS block to be > specified via device-tree bindings. Default names will be used > when an input clock is not given. [snip] > +Optional Properties: > + > +- clocks: > + -

[PATCH v5 3/4] media: s5p-tv: Fix sdo driver to work with CCF

2013-09-21 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park

[PATCH v5 4/4] media: s5p-tv: Fix mixer driver to work with CCF

2013-09-21 Thread Mateusz Krawczuk
Replace clk_enable by clock_enable_prepare and clk_disable with clk_disable_unprepare. Clock prepare is required by Clock Common Framework, and old clock driver didn`t support it. Without it Common Clock Framework prints a warning. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park

[PATCH v5 2/4] media: s5p-tv: Restore vpll clock rate

2013-09-21 Thread Mateusz Krawczuk
Restore vpll clock rate if start stream fail or stream is off. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-tv/sdo_drv.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git

[PATCH v5 1/4] media: s5p-tv: Replace mxr_ macro by default dev_

2013-09-21 Thread Mateusz Krawczuk
Replace mxr_dbg, mxr_info and mxr_warn by generic solution. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-tv/mixer.h | 12 --- drivers/media/platform/s5p-tv/mixer_drv.c | 47 ++-

[PATCH v5 0/4] media: s5p-tv: clean-up and fixes

2013-09-21 Thread Mateusz Krawczuk
This patch series add restoring previous vpll rate after driver offs stream or recives error. It also replace mxr_info, mxr_dbg, mxr_warn and mxr_err macro by generic solution. Mateusz Krawczuk (4): media: s5p-tv: Replace mxr_ macro by default dev_ media: s5p-tv: Restore vpll clock rate

Re: [PATCH V3] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-09-21 Thread Kishon Vijay Abraham I
Hi, On Thursday 12 September 2013 04:16 PM, Pratyush Anand wrote: > On Thu, Sep 12, 2013 at 03:48:03PM +0530, Pratyush Anand wrote: >> On Thu, Sep 12, 2013 at 06:07:23PM +0800, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Thursday 12 September 2013 03:22 PM, Pratyush Anand wrote: Hi

Re: [PATCH][RFC] Fix breakage in ffs_fs_mount()

2013-09-21 Thread Al Viro
On Sat, Sep 21, 2013 at 01:10:48AM +0200, Michal Nazarewicz wrote: > On Fri, Sep 20 2013, Al Viro wrote: > > There's a bunch of failure exits in ffs_fs_mount() with > > seriously broken recovery logics. Most of that appears to stem > > from misunderstanding of the ->kill_sb() semantics; > >

Re: tracing: don't stuff stale pointers in filp->private_data

2013-09-21 Thread Al Viro
On Fri, Sep 20, 2013 at 12:47:32PM -0400, Dave Jones wrote: > Probably harmless, but still not a nice thing to do. > > Signed-off-by: Dave Jones > > diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c > index 368a4d5..75d3556 100644 > --- a/kernel/trace/trace_events.c > +++

Re: [PATCH v2 0/9] wilink: add device tree support

2013-09-21 Thread Sebastian Reichel
On Sat, Sep 21, 2013 at 02:27:18PM +0200, Pavel Machek wrote: > Hi! > > > > > This is a follow-up on a previous patch set that had a smaller > > > > audience. This time, I added the lists and people who were involved > > > > in the review of the bindings documentation, since most of my changes >

Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread Maxime Ripard
Hi Fan, On Sat, Sep 21, 2013 at 09:05:14PM +0800, Fan Rong wrote: > Signed-off-by: Fan Rong I'd prefer a more verbose commit log here, and for the following patches as well. Usually, you detail what you're doing in the commit "title", and the rest of the commit log would be why you're doing

Re: [PATCH 0/4] Add support for charging battery in Nokia RX-51

2013-09-21 Thread Pali Rohár
On Sunday 08 September 2013 10:50:35 Pali Rohár wrote: > This patch series finally bringing support for charging > battery on Nokia N900 (RX-51) without any proprietary Nokia > bits in userspace. > > Pali Rohár (4): > usb: musb: Call atomic_notifier_call_chain when status is > changed power:

Re: [PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread Russell King - ARM Linux
On Sat, Sep 21, 2013 at 09:05:14PM +0800, Fan Rong wrote: > @@ -0,0 +1,12 @@ > +#include > +#include > + > +.section ".text.head", "ax" Please use a tab instead of 8 spaces. > + __CPUINIT __CPUINIT has been removed. > + > +ENTRY(sun7i_secondary_startup) > + msr cpsr_fsxc,

Re: [patch] perf: potential underflow in perf_sample_ustack_size()

2013-09-21 Thread Jiri Olsa
On Fri, Sep 20, 2013 at 02:37:36PM +0300, Dan Carpenter wrote: > The code here is trying to ensure that we don't have a > "header_size + stack_size" which is more than USHRT_MAX. I changed > the overflow check a little to make it more clear. > > My concern here is that if "header_size +

[PATCH 3/3] Add arch count timer node in dts for Allwinner A20(sunxi 7i).

2013-09-21 Thread Fan Rong
Signed-off-by: Fan Rong --- arch/arm/boot/dts/sun7i-a20.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index f745e0b..76b8c3f 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++

[PATCH 2/3] Add cpuconfig nodes in dts for smp configure.

2013-09-21 Thread Fan Rong
Signed-off-by: Fan Rong --- arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 999ff45..f745e0b 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++

[PATCH 1/3] Add smp support for Allwinner A20(sunxi 7i).

2013-09-21 Thread Fan Rong
Signed-off-by: Fan Rong --- arch/arm/mach-sunxi/Makefile | 2 + arch/arm/mach-sunxi/headsmp.S | 12 ++ arch/arm/mach-sunxi/platform.h | 347 + arch/arm/mach-sunxi/platsmp.c | 100 arch/arm/mach-sunxi/sunxi.c| 34 +++- 5 files

[PATCH 0/3]

2013-09-21 Thread Fan Rong
Fan Rong (3): Add smp support for Allwinner A20(sunxi 7i). Add cpuconfig nodes in dts for smp configure. Add arch count timer node in dts for Allwinner A20(sunxi 7i). arch/arm/boot/dts/sun7i-a20.dtsi | 19 ++- arch/arm/mach-sunxi/Makefile | 2 + arch/arm/mach-sunxi/headsmp.S|

Re: [PATCH 1/6] clk: exynos-audss: convert to platform device

2013-09-21 Thread Tomasz Figa
Hi Andrew, This patch looks good overall, but I have some minor comments inline. On Friday 20 of September 2013 14:13:52 Andrew Bresticker wrote: > The Exynos AudioSS clock controller will later be modified to allow > input clocks to be specified via device-tree in order to support > multiple

Re: [PATCH] perf tools: Use per-file CFLAGS in Makefile

2013-09-21 Thread Jiri Olsa
On Mon, Sep 16, 2013 at 11:11:16AM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > Some files need additional compiler flags to be built successfully. > Cleanup Makefile by using optional per-file CFLAGS which look like > CFLAGS_dir_filename.o I like it, but I'm getting following error:

Re: [RFC 1/5] gpiolib: factorize gpiod_get/set functions

2013-09-21 Thread Alexandre Courbot
On Fri, Sep 20, 2013 at 5:36 PM, Linus Walleij wrote: > On Wed, Sep 4, 2013 at 1:29 PM, Alexandre Courbot wrote: > >> gpiod_get/set functions share common code between their regular and >> cansleep variants. The exporting of the gpiod interface will make >> the situation worse. This patch

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-09-21 Thread Pavel Machek
Hi! > > > > > > --- /dev/null > > > > > > +++ b/arch/arm/mach-omap2/board-rx51-camera.c > > > > > > > > [...] > > > > > > > > > Ping, can you review this patch v2? > > > > > > > > I don't think Tony will accept any new board stuff for > > > > RX-51/N900. See for example: > > > >

Re: [RFC 0/5] New descriptor-based GPIO interface

2013-09-21 Thread Alexandre Courbot
On Sat, Sep 21, 2013 at 6:23 AM, Linus Walleij wrote: > On Fri, Sep 20, 2013 at 9:32 PM, Thierry Reding > wrote: > >> Given that it seems like there won't be a linux-next from September 28 >> until close to the next merge window, it would be good to get this into >> linux-next before that so

Re: [PATCH v2 0/9] wilink: add device tree support

2013-09-21 Thread Pavel Machek
Hi! > > > This is a follow-up on a previous patch set that had a smaller > > > audience. This time, I added the lists and people who were involved > > > in the review of the bindings documentation, since most of my changes > > > in v2 are coming from discussions there. > > > > > > This patch

Re: [PATCH 11/26] ARM: dove: remove custom .init_time hook

2013-09-21 Thread Andrew Lunn
On Wed, Sep 18, 2013 at 07:53:44PM +0200, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove custom .init_time hooks. While at it, also remove some obsolete > includes. > > Signed-off-by: Sebastian Hesselbarth > --- > Cc: Olof Johansson

Re: [PATCH 11/20] iio: sensors-core: st: Support sensors which don't have a Data Ready pin

2013-09-21 Thread Jonathan Cameron
On 09/21/13 13:51, Jonathan Cameron wrote: > On 09/16/13 17:02, Lee Jones wrote: >> Not all ST's sensors support data ready, so let's make the declaration >> of one conditional. >> >> Signed-off-by: Lee Jones > Applied to the togreg branch of iio.git > > Thanks Lee Having done some extra build

Re: [PATCH 16/20] iio: pressure-core: st: Provide support for the Vdd power supply

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > The power to some of the sensors are controlled by regulators. In most > cases these are 'always on', but if not they will fail to work until > the regulator is enabled using the relevant APIs. This patch allows for > the Vdd power supply to be specified by

Re: [PATCH 20/20] iio: magn-core: st: Clean up error handling in probe()

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Reduce the amount of those unnecessary goto calls, as in most cases > we can simply return immediately. We also only call for the IRQ number > once and use that value throughout. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks, >

Re: [PATCH 18/20] iio: accel-core: st: Clean up error handling in probe()

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Reduce the amount of those unnecessary goto calls, as in most cases > we can simply return immediately. We also only call for the IRQ number > once and use that value throughout. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks, >

Re: [PATCH 19/20] iio: gyro-core: st: Clean up error handling in probe()

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Reduce the amount of those unnecessary goto calls, as in most cases > we can simply return immediately. We also only call for the IRQ number > once and use that value throughout. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks, >

Re: [PATCH 15/20] iio: pressure: st: Add support for new LPS001WP pressure sensor

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Here we use existing practices to introduce support for another > pressure/temperature sensor, the LPS001WP. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks > --- > drivers/iio/pressure/st_pressure.h | 1 + >

Re: [PATCH 14/20] iio: pressure-core: st: Clean-up probe() function

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > This patch contains some pretty basic clean-ups in probe() pertaining to > the simplification of error handling and a couple of readability adaptions. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks Lee, > --- >

Re: [PATCH 11/20] iio: sensors-core: st: Support sensors which don't have a Data Ready pin

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Not all ST's sensors support data ready, so let's make the declaration > of one conditional. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks Lee > --- > drivers/iio/common/st_sensors/st_sensors_core.c | 33 >

Re: [PATCH 12/20] iio: sensors-core: st: Clean-up error handling in st_sensors_init_sensor()

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Strip out all those unnecessary gotos and just return the error right away. > > Aids to simplicity and reduces code. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks > --- > drivers/iio/common/st_sensors/st_sensors_core.c | 9

Re: [PATCH 13/20] iio: sensors-core: st: Clean-up error handling in st_sensors_read_axis_data()

2013-09-21 Thread Jonathan Cameron
On 09/16/13 17:02, Lee Jones wrote: > Gets rid of those unnecessary gotos. > > Signed-off-by: Lee Jones Applied to the togreg branch of iio.git Thanks Lee. > --- > drivers/iio/common/st_sensors/st_sensors_core.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git

[PATCH -v2] EFI: Runtime services virtual mapping

2013-09-21 Thread Borislav Petkov
On Thu, Sep 19, 2013 at 04:54:54PM +0200, Borislav Petkov wrote: > From: Borislav Petkov > > We map the EFI regions needed for runtime services contiguously on > virtual addresses starting from -4G down for a total max space of 64G. > This way, we provide for stable runtime services addresses

[PATCH] fs/cachefiles/daemon.c: remove the checking about "unsigned value whether less than zero".

2013-09-21 Thread Chen Gang
'datalen', 'fstop', and 'bstop' are all unsigned type which is never less than zero. Although they can not cause real issue, it is still better to remove them. The related warning (allmodconfig for S5PV210, with "EXTRA_CFLAGS=-W"): fs/cachefiles/daemon.c:225:2: warning: comparison of unsigned

Re: [PATCH v2] iio: ti_am335x_adc: Take touchscreen steps into account for conversion timeout

2013-09-21 Thread Jonathan Cameron
On 09/16/13 22:17, Matthias Kaehlcke wrote: > The calculation of the old conversion timeout value was based on the number of > steps used by this driver. This doesn't take into account that other steps > can be used by the touchscreen driver. Select the timeout value based on the > steps used by

[PATCH V2] USB: EHCI: make ehci-w90X900 a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the W90X900(W90P910) on-chip host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before W90X900(W90P910) can be booted with a

Re: [PATCH] OMAP/serial: Fix division by zero exception on 3M+ baud rates

2013-09-21 Thread Russell King - ARM Linux
On Sat, Sep 21, 2013 at 03:43:44AM -0400, Alexey Pelykh wrote: > diff --git a/drivers/tty/serial/omap-serial.c > b/drivers/tty/serial/omap-serial.c > index 816d1a2..808a880 100644 > --- a/drivers/tty/serial/omap-serial.c > +++ b/drivers/tty/serial/omap-serial.c > @@ -240,8 +240,8 @@

[PATCH] mfd: arizona: Correct register definition for FLL2_SYNC_BW

2013-09-21 Thread Charles Keepax
We had specified the mask twice for FLL2_SYNC_BW change the first mask definition in a bit definition to match the other fields. Signed-off-by: Charles Keepax --- include/linux/mfd/arizona/registers.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: Dont-Auto-Build

2013-09-21 Thread Borislav Petkov
On Sat, Sep 21, 2013 at 04:27:10PM +0800, Fengguang Wu wrote: > If you name the branch *-experimental, it will be skipped by the > robot. Cool, that's exactly what I was looking for :). Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To

[RFC] PWM: Add support for pwm-bcm2835

2013-09-21 Thread Johannes Thumshirn
Add support for the PWM controller of the BCM2835 SoC found on Raspberry PI The driver isn't as much tested as I wanted it to be and devicetree support is still missing, but I thought it would be nice to have some comments if I'm in the right direction. Signed-off-by: Johannes Thumshirn ---

Re: [PATCH V11 0/3] iio: input: ti_am335x_adc: Add continuous sampling support

2013-09-21 Thread Jonathan Cameron
Hi Zubair, Thanks for persevering with this patch set. Now this gets to be the example for dealing with hardware buffer equipped devices ;) Applied to the togreg branch of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git On 09/19/13 07:24, Zubair Lutfullah wrote: > Hi, > > These

Re: [PATCH v2 15/24] Staging: winbond: reg: seventh of the patches that fixes lines over 80 characters

2013-09-21 Thread Dan Carpenter
On Fri, Sep 20, 2013 at 04:45:08PM +0200, Iker Pedrosa wrote: > On Tue, 17 Sep 2013 12:43:26 +0300 > Dan Carpenter wrote: > > > On Tue, Sep 17, 2013 at 02:29:22PM +0530, Adil Mujeeb wrote: > > > Hi, > > > > > > > > > >- PowerData = (1 << 31) | (0 << 30) | (24 << 24) | > > >

[PATCH] usb: gadget: mv_u3d_core: fix memory leaks

2013-09-21 Thread Valentin Ilie
When trb_hw is NULL, trb should be free'd before return. Signed-off-by: Valentin Ilie --- drivers/usb/gadget/mv_u3d_core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c index 561b30e..4d31177 100644 ---

Re: Dont-Auto-Build

2013-09-21 Thread Fengguang Wu
Hi Borislav, On Fri, Sep 20, 2013 at 04:36:59PM +0200, Borislav Petkov wrote: > Hey Fengguang, > > do you still grep for "Dont-Auto-Build" in all the commit messages of a > branch which is not supposed to be tested? Yes. > Or can I tag the branch name to make it more explicit for everyone? If

Re: [PATCH v6] fat: additions to support fat_fallocate

2013-09-21 Thread OGAWA Hirofumi
Namjae Jeon writes: Entirely, we would have to consider in the case of write fail (e.g. -ENOSPC). If write failed, it will call truncate(). Then, it can be truncate the fallocate region too unexpectedly. > + if (!create) { > + /* > + * to map

[PATCH] OMAP/serial: Fix Mode13 vs Mode16 priority

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh Make Mode16 more preferred than Mode13, to match TRM baudrates table. Signed-off-by: Alexey Pelykh Cc: Tony Lindgren Cc: Felipe Balbi Cc: Greg KH Cc: linux-ser...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-o...@vger.kernel.org Cc:

[PATCH] OMAP/serial: Fix misnamed variable

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh Fix misnamed variable to eliminate confusion. Signed-off-by: Alexey Pelykh Cc: Tony Lindgren Cc: Felipe Balbi Cc: Greg KH Cc: linux-ser...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- diff

Re: [PATCH] x86 efi: bugfix interrupt disabling sequence

2013-09-21 Thread Ingo Molnar
* Bart Kuivenhoven wrote: > On Fri, 2013-09-20 at 16:28 +0100, Matt Fleming wrote: > > On Wed, 18 Sep, at 07:28:53PM, Bart Kuivenhoven wrote: > > > The problem in efi_main was that the idt was cleared before the > > > interrupts were disabled. > > > > > > The UEFI spec states that interrupts

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Ingo Molnar
* Linus Torvalds wrote: > On Fri, Sep 20, 2013 at 9:26 AM, Frederic Weisbecker > wrote: > > > > Now just for clarity, what do we then do with inline sofirq > > executions: on local_bh_enable() for example, or explicit calls to > > do_softirq() other than irq exit? > > If we do a softirq

[PATCH] OMAP/serial: Fix division by zero exception on 3M+ baud rates

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh Fixes issue with division-by-zero exception, that occurred when a baud rate higher than 3Mbaud was requested. Signed-off-by: Alexey Pelykh Cc: Tony Lindgren Cc: Felipe Balbi Cc: Greg KH Cc: linux-ser...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Stephane Eranian
On Tue, Sep 10, 2013 at 4:06 AM, Michael Ellerman wrote: > > On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: > > This patchset is the re-spin of the original branch stack sampling > > patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset > > also enables SW

Input: 8042 - only one i8042_filter

2013-09-21 Thread Andrey Moiseev
Is it ok that in /drivers/input/serio/i8042.c it's allowed to install only one i8042_filter? Theoretically, there may be several different devices that need their drivers to install i8042_filter, to eat out some device-specific subset of scancodes. Shouldn't that single pointer to the i8042_filter

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Anshuman Khandual
On 09/21/2013 12:11 PM, Anshuman Khandual wrote: > On 08/30/2013 05:18 PM, Stephane Eranian wrote: >> 2013/8/30 Anshuman Khandual This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Anshuman Khandual
On 08/30/2013 05:18 PM, Stephane Eranian wrote: > 2013/8/30 Anshuman Khandual >> > >> > This patchset is the re-spin of the original branch stack sampling >> > patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset >> > also enables SW based branch filtering support

Самое комфортабельное белье

2013-09-21 Thread darci . garcon
Вы синьора, какая обожествляет комфорт? http://m00.me/jnv3 N▀╖╡ФЛr╦⌡yЗХ  ьb╡X╛╤г╖vь^√)ч╨{.nг+┴╥╔┼{╠▒ЙГzX╖╤⌡║э╗}╘·╡ф═zз:+v┴╗╬╚▒ЙГzZ+─й+zfё╒╥h  ┬╖~├╜├шiЪШЮz╧╝w╔╒╦?≥╗Х╜з&╒)ъ╒f■Ы^jг╚y╖m┘А@A╚a╤зЪ 0╤Лh╝Е▓i

Самое комфортабельное белье

2013-09-21 Thread darci . garcon
Вы синьора, какая обожествляет комфорт? http://m00.me/jnv3 N▀╖╡ФЛr╦⌡yЗХ  ьb╡X╛╤г╖vь^√)ч╨{.nг+┴╥╔┼{╠▒ЙГzX╖╤⌡║э╗}╘·╡ф═zзj:+v┴╗╬╚▒ЙГzZ+─й+zfё╒╥h  ┬╖~├╜├шiЪШЮz╧╝w╔╒╦?≥╗Х╜з╒)ъ╒f■Ы^jг╚y╖m┘А@A╚a╤зЪ 0╤Лh╝Е▓i

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Anshuman Khandual
On 08/30/2013 05:18 PM, Stephane Eranian wrote: 2013/8/30 Anshuman Khandual khand...@linux.vnet.ibm.com This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset also enables SW based branch

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Anshuman Khandual
On 09/21/2013 12:11 PM, Anshuman Khandual wrote: On 08/30/2013 05:18 PM, Stephane Eranian wrote: 2013/8/30 Anshuman Khandual khand...@linux.vnet.ibm.com This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND filter.

Input: 8042 - only one i8042_filter

2013-09-21 Thread Andrey Moiseev
Is it ok that in /drivers/input/serio/i8042.c it's allowed to install only one i8042_filter? Theoretically, there may be several different devices that need their drivers to install i8042_filter, to eat out some device-specific subset of scancodes. Shouldn't that single pointer to the i8042_filter

Re: [PATCH V2 0/6] perf: New conditional branch filter

2013-09-21 Thread Stephane Eranian
On Tue, Sep 10, 2013 at 4:06 AM, Michael Ellerman mich...@ellerman.id.au wrote: On Fri, 2013-08-30 at 09:54 +0530, Anshuman Khandual wrote: This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND filter. This patchset

[PATCH] OMAP/serial: Fix division by zero exception on 3M+ baud rates

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh alexey.pel...@gmail.com Fixes issue with division-by-zero exception, that occurred when a baud rate higher than 3Mbaud was requested. Signed-off-by: Alexey Pelykh alexey.pel...@gmail.com Cc: Tony Lindgren t...@atomide.com Cc: Felipe Balbi ba...@ti.com Cc: Greg KH

Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix

2013-09-21 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Sep 20, 2013 at 9:26 AM, Frederic Weisbecker fweis...@gmail.com wrote: Now just for clarity, what do we then do with inline sofirq executions: on local_bh_enable() for example, or explicit calls to do_softirq() other than

Re: [PATCH] x86 efi: bugfix interrupt disabling sequence

2013-09-21 Thread Ingo Molnar
* Bart Kuivenhoven b...@redhat.com wrote: On Fri, 2013-09-20 at 16:28 +0100, Matt Fleming wrote: On Wed, 18 Sep, at 07:28:53PM, Bart Kuivenhoven wrote: The problem in efi_main was that the idt was cleared before the interrupts were disabled. The UEFI spec states that interrupts

[PATCH] OMAP/serial: Fix misnamed variable

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh alexey.pel...@gmail.com Fix misnamed variable to eliminate confusion. Signed-off-by: Alexey Pelykh alexey.pel...@gmail.com Cc: Tony Lindgren t...@atomide.com Cc: Felipe Balbi ba...@ti.com Cc: Greg KH gre...@linuxfoundation.org Cc: linux-ser...@vger.kernel.org Cc:

[PATCH] OMAP/serial: Fix Mode13 vs Mode16 priority

2013-09-21 Thread Alexey Pelykh
From: Alexey Pelykh alexey.pel...@gmail.com Make Mode16 more preferred than Mode13, to match TRM baudrates table. Signed-off-by: Alexey Pelykh alexey.pel...@gmail.com Cc: Tony Lindgren t...@atomide.com Cc: Felipe Balbi ba...@ti.com Cc: Greg KH gre...@linuxfoundation.org Cc:

Re: [PATCH v6] fat: additions to support fat_fallocate

2013-09-21 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: Entirely, we would have to consider in the case of write fail (e.g. -ENOSPC). If write failed, it will call truncate(). Then, it can be truncate the fallocate region too unexpectedly. + if (!create) { + /* +

Re: Dont-Auto-Build

2013-09-21 Thread Fengguang Wu
Hi Borislav, On Fri, Sep 20, 2013 at 04:36:59PM +0200, Borislav Petkov wrote: Hey Fengguang, do you still grep for Dont-Auto-Build in all the commit messages of a branch which is not supposed to be tested? Yes. Or can I tag the branch name to make it more explicit for everyone? If you

[PATCH] usb: gadget: mv_u3d_core: fix memory leaks

2013-09-21 Thread Valentin Ilie
When trb_hw is NULL, trb should be free'd before return. Signed-off-by: Valentin Ilie valentin.i...@gmail.com --- drivers/usb/gadget/mv_u3d_core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c index 561b30e..4d31177

Re: [PATCH v2 15/24] Staging: winbond: reg: seventh of the patches that fixes lines over 80 characters

2013-09-21 Thread Dan Carpenter
On Fri, Sep 20, 2013 at 04:45:08PM +0200, Iker Pedrosa wrote: On Tue, 17 Sep 2013 12:43:26 +0300 Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Sep 17, 2013 at 02:29:22PM +0530, Adil Mujeeb wrote: Hi, - PowerData = (1 31) | (0 30) | (24 24) |

<    1   2   3   4   >