Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-10 Thread Oleg Nesterov
On 02/10, Denys Vlasenko wrote: # define HEAD_MASK (TICKET_SLOWPATH_FLAG-1) ... unlock_again: val = xadd((lock-ticket.head_tail, TICKET_LOCK_INC); if (unlikely(!(val HEAD_MASK))) { /* overflow. we inadvertently incremented the tail word. * tail's lsb is TICKET_SLOWPATH_FLAG.

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Bas Peters
@@ -101,8 +101,7 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct adapter *adapt, u8 *powerlevel) ptr++; } } - rtl88eu_dm_txpower_track_adjust(hal_data-odmpriv, 1, direction, - pwrtrac_value); +

Re: [PATCH v3 linux-trace 0/8] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-02-10 Thread Steven Rostedt
On Mon, 9 Feb 2015 19:45:53 -0800 Alexei Starovoitov a...@plumgrid.com wrote: So the overhead of realistic bpf program is 5.05963/4.80074 = ~5% which is faster than perf_event filtering: 5.69732/4.80074 = ~18% or ftrace filtering: 6.50091/4.80074 = ~35% Come to think of it, this is comparing

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 11:33:37AM +0100, Boris Brezillon wrote: +#ifdef CONFIG_VIRT_IRQ_DEMUX_CHIP +/** + * struct irq_chip_virt_demux - Dumb demultiplexer irq chip data structure s/Dumb/Virtual/ ? + * @domain: irq domain pointer + * @available: Bitfield of valid

[PATCH] fsnotify: Fix handling of renames in audit

2015-02-10 Thread Jan Kara
Commit e9fd702a58c4 (audit: convert audit watches to use fsnotify instead of inotify) broke handling of renames in audit. Audit code wants to update inode number of an inode corresponding to watched name in a directory. When something gets renamed into a directory to a watched name, inotify

Re: [GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread Jens Axboe
On 02/10/2015 05:58 AM, Roger Pau Monné wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jens, There are 3 fixes for Xen blk drivers. One adds myself as a maintainer (together with Konrad). There's also one to improve compatibility with older xen-blkfront versions that did not

[PATCH] genirq: fix virtual irq demuxer related comments

2015-02-10 Thread Boris Brezillon
Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in kerneldoc headers. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/irq.h | 8 +--- kernel/irq/Kconfig | 2 +- kernel/irq/chip.c| 7 ++-

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-10 Thread Russell King - ARM Linux
On Mon, Feb 09, 2015 at 05:24:08PM -0800, Stephen Boyd wrote: On 02/05/15 08:11, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: Works for me, assuming no hidden uses of RCU in the IPI code. ;-) Sigh... I kind'a new it wouldn't be this

Re: [PATCH v3 0/5] Add support for Fujitsu USB host controller

2015-02-10 Thread Sneeker Yeh
Hi 2015-01-31 0:38 GMT+08:00 Felipe Balbi ba...@ti.com: Hi, On Thu, Jan 29, 2015 at 10:23:12AM -0600, Felipe Balbi wrote: On Tue, Jan 27, 2015 at 09:22:50AM -0600, Felipe Balbi wrote: Hi, On Sun, Jan 25, 2015 at 04:13:23PM +0800, Sneeker Yeh wrote: These patches add support for XHCI

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Miroslav Benes
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: Add a basic per-task consistency model. This is the foundation which will eventually enable us to patch those ~10% of security patches which change function prototypes and/or data semantics. When a patch is enabled, livepatch enters into a

Re: [PATCH 1/2] sched/wait: add round robin wakeup mode

2015-02-10 Thread Jason Baron
On 02/10/2015 04:03 AM, Peter Zijlstra wrote: On Mon, Feb 09, 2015 at 11:06:17PM -0500, Jason Baron wrote: On 02/09/2015 04:50 PM, Peter Zijlstra wrote: On Mon, Feb 09, 2015 at 08:05:57PM +, Jason Baron wrote: diff --git a/kernel/sched/wait.c b/kernel/sched/wait.c index 852143a..17d1039

[RFC PATCH 3/3] drm: bridge/dw_hdmi: improve hdmi single-end test

2015-02-10 Thread Yakir Yang
Because of iMX6 Rockchip have differnet mpll config parameter, than the cklvl txlvl would be different, we also should seperate this parmeter. As for Rockchip HDMI, when pixle clock less than 148MHz, the cklvl txlvl should be set to 13. When pixel clock less than 74.25MHz the cklvl txlvl

Re: [PATCH] perf symbols: Define STT_GNU_IFUNC for glibc 2.9 and older.

2015-02-10 Thread Namhyung Kim
Hi Vinson, On Mon, Feb 09, 2015 at 04:29:37PM -0800, Vinson Lee wrote: From: Vinson Lee v...@twitter.com The token STT_GNU_IFUNC is not available with glibc 2.9 and older. Define this token if it is not already defined. This patch fixes this build errors with older versions of glibc.

Re: [PATCH v2 1/1] staging: ozwpan: Remove allocation from delaration line

2015-02-10 Thread Joe Perches
On Tue, 2015-02-10 at 13:13 +0300, Dan Carpenter wrote: diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c [] @@ -280,8 +280,9 @@ static void oz_free_urb_link(struct oz_urb_link *urbl) */ static struct oz_endpoint *oz_ep_alloc(int buffer_size, gfp_t mem_flags)

[PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread riel
From: Rik van Riel r...@redhat.com These wrapper functions allow architecture code (eg. ARM) to keep calling context_tracking_user_enter context_tracking_user_exit the same way it always has, without error prone tricks like duplicate defines of argument values in assembly code. Signed-off-by:

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 06:32:46 PM Alexandre Courbot wrote: On Fri, Jan 23, 2015 at 8:21 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi guys, On Thu, Jan 22, 2015 at 05:14:22PM +0100, Rafael J. Wysocki wrote: On Thursday, January 22, 2015 11:57:55 AM Alexandre

Re: [RFC PATCH v1] usb: dwc2: reduce dwc2 driver probe time

2015-02-10 Thread Felipe Balbi
Hi, On Tue, Feb 10, 2015 at 10:05:39PM +0800, Yunzhi Li wrote: I found that the probe function of dwc2 driver takes much time when kernel boot up. There are many long delays in the probe function these take almost 1 second. This patch trying to reduce unnecessary delay time. In

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Frederic Weisbecker
On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com These wrapper functions allow architecture code (eg. ARM) to keep calling context_tracking_user_enter context_tracking_user_exit the same way it always has, without error prone tricks like

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Mark Rutland
Are we certain of the split between components the PSCI implementation must touch and those the kernel must touch? Also add dts file to support HiKey development board which based on Hi6220 SoC and document the devicetree bindings. These dts files will be changed later

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Nicholas Mc Guire
On Tue, 10 Feb 2015, Tejun Heo wrote: On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: - if (!rc) { + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use != 0 to test the other direction. In what way is if (ret != 0)

[PATCH] clocksource: whitelist asm9260_timer driver for ARM

2015-02-10 Thread Oleksij Rempel
For now it is easier to allow only tested platforms, instead of fighting with different platform specific issues. This patch is fixing compile error on ARCH=SPARC and SPARC64: Building sparc64:allmodconfig ... failed -- Error log: drivers/built-in.o: In function `asm9260_timer_init':

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Sudip Mukherjee
On Tue, Feb 10, 2015 at 03:27:11PM +0100, Bas Peters wrote: @@ -101,8 +101,7 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct adapter *adapt, u8 *powerlevel) ptr++; } } - rtl88eu_dm_txpower_track_adjust(hal_data-odmpriv, 1, direction, -

Re: [PATCH v2] i2c: cadence: fixup of wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
On Tue, 10 Feb 2015, Sergei Shtylyov wrote: Hello. On 2/9/2015 6:03 PM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int. The return variable is renamed to reflect its use and the type adjusted to unsigned long. Signed-off-by: Nicholas Mc Guire

Re: [RFC PATCH 5/9] sched: move task rq locking functions to sched.h

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 07:48:17PM +0900, Masami Hiramatsu wrote: (2015/02/10 2:31), Josh Poimboeuf wrote: Move task_rq_lock/unlock() to sched.h so they can be used elsewhere. The livepatch code needs to lock each task's rq in order to safely examine its stack and switch it to a new patch

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 07:58:30PM +0900, Masami Hiramatsu wrote: (2015/02/10 2:31), Josh Poimboeuf wrote: +/* + * Try to safely transition a task to the universe goal. If the task is + * currently running or is sleeping on a to-be-patched or to-be-unpatched + * function, return false.

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Boris Brezillon
Hello Peter, On Tue, 10 Feb 2015 16:00:13 +0100 Peter Zijlstra pet...@infradead.org wrote: On Thu, Jan 29, 2015 at 11:33:37AM +0100, Boris Brezillon wrote: +#ifdef CONFIG_VIRT_IRQ_DEMUX_CHIP +/** + * struct irq_chip_virt_demux - Dumb demultiplexer irq chip data structure

[PATCH] retrieving smack context of keys

2015-02-10 Thread José Bollo
PATCH for kernel 3.14.28 The LSM Smack isn't currently implementing the retrieval of the contexts of the keys. In other words, the LSM Samck doesn't implement the LSM side part of the system call keyctl for the function KEYCTL_GET_SECURITY. It is causing difficulties when trying to investigate

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Tejun Heo
On Tue, Feb 10, 2015 at 04:55:17PM +0100, Nicholas Mc Guire wrote: On Tue, 10 Feb 2015, Tejun Heo wrote: On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: - if (!rc) { + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use

Re: [GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread David Vrabel
On 10/02/15 15:27, Jens Axboe wrote: On 02/10/2015 05:58 AM, Roger Pau Monné wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jens, There are 3 fixes for Xen blk drivers. One adds myself as a maintainer (together with Konrad). There's also one to improve compatibility with older

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-02-10 Thread Andy Shevchenko
On Tue, 2015-02-10 at 14:02 +0100, Rasmus Villemoes wrote: On Tue, Feb 10 2015, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2015-02-10 at 00:44 +0100, Rasmus Villemoes wrote: The current semantics of string_escape_mem are inadequate for one of its current users,

[PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Sowmini Varadhan
This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. We cannot inline the call to rds_send_xmit from rds_cong_queue_update because (a) we are already holding the sock_lock in the recv path, and will deadlock when tcp_setsockopt/tcp_sendmsg try to get the sock lock (b)

[PATCH -v4 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest

2015-02-10 Thread riel
When running a KVM guest on a system with NOHZ_FULL enabled, and the KVM guest running with idle=poll mode, we still get wakeups of the rcuos/N threads. This problem has already been solved for user space by telling the RCU subsystem that the CPU is in an extended quiescent state while running

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Tejun Heo
On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: - if (!rc) { + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use != 0 to test the other direction. In what way is if (ret != 0) better than if (ret)? We're negating the two

Re: [V3 PATCH 1/2] ACPI / scan: Add support for ACPI _CLS device matching

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 11:59:32 AM Mika Westerberg wrote: On Mon, Feb 09, 2015 at 09:02:11PM +, Suthikulpanit, Suravee wrote: On 2/9/15, 19:15, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Mon, Feb 09, 2015 at 12:02:43AM +0100, Rafael J. Wysocki wrote: On

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 09:57:44AM +0100, Jiri Kosina wrote: On Mon, 9 Feb 2015, Josh Poimboeuf wrote: 2) As mentioned above, kthreads which are always sleeping on a patched function will never transition to the new universe. This is really a minor issue (less than 1% of

[PATCH 3/6] nohz: add stub context_tracking_is_enabled

2015-02-10 Thread riel
From: Rik van Riel r...@redhat.com With code elsewhere doing something conditional on whether or not context tracking is enabled, we want a stub function that tells us context tracking is not enabled, when CONFIG_CONTEXT_TRACKING is not set. Signed-off-by: Rik van Riel r...@redhat.com ---

[PATCH 4/6] rcu,nohz: run vtime_user_enter/exit only when state == IN_USER

2015-02-10 Thread riel
From: Rik van Riel r...@redhat.com Only run vtime_user_enter, vtime_user_exit, and the user enter exit trace points when we are entering or exiting user state, respectively. The KVM code in guest_enter and guest_exit already take care of calling vtime_guest_enter and vtime_guest_exit,

[PATCH 2/6] rcu,nohz: add state parameter to context_tracking_enter/exit

2015-02-10 Thread riel
From: Rik van Riel r...@redhat.com Add the expected ctx_state as a parameter to context_tracking_enter and context_tracking_exit, allowing the same functions to not just track kernel user space switching, but also kernel guest transitions. Signed-off-by: Rik van Riel r...@redhat.com ---

[PATCH 5/6] nohz,kvm: export context_tracking_user_enter/exit

2015-02-10 Thread riel
From: Rik van Riel r...@redhat.com Export context_tracking_user_enter/exit so it can be used by KVM. Signed-off-by: Rik van Riel r...@redhat.com --- kernel/context_tracking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index

Re: [PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Sylvain Rochet
Hello Boris, On Tue, Feb 10, 2015 at 03:05:57PM +0100, Boris Brezillon wrote: On Tue, 10 Feb 2015 14:40:45 +0100 Sylvain Rochet sylvain.roc...@finsecur.com wrote: + +static SIMPLE_DEV_PM_OPS(atmel_hlcdc_dc_drm_pm_ops, + atmel_hlcdc_dc_drm_suspend, atmel_hlcdc_dc_drm_resume); +

Re: 3.19: device name associates with IRQ's for ahci controllers operating with a single IRQ changed from ahci? to BDF

2015-02-10 Thread Tejun Heo
Hello, On Tue, Feb 10, 2015 at 08:57:46AM +0100, Stefan Bader wrote: On 09.02.2015 20:54, Sander Eikelenboom wrote: Hi. In 3.19 the device name associates with IRQ's for ahci controllers operating with a single IRQ changed from ahci? to BDF, was this intentional ? It's probably

Re: [PATCH] genirq: fix virtual irq demuxer related comments

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 04:43:12PM +0100, Boris Brezillon wrote: Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in kerneldoc headers. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Thanks, squished into the other one. -- To unsubscribe from

[GIT PULL] arch/microblaze changes for 3.20-rc1

2015-02-10 Thread Michal Simek
Hi Linus, please pull these microblaze chagnes to your tree. Thanks, Michal The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2 (2014-12-28 16:49:37 -0800) are available in the git repository at: git://git.monstr.eu/linux-2.6-microblaze.git

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Mark Rutland
[...] +static int __init virt_irq_demux_of_init(struct device_node *node, +struct device_node *parent) +{ + struct irq_chip_virt_demux *demux; + unsigned int irq; + u32 valid_irqs; + int ret; + + irq =

[PATCH] Add support for Atheros AR5B195 combo Mini PCIe cards (AR3011 Bluetooth)

2015-02-10 Thread Alexander Ploumistos
The AR5B195 Mini PCIe card is made up by an AR9285 Wi-Fi chip and an AR3011 Bluetooth chip. The operating procedure of the device, as well as the rationale behind the patch is documented in https://wireless.wiki.kernel.org/en/users/Drivers/ath3k#ar3011_with_sflash_configurations The bluetooth

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 08:16:59PM +0900, Masami Hiramatsu wrote: (2015/02/10 2:31), Josh Poimboeuf wrote: This patch set implements a livepatch consistency model, targeted for 3.21. Now that we have a solid livepatch code base, this is the biggest remaining missing piece. This code

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Brent Wang
Hello Mark, 2015-02-10 21:37 GMT+08:00 Mark Rutland mark.rutl...@arm.com: On Fri, Feb 06, 2015 at 03:37:52PM +, Brent Wang wrote: Hello Mark, 2015-02-06 18:44 GMT+08:00 Mark Rutland mark.rutl...@arm.com: On Fri, Feb 06, 2015 at 08:42:22AM +, Brent Wang wrote: Hello Mark,

[RFC PATCH 0/1] Improve eye-diagram single-ended test for rk3288 hdmi

2015-02-10 Thread Yakir Yang
RK3288 hdmi eye-diagram test would fail when pixel clock is 148.5MHz, and single-ended test would failed when display mode is 74.25MHz. - Fix some code style, leave space for next patches. - For hdmi eye-diagram test, we turn on the Transmitter Trailer-B and improve slopeboost to 25%-30%

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-10 Thread Mark Rutland
On Tue, Feb 10, 2015 at 01:24:08AM +, Stephen Boyd wrote: On 02/05/15 08:11, Russell King - ARM Linux wrote: On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: Works for me, assuming no hidden uses of RCU in the IPI code. ;-) Sigh... I kind'a new it wouldn't be this

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Mark Rutland
Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: Add documentation for the virtual irq demuxer. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- .../bindings/interrupt-controller/dumb-demux.txt

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
I'm fixing my own answer :-) On Tue, 10 Feb 2015 16:52:01 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote:

Re: [PATCH 1/2] sched/wait: add round robin wakeup mode

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 10:59:01AM -0500, Jason Baron wrote: hmmm...but don't we need the head/tail of the list to add it back too? Ah, good point that ;-) Further, we can't just append to tail while walking the list b/c otherwise it can result in multiple wakeups to the same item. So I could

Re: [GIT PULL] ACPI and power management updates for 3.20-rc1

2015-02-10 Thread Rafael J. Wysocki
On Tuesday, February 10, 2015 10:19:34 PM Rafael J. Wysocki wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.20-rc1 to receive ACPI and power management material for v3.20-rc1 with top-most commit

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-02-10 Thread Vinod Koul
On Tue, Jan 20, 2015 at 02:57:57PM +0200, Heikki Krogerus wrote: When requesting clock in the platform driver, leaving chip-clk value as NULL if -ENOENT is returned, and continue. With other errors returning failure. It makes the driver usable on platforms that do not provide the clock.

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 5:45 PM, Al Viro v...@zeniv.linux.org.uk wrote: Could you check if diff --git a/crypto/af_alg.c b/crypto/af_alg.c index eb78fe8..5b11d64 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -348,7 +348,7 @@ int af_alg_make_sg(struct af_alg_sgl *sgl, struct

Re: [PATCH] ARM: OMAP1: PM: fix some build warnings on 1510-only Kconfigs

2015-02-10 Thread Paul Walmsley
Hi John, thanks for the review, On Tue, 10 Feb 2015, Jon Hunter wrote: On 07/02/2015 00:23, Paul Walmsley wrote: Building an OMAP1510-only Kconfig generates the following warnings: arch/arm/mach-omap1/pm.c: In function ‘omap1_pm_idle’: arch/arm/mach-omap1/pm.c:123:2: warning:

Re: [PATCH] PM-Trace: add pm-trace support for suspending phase

2015-02-10 Thread Fu, Zhonghui
On 2015/2/10 5:55, Greg Kroah-Hartman wrote: On Mon, Feb 09, 2015 at 12:03:23PM +0800, Fu, Zhonghui wrote: From ec9c0f24e800461361eaf8b280abe4272b00772d Mon Sep 17 00:00:00 2001 From: Zhonghui Fu zhonghui...@linux.intel.com Date: Mon, 9 Feb 2015 11:09:22 +0800 Subject: [PATCH] PM-Trace: add

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-10 Thread Alexei Starovoitov
On Tue, Feb 10, 2015 at 4:50 PM, Steven Rostedt rost...@goodmis.org wrote: But some maintainers think of them as ABI, whereas others are using them freely. imo it's time to remove ambiguity. I would love to, and have brought this up at Kernel Summit more than once with no solution out

[PATCH 1/6] PM / sleep: Re-implement suspend-to-idle handling

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com In preparation for adding support for quiescing timers in the final stage of suspend-to-idle transitions, rework the freeze_enter() function making the system wait on a wakeup event, the freeze_wake() function terminating the suspend-to-idle loop

[PATCH 4/6] PM / sleep: Make it possible to quiesce timers during suspend-to-idle

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The efficiency of suspend-to-idle depends on being able to keep CPUs in the deepest available idle states for as much time as possible. Ideally, they should only be brought out of idle by system wakeup interrupts. However, timer interrupts

[PATCH 6/6] ACPI / idle: Implement -enter_freeze callback routine

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add an -enter_freeze callback routine, acpi_idle_enter_freeze(), to the ACPI cpuidle driver and point -enter_freeze to it for all the C2-type and C3-type states that don't need to fall back to C1 (which may be halt-induced and that will re-enable

[PATCH 5/6] intel_idle: Add -enter_freeze callbacks

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Add an -enter_freeze callback routine, intel_idle_freeze(), to the intel_idle driver and point the -enter_freeze callback pointers of all of the driver's state objects to it. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 6:01 PM, Linus Torvalds torva...@linux-foundation.org wrote: Are there no tests for that crypto interface? Oh well. With the attached, it at least does boot and work for me. Linus crypto/af_alg.c | 2 +- crypto/algif_skcipher.c | 5

[PATCH v2 5/6] toshiba_acpi: Add support to enable/disable USB 3

2015-02-10 Thread Azael Avalos
Toshiba laptops that come with USB 3 ports have a feature that lets them disable USB 3 functionality and act as a regular USB 2 port, and thus, saving power. This patch adds support to that feature, by creating a sysfs entry named usb_three, acceptig only two parameters, 0 to disable the USB 3

[PATCH v2 6/6] toshiba_acpi: Bump version number to 0.21

2015-02-10 Thread Azael Avalos
Several new features were added on previous patches, so lets bump up the driver version. And also, update the copyright year. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH][RESEND] kprobes: x86: mark 2 bytes NOP as boostable.

2015-02-10 Thread Wang Nan
Hi Andrew, Could you please queue this patch onto your -mm tree? Masami has given an Acked-by already. Thank you! On 2015/2/10 9:34, Wang Nan wrote: Currently, x86 kprobes is unable to boost 2 bytes nop like: nopl 0x0(%rax,%rax,1) which is 0x0f 0x1f 0x44 0x00 0x00. Such nops have

[PATCH v3 2/2] coresight: fixing compilation warnings picked up by 64bit compiler

2015-02-10 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Compiling coresight drivers with a 64-bit compiler highlights a couple of formatting issues, which are fixed by this patch. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- Changes for v3: - Splitting Kconfig work from compilation

Re: [PATCH v4 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2015-02-10 Thread David Rientjes
On Tue, 10 Feb 2015, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com This lets you build a kernel which can support xen dom0 or xen guests by just using: make xenconfig on both x86 and arm64 kernels. This also splits out the options which are available currently to

Re: [GIT] Networking

2015-02-10 Thread Al Viro
On Tue, Feb 10, 2015 at 01:50:16PM -0800, Linus Torvalds wrote: On Tue, Feb 10, 2015 at 1:26 PM, Linus Torvalds torva...@linux-foundation.org wrote: Just to confirm that yes, it's that particular commit 1d10eb2f156f. I reverted it and things work again. So it's not the miscalculation of

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Brent Wang
Hello Mark, 2015-02-10 23:27 GMT+08:00 Mark Rutland mark.rutl...@arm.com: [...] + pm_ctrl: pm_ctrl { + compatible = hisilicon,pmctrl, syscon; + #address-cells = 1; + #size-cells = 1; +

[PATCH] perf: fix building error in x86_64

2015-02-10 Thread He Kuang
When build with ARCH=x86_64, perf failed to compile with following error: tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' collect2: error: ld returned 1 exit status Makefile.perf:632: recipe for target 'perf' failed ... Which is caused commit c6e5e9fbc3ea1

Re: [PATCH] mm: incorporate zero pages into transparent huge pages

2015-02-10 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/10/2015 04:06 PM, Andrea Arcangeli wrote: On Tue, Feb 10, 2015 at 12:47:37AM +0200, Ebru Akagunduz wrote: This patch improves THP collapse rates, by allowing zero pages. Currently THP can collapse 4kB pages into a THP when there are up to

Re: [PATCH 2/2] ARM: perf: Add support for Scorpion PMUs

2015-02-10 Thread Ashwin Chaugule
Hi Stephen, On 10 February 2015 at 20:05, Stephen Boyd sb...@codeaurora.org wrote: Scorpion supports a set of local performance monitor event selection registers (LPM) sitting behind a cp15 based interface that extend the architected PMU events to include Scorpion CPU and Venum VFP specific

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-10 Thread Addy
On 2015/02/09 18:01, Jaehoon Chung wrote: Hi, Addy. On 02/09/2015 04:25 PM, Addy Ke wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc

Re: [PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-10 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-06 11:42:43) of_clk_get_by_clkspec() returns a struct clk pointer but it doesn't create a new handle for the consumers when we're using the common clock framework. Instead it just returns whatever the clk provider hands out. When the consumers go to call clk_put()

Re: [PATCH v4] ext4: fix indirect punch hole corruption

2015-02-10 Thread Omar Sandoval
On Tue, Feb 10, 2015 at 08:59:23PM -0600, Chris J Arges wrote: On 02/10/2015 03:44 PM, Omar Sandoval wrote: Commit 4f579ae7de56 (ext4: fix punch hole on files with indirect mapping) rewrote FALLOC_FL_PUNCH_HOLE for ext4 files with indirect mapping. However, there are bugs in several corner

Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces

2015-02-10 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): On Wed, Jan 07, 2015 at 05:27:38PM -0600, Eric W. Biederman wrote: The -o SUBSYS option doesn't exist. Jesus, at least get yourself familiar with the basics before claiming random stuff. Oh let's see I got that command line option out of

Re: [GIT] Networking

2015-02-10 Thread Al Viro
On Tue, Feb 10, 2015 at 07:58:22PM -0800, Linus Torvalds wrote: On Tue, Feb 10, 2015 at 6:01 PM, Linus Torvalds torva...@linux-foundation.org wrote: Are there no tests for that crypto interface? Oh well. With the attached, it at least does boot and work for me. Heh... Looks like your

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-10 Thread Steven Rostedt
On Tue, 10 Feb 2015 19:04:55 -0800 Alexei Starovoitov a...@plumgrid.com wrote: You mean to be completely invisible to ftrace? And the debugfs/tracefs directory? I mean it will be seen in tracefs to get 'id', but without enable/format/filter In other words, invisible to ftrace. I'm not

Re: process_backlog interruptions with 3.10.47-rt50

2015-02-10 Thread Mike Galbraith
On Tue, 2015-02-10 at 13:43 -0800, trevor_davenp...@selinc.com wrote: I've recently encountered a problem after upgrading from 3.0.57-rt82 to 3.10.47-rt50 where process_backlog gets interrupted and does not resume for a while, which results in packets not being processed in time. I see

[PATCH v3 1/2] coresight: Adding coresight support for arm64 architecture

2015-02-10 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Most CoreSight blocks are 64-bit ready. As such move configuration entries from arch/arm/Kconfig.config to the driver's subdirectory and source the newly created Kconfig from architecture specific Kconfig.debug files. Signed-off-by: Mathieu

Re: [PATCH] spi: bcm53xx: use msecs_to_jiffies for conversion

2015-02-10 Thread Mark Brown
On Sun, Feb 08, 2015 at 10:11:05AM -0500, Nicholas Mc Guire wrote: Converting milliseconds to jiffies by val * HZ / 1000 is technically ok but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases correctly. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers

2015-02-10 Thread Mike Turquette
Quoting Marek Vasut (2015-02-10 14:07:51) On Tuesday, February 10, 2015 at 10:54:52 PM, Fabio Estevam wrote: Hi Stefan, On Tue, Feb 10, 2015 at 7:24 PM, Stefan Wahren stefan.wah...@i2se.com wrote: thanks this is very helpful. I built the linux-next for my Duckbill and add the SSP2

Re: [PATCH v8 08/21] dt / chosen: Add linux,uefi-stub-generated-dtb property

2015-02-10 Thread Ard Biesheuvel
On 9 February 2015 at 19:46, Mark Rutland mark.rutl...@arm.com wrote: On Sat, Feb 07, 2015 at 05:03:44AM +, Ard Biesheuvel wrote: On 7 February 2015 at 03:36, Hanjun Guo hanjun@linaro.org wrote: On 2015年02月06日 18:34, G Gregory wrote: [...]

Re: [RFC][PATCH 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-10 Thread Michael Ellerman
On Mon, 2015-02-09 at 07:55 +, Bogdan Purcareata wrote: In certain scenarios - e.g. seccomp filtering with ERRNO as default action - the system call fails for other reasons than the syscall not being available. The seccomp filter can be configured to store a user-defined error code on

Re: [PATCH] mmc: dw_mmc: fix bug that cause mmc_test failture

2015-02-10 Thread Addy
On 2015/02月10日 17:34, Olof Johansson wrote: Hi Addy, On Mon, Jan 26, 2015 at 4:04 AM, Addy Ke addy...@rock-chips.com wrote: The STOP command can terminate a data transfer between a memory card and mmc controller. As show in Synopsys DesignWare Cores Mobile Stroage Host Databook: Data timeout

Re: [GIT PULL] ACPI and power management updates for 3.20-rc1

2015-02-10 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 02:51:38 AM Rafael J. Wysocki wrote: On Tuesday, February 10, 2015 10:19:34 PM Rafael J. Wysocki wrote: Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.20-rc1 to receive ACPI and power

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-02-10 Thread Viresh Kumar
On Tue, Jan 20, 2015 at 8:57 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: When requesting clock in the platform driver, leaving chip-clk value as NULL if -ENOENT is returned, and continue. With other errors returning failure. It makes the driver usable on platforms that do not

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-02-10 Thread Tejun Heo
Hello, again. On Sat, Feb 07, 2015 at 09:38:39AM -0500, Tejun Heo wrote: If we can argue that memcg and blkcg having different views is meaningful and characterize and justify the behaviors stemming from the deviation, sure, that'd be fine, but I don't think we have that as of now. If we

Re: [PATCH 3/4] x86: open-code register save/restore in trace_hardirqs thunks

2015-02-10 Thread Andy Lutomirski
On Sat, Jan 10, 2015 at 2:00 PM, Denys Vlasenko dvlas...@redhat.com wrote: This is a preparatory patch for change in struct pt_regs handling in entry_64.S. trace_hardirqs thunks were (ab)using a part of pt_regs handling code, namely SAVE_ARGS/RESTORE_ARGS macros, to save/restore registers

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 7:43 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Ah, nice, I missed that one. Ugh, to be fair, I missed it too. The alternative to backporting 7fb08eca4527 is to make the backport of commit 33692f27597f use bad_area() instead of bad_area_nosemaphore().

Re: [PATCH] spi: fsl-quadspi: cleanup wait_for_completion return handling

2015-02-10 Thread Han Xu
On Sun, Feb 1, 2015 at 5:15 AM, Nicholas Mc Guire hof...@osadl.org wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than adding a additional appropriately typed variable.

Re: [GIT] Networking

2015-02-10 Thread Al Viro
On Tue, Feb 10, 2015 at 06:01:32PM -0800, Linus Torvalds wrote: On Tue, Feb 10, 2015 at 5:45 PM, Al Viro v...@zeniv.linux.org.uk wrote: Could you check if diff --git a/crypto/af_alg.c b/crypto/af_alg.c index eb78fe8..5b11d64 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@

Re: doubt about sm7xxfb

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 07:37:47PM +0530, Sudip Mukherjee wrote: Hi Greg, we have this sm7xxfb in drivers/staging now which is supporting SM710, SM712, SM721 and SM722. I am also working on another new hardware SM750, which will be ready for staging in next 1 -2 weeks. this SM750 is entirely

Re: linux-next: manual merge of the pm tree with the pci tree

2015-02-10 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 02:41:35 AM Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 12:07:55 PM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/of/of_pci.c between commit d2be00c0fb5a (of/pci: Free resources on

Re: linux-next: manual merge of the pm tree with the pci tree

2015-02-10 Thread Lorenzo Pieralisi
Hi Rafael, On Wed, Feb 11, 2015 at 02:03:49AM +, Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 02:41:35 AM Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 12:07:55 PM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in

[PATCH 0/6] PM / sleep: Support for quiescing timers during suspend-to-idle

2015-02-10 Thread Rafael J. Wysocki
Hi, This series adds support for quiescing timers during the last state of suspend-to-idle transitions. Patches [1-4/6] together are functionally equivalent to the combo RFC patch I sent last time (http://marc.info/?l=linux-kernelm=142344909201464w=4). Patches [5-6/6] add -enter_freeze callback

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-10 Thread Greg Kroah-Hartman
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914]

[PATCH 3/6] timekeeping: Make it safe to use the fast timekeeper while suspended

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Theoretically, ktime_get_mono_fast_ns() may be executed after timekeeping has been suspended (or before it is resumed) which in turn may lead to undefined behavior, for example, when the clocksource read from timekeeping_get_ns() called by it is

[PATCH 2/6] timekeeping: Pass readout base to update_fast_timekeeper()

2015-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify update_fast_timekeeper() to take a struct tk_read_base pointer as its argument (instead of a struct timekeeper pointer) and update its kerneldoc comment to reflect that. That will allow a struct tk_read_base that is not part of a struct

  1   2   3   4   5   6   7   8   9   10   >