Re: [PATCH v2 0/7] ARM: berlin: add pinctrl support

2014-04-24 Thread Russell King - ARM Linux
On Thu, Apr 24, 2014 at 02:52:20PM +0200, Linus Walleij wrote: > - Why do hardware engineers seek to reinvent wheels like pin > controllers, GPIO and DMA engines all the time :-/ They think they have a rectangular pin cross-section which needs special treatment to fit into the round hole in a tu

[PATCH RFC] sysrq,rcu: suppress RCU stall warnings while sysrq runs

2014-04-24 Thread Rik van Riel
As suggested by Paul McKenney... This seems small and simple enough that it should not introduce any extra maintenance work in the future. ---8<--- Some sysrq handlers can run for a long time, because they dump a lot of data onto a serial console. Having RCU stall warnings pop up in the middle o

Re: [PATCH 0/2] net: Implement SO_PEERCGROUP and SO_PASSCGROUP socket options

2014-04-24 Thread Vivek Goyal
On Wed, Apr 23, 2014 at 04:53:31PM -0400, Daniel J Walsh wrote: > > On 04/23/2014 03:05 PM, Vivek Goyal wrote: > > On Tue, Apr 22, 2014 at 01:31:13PM -0700, Andy Lutomirski wrote: > > [..] > >>> Otherwise, without SO_PASSCGROUP, there is no way for datagram sockets > >>> to find out the peer's ope

Re: [PATCH 3/5] ARM: sunxi: Select restart drivers

2014-04-24 Thread Maxime Ripard
On Wed, Apr 23, 2014 at 06:00:03PM +0200, Arnd Bergmann wrote: > On Wednesday 23 April 2014 17:04:34 Maxime Ripard wrote: > > Make sure we have the restart hooks in the kernel by selecting them in > > Kconfig. > > > > Signed-off-by: Maxime Ripard > > --- > > arch/arm/mach-sunxi/Kconfig | 4

Re: [PATCH 5/5] ARM: sunxi: Remove sun4i and sun7i machine definitions

2014-04-24 Thread Maxime Ripard
On Wed, Apr 23, 2014 at 06:02:51PM +0200, Arnd Bergmann wrote: > On Wednesday 23 April 2014 17:04:36 Maxime Ripard wrote: > > > > -static void __init sunxi_dt_init(void) > > -{ > > - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); > > -} > > - > > -static const char * co

Re: [PATCH 04/11] perf hists: Add a couple of hists stat helper functions

2014-04-24 Thread Namhyung Kim
Hi Jiri, 2014-04-24 (목), 11:40 +0200, Jiri Olsa: > On Thu, Apr 24, 2014 at 05:23:56PM +0900, Namhyung Kim wrote: > > SNIP > > > - hists->stats.total_period = 0; > > - hists->stats.total_non_filtered_period = 0; > > + hists__reset_stats(hists); > > hists__reset_col_len(hists); > > > >

socfpga in 3.15-rc2

2014-04-24 Thread Pavel Machek
Hi! Does socfpga boot for you on 3.15-rc2? Mainline worked on 3.14 pretty well, but I get no output from serial from 3.15-rc2. Any ideas? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

Re: [PATCH v2 0/7] ARM: berlin: add pinctrl support

2014-04-24 Thread Linus Walleij
On Wed, Apr 23, 2014 at 5:51 PM, Antoine Ténart wrote: > This series adds support for the Marvell Berlin pin-controller, allowing > to configure the pin muxing from the device tree. > > The Berlin pin-controller support is divided into 3 drivers, each > driving one Berlin SoC. These drivers use a

Re: [RFC 0/3] DRM driver for the ATMEL High end LCD controller

2014-04-24 Thread Tim Niemeyer
Hi Boris Am Donnerstag, den 24.04.2014, 14:14 +0200 schrieb Boris BREZILLON: > Hi Tim, > > On 23/04/2014 17:36, Tim Niemeyer wrote: > > Hi Jean-Jacques, > > > > Am Freitag, den 18.04.2014, 11:45 +0200 schrieb Jean-Jacques Hiblot: > >> Hi, > >> > >> this patch serie implements a simple DRM driver

Re: [PATCH 03/13] video: clarify I2C dependencies

2014-04-24 Thread Arnd Bergmann
On Thursday 24 April 2014 13:32:35 Russell King - ARM Linux wrote: > On Thu, Apr 24, 2014 at 01:28:19PM +0100, Peter Griffin wrote: > > From: Arnd Bergmann > > > > We can only use I2C support in frame buffer drivers if > > Either I2C is built-in, or both I2C and the driver itself > > are loadable

Re: ftrace/kprobes: Warning when insmod two modules

2014-04-24 Thread Steven Rostedt
On Thu, 24 Apr 2014 15:58:53 +0900 Takao Indoh wrote: > Ok, I'll do this. Something like this, right? > > static void ftrace_init_module(struct module *mod, >unsigned long *start, unsigned long *end) > { > if (ftrace_disabled || start == end) >

Re: [PATCH] arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h

2014-04-24 Thread Julien Grall
Hi David, On 04/24/2014 01:22 PM, David Vrabel wrote: > On 18/04/14 16:54, Julien Grall wrote: >> virt_to_pfn has been defined in asm/memory.h by the commit e26a9e0 "ARM: >> Better >> virt_to_page() handling" >> >> This will result of a compilation warning when CONFIG_XEN is enabled. >> >> arch/a

Re: [PATCH v4 5/5] sched: ARM: create a dedicated scheduler topology table

2014-04-24 Thread Dietmar Eggemann
On 24/04/14 08:30, Vincent Guittot wrote: > On 23 April 2014 17:26, Dietmar Eggemann wrote: >> On 23/04/14 15:46, Vincent Guittot wrote: >>> On 23 April 2014 13:46, Dietmar Eggemann wrote: Hi, [...] > > More than the flag that is used for the example, it's about the > cpumask which are in

Re: [PATCH part2 2/6] regulator/mfd: max14577: Export symbols for calculating charger current

2014-04-24 Thread Mark Brown
On Wed, Apr 23, 2014 at 04:50:36PM +0200, Krzysztof Kozlowski wrote: > This patch prepares for changing the max14577 charger driver to allow > configuring battery-dependent settings from DTS. Acked-by: Mark Brown signature.asc Description: Digital signature

[PATCHv3 1/9] extcon: Add extcon_dev_allocate/free() to control the memory of extcon device

2014-04-24 Thread Chanwoo Choi
This patch add APIs to control the extcon device on extcon provider driver. The extcon_dev_allocate() allocates the memory of extcon device and initializes supported cables. And then extcon_dev_free() decrement the reference of the device of extcon device and free the memory of the extcon device. T

Re: [PATCH 2/2] gpio: of: Allow -gpio suffix for property names

2014-04-24 Thread Linus Walleij
On Wed, Apr 23, 2014 at 5:28 PM, Thierry Reding wrote: > From: Thierry Reding > > Many bindings use the -gpio suffix in property names. Support this in > addition to the -gpios suffix when requesting GPIOs using the new > descriptor-based API. > > Signed-off-by: Thierry Reding Are the DT bindi

[PATCHv3 2/9] extcon: Add devm_extcon_dev_allocate/free to manage the resource of extcon device

2014-04-24 Thread Chanwoo Choi
This patch add device managed devm_extcon_dev_{allocate,free} to automatically free the memory of extcon_dev structure without handling free operation. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-class.c | 70 +++ include/linux/extcon.h|

[PATCHv3 4/9] extcon: max77693: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/extcon/extcon-max77693.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/extcon/extcon-max77693.

Re: [PATCH 4/5] SUNRPC: track when a client connection is routed to the local host.

2014-04-24 Thread Anna Schumaker
On 04/23/2014 07:14 PM, NeilBrown wrote: > On Wed, 23 Apr 2014 09:44:12 -0400 Anna Schumaker > wrote: > >> On 04/22/2014 10:40 PM, NeilBrown wrote: >>> If requests are being sent to the local host, then NFS will >>> need to take care to avoid deadlocks. >>> >>> So keep track when accepting a conn

Re: [PATCH 1/3] sched, balancing: Update rq->max_idle_balance_cost whenever newidle balance is attempted

2014-04-24 Thread Peter Zijlstra
On Thu, Apr 24, 2014 at 02:04:15PM +0200, Peter Zijlstra wrote: > On Thu, Apr 24, 2014 at 03:44:47PM +0530, Preeti U Murthy wrote: > > What about the update of next_balance field? See the code snippet below. > > This will also be skipped as a consequence of the commit e5fc6611 right? > > > >

[PATCHv3 7/9] extcon: adc-jack: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-adc-jack.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon

[PATCHv3 5/9] extcon: max14577: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/extcon/extcon-max14577.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCHv3 9/9] extcon: palmas: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Cc: Graeme Gregory Cc: Kishon Vijay Abraham I Cc: Felipe Balbi Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Chanwoo Choi Acked-by: Lee Jones --- drivers/extcon/extcon-palmas.c | 35 +

Re: [PATCH 1/2] gpio: of: Remove unneeded dummy function

2014-04-24 Thread Linus Walleij
On Wed, Apr 23, 2014 at 5:28 PM, Thierry Reding wrote: > From: Thierry Reding > > of_find_gpio() is always called under an IS_ENABLED(CONFIG_OF), so the > dummy implementation provided for !OF configurations is not needed. > > Signed-off-by: Thierry Reding Patch applied. Yours, Linus Walleij

[PATCHv3 3/9] extcon: max8997: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/extcon/extcon-max8997.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c b/

[PATCHv3 0/9] extcon: Support devm_extcon_dev_allocate/free()

2014-04-24 Thread Chanwoo Choi
This patchset add devm_extcon_dev_allocate/free() for the resource management of extcon device. And devm_extcon_dev_allocate() handles all of supported cables. Changes from v2: - Resolve bisectable issue about patch-1 extcon: Add extcon_dev_allocate/free() to control the memory of extcon device

[PATCH 06/13] video: export fb_prepare_logo

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann Some drivers that may be loadable modules use the fb_prepare_logo function, so we have to export it. Found during randconfig builds with mmpfb. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fb..

linux-next: no release on April 25

2014-04-24 Thread Stephen Rothwell
Hi all, The next linux-next release will be next Monday. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpQ4IruGHW18.pgp Description: PGP signature

Re: [glibc PATCH v2] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-24 Thread Jeff Layton
On Thu, 24 Apr 2014 14:31:43 +0200 "Michael Kerrisk (man-pages)" wrote: > Jeff, > > Did you receive my mail with comments on the previous patch? > (I got no reply.) It looks like some of those comments that needed to > be addressed were not. > > Cheers, > > Michael > I did get the mail and t

[PATCH 08/13] video/backlight: LM3630A needs PWM

2014-04-24 Thread Peter Griffin
The LM3630A driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Based on Arnd Bergmann patch but split out into seperate commits per driver based on feedback. Signed-off-by: Arnd Berg

[PATCH 07/13] video: atmel needs FB_BACKLIGHT

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The atmel frame buffer driver doesn't build if FB_BACKLIGHT is disabled, so select it here as we do for lots of other drivers. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fb...@vger.kernel.org

[PATCH 12/13] video/backlight: LP855X needs PWM

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The LP855X driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jingoo Han Cc: Milo Kim Cc: Bryan

[PATCH 09/13] video/backlight: LP8788 needs PWM

2014-04-24 Thread Peter Griffin
The LP8788 driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Based on Arnd Bergmann patch but split out into seperate commits per driver based on feedback. Signed-off-by: Arnd Bergm

Re: [PATCH 1/3] ARM: dts: Add PMU reg node to exynos4210

2014-04-24 Thread Pankaj Dubey
Hi Vikas, On 04/24/2014 08:59 PM, Vikas Sajjan wrote: +Tomasz On Wed, Apr 2, 2014 at 1:32 PM, Pankaj Dubey wrote: This patch adds pmu regnode to exynos4210 dtsi to handle PMU register access via DT. Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos4210.dtsi |5 + 1 file c

[PATCH 13/13] video: omap: allow building on !MMU

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The omap lcdc driver has an elaborate mmap_kern function to map the frame buffer into kernel address space as write-combined. This uses functions that are only available on MMU-enabled builds. It does seem equivalent to ioremap_wc though, so we should be able to just use that

[PATCH 10/13] video/pxa: LCD_CORGI needs BACKLIGHT_CLASS_DEVICE

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann This fixes a randconfig build error when BACKLIGHT_CLASS_DEVICE is disabled, by describing the dependency in Kconfig, as we do for the other drivers in this directory. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jingoo Han Cc: Bryan Wu Cc: Lee Jones Cc:

Re: [PATCH v2 0/2] uprobes/tracing: uprobe_perf_open()->uprobe_apply() fix

2014-04-24 Thread Steven Rostedt
On Thu, 24 Apr 2014 13:54:58 +0200 Oleg Nesterov wrote: > On 04/23, Steven Rostedt wrote: > > > > Egad, this confused the heck out of me. I didn't notice the swap in > > functions and was wondering what you were doing. I didn't realize this > > is what you meant by moving the uprobe_perf_close()

Re: [PATCH] spi-bfin: Add missing gpio.h include

2014-04-24 Thread Mark Brown
On Thu, Apr 24, 2014 at 08:34:32AM -0400, Steven Rostedt wrote: > It's just annoying when my tests break on something that I'm not > testing ;-) With something like this clearly you are testing it, even if you didn't mean to! signature.asc Description: Digital signature

[PATCH 11/13] video/nuc900: allow modular build

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The frame buffer core may be a loadable module, and in this case, the nuc900 driver cannot be built-in. Turning it into a tristate option lets Kconfig work out the dependency and avoid broken builds. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christo

Re: [GIT PULL 0/4] phy: fixes for 3.15 -rc2

2014-04-24 Thread Kishon Vijay Abraham I
Hi Greg, On Saturday 19 April 2014 08:51 AM, Kishon Vijay Abraham I wrote: > Hi Greg, > > Here's the PULL requeust for PHY subsystem for this -rc cycle. It consissts of > a bunch of critical fixes in PHY. > > Let me know if I have to change anything. > > Thanks > Kishon > > The following chang

[PATCHv3 8/9] extcon: gpio: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-gpio.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extco

[PATCH 05/13] video/mbx: fix building debugfs support

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The mbx framebuffer debugfs support apparently hasn't been able to build for a long time, at least since 2006 when the u.generic_ip field in the inode was removed. This fixes the obvious bug, and also makes it possible to build the driver as a module when debugfs support is en

[PATCH RESEND] mcb: Add support for shared PCI IRQs

2014-04-24 Thread Johannes Thumshirn
Add support for shared PCI IRQs to mcb and mcb-pci. Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-core.c | 20 +++- drivers/mcb/mcb-pci.c | 17 - include/linux/mcb.h| 6 +- 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/drivers/m

[PATCHv3 6/9] extcon: arizona: Use devm_extcon_dev_allocate for extcon_dev

2014-04-24 Thread Chanwoo Choi
This patch use devm_extcon_dev_allocate() to simplify the memory control of extcon device. Cc: Charles Keepax Cc: Mark Brown Cc: patc...@opensource.wolfsonmicro.com Signed-off-by: Chanwoo Choi Acked-by: Charles Keepax --- drivers/extcon/extcon-arizona.c | 31 ++- 1

Re: [PATCH] spi-bfin: Add missing gpio.h include

2014-04-24 Thread Steven Rostedt
On Thu, 24 Apr 2014 12:33:46 +0100 Mark Brown wrote: > On Thu, Apr 24, 2014 at 11:33:29AM +0100, Mark Brown wrote: > > On Wed, Apr 23, 2014 at 10:40:35PM -0400, Steven Rostedt wrote: > > > Running my ktest.pl tests on all the archs, I stumbled over this for > > > 3.15-rc2: > > > > Applied, thank

Re: [PATCH 03/13] video: clarify I2C dependencies

2014-04-24 Thread Russell King - ARM Linux
On Thu, Apr 24, 2014 at 01:28:19PM +0100, Peter Griffin wrote: > From: Arnd Bergmann > > We can only use I2C support in frame buffer drivers if > Either I2C is built-in, or both I2C and the driver itself > are loadable modules. Why? -- FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kb

Re: [glibc PATCH v2] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-24 Thread Michael Kerrisk (man-pages)
Jeff, Did you receive my mail with comments on the previous patch? (I got no reply.) It looks like some of those comments that needed to be addressed were not. Cheers, Michael On 04/24/2014 02:15 PM, Jeff Layton wrote: > Open file description locks have been merged into the Linux kernel for > v

[PATCH 04/13] video/omap: fix modular build

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The framebuffer layer can be a loadable module, which forces omapfb to be a module as well. However, this breaks the lcd drivers, which are linked into the omapfb driver but each have their own module_init() function. To solve this, we split out the lcd drivers into separate m

[PATCH 00/13] video: Arnds randconfig fixes for video

2014-04-24 Thread Peter Griffin
This patchset series addresses various bugs found and fixed by Arnd Bergmann whilst doing randconfig builds. My involvement has been to review, add/check the maintainers are correct and submit upstream to try and reduce the backlog. Regards, Peter. Arnd Bergmann (11): video: sh_mobile_lcdcfb

Re: [PATCH v5 0/3] ahci: add support for hisilicon sata

2014-04-24 Thread Tejun Heo
On Wed, Apr 23, 2014 at 10:27:26AM -0400, Tejun Heo wrote: > Applied to libata/for-3.16. Reverted due to build failure. I was apparently too dependent on build-bot but what the hell? This isn't acceptable. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in t

[PATCH 02/13] video: omap2dss: fix LPAE warnings

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann If LPAE is enabled, dma_addr_t is 64 bit, so we have to change a few type for everything in this driver to match again. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fb...@vger.kernel.org Cc: li

[PATCH 03/13] video: clarify I2C dependencies

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann We can only use I2C support in frame buffer drivers if Either I2C is built-in, or both I2C and the driver itself are loadable modules. Fix this dependency for MB862XX and CyberPro frame buffers. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe

[PATCH 01/13] video: sh_mobile_lcdcfb depends on meram

2014-04-24 Thread Peter Griffin
From: Arnd Bergmann The sh_mobile_lcdcfb driver calls interfaces provided by the corresponding "meram" helper. This fails if meram is a module but lcdcfb is built-in. To work around it, this uses special Kconfig magic to only allow lcdcfb to be built if a) both are modules, b) meram is built-in,

Re: [PATCH 1/1] uprobes/tracing: uprobe_perf_open() forgets to handle the error from uprobe_apply()

2014-04-24 Thread Oleg Nesterov
On 04/24, Srikar Dronamraju wrote: > > Acked-by: Srikar Dronamraju Thanks, included! > > + tu->filter.nr_systemwide--; > > done = tu->filter.nr_systemwide; > > - tu->filter.nr_systemwide++; > > } > > Nit: I think 2 lines can be made into > done = --tu->filter

[PATCH 3/3] sched: idle: Store the idle state the cpu is

2014-04-24 Thread Daniel Lezcano
When the cpu enters idle it stores the cpuidle state pointer in the struct rq which in turn could be used to take a right decision when balancing a task. As soon as the cpu exits the idle state, the structure is filled back with the NULL pointer. There are a couple of situations where the idle st

Re: [RFC PATCH 2/2] PCI: exynos: Add PCIe support for Samsung GH7 SoC

2014-04-24 Thread Arnd Bergmann
On Wednesday 23 April 2014, Liviu Dudau wrote: > On Wed, Apr 23, 2014 at 10:19:30AM +0100, Kukjin Kim wrote: > > Arnd Bergmann wrote: > > > > > > Can you explain how much the GH7 and Exynos front-ends actually have in > > > common? Would it make sense to have a separate driver for gh7? > > > > >

Re: linux-next: build failure after merge of the libata tree

2014-04-24 Thread Tejun Heo
Hello, On Thu, Apr 24, 2014 at 11:17:54AM +1000, Stephen Rothwell wrote: > After merging the libata tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/ata/libahci_platform.c: In function 'ahci_platform_init_host': > drivers/ata/libahci_platform.c:317:20: warning:

[PATCH 2/3] sched: idle: Add sched balance option

2014-04-24 Thread Daniel Lezcano
This patch adds a sysctl schedule balance option to choose against: * auto(0) * performance (1) * power (2) It relies on the recently added notifier to monitor the power supply changes. If the scheduler balance option is set to 'auto', then when the system switches to battery, th

[PATCH 1/3] sched: idle: Encapsulate the code to compile it out

2014-04-24 Thread Daniel Lezcano
Encapsulate the large portion of cpuidle_idle_call inside another function so when CONFIG_CPU_IDLE=n, the code will be compiled out. Also that is benefitial for the clarity of the code as it removes a nested indentation level. Signed-off-by: Daniel Lezcano --- kernel/sched/idle.c | 161

Re: commit 0bf1457f0cfca7b " mm: vmscan: do not swap anon pages just because free+file is low" causes heavy performance regression on paging

2014-04-24 Thread Johannes Weiner
Hi Rik, On Tue, Apr 22, 2014 at 10:40:17AM -0400, Rik van Riel wrote: > On 04/22/2014 07:57 AM, Christian Borntraeger wrote: > > On 22/04/14 12:55, Christian Borntraeger wrote: > >> While preparing/testing some KVM on s390 patches for the next merge window > >> (target is kvm/next which is based

[PATCH 0/3] sched: idle: Provide the basis to integrate cpuidle

2014-04-24 Thread Daniel Lezcano
This patchset provides three patches for the basis to integrate cpuidle with the scheduler. The first patch is a cleanup. The second one adds the sched balance option as requested by Ingo. The third one stores the idle state a cpu is and adds a rcu_barrier() to prevent races when using the pointe

Re: ftrace/kprobes: Warning when insmod two modules

2014-04-24 Thread Steven Rostedt
On Thu, 24 Apr 2014 17:08:56 +0930 Rusty Russell wrote: > OTOH, if it's just ftrace (do tracepoints have an issue?) I'd rather > hardcode a ftrace_init_module() call in exactly the right place. > Notifiers which are sensitive to their exact call location tend give me > the creeps... I think I li

Re: [PATCH] arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h

2014-04-24 Thread David Vrabel
On 18/04/14 16:54, Julien Grall wrote: > virt_to_pfn has been defined in asm/memory.h by the commit e26a9e0 "ARM: > Better > virt_to_page() handling" > > This will result of a compilation warning when CONFIG_XEN is enabled. > > arch/arm/include/asm/xen/page.h:80:0: warning: "virt_to_pfn" redefin

Re: [patch] mm: memcontrol: remove hierarchy restrictions for swappiness and oom_control

2014-04-24 Thread Johannes Weiner
On Fri, Apr 18, 2014 at 01:36:11PM +0200, Michal Hocko wrote: > On Wed 16-04-14 17:13:18, Johannes Weiner wrote: > > Per-memcg swappiness and oom killing can currently not be tweaked on a > > memcg that is part of a hierarchy, but not the root of that hierarchy. > > Users have complained that they

Re: [PATCH 2/3] sched: Initialize newidle balance stats in sd_numa_init()

2014-04-24 Thread Peter Zijlstra
On Wed, Apr 23, 2014 at 06:30:34PM -0700, Jason Low wrote: > Also initialize the per-sd variables for newidle load balancing > in sd_numa_init(). Vincent actually fixed this 'by accident' in his topology rework, but I'll queue this for .15 and fix the conflict with his patch, which is queued for .

[glibc PATCH v2] fcntl-linux.h: add new definitions and manual updates for open file description locks

2014-04-24 Thread Jeff Layton
Open file description locks have been merged into the Linux kernel for v3.15. Add the appropriate command-value definitions and an update to the manual that describes their usage. ChangeLog: 2014-04-24 Jeff Layton [BZ#16839] * manual/llio.texi: add section about open file des

Re: [RFC 0/3] DRM driver for the ATMEL High end LCD controller

2014-04-24 Thread Boris BREZILLON
Hi Tim, On 23/04/2014 17:36, Tim Niemeyer wrote: > Hi Jean-Jacques, > > Am Freitag, den 18.04.2014, 11:45 +0200 schrieb Jean-Jacques Hiblot: >> Hi, >> >> this patch serie implements a simple DRM driver for the ATMEL High end LCD >> controller found in the SAMA5 familly. It's based on the tilcdc dr

[PATCH 3.11 003/182] ARM: 7954/1: mm: remove remaining domain support from ARMv6

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b6ccb9803e90c16b212cf4ed62913a7591e79a39 upstream. CPU_32v6 currently selects CPU_USE_DOMAINS if CPU_V6 and MMU. This is because ARM 1136 r0pX CPUs lack the v6k exten

[PATCH 3.11 002/182] w1: fix w1_send_slave dropping a slave id

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: David Fries commit 6b355b33a64fd6d8ead2b838ec16fb9b551f71e8 upstream. Previous logic, if (avail > 8) { store slave; return; } send data; clear; The logic error is, if t

[PATCH 3.11 004/182] matroxfb: restore the registers M_ACCESS and M_PITCH

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit a772d4736641ec1b421ad965e13457c17379fc86 upstream. When X11 is running and the user switches back to console, the card modifies the content of registers M_MACCESS

[GIT PULL] regulator updates for v3.15

2014-04-24 Thread Mark Brown
The following changes since commit a798c10faf62a505d24e5f6213fbaf904a39623f: Linux 3.15-rc2 (2014-04-20 11:08:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v3.15-rc2 for you to fetch changes up to 389625

Re: 3.15-rc2: i915 regression: only top 20% of screen works in X

2014-04-24 Thread Jiri Kosina
On Thu, 24 Apr 2014, Pavel Machek wrote: > > That says that i915.ko failed to initialise the GPU (or rather the GPU > > wasn't responding) and bailed during module load. The key line here is > > > [drm:init_ring_common] *ERROR* render ring initialization failed ctl > > 0001f001 head 2034 tai

[PATCH 3.11 005/182] framebuffer: fix cfb_copyarea

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 00a9d699bc85052d2d3ed56251cd928024ce06a3 upstream. The function cfb_copyarea is buggy when the copy operation is not aligned on long boundary (4 bytes on 32-bit m

[PATCH 1/1] init/Kconfig: improve CC_OPTIMIZE_FOR_SIZE documentation

2014-04-24 Thread Michael Opdenacker
Signed-off-by: Michael Opdenacker --- init/Kconfig | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 9d3585bb2a7a..b6394a9ddc38 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1251,7 +1251,19 @@ config CC_OPTIMIZE_FOR_SIZE

[3.11.y.z extended stable] Linux 3.11.10.9 stable review

2014-04-24 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.11.10.9 stable kernel. This version contains 182 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.11.y-review

[PATCH 0/1] init/Kconfig: improve CC_OPTIMIZE_FOR_SIZE documentation

2014-04-24 Thread Michael Opdenacker
This patch proposes to warn users about the negative performance impact of CC_OPTIMIZE_FOR_SIZE (compiling with -Os instead of -O2). For the moment, we are just advising users not to select this option, but extra details would be useful. I made some experiments with this option. All of them yielde

[PATCH 3.11 006/182] mach64: use unaligned access

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit c29dd8696dc5dbd50b3ac441b8a26751277ba520 upstream. This patch fixes mach64 to use unaligned access to the font bitmap. This fixes unaligned access warning on spa

[PATCH 3.11 007/182] mach64: fix cursor when character width is not a multiple of 8 pixels

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 43751a1b8ee2e70ce392bf31ef3133da324e68b3 upstream. This patch fixes the hardware cursor on mach64 when font width is not a multiple of 8 pixels. If you load such

Re: [PATCH 1/3] sched, balancing: Update rq->max_idle_balance_cost whenever newidle balance is attempted

2014-04-24 Thread Peter Zijlstra
On Thu, Apr 24, 2014 at 03:44:47PM +0530, Preeti U Murthy wrote: > What about the update of next_balance field? See the code snippet below. > This will also be skipped as a consequence of the commit e5fc6611 right? > > if (pulled_task || time_after(jiffies, this_rq->next_balance)) { >

[PATCH 3.11 010/182] tgafb: fix data copying

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 6b0df6827bb6fcacb158dff29ad0a62d6418b534 upstream. The functions for data copying copyarea_foreward_8bpp and copyarea_backward_8bpp are buggy, they produce screen

[PATCH 3.11 001/182] drm/i915: quirk invert brightness for Acer Aspire 5336

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 0f540c3a7cfb91c9d7a19eb0c95c24c5de1197d5 upstream. Since commit ee1452d7458451a7508e0663553ce88d63958157 Author: Jani Nikula Date: Fri Sep 20 15:05:30 2013 +0300

[PATCH 3.11 009/182] tgafb: fix mode setting with fbset

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 624966589041deb32a2626ee2e176e8274581101 upstream. Mode setting in the TGA driver is broken for these reasons: - info->fix.line_length is set just once in tgafb_

Re: [PATCH V2 0/5] Huge pages for short descriptors on ARM

2014-04-24 Thread Steve Capper
On 24 April 2014 12:03, Russell King - ARM Linux wrote: > On Thu, Apr 24, 2014 at 11:55:56AM +0100, Steve Capper wrote: >> On 24 April 2014 11:42, Russell King - ARM Linux >> wrote: >> > On Thu, Apr 24, 2014 at 11:36:39AM +0100, Will Deacon wrote: >> >> I guess I'm after some commitment that thi

[PATCH 3.11 012/182] ARM: dts: Keep G3D regulator always on for exynos5250-arndale

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Tomasz Figa commit bfeda827278f09f4db35877e5f1ca9c149ca2890 upstream. Apparently, if G3D regulator is powered off, the SoC cannot enter low power modes and just hangs. This patch fixes

[PATCH 3.11 008/182] tgafb: potential NULL dereference in init

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 0ede5804ca3b42c831f7440ec29bc7187e5376bb upstream. Static checkers complain that there are paths where "tga_type_name" can be NULL. I've re-arranged the code sligh

[PATCH 3.11 013/182] ext4: fix error return from ext4_ext_handle_uninitialized_extents()

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Whitney commit ce37c42919608e96ade3748fe23c3062a0a966c5 upstream. Commit 3779473246 breaks the return of error codes from ext4_ext_handle_uninitialized_extents() in ext4_ext_map_bl

[PATCH 3.11 016/182] x86, AVX-512: AVX-512 Feature Detection

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Fenghua Yu commit 8e5780fdeef7dc490b3f0b3a62704593721fa4f3 upstream. AVX-512 is an extention of AVX2. Its spec can be found at: http://download-software.intel.com/sites/default/files/ma

Re: [PATCH 1/3] ARM: dts: Add PMU reg node to exynos4210

2014-04-24 Thread Vikas Sajjan
+Tomasz On Wed, Apr 2, 2014 at 1:32 PM, Pankaj Dubey wrote: > This patch adds pmu regnode to exynos4210 dtsi to handle > PMU register access via DT. > > Signed-off-by: Pankaj Dubey > --- > arch/arm/boot/dts/exynos4210.dtsi |5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/a

[PATCH 3.11 014/182] usb: dwc3: fix wrong bit mask in dwc3_event_devt

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Huang Rui commit 06f9b6e59661cee510b04513b13ea7927727d758 upstream. Around DWC USB3 2.30a release another bit has been added to the Device-Specific Event (DEVT) Event Information (EvtIn

[PATCH 3.11 017/182] s390/cio: fix driver callback initialization for ccw consoles

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Ott commit 2253e8d79237c69086ded391e6767afe16972527 upstream. ccw consoles are in use before they can be properly registered with the driver core. For devices which are in use

Re: f2fs causes system stall

2014-04-24 Thread Marc Dietrich
Hi, On Thu, 24 Apr 2014 08:54:30 +0900 Jaegeuk Kim wrote: > Thank you for the report. > When I veiwed the patch at a glance, it seems that reverting is not a > good way. > > Instead, could you share the f2fs commit point that you're using? > Then, since I have a suspect for this issue, I'd like

[PATCH 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-04-24 Thread Boris BREZILLON
The P2WI looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one slave device, and thus drop the address field - it adds a parity bit every 8bits of data - only one read access is required to rea

[PATCH 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-04-24 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/i2c/i2c-sunx

[PATCH v2 0/2] uprobes/tracing: uprobe_perf_open()->uprobe_apply() fix

2014-04-24 Thread Oleg Nesterov
On 04/23, Steven Rostedt wrote: > > Egad, this confused the heck out of me. I didn't notice the swap in > functions and was wondering what you were doing. I didn't realize this > is what you meant by moving the uprobe_perf_close() up. I was thinking > you moved the call up or something, not the fun

[PATCH 0/2] i2c: sunxi: add P2WI controller support

2014-04-24 Thread Boris BREZILLON
Hello, This series adds support for the P2WI block used by some Allwinner boards to interface with the AXP221 PMIC. I'm still not sure on how this bus should be integrated into the I2C subsystem: There was a discussion about adding new I2C flags: [1], but, I want to reuse the existing axp209 driv

[PATCH v2 2/2] uprobes/tracing: Fix uprobe_perf_open() on uprobe_apply() failure

2014-04-24 Thread Oleg Nesterov
uprobe_perf_open()->uprobe_apply() can fail, but this error is wrongly ignored. Change uprobe_perf_open() to do uprobe_perf_close() and return the error code in this case. Change uprobe_perf_close() to propogate the error from uprobe_apply() as well, although it should not fail. Signed-off-by: Ol

[PATCH v2 1/2] uprobes/tracing: Make uprobe_perf_close() visible to uprobe_perf_open()

2014-04-24 Thread Oleg Nesterov
Preparation. Move uprobe_perf_close() up before uprobe_perf_open() to avoid the forward declaration in the next patch and make it readable. Signed-off-by: Oleg Nesterov Acked-by: Steven Rostedt Acked-by: Srikar Dronamraju --- kernel/trace/trace_uprobe.c | 36 ++---

[PATCH 3.11 019/182] [media] omap3isp: preview: Fix the crop margins

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Vaussard commit 8b57b9669aa884ac75b8d09c251d6b1755533c15 upstream. Commit 3fdfedaaa "[media] omap3isp: preview: Lower the crop margins" accidentally changed the previewer's crop

[PATCH 3.11 018/182] ARM: Fix default CPU selection for ARCH_MULTI_V5

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn commit 12567bbdee7ea553237085a2bbc0ffa5240f5248 upstream. CPU_ARM926T should be selected if no other CPU is. Put the ! in the right place so this works. Signed-off-by: Andr

[PATCH 3.11 011/182] hvc: ensure hvc_init is only ever called once in hvc_console.c

2014-04-24 Thread Luis Henriques
3.11.10.9 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Gortmaker commit f76a1cbed18c86e2d192455f0daebb48458965f3 upstream. Commit 3e6c6f630a5282df8f3393a59f10eb9c56536d23 ("Delay creation of khcvd thread") moved the call of hvc_init fr

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