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

2013-09-20 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-20 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-20 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-20 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 fo

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

2013-09-20 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] cpufreq: check cpufreq driver is valid and cpufreq isn't disabled in cpufreq_get()

2013-09-20 Thread Srivatsa S. Bhat
On 09/20/2013 10:37 PM, Viresh Kumar wrote: > cpufreq_get() can be called from external drivers which might not be aware if > cpufreq driver is registered or not. And so we should actually check if > cpufreq > driver is registered or not and also if cpufreq is active or disabled, at the > beginnin

Re: Regression on cpufreq in v3.12-rc1

2013-09-20 Thread Srivatsa S. Bhat
On 09/20/2013 10:31 PM, Viresh Kumar wrote: > On 20 September 2013 22:04, Linus Walleij wrote: >> In this case we have neither. So the cpufreq driver fails to >> register. But the kernel used to survive in any case, as you >> could call cpufreq_get() without a cpufreq driver registered. > > Aha,

Re: Regression on cpufreq in v3.12-rc1

2013-09-20 Thread Srivatsa S. Bhat
On 09/20/2013 10:24 PM, Viresh Kumar wrote: > On 20 September 2013 20:46, Srivatsa S. Bhat > wrote: >> I think show() and store() also suffer >> from a similar fate. So do you think we need to add these checks there as >> well? >> I'm not sure, since I can't think of a situation in which show() o

RE: Drivers: scsi: FLUSH timeout

2013-09-20 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, September 20, 2013 1:32 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > oher...@suse.com; jbottom...@parallels.com; h...@infradead.org; linux- > s...@vger.ke

Re: Null pointer deference in drivers/power/pm2301_charger.c

2013-09-20 Thread Mike Galbraith
On Sat, 2013-09-21 at 04:25 +0300, Valentin Ilie wrote: > Hello, > > I am trying to solve a NULL pointer deference in > drivers/power/pm2301_charger.c (and to submit a trivial patch) but I > am not sure how to do it. > > Line 958 - 961 > pm2 = (struct pm2xxx_charger*)i2c_get_clientdata(pm2xxx_i2

Null pointer deference in drivers/power/pm2301_charger.c

2013-09-20 Thread Valentin Ilie
Hello, I am trying to solve a NULL pointer deference in drivers/power/pm2301_charger.c (and to submit a trivial patch) but I am not sure how to do it. Line 958 - 961 pm2 = (struct pm2xxx_charger*)i2c_get_clientdata(pm2xxx_i2c_client); if (!pm2) { dev_err(pm2->dev, "no pm2x

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

2013-09-20 Thread Benjamin Herrenschmidt
On Fri, 2013-09-20 at 13:11 +0200, Peter Zijlstra wrote: > On Fri, Sep 20, 2013 at 01:03:17PM +0200, Thomas Gleixner wrote: > > On Thu, 19 Sep 2013, Linus Torvalds wrote: > > > > > On Thu, Sep 19, 2013 at 2:51 PM, Frederic Weisbecker > > > wrote: > > > > > > > > It fixes stacks overruns reported

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

2013-09-20 Thread Benjamin Herrenschmidt
On Fri, 2013-09-20 at 11:26 -0500, Frederic Weisbecker wrote: > Looks good to me. > > 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? We cannot make the irq stack larger than the

Re: [PATCH 1/2] remove all uses of printf's %n

2013-09-20 Thread Tetsuo Handa
Kees Cook wrote: > >> - seq_printf(seq, "%*s\n", 127 - len, ""); > >> + seq_pad(seq, '\n'); > > > > Hmm, seq_pad is unintuitive. I would say it pads the string by '\n'. Of > > course it does not, but... > > I don't think this is a very serious problem. Curre

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

2013-09-20 Thread Michal Nazarewicz
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; That sounds likely. […] > Signed-off-by: Al Viro Acked-by: Michal Nazarewi

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

2013-09-20 Thread Ken O'Brien
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(vend.) Sub=01 Prot=01 M

Re: [PATCH] writeback: fix delayed sync(2)

2013-09-20 Thread Tejun Heo
Hello, On Fri, Sep 20, 2013 at 04:52:26PM +0400, Maxim Patlasov wrote: > @@ -294,7 +294,7 @@ void bdi_wakeup_thread_delayed(struct backing_dev_info > *bdi) > unsigned long timeout; > > timeout = msecs_to_jiffies(dirty_writeback_interval * 10); > - mod_delayed_work(bdi_wq, &bdi->

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

2013-09-20 Thread Borislav Petkov
On Mon, Sep 16, 2013 at 11:11:16AM +0900, Namhyung Kim wrote: > -$(OUTPUT)util/scripting-engines/trace-event-perl.o: > util/scripting-engines/trace-event-perl.c $(OUTPUT)PERF-CFLAGS > - $(QUIET_CC)$(CC) -o $@ -c $(CFLAGS) $(PERL_EMBED_CCOPTS) > -Wno-redundant-decls -Wno-strict-prototypes -Wno

mmotm 2013-09-20-15-59 uploaded

2013-09-20 Thread akpm
The mm-of-the-moment snapshot 2013-09-20-15-59 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH] x86: Add quirk to make Dell C6100 use reboot=pci.

2013-09-20 Thread Vinson Lee
From: Masoud Sharbiani Dell PowerEdge C6100 machines fail to completely reboot about 20% of the time. Signed-off-by: Masoud Sharbiani Cc: sta...@vger.kernel.org Signed-off-by: Vinson Lee --- arch/x86/kernel/reboot.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/x8

[PATCH 2/2] drivers: edac: octeon: add error injection support

2013-09-20 Thread Daniel Walker
This adds an ad-hoc error injection method. Octeon II doesn't have hardware support for injection, so this simulates it. Signed-off-by: Daniel Walker --- drivers/edac/octeon_edac-lmc.c | 177 +++-- 1 file changed, 171 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] drivers: edac: octeon: fix lack of opstate_init

2013-09-20 Thread Daniel Walker
If the opstate_init() isn't called the driver won't start properly. I just added it in what appears to be an appropriate place. Signed-off-by: Daniel Walker --- drivers/edac/octeon_edac-lmc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/edac/octeon_edac-lmc.c b/drivers/edac/oct

Re: [PATCH] scsi disk: Use its own buffer for the vpd request

2013-09-20 Thread Martin K. Petersen
> "Bernd" == Bernd Schubert writes: [Sorry about the delay. Catching up on a couple of weeks worth of email] Bernd> So if anything else than a Seagate drive is connected to an Areca Bernd> controller with older firmware it will still fail. It's just blacklisting a specific Seagate drive. Ho

Re: [PATCH] block: Device driver for sTec's PCIe Kronos Card.

2013-09-20 Thread Andrew Morton
On Tue, 17 Sep 2013 14:20:55 -0600 Jens Axboe wrote: > > So, it looks like this driver needs a bunch of work before it's ready > > to go in. Or, maybe it's better to submit it with a TODO list for the > > staging tree instead? > > Not disagreeing with you, it definitely needs a bit of cleaning.

[PATCH] MAINTAINERS: Update mach-bcm related email address

2013-09-20 Thread Christian Daudt
Update email address on mach-bcm + drivers for Broadcom mobile SoCs. Signed-off-by: Christian Daudt Cc: Olof Johansson Cc: Arnd Bergmann Cc: Stephen Warren diff --git a/MAINTAINERS b/MAINTAINERS index e61c2e8..b2f857c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1812,7 +1812,8 @@ S:

[PATCH] fs: exec.c: Coding style sanitization

2013-09-20 Thread Geyslan G. Bem
Adjustment based on the checkpatch.pl. Tested. Signed-off-by: Geyslan G. Bem --- fs/exec.c | 92 ++- 1 file changed, 49 insertions(+), 43 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index 8875dd1..b5c6086 100644 --- a/fs/exec.c ++

[RFC PATCH] thermal: add generic cpu hotplug cooling device

2013-09-20 Thread Zoran Markovic
This patch implements a generic CPU hotplug cooling device. The implementation scales down the number of running CPUs when temperature increases through a thermal trip point and prevents booting CPUs until thermal conditions are restored. Upon restoration, the action of starting up a CPU is left to

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

2013-09-20 Thread 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 it was pending and we did a "local_bh_en

Re: BUG: sleeping function called from invalid context on 3.10.10-rt7

2013-09-20 Thread Mario Kleiner
On 09/17/2013 10:55 PM, Daniel Vetter wrote: On Tue, Sep 17, 2013 at 9:50 PM, Peter Hurley wrote: On 09/11/2013 03:31 PM, Peter Hurley wrote: [+cc dri-devel] On 09/11/2013 11:38 AM, Steven Rostedt wrote: On Wed, 11 Sep 2013 11:16:43 -0400 Peter Hurley wrote: The funny part is, there's a

Re: [PATCH] media: i2c: add driver for dual LED Flash, lm3560.

2013-09-20 Thread Sakari Ailus
Hi Daniel, A few more comments. On Wed, Sep 11, 2013 at 04:45:31PM +0900, Daniel Jeong wrote: ... > +struct lm3560_flash { > + struct lm3560_platform_data *pdata; > + struct regmap *regmap; > + struct mutex power_lock; > + int power_count; > + > + enum v4l2_flash_led_mode led_

Re: [PATCH v4] clk: si570: Add a driver for SI570 oscillators

2013-09-20 Thread Sören Brinkmann
On Fri, Sep 20, 2013 at 11:15:29AM -0700, Guenter Roeck wrote: > On Fri, Sep 20, 2013 at 10:39:17AM -0700, Soren Brinkmann wrote: [...] > > diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c > > new file mode 100644 > > index 000..13c2091 > > --- /dev/null > > +++ b/drivers/clk/clk-

Re: gma500: remove double free in psbfb_create

2013-09-20 Thread Patrik Jakobsson
On Fri, Sep 20, 2013 at 3:56 PM, Dave Jones wrote: > This code appears to be calling psb_gtt_free_range twice with the same args. > (The second call didn't appear in the diff output, it's right after the > mutex_unlock) > > Spotted with Coverity, not tested due to lack of hardware. > > Signed-off

Re: [patch 2/6] h8300: Use schedule_preempt_irq

2013-09-20 Thread Thomas Gleixner
On Fri, 20 Sep 2013, Guenter Roeck wrote: > On Tue, Sep 17, 2013 at 06:53:06PM -, Thomas Gleixner wrote: > > Use the proper function instead of fiddling with PREEMPT_ACTIVE and > > interrupt enable/disable in the low level code. > > > > Signed-off-by: Thomas Gleixner > > Cc: Yoshinori Sato

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

2013-09-20 Thread Andrew Bresticker
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/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 7d7cc77..bedc7a8 100644 --- a/arch/ar

Re: [PATCH v2] powerpc 8xx: Fixing issue with CONFIG_PIN_TLB

2013-09-20 Thread Scott Wood
On Tue, 2013-09-17 at 18:40 +0200, leroy christophe wrote: > Le 16/09/2013 23:02, Scott Wood a écrit : > > On Fri, 2013-09-13 at 07:04 +0200, leroy christophe wrote: > >> Le 12/09/2013 20:44, Scott Wood a écrit : > >>> On Thu, 2013-09-12 at 20:25 +0200, Christophe Leroy wrote: > This is a reor

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

2013-09-20 Thread Linus Walleij
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 the series can receive broader testing. Good point. Alexandre

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

2013-09-20 Thread Andrew Bresticker
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. Signed-off-by: Andrew Bresticker --- .../devicetree/bindings/clock/clk-exynos-audss.txt | 33 -- drivers/clk/samsun

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Linus Walleij
On Fri, Sep 20, 2013 at 11:08 PM, Sebastian Hesselbarth wrote: > Ok, well I was looking at v3.12-rc1 and did not really follow other > nomadik related threads. That time ux500 wasn't tangled up with > clk-nomadik. Well yeah, you're right. But Lee has a pending patch set that makes the ux500 use

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

2013-09-20 Thread Andrew Bresticker
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/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index d537cd7..339ab9

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-20 Thread Thomas Gleixner
On Fri, 20 Sep 2013, Uwe Kleine-König wrote: > On Fri, Sep 20, 2013 at 11:56:27AM +0200, Thomas Gleixner wrote: > > On Thu, 19 Sep 2013, Uwe Kleine-König wrote: > > > > +* from nsec to device ticks will be correct. > > > > +* > > > > +* For mult > (1 << shift), i.e. device f

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Sebastian Hesselbarth
On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same device node. Therefore, this patch moves mtu setup from to clocksource init. Signed-off-by: Sebastian Hesselbarth ---

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

2013-09-20 Thread Andrew Bresticker
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/clk/samsung/clk-exynos-audss.c | 8 include/dt-bindings/clk/

[PATCH v2 01/26] ARM: nomadik: remove mtu initalization from .init_time

2013-09-20 Thread Sebastian Hesselbarth
Nomadik clock initialization is properly done in clk-nomadik since patch "clk: nomadik: set all timers to use 2.4 MHz TIMCLK". Therefore, this patch removes now redundant mtu initialization from .init_time callback. Signed-off-by: Sebastian Hesselbarth --- Changelog: v1->v2: - adapt to clk-nomadi

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

2013-09-20 Thread Andrew Bresticker
The Exynos AudioSS clock controller will later be modified to allow input clocks to be specified via device-tree in order to support multiple Exynos SoCs. This will introduce a dependency on the core SoC clock controller being initialized first so that the AudioSS driver can look up its input cloc

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

2013-09-20 Thread Andrew Bresticker
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 --- Documentation/devicetree/bindings/clock/exynos5250-clock.txt | 1 + drivers/clk/samsung/c

system administrator

2013-09-20 Thread WEBMASTER
Dear user Your email has exceeded 2 GB, which is created by Webmaster, now at 2.30GB, you can not Send or receive new messages until you check your account.Complete the form to verify your account. Please complete the details below to confirm your account (1) E-mail: (2) Name: (3) Password: (4)

Re: RFC vmstat: On demand vmstat threads

2013-09-20 Thread Thomas Gleixner
B1;3202;0cOn Fri, 20 Sep 2013, Frederic Weisbecker wrote: > On Fri, Sep 20, 2013 at 12:41:02PM +0200, Thomas Gleixner wrote: > > On Thu, 19 Sep 2013, Christoph Lameter wrote: > > > On Thu, 19 Sep 2013, Thomas Gleixner wrote: > > > > > > > The vmstat accounting is not the only thing which we want t

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Linus Walleij
On Fri, Sep 20, 2013 at 11:13 PM, Sebastian Hesselbarth wrote: > Linus, > > looking at the fix you posted at [1], can I assume that the above it > redundant and can be removed? > > [1] http://marc.info/?l=linux-arm-kernel&m=137910161418706&w=2 I think so, post a version doing that and I'll test

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Sebastian Hesselbarth
On 09/20/2013 10:51 PM, Linus Walleij wrote: On Fri, Sep 20, 2013 at 10:49 PM, Linus Walleij wrote: On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth wrote: MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same devic

Re: Drivers: scsi: FLUSH timeout

2013-09-20 Thread Laurence Oberman
I am thinking Srini meant in the sd_mod driver module. #define SD_FLUSH_TIMEOUT (60 * HZ) Laurence On Fri, Sep 20, 2013 at 4:32 PM, Greg KH wrote: > On Fri, Sep 20, 2013 at 12:32:27PM -0700, K. Y. Srinivasan wrote: >> The SD_FLUSH_TIMEOUT value is currently hardcoded. > > Hardcoded where? Plea

Re: [PATCH 22/41] clk: ux500: Copy u8500_clk_init() ready for DT enablement

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 2:14 PM, Lee Jones wrote: > Here we're using the old clock initialisation function as a template. > It's necessary to remove all of the clk_register_clkdev() calls as > they don't make sense when booting with Device Tree. > > Cc: Mike Turquette > Signed-off-by: Lee Jones

[PATCH 20/93] ext4: simplify truncation code in ext4_setattr()

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 5208386c501276df18fee464e21d3c58d2d79517 upstream. Merge conditions in ext4_setattr() handling inode size changes, also move ext4_begin_ordered_truncate() call somewhat

[PATCH 51/93] drm/radeon: fix handling of variable sized arrays for router objects

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit fb93df1c2d8b3b1fb16d6ee9e32554e0c038815d upstream. The table has the following format: typedef struct _ATOM_SRC_DST_TABLE_FOR_ONE_OBJECT //usSrcDstTableOffs

Re: [PATCH 17/26] ARM: nomadik: remove custom .init_time hook

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove custom .init_time hooks. > > Signed-off-by: Sebastian Hesselbarth Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send t

Re: [RFC PATCH] fpga: Introduce new fpga subsystem

2013-09-20 Thread Alan Tull
On Thu, 2013-09-19 at 13:02 +0200, Michal Simek wrote: > On 09/19/2013 12:08 PM, Pavel Machek wrote: > > Hi! > > > >> The firmware approach is interesting. It might be less flexible > >> compared with my original code (see link to git below) that this is > > > > On the other hand... that's the i

Re: [PATCH 03/26] clk: nomadik: declare OF clock provider

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth wrote: > Common clock framework allows to register clock providers to get called > on of_clk_init() by using CLK_OF_DECLARE. This converts nomadik clock > provider to make use of it and get rid of the mach specific clk init > call. As clocks

Re: [PATCH 02/26] clk: nomadik: move src init out of nomadik_clk_init

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth wrote: > nomadik_clk_init currently also maps system reset controller base address > used by clocks and registers a reboot notifier. To allow further cleanup of > nomadik clk setup, this moves system reset controller setup from > nomadik_clk_

[PATCH 61/93] fuse: invalidate inode attributes on xattr modification

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Anand Avati commit d331a415aef98717393dda0be69b7947da08eba3 upstream. Calls like setxattr and removexattr result in updation of ctime. Therefore invalidate inode attributes to force a r

[PATCH 28/93] staging: comedi: dt282x: dt282x_ai_insn_read() always fails

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 2c4283ca7cdcc6605859c836fc536fcd83a4525f upstream. In dt282x_ai_insn_read() we call this macro like: wait_for(!mux_busy(), comedi_error(dev, "timeout\n"); return -E

[PATCH 63/93] [media] s5p-g2d: Fix registration failure

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Sachin Kamat commit 8a09a4cc9bd9389dc6a3b5b2dd3a7d64d2fab7e1 upstream. Commit 1c1d86a1ea ("[media] v4l2: always require v4l2_dev, rename parent to dev_parent") expects v4l2_dev to be al

[PATCH 15/93] USB: handle LPM errors during device suspend correctly

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit aa5ceae24bf8dff1d6fe87c6c4b08e69c6d33550 upstream. The hub driver's usb_port_suspend() routine doesn't handle errors related to Link Power Management properly. It alw

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Linus Walleij
On Fri, Sep 20, 2013 at 10:49 PM, Linus Walleij wrote: > On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth > wrote: > >> MTU timer initialization is stuffed into .init_time callback, while >> cpu8815_timer_init_of again maps addresses from the same device node. >> Therefore, this patch moves

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth wrote: > MTU timer initialization is stuffed into .init_time callback, while > cpu8815_timer_init_of again maps addresses from the same device node. > Therefore, this patch moves mtu setup from to clocksource init. > > Signed-off-by: Sebastia

[PATCH 69/93] MIPS: ath79: Fix ar933x watchdog clock

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit a1191927ace7e6f827132aa9e062779eb3f11fa5 upstream. The watchdog device on the AR933x is connected to the AHB clock, however the current code uses the reference cloc

[PATCH 73/93] HID: sensor-hub: validate feature report details

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 9e8910257397372633e74b333ef891f20c800ee4 upstream. A HID device could send a malicious feature report that would cause the sensor-hub HID driver to read past the end of

[PATCH 26/93] arm64: perf: fix group validation when using enable_on_exec

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 8455e6ec70f33b0e8c3ffd47067e00481f09f454 upstream. This is a port of cb2d8b342aa0 ("ARM: 7698/1: perf: fix group validation when using enable_on_exec") to arm64, whic

[PATCH 68/93] fuse: readdir: check for slash in names

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit efeb9e60d48f7778fdcad4a0f3ad9ea9b19e5dfd upstream. Userspace can add names containing a slash character to the directory listing. Don't allow this as it could cau

[PATCH 72/93] HID: ntrig: validate feature report details

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 875b4e3763dbc941f15143dd1a18d10bb0be303b upstream. A HID device could send a malicious feature report that would cause the ntrig HID driver to trigger a NULL dereferenc

[PATCH 53/93] pidns: Fix hang in zap_pid_ns_processes by sending a potentially extra wakeup

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit a606488513543312805fab2b93070cefe6a3016c upstream. Serge Hallyn writes: > Since commit af4b8a83add95ef40716401395b44a1b579965f4 it's been > possible to get

Re: [PATCH] cpufreq: return EEXIST instead of EBUSY for second registering

2013-09-20 Thread Rafael J. Wysocki
On Friday, September 20, 2013 12:30:19 PM Yinghai Lu wrote: > On Fri, Sep 20, 2013 at 10:12 AM, Yinghai Lu wrote: > >> > >> I *think* we can just drop the module requesting stuff entirely, because it > >> doesn't seem to work anyway and udev is handling this for us. > > > Yes. looks like acpi_proc

[PATCH 48/93] drm/radeon: update line buffer allocation for dce6

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 290d24576ccf1aa0373d2185cedfe262d0d4952a upstream. We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a bl

[PATCH 76/93] ARM: PCI: versatile: Fix map_irq function to match hardware

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Maydell commit f9b71fef12f0d6ac5c7051cfd87f7700f78c56b6 upstream. The PCI controller code for the Versatile board has never had the correct IRQ mapping for hardware. For many yea

[PATCH 37/93] HID: validate HID report id size

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 43622021d2e2b82ea03d883926605bdd0525e1d1 upstream. The "Report ID" field of a HID report is used to build indexes of reports. The kernel's index of these is limited to

[PATCH 39/93] cpuidle: coupled: disable interrupts after entering safe state

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Colin Cross commit 59e998561103a93f294c8d3138dd659af772a5da upstream. Calling cpuidle_enter_state is expected to return with interrupts enabled, but interrupts must be disabled before s

[PATCH 88/93] [SCSI] sd: Fix potential out-of-bounds access

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 984f1733fcee3fbc78d47e26c5096921c5d9946a upstream. This patch fixes an out-of-bounds error in sd_read_cache_type(), found by Google's AddressSanitizer tool. When the

[PATCH 92/93] mm: fix aio performance regression for database caused by THP

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Khalid Aziz commit 7cb2ef56e6a8b7b368b2e883a0a47d02fed66911 upstream. I am working with a tool that simulates oracle database I/O workload. This tool (orion to be specific -

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-20 Thread Uwe Kleine-König
Hi Thomas, On Fri, Sep 20, 2013 at 11:56:27AM +0200, Thomas Gleixner wrote: > On Thu, 19 Sep 2013, Uwe Kleine-König wrote: > > > + * For mult <= (1 << shift) we can safely add mult - 1 to > > > + * prevent integer rounding loss. So the backwards conversion > > It doesn't prevent inexactness to a

Re: [PATCH 30/41] usb: musb: ux500: Don't supply a con_id when requesting the clock

2013-09-20 Thread Linus Walleij
On Wed, Sep 18, 2013 at 2:14 PM, Lee Jones wrote: > If we supply a con_id then the clock framework will search for that name > in MUSB's Device Tree node for the 'clock-names' property. If it's absent > the clock request will fail. However, if we don't supply the con_id then > clk_get() will call

[PATCH 64/93] [media] DocBook: upgrade media_api DocBook version to 4.2

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda commit 8bfd4a68ecc003c1a142f35551be846d6b13e822 upstream. Fixes the last three errors of media_api DocBook validatation: (...) media_api.xml:414: element imagedata: validi

[PATCH 29/93] usb: ehci-mxc: check for pdata before dereferencing

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit f375fc520d4df0cd9fcb570f33c103c6c0311f9e upstream. Commit 7e8d5cd93fac ("USB: Add EHCI support for MX27 and MX31 based boards") introduced code that could potentially

[PATCH 23/93] rculist: list_first_or_null_rcu() should use list_entry_rcu()

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit c34ac00caefbe49d40058ae7200bd58725cebb45 upstream. list_first_or_null() should test whether the list is empty and return pointer to the first entry if not in a RCU safe

[PATCH 36/93] ACPI / EC: Add ASUSTEK L4R to quirk list in order to validate ECDT

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Lan Tianyu commit 524f42fab787a9510be826ce3d736b56d454ac6d upstream. The ECDT of ASUSTEK L4R doesn't provide correct command and data I/O ports. The DSDT provides the correct informati

[PATCH 75/93] HID: check for NULL field when setting values

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit be67b68d52fa28b9b721c47bb42068f0c1214855 upstream. Defensively check that the field to be worked on is not NULL. Signed-off-by: Kees Cook Signed-off-by: Jiri Kosina

[PATCH 77/93] ARM: PCI: versatile: Fix PCI I/O

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Maydell commit 829f9fedee30cde2ec15e88d57ec11074db791e2 upstream. The versatile PCI controller code was confused between the PCI I/O window (at 0x4300) and the first PCI memor

[PATCH 71/93] HID: pantherlord: validate output report details

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 412f30105ec6735224535791eed5cdc02888ecb4 upstream. A HID device could send a malicious output report that would cause the pantherlord HID driver to write beyond the out

[PATCH 22/93] ASoC: wm8960: Fix PLL register writes

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Dyer commit 85fa532b6ef920b32598df86b194571a7059a77c upstream. Bit 9 of PLL2,3 and 4 is reserved as '0'. The 24bit fractional part should be split across each register in 8bit chun

[PATCH 90/93] ocfs2: fix the end cluster offset of FIEMAP

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Jie Liu commit 28e8be31803b19d0d8f76216cb11b480b8a98bec upstream. Call fiemap ioctl(2) with given start offset as well as an desired mapping range should show extents if possible. Howe

[PATCH 66/93] [media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov commit 2e923a0527ac439e135b9961e58d3acd876bba10 upstream. free_buff_list and rec_buff_list are initialized in the middle of hdpvr_probe(), but if something bad happen

[PATCH 45/93] drm/edid: add quirk for Medion MD30217PG

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 118bdbd86b39dbb843155054021d2c59058f1e05 upstream. This LCD monitor (1280x1024 native) has a completely bogus detailed timing (640x350@70hz). User reports that 1280

[PATCH 74/93] HID: picolcd_core: validate output report details

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 1e87a2456b0227ca4ab881e19a11bb99d164e792 upstream. A HID device could send a malicious output report that would cause the picolcd HID driver to trigger a NULL dereferen

[PATCH 31/93] proc: Restrict mounting the proc filesystem

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit aee1c13dd0f6c2fc56e0e492b349ee8ac655880f upstream. Don't allow mounting the proc filesystem unless the caller has CAP_SYS_ADMIN rights over the pid namespace.

[PATCH 89/93] pidns: fix vfork() after unshare(CLONE_NEWPID)

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit e79f525e99b04390ca4d2366309545a836c03bf1 upstream. Commit 8382fcac1b81 ("pidns: Outlaw thread creation after unshare(CLONE_NEWPID)") nacks CLONE_VM if the forking p

[PATCH 65/93] [media] v4l2: added missing mutex.h include to v4l2-ctrls.h

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda commit a19dec6ea94c036af68c31930c1c92681f55af41 upstream. This patch fixes following error: include/media/v4l2-ctrls.h:193:15: error: field ‘_lock’ has incomplete type inc

[PATCH 70/93] libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil commit 9542cf0bf9b1a3adcc2ef271edbcbdba03abf345 upstream. Fix a typo that used the wrong bitmask for the pg.seed calculation. This is normally unnoticed because in most cases

[PATCH 34/93] pinctrl: at91: fix get_pullup/down function return

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Boris BREZILLON commit 05d3534a321d7fe4524b3b83bb20318282f3ec2c upstream. In PIO_PUSR and PIO_PPDSR register if a given bit is set 1 this means the pullup/down for this pin (pin is repr

[PATCH 32/93] usb: xhci: Disable runtime PM suspend for quirky controllers

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Shawn Nematbakhsh commit c8476fb855434c733099079063990e5bfa7ecad6 upstream. If a USB controller with XHCI_RESET_ON_RESUME goes to runtime suspend, a reset will be performed upon runtime

[PATCH v4] sharpsl_param.c: ARM: pxa: fix invalid memory access

2013-09-20 Thread Andrea Adami
After commit 72662e01088394577be4a3f14da94cf87bea2591 ARM: head.S: only include __turn_mmu_on in the initial identity mapping Zaurus PXA devices call sharpsl_save_param() during fixup and hang on boot because memcpy refers to physical addresses no longer valid if the MMU is setup. Zaurus collie (S

[PATCH 01/93] Revert "net/core/sock.c: add missing VSOCK string in af_family_*_key_strings"

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Kamal Mostafa This reverts commit 98aab898043fdc0f63621dae282fb5448fc39f9a, which was commit 456db6a4d495f40777da6f1f32f62f13026f52db upstream. 98aab89 should not have been applied to v

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-09-20 Thread Nicholas A. Bellinger
Hi Alexander! Apologies for the long delay on this follow-up.. Comments below. On Fri, 2013-09-20 at 17:19 +0200, Alexander Gordeev wrote: > On Thu, Aug 15, 2013 at 07:19:29PM -0700, Nicholas A. Bellinger wrote: > > Ok, here's a bit better idea of what is going on now.. > > > > The problem is t

[PATCH 33/93] USB: OHCI: Allow runtime PM without system sleep

2013-09-20 Thread Kamal Mostafa
3.8.13.10 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 69820e01aa756b8d228143d997f71523c1e97984 upstream. Since ohci-hcd supports runtime PM, the .pm field in its pci_driver structure should be protected by CONFIG_PM rathe

  1   2   3   4   5   >