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

2014-10-08 Thread Robert Richter
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 message above, right? So is it ok to rebase our host controller driver onto

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

2014-10-08 Thread Matt Fleming
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 perf_event *a, struct perf_event *b) +{ + if ((a-attach_state

Re: pipe/page fault oddness.

2014-10-08 Thread Aneesh Kumar K.V
Linus Torvalds torva...@linux-foundation.org writes: On Mon, Oct 6, 2014 at 3:18 PM, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Are we still looking at these options ? I could look at implementing the first option which will also enable us to free up one pte bit. We definitely

[PATCH] CXL: Fix afu_read() not doing finish_wait() on signal or non-blocking

2014-10-08 Thread Ian Munsie
If afu_read() returned due to a signal or the AFU file descriptor being opened non-blocking it would not call finish_wait() before returning, which could lead to a crash later when something else wakes up the wait queue. This patch restructures the wait logic to ensure that the cleanup is done

Re: [trace events] WARNING: CPU: 0 PID: 91 at kernel/sched/core.c:7253 __might_sleep()

2014-10-08 Thread Peter Zijlstra
On Wed, Oct 08, 2014 at 06:06:13PM +0800, Fengguang Wu wrote: [8.867644] WARNING: CPU: 0 PID: 91 at kernel/sched/core.c:7253 __might_sleep+0x9a/0x378() [8.869031] do not call blocking ops when !TASK_RUNNING; state=1 set at [8d79b511] event_test_thread+0x48/0x93 [

Re: [PATCH v2 0/8] mtd: nand: Support for new DT NAND driver

2014-10-08 Thread Lee Jones
On Wed, 01 Oct 2014, Brian Norris wrote: I guess I never answered this one: On Wed, Aug 20, 2014 at 07:57:44AM +0100, Lee Jones wrote: On Mon, 18 Aug 2014, Brian Norris wrote: Bisectability test results for configuration arm-multi_v7_defconfig,arm,arm-unknown-linux-gnueabi-

Re: [PATCH v7 05/11] drm: add Atmel HLCDC Display Controller support

2014-10-08 Thread Nicolas Ferre
On 01/10/2014 16:53, Boris Brezillon : From: Boris BREZILLON boris.brezil...@free-electrons.com The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. This display controller supports

Re: [PATCH v4 21/29] nios2: Time keeping

2014-10-08 Thread Thomas Gleixner
On Wed, 8 Oct 2014, Ley Foon Tan wrote: +static void nios2_timer_set_mode(enum clock_event_mode mode, + struct clock_event_device *evt) +{ + unsigned long period; + struct nios2_clockevent_dev *nios2_ced = to_nios2_clkevent(evt); + struct nios2_timer *timer = nios2_ced-timer;

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

2014-10-08 Thread Johan Hovold
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 --- /dev/null +++

[PATCH] Input: pxa27x_keypad: Switch to using managed resources

2014-10-08 Thread Pramod Gurav
This change switches to using devm_* APIs to allocate resources. This helps to simplify failure path in probe function and module unloading and does away with remove function. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav

Re: [PATCH] mnt: Move the clear of MNT_LOCKED from copy_tree to it's

2014-10-08 Thread Andrew Vagin
On Tue, Oct 07, 2014 at 04:40:10PM -0700, Eric W. Biederman wrote: Clear MNT_LOCKED in the callers of copy_tree except copy_mnt_ns, and collect_mounts. In copy_mnt_nswe want an exact copy of a mount tree, so not clearing MNT_LOCKED is important. Similarly collect_mounts is used to take a

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-06 23:22 GMT+02:00 Lee Jones lee.jo...@linaro.org: On Thu, 25 Sep 2014, Johannes Pointner wrote: Add documentation for compatible property of subnodes. Signed-off-by: Johannes Pointner johannes.point...@br-automation.com ---

Re: [PATCH] umount: Do not allow unmounting rootfs.

2014-10-08 Thread Andrew Vagin
On Tue, Oct 07, 2014 at 12:27:06PM -0700, Eric W. Biederman wrote: Andrew Vagin ava...@parallels.com writes: #define _GNU_SOURCE #include sys/types.h #include sys/stat.h #include fcntl.h #include sched.h #include unistd.h #include sys/mount.h int main(int argc, char **argv)

[PATCH] Input: nomadik-ske-keypad: Switch to using managed resources

2014-10-08 Thread Pramod Gurav
This change switches to using devm_* APIs to allocate resources. This helps to simplify failure path in probe function as well as remove function. Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com ---

[PATCH] mm/numa balancing: Rearrange Kconfig entry

2014-10-08 Thread Aneesh Kumar K.V
Add the default enable config option after the NUMA_BALANCING option so that it appears related in the nconfig interface. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- init/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 06/11] perf: Move cgroup init before PMU -event_init()

2014-10-08 Thread Peter Zijlstra
On Wed, Oct 08, 2014 at 11:32:50AM +0100, Matt Fleming wrote: On Tue, 07 Oct, at 09:34:24PM, Peter Zijlstra wrote: On Wed, Sep 24, 2014 at 03:04:10PM +0100, Matt Fleming wrote: +++ b/kernel/events/core.c @@ -6859,7 +6859,7 @@ perf_event_alloc(struct perf_event_attr *attr, int cpu,

Re: [PATCH 8/9] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-10-08 Thread Lee Jones
On Sun, 05 Oct 2014, Brian Norris wrote: On Wed, Aug 27, 2014 at 01:42:23PM +0100, Lee Jones wrote: Reviewed-By: Pekon Gupta pe...@pek-sem.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/mtd/nand/Kconfig|7 + drivers/mtd/nand/Makefile |1 +

Re: [PATCH 09/11] perf/x86/intel: Implement LRU monitoring ID allocation for CQM

2014-10-08 Thread Matt Fleming
On Wed, 08 Oct, at 11:51:09AM, Peter Zijlstra wrote: On Wed, Sep 24, 2014 at 03:04:13PM +0100, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com It's possible to run into issues with re-using unused monitoring IDs because there may be stale cachelines associated with that ID

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 12:23 PM, Johan Hovold jo...@kernel.org 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, + u16 handle, u16 rx_slot) +{ + struct dln2_mod_rx_slots

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

2014-10-08 Thread Oussama Ghorbel
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 3.16 but might seems confusing a little sine I'm resend the

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

2014-10-08 Thread Scott Branden
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 file mode 100644 index 000..a210377 --- /dev/null +++

Re: [PATCH v4 13/29] nios2: Interrupt handling

2014-10-08 Thread Thomas Gleixner
On Wed, 8 Oct 2014, Ley Foon Tan wrote: Reviewed-by: Thomas Gleixner t...@linutronix.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

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

2014-10-08 Thread Johannes Pointner
2014-10-08 12:47 GMT+02:00 Lee Jones lee.jo...@linaro.org: On Wed, 08 Oct 2014, Johannes Pointner wrote: 2014-10-06 23:22 GMT+02:00 Lee Jones lee.jo...@linaro.org: On Thu, 25 Sep 2014, Johannes Pointner wrote: Add documentation for compatible property of subnodes. Signed-off-by:

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

2014-10-08 Thread Morten Rasmussen
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 capacity except the additional sched_domain pointer argument ?

Re: [PATCH 4/6] ARM: cygnus defconfig : Initial defconfig for Broadcom Cygnus SoC

2014-10-08 Thread Scott Branden
On 14-10-08 12:58 AM, Arnd Bergmann wrote: On Tuesday 07 October 2014 22:27:03 Scott Branden wrote: From: Jonathan Richardson jonat...@broadcom.com Tested-by: Jonathan Richardson jonat...@broadcom.com Reviewed-by: JD (Jiandong) Zheng jdzh...@broadcom.com Signed-off-by: Scott Branden

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

2014-10-08 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 03:04:14PM +0100, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com 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 intel_cqm_event_read(). Currently, for

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 jo...@kernel.org 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

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 ava...@openvz.org writes: From: Andrey Vagin ava...@gmail.com 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

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 vincent.guit...@linaro.org writes: From: Morten Rasmussen morten.rasmus...@arm.com Adds usage contribution tracking for group entities. Unlike se-avg.load_avg_contrib, se-avg.utilization_avg_contrib for

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 patch

[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 daeseok.y...@gmail.com --- drivers/staging/dgap/dgap.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/dgap/dgap.c

[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 daeseok.y...@gmail.com --- drivers/staging/dgap/dgap.c | 13

[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 daeseok.y...@gmail.com ---

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

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] 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 not

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 mark.rutl...@arm.com 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

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

2014-10-08 Thread Vincent Guittot
On 8 October 2014 13:00, Morten Rasmussen morten.rasmus...@arm.com 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

[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

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

[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

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

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 current features

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 sonny...@chromium.org 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

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 lf...@altera.com wrote: This patch adds support for signal handling. Signed-off-by: Ley Foon Tan lf...@altera.com Maybe I'm misreading your code but where do you check for multiple pending signals? It looks like you're handling only exact one

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 1/7] sched: Introduce scale-invariant load tracking

2014-10-08 Thread Vincent Guittot
On 2 October 2014 22:34, Peter Zijlstra pet...@infradead.org 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 ?

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

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 message

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 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 t...@linutronix.de 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

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 100644

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] 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 sebastian.hesselba...@gmail.com 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 t...@linutronix.de wrote: On Tue, 30 Sep 2014, Sebastian

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 david.a.co...@linux.intel.com 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

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 t...@linutronix.de 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

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 paul...@linux.vnet.ibm.com wrote: On Tue, Oct 07, 2014 at 09:29:42AM +0200, Jiri Pirko wrote: [ ... snip

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 yalin.w...@sonymobile.com 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

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 global CQM

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 linus.wall...@linaro.org wrote: On Wed, Oct 8, 2014 at 10:05 AM, Lee Jones lee.jo...@linaro.org 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

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 ahferro...@gmail.com 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: [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 t...@kernel.org 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: [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 jszh...@marvell.com wrote: Hi Sebastian, On Wed, 8 Oct 2014 04:44:49 -0700 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 10/08/2014 01:31 PM, Jisheng Zhang wrote: Hi Thomas, Sebastian, On Tue, 30

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 jo...@kernel.org 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 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 matt.flem...@intel.com 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

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 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 perf_event *a,

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 li...@arm.linux.org.uk 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

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 bart.tan...@thomasmore.be --- Changed in v7: - clean up the shameful clk_enable error handling introduced in v6 - clean up the code nits

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 paul...@linux.vnet.ibm.com wrote: On Tue,

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 jonat...@broadcom.com Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. Reviewed-by: Ray Jui

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 pramod.gu...@smartplayin.com wrote: Get rid of using return value from gpiochip_remove() as it returns void. Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc:

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/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) { - unsigned

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 jo...@kernel.org 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 jo...@kernel.org wrote: On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: +static void

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 han...@cmpxchg.org One

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, all will

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 +having a lot of

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

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 the ARM

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 z...@rock-chips.com wrote: support setting suspend voltage and disable regulator in suspend. Doug, please delete unneeded context from mails, paging through screen after screen of

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 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 represent them in

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 attractive.

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 lee.jo...@linaro.org 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.

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

[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 w...@csie.org --- 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

[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 w...@csie.org --- Documentation/arm/sunxi/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/arm/sunxi/README

[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 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 w...@csie.org --- arch/arm/mach-sunxi/Kconfig | 5 +

[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 w...@csie.org --- arch/arm/boot/dts/sun9i-a80.dtsi | 257 +++ 1 file changed, 257

[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 1/2] xen/arm: remove handling of XENFEAT_grant_map_identity

2014-10-08 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com --- Changes in v2: - remove the definition of XENFEAT_grant_map_identity. --- arch/arm/xen/enlighten.c |5 --- arch/arm/xen/mm32.c | 85 +-

[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 stefano.stabell...@eu.citrix.com --- Changes in v3: - fix the cache maintenance op call to match what Linux does natively; - update

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 sbran...@broadcom.com wrote: From: Jonathan Richardson jonat...@broadcom.com Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. Reviewed-by: Ray Jui r...@broadcom.com Reviewed-by: Desmond Liu desmo...@broadcom.com

[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

<    5   6   7   8   9   10   11   12   13   14   >