[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: linux-o

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 bec

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 ar

[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 -

[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: linux-kernel@vger

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

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

[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 --- a/drivers/usb/

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) | > > > BitReverse(w89

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 ap

[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 --- dri

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 unsub

[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 a/include/linux/mfd/ari

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 @@ serial_omap_ba

[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 multi

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 bo

[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 e

[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 acr

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 a/d

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 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 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, > --- > drivers/iio/pres

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 + > drivers/iio/pr

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 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 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 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 eit

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 te

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 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 seri

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 that

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: > > > > http://marc.inf

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 factori

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: [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 Exy

[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| 1

[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 +++ b/arch/arm/boot/dt

[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 change

[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 +++ b/arch/arm/boot/dts/sun7i-a20.d

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 + sizeof(u6

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 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: isp

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 so,

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: 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 > +++ b/

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; > > T

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 Kisho

[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 me

[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 ++- drivers/media/platform/s5p-tv/mixer_grp_laye

[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 a/drivers/media/platform/s5p-tv/sdo_

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: > + -

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 a/arch/arm/boot/dts/exy

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 > +-- drivers/c

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 a

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 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 > > PAGE_SI

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 9

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 w

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 to

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: 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: [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() and

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() and

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 gener

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 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 f

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 Cls=ff(

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 write

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 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 r

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[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 automatic

[PATCH 12/12] p8022.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 automatic

[PATCH 02/12] ip*.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 automatic

[PATCH 11/12] netrom.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 automatic

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

2013-09-21 Thread Jonathan Cameron
On 09/19/13 07:24, Zubair Lutfullah wrote: > Previously the driver had only one-shot reading functionality. > This patch adds continuous sampling support to the driver. > > Continuous sampling starts when buffer is enabled. > HW IRQ wakes worker thread that pushes samples to userspace. > Sampling

[PATCH v4 0/3] ARM: S5PV210: move to common clk framework

2013-09-21 Thread Mateusz Krawczuk
This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is compatible with device tree definition and board files. This patch series is based on linux-next and has been tested on goni and aquila boards using board file. Since v3: Replace s5

[PATCH v4 3/3] ARM: s5pv210: Migrate clock handling to Common Clock Framework

2013-09-21 Thread Mateusz Krawczuk
This patch migrates the s5pv210 platform to use new clock driver using Common Clock Framework. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- arch/arm/mach-s5pv210/Kconfig | 9 + arch/arm/mach-s5pv210/Makefile| 4 ++-- arch/arm/mach-s5pv210/common.c

[PATCH v4 2/3] Cpufreq: s5pv210 cpufreq fixes for CCF

2013-09-21 Thread Mateusz Krawczuk
Use common clock framework api to get clock. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- drivers/cpufreq/s5pv210-cpufreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index

[PATCH v4 1/3] clk: samsung: Add clock driver for s5pc110/s5pv210

2013-09-21 Thread Mateusz Krawczuk
This patch adds new, Common Clock Framework-based clock driver for Samsung S5PV210 SoCs. The driver is just added, without enabling it yet. Signed-off-by: Mateusz Krawczuk Signed-off-by: Kyungmin Park --- .../bindings/clock/samsung,s5pv210-clock.txt | 75 +++ drivers/clk/samsung/Makefile

[PATCH] modpost: Optionally ignore secondary errors seen if a single module build fails

2013-09-21 Thread Guenter Roeck
Commit ea4054a23 (modpost: handle huge numbers of modules) added support for building a large number of modules. Unfortunately, the commit changed the semantics of the makefile: Instead of passing only existing object files to modpost, make now passes all expected object files. If make was started

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

2013-09-21 Thread David Miller
Series applied, thanks Joe. -- 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: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

2013-09-21 Thread Guenter Roeck
On 09/18/2013 09:21 AM, Eduardo Valentin wrote: This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present insid

Re: [PATCH 06/16] hwmon: tmp102: expose to thermal fw via DT nodes

2013-09-21 Thread Guenter Roeck
On 09/18/2013 09:23 AM, Eduardo Valentin wrote: This patch adds to tmp102 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present ins

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

2013-09-21 Thread Ken O'Brien
Adding generic rule on encountering Belkin bluetooth usb device F8065bf. 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 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=050d ProdID=065a Rev= 1.12 S: M

Re: [PATCH 0/4] ipc: shm and msg fixes

2013-09-21 Thread Davidlohr Bueso
Hi Eric, On Fri, 2013-09-20 at 14:08 -0400, Eric Paris wrote: > > > Note that Linus suggested a good alternative to patches 1 and 3: use > > > kfree_rcu() and delay the freeing of the security structure. I would > > > much prefer that approach to doing security checks with the lock held, > > > but

[PATCH v6] gpio: pcf857x: Add OF support

2013-09-21 Thread Laurent Pinchart
Add DT bindings for the pcf857x-compatible chips and parse the device tree node in the driver. Signed-off-by: Laurent Pinchart --- .../devicetree/bindings/gpio/gpio-pcf857x.txt | 71 ++ drivers/gpio/gpio-pcf857x.c| 44 +++--- 2 files chang

Re: [PATCH 1/1] tty: disassociate_ctty() sends the extra SIGCONT

2013-09-21 Thread Oleg Nesterov
Peter, sorry for delay, I was sick. On 09/17, Peter Hurley wrote: > > On 09/15/2013 11:50 AM, Oleg Nesterov wrote: > >> Put the "!on_exit" check back to restore the old behaviour. >> >> Cc: sta...@vger.kernel.org # v3.10+ >> Signed-off-by: Oleg Nesterov >> Reported-by: Karel Srot > > Reviewed-by

You Have Won

2013-09-21 Thread Andres Jacob
Immediately Email Mr. Adrian and Gillian Bayford for details -- 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

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

2013-09-21 Thread Frederic Weisbecker
2013/9/20 Linus Torvalds : > 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 because i

Re: [PATCH 0/4] ipc: shm and msg fixes

2013-09-21 Thread Linus Torvalds
On Sat, Sep 21, 2013 at 11:30 AM, Davidlohr Bueso wrote: > > IPC uses security_xxx_free() at two levels: for freeing the structure > (ie: shm_destroy()) and cleaning up upon error when creating the > structure (ie: newseg()). For both I believe we can actually use RCU. > What do you think of the b

  1   2   >