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 > > 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 system-wide (per-cpu)

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 Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Signed-off-by: Scott Branden Do you actually need a separate defconfig? If possible, just add

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

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 : > 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 subnodes. >> >> >> >> Signed-off-by: Johannes Pointner >>

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 -- 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 FAQ at

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: [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 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 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 *rxs =

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 > > > > It's possible to run into issues with re-using unused monitoring IDs > > because there may be stale cachelines associated with that ID from a > >

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 > > Signed-off-by: Lee Jones > > --- > > drivers/mtd/nand/Kconfig|7 + > > drivers/mtd/nand/Makefile |1 + > >

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 >

[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 --- init/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index

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 writes: > > > #define _GNU_SOURCE > > #include > > #include > > #include > > #include > > #include > > #include > > > > int main(int argc, char **argv) > > { > > int fd; > > > > fd =

[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 Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/input/keyboard/nomadik-ske-keypad.c | 63

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 : > > On Thu, 25 Sep 2014, Johannes Pointner wrote: > > > >> Add documentation for compatible property of subnodes. > >> > >> Signed-off-by: Johannes Pointner > >> --- > >>

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

[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 Cc: linux-in...@vger.kernel.org Signed-off-by: Pramod Gurav ---

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 > +++

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 =

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 > > 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 at least one primary plane

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

[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 > [] event_test_thread+0x48/0x93 > [8.870533] Modules

Re: pipe/page fault oddness.

2014-10-08 Thread Aneesh Kumar K.V
Linus Torvalds writes: > On Mon, Oct 6, 2014 at 3:18 PM, Aneesh Kumar K.V > 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 are. If you can test my patch (with the small

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

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

Re: [PATCHv4] procfs: show hierarchy of pid namespace

2014-10-08 Thread Richard Weinberger
Am 08.10.2014 11:56, schrieb Chen Hanxiao: > This patch will show the hierarchy of pid namespace > by /proc/pidns_hierarchy like: > > [root@localhost ~]#cat /proc/pidns_hierarchy > /proc/18060/ns/pid /proc/18102/ns/pid /proc/1534/ns/pid > /proc/18060/ns/pid /proc/18102/ns/pid /proc/1600/ns/pid >

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

2014-10-08 Thread Matt Fleming
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, > > struct perf_event *group_leader, > >

[tip:x86/asm] x86: Unwind-annotate thunk_32.S

2014-10-08 Thread tip-bot for Jan Beulich
Commit-ID: f74954f01ec9bb2004bcc24f247d1f26f1063ad2 Gitweb: http://git.kernel.org/tip/f74954f01ec9bb2004bcc24f247d1f26f1063ad2 Author: Jan Beulich AuthorDate: Wed, 24 Sep 2014 08:41:30 +0100 Committer: Thomas Gleixner CommitDate: Wed, 8 Oct 2014 12:31:45 +0200 x86: Unwind-annotate

Re: [PATCH resend] MIPS: Allow FPU emulator to use non-stack area.

2014-10-08 Thread Paul Burton
On Tue, Oct 07, 2014 at 04:59:03PM -0700, David Daney wrote: > On 10/07/2014 04:20 PM, Ralf Baechle wrote: > >On Mon, Oct 06, 2014 at 02:18:19PM -0700, David Daney wrote: > > > >>>As an alternative, if the space of possible instruction with a delay > >>>slot is sufficiently small, all such

Re: [PATCH v4 13/16] cxl: Driver code for powernv PCIe based cards for userspace access

2014-10-08 Thread Ian Munsie
Excerpts from Michael Neuling's message of 2014-10-08 19:55:02 +1100: > +static ssize_t afu_read(struct file *file, char __user *buf, size_t count, > +loff_t *off) ... > +for (;;) { > +prepare_to_wait(>wq, , TASK_INTERRUPTIBLE); > +if (ctx_event_pending(ctx)) > +

Re: [PATCH 04/11] perf: Make perf_cgroup_from_task() global

2014-10-08 Thread Matt Fleming
On Tue, 07 Oct, at 08:51:57PM, Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 03:04:08PM +0100, Matt Fleming wrote: > > From: Matt Fleming > > > > Move perf_cgroup_from_task() from kernel/events to include/ along with > > the necessary struct definitions, so that it can be used by the PMU > >

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-08 Thread Pramod Gurav
On Wed, Oct 8, 2014 at 3:48 PM, Pramod Gurav wrote: > Hi Dmitry, > > On Tue, Oct 7, 2014 at 10:08 PM, Dmitry Torokhov > .. > Thanks. I saw the change in your tree. Shouldn't > cancel_delayed_work_sync(>work) be called under label > err_free_mem so that it will executed in case adp5588_read, >

[PATCH v11 3/3] dt-bindings: video: Add documentation for rockchip vop

2014-10-08 Thread Mark Yao
From: Mark yao This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao --- Changes in v2: - rename "lcdc" to "vop" - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None Changes in v4: None Changes in v5: None Changes in v6: None

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

2014-10-08 Thread Mark Yao
From: Mark yao This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao Signed-off-by: Daniel Kurtz Acked-by: Daniel Vetter Reviewed-by: Rob Clark --- Changes in v2: - use the component framework to defer main drm driver probe until all VOP devices

[PATCH v11 2/3] dt-bindings: video: Add for rockchip display subsytem

2014-10-08 Thread Mark Yao
From: Mark yao This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subsystem. Changes in v3: None Changes in v4: None Changes in v5: None

[PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-08 Thread Mark Yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic "crtc" for rockchip is a "VOP" - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two

Re: [PATCH v2 0/5] pinctrl: samsung: Data structure clean-up

2014-10-08 Thread Linus Walleij
On Thu, Oct 2, 2014 at 8:52 PM, Tomasz Figa wrote: > This series intends to clean up data structures used by pinctrl-samsung > driver. > More specifically, it separates initial compile time constants from data used > at runtime, allowing unused variant data to be dropped and selected structures

Re: [RFC 2/4] PCI: generic: Add support for ARM64 and MSI(x)

2014-10-08 Thread Lorenzo Pieralisi
On Tue, Oct 07, 2014 at 10:39:47PM +0100, Arnd Bergmann wrote: > On Tuesday 07 October 2014 15:47:50 Lorenzo Pieralisi wrote: > > On Tue, Oct 07, 2014 at 02:52:27PM +0100, Arnd Bergmann wrote: > > > On Tuesday 07 October 2014 13:06:59 Lorenzo Pieralisi wrote: > > > > On Wed, Oct 01, 2014 at

[PATCH v14] Convert NVMe driver to blk-mq

2014-10-08 Thread Matias Bjørling
Hi Matthew, Here is an updated patch rebased on top of your master from yesterday. Please consider it for 3.18. The patch is rebased on top of Jens' for-next, together with your master tree patches. A branch with the patch on top can be found here:

[PATCH v14] NVMe: Convert to blk-mq

2014-10-08 Thread Matias Bjørling
This converts the NVMe driver to a blk-mq request-based driver. The NVMe driver is currently bio-based and implements queue logic within itself. By using blk-mq, a lot of these responsibilities can be moved and simplified. The patch is divided into the following blocks: * Per-command data and

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-08 Thread Pramod Gurav
Hi Dmitry, On Tue, Oct 7, 2014 at 10:08 PM, Dmitry Torokhov wrote: > On Tue, Oct 07, 2014 at 01:00:49PM +0530, Pramod Gurav wrote: >> This change introduces a label to call cancel_delayed_work_sync in >> failure path. >> >> Cc: Michael Hennerich >> Cc: Dmitry Torokhov >> Cc:

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2014-10-08 Thread Peter Zijlstra
On Wed, Oct 08, 2014 at 03:07:51PM +0530, Preeti U Murthy wrote: > > I still completely hate all that.. It basically makes cpusets useless, > > they no longer guarantee anything, it makes then an optional placement > > hint instead. > > Why do you say they don't guarantee anything? We ensure

[PATCH v7]pwm: add BCM2835 PWM driver

2014-10-08 Thread Bart Tanghe
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 a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt

Re: [PATCH 5/6] Documentation: i2c: Add APM X-Gene platform SLIMpro I2C driver documentation

2014-10-08 Thread Mark Rutland
On Wed, Oct 08, 2014 at 01:06:48AM +0100, Feng Kan wrote: > Add APM X-Gene platform SLIMpro I2C driver documentation. > > Signed-off-by: Feng Kan > Signed-off-by: Hieu Le > --- > .../devicetree/bindings/i2c/i2c-xgene-slimpro.txt| 20 > > 1 file changed, 20

Re: i915.ko WC writes are slow after ea8596bb2d8d379

2014-10-08 Thread Chuck Ebbert
On Wed, 8 Oct 2014 10:03:36 +0100 Chris Wilson wrote: > > I ran into a problem on a Sandybridge i5-2500s whilst measuring the > performance of GTT write-combining access. I found subsequent runs were > about 10-40x slower than the first. For example, > > igt/gem_gtt_speed: > > Time to read

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

2014-10-08 Thread Krzysztof Opasiak
Hi, > -Original Message- > From: Mike Nazarewicz [mailto:m...@google.com] On Behalf Of Michal > Nazarewicz > Sent: Tuesday, October 07, 2014 10:08 PM > To: Alan Stern; Felipe Balbi > Cc: Krzysztof Opasiak; 'Robert Baldyga'; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- >

[PATCH] fs: configfs: add allow_drop() to configfs_item_operations

2014-10-08 Thread Andrzej Pietrasiewicz
Sometimes it might be desirable to prohibit removing a symbolic link in configfs. One example is USB gadget: when a gadget is already bound, if USB function symlink (used to associate USB functions with USB configurations) is removed, the gadget must be thrown away, too. A better solution would be

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: > Other perf backends stash the target task in event->hw.*target so we > need to do something similar. The task is used to determine whether > events should share a cache group and an RMID. Yeah, we should maybe clean that up and

[PATCHv4] procfs: show hierarchy of pid namespace

2014-10-08 Thread Chen Hanxiao
This patch will show the hierarchy of pid namespace by /proc/pidns_hierarchy like: [root@localhost ~]#cat /proc/pidns_hierarchy /proc/18060/ns/pid /proc/18102/ns/pid /proc/1534/ns/pid /proc/18060/ns/pid /proc/18102/ns/pid /proc/1600/ns/pid /proc/1550/ns/pid It shows the pid hierarchy below:

[PATCH 4/4] GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)

2014-10-08 Thread Steven Whitehouse
From: Fabian Frederick use macro definition Signed-off-by: Fabian Frederick Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 7f513b1..8f0c19d 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -811,7 +811,7 @@ void gfs2_holder_init(struct gfs2_glock

[PATCH 2/4] GFS2: Make rename not save dirent location

2014-10-08 Thread Steven Whitehouse
From: Bob Peterson This patch fixes a regression in the patch "GFS2: Remember directory insert point", commit 2b47dad866d04f14c328f888ba5406057b8c7d33. The problem had to do with the rename function: The function found space for the new dirent, and remembered that location. But then the old

[PATCH 1/4] GFS2: fix bad inode i_goal values during block allocation

2014-10-08 Thread Steven Whitehouse
From: Abhi Das This patch checks if i_goal is either zero or if doesn't exist within any rgrp (i.e gfs2_blk2rgrpd() returns NULL). If so, it assigns the ip->i_no_addr block as the i_goal. There are two scenarios where a bad i_goal can result in a -EBADSLT error. 1. Attempting to allocate to an

GFS2: Pre-pull patch posting (merge window)

2014-10-08 Thread Steven Whitehouse
Hi, Not a huge amount this time... just four patches. This time we have a couple of bug fixes, one relating to bad i_goal values which are now ignored (i_goal is basically a hint so it is safe to so this) and another relating to the saving of the dirent location during rename. There is one

[PATCH 3/4] GFS2: Use gfs2_rbm_incr in rgblk_free

2014-10-08 Thread Steven Whitehouse
From: Bob Peterson This patch speeds up GFS2 unlink operations by using function gfs2_rbm_incr rather than continuously calculating the rbm. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 55ef72d..7474c41 100644 ---

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

2014-10-08 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 03:04:13PM +0100, Matt Fleming wrote: > From: Matt Fleming > > It's possible to run into issues with re-using unused monitoring IDs > because there may be stale cachelines associated with that ID from a > previous allocation. This can cause the LLC occupancy values to be

Re: [PATCH 2/6] Documentation: mailbox: Add APM X-Gene SLIMpro mailbox dts documentation

2014-10-08 Thread Mark Rutland
On Wed, Oct 08, 2014 at 01:06:45AM +0100, Feng Kan wrote: > This adds the APM X-Gene SLIMpro mailbox device tree node documentation. > > Signed-off-by: Feng Kan > --- > .../bindings/mailbox/xgene-slimpro-mailbox.txt | 41 > ++ > 1 file changed, 41 insertions(+) >

Re: [PATCH 0/2] Qualcomm PM8941 power key driver

2014-10-08 Thread Ivan T. Ivanov
On Tue, 2014-10-07 at 11:46 -0700, Bjorn Andersson wrote: > On Tue 07 Oct 02:01 PDT 2014, Ivan T. Ivanov wrote: > > > > > Hi Bjorn, > > > > On Mon, 2014-10-06 at 18:11 -0700, Bjorn Andersson wrote: > > > These patches add dt bindings and a device driver for the power key block > > > in > > >

Re: [PATCH 1/1 net-next] af_unix: remove NULL assignment on static

2014-10-08 Thread Michal Kubecek
On Wed, Oct 08, 2014 at 09:10:23AM +, David Laight wrote: > From: Hannes Frederic Sowa > > I think David's concern was whether if 0 == false in all situations. It > > is pretty clear that static memory is initialized to 0. > > I'm not 100% sure about that. > static pointers may be required to

[PATCH v4 01/29] asm-generic: add generic futex for !CONFIG_SMP

2014-10-08 Thread Ley Foon Tan
Follow m68k futex implementation for !CONFIG_SMP. Signed-off-by: Ley Foon Tan Acked-by: Arnd Bergmann --- include/asm-generic/futex.h | 82 +++ 1 files changed, 82 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/futex.h

[PATCH v4 04/29] nios2: Exception handling

2014-10-08 Thread Ley Foon Tan
This patch contains the exception entry code (kernel/entry.S) and misaligned exception. Signed-off-by: Ley Foon Tan --- arch/nios2/kernel/entry.S | 559 arch/nios2/kernel/misaligned.c | 255 ++ 2 files changed, 814 insertions(+),

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-08 Thread Ivan T. Ivanov
On Wed, 2014-10-08 at 12:13 +0300, Ivan T. Ivanov wrote: > On Tue, 2014-10-07 at 10:26 -0700, Dmitry Torokhov wrote: > > Hi Ivan, > > > > On Tue, Oct 07, 2014 at 12:50:46PM +0300, Ivan T. Ivanov wrote: > > > @@ -527,10 +538,55 @@ static int pmic8xxx_kp_probe(struct platform_device > > > *pdev) >

[PATCH v4 03/29] nios2: Kernel booting and initialization

2014-10-08 Thread Ley Foon Tan
This patch adds the kernel booting and the initial setup code. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/entry.h | 120 ++ arch/nios2/include/asm/setup.h | 38 +++ arch/nios2/kernel/head.S | 175

[PATCH v4 05/29] nios2: Traps exception handling

2014-10-08 Thread Ley Foon Tan
This patch contains traps exception handling. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/traps.h | 19 ++ arch/nios2/kernel/insnemu.S| 592 arch/nios2/kernel/traps.c | 185 + 3 files changed, 796 insertions(+), 0

[PATCH v4 07/29] nios2: I/O Mapping

2014-10-08 Thread Ley Foon Tan
This patch adds several definitions for I/O accessors and ioremap(). Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/io.h | 84 +++ arch/nios2/lib/io.c | 138 arch/nios2/mm/ioremap.c | 186

[PATCH v4 06/29] nios2: Memory management

2014-10-08 Thread Ley Foon Tan
This patch contains the initialisation of the memory blocks, MMU attributes and the memory map. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/mmu.h | 16 +++ arch/nios2/include/asm/page.h| 111 ++ arch/nios2/include/asm/uaccess.h | 231

[PATCH v4 11/29] nios2: Cache handling

2014-10-08 Thread Ley Foon Tan
This patch adds functionality required for cache maintenance. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/cache.h | 36 + arch/nios2/include/asm/cacheflush.h | 52 +++ arch/nios2/mm/cacheflush.c | 270 +++ 3 files changed,

[PATCH v4 12/29] nios2: TLB handling

2014-10-08 Thread Ley Foon Tan
This patch adds the TLB maintenance functions. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/tlb.h | 34 + arch/nios2/include/asm/tlbflush.h | 46 ++ arch/nios2/mm/tlb.c | 274 + 3 files changed, 354 insertions(+), 0

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2014-10-08 Thread Preeti U Murthy
Hi Peter, On 10/08/2014 01:37 PM, Peter Zijlstra wrote: > On Wed, Oct 08, 2014 at 12:37:40PM +0530, Preeti U Murthy wrote: >> There are two masks associated with cpusets. The cpus/mems_allowed >> and effective_cpus/mems. On the legacy hierarchy both these masks >> are consistent with each other.

[PATCH v4 16/29] nios2: ELF definitions

2014-10-08 Thread Ley Foon Tan
This patch adds definitions for the ELF format Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/elf.h | 101 + arch/nios2/include/uapi/asm/elf.h | 67 2 files changed, 168 insertions(+), 0 deletions(-) create mode

[PATCH v4 14/29] nios2: DMA mapping API

2014-10-08 Thread Ley Foon Tan
This patch adds support for the DMA mapping API. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/dma-mapping.h | 130 arch/nios2/mm/dma-mapping.c | 185 ++ 2 files changed, 315 insertions(+), 0 deletions(-) create mode

[PATCH v3 0/4] watchdog: Introduce new driver to support ST's Watchdog

2014-10-08 Thread Lee Jones
Hi Wim, Basic driver to support ST's LPC Watchdog device. Kind regards, Lee v2 => v3: - Don't stop Watchdog during .remove() - Remove superflous {EN,DIS}ABLE defines - Add missing clk_disable_unprepare() v1 => v2: - Fixed reset enable masks - Fixed DT documentation Lee Jones (4):

[PATCH v4 22/29] nios2: Cpuinfo handling

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/cpuinfo.h | 57 +++ arch/nios2/kernel/cpuinfo.c | 201 ++ 2 files changed, 258 insertions(+), 0 deletions(-) create mode 100644 arch/nios2/include/asm/cpuinfo.h create mode 100644

[PATCH v4 20/29] nios2: Device tree support

2014-10-08 Thread Ley Foon Tan
Add device tree support to arch/nios2. Signed-off-by: Ley Foon Tan --- Documentation/devicetree/bindings/nios2/nios2.txt | 62 Documentation/devicetree/bindings/nios2/timer.txt | 19 +++ arch/nios2/boot/dts/3c120_devboard.dts| 164 +

[PATCH v4 24/29] nios2: Nios2 registers

2014-10-08 Thread Ley Foon Tan
This file contains constants for the instruction macros, cpu registers, fields and bits. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/registers.h | 71 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH 1/1 net-next] af_unix: remove NULL assignment on static

2014-10-08 Thread Hannes Frederic Sowa
On Mi, 2014-10-08 at 09:10 +, David Laight wrote: > From: Hannes Frederic Sowa > > I think David's concern was whether if 0 == false in all situations. It > > is pretty clear that static memory is initialized to 0. > > I'm not 100% sure about that. > static pointers may be required to be

[PATCH v4 27/29] MAINTAINERS: Add nios2 maintainer

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index a12edf2..580499e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6421,6 +6421,13 @@ S: Maintained F:

[PATCH 2/4] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5fb95fb..034aeab 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[PATCH 1/4] ARM: STi: DT: STiH407: Add Device Tree node for LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: David Paris Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index f539627a..303df6c 100644 --- a/arch/arm/boot/dts/stih407.dtsi +++

[PATCH 4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2014-10-08 Thread Lee Jones
Signed-off-by: David Paris Signed-off-by: Lee Jones --- drivers/watchdog/Kconfig | 16 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_wdt.c | 317 ++ 3 files changed, 334 insertions(+) create mode 100644 drivers/watchdog/st_wdt.c diff

[PATCH v4 26/29] nios2: ptrace support

2014-10-08 Thread Ley Foon Tan
Add ptrace support for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/ptrace.h | 33 +++ arch/nios2/include/uapi/asm/ptrace.h | 120 arch/nios2/kernel/ptrace.c | 166 ++ 3 files changed, 319

[PATCH 3/4] watchdog: st_wdt: Provide binding documentation for ST's LPC Watchdog driver

2014-10-08 Thread Lee Jones
Cc: devicet...@vger.kernel.org Signed-off-by: David Paris Signed-off-by: Lee Jones --- .../devicetree/bindings/watchdog/st-lpc-wdt.txt| 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/st-lpc-wdt.txt diff --git

[PATCH v4 28/29] Documentation: Add documentation for Nios2 architecture

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- Documentation/nios2/README | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 Documentation/nios2/README diff --git a/Documentation/nios2/README b/Documentation/nios2/README new file mode 100644 index

[PATCH v4 29/29] nios2: Build infrastructure

2014-10-08 Thread Ley Foon Tan
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan --- arch/nios2/Kconfig | 201 ++ arch/nios2/Kconfig.debug | 17 +++ arch/nios2/Makefile | 73

[PATCH v4 21/29] nios2: Time keeping

2014-10-08 Thread Ley Foon Tan
Add time keeping code for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/delay.h | 21 +++ arch/nios2/include/asm/timex.h | 26 arch/nios2/kernel/time.c | 318 arch/nios2/lib/delay.c | 52 +++ 4 files changed,

[PATCH v4 23/29] nios2: Miscellaneous header files

2014-10-08 Thread Ley Foon Tan
This patch introduces a few nios2-specific header files. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/cmpxchg.h| 61 +++ arch/nios2/include/asm/linkage.h| 25 + arch/nios2/include/asm/mutex.h |1 +

[PATCH v4 25/29] nios2: Module support

2014-10-08 Thread Ley Foon Tan
This patch adds support for loadable modules. Signed-off-by: Ley Foon Tan --- arch/nios2/kernel/module.c | 137 1 files changed, 137 insertions(+), 0 deletions(-) create mode 100644 arch/nios2/kernel/module.c diff --git

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

2014-10-08 Thread Johan Hovold
On Tue, Oct 07, 2014 at 09:01:27PM +0300, Octavian Purdila wrote: > On Tue, Oct 7, 2014 at 8:10 PM, Johan Hovold wrote: > > On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: > >> On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold wrote: > >> > > >> > On Thu, Sep 25, 2014 at 07:07:31PM

[PATCH v4 19/29] nios2: Library functions

2014-10-08 Thread Ley Foon Tan
Add optimised library functions for nios2. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/checksum.h | 78 +++ arch/nios2/include/asm/string.h | 24 + arch/nios2/lib/memcpy.c | 199 + arch/nios2/lib/memmove.c

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

2014-10-08 Thread Ley Foon Tan
This patch adds support for signal handling. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/signal.h | 22 ++ arch/nios2/include/asm/ucontext.h| 32 +++ arch/nios2/include/uapi/asm/sigcontext.h | 28 +++ arch/nios2/include/uapi/asm/signal.h | 23 +++

[PATCH v4 15/29] Add ELF machine define for Nios2

2014-10-08 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan Acked-by: Arnd Bergmann --- include/uapi/linux/elf-em.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index 01529bd..7f06c0d 100644 --- a/include/uapi/linux/elf-em.h +++

[PATCH v4 13/29] nios2: Interrupt handling

2014-10-08 Thread Ley Foon Tan
This patch adds the support for IRQ handling. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/irq.h | 28 +++ arch/nios2/include/asm/irqflags.h | 69 +++ arch/nios2/kernel/irq.c | 93 + 3 files

[PATCH v4 17/29] nios2: System calls handling

2014-10-08 Thread Ley Foon Tan
This patch adds support for system calls from userspaces. It uses the asm-generic/unistd.h definitions with architecture spcific syscall. The sys_call_table is just an array defined in a C file and it contains pointers to the syscall functions. Signed-off-by: Ley Foon Tan ---

[PATCH v4 10/29] nios2: Process management

2014-10-08 Thread Ley Foon Tan
This patch adds support for thread creation and context switching. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/mmu_context.h | 66 + arch/nios2/include/asm/processor.h | 103 ++ arch/nios2/include/asm/switch_to.h | 31

[PATCH v4 08/29] nios2: MMU Fault handling

2014-10-08 Thread Ley Foon Tan
This patch adds support for the handling of the MMU faults (exception entry code introduced by a previous patch, kernel/entry.S). Signed-off-by: Ley Foon Tan --- arch/nios2/mm/extable.c | 25 + arch/nios2/mm/fault.c | 251 +++ 2 files

[PATCH v4 09/29] nios2: Page table management

2014-10-08 Thread Ley Foon Tan
This patch adds support for page table management. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/pgalloc.h | 86 + arch/nios2/include/asm/pgtable-bits.h | 35 arch/nios2/include/asm/pgtable.h | 305 + arch/nios2/mm/pgtable.c

[PATCH v4 02/29] nios2: Assembly macros and definitions

2014-10-08 Thread Ley Foon Tan
This patch add assembly macros and definitions used in the .S files across arch/nios2/ and together with asm-offsets.c. Signed-off-by: Ley Foon Tan --- arch/nios2/include/asm/asm-macros.h | 309 ++ arch/nios2/include/asm/asm-offsets.h | 20 +++

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

2014-10-08 Thread Mark yao
On 2014年10月08日 12:23, Mark Yao wrote: From: Mark yao This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao Signed-off-by: Daniel Kurtz Acked-by: Daniel Vetter Reviewed-by: Rob Clark --- Changes in v2: - use the component framework to defer main drm

[PATCH v4 00/29] nios2 Linux kernel port

2014-10-08 Thread Ley Foon Tan
This is the 4th version of patchset adds the Linux kernel port for Nios II processor from Altera. This version mainly update signaling patch. Not a lot has changed since v3, only patch #8, #15 and #26 have changes compare to v3. Added Acked from Arnd to patch #1 and #15. Thanks to all who

ftrace: trace buffer size configuration

2014-10-08 Thread sabra gargouri
Hi, I'am using ftrace to trace my system for a few minutes. For that I configured the trace buffer via buffer_size_kb file to 10 kb so 20 for 2 CPUs. After tracing my system the trace size is 500MB. Why the allocated size for the trace buffer (200 MB) is not the same of the trace file

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