[PATCH net-next 0/2] net: filter: split eBPF interpreter out of core networking

2014-07-23 Thread Alexei Starovoitov
Hi David, I believe my recent set of RFC/patches [1] provided good visibility on where I would like to take eBPF subsystem. These two trivial patches is a first step in that direction: patch 1 - mechanical split of eBPF interpreter out of filter.c patch 2 - nominate myself as a maintainer for

[PATCH net-next 2/2] bpf: update MAINTAINERS entry

2014-07-23 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov a...@plumgrid.com --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 78215a5dea28..62bf15f6954f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1912,6 +1912,13 @@ S: Supported F:

[PATCH net-next 1/2] net: filter: split filter.c into two files

2014-07-23 Thread Alexei Starovoitov
BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic-eBPF converter, classic verifiers, socket filters This patch only moves functions. Signed-off-by: Alexei

[PATCH] serial/core: Fix too big allocation for attribute member

2014-07-23 Thread Yoshihiro YUNOMAE
Current code allocates too much data for tty_groups member of uart_port struct, so fix it. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com CC: Greg Kroah-Hartman gre...@linuxfoundation.org CC: Dan Carpenter dan.carpen...@oracle.com --- drivers/tty/serial/serial_core.c |2 +-

Re: [PATCH v4] fs: umount on symlink leaks mnt count

2014-07-23 Thread Ian Kent
On Mon, 2014-07-21 at 12:30 +0400, Vasily Averin wrote: v4: description corrected v3: patch inline Currently umount on symlink blocks following umount: /vz is separate mount # ls /vz/ -al | grep test drwxr-xr-x. 2 root root 4096 Jul 19 01:14 testdir lrwxrwxrwx. 1 root root

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-23 Thread Adrian Hunter
On 07/22/2014 05:00 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: Intel PT decoding walks the object code to reconstruct the trace. A jump label change during tracing causes decoding errors. The Enable close-on-exec flag on perf file

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-23 Thread Adrian Hunter
On 07/22/2014 05:11 PM, Peter Zijlstra wrote: On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: Intel PT decoding walks the object code to reconstruct the trace. A jump label change during tracing causes

[PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-23 Thread Dmitry Torokhov
Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/rmi4/rmi_f11.c | 135 +++ 1 file changed, 71 insertions(+), 64 deletions(-) diff --git a/drivers/input/rmi4/rmi_f11.c b/drivers/input/rmi4/rmi_f11.c index b739d31..7af4f68 100644

Re: [PATCH net-next 1/2] net: filter: split filter.c into two files

2014-07-23 Thread Varka Bhadram
On 07/23/2014 11:31 AM, Alexei Starovoitov wrote: BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic-eBPF converter, classic verifiers, socket filters This patch

Re: Re: [PATCH V4 1/5] trace-cmd/listen: Apply the trace-msg protocol for communication between a server and clients

2014-07-23 Thread Yoshihiro YUNOMAE
Hi Steven, Thank you for your review. (2014/07/23 0:04), Steven Rostedt wrote: Sorry for taking so long to reply, I've been hacking on the kernel a bit and that takes precedence over user tools :-/ On Fri, 11 Jul 2014 00:58:26 + Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote:

[PATCH -next] staging/goldfish/goldfish_audio: fix a sparse warning

2014-07-23 Thread Robin Schroer
Fix a pointer check to use NULL instead of 0 Warning: drivers/staging/goldfish/goldfish_audio.c:300:34: warning: Using plain integer as NULL pointer Signed-off-by: Robin Schroer sulamiificat...@gmail.com --- drivers/staging/goldfish/goldfish_audio.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 3/5] gpio: make gpiochip_get_desc() gpiolib-private

2014-07-23 Thread Guenter Roeck
On 07/22/2014 10:39 PM, Alexandre Courbot wrote: On Wed, Jul 23, 2014 at 12:47 PM, Guenter Roeck li...@roeck-us.net wrote: On 07/22/2014 08:10 PM, Alexandre Courbot wrote: On Wed, Jul 23, 2014 at 5:17 AM, Guenter Roeck li...@roeck-us.net wrote: On Tue, Jul 22, 2014 at 04:17:41PM +0900,

Re: [PATCH 17/52] perf evlist: Add perf_evlist__set_tracking_event()

2014-07-23 Thread Adrian Hunter
On 07/22/2014 10:22 PM, Jiri Olsa wrote: On Tue, Jul 22, 2014 at 04:17:26PM +0300, Adrian Hunter wrote: SNIP } + +int perf_evlist__set_tracking_event(struct perf_evlist *evlist, +struct perf_evsel *tracking_evsel) +{ +struct perf_evsel *evsel; + +

Re: [PATCH 13/52] perf tools: Add perf_pmu__scan_file()

2014-07-23 Thread Adrian Hunter
On 07/22/2014 10:09 PM, Jiri Olsa wrote: On Tue, Jul 22, 2014 at 04:17:22PM +0300, Adrian Hunter wrote: SNIP + +static FILE *perf_pmu__open_file(struct perf_pmu *pmu, const char *name) +{ +struct stat st; +char path[PATH_MAX]; +const char *sysfs; + +sysfs =

Re: [PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-07-23 Thread Daniel Drake
On Wed, Jul 9, 2014 at 2:23 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: I like the sound of going to the standard ttyS notation and only providing ports for ones that exist, but is this userspace-visible ttyS is 8250 compatible UARTS. If the Samsung is not an 8250 compatible

[PATCH] tty/n_gsm.c: get gsm-num after gsm_activate_mux

2014-07-23 Thread xinhui.pan
gsm-num is the index of gsm_mux[], it's invalid before calling gsm_activate_mux. Signed-off-by: xinhui.pan xinhuix@intel.com --- drivers/tty/n_gsm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 2ebe47b..81e7ccb

[PATCH v3 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-07-23 Thread Caesar Wang
This patch added to support the PWM controller found on RK3288 SoC. Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- drivers/pwm/pwm-rockchip.c | 141 +++-- 1 file changed, 122 insertions(+), 19 deletions(-) diff --git

[PATCH v3 0/2] This series adds support for RK3288 SoC integrated PWM

2014-07-23 Thread Caesar Wang
This patch will make applying on the top of Beniamino's submission, the Beniamino's submission come from [1]. [1]: https://git.kernel.org/cgit/linux/kernel/git/thierry.reding/linux-pwm.git/log/?h=for-next Beniamino's submission won't be used from genenation Rockchip SoCs. So I have

[PATCH v3 1/2] pwm: rockchip: document RK3288 SoC compatible

2014-07-23 Thread Caesar Wang
Document new compatible for PWM founding on RK3288 SoC Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 22-07-14 17:59, Christian König schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian König christian.koe...@amd.com wrote: Drivers exporting fences need to provide a fence-signaled and a fence-wait function, everything else like

linux-next: manual merge of the scsi tree with the net-next tree

2014-07-23 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/scsi/cxgbi/libcxgbi.h between commit fc8d0590d914 (libcxgbi: Add ipv6 api to driver) from the net-next tree and commit 1abf635d2f33 (scsi: use 64-bit value for 'max_luns') from the scsi tree. I fixed it up (see below)

[PATCH] avr32: Remove unnessary variables from page.h

2014-07-23 Thread Nicholas Krause
This removes the unneeded variables memory_start and memory_end in order to fix this fix me message. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- arch/avr32/include/asm/page.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/avr32/include/asm/page.h

[PATCH V2] ACPI/NVS: Not save NVS region for new machine to accelerate S3

2014-07-23 Thread Lan Tianyu
NVS region is saved and restored unconditionally for machines without nvs_nosave quirk during S3. Tested some new machines and the operation is not necessary. Saving NVS region also affects S2RAM speed. The time of NVS saving and restoring depends on the size of NVS region and it consumes 7~10ms

Re: smp-cmp.c: CDFIXMES

2014-07-23 Thread Paul Burton
On Wed, Jul 23, 2014 at 12:40:59AM -0400, Nick Krause wrote: Are the lines with CDFIXME still needed? If not please tell me as I will send in a patch removing these two from this file in order to help you guys out :). Cheers Nick Hi Nick, I imagine the only answer any of us can give you is

Re: [PATCH] avr32: Remove unnessary variables from page.h

2014-07-23 Thread Hans-Christian Egtvedt
Around Wed 23 Jul 2014 02:42:36 -0400 or thereabout, Nicholas Krause wrote: This removes the unneeded variables memory_start and memory_end in order to fix this fix me message. Signed-off-by: Nicholas Krause xerofo...@gmail.com This is already applied to my local for-linus branch, it will be

Re: Random panic in load_balance() with 3.16-rc

2014-07-23 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 09:21:40PM -0700, Linus Torvalds wrote: On Tue, Jul 22, 2014 at 8:53 PM, Michel Dänzer mic...@daenzer.net wrote: Just happened again with the same change on top of 3.16-rc6. The (maybe) related bugzilla entry is just odd. Bruno Wolff reports that the BUG_ON() in

Re: [PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Oded Gabbay
On 22/07/14 14:15, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay oded.gab...@amd.com wrote: Exactly, just prevent userspace from submitting more. And if you have

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-23 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 08:37:19PM -0500, Bruno Wolff III wrote: build_sched_domain: cpu: 0 level: SMT cpu_map: 0-3 tl-mask: 0,2 [0.252441] build_sched_domain: cpu: 0 level: MC cpu_map: 0-3 tl-mask: 0,2 [0.252526] build_sched_domain: cpu: 0 level: DIE cpu_map: 0-3

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 08:40, schrieb Maarten Lankhorst: op 22-07-14 17:59, Christian König schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian König christian.koe...@amd.com wrote: Drivers exporting fences need to provide a fence-signaled and a fence-wait

Re: [PATCH v1 2/3] mtd: hisilicon: add a new nand controller driver for hisilicon hip04 Soc

2014-07-23 Thread Zhou Wang
On 2014年07月15日 18:58, Zhou Wang wrote: Signed-off-by: Zhou Wang wangzhou@gmail.com --- drivers/mtd/nand/Kconfig |5 + drivers/mtd/nand/Makefile|1 + drivers/mtd/nand/hisi_nand.c | 836 ++ 3 files changed, 842 insertions(+)

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread Thierry Reding
On Wed, Jul 23, 2014 at 10:14:44AM +0530, Viresh Kumar wrote: On 21 July 2014 21:09, Tuomas Tynkkynen ttynkky...@nvidia.com wrote: diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 7364a53..df3c73e 100644 --- a/drivers/cpufreq/Kconfig.arm +++

Re: [PATCH v3] gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc

2014-07-23 Thread Mika Westerberg
On Tue, Jul 22, 2014 at 08:01:01AM -0700, Guenter Roeck wrote: Both functions were introduced to let gpio drivers request their own gpio pins. Without exporting the functions, this can however only be used by gpio drivers built into the kernel. Secondary impact is that the functions can not

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 06:55:03AM +0200, Mike Galbraith wrote: On Mon, 2014-07-21 at 09:42 -0700, Andi Kleen wrote: FWIW the main problem is currently that switch-through-idle is so slow. I think improving that would give a boost to far more situations. Two high frequency idle

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 09:07:32AM +0300, Adrian Hunter wrote: On 07/22/2014 05:11 PM, Peter Zijlstra wrote: On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu: Intel PT decoding walks the object code to

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread Viresh Kumar
On 23 July 2014 12:24, Thierry Reding thierry.red...@gmail.com wrote: On Wed, Jul 23, 2014 at 10:14:44AM +0530, Viresh Kumar wrote: On 21 July 2014 21:09, Tuomas Tynkkynen ttynkky...@nvidia.com wrote: diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 8:52 AM, Christian König christian.koe...@amd.com wrote: In the preliminary patches where I can sync radeon with other GPU's I've been very careful in all the places that call into fences, to make sure that radeon wouldn't try to handle lockups for a different (possibly

Re: [PATCH v1 3/3] mtd: hisilicon: add device tree binding documentation

2014-07-23 Thread Zhou Wang
On 2014年07月15日 18:58, Zhou Wang wrote: Signed-off-by: Zhou Wang wangzhou@gmail.com --- .../devicetree/bindings/mtd/hisi-nand.txt | 40 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/hisi-nand.txt Hi Randy

Re: [PATCH v5 1/3] arm64: ptrace: reload a syscall number after ptrace operations

2014-07-23 Thread AKASHI Takahiro
On 07/23/2014 05:15 AM, Kees Cook wrote: On Tue, Jul 22, 2014 at 2:14 AM, AKASHI Takahiro takahiro.aka...@linaro.org wrote: Arm64 holds a syscall number in w8(x8) register. Ptrace tracer may change its value either to: * any valid syscall number to alter a system call, or * -1 to skip a

Re: [PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Christian König
Am 23.07.2014 08:50, schrieb Oded Gabbay: On 22/07/14 14:15, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay oded.gab...@amd.com wrote: Exactly, just prevent userspace from

Re: [PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 8:50 AM, Oded Gabbay oded.gab...@amd.com wrote: On 22/07/14 14:15, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay oded.gab...@amd.com wrote:

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 08:52, Christian König schreef: Am 23.07.2014 08:40, schrieb Maarten Lankhorst: op 22-07-14 17:59, Christian König schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian König christian.koe...@amd.com wrote: Drivers exporting fences need

Re: [PATCH 1/4] usb: move the OTG state from the USB PHY to the OTG structure

2014-07-23 Thread Antoine Ténart
Hi, On Tue, Jul 22, 2014 at 04:33:54PM -0500, Bin Liu wrote: On Wed, Jul 9, 2014 at 5:17 AM, Antoine Ténart antoine.ten...@free-electrons.com wrote: diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 7cccab6ff308..9a9702773e43 100644 ---

Re: [PATCH v5 0/3] arm64: Add seccomp support

2014-07-23 Thread AKASHI Takahiro
On 07/23/2014 05:16 AM, Kees Cook wrote: On Tue, Jul 22, 2014 at 2:14 AM, AKASHI Takahiro takahiro.aka...@linaro.org wrote: (Please apply this patch after my audit patch in order to avoid some conflict on arm64/Kconfig.) This patch enables secure computing (system call filtering) on arm64.

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread Thierry Reding
On Mon, Jul 21, 2014 at 06:39:00PM +0300, Tuomas Tynkkynen wrote: [...] diff --git a/drivers/cpufreq/tegra124-cpufreq.c b/drivers/cpufreq/tegra124-cpufreq.c [...] +static int tegra124_cpu_switch_to_dfll(void) +{ + struct clk *original_cpu_clk_parent; Maybe just parent? + unsigned

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Can we somehow avoid the need to call fence_signal() at all? The interrupts at least on radeon are way to unreliable for such a thing. Can enable_signalling fail? What's the reason for fence_signaled()

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:09, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Can we somehow avoid the need to call fence_signal() at all? The interrupts at least on radeon are way to unreliable for such a thing. Can enable_signalling

Re: [PATCH 01/52] perf tools: Fix jump label always changing during tracing

2014-07-23 Thread Adrian Hunter
On 07/23/2014 09:58 AM, Peter Zijlstra wrote: On Wed, Jul 23, 2014 at 09:07:32AM +0300, Adrian Hunter wrote: On 07/22/2014 05:11 PM, Peter Zijlstra wrote: On Tue, Jul 22, 2014 at 11:00:34AM -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 22, 2014 at 04:17:10PM +0300, Adrian Hunter escreveu:

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread pramod gurav
On Mon, Jul 21, 2014 at 9:09 PM, Tuomas Tynkkynen ttynkky...@nvidia.com wrote: Add a new cpufreq driver for Tegra124. Instead of using the PLLX as snip + +static int tegra124_cpu_switch_to_dfll(void) +{ + struct clk *original_cpu_clk_parent; + unsigned long rate; +

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread Thierry Reding
On Wed, Jul 23, 2014 at 12:28:21PM +0530, Viresh Kumar wrote: On 23 July 2014 12:24, Thierry Reding thierry.red...@gmail.com wrote: On Wed, Jul 23, 2014 at 10:14:44AM +0530, Viresh Kumar wrote: On 21 July 2014 21:09, Tuomas Tynkkynen ttynkky...@nvidia.com wrote: diff --git

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-23 Thread Mike Galbraith
On Wed, 2014-07-23 at 08:57 +0200, Peter Zijlstra wrote: On Wed, Jul 23, 2014 at 06:55:03AM +0200, Mike Galbraith wrote: On Mon, 2014-07-21 at 09:42 -0700, Andi Kleen wrote: FWIW the main problem is currently that switch-through-idle is so slow. I think improving that would give a

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:06, schrieb Maarten Lankhorst: op 23-07-14 08:52, Christian König schreef: Am 23.07.2014 08:40, schrieb Maarten Lankhorst: op 22-07-14 17:59, Christian König schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian König

Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the freeze sleep state

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 12:26:20AM +0200, Rafael J. Wysocki wrote: All of that indicates that the machine in question has WoL based on native PCIe PME signaling. In that case it doesn't wake up from the freeze state, because some code is missing. Didn't wake, but it did show:

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:26 AM, Christian König deathsim...@vodafone.de wrote: It's not a locking problem I'm talking about here. Radeons lockup handling kicks in when anything calls into the driver from the outside, if you have a fence wait function that's called from the outside but doesn't

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 09:15, Christian König schreef: Am 23.07.2014 09:09, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Can we somehow avoid the need to call fence_signal() at all? The interrupts at least on radeon are way to

Re: Another tree in Linux -next

2014-07-23 Thread Lee Jones
On Wed, 23 Jul 2014, Stephen Rothwell wrote: On Tue, 22 Jul 2014 10:22:08 +0100 Lee Jones lee.jo...@linaro.org wrote: Can I have another branch in -next please? Sure, if you think you meet the criteria, then send me a URL: You will need to ensure that the patches/commits in your

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 09:25:46AM +0200, Mike Galbraith wrote: I also resurrect mwait_idle(), as while you may consider it obsolete, I still love my lovely little Q6600 box (power sucking pig) dearly :) Yeah, I keep forgetting about that one.. we should get that fixed. -- To unsubscribe from

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:31, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:26 AM, Christian König deathsim...@vodafone.de wrote: It's not a locking problem I'm talking about here. Radeons lockup handling kicks in when anything calls into the driver from the outside, if you have a fence wait function

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-23 Thread Mike Galbraith
On Wed, 2014-07-23 at 09:35 +0200, Peter Zijlstra wrote: On Wed, Jul 23, 2014 at 09:25:46AM +0200, Mike Galbraith wrote: I also resurrect mwait_idle(), as while you may consider it obsolete, I still love my lovely little Q6600 box (power sucking pig) dearly :) Yeah, I keep forgetting

Re: [PATCH v5 0/3] APEI: Make APEI architecture independent.

2014-07-23 Thread Tomasz Nowicki
Many thanks Tony! And thanks goes to Borislav and Robert too. Regards, Tomasz On 22.07.2014 23:08, Tony Luck wrote: On Tue, Jul 22, 2014 at 2:20 AM, Tomasz Nowicki tomasz.nowi...@linaro.org wrote: APEI is currently implemented so that it depends on x86 hardware. The primary dependency is that

Re: [PATCHSET 0/6] perf tools: Honor column width setting

2014-07-23 Thread Namhyung Kim
Hi Jiri, On Mon, 21 Jul 2014 11:07:55 +0200, Jiri Olsa wrote: On Wed, Jul 09, 2014 at 02:28:08PM +0900, Namhyung Kim wrote: Hello, This patchset is to control perf report/top output column width by -w/--column-widths option so that it can fit into the terminal size. The -w option is there

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:32, schrieb Maarten Lankhorst: op 23-07-14 09:15, Christian König schreef: Am 23.07.2014 09:09, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Can we somehow avoid the need to call fence_signal() at all? The

[PATCH] usb: phy: msm: Make of_device_id array const

2014-07-23 Thread Kiran Padwal
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/usb/phy/phy-msm-usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-msm-usb.c

Re: [PATCH] sched: make update_sd_pick_busiest return true on a busier sd

2014-07-23 Thread Vincent Guittot
On 22 July 2014 20:45, Rik van Riel r...@redhat.com wrote: Currently update_sd_pick_busiest only returns true when an sd is overloaded, or for SD_ASYM_PACKING when a domain is busier than average and a higher numbered domain than the target. This breaks load balancing between domains that are

[PATCH v3 6/6] kvm, mem-hotplug: Reload L1's apic access page if it is migrated when L2 is running.

2014-07-23 Thread Tang Chen
This patch only handle L1 and L2 vm share one apic access page situation. When L1 vm is running, if the shared apic access page is migrated, mmu_notifier will request all vcpus to exit to L0, and reload apic access page physical address for all the vcpus' vmcs (which is done by patch 5/6). And

[PATCH v3 1/6] kvm: Add gfn_to_page_no_pin() to translate gfn to page without pinning.

2014-07-23 Thread Tang Chen
gfn_to_page() will finally call hva_to_pfn() to get the pfn, and pin the page in memory by calling GUP functions. This function unpins the page. Will be used by the followed patches. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- include/linux/kvm_host.h | 1 + virt/kvm/kvm_main.c |

[PATCH v3 2/6] kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.

2014-07-23 Thread Tang Chen
We have APIC_DEFAULT_PHYS_BASE defined as 0xfee0, which is also the address of apic access page. So use this macro. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- arch/x86/kvm/svm.c | 3 ++- arch/x86/kvm/vmx.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] mailbox/omap: Use module_platform_driver

2014-07-23 Thread Tobias Klauser
On 2014-07-22 at 17:00:44 +0200, Suman Anna s-a...@ti.com wrote: Hi Tobias, On 07/22/2014 07:13 AM, Tobias Klauser wrote: Use the module_platform_driver to omit module init/exit boilerplate code. Signed-off-by: Tobias Klauser tklau...@distanz.ch --- drivers/mailbox/mailbox-omap1.c

Re: [REGRESSION] Boot hang with 939f04bec printk: enable interrupts before calling console_trylock_for_printk()

2014-07-23 Thread Jan Kara
On Wed 23-07-14 01:29:32, Andreas Bombe wrote: On Mon, Jul 21, 2014 at 12:04:34PM +0200, Jan Kara wrote: On Sat 19-07-14 00:50:05, Andreas Bombe wrote: I don't see anything in /sys/kernel/debug/tracing/trace_pipe or .../trace (besides the header) with your patch applied. In case you

[PATCH v3 4/6] kvm: Make init_rmode_identity_map() return 0 on success.

2014-07-23 Thread Tang Chen
In init_rmode_identity_map(), there two variables indicating the return value, r and ret, and it return 0 on error, 1 on success. The function is only called by vmx_create_vcpu(), and r is redundant. This patch removes the redundant variable r, and make init_rmode_identity_map() return 0 on

[PATCH v3 3/6] kvm: Remove ept_identity_pagetable from struct kvm_arch.

2014-07-23 Thread Tang Chen
kvm_arch-ept_identity_pagetable holds the ept identity pagetable page. But it is never used to refer to the page at all. In vcpu initialization, it indicates two things: 1. indicates if ept page is allocated 2. indicates if a memory slot for identity page is initialized Actually,

Re: [PATCH 2/6] net/macb: add scatter-gather hw feature

2014-07-23 Thread Cyrille Pitchen
Le 21/07/2014 06:13, David Miller a écrit : From: Cyrille Pitchen cyrille.pitc...@atmel.com Date: Fri, 18 Jul 2014 16:21:14 +0200 +if (tx_skb-mapped_as_page) { +dma_unmap_page(bp-pdev-dev, tx_skb-mapping, + tx_skb-size,

[PATCH v3 5/6] kvm, mem-hotplug: Do not pin apic access page in memory.

2014-07-23 Thread Tang Chen
apic access page is pinned in memory. As a result, it cannot be migrated/hot-removed. Actually, it is not necessary to be pinned. The hpa of apic access page is stored in VMCS APIC_ACCESS_ADDR pointer. When the page is migrated, kvm_mmu_notifier_invalidate_page() will invalidate the

Re: omap-wakeupgen.c: Remove function for fix me

2014-07-23 Thread Tony Lindgren
* Nick Krause xerofo...@gmail.com [140722 14:12]: static void __init irq_pm_init(void) 382 { 383 /* FIXME: Remove this when MPU OSWR support is added */ 384 if (!soc_is_omap54xx()) 385 cpu_pm_register_notifier(irq_notifier_block); 386 } I am wondering is this

[PATCH v3 0/6] kvm, mem-hotplug: Do not pin ept identity pagetable and apic access page.

2014-07-23 Thread Tang Chen
ept identity pagetable and apic access page in kvm are pinned in memory. As a result, they cannot be migrated/hot-removed. But actually they don't need to be pinned in memory. [For ept identity page] Just do not pin it. When it is migrated, guest will be able to find the new page in the next ept

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 09:37, Christian König schreef: Am 23.07.2014 09:31, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:26 AM, Christian König deathsim...@vodafone.de wrote: It's not a locking problem I'm talking about here. Radeons lockup handling kicks in when anything calls into the driver from

Re: [RFC PATCH 0/5] futex: introduce an optimistic spinning futex

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 09:39:03AM +0200, Mike Galbraith wrote: On Wed, 2014-07-23 at 09:35 +0200, Peter Zijlstra wrote: On Wed, Jul 23, 2014 at 09:25:46AM +0200, Mike Galbraith wrote: I also resurrect mwait_idle(), as while you may consider it obsolete, I still love my lovely little

[PATCH] printk: enable interrupts before calling console_trylock_for_printk()

2014-07-23 Thread Jan Kara
We need interrupts disabled when calling console_trylock_for_printk() only so that cpu id we pass to can_use_console() remains valid (for other things console_sem provides all the exclusion we need and deadlocks on console_sem due to interrupts are impossible because we use down_trylock()).

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Regardless of the fence implementation, why would it be a good idea to do a full lockup recovery when some other driver is calling your wait function? That doesn't seem to be a nice thing to do, so I think a timeout is the best error you could return here, other drivers have to deal with that

Re: [STLinux Kernel] [PATCH v3 0/5] phy: miphy365x: Introduce support for MiPHY365x

2014-07-23 Thread Maxime Coquelin
Hi Kishon, On 07/22/2014 09:23 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 21 July 2014 01:09 PM, Lee Jones wrote: Hi Kishon, This patchset is based on the two core patches you sent to the list which facilitate creating PHYs residing on multi-channel controllers. The changes since

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:37 AM, Christian König christian.koe...@amd.com wrote: Am 23.07.2014 09:31, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:26 AM, Christian König deathsim...@vodafone.de wrote: It's not a locking problem I'm talking about here. Radeons lockup handling kicks in

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:58 AM, Christian König deathsim...@vodafone.de wrote: Just imagine an application using prime is locking up Radeon and because of that gets killed by the user. Nothing else in the system would use the Radeon hardware any more and so radeon gets only called by another

Re: [PATCH] ix86: fix vDSO build

2014-07-23 Thread Jan Beulich
On 11.07.14 at 00:58, h...@zytor.com wrote: On 07/03/2014 07:35 AM, Jan Beulich wrote: Relying on static functions used just once to get inlined (and subsequently have dead code paths eliminated) is wrong: Compilers are free to decide whether they do this, regardless of optimization level.

Re: [PATCH] serial/core: Fix too big allocation for attribute member

2014-07-23 Thread Daniel Thompson
On 23/07/14 07:06, Yoshihiro YUNOMAE wrote: Current code allocates too much data for tty_groups member of uart_port struct, so fix it. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com CC: Greg Kroah-Hartman gre...@linuxfoundation.org CC: Dan Carpenter

[RFC v6 1/2] backlight: add new tps611xx backlight driver

2014-07-23 Thread Daniel Jeong
This driver is a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol(1-Wire Control Interface). EasyScale EasyScale is a simple but flexible one pin interface to configure the current. The interface

[RFC v6 2/2] backlight: device tree: add new tps611xx backlight binding

2014-07-23 Thread Daniel Jeong
This commit is about tps611xx device tree documentation. Signed-off-by: Daniel Jeong gshark.je...@gmail.com --- [v6] Nothing changed from v5. Driver files were changed --- .../video/backlight/tps611xx-backlight.txt | 26 1 file changed, 26 insertions(+) create

[RFC v6 0/2] backlight: add new tps611xx backlight driver

2014-07-23 Thread Daniel Jeong
This driver a general version for tps611xx backlgiht chips of TI. It supports tps61158, tps61161, tps61163 and tps61165 backlight driver based on EasyScale protocol. Daniel Jeong (2): [RFC v6 1/2] backlight: add new tps611xx backlight driver [RFC v6 2/2] backlight: device tree: add new

Re: [RFC Patch V1 28/30] mm: Update _mem_id_[] for every possible CPU when memory configuration changes

2014-07-23 Thread Jiang Liu
On 2014/7/22 1:47, Nishanth Aravamudan wrote: On 11.07.2014 [15:37:45 +0800], Jiang Liu wrote: Current kernel only updates _mem_id_[cpu] for onlined CPUs when memory configuration changes. So kernel may allocate memory from remote node for a CPU if the CPU is still in absent or offline state

linux-next: manual merge of the akpm tree with the net-next tree

2014-07-23 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/infiniband/hw/cxgb4/device.c between commit da388973d4a1 (iw_cxgb4: fix for 64-bit integer division) from the net-next tree and commit drivers/infiniband/hw/cxgb4/device.c: fix 32-bit builds from the akpm tree. I

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 10:07, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:58 AM, Christian König deathsim...@vodafone.de wrote: Just imagine an application using prime is locking up Radeon and because of that gets killed by the user. Nothing else in the system would use the Radeon hardware any more

Re: [PATCH] extcon: Add missing REGMAP_I2C/REGMAP_IRQ dependency on extcon driver

2014-07-23 Thread Krzysztof Kozlowski
On śro, 2014-07-23 at 10:40 +0900, Chanwoo Choi wrote: This patch add missing REGMAP_I2C/REGMAP_IRQ dependency on extcon provider driver to protect build break. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- drivers/extcon/Kconfig | 4 1 file changed, 4 insertions(+) diff

Re: [RFC Patch V1 00/30] Enable memoryless node on x86 platforms

2014-07-23 Thread Jiang Liu
On 2014/7/22 1:57, Nishanth Aravamudan wrote: On 21.07.2014 [10:41:59 -0700], Tony Luck wrote: On Mon, Jul 21, 2014 at 10:23 AM, Nishanth Aravamudan n...@linux.vnet.ibm.com wrote: It seems like the issue is the order of onlining of resources on a specific x86 platform? Yes. When we online

Re: [STLinux Kernel] [PATCH v3 0/5] phy: miphy365x: Introduce support for MiPHY365x

2014-07-23 Thread Kishon Vijay Abraham I
On Wednesday 23 July 2014 01:28 PM, Maxime Coquelin wrote: Hi Kishon, On 07/22/2014 09:23 AM, Kishon Vijay Abraham I wrote: Hi, On Monday 21 July 2014 01:09 PM, Lee Jones wrote: Hi Kishon, This patchset is based on the two core patches you sent to the list which facilitate creating

Re: [PATCH v3 0/4] dra7: Add PCIe support

2014-07-23 Thread Kishon Vijay Abraham I
On Wednesday 23 July 2014 03:03 AM, Bjorn Helgaas wrote: On Thu, Jul 17, 2014 at 02:30:39PM +0530, Kishon Vijay Abraham I wrote: Changes from v2: * Added myself as MAINTAINER of pcie dra7xx driver Changes from v1: * fixed dw_pcie_prog_viewport_io_outbound() to use untranslated address *

Re: [PATCH v2 14/16] cpufreq: Add cpufreq driver for Tegra124

2014-07-23 Thread Viresh Kumar
On 23 July 2014 12:54, Thierry Reding thierry.red...@gmail.com wrote: ARM_TEGRA_CPUFREQ is still optional, so the select only applies when the Tegra cpufreq driver is enabled. This is mostly just out of convenience, though. The Tegra cpufreq driver uses the generic CPU0 cpufreq driver so a

Re: [Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 10:20, Christian König schreef: Am 23.07.2014 10:07, schrieb Daniel Vetter: On Wed, Jul 23, 2014 at 9:58 AM, Christian König deathsim...@vodafone.de wrote: Just imagine an application using prime is locking up Radeon and because of that gets killed by the user. Nothing else in the

Re: [PATCH v5 1/3] arm64: ptrace: reload a syscall number after ptrace operations

2014-07-23 Thread Will Deacon
On Wed, Jul 23, 2014 at 08:03:47AM +0100, AKASHI Takahiro wrote: On 07/23/2014 05:15 AM, Kees Cook wrote: On Tue, Jul 22, 2014 at 2:14 AM, AKASHI Takahiro takahiro.aka...@linaro.org wrote: asmlinkage int syscall_trace_enter(struct pt_regs *regs) { + unsigned long saved_x0,

Re: [PATCH] PNPACPI: check return value of pnpacpi_parse_allocated_resource() and pnpacpi_parse_resource_option_data()

2014-07-23 Thread Arjun
ACPI 5.0 resource types like FixedDMA will fail pnpacpi_allocated_resource(). pnpacpi_add_device() has to return error in that case. On 23 July 2014 03:42, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, July 23, 2014 12:43:39 AM Arjun Sreedharan wrote: Handle error condition since

RE: [PATCH net-next 1/2] net: filter: split filter.c into two files

2014-07-23 Thread David Laight
From: Varka Bhadram On 07/23/2014 11:31 AM, Alexei Starovoitov wrote: BPF is used in several kernel components. This split creates logical boundary between generic eBPF core and the rest kernel/bpf/core.c: eBPF interpreter net/core/filter.c: classic-eBPF converter, classic

Re: Random panic in load_balance() with 3.16-rc

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 05:05:24PM +0900, Michel Dänzer wrote: On 23.07.2014 15:49, Peter Zijlstra wrote: Attached. No FAIL messages yet. [0.467570] __sdt_alloc: allocated 8802155ea4c0 with cpus: [0.467574] __sdt_alloc: allocated 8802155ea3c0 with cpus: [0.467576]

Re: genksyms: separating public headers from private header files

2014-07-23 Thread Jan Beulich
On 16.07.14 at 17:19, dzic...@redhat.com wrote: Hi Jan, Michal, I am not sure who maintains genksyms officially, so I am sending this question to the two of you as folks who seemed to have contributed to the tool. :-) I noticed with genksyms that a symbol is opaquely defined in a public

  1   2   3   4   5   6   7   8   9   10   >