[PATCHv2, RFC 25/30] thp, mm: basic huge_fault implementation for generic_file_vm_ops

2013-03-14 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" It provide enough functionality for simple cases like ramfs. Need to be extended later. Signed-off-by: Kirill A. Shutemov --- mm/filemap.c | 75 ++ 1 file changed, 75 insertions(+) diff --git a/mm/filemap.c

[PATCHv2, RFC 27/30] thp: initial implementation of do_huge_linear_fault()

2013-03-14 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" The function tries to create a new page mapping using huge pages. It only called for not yet mapped pages. As usual in THP, we fallback to small pages if we fail to allocate huge page. Signed-off-by: Kirill A. Shutemov --- include/linux/huge_mm.h |3 +

[PATCHv2, RFC 01/30] block: implement add_bdi_stat()

2013-03-14 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" It's required for batched stats update. Signed-off-by: Kirill A. Shutemov --- include/linux/backing-dev.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 3504599..b05d961 100644 ---

Re: mmotm 2013-03-01-15-50 uploaded (strict user copy)

2013-03-14 Thread Stephen Boyd
On 03/01/13 19:42, Stephen Boyd wrote: > On 03/01/13 19:00, Randy Dunlap wrote: >> on i386: >> >> ERROR: "copy_from_user_overflow" [fs/binfmt_misc.ko] undefined! >> >> which I don't understand. >> lib/usercopy.o is built and building binfmt_misc.c says: >> >> CC [M] fs/binfmt_misc.o >> In file

Re: [PATCH] X.509: Remove certificate date checks

2013-03-14 Thread Alexander Holler
Am 14.03.2013 18:09, schrieb David Woodhouse: On Thu, 2013-03-14 at 17:22 +0100, Alexander Holler wrote: Agreed (thats what my patch did). I've introduced a new config option because I don't know if something (a use case I don't know) relies on the validity check of the dates in the parser.

Re: NULL pointer dereference in ext4_superblock_csum_set with mounted filesystem

2013-03-14 Thread Josh Triplett
On Thu, Mar 14, 2013 at 12:08:35AM -0400, Theodore Ts'o wrote: > Huh. This is very, very weird. Is this a repeatable crash? I could reliably replicate it for that particular session, but now that I've rebooted the host, no. - Josh Triplett -- To unsubscribe from this list: send the line

RE: zsmalloc limitations and related topics

2013-03-14 Thread Dan Magenheimer
> From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > Subject: Re: zsmalloc limitations and related topics Hi Seth -- Thanks for the reply. I think it is very important to be having these conversations. > >>> 2) When not full and especially when nearly-empty _after_ > >>>being full,

Re: [PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-14 Thread Kevin Hilman
Lokesh Vutla writes: > Commit {9a6eb31 ARM: hw_breakpoint: Debug powerdown support for self-hosted > debug} introduces debug powerdown support for self-hosted debug. > While merging the patch 'has_ossr' check was removed which > was needed for hardwares which doesn't support self-hosted debug. >

Re: [PATCH v2 4/8] drivers: input: use module_platform_driver_probe()

2013-03-14 Thread Dmitry Torokhov
Hi Fabio, On Thursday, March 14, 2013 06:09:34 PM Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. I already have patches from Sachin Kamat for this, I am waiting for -rc3 to sync up with

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Peter Hurley
On Thu, 2013-03-14 at 18:22 +0100, Rafael J. Wysocki wrote: > On Thursday, March 14, 2013 01:06:04 PM Peter Hurley wrote: > > On Thu, 2013-03-14 at 17:46 +0100, Rafael J. Wysocki wrote: > > > On Thursday, March 14, 2013 05:09:59 PM Jiri Kosina wrote: > > > > On Thu, 14 Mar 2013, Jiri Kosina wrote:

Re: [PATCH 0/5] mv643xx_eth: use mvmdio MDIO bus driver

2013-03-14 Thread Jason Cooper
Florian, Any word on version 2 of this series? I'd like to base the conversion of kirkwood to DT based ethernet init on it. thx, Jason. On Tue, Jan 29, 2013 at 04:24:03PM +0100, Florian Fainelli wrote: > Hi all, > > This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver

Re: Regression: Fixing recursive fault but reboot is needed at boot on HP 6730B - bisected

2013-03-14 Thread Rafael J. Wysocki
On Thursday, March 14, 2013 09:20:51 AM Roberto Oppedisano wrote: > Hi > > Il 11/03/2013 09:00, Roberto Oppedisano ha scritto: > > Hello > > I'm observing this kind of boot failure when my laptop > > is not docked; I didn't notice before because I seldom reboot > > it when it's not connected

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Rafael J. Wysocki
On Thursday, March 14, 2013 01:06:04 PM Peter Hurley wrote: > On Thu, 2013-03-14 at 17:46 +0100, Rafael J. Wysocki wrote: > > On Thursday, March 14, 2013 05:09:59 PM Jiri Kosina wrote: > > > On Thu, 14 Mar 2013, Jiri Kosina wrote: > > > > > > > > > I don't think I have seen this message on rc1+

Re: [PATCH v2 1/8] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Guennadi Liakhovetski
On Thu, 14 Mar 2013, Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. > > Signed-off-by: Fabio Porcedda Thanks, will queue for 3.10. Regards Guennadi > Cc: Greg Kroah-Hartman > Cc:

[PATCH] x86/mce: Use MCG_CAP MSR to find out number of banks on AMD

2013-03-14 Thread Boris Ostrovsky
Currently number of error reporting register banks is hardcoded to 6 on AMD processors. This may break in virtualized scenarios when a hypervisor prefers to report fewer banks that the physical HW provides. Since number of supported banks is reported in MSR_IA32_MCG_CAP[7:0] that's what we should

[PATCH v2 1/8] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab Cc: Josh Wu Cc: Guennadi Liakhovetski Cc: Hans Verkuil Cc:

[PATCH v2 3/8] drivers: char: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Matt Mackall Cc: Herbert Xu Cc: Fabio Estevam Cc: Sascha Hauer --- drivers/char/hw_random/mxc-rnga.c |

[PATCH v2 6/8] drivers: mfd: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Linus Walleij Cc: Samuel Ortiz Cc: linux-arm-ker...@lists.infradead.org ---

[PATCH v2 2/8] drivers: ata: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Jeff Garzik Cc: linux-...@vger.kernel.org --- drivers/ata/pata_at32.c | 13 + 1 file changed, 1

[PATCH v2 0/8] Use module_platform_driver_probe() part 2

2013-03-14 Thread Fabio Porcedda
Hi all, this patch set is the second part for the conversion to use new module_platform_driver_probe() macro. v2: - rebased againg next and so dropped the already converted drivers. Fabio Porcedda (8): drivers: media: use module_platform_driver_probe() drivers: ata: use

[PATCH v2 7/8] drivers: video: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Richard Purdie Cc: Florian Tobias Schandinat Cc: linux-fb...@vger.kernel.org ---

[PATCH v2 8/8] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Arnd Bergmann --- drivers/misc/atmel_pwm.c | 12 +--- drivers/misc/ep93xx_pwm.c | 13 +

[PATCH v2 5/8] drivers: memory: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Benoit Cousson Cc: Aneesh V --- drivers/memory/emif.c | 12 +--- 1 file changed, 1 insertion(+), 11

[PATCH v2 4/8] drivers: input: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda Cc: Greg Kroah-Hartman Cc: Dmitry Torokhov Cc: Mark Brown Cc: Liam Girdwood Cc: Bill Pemberton Cc: Linus Walleij Cc: David Howells

Re: [PATCH] X.509: Remove certificate date checks

2013-03-14 Thread David Woodhouse
On Thu, 2013-03-14 at 17:22 +0100, Alexander Holler wrote: > > Agreed (thats what my patch did). > > I've introduced a new config option because I don't know if something (a > use case I don't know) relies on the validity check of the dates in the > parser. If there currently isn't such a

Re: [Update 4][PATCH 2/7] ACPI / scan: Introduce common code for ACPI-based device hotplug

2013-03-14 Thread Rafael J. Wysocki
Sorry for the sluggish response, I've been travelling recently. -> On Monday, March 04, 2013 02:10:23 PM Vasilis Liaskovitis wrote: > Hi, > > On Tue, Feb 26, 2013 at 12:39:50AM +0100, Rafael J. Wysocki wrote: > > On Monday, February 25, 2013 11:07:52 AM Toshi Kani wrote: > > > On Sat, 2013-02-23

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Peter Hurley
On Thu, 2013-03-14 at 17:46 +0100, Rafael J. Wysocki wrote: > On Thursday, March 14, 2013 05:09:59 PM Jiri Kosina wrote: > > On Thu, 14 Mar 2013, Jiri Kosina wrote: > > > > > > > I don't think I have seen this message on rc1+ (8343bce, to be > > > > > precise), > > > > > but I have definitely

Re: [PATCH] pinctrl: move subsystem mutex to pinctrl_dev struct

2013-03-14 Thread Patrice CHOTARD
On 03/13/2013 07:22 PM, Stephen Warren wrote: > On 03/13/2013 09:44 AM, Linus Walleij wrote: >> From: Patrice Chotard >> >> This mutex avoids deadlock in case of use of multiple pin >> controllers. Before this modification, by using a global >> mutex, deadlock appeared when, for example, a call

Re: [PATCH v2 0/3] leds: replace macros with inline functions and support camera LED triggers

2013-03-14 Thread Bryan Wu
On Thu, Mar 14, 2013 at 4:29 AM, Kim, Milo wrote: > Patch v2 > (1) LED trigger macros are replaced with inline function in case of > !CONFIG_LED_TRIGGERS and !CONFIG_LEDS_TRIGGER_IDE_DISK. > (2) Use an inline function when CONFIG_LEDS_TRIGGER_CAMERA is not configured. > > Patch v1 >

Re: [PATCH v3] drm/i915: bounds check execbuffer relocation count

2013-03-14 Thread Daniel Vetter
On Wed, Mar 13, 2013 at 9:28 PM, Daniel Vetter wrote: > On Tue, Mar 12, 2013 at 09:07:46AM +, Chris Wilson wrote: >> On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees Cook wrote: >> > It is possible to wrap the counter used to allocate the buffer for >> > relocation copies. This could lead to

Re: [PATCH 00/24] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-14 Thread Tony Lindgren
* Roger Quadros [130314 08:45]: > > OK. Let me know how the below patch looks. After that, the board code > will look like. > > static struct usbhs_phy_data phy_data[] = { > { > .reset_gpio = 147, > .vcc_gpio = 148 > .vcc_polarity = 1, >

Re: [PATCH 04/10] drivers: hwmon: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
On Thu, Mar 14, 2013 at 3:01 PM, Guenter Roeck wrote: > On Thu, Mar 14, 2013 at 02:11:25PM +0100, Fabio Porcedda wrote: >> This patch converts the drivers to use the >> module_platform_driver_probe() macro which makes the code smaller and >> a bit simpler. >> >> Signed-off-by: Fabio Porcedda >>

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Peter Hurley
On Thu, 2013-03-14 at 17:09 +0100, Jiri Kosina wrote: > On Thu, 14 Mar 2013, Jiri Kosina wrote: > > > > > I don't think I have seen this message on rc1+ (8343bce, to be > > > > precise), > > > > but I have definitely seen sluggish system response on that kernel as > > > > well. > > > > > > >

Re: [PATCH 01/10] drivers: media: use module_platform_driver_probe()

2013-03-14 Thread Fabio Porcedda
On Thu, Mar 14, 2013 at 2:25 PM, Guennadi Liakhovetski wrote: > Hi Fabio > > On Thu, 14 Mar 2013, Fabio Porcedda wrote: > >> This patch converts the drivers to use the >> module_platform_driver_probe() macro which makes the code smaller and >> a bit simpler. >> >> Signed-off-by: Fabio Porcedda

Re: [PATCH 1/7] workqueue: rename worker_pool->assoc_mutex to ->manager_mutex

2013-03-14 Thread Tejun Heo
Hey, Lai. On Thu, Mar 14, 2013 at 9:00 AM, Lai Jiangshan wrote: >> @@ -4095,7 +4109,7 @@ static void wq_unbind_fn(struct work_struct *work) >> pool->flags |= POOL_DISASSOCIATED; >> >> spin_unlock_irq(>lock); >> - mutex_unlock(>assoc_mutex); >> +

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Rafael J. Wysocki
On Thursday, March 14, 2013 05:09:59 PM Jiri Kosina wrote: > On Thu, 14 Mar 2013, Jiri Kosina wrote: > > > > > I don't think I have seen this message on rc1+ (8343bce, to be > > > > precise), > > > > but I have definitely seen sluggish system response on that kernel as > > > > well. > > > > >

Re: [PATCH] checkpatch: Add check for reuse of krealloc arg

2013-03-14 Thread Guenter Roeck
On Thu, Mar 14, 2013 at 09:18:05AM -0700, Joe Perches wrote: > On Thu, 2013-03-14 at 13:30 +, David Woodhouse wrote: > > If krealloc() returns NULL, it *doesn't* free the original. So any code > > of the form 'foo = krealloc(foo, …);' is almost certainly a bug. > > So add a check for it to

Re: [PATCH] X.509: Remove certificate date checks

2013-03-14 Thread Alexander Holler
Am 14.03.2013 13:48, schrieb David Woodhouse: On Thu, 2013-03-14 at 12:34 +, David Howells wrote: Remove the certificate date checks that are performed when a certificate is parsed. There are two checks: a valid from and a valid to. The first check is causing a lot of problems with system

Re: + atomic-improve-atomic_inc_unless_negative-atomic_dec_unless_positive .patch added to -mm tree

2013-03-14 Thread Oleg Nesterov
> From: Ming Lei > Subject: atomic: improve atomic_inc_unless_negative/atomic_dec_unless_positive > > Generally, both atomic_inc_unless_negative() and > atomic_dec_unless_positive() need at least two atomic_cmpxchg() to > complete the atomic operation. In fact, the 1st atomic_cmpxchg() is just >

[PATCH] checkpatch: Add check for reuse of krealloc arg

2013-03-14 Thread Joe Perches
On Thu, 2013-03-14 at 13:30 +, David Woodhouse wrote: > If krealloc() returns NULL, it *doesn't* free the original. So any code > of the form 'foo = krealloc(foo, …);' is almost certainly a bug. So add a check for it to checkpatch. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 7

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Alan Stern
On Thu, 14 Mar 2013, Jiri Kosina wrote: > > There have been only three significant changes to uhci-hcd since last > > summer, and two of them appear to be completely unrelated to this > > issue. The three commits are > > > > 3171fcabb169 USB: uhci: beautify source code > >

Re: [PATCH] usb: limit OMAP related USB options to OMAP2PLUS platforms

2013-03-14 Thread Felipe Balbi
Hi, On Thu, Mar 14, 2013 at 11:17:21AM -0400, Paul Gortmaker wrote: > >>> diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig > >>> index 65217a5..40b8463 100644 > >>> --- a/drivers/usb/phy/Kconfig > >>> +++ b/drivers/usb/phy/Kconfig > >>> @@ -17,6 +17,7 @@ config OMAP_USB2 > >>> >

RE: [PATCH 4/4] zcache: add pageframes count once compress zero-filled pages twice

2013-03-14 Thread Dan Magenheimer
> From: Wanpeng Li [mailto:liw...@linux.vnet.ibm.com] > Sent: Wednesday, March 13, 2013 6:21 PM > To: Dan Magenheimer > Cc: Andrew Morton; Greg Kroah-Hartman; Dan Magenheimer; Seth Jennings; Konrad > Rzeszutek Wilk; Minchan > Kim; linux...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re:

[PATCH 2/2] vfs: statfs: A fs is r/o if the superblock is

2013-03-14 Thread Shea Levy
By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly mountpoint, it is possible to have a readonly mount without MNT_READONLY in its mnt_flags. Currently, statfs will not set the ST_RDONLY flag in f_flags for such a mount, even though for all intents and purposes it is still

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Alan Stern
On Thu, 14 Mar 2013, Jiri Kosina wrote: > I have reverted all three commits, and the "nobody cared" is still there. > > > If you revert all three and still see the problem then it must be > > caused by changes outside of the USB stack. Differences in interrupt > > routing could be a result of

[PATCH 0/2] vfs: Report a mount r/o if the superblock is

2013-03-14 Thread Shea Levy
By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly mountpoint, it is possible to have a readonly mount without MNT_READONLY in its mnt_flags. Currently, /proc//mountinfo and statfs will report such a mount as r/w, even though for all intents and purposes it is still readonly.

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Jiri Kosina
On Thu, 14 Mar 2013, Jiri Kosina wrote: > > > I don't think I have seen this message on rc1+ (8343bce, to be precise), > > > but I have definitely seen sluggish system response on that kernel as > > > well. > > > > > > Attaching lspci, /proc/interrupts and dmesg. > > > > Can you try to do a

[PATCH 1/2] vfs: mountinfo: A mnt is r/o if the superblock is

2013-03-14 Thread Shea Levy
By calling mount(2) with MS_REMOUNT | MS_BIND on a non-bind readonly mountpoint, it is possible to have a readonly mount without MNT_READONLY in its mnt_flags. Currently, /proc//mountinfo will report such a mount as r/w in the 4th column, even though for all intents and purposes it is still

Re: [PATCH] usb: gadget: remove MACH_OMAP_H4_OTG

2013-03-14 Thread Felipe Balbi
On Thu, Mar 14, 2013 at 03:50:57PM +0100, Paul Bolle wrote: > On Thu, 2013-03-14 at 16:13 +0200, Felipe Balbi wrote: > > On Mon, Mar 11, 2013 at 09:14:41PM +0100, Paul Bolle wrote: > > > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig > > > index 5a0c541..c65b5e2 100644 > > >

Re: [PATCH 1/7] workqueue: rename worker_pool->assoc_mutex to ->manager_mutex

2013-03-14 Thread Lai Jiangshan
On Thu, Mar 14, 2013 at 10:57 AM, Tejun Heo wrote: > Manager operations are currently governed by two mutexes - > pool->manager_arb and ->assoc_mutex. The former is used to decide who > gets to be the manager and the latter to exclude the actual manager > operations including creation and

Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-14 Thread Arnd Bergmann
On Thursday 14 March 2013, Alexandre Courbot wrote: > > On Thu, Mar 14, 2013 at 11:14 PM, Linus Walleij > wrote: > > For submitting the pull request to Torvalds in the end you will need > > to create a signed tag. Do you have a signed GPG key? Else it's > > about time to create a key and start

Re: [PATCH 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-14 Thread Peter Korsgaard
> "P" == Philip Avinash writes: P> Add da850 EHRPWM & ECAP DT node. P> Also adds OF_DEV_AUXDATA for EHRPWM & ECAP driver to use EHRPWM & ECAP P> clock. P> Signed-off-by: Philip Avinash P> --- P> :100644 100644 3ec1bda... 9b5b613... M arch/arm/boot/dts/da850.dtsi P> :100644

Re: [PATCH v2 4/4] usb: otg: twl4030: fix cold plug on OMAP3

2013-03-14 Thread Felipe Balbi
On Thu, Mar 14, 2013 at 11:53:59AM +0530, Kishon Vijay Abraham I wrote: > Having twl4030_usb_phy_init() (detects if a cable is connected before > twl4030 is probed) in twl4030 probe makes cable connect events to be > missed by musb glue, since it gets loaded after twl4030. Having >

Re: [PATCH v2 2/4] usb: otg: twl4030: use devres API for regulator get and request irq

2013-03-14 Thread Felipe Balbi
On Thu, Mar 14, 2013 at 11:53:57AM +0530, Kishon Vijay Abraham I wrote: > Used devres APIs devm_request_threaded_irq and devm_regulator_get for > requesting irq and for getting regulator respectively. > > Signed-off-by: Kishon Vijay Abraham I please refresh this on top of my testing branch, you

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Jiri Kosina
On Thu, 14 Mar 2013, Jiri Kosina wrote: > > Is occurrence of the "nobody cared" connected with any particular > > device? Somebody reported a similar problem not long ago (although IIRC > > it was for OHCI rather than UHCI) which appeared to be related to > > activity on the built-in webcam.

Re: [PATCH 2/3] pwm: pwm-tiecap: Add device-tree binding support for da850 SOC

2013-03-14 Thread Peter Korsgaard
> "Sekhar" == Sekhar Nori writes: >> Required properties: >> -- compatible: Must be "ti,am33xx-ecap" >> +- compatible: Must be "ti,am33xx-ecap" or "ti,da850-ecap" >> - #pwm-cells: Should be 3. Number of cells being used to specify PWM >> property. >> First cell specifies the per-chip

Re: [PATCH] sched,trace: Allow tracing the preemption decision on wakeup

2013-03-14 Thread Paul Turner
Yeah -- this one is a real no brainer to move; looks good :) On Thu, Mar 14, 2013 at 5:00 AM, Steven Rostedt wrote: > On Thu, 2013-03-14 at 10:48 +0100, Peter Zijlstra wrote: >> Thomas noted that we do the wakeup preemption check after the wakeup >> trace point, this means the tracepoint cannot

Re: [PATCH 00/24] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-14 Thread Roger Quadros
On 03/13/2013 06:57 PM, Tony Lindgren wrote: > * Roger Quadros [130313 09:40]: >> On 03/13/2013 06:24 PM, Tony Lindgren wrote: >>> * Roger Quadros [130313 06:46]: On 03/12/2013 06:40 PM, Tony Lindgren wrote: > * Roger Quadros [130312 04:47]: >> Hi Tony, >> >> These patches

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Jiri Kosina
On Thu, 14 Mar 2013, Alan Stern wrote: > > > Can you try to do a git bisect for this? Is the sluggish system > > > response clear enough that you can tell reliably when it is present and > > > when it isn't? > > > > That was my first thought, but unfortunately I am afraid there will be > >

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Alexander Graf
On 14.03.2013, at 15:58, Thomas Abraham wrote: > On 14 March 2013 17:31, Alexander Graf wrote: >> >> On 14.03.2013, at 05:19, Thomas Abraham wrote: >> >>> On 14 March 2013 05:29, Alexander Graf wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down and then

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-03-14 Thread Stephane Eranian
On Mon, Feb 25, 2013 at 3:10 PM, Peter Zijlstra wrote: > On Fri, 2013-02-22 at 22:04 -0800, John Stultz wrote: >> On 02/20/2013 02:29 AM, Peter Zijlstra wrote: >> > On Tue, 2013-02-19 at 10:25 -0800, John Stultz wrote: >> >> So describe how the perf time domain is different then >> >>

Re: [PATCH] cciss: fix invalid use of sizeof in cciss_find_cfgtables()

2013-03-14 Thread scameron
On Thu, Mar 14, 2013 at 11:19:45PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > sizeof() when applied to a pointer typed expression gives the > size of the pointer, not that of the pointed data. > > Signed-off-by: Wei Yongjun > --- > drivers/block/cciss.c | 2 +- > 1 file changed, 1

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Doug Anderson
Hi, On Thu, Mar 14, 2013 at 7:58 AM, Thomas Abraham wrote: >> I can see your point, but as I mentioned earlier there seems to be some >> timing issue here. By simply doing the reset a few ms earlier (in the first >> probe, before the driver detects that it needs to defer probing), I already

[PATCH] regmap: Remove __attribute__ ((packed))

2013-03-14 Thread Dimitris Papastamos
There is no point having this. The space gains are trivial if there are any at all. Change-Id: Ib4b1320420f780dcf5b9a1e4b05f5805691c4d9f Signed-off-by: Dimitris Papastamos --- drivers/base/regmap/regcache-rbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-14 Thread Michel Lespinasse
On Thu, Mar 14, 2013 at 4:39 AM, Peter Hurley wrote: > On Thu, 2013-03-14 at 00:03 -0700, Michel Lespinasse wrote: >> > CPU 0 | CPU 1 >> > | >> > | down_write() >> > >> > ... CPU 1 has the

[PATCH] cciss: fix invalid use of sizeof in cciss_find_cfgtables()

2013-03-14 Thread Wei Yongjun
From: Wei Yongjun sizeof() when applied to a pointer typed expression gives the size of the pointer, not that of the pointed data. Signed-off-by: Wei Yongjun --- drivers/block/cciss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/cciss.c

Re: [PATCH 2/2] media/rc/imon.c: avoid flooding syslog with "unknown keypress" when keypad is pressed

2013-03-14 Thread Mauro Carvalho Chehab
Em Sun, 24 Feb 2013 21:19:30 +0100 Kevin Baradon escreveu: > My 15c2:0036 device floods syslog when a keypad key is pressed: > > Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0: imon_incoming_packet: > unknown keypress, code 0x100fff2 > Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0:

Re: [PATCH 2/2] media/rc/imon.c: avoid flooding syslog with "unknown keypress" when keypad is pressed

2013-03-14 Thread Mauro Carvalho Chehab
Em Sun, 24 Feb 2013 21:19:30 +0100 Kevin Baradon escreveu: > My 15c2:0036 device floods syslog when a keypad key is pressed: > > Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0: imon_incoming_packet: > unknown keypress, code 0x100fff2 > Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0:

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Alan Stern
On Thu, 14 Mar 2013, Jiri Kosina wrote: > On Thu, 14 Mar 2013, Alan Stern wrote: > > > > [4.116847] irq 16: nobody cared (try booting with the "irqpoll" > > > option) > > > [4.116849] Pid: 1, comm: systemd Not tainted 3.9.0-rc2-00188-g6c23cbb > > > #186 > > > [4.116850] Call Trace:

Re: [PATCH] usb: limit OMAP related USB options to OMAP2PLUS platforms

2013-03-14 Thread Paul Gortmaker
On 13-02-27 02:57 PM, Paul Gortmaker wrote: > On 13-02-27 02:51 PM, Felipe Balbi wrote: >> HI, >> >> On Wed, Feb 27, 2013 at 02:08:39PM -0500, Paul Gortmaker wrote: >>> commit 57f6ce072e35770a63be0c5d5e82f90d8da7d665 ("usb: phy: >>> add a new driver for usb3 phy") added the new Kconfig option >>>

Regression: HSW eDP broken on 3.9-rc[12]

2013-03-14 Thread Takashi Iwai
Hi, I noticed that a Haswell desktop machine with eDP gets only the blank screen on the latest Linus tree. It works fine with 3.8, so it's a regression since 3.9-rc1. Actually, it's not a regression. It's three regressions in a shot! (I had to do painful bisections three times...)

[PATCH] powerpc: remove "config 8260_PCI9"

2013-03-14 Thread Paul Bolle
The last user of Kconfig symbol 8260_PCI9 got removed in release v3.2. Remove this symbol too. Signed-off-by: Paul Bolle --- 0) Untested. 1) This probably is a second order effect of my commit 6805ab6daa2b589fe3242d05ddc47a9dbb0c4eb1 ("powerpc: drop unused Kconfig symbols"). Not sure how I

Re: [PATCH 1/3] pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices

2013-03-14 Thread Thierry Reding
On Thu, Mar 14, 2013 at 12:54:08PM +, Philip, Avinash wrote: > On Thu, Mar 14, 2013 at 17:09:04, Nori, Sekhar wrote: > > On 3/14/2013 4:02 PM, Philip Avinash wrote: > > > Add EHRPWM and ECAP support build support for DAVINCI_DA850 platforms. > > > > > > Also, since DAVINCI platforms doesn't

Re: [PATCH] hwmon: lineage-pem: Add missing terminating entry for pem_[input|fan]_attributes

2013-03-14 Thread Jean Delvare
On Thu, 14 Mar 2013 06:33:04 -0700, Guenter Roeck wrote: > On Thu, Mar 14, 2013 at 11:23:54AM +0100, Jean Delvare wrote: > > Hi Axel, > > > > On Thu, 14 Mar 2013 16:27:18 +0800, Axel Lin wrote: > > > Signed-off-by: Axel Lin > > > --- > > > drivers/hwmon/lineage-pem.c |2 ++ > > > 1 file

Re: [PATCH 11/12] USB: ehci-omap: Try to get PHY even if not in PHY mode

2013-03-14 Thread Alan Stern
On Thu, 14 Mar 2013, Felipe Balbi wrote: > > > if (IS_ERR(phy) || !phy) { > > > + /* Don't bail out if PHY is not absolutely necessary */ > > > + if (pdata->port_mode[i] != OMAP_EHCI_PORT_MODE_PHY) > > > + continue; > > > + > > >

Re: Inactive memory keep growing and how to release it?

2013-03-14 Thread Lenky Gao
On Thu, Mar 14, 2013 at 6:14 PM, Michal Hocko wrote: > One way would be to increase /proc/sys/vm/min_free_kbytes which will > enlarge watermaks so the reclaim starts sooner. > Good tip thanks. :) > This is really an old kernel and also a distribution one which might > contain a lot of patches

In SMP, every CPU has its own loops_per_jiffy value, __loop_const_udelay time period is not right if two cpus are running in different frequency.

2013-03-14 Thread chpoph
in __loop_const_udelay function, the delayed time period is calculated according to loops_per_jiffy. In SMP, every CPU has its own loops_per_jiffy value, __loop_const_udelay time period is not right if two cpus are running in different frequency. the following is file arch/arm/lib/delay-loop.S

Re: [PATCH 2/2] PCI: fix system hang issue of Marvell SATA host controller

2013-03-14 Thread Myron Stowe
On Wed, Mar 13, 2013 at 3:40 AM, Xiangliang Yu wrote: > Hi, Bjorn > >> >> > Now, the situation is like this: >> >> > I captured the PCIE trace with analyzer and found that 1st BE is 0x >> >> > when >> >> > accessing IO port space. But 9125 spec has some limitation, and the BE >> >> > must >>

Re: [PATCH 2/2] PCI: fix system hang issue of Marvell SATA host controller

2013-03-14 Thread Myron Stowe
On Wed, Mar 13, 2013 at 10:16 PM, Robert Hancock wrote: > On 03/08/2013 09:18 PM, Myron Stowe wrote: >> >> On Thu, Mar 7, 2013 at 11:51 PM, Xiangliang Yu >> wrote: >>> >>> Hi, Bjorn >>> >>> Fix system hang issue: if first accessed resource file of BAR0 ~ >>> BAR4, system will hang after

Re: [PATCH 1/2] media/rc/imon.c: make send_packet() delay configurable

2013-03-14 Thread Mauro Carvalho Chehab
Em Sun, 24 Feb 2013 21:19:29 +0100 Kevin Baradon escreveu: > Some imon devices (like 15c2:0036) need a higher delay between send_packet > calls. > Default value is still 5ms to avoid regressions on already working hardware. > > Also use interruptible wait to avoid load average going too high

Re: [PATCH 1/1] mm/hugetlb: add more arch-defined huge_pte_xxx functions

2013-03-14 Thread Michal Hocko
On Thu 14-03-13 15:11:09, Gerald Schaefer wrote: > On Thu, 14 Mar 2013 14:14:04 +0100 > Michal Hocko wrote: > > > On Tue 12-03-13 19:48:26, Gerald Schaefer wrote: > > > Commit abf09bed3c "s390/mm: implement software dirty bits" introduced > > > another difference in the pte layout vs. the pmd

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Thomas Abraham
On 14 March 2013 17:31, Alexander Graf wrote: > > On 14.03.2013, at 05:19, Thomas Abraham wrote: > >> On 14 March 2013 05:29, Alexander Graf wrote: >>> On my Exynos 5 based Arndale system, I need to pull the reset line down >>> and then let it go up again to actually perform a reset. Without

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Jiri Kosina
On Thu, 14 Mar 2013, Alan Stern wrote: > > [4.116847] irq 16: nobody cared (try booting with the "irqpoll" option) > > [4.116849] Pid: 1, comm: systemd Not tainted 3.9.0-rc2-00188-g6c23cbb > > #186 > > [4.116850] Call Trace: > > [4.116860][] __report_bad_irq+0x38/0xf0 > > [

[PATCH -next] Staging: netlogic: remove unused variable in xlr_net_start_xmit()

2013-03-14 Thread Wei Yongjun
From: Wei Yongjun The variable 'qmap' is initialized but never used otherwise, so remove the unused variable. Signed-off-by: Wei Yongjun --- drivers/staging/netlogic/xlr_net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/netlogic/xlr_net.c

[PATCH] mfd: abx500 move the AB8500 Kconfig fragment

2013-03-14 Thread Linus Walleij
From: Linus Walleij Move the AB8500 Kconfig fragment below the AB3100 so the menuconfig menu gets hierarchically nested and looks nice. Having the EZX PCAP in the middle disturbs the nice hierarchical layout from kconfig. Signed-off-by: Linus Walleij --- NOTE: it might look like this code is

Re: [PATCH v2 3/4] USB: Palmas OTG Transceiver Driver

2013-03-14 Thread kishon
On Thursday 14 March 2013 07:26 PM, Felipe Balbi wrote: On Thu, Mar 07, 2013 at 06:51:45PM +0530, Kishon Vijay Abraham I wrote: From: Graeme Gregory This is the driver for the OTG transceiver built into the Palmas chip. It handles the various USB OTG events that can be generated by cable

[PATCH v2] regmap: Cut down on the average # of nodes in the rbtree cache

2013-03-14 Thread Dimitris Papastamos
This patch aims to bring down the average number of nodes in the rbtree cache and increase the average number of registers per node. This should improve general lookup and traversal times. This is achieved by setting the minimum size of a block within the rbnode to the size of the rbnode itself.

Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt responses)

2013-03-14 Thread Alan Stern
On Wed, 13 Mar 2013, Jiri Kosina wrote: > OK, this is a "me too", on Thinkpad x200s. > > [4.116847] irq 16: nobody cared (try booting with the "irqpoll" option) > [4.116849] Pid: 1, comm: systemd Not tainted 3.9.0-rc2-00188-g6c23cbb #186 > [4.116850] Call Trace: > [4.116860]

Re: [PATCH] usb: gadget: remove MACH_OMAP_H4_OTG

2013-03-14 Thread Paul Bolle
On Thu, 2013-03-14 at 16:13 +0200, Felipe Balbi wrote: > On Mon, Mar 11, 2013 at 09:14:41PM +0100, Paul Bolle wrote: > > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig > > index 5a0c541..c65b5e2 100644 > > --- a/drivers/usb/gadget/Kconfig > > +++ b/drivers/usb/gadget/Kconfig

[PATCH bugfix 3.9] PCI: Don't try to disable Bus Master on disconnected PCI devices

2013-03-14 Thread Konstantin Khlebnikov
This is fix for commit 7897e6022761ace7377f0f784fca059da55f5d71 from v3.9-rc1 ("PCI: Disable Bus Master unconditionally in pci_device_shutdown()") in turn that was fix for b566a22c23327f18ce941ffad0ca907e50a53d41 from v3.5-rc1 ("PCI: disable Bus Master on PCI device shutdown") Unfortunately

Re: [PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread kishon
On Thursday 14 March 2013 08:17 PM, Felipe Balbi wrote: On Thu, Mar 14, 2013 at 08:15:00PM +0530, kishon wrote: On Thursday 14 March 2013 07:03 PM, Felipe Balbi wrote: On Thu, Mar 14, 2013 at 11:53:55AM +0530, Kishon Vijay Abraham I wrote: This series has some misc cleanup and fixes. The fix

Re: Regression: Fixing recursive fault but reboot is needed at boot on HP 6730B - bisected

2013-03-14 Thread Toshi Kani
On Thu, 2013-03-14 at 09:20 +0100, Roberto Oppedisano wrote: > Hi > > Il 11/03/2013 09:00, Roberto Oppedisano ha scritto: > > Hello > > I'm observing this kind of boot failure when my laptop > > is not docked; I didn't notice before because I seldom reboot > > it when it's not connected to a

Re: [PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread Felipe Balbi
On Thu, Mar 14, 2013 at 08:15:00PM +0530, kishon wrote: > On Thursday 14 March 2013 07:03 PM, Felipe Balbi wrote: > >On Thu, Mar 14, 2013 at 11:53:55AM +0530, Kishon Vijay Abraham I wrote: > >>This series has some misc cleanup and fixes. The fix solves the cold > >>plug issue in omap3 which some

Re: 3.9.0-rc1: kexec not working: root disk does not show up

2013-03-14 Thread Konstantin Khlebnikov
Vivek Goyal wrote: On Wed, Mar 13, 2013 at 06:53:16PM +0400, Konstantin Khlebnikov wrote: [..] PCI: Don't try to disable Bus Master on disconnected PCI devices From: Konstantin Khlebnikov This is fix for commit 7897e6022761ace7377f0f784fca059da55f5d71 from v3.9-rc1 ("PCI: Disable Bus Master

Re: [PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread kishon
On Thursday 14 March 2013 07:03 PM, Felipe Balbi wrote: On Thu, Mar 14, 2013 at 11:53:55AM +0530, Kishon Vijay Abraham I wrote: This series has some misc cleanup and fixes. The fix solves the cold plug issue in omap3 which some have reported. Developed these patches on fixes-for-v3.9-rc3 after

Re: [PATCH 2/2] task_work: check callback if it's NULL

2013-03-14 Thread Oleg Nesterov
On 03/14, liguang wrote: > > Signed-off-by: liguang > --- > kernel/task_work.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/kernel/task_work.c b/kernel/task_work.c > index 0bf4258..f458b08 100644 > --- a/kernel/task_work.c > +++ b/kernel/task_work.c > @@ -75,7

Re: [PATCH 1/2] task_work: make FIFO task_work list

2013-03-14 Thread Oleg Nesterov
On 03/14, liguang wrote: > > Signed-off-by: liguang Changelog please... > --- > kernel/task_work.c | 15 +++ > 1 files changed, 3 insertions(+), 12 deletions(-) > > diff --git a/kernel/task_work.c b/kernel/task_work.c > index 65bd3c9..0bf4258 100644 > --- a/kernel/task_work.c >

[PATCH 2/2] printk: Provide a wake_up_klogd() off-case

2013-03-14 Thread Frederic Weisbecker
wake_up_klogd() is useless when CONFIG_PRINTK=n because neither printk() nor printk_sched() are in use and there are actually no waiter on log_wait waitqueue. It should be a stub in this case for users like bust_spinlocks(). Otherwise this results in this warning when CONFIG_PRINTK=n and

[PATCH 1/2] irq_work.h: fix warning when CONFIG_IRQ_WORK=n

2013-03-14 Thread Frederic Weisbecker
From: James Hogan A randconfig caught repeated compiler warnings when CONFIG_IRQ_WORK=n due to the definition of a non-inline static function in : include/linux/irq_work.h +40 : warning: 'irq_work_needs_cpu' defined but not used Make it inline to supress the warning. This is caused by the

[GIT PULL] printk: fixes

2013-03-14 Thread Frederic Weisbecker
Ingo, Please pull the following printk regression fixes from: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git printk/urgent HEAD: c45a372bdfc0115147afb7eea11313dc057c817e Thanks. --- Frederic Weisbecker (1): printk: Provide a wake_up_klogd() off-case James

<    1   2   3   4   5   6   7   8   9   10   >