[PATCH v2 1/4] regulator: Add ena_gpio_initialized to regulator_config

2014-10-08 Thread Markus Pargmann
Most drivers do not set the ena_gpio field of struct regulator_config before passing it to the regulator core. This is fine as long as the gpio identifier that is passed is a positive integer. But the gpio identifier 0 is also valid. So we are not able to decide wether we got a real gpio

[PATCH v2 4/4] regulator: gpio: Use gpio_is_valid

2014-10-08 Thread Markus Pargmann
Use gpio_is_valid instead of an explicit comparison with 0. Signed-off-by: Markus Pargmann --- drivers/regulator/gpio-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index

[PATCH v2 3/4] regulator: fixed: Use gpio_is_valid

2014-10-08 Thread Markus Pargmann
Use gpio_is_valid instead of an explicit comparison with 0. Signed-off-by: Markus Pargmann --- drivers/regulator/fixed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 441a3e90e266..696f53cc1927 100644 ---

[PATCH 4/5] regulator: max77802: Add regulator operating mode set support

2014-10-08 Thread Javier Martinez Canillas
Add a function handler for the struct regulator_ops .set_mode so an operating mode (opmode) can be set for regulators. Regulators opmode are defined using the generic REGULATOR_MODE_* modes so the driver maps these generic modes to the device-specific operating modes as stated in the hardware

[PATCH 1/5] regulator: of: Add regulator-initial-mode parse support

2014-10-08 Thread Javier Martinez Canillas
The regulator core allows boards to define an initial operating mode to be used as a default for regulators. With board files and platform data, it is possible to fill a struct regulation_constraints .initial_mode to set an initial mode for each regulator. But currently there isn't a way to do

[PATCH 5/5] ARM: dts: Add initial regulator mode on exynos Peach boards

2014-10-08 Thread Javier Martinez Canillas
The regulator core now has support to choose a default initial operating mode for regulators from DT. Set the initial opmode for the max77802 PMIC regulators with the same modes that are used in the downstream ChromeOS kernel, in order to allow the system to lower power at suspend time.

[PATCH 2/5] regulator: dt-bindings: Add DT include for constants

2014-10-08 Thread Javier Martinez Canillas
Device Tree source files can set a regulator operating mode to be used as an initial default. Instead of using magic numbers, a header file can be included that provides macro definitions for the opmodes. Signed-off-by: Javier Martinez Canillas --- include/dt-bindings/regulator/regulator.h | 16

[PATCH 3/5] regulator: dt-bindings: Add regulator-initial-mode support

2014-10-08 Thread Javier Martinez Canillas
Regulators can run on different operating modes (opmodes). This allows systems to choose the most efficient opmode for each regulator. The regulator core defines a set of generic modes so each system can define the opmode in these generic terms and drivers are responsible to map the generic modes

Re: [PATCH v8] checkkconfigsymbols.sh: reimplementation in python

2014-10-08 Thread Michal Marek
On 2014-10-04 11:29, Valentin Rothberg wrote: > On Wed, Oct 1, 2014 at 4:58 PM, Michal Marek wrote: >> On 2014-09-29 19:05, Valentin Rothberg wrote: >>> The scripts/checkkconfigsymbols.sh script searches Kconfig features >>> in the source code that are not defined in Kconfig. Such identifiers >>>

Re: [PATCH] misc: always assign miscdevice to file->private_data in open()

2014-10-08 Thread Greg KH
On Wed, Oct 08, 2014 at 10:47:54AM +0200, Martin Kepplinger wrote: > As of now, a miscdevice driver has to provide an implementation of > the open() file operation if it wants to have misc_open() assign a > pointer to struct miscdevice to file->private_data for other file > operations to use

Re: [PATCH 12/13] leds: leds-gpio: Make use of device property API

2014-10-08 Thread Rafael J. Wysocki
On Tuesday, October 07, 2014 02:18:45 AM Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make use of device property API in this driver so that both OF and ACPI > based system can use the same driver. > > This change contains material from Max Eliaser and Mika Westerberg. > >

Re: [PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support

2014-10-08 Thread Chen-Yu Tsai
On Wed, Oct 8, 2014 at 9:32 PM, Dinh Nguyen wrote: > > > On 10/8/14, 8:02 AM, Chen-Yu Tsai wrote: >> The A80 Optimus Board is was launched with the Allwinner A80 SoC. >> It was jointly developed by Allwinner and Merrii. >> >> This board has a UART port, a JTAG connector, USB host ports, a USB >>

Re: [PATCH 11/13] gpio: Support for unified device properties interface

2014-10-08 Thread Rafael J. Wysocki
On Wednesday, October 08, 2014 11:55:08 AM Alexandre Courbot wrote: > On Wed, Oct 8, 2014 at 9:09 AM, Rafael J. Wysocki wrote: > > On Tuesday, October 07, 2014 07:52:02 PM Alexandre Courbot wrote: > >> On Tue, Oct 7, 2014 at 7:40 PM, Mika Westerberg > >> wrote: > >> > On Tue, Oct 07, 2014 at

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread Will Deacon
On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundation.org wrote: > On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: > > On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: > > > hi all, > > > > > > > > > ref-cycles event

Re: [GIT PULL] dmaengine-3.17, close my dmaengine tree

2014-10-08 Thread Stephen Rothwell
Hi Dan, On Sun, 28 Sep 2014 09:45:04 -0700 Dan Williams wrote: > > Stephen: please remove the dmaengine tree from -next: I have done that now that Linus has merged it. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

Re: [PATCH 3/6] dt-bindings: Document Broadcom Cygnus SoC and clock driver

2014-10-08 Thread Arnd Bergmann
On Wednesday 08 October 2014 03:58:15 Scott Branden wrote: > On 14-10-08 12:57 AM, Arnd Bergmann wrote: > > On Tuesday 07 October 2014 22:27:02 Scott Branden wrote: > >> diff --git a/Documentation/devicetree/bindings/arm/cygnus.txt > >> b/Documentation/devicetree/bindings/arm/cygnus.txt > >> new

Re: [PATCH 3.16 00/26] 3.16.5-stable review

2014-10-08 Thread Greg Kroah-Hartman
On Wed, Oct 08, 2014 at 09:39:50PM +0900, Satoru Takeuchi wrote: > At Tue, 7 Oct 2014 21:48:04 -0700, > Greg Kroah-Hartman wrote: > > > > On Tue, Oct 07, 2014 at 07:47:13PM -0700, Guenter Roeck wrote: > > > On 10/07/2014 04:19 PM, Greg Kroah-Hartman wrote: > > > >This is the start of the stable

Re: [patch 2/3] mm: memcontrol: remove obsolete kmemcg pinning tricks

2014-10-08 Thread Michal Hocko
On Sat 20-09-14 16:00:34, Johannes Weiner wrote: > As charges now pin the css explicitely, there is no more need for > kmemcg to acquire a proxy reference for outstanding pages during > offlining, or maintain state to identify such "dead" groups. > > Signed-off-by: Johannes Weiner More than

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread gre...@linuxfoundation.org
On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: > On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: > > hi all, > > > > > > ref-cycles event is specially to Intel core, but can still used in arm > > architecture > > with the

Re: [PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support

2014-10-08 Thread Dinh Nguyen
On 10/8/14, 8:02 AM, Chen-Yu Tsai wrote: > The A80 Optimus Board is was launched with the Allwinner A80 SoC. > It was jointly developed by Allwinner and Merrii. > > This board has a UART port, a JTAG connector, USB host ports, a USB > 3.0 OTG connector, an HDMI output, a micro SD slot, 8G NAND

Re: [PATCH v9 1/3] drm: rockchip: Add basic drm driver

2014-10-08 Thread Steven Newbury
On Wed, 2014-10-08 at 09:17 +0800, Mark yao wrote: > Hi Steven > I'm glad to see you to discuss about rk29xx. > > On 2014年10月08日 06:26, Steven Newbury wrote: > > I've just been discussing how this relates to rk29xx on #etnaviv. > > I > > looked through the patch and it's good to see it's

Re: [PATCH v2 2/2] dt: bindings: tps65217: add compatible property for subnodes

2014-10-08 Thread Lee Jones
On Wed, 08 Oct 2014, Johannes Pointner wrote: > 2014-10-08 12:47 GMT+02:00 Lee Jones : > > On Wed, 08 Oct 2014, Johannes Pointner wrote: > > > >> 2014-10-06 23:22 GMT+02:00 Lee Jones : > >> > On Thu, 25 Sep 2014, Johannes Pointner wrote: > >> > > >> >> Add documentation for compatible property of

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Arnd Bergmann
On Wednesday 08 October 2014 05:27:24 Scott Branden wrote: > >> diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig > >> index fc93800..2dd3f78 100644 > >> --- a/arch/arm/mach-bcm/Kconfig > >> +++ b/arch/arm/mach-bcm/Kconfig > >> @@ -5,6 +5,37 @@ menuconfig ARCH_BCM > >> > >> if

Re: [patch 1/3] mm: memcontrol: take a css reference for each charged page

2014-10-08 Thread Michal Hocko
On Wed 08-10-14 15:27:54, Michal Hocko wrote: > On Sat 20-09-14 16:00:33, Johannes Weiner wrote: [...] > > @@ -2803,8 +2808,10 @@ static void memcg_uncharge_kmem(struct mem_cgroup > > *memcg, > > page_counter_uncharge(>memsw, nr_pages); > > > > Wouldn't a single out_css_put be more

Re: [patch 1/3] mm: memcontrol: take a css reference for each charged page

2014-10-08 Thread Michal Hocko
On Sat 20-09-14 16:00:33, Johannes Weiner wrote: > Charges currently pin the css indirectly by playing tricks during > css_offline(): user pages stall the offlining process until all of > them have been reparented, whereas kmemcg acquires a keep-alive > reference if outstanding kernel pages are

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-08 Thread Greg KH
On Wed, Oct 08, 2014 at 02:42:56PM +0300, Roger Quadros wrote: > Oussama, > > On 10/08/2014 01:54 PM, Oussama Ghorbel wrote: > > Hi Roger, > > > > Should I resend this v2 version of the patch to sta...@vger.kernel.org > > which is suitable for v3.17 and which will require a very tiny

[PATCH] blk-mq: Use all available hardware queues

2014-10-08 Thread Bart Van Assche
Suppose that a system has two CPU sockets, three cores per socket, that it does not support hyperthreading and that four hardware queues are provided by a block driver. With the current algorithm this will lead to the following assignment of CPU cores to hardware queues: HWQ 0: 0 1 HWQ 1: 2 3

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Rob Herring
On Wed, Oct 8, 2014 at 12:27 AM, Scott Branden wrote: > From: Jonathan Richardson > > Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. > > Reviewed-by: Ray Jui > Reviewed-by: Desmond Liu > Reviewed-by: JD (Jiandong) Zheng > Tested-by: Jonathan Richardson >

[PATCH v3 2/2] xen/arm: introduce GNTTABOP_cache_flush

2014-10-08 Thread Stefano Stabellini
Introduce support for new hypercall GNTTABOP_cache_flush. Use it to perform cache flashing on pages used for dma when necessary. Signed-off-by: Stefano Stabellini --- Changes in v3: - fix the cache maintenance op call to match what Linux does natively; - update the hypercall interface to match

[PATCH v3 1/2] xen/arm: remove handling of XENFEAT_grant_map_identity

2014-10-08 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini --- Changes in v2: - remove the definition of XENFEAT_grant_map_identity. --- arch/arm/xen/enlighten.c |5 --- arch/arm/xen/mm32.c | 85 +- include/xen/interface/features.h |3 -- 3 files

[PATCH v3 0/2] introduce GNTTABOP_cache_flush

2014-10-08 Thread Stefano Stabellini
Hi all, this patch series introduces support for GNTTABOP_cache_flush to perform cache maintenance operation on foreign pages and reverts the current code based on XENFEAT_grant_map_identity. Changes in v3: - fix the cache maintenance op call to match what Linux does natively; - update the

[PATCH v3 2/5] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-10-08 Thread Chen-Yu Tsai
The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and 4 Cortex-A15 cores in a big.LITTLE architecture, and a 64-core PowerVR G6230 GPU. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 257 +++ 1 file changed, 257 insertions(+)

[PATCH v3 1/5] ARM: sunxi: Introduce Allwinner A80 support

2014-10-08 Thread Chen-Yu Tsai
The Allwinner A80 is a new Cortex octo-core A7/A15 big.LITTLE SoC. While it's processor cores and interconnecting bus are new, it re-uses many peripherals found in earlier Allwinner SoCs. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/Kconfig | 5 + arch/arm/mach-sunxi/sunxi.c | 9

[PATCH v3 3/5] ARM: dts: sun9i: Add A80 Optimus Board support

2014-10-08 Thread Chen-Yu Tsai
The A80 Optimus Board is was launched with the Allwinner A80 SoC. It was jointly developed by Allwinner and Merrii. This board has a UART port, a JTAG connector, USB host ports, a USB 3.0 OTG connector, an HDMI output, a micro SD slot, 8G NAND flash, 4G DRAM, a camera sensor interface, a WiFi/BT

[PATCH] X.509: Fix certificate gathering again

2014-10-08 Thread Michal Marek
Commit d7ec435f (X.509: Fix certificate gathering) fixed the issue of changing .x509.list, but in the CONFIG_MODULE_SIG=y case, it assumed that $(objtree) is an absolute path. Commit 7e1c0477 (kbuild: Use relative path for $(objtree)) broke this assumption and we get uncecessary rebuilds again.

[PATCH v3 5/5] Documentation: sunxi: Add A80 datasheet link

2014-10-08 Thread Chen-Yu Tsai
We now have initial support for the A80, as well a the datasheet. Update the documents to reflect this. Signed-off-by: Chen-Yu Tsai --- Documentation/arm/sunxi/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/arm/sunxi/README

[PATCH v3 4/5] devicetree: bindings: Document supported Allwinner sunxi SoCs

2014-10-08 Thread Chen-Yu Tsai
This adds a list of supported Allwinner SoC bindings. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/arm/sunxi.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sunxi.txt diff --git

[PATCH v3 0/5] ARM: sunxi: Add basic support for Allwinner A80 SoC

2014-10-08 Thread Chen-Yu Tsai
Hi everyone, This is v3 of the initial Allwinner A80 support series. This patch series adds very basic support for Allwinner's A80 SoC, a big.LITTLE architecture with 4 Cortex-A7s and 4 Cortex-A15s. Development is done on the A80 Optimus Board, the defacto development board for the A80, with the

Re: [PATCH 0/8] ASoC: fsl: Refine DT binding documents for more readability

2014-10-08 Thread Mark Brown
On Tue, Oct 07, 2014 at 12:29:03PM -0700, Nicolin Chen wrote: > This series of patches simply add indentations and blank lines to each DT > binding documents of Freescale ASoC drivers so as to make them more clear > and readable. Applied all, thanks. signature.asc Description: Digital signature

Re: [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove

2014-10-08 Thread Mark Brown
On Wed, Oct 08, 2014 at 11:16:11AM +0200, Linus Walleij wrote: > On Wed, Oct 8, 2014 at 10:05 AM, Lee Jones wrote: Please don't send upstream mail to my work account (which I've never used for upstream mail and isn't advertised in MAINTAINERS), it mostly gets deleted unread. > > With the influx

Re: [PATCH 1/7] sched: Introduce scale-invariant load tracking

2014-10-08 Thread Dietmar Eggemann
Hi Yuyang, On 08/10/14 01:50, Yuyang Du wrote: > Hi Morten, > > Sorry for late jumping in. > > The problem seems to be self-evident. But for the implementation to be > equally attractive it needs to account for every freq change for every task, > or anything less than that makes it less

Re: [PATCH v2 2/2] Documentation: dmaengine: Add a documentation for the dma controller API

2014-10-08 Thread Vinod Koul
On Tue, Oct 07, 2014 at 06:05:15PM +0300, Laurent Pinchart wrote: > > > > > > Beware, it can be confusing when mixing "descriptors" and "hardware > > > descriptors". The ones used by the DMA controller itself to describe the > > > chunks of data (hardware descriptors) and the ones that would

Re: [PATCH v4 0/4] Correct vendor-prefix and document device isl29028

2014-10-08 Thread Sergei Shtylyov
Hello. On 10/8/2014 1:15 PM, Dan Carpenter wrote: These probably should have been sent to devicet...@vger.kernel.org. Use the maintainer.pl script. You surely meant scripts/get_maintainer.pl. :-) regards, dan carpenter WBR, Sergei -- To unsubscribe from this list: send the line

Re: [PATCH] regulator: rk808: Add support setting suspend voltage

2014-10-08 Thread Mark Brown
On Tue, Oct 07, 2014 at 10:48:41AM -0700, Doug Anderson wrote: > On Tue, Oct 7, 2014 at 1:43 AM, Chris Zhong wrote: > > support setting suspend voltage and disable regulator in suspend. Doug, please delete unneeded context from mails, paging through screen after screen of irrelevant text on the

Re: [PATCH 2/3] ARM: vfp: fix VFPv3 hwcap detection on non-ARM vfp implementations

2014-10-08 Thread Will Deacon
Hi all, On Wed, Oct 01, 2014 at 06:54:18PM +0100, Stephen Boyd wrote: > On 09/19/14 11:24, Stephen Boyd wrote: > > On 09/18/14 15:46, Russell King - ARM Linux wrote: > >> I know that you're changing this to conform with the ARM ARM, but we > >> have to consider that before VFP was subsumed into

Re: [patch 0/3] mm: memcontrol: eliminate charge reparenting

2014-10-08 Thread Michal Hocko
On Sat 20-09-14 16:00:32, Johannes Weiner wrote: > Hi, > > we've come a looong way when it comes to the basic cgroups model, and > the recent changes there open up a lot of opportunity to make drastic > simplifications to memory cgroups as well. > > The decoupling of css from the user-visible

[PATCH] modules, lock around setting of MODULE_STATE_UNFORMED

2014-10-08 Thread Prarit Bhargava
A panic was seen in the following sitation. There are two threads running on the system. The first thread is a system monitoring thread that is reading /proc/modules. The second thread is loading and unloading a module (in this example I'm using my simple dummy-module.ko). Note, in the "real

Re: [PATCH v2 2/2] Documentation: dmaengine: Add a documentation for the dma controller API

2014-10-08 Thread Vinod Koul
On Tue, Oct 07, 2014 at 04:52:26PM +0200, Maxime Ripard wrote: > > >> +Moreover, some DMA controllers, whenever the RAM is involved, can > > > > > > s/the RAM is involved/RAM is used as a source or destination/ ? > > > > > >> +group the reads or writes in memory into a buffer, so instead of > >

Re: [PATCH 3.16 00/26] 3.16.5-stable review

2014-10-08 Thread Satoru Takeuchi
At Tue, 7 Oct 2014 21:48:04 -0700, Greg Kroah-Hartman wrote: > > On Tue, Oct 07, 2014 at 07:47:13PM -0700, Guenter Roeck wrote: > > On 10/07/2014 04:19 PM, Greg Kroah-Hartman wrote: > > >This is the start of the stable review cycle for the 3.16.5 release. > > >There are 26 patches in this series,

Re: [patch 2/3] mm: hugetlb_controller: convert to lockless page counters

2014-10-08 Thread Johannes Weiner
On Tue, Oct 07, 2014 at 05:21:49PM +0200, Michal Hocko wrote: > On Wed 24-09-14 11:43:09, Johannes Weiner wrote: > > Abandon the spinlock-protected byte counters in favor of the unlocked > > page counters in the hugetlb controller as well. > > > > Signed-off-by: Johannes Weiner > > One minor

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-08 Thread Octavian Purdila
On Wed, Oct 8, 2014 at 3:04 PM, Johan Hovold wrote: > On Wed, Oct 08, 2014 at 01:54:07PM +0300, Octavian Purdila wrote: >> On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold wrote: >> > On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: >> > >> >> +static void dln2_rx_transfer(struct

Re: [patch 1/3] mm: memcontrol: lockless page counters

2014-10-08 Thread Johannes Weiner
On Tue, Oct 07, 2014 at 05:15:43PM +0200, Michal Hocko wrote: > On Wed 24-09-14 11:43:08, Johannes Weiner wrote: > > @@ -1490,12 +1495,23 @@ int mem_cgroup_inactive_anon_is_low(struct lruvec > > *lruvec) > > */ > > static unsigned long mem_cgroup_margin(struct mem_cgroup *memcg) > > { > > -

Re: [PATCH 1/3] sched/deadline: clear dl_entity params when setscheduling to different class

2014-10-08 Thread Wanpeng Li
Hi Juri, 于 9/19/14, 5:22 PM, Juri Lelli 写道: When a task is using SCHED_DEADLINE and the user setschedules it to a different class its sched_dl_entity static parameters are not cleaned up. This causes a bug if the user sets it back to SCHED_DEADLINE with the same parameters again. The problem

Re: [PATCH 1/2] input: remove use of gpiochip_remove() retval

2014-10-08 Thread Linus Walleij
On Tue, Sep 30, 2014 at 4:34 PM, Pramod Gurav wrote: > Get rid of using return value from gpiochip_remove() as it returns > void. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org > Cc: linux-g...@vger.kernel.org > Signed-off-by: Pramod

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Scott Branden
Thanks for the review - comments inline. On 14-10-08 12:54 AM, Arnd Bergmann wrote: On Tuesday 07 October 2014 22:27:00 Scott Branden wrote: From: Jonathan Richardson Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. Reviewed-by: Ray Jui Reviewed-by: Desmond Liu

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-08 Thread Paul E. McKenney
On Wed, Oct 08, 2014 at 01:54:28PM +0200, Jiri Pirko wrote: > Wed, Oct 08, 2014 at 05:24:11AM CEST, paul...@linux.vnet.ibm.com wrote: > >On Tue, Oct 07, 2014 at 01:45:28PM -0400, Joe Lawrence wrote: > >> On Tue, 7 Oct 2014 06:43:29 -0700 > >> "Paul E. McKenney" wrote: > >> > >> > On Tue, Oct 07,

Re: [PATCH v7]pwm: add BCM2835 PWM driver

2014-10-08 Thread Thierry Reding
On Wed, Oct 08, 2014 at 12:14:32PM +0200, Bart Tanghe wrote: > Add pwm driver for Broadcom BCM2835 processor (Raspberry Pi) > > Signed-off-by: Bart Tanghe > --- > Changed in v7: > - clean up the shameful clk_enable error handling introduced in v6 > - clean up the code nits > > diff --git

Re: [PATCHv7 07/26] driver core: amba: add device binding path 'driver_override'

2014-10-08 Thread Antonios Motakis
On Fri, Sep 26, 2014 at 5:37 PM, Russell King - ARM Linux wrote: > > On Tue, Sep 23, 2014 at 04:46:06PM +0200, Antonios Motakis wrote: > > As already demonstrated with PCI [1] and the platform bus [2], a > > driver_override property in sysfs can be used to bypass the id matching > > of a device

Re: [PATCH 08/11] perf/x86/intel: Add Intel Cache QoS Monitoring support

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 11:36:58AM, Matt Fleming wrote: > On Tue, 07 Oct, at 09:43:10PM, Peter Zijlstra wrote: > > On Wed, Sep 24, 2014 at 03:04:12PM +0100, Matt Fleming wrote: > > > +/* > > > + * Determine if @a and @b measure the same set of tasks. > > > + */ > > > +static bool __match_event(struct

Re: [Workqueue] crash in process_one_work

2014-10-08 Thread Tejun Heo
Hello, Arun. On Wed, Oct 08, 2014 at 05:30:20PM +0530, Arun KS wrote: > > I sure hope not. How reproducible is the issue? Can you try w/ > > CONFIG_DEBUG_OBJECTS_WORK enabled? > > Thanks for replying. > That was a problem with one of our driver. It was freeing the > memory(struct work) without

Re: [PATCH 10/11] perf/x86/intel: Support task events with Intel CQM

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 01:07:43PM, Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 03:04:14PM +0100, Matt Fleming wrote: > > From: Matt Fleming > > > > Add support for task events as well as system-wide events. This change > > has a big impact on the way that we gather LLC occupancy values in > >

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-08 Thread Johan Hovold
On Wed, Oct 08, 2014 at 01:54:07PM +0300, Octavian Purdila wrote: > On Wed, Oct 8, 2014 at 12:23 PM, Johan Hovold wrote: > > On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: > > > >> +static void dln2_rx_transfer(struct dln2_dev *dln2, struct urb *urb, > >> +

Re: [PATCH 3/3] irqchip: dw-apb-ictl: add PM support

2014-10-08 Thread Jisheng Zhang
Hi Sebastian, On Wed, 8 Oct 2014 04:50:53 -0700 Jisheng Zhang wrote: > Hi Sebastian, > > On Wed, 8 Oct 2014 04:44:49 -0700 > Sebastian Hesselbarth wrote: > > > On 10/08/2014 01:31 PM, Jisheng Zhang wrote: > > > Hi Thomas, Sebastian, > > > > > > On Tue, 30 Sep 2014 14:52:54 -0700 > > > Thomas

Re: [Workqueue] crash in process_one_work

2014-10-08 Thread Arun KS
Hello Tejun, On Mon, Oct 6, 2014 at 9:02 PM, Tejun Heo wrote: > Hello, Arun. > > On Mon, Sep 29, 2014 at 09:40:50PM +0530, Arun KS wrote: > ... >> The value of data is 0xffe0, which is basically the value after an >> INIT_WORK() or WORK_DATA_INIT(). >> This can happen if a driver calls

Re: High latency while CPU is under full load

2014-10-08 Thread Grozdan
On Wed, Oct 8, 2014 at 1:44 PM, Austin S Hemmelgarn wrote: > On 2014-10-07 15:28, Grozdan wrote: >> >> Hi, >> >> Basically, my problem is this: >> >> I'm doing a lot of audio/video encoding on an AMD FX8350. The encoder >> process always runs at nice 10. Even so, my whole system feels very >>

Re: [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove

2014-10-08 Thread Jacob Pan
On Wed, 8 Oct 2014 11:16:11 +0200 Linus Walleij wrote: > On Wed, Oct 8, 2014 at 10:05 AM, Lee Jones > wrote: > > > With the influx of new same-chip devices, I think the MFD subsystem > > is fast becoming overloaded. I think all of the PMIC handling > > should in fact either live in Regulators

Re: [PATCH 11/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 01:19:27PM, Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 03:04:15PM +0100, Matt Fleming wrote: > > This scheme reserves one RMID at all times for rotation. When we need to > > schedule a new event we give it the reserved RMID, pick a victim event > > from the front of the

Re: [PATCH resend] arm:extend the reserved memory for initrd to be page aligned

2014-10-08 Thread Geert Uytterhoeven
On Fri, Sep 19, 2014 at 9:09 AM, Wang, Yalin wrote: > this patch extend the start and end address of initrd to be page aligned, > so that we can free all memory including the un-page aligned head or tail > page of initrd, if the start or end address of initrd are not page > aligned, the page

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-08 Thread Jiri Pirko
Wed, Oct 08, 2014 at 05:24:11AM CEST, paul...@linux.vnet.ibm.com wrote: >On Tue, Oct 07, 2014 at 01:45:28PM -0400, Joe Lawrence wrote: >> On Tue, 7 Oct 2014 06:43:29 -0700 >> "Paul E. McKenney" wrote: >> >> > On Tue, Oct 07, 2014 at 09:29:42AM +0200, Jiri Pirko wrote: >> [ ... snip ... ] >> > >

Re: [PATCH 3/3] irqchip: dw-apb-ictl: add PM support

2014-10-08 Thread Jisheng Zhang
Hi Thomas, Sebastian, On Tue, 30 Sep 2014 14:52:54 -0700 Thomas Gleixner wrote: > On Tue, 30 Sep 2014, Sebastian Hesselbarth wrote: > > On 09/23/2014 08:35 AM, Jisheng Zhang wrote: > > > This patch adds in support for S2R for dw-apb-ictl irqchip driver. > > > > > > Signed-off-by: Jisheng Zhang

Re: [PATCH] usb: ffs: fix regression when quirk_ep_out_aligned_size flag is set

2014-10-08 Thread Michal Nazarewicz
On Tue, Oct 07 2014, David Cohen wrote: > The commit '2e4c7553cd usb: gadget: f_fs: add aio support' broke the > quirk implemented to align buffer size to maxpacketsize on out endpoint. > As result, functionfs does not work on Intel platforms using dwc3 driver > (i.e. Bay Trail and Merrifield).

Re: [PATCH 3/3] irqchip: dw-apb-ictl: add PM support

2014-10-08 Thread Jisheng Zhang
Hi Sebastian, On Wed, 8 Oct 2014 04:44:49 -0700 Sebastian Hesselbarth wrote: > On 10/08/2014 01:31 PM, Jisheng Zhang wrote: > > Hi Thomas, Sebastian, > > > > On Tue, 30 Sep 2014 14:52:54 -0700 > > Thomas Gleixner wrote: > > > >> On Tue, 30 Sep 2014, Sebastian Hesselbarth wrote: > >>> On

Re: [PATCH] sched/fair: Care divide error in update_task_scan_period()

2014-10-08 Thread Wanpeng Li
于 10/8/14, 2:43 PM, Yasuaki Ishimatsu 写道: > While offling node by hot removing memory, the following divide error > occurs: > > divide error: [#1] SMP > [...] > Call Trace: >[...] handle_mm_fault >[...] ? try_to_wake_up >[...] ? wake_up_state >[...] __do_page_fault >

Re: [PATCH 3/3] staging: dgap: introduce dgap_stop()

2014-10-08 Thread Dan Carpenter
All three of these patches are good and a nice improvement. This one is a good bugfix. I have some notes for later, though below. On Wed, Oct 08, 2014 at 08:13:56PM +0900, Daeseok Youn wrote: > diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c > index 7c79fe6..00f34b5

Re: [PATCH 3/3] irqchip: dw-apb-ictl: add PM support

2014-10-08 Thread Sebastian Hesselbarth
On 10/08/2014 01:31 PM, Jisheng Zhang wrote: Hi Thomas, Sebastian, On Tue, 30 Sep 2014 14:52:54 -0700 Thomas Gleixner wrote: On Tue, 30 Sep 2014, Sebastian Hesselbarth wrote: On 09/23/2014 08:35 AM, Jisheng Zhang wrote: This patch adds in support for S2R for dw-apb-ictl irqchip driver.

Re: High latency while CPU is under full load

2014-10-08 Thread Austin S Hemmelgarn
On 2014-10-07 15:28, Grozdan wrote: Hi, Basically, my problem is this: I'm doing a lot of audio/video encoding on an AMD FX8350. The encoder process always runs at nice 10. Even so, my whole system feels very sluggish. Switching between different app windows and/or virtual desktops takes up

Re: [PATCH v13 00/12] Support for creating generic PCI host bridges from DT

2014-10-08 Thread Liviu Dudau
On Wed, Oct 08, 2014 at 11:36:00AM +0100, Robert Richter wrote: > On 08.10.14 10:13:21, Liviu Dudau wrote: > > On Wed, Oct 08, 2014 at 08:44:28AM +0100, Robert Richter wrote: > > > I assume pci/host-generic is the latest now with this issue fixed as > > > the commit date is 2014-10-01 past you

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-08 Thread Roger Quadros
Oussama, On 10/08/2014 01:54 PM, Oussama Ghorbel wrote: > Hi Roger, > > Should I resend this v2 version of the patch to sta...@vger.kernel.org which > is suitable for v3.17 and which will require a very tiny adaptation? > Or I should resend the first version of this patch which is suitable for

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Russell King - ARM Linux
On Wed, Oct 08, 2014 at 04:17:29AM -0700, Scott Branden wrote: > Thanks - was unaware of this functionality. Will add .l2c_aux_val and > .l2c_aux mask to DT_MATCHINE_START. BUT, what happens when we need to > add trustzone support and make SMC call to secure monitor? You will then need to

Re: [PATCH 1/7] sched: Introduce scale-invariant load tracking

2014-10-08 Thread Vincent Guittot
On 2 October 2014 22:34, Peter Zijlstra wrote: > On Thu, Sep 25, 2014 at 06:23:43PM +0100, Morten Rasmussen wrote: > >> > Why haven't you used arch_scale_freq_capacity which has a similar >> > purpose in scaling the CPU capacity except the additional sched_domain >> > pointer argument ? >> >> To

Re: [PATCH] ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_txctrl

2014-10-08 Thread Mark Brown
On Wed, Oct 08, 2014 at 12:58:51AM -0700, Sonny Rao wrote: > We can get into an infinite loop if the I2S_CLR register fails to > clear due to a missing break statement, so add that. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v4 18/29] nios2: Signal handling support

2014-10-08 Thread Richard Weinberger
On Wed, Oct 8, 2014 at 11:29 AM, Ley Foon Tan wrote: > This patch adds support for signal handling. > > Signed-off-by: Ley Foon Tan Maybe I'm misreading your code but where do you check for multiple pending signals? It looks like you're handling only exact one signal before retuning to

Re: [PATCH] mmc: dw_mmc: Reset DMA before enabling IDMAC

2014-10-08 Thread Alim Akhtar
Hi Sonny/Doug, On Mon, Oct 6, 2014 at 11:23 PM, Sonny Rao wrote: > We've already got a reset of DMA after it's done. Add one before we > start DMA too. This fixes a data corruption on Rockchip SoCs which > will get bad data when doing a DMA transfer after doing a PIO transfer. > > We tested

Re: [PATCH] usb: gadget: f_fs: add "zombie" mode

2014-10-08 Thread Michal Nazarewicz
>> -Original Message- >> From: Mike Nazarewicz [mailto:m...@google.com] >> I don't really see that happening. For the gadget to start all >> descriptors need to be known. Functionfs will know the descriptors >> only once the user space daemon provides them. Therefore, with the >>

Re: [PATCH] regulator: sky81452: Remove module version

2014-10-08 Thread Mark Brown
On Wed, Oct 08, 2014 at 09:57:43AM +0800, Axel Lin wrote: > The module version is unlikely to be updated, use kernel version should be > enough. Applied, thanks. signature.asc Description: Digital signature

[RFC PATCH 1/2] mmc: core: fix prepared requests while doing bkops

2014-10-08 Thread Srinivas Kandagatla
While starting the bkops the previously prepared request should be canceled and restarted after the bkops. As the prepared resource might already setup the dma channels and ready to be started. Now with the arrival of bkops request this prepared request can be serviced ONLY after the bkops. So

[RFC PATCH 2/2] mmc: mmci: fix mmci_post_request

2014-10-08 Thread Srinivas Kandagatla
If the post request is cancelling the channel and descriptor and which are equal to host->dma_current and host->dma_desc_current respectively, then it makes sense to reset these pointers to NULL, so that the driver does not reference it. Also the host_cookie can be reset to 0 in cases of error,

[RFC PATCH 0/2] mmc: Fix prepared resource handling at bkops

2014-10-08 Thread Srinivas Kandagatla
Hi All, During recent eMMC stress testing on IFC6410 board we always hit below crash in few mins. Initial investigations showed that the mmci driver gets confused sometimes when handling CMD8 as part of blkops request. The reason looks straight forward, mmci driver caches the dma descriptor and

Re: [PATCH v1] Arm64: ASLR: fix text randomization

2014-10-08 Thread Will Deacon
On Wed, Oct 08, 2014 at 07:51:54AM +0100, Arun Chandran wrote: > On Tue, Oct 7, 2014 at 7:13 PM, Mark Rutland wrote: > > I wasn't able to spot where the randomness came from in the > > ARCH_BINFMT_ELF_RANDOMIZE_PIE case, so it's not clear to me if the > > generic implementation behaves

Re: [PATCH 1/7] sched: Introduce scale-invariant load tracking

2014-10-08 Thread Vincent Guittot
On 8 October 2014 13:00, Morten Rasmussen wrote: > On Thu, Oct 02, 2014 at 09:34:28PM +0100, Peter Zijlstra wrote: >> On Thu, Sep 25, 2014 at 06:23:43PM +0100, Morten Rasmussen wrote: >> >> > > Why haven't you used arch_scale_freq_capacity which has a similar >> > > purpose in scaling the CPU

Re: [PATCH] spi: pl022: Fix broken spidev when DMA is enabled

2014-10-08 Thread Mark Brown
On Tue, Oct 07, 2014 at 09:38:47PM -0700, Ray Jui wrote: > The PL022 SPI driver maps the DMA RX buffer before the DMA TX buffer. In > most cases, the sequence of the mapping does not matter. But in cases > where TX and RX happen to use the same buffer, e.g., spidev, it causes > the cached TX data

Re: [PATCH 11/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-10-08 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 03:04:15PM +0100, Matt Fleming wrote: > This scheme reserves one RMID at all times for rotation. When we need to > schedule a new event we give it the reserved RMID, pick a victim event > from the front of the global CQM list and wait for the victim's RMID to > drop to zero

Re: [PATCH 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-08 Thread Scott Branden
On 14-10-08 01:11 AM, Russell King - ARM Linux wrote: On Tue, Oct 07, 2014 at 10:27:00PM -0700, Scott Branden wrote: +static void __init bcm_cygnus_init(void) +{ + of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); + + l2x0_of_init(0, ~0UL); Please don't

[PATCH 3/3] staging: dgap: introduce dgap_stop()

2014-10-08 Thread Daeseok Youn
The dgap_init_module() need to unwind for cleanup variables properly. Because dgap_init_module() calls dgap_cleanup_module() for freeing variables but this function is possible to free variables which are not allocated. Signed-off-by: Daeseok Youn --- drivers/staging/dgap/dgap.c | 27

[PATCH 1/3] staging: dgap: remove unnecessary if statement for checking NULL

2014-10-08 Thread Daeseok Youn
dgap_release_remap() function is only called after the memory has been remapped so if statement for checking NULL doesn't need. And also release_mem_region() calls are moved after iounmap() calls. Signed-off-by: Daeseok Youn --- drivers/staging/dgap/dgap.c | 13 - 1 files

[PATCH 2/3] staging: dgap: change function names properly

2014-10-08 Thread Daeseok Youn
dgap_do_remap() and dgap_release_remap() names could be changed to dgap_remap() and dgap_unmap(). Signed-off-by: Daeseok Youn --- drivers/staging/dgap/dgap.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/dgap/dgap.c

Re: [PATCH 4/7] sched: Track group sched_entity usage contributions

2014-10-08 Thread Morten Rasmussen
On Tue, Oct 07, 2014 at 09:15:39PM +0100, bseg...@google.com wrote: > Vincent Guittot writes: > > > From: Morten Rasmussen > > > > Adds usage contribution tracking for group entities. Unlike > > se->avg.load_avg_contrib, se->avg.utilization_avg_contrib for group > > entities is the sum of

Re: [RFC PATCH 0/2] mfd: syscon: declare holes in syscon register maps

2014-10-08 Thread Maxime Coquelin
Hi Seraphin, On 10/07/2014 03:22 PM, Seraphin Bonnaffe wrote: > In reply to mail: Holes management in syscon driver. > > Hi Dong, Maxime, Lee, all, > > Regmap also offers .rd_table and .wr_table structures that can be used to > specify valid ranges within agiven regmap configuration. > > This

Re: [PATCH] [RFC] mnt: add ability to clone mntns starting with the current root

2014-10-08 Thread Andrew Vagin
On Tue, Oct 07, 2014 at 01:45:22PM -0700, Eric W. Biederman wrote: > Andrey Vagin writes: > > > From: Andrey Vagin > > > > Currently when we create a new container with a separate root, > > we need to clone the current mount namespace with all mounts and then > > clean up it by using

Re: [PATCH v6 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-08 Thread Octavian Purdila
On Wed, Oct 8, 2014 at 1:42 PM, Johan Hovold wrote: > On Thu, Sep 25, 2014 at 07:07:32PM +0300, Octavian Purdila wrote: > >> diff --git a/Documentation/ABI/testing/sysfs-bus-i2c-busses-dln2 >> b/Documentation/ABI/testing/sysfs-bus-i2c-busses-dln2 >> new file mode 100644 >> index 000..ad55af6

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