Re: [PATCH v13 net-next 07/11] bpf: verifier (add ability to receive verification log)

2014-09-17 Thread Daniel Borkmann
On 09/17/2014 02:39 AM, Alexei Starovoitov wrote: add optional attributes for BPF_PROG_LOAD syscall: union bpf_attr { struct { ... __u32 log_level; /* verbosity level of eBPF verifier */ __u32 log_size; /* size of user buffer */ __aligned_u64

Re: linux-next: manual merge of the usb-gadget tree with the vfs tree

2014-09-17 Thread Robert Baldyga
On 09/17/2014 08:16 AM, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/gadget/function/f_fs.c between commit 8322215aa91c (f_fs: saner API for ffs_sb_create_file()) from the vfs tree and commit 1b0bf88fd8b8 (usb: gadget:

RE: [PATCH 1/4 v4] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-17 Thread Chen, Alvin
+ if (pp-idx == 0 + of_property_read_bool(port_np, interrupt-controller)) { + pp-irq = irq_of_parse_and_map(port_np, 0); + if (!pp-irq) { + dev_warn(dev, no irq for bank %s\n, +

Re: [PATCH v2 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-09-17 Thread Robin Gong
On Wed, Sep 17, 2014 at 08:06:49AM +0200, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 11:45:15AM +0800, Robin Gong wrote: On Wed, Sep 17, 2014 at 10:10:45AM +0800, Shawn Guo wrote: On Fri, Sep 12, 2014 at 04:48:57PM +0800, Robin Gong wrote: All chips of i.mx6 can be powered off by

Re: [RFC 2/3] mm: add swap_get_free hint for zram

2014-09-17 Thread Minchan Kim
On Tue, Sep 16, 2014 at 11:09:43AM -0400, Dan Streetman wrote: On Mon, Sep 15, 2014 at 8:33 PM, Minchan Kim minc...@kernel.org wrote: On Mon, Sep 15, 2014 at 10:53:01AM -0400, Dan Streetman wrote: On Sun, Sep 14, 2014 at 8:30 PM, Minchan Kim minc...@kernel.org wrote: On Sat, Sep 13, 2014

[PATCH v5] x86, cpu-hotplug: fix llc shared map unreleased during cpu hotplug

2014-09-17 Thread Wanpeng Li
BUG: unable to handle kernel NULL pointer dereference at 0004 IP: [..] find_busiest_group PGD 5a9d5067 PUD 13067 PMD 0 Oops: [#3] SMP [...] Call Trace: load_balance ? _raw_spin_unlock_irqrestore idle_balance __schedule schedule schedule_timeout ? lock_timer_base

Re: [PATCH RFC tip/core/rcu] Eliminate deadlock between CPU hotplug and expedited grace periods

2014-09-17 Thread Lan Tianyu
On 2014年08月29日 03:47, Paul E. McKenney wrote: Currently, the expedited grace-period primitives do get_online_cpus(). This greatly simplifies their implementation, but means that calls to them holding locks that are acquired by CPU-hotplug notifiers (to say nothing of calls to these primitives

Re: [PATCH v11 net-next 12/12] bpf: mini eBPF library, test stubs and verifier testsuite

2014-09-17 Thread Daniel Borkmann
On 09/10/2014 08:08 PM, Alexei Starovoitov wrote: On Wed, Sep 10, 2014 at 4:35 AM, Daniel Borkmann dbork...@redhat.com wrote: Since we already have an extensive BPF test suite, that is, lib/test_bpf.c, which currently also does sanity checks for the classic BPF verifier, is there a reason

[PATCH v5 2/3] usb: Rename usb-common.c

2014-09-17 Thread Michal Sojka
In the next commit, we will want the usb-common module to be composed of two object files. Since Kbuild cannot append another object to an existing one, we need to rename usb-common.c to something else (common.c) and create usb-common.o by linking the wanted objects together. Currently,

[PATCH v5 0/3] LED triggers for USB host and device

2014-09-17 Thread Michal Sojka
(this is resend of a patch series from about three weeks ago) This adds LED triggers for USB host and device. First patch refactors UDC drivers as requested by Felipe Balbi, second is a preparation for the third, which adds the LED triggers. Changes from v4: - Added performance numbers to the

[PATCH 1/1] bluetooth: Check for SCO type before setting retransmission effort

2014-09-17 Thread Bernhard Thaler
From: Bernhard Thaler bernhard.tha...@r-it.at SCO connection cannot be setup to devices that do not support retransmission. Patch based on http://permalink.gmane.org/gmane.linux.bluez.kernel/7779 and adapted for this kernel version. Code changed to check SCO/eSCO type before setting

[PATCH v5 3/3] usb: Add LED triggers for USB activity

2014-09-17 Thread Michal Sojka
With this patch, USB activity can be signaled by blinking a LED. There are two triggers, one for activity on USB host and one for USB gadget. Both triggers should work with all host/device controllers. Tested only with musb. Performace: I measured performance overheads on ARM Cortex-A8 (TI

[PATCH v5 1/3] usb: gadget: Refactor request completion

2014-09-17 Thread Michal Sojka
All USB peripheral controller drivers called completion routines directly. This patch moves the completion call from drivers to usb_gadget_giveback_request(), in order to have a place where common functionality can be added. All places in drivers/usb/ matching [-.]complete( were replaced with a

Re: [PATCH v2 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-09-17 Thread Sascha Hauer
On Wed, Sep 17, 2014 at 03:17:38PM +0800, Robin Gong wrote: On Wed, Sep 17, 2014 at 08:06:49AM +0200, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 11:45:15AM +0800, Robin Gong wrote: On Wed, Sep 17, 2014 at 10:10:45AM +0800, Shawn Guo wrote: On Fri, Sep 12, 2014 at 04:48:57PM +0800, Robin

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

2014-09-17 Thread Octavian Purdila
On Wed, Sep 17, 2014 at 2:21 AM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 09 Sep 2014, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here:

Re: [PATCH v4 1/4] thermal: rockchip: add driver for thermal

2014-09-17 Thread Caesar Wang
Eduardo, 在 2014/9/10 20:46, Eduardo Valentin 写道: Hello Caesar, On Wed, Sep 10, 2014 at 12:39:07PM +0800, Caesar Wang wrote: Dear Eduardo, I'm sorry for it. I just received this message.Maybe my mailbox has a problem. No problems. You can take your time. Thank you for your comments. 在

Re: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages

2014-09-17 Thread Olaf Hering
On Mon, Sep 08, KY Srinivasan wrote: -Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Thursday, September 4, 2014 10:40 PM To: KY Srinivasan Subject: Re: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages Looks good to me. Olaf,

Re: [PATCH v4 14/18] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-17 Thread Tomasz Nowicki
On 15.09.2014 18:42, Catalin Marinas wrote: On Mon, Sep 15, 2014 at 05:16:21PM +0100, Jon Masters wrote: On 09/15/2014 11:01 AM, Catalin Marinas wrote: On Fri, Sep 12, 2014 at 03:00:12PM +0100, Hanjun Guo wrote: diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c index

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

2014-09-17 Thread Johan Hovold
On Wed, Sep 17, 2014 at 10:25:18AM +0300, Octavian Purdila wrote: On Wed, Sep 17, 2014 at 2:21 AM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 09 Sep 2014, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about

Re: [PATCH] kvm: Faults which trigger IO release the mmap_sem

2014-09-17 Thread Paolo Bonzini
Il 16/09/2014 20:42, Andres Lagar-Cavilla ha scritto: On Tue, Sep 16, 2014 at 11:29 AM, Paolo Bonzini pbonz...@redhat.com wrote: I think a first patch should introduce kvm_get_user_page_retry (Retry a fault after a gup with FOLL_NOWAIT.) and the second would add FOLL_TRIED (This

Re: [RFC 3/3] zram: add swap_get_free hint

2014-09-17 Thread Minchan Kim
On Tue, Sep 16, 2014 at 11:58:32AM -0400, Dan Streetman wrote: On Mon, Sep 15, 2014 at 9:21 PM, Minchan Kim minc...@kernel.org wrote: On Mon, Sep 15, 2014 at 12:00:33PM -0400, Dan Streetman wrote: On Sun, Sep 14, 2014 at 8:57 PM, Minchan Kim minc...@kernel.org wrote: On Sat, Sep 13, 2014

SGTL5000 on i.MX6 in I2S master mode

2014-09-17 Thread Jean-Michel Hautbois
Hi, I have a custom i.MX6 board, and have a sgtl5000 connected on it. I would like to have it used in master mode (it is used only for audio capture) but I get a pcm_read:2031: read error: Input/output error when using arecord. I am wondering if I forgot something in my DT or if I need to do

Re: [PATCH 2/2] PCI: Only enable realloc auto when root bus has 64bit mmio

2014-09-17 Thread Yinghai Lu
On Tue, Sep 16, 2014 at 3:27 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Sep 16, 2014 at 1:21 PM, Joseph Salisbury joseph.salisb...@canonical.com wrote: A new bug[0] was opened due to enabling PCI_REALLOC_ENABLE_AUTO, which is similar to the original bug[1] we discussed. Just wondering

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread Christian Borntraeger
On 09/12/2014 10:09 PM, Christian Borntraeger wrote: On 09/12/2014 01:54 PM, Ming Lei wrote: On Thu, Sep 11, 2014 at 6:26 PM, Christian Borntraeger borntrae...@de.ibm.com wrote: Folks, we have seen the following bug with 3.16 as a KVM guest. It suspect the blk-mq rework that happened

Re: [PATCH v2 2/3] ARM: rockchip: add basic smp support for rk3288

2014-09-17 Thread Heiko Stübner
Hi Kever, Am Mittwoch, 17. September 2014, 09:03:37 schrieb Kever Yang: Sonny, On 09/17/2014 04:17 AM, Sonny Rao wrote: On Tue, Sep 16, 2014 at 3:44 AM, Kever Yang kever.y...@rock-chips.com wrote: This patch add basic rk3288 smp support, cpu 1~3 are in wfe state when get into kernel.

linux-next: Tree for Sep 17

2014-09-17 Thread Stephen Rothwell
Hi all, Changes since 20140916: New tree: mailbox The net tree lost its build failure but gained another so I used the version from next-20140915. I also had to use the version of the ipsec tree from next-20140916 since today's version is based on the net tree that contains errors. The

Re: [PATCH v2 1/3] ARM: dts: imx6: add pm_power_off support for i.mx6 chips

2014-09-17 Thread Robin Gong
On Wed, Sep 17, 2014 at 09:24:37AM +0200, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 03:17:38PM +0800, Robin Gong wrote: On Wed, Sep 17, 2014 at 08:06:49AM +0200, Sascha Hauer wrote: On Wed, Sep 17, 2014 at 11:45:15AM +0800, Robin Gong wrote: On Wed, Sep 17, 2014 at 10:10:45AM +0800,

Re: [PATCH v6 4/6] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-17 Thread Tang Chen
On 09/16/2014 07:24 PM, Paolo Bonzini wrote: Il 16/09/2014 12:42, Tang Chen ha scritto: diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 33712fb..0df82c1 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -210,6 +210,11 @@ void kvm_make_scan_ioapic_request(struct kvm

Re: [PATCH 17/22] thinkpad_acpi: Replace strnicmp with strncasecmp

2014-09-17 Thread Rasmus Villemoes
On Wed, Sep 17 2014, Darren Hart dvh...@infradead.org wrote: On Tue, Sep 16, 2014 at 10:51:31PM +0200, Rasmus Villemoes wrote: The kernel used to contain two functions for length-delimited, case-insensitive string comparison, strnicmp with correct semantics and a slightly buggy strncasecmp.

Re: [PATCH] MAINTAINERS: add l2-mtd.git, 'next' tree for MTD

2014-09-17 Thread Artem Bityutskiy
On Mon, 2014-09-15 at 21:56 -0700, Brian Norris wrote: We've been semi-officially queueing patches here for a while, and it's in linux-next, so let's advertise it in MAINTAINERS. Signed-off-by: Brian Norris computersforpe...@gmail.com Acked-by: Artem Bityutskiy

Re: [PATCHv3] zram: use notify_free to account all free notifications

2014-09-17 Thread Jerome Marchand
On 09/15/2014 04:49 PM, Sergey Senozhatsky wrote: `notify_free' device attribute accounts the number of slot free notifications and internally represents the number of zram_free_page() calls. Slot free notifications are sent only when device is used as a swap device, hence `notify_free' is

Re: [PATCH 00/22] treewide: Replace strnicmp with strncasecmp

2014-09-17 Thread Rasmus Villemoes
On Tue, Sep 16 2014, Theodore Ts'o ty...@mit.edu wrote: On Tue, Sep 16, 2014 at 10:51:14PM +0200, Rasmus Villemoes wrote: The kernel used to contain two functions for length-delimited, case-insensitive string comparison, strnicmp with correct semantics and a slightly buggy strncasecmp. The

[PATCH 0/2] Add ADC support for Colibri VF61 and implement temperature sensor for vf610-adc

2014-09-17 Thread Sanchayan Maity
Add ADC nodes for Colibri VF61 modules. Vybrid ADC module includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in degree Celsius which is returned using the IIO_CHAN_INFO_PROCESSED

[PATCH 2/2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-17 Thread Sanchayan Maity
Vybrid ADC module includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in degree Celsius which is returned using the IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity

[PATCH 1/2] ARM: dts: vf610-colibri: Add ADC support

2014-09-17 Thread Sanchayan Maity
Enable ADC support for Colibri VF61 modules Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index

[PATCH 1/4 v5] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-09-17 Thread Weike Chen
The Synopsys DesignWare APB GPIO driver only supports open firmware devices. But, like Intel Quark X1000 SOC, which has a single PCI function exporting a GPIO and an I2C controller, it is a Multifunction device. This patch is to enable the current Synopsys DesignWare APB GPIO driver to support the

Re: [PATCH 1/1] staging: rtl8723au: fix sparse incorrect type assignment warnings

2014-09-17 Thread Dan Carpenter
On Tue, Sep 16, 2014 at 11:28:09PM +0100, Kieron Browne wrote: Use cpu_to_le16 to cast int for assignment to __le16 members cast is the wrong word. It's really doing a byte swap. It fixes a bug on big endian systems. But the patch is ok and matches how the other rtl drivers do it. regards,

[PATCH 2/4 v5] GPIO: gpio-dwapb: Change readlwritel to dwapb_readdwapb_write

2014-09-17 Thread Weike Chen
This patch replaces 'readlwritel' with 'dwapb_readdwapb_write'. Reviewed-by: Shevchenko, Andriy andriy.shevche...@intel.com Signed-off-by: Weike Chen alvin.c...@intel.com --- drivers/gpio/gpio-dwapb.c | 37 +++-- 1 file changed, 27 insertions(+), 10 deletions(-)

[PATCH 4/4 v5] GPIO: gpio-dwapb: Suspend Resume PM enabling

2014-09-17 Thread Weike Chen
This patch enables suspend and resume mode for the power management, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh hock.leong.k...@intel.com Signed-off-by: Weike Chen alvin.c...@intel.com --- drivers/gpio/gpio-dwapb.c | 115

[PATCH 3/4 v5] GPIO: gpio-dwapb: Support Debounce

2014-09-17 Thread Weike Chen
This patch enables 'debounce' for the designware GPIO, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh hock.leong.k...@intel.com Reviewed-by: Andy Shevchenko andriy.shevche...@linux.intel.com Signed-off-by: Weike Chen alvin.c...@intel.com ---

Re: [PATCH] UBI: Fix possible deadlock in erase_worker()

2014-09-17 Thread Artem Bityutskiy
On Tue, 2014-09-16 at 09:48 +0200, Richard Weinberger wrote: If sync_erase() failes with EINTR, ENOMEM, EAGAIN or EBUSY erase_worker() re-schedules the failed work. This will lead to a deadlock because erase_worker() is called with work_sem held in read mode. And schedule_erase() will take

[PATCH 0/4 v5] The Designware GPIO Supporting

2014-09-17 Thread Weike Chen
Hi, These patches are for Intel Quark X1000 designware GPIO supporting. The first patch enables the Synopsys DesignWare APB GPIO driver to support the MFD device. And the Quark designware GPIO controller is registered as MFD device, because Quark exports a single PCI device with both GPIO and I2C

Re: [PATCH 09/12] kvm: iommu: Convert to use new iommu_capable() API function

2014-09-17 Thread Joerg Roedel
Hi Paolo, Gleb, On Fri, Sep 05, 2014 at 12:53:01PM +0200, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de Cc: Gleb Natapov g...@kernel.org Cc: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Joerg Roedel jroe...@suse.de --- virt/kvm/iommu.c | 6 ++ 1 file changed, 2

Re: [PATCH 11/12] IB/usnic: Convert to use new iommu_capable() API function

2014-09-17 Thread Joerg Roedel
Hi, On Fri, Sep 05, 2014 at 12:53:03PM +0200, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de Cc: Upinder Malhi uma...@cisco.com Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/infiniband/hw/usnic/usnic_uiom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] modified error code when perf_session__new() fail

2014-09-17 Thread taeung
Hi, I modified error code for the requirement as below. Author: taeung treeze.tae...@gmail.com Date: Sat Sep 13 16:22:53 2014 +0900 modified error code when perf_session__new() fail Because perf_session__new() could fail for more reasons than just ENOMEM, I

[PATCH 0/3] Add PWM and backlight support for Colibri VF61 modules

2014-09-17 Thread Bhuvanchandra DV
Enabled pwm second instance and backlight control Bhuvanchandra DV (3): ARM: dts: vf610: Add PWM second instance ARM: dts: vf610-colibri: Add PWM support ARM: dts: vf610-colibri: Add backlight support arch/arm/boot/dts/vf610-colibri-eval-v3.dts | 14

[PATCH 1/3] ARM: dts: vf610: Add PWM second instance

2014-09-17 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 4d2ec32..fb00f13 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++

[PATCH 3/3] ARM: dts: vf610-colibri: Add backlight support

2014-09-17 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++ arch/arm/boot/dts/vf610-colibri.dtsi|7 +++ 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Robin Gong
On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote: Hi Robin, Am Dienstag, den 16.09.2014, 11:41 +0800 schrieb Robin Gong: Hi Lucas, I understood your concern,but looks we have to break old DT. Sorry, but this isn't going to happen. And honestly I don't even see the need to

[PATCH 2/3] ARM: dts: vf610-colibri: Add PWM support

2014-09-17 Thread Bhuvanchandra DV
The Colibri standard defines four pins as PWM outputs, two of them (PWM A and C) are routed to FTM instance 0 and the other two (PWM B and D) are routed to FTM instance 1. Hence enable both FTM instances for the Colibri module and mux the four pins accordingly. Signed-off-by: Bhuvanchandra DV

Re: [PATCH 00/16 v9] omap 8250 based uart + DMA

2014-09-17 Thread Sebastian Andrzej Siewior
On 09/16/2014 11:30 PM, Tony Lindgren wrote: Found one more issue when booting on 2420 n8x0, maybe something to do with runtime PM? To some degree, yes. [4.770507] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM e3a02000mov r2, #0 ee072fbamcr 15,

Re: [PATCHv3 4/5] rtc: s3c: Add support for RTC of Exynos3250 SoC

2014-09-17 Thread Javier Martinez Canillas
Hello Doug, On Wed, Sep 17, 2014 at 12:15 AM, Doug Anderson diand...@chromium.org wrote: I think you can turn off CONFIG_COMMON_CLK_MAX77686 and then this clock will be left at whatever the bootloader set it to, right? Then there will be no auto-disabling by the CCF and the RTC will work.

Re: [PATCH] UBI: Fix possible deadlock in erase_worker()

2014-09-17 Thread Richard Weinberger
Am 17.09.2014 10:28, schrieb Artem Bityutskiy: On Tue, 2014-09-16 at 09:48 +0200, Richard Weinberger wrote: If sync_erase() failes with EINTR, ENOMEM, EAGAIN or EBUSY erase_worker() re-schedules the failed work. This will lead to a deadlock because erase_worker() is called with work_sem held

Re: [Intel-gfx] External monitor issues with 3.17-rc4 and i915 module

2014-09-17 Thread Jani Nikula
On Tue, 16 Sep 2014, Carlos R. Mafra crma...@gmail.com wrote: Hi, the same happens with 3.17-rc5. The kernel is unfortunately unusable with my external monitor because after some plug, unplug and suspend to RAM cycles the behaviour is not good (sometimes it freezes, sometimes X needs a

Re: [PATCH] ACPI / cpuidle: fix deadlock between cpuidle_lock and cpu_hotplug.lock

2014-09-17 Thread Gautham R Shenoy
Hi Jiri, On Wed, Sep 03, 2014 at 03:04:28PM +0200, Jiri Kosina wrote: There is a following AB-BA dependency between cpu_hotplug.lock and cpuidle_lock: 1) cpu_hotplug.lock - cpuidle_lock enable_nonboot_cpus() _cpu_up() cpu_hotplug_being() LOCK(cpu_hotplug.lock) cpu_notify()

[PATCH perf/core 2/2] perf probe: Do not use dwfl_module_addrsym if dwarf_diename finds symbol name

2014-09-17 Thread Masami Hiramatsu
Do not use dwfl_module_addrsym if dwarf_diename can find the symbol name, since dwfl_module_addrsym can be failed on shared libraries. Without this patch $ perf probe -x ../lib/traceevent/libtraceevent.so -V create_arg_op Failed to find symbol at 0x11df1 Failed to find the address of

[PATCH perf/core 1/2] perf probe: Do not access kallsyms when analyzing user binaries

2014-09-17 Thread Masami Hiramatsu
Do not access kallsyms to show available variables and show source lines in user binaries. This behavior always requires the root privilege when sysctl sets kernel.kptr_restrict=1, but we don't need it just for analyzing user binaries. Without this patch (by normal user, kptr_restrict=1):

Re: [RFC] Don'd hold work_sem while calling worker functions

2014-09-17 Thread Artem Bityutskiy
On Tue, 2014-09-16 at 15:26 +0200, Richard Weinberger wrote: I fail to see why we need work_sem while wrk-func() is executed. Artem, do you have an idea? Having the wear_leveling_worker() called without work_sem held would simplify the fastmap code too. I'm currently reworking some of it's

Re: [PATCH] UBI: Fix possible deadlock in erase_worker()

2014-09-17 Thread Artem Bityutskiy
On Wed, 2014-09-17 at 10:40 +0200, Richard Weinberger wrote: /* * nested locking. NOTE: rwsems are not allowed to recurse * (which occurs if the same task tries to acquire the same * lock instance multiple times), but multiple locks of the * same lock class might be taken, if the order of

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Robin Gong
On Tue, Sep 16, 2014 at 11:41:55AM +0200, Alexander Holler wrote: Am 16.09.2014 05:52, schrieb Robin Gong: On Mon, Sep 15, 2014 at 01:50:02PM +0200, Alexander Holler wrote: Am 10.09.2014 07:30, schrieb Robin Gong: There is one weird data in rxfifo after one full rx/tx transfer done sometimes.

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-17 Thread H. Peter Anvin
On 09/16/2014 11:21 PM, Filipe Brandenburger wrote: Hi Andy, On Tue, Sep 16, 2014 at 10:00 PM, Andy Lutomirski l...@amacapital.net wrote: I think that the patch should instead tweak the vvar mapping to tell the vdso not to use rdtsc. It should be based on this: I've been working on this

[RESEND][PATCH v2] regulator: Add stub for devm_regulator_get_exclusive

2014-09-17 Thread Axel Lin
Also makes regulator_get_exclusive and devm_regulator_get_exclusive stub functions return error pointer. Signed-off-by: Axel Lin axel@ingics.com --- Now drivers/gpu/drm/msm/hdmi/hdmi.c is using devm_regulator_get instead of devm_regulator_get_exclusive. commit

[PATCH 0/3] Enable Quark X1000 support in gpio-sch

2014-09-17 Thread Chang Rebecca Swee Fun
Hi, This patch series is about enabling legacy GPIO support for Quark X1000. The patches were developed on top of Mika Westerberg's commit on consolidating core and resume banks. Please refer to the link below for more information about his commit. https://lkml.org/lkml/2014/8/17/13 The patches

[PATCH 2/3] gpio: sch: Add support for Intel Quark X1000 SoC

2014-09-17 Thread Chang Rebecca Swee Fun
Intel Quark X1000 provides a total of 16 GPIOs. The GPIOs are split between the legacy I/O bridge and the GPIO controller. GPIO-SCH is the GPIO pins on legacy bridge for Intel Quark SoC. Intel Quark X1000 has 2 GPIOs powered by the core power well and 6 from the suspend power well. This piece of

[PATCH 1/3] gpio: sch: Consolidate similar algorithms

2014-09-17 Thread Chang Rebecca Swee Fun
Consolidating similar algorithms into common functions to make GPIO SCH simpler and manageable. Signed-off-by: Chang Rebecca Swee Fun rebecca.swee.fun.ch...@intel.com --- drivers/gpio/gpio-sch.c | 95 ++- 1 file changed, 53 insertions(+), 42

[PATCH 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-09-17 Thread Chang Rebecca Swee Fun
Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver. This piece of work is derived from Dan O'Donovan's initial work for Quark

Re: [PATCH 4/4 v5] GPIO: gpio-dwapb: Suspend Resume PM enabling

2014-09-17 Thread Andy Shevchenko
On Wed, 2014-09-17 at 09:18 -0700, Weike Chen wrote: This patch enables suspend and resume mode for the power management, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh hock.leong.k...@intel.com Looks fine for me Reviewed-by: Andy Shevchenko

[PATCH 04/13 v2] iommu/arm-smmu: Convert to iommu_capable() API function function

2014-09-17 Thread Joerg Roedel
Hi Will, On Mon, Sep 08, 2014 at 05:51:36PM +0100, Will Deacon wrote: Hi Joerg, [adding devicetree for the last paragraph] On Fri, Sep 05, 2014 at 11:52:56AM +0100, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de Cc: Will Deacon will.dea...@arm.com Signed-off-by: Joerg

Re: [RESEND PATCH] arm: exynos: Allow rtc alarm and tick wakeup irq for exynos3250.

2014-09-17 Thread Vikas Sajjan
Hi, On Wed, Sep 17, 2014 at 8:52 AM, Jonghwa Lee jonghwa3@samsung.com wrote: Add rtc alarm and tick irq to wakeup sources in exynos3250. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Acked-by : Chanwoo choi cw00.c...@samsung.com --- arch/arm/mach-exynos/pm.c |9 - 1

Re: [PATCH 03/24] MIPS: Provide a generic plat_irq_dispatch

2014-09-17 Thread Qais Yousef
Hi Andrew, On 09/16/2014 12:51 AM, Andrew Bresticker wrote: For platforms which boot with device-tree or have correctly chained all external interrupt controllers, a generic plat_irq_dispatch() can be used. Implement a plat_irq_dispatch() which simply handles all the pending interrupts as

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Lucas Stach
Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong: On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote: Hi Robin, Am Dienstag, den 16.09.2014, 11:41 +0800 schrieb Robin Gong: Hi Lucas, I understood your concern,but looks we have to break old DT. Sorry, but

[PATCH] fs/fscache/object-list.c: use __seq_open_private()

2014-09-17 Thread Rob Jones
Reduce boilerplate code by using __seq_open_private() instead of seq_open() in fscache_objlist_open(). Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- Note that sparse generates a warning on this file but it is outside the remit of this patch. Note 2, it looks to me like the sparse

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-17 Thread Jon Masters
On 09/16/2014 09:44 PM, Matthew Garrett wrote: On Fri, Sep 12, 2014 at 10:00:16PM +0800, Hanjun Guo wrote: +Common _DSD bindings should be submitted to ASWG to be included in the +document :- + +http://www.uefi.org/sites/default/files/resources/_DSD-implementation-guide-toplevel.htm How

Re: [RFC PATCH V2] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-09-17 Thread Gautham R Shenoy
Hi Lan, Sorry missed this repost! Couple of comments. On Fri, Aug 22, 2014 at 04:33:40PM +0800, Lan Tianyu wrote: [.. snip ..] +static int _cpu_up_with_trace(int cpu) +{ + int error; + + trace_suspend_resume(TPS(CPU_ON), cpu, true); + error = _cpu_up(cpu, 1); +

Re: [PATCH 00/16 v9] omap 8250 based uart + DMA

2014-09-17 Thread Sebastian Andrzej Siewior
On 2014-09-10 21:29:55 [+0200], Sebastian Andrzej Siewior wrote: the diff of v8…v9 is small: Greg, do you mind taking patches from this series up to [PATCH 05/16]? Nobody complained about those so far and it would keep v10 a little smaller. I have changes to #6 (the omap driver) and need to do

[PATCH v2] perf/x86/uncore: update support for client uncore IMC PMU

2014-09-17 Thread Stephane Eranian
This patch restructures the memory controller (IMC) uncore PMU support for client SNB/IVB/HSW processors. The main change is that it can now cope with more than one PCI device ID per processor model. There are many flavors of memory controllers for each processor. They have different PCI device

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

2014-09-17 Thread Johan Hovold
On Tue, Sep 09, 2014 at 10:24:44PM +0300, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Robin Gong
On Wed, Sep 17, 2014 at 10:55:56AM +0200, Lucas Stach wrote: Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong: On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote: Hi Robin, Am Dienstag, den 16.09.2014, 11:41 +0800 schrieb Robin Gong: Hi Lucas, I

Re: [PATCH] mmc: rtsx: add card power off during probe

2014-09-17 Thread micky
On 09/17/2014 02:01 AM, Ulf Hansson wrote: On 12 September 2014 03:39, micky_ch...@realsil.com.cn wrote: From: Roger Tseng rogera...@realtek.com Some platform have both UEFI driver and MFD/mmc driver, if entering linux while card in the slot, the card power is already on, and rtsx-mmc driver

RE: [PATCH v2 3/4] net: stmmac: add support for Intel Quark X1000

2014-09-17 Thread Kweh, Hock Leong
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, September 17, 2014 12:56 PM From: Kweh, Hock Leong hock.leong.k...@intel.com Date: Wed, 17 Sep 2014 02:41:39 + Thanks for the pointer. I did a quickly checking on the class number to see if I

Re: sched: spinlock recursion in sched_rr_get_interval

2014-09-17 Thread Jovi Zhangwei
On Tue, Jul 8, 2014 at 4:05 AM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Jul 07, 2014 at 09:55:43AM -0400, Sasha Levin wrote: I've also had this one, which looks similar: [10375.005884] BUG: spinlock recursion on CPU#0, modprobe/10965 [10375.006573] lock: 0x8803a0fd7740,

Re: [PATCH 14/24] irqchip: mips-gic: Implement generic irq_ack/irq_eoi callbacks

2014-09-17 Thread Qais Yousef
Hi Andrew, On 09/16/2014 12:51 AM, Andrew Bresticker wrote: There's no need for platforms to have their own GIC irq_ack/irq_eoi callbacks. Move them to the GIC irqchip driver. Signed-off-by: Andrew Bresticker abres...@chromium.org --- arch/mips/include/asm/gic.h | 2 --

Re: [PATCH v6 4/6] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-09-17 Thread Paolo Bonzini
Il 17/09/2014 10:13, Tang Chen ha scritto: Please add a new function kvm_arch_mmu_notifier_invalidate_page, and call it outside the mmu_lock. Then I think we need a macro to control the calling of this arch function since other architectures do not have it. You can add an inline

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Lucas Stach
Am Mittwoch, den 17.09.2014, 17:19 +0800 schrieb Robin Gong: On Wed, Sep 17, 2014 at 10:55:56AM +0200, Lucas Stach wrote: Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong: On Tue, Sep 16, 2014 at 11:50:06AM +0200, Lucas Stach wrote: Hi Robin, Am Dienstag, den

Re: [PATCH 18/24] irqchip: mips-gic: Stop using per-platform mapping tables

2014-09-17 Thread Qais Yousef
Ah how beautiful to see all this code disappearing, nice work! :) Qais On 09/16/2014 12:51 AM, Andrew Bresticker wrote: Now that the GIC properly uses IRQ domains, kill off the per-platform routing tables that were used to make the GIC appear transparent. This includes: - removing the

Re: [PATCH v2] ARM: dts: imx6dl: disable dma support for spi on i.mx6dl

2014-09-17 Thread Robin Gong
On Wed, Sep 17, 2014 at 11:19:34AM +0200, Lucas Stach wrote: Am Mittwoch, den 17.09.2014, 17:19 +0800 schrieb Robin Gong: On Wed, Sep 17, 2014 at 10:55:56AM +0200, Lucas Stach wrote: Am Mittwoch, den 17.09.2014, 16:41 +0800 schrieb Robin Gong: On Tue, Sep 16, 2014 at 11:50:06AM +0200,

Re: [PATCH v3 01/12] crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code

2014-09-17 Thread Herbert Xu
On Mon, Sep 15, 2014 at 12:30:23AM -0700, beh...@converseincode.com wrote: From: Behan Webster beh...@converseincode.com Add a macro which replaces the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant equivalent. This macro instead allocates the appropriate amount of

Re: [PATCH 20/24] irqchip: mips-gic: Use separate edge/level irq_chips

2014-09-17 Thread Qais Yousef
On 09/16/2014 12:51 AM, Andrew Bresticker wrote: GIC edge-triggered interrupts must be acknowledged by clearing the edge detector via a write to GIC_SH_WEDGE. Create a separate edge-triggered irq_chip with the appropriate irq_ack() callback. This also allows us to get rid of gic_irq_flags.

Re: Kernel crash in cgroup_pidlist_destroy_work_fn()

2014-09-17 Thread Li Zefan
On 2014/9/17 13:29, Li Zefan wrote: On 2014/9/17 7:56, Cong Wang wrote: Hi, Tejun We saw some kernel null pointer dereference in cgroup_pidlist_destroy_work_fn(), more precisely at __mutex_lock_slowpath(), on 3.14. I can show you the full stack trace on request. Yes, please. Looking

[PATCH] ceph: remove redundant code for max file size verification

2014-09-17 Thread Chao Yu
Both ceph_update_writeable_page and ceph_setattr will verify file size with max size ceph supported. There are two caller for ceph_update_writeable_page, ceph_write_begin and ceph_page_mkwrite. For ceph_write_begin, we have already verified the size in generic_write_checks of ceph_write_iter; for

[PATCH 10/10] Fix style code and DDR_DESENTY_4Gb.

2014-09-17 Thread Albino Biasutti Neto
Albino Biasutti Neto b...@riseup.net --- drivers/memory/emif.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index 1c5bbf2..4045b46 100644 --- a/drivers/memory/emif.c +++ b/drivers/memory/emif.c @@

Re: [PATCH v2 0/3] fix stuck in accessing hwrng attributes

2014-09-17 Thread Herbert Xu
On Tue, Sep 16, 2014 at 12:02:26AM +0800, Amos Kong wrote: If we read hwrng by long-running dd process, it takes too much cpu time and almost hold the mutex lock. When we check hwrng attributes from sysfs by cat, it gets stuck in waiting the lock releaseing. The problem can only be reproduced

[PATCH] clk: tegra: Make clock initialization more robust

2014-09-17 Thread Tomeu Vizoso
Don't abort clock initialization if we cannot match an entry in tegra_clk_init_table to a valid entry in the clk array. Also log a corresponding error message. This was discovered when testing a patch that removed the EMC clock from tegra124_clks but left a mention in tegra_clk_init_table.

Re: [PATCH] UBI: Fix possible deadlock in erase_worker()

2014-09-17 Thread Artem Bityutskiy
On Tue, 2014-09-16 at 09:48 +0200, Richard Weinberger wrote: If sync_erase() failes with EINTR, ENOMEM, EAGAIN or EBUSY erase_worker() re-schedules the failed work. This will lead to a deadlock because erase_worker() is called with work_sem held in read mode. And schedule_erase() will take

Re: [PATCH v3] locking/rwsem: Avoid double checking before try acquiring write lock

2014-09-17 Thread Davidlohr Bueso
On Tue, 2014-09-16 at 17:16 -0700, Jason Low wrote: Commit 9b0fc9c09f1b checks for if there are known active lockers in order to avoid write trylocking using expensive cmpxchg() when it likely wouldn't get the lock. Ah, I remember you had this one in your queue for some time :) However, a

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

2014-09-17 Thread Johan Hovold
On Tue, Sep 09, 2014 at 10:24:45PM +0300, Octavian Purdila wrote: From: Laurentiu Palcu laurentiu.pa...@intel.com This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol

[PATCH 1/2] blk-mq: fix race between timeout and queue_rq

2014-09-17 Thread Ming Lei
Either the request is from requeue or just being allocated from tag pool, its REQ_ATOM_STARTED flag has been cleared already, so don't test it in blk_mq_start_request(). One memory barrier is needed between writing rq-deadline and setting REQ_ATOM_STARTED so that timeout can't happen too early if

[PATCH 2/2] blk-mq: remove unnecessary blk_clear_rq_complete()

2014-09-17 Thread Ming Lei
From: Ming Lei ming@canoical.com This patch removes two unnecessary blk_clear_rq_complete(), the REQ_ATOM_COMPLETE flag is cleared inside blk_mq_start_request(), so: - The blk_clear_rq_complete() in blk_flush_restore_request() needn't because the request will be freed later,

[PATCH 0/2] blk-mq: fix race between timeout and queue_rq

2014-09-17 Thread Ming Lei
Hi, The first patch trys to fix one race between timeout and queue_rq. And the second one removes two unnecessary blk_clear_rq_complete(). Thanks, -- Ming Lei -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 21/24] irqchip: mips-gic: Support local interrupts

2014-09-17 Thread Qais Yousef
On 09/16/2014 12:51 AM, Andrew Bresticker wrote: The MIPS GIC supports 7 local interrupts, 2 of which are the GIC local watchdog and count/compare timer. The remainder are CPU interrupts which may optionally be re-routed through the GIC. GIC hardware IRQs 0-6 are now used for local interrupts

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