[tip:locking/core] locking/osq: No need for load/ acquire when acquire-polling

2015-01-14 Thread tip-bot for Davidlohr Bueso
Commit-ID: 036cc30c6b6af1cd42de6c34c4461f17da01cbf7 Gitweb: http://git.kernel.org/tip/036cc30c6b6af1cd42de6c34c4461f17da01cbf7 Author: Davidlohr Bueso d...@stgolabs.net AuthorDate: Tue, 6 Jan 2015 11:45:09 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

[tip:locking/core] locking/mcs: Better differentiate between MCS variants

2015-01-14 Thread tip-bot for Davidlohr Bueso
Commit-ID: d84b6728c54dcf73bcef3e3f7cf6767e2d224e39 Gitweb: http://git.kernel.org/tip/d84b6728c54dcf73bcef3e3f7cf6767e2d224e39 Author: Davidlohr Bueso d...@stgolabs.net AuthorDate: Tue, 6 Jan 2015 11:45:07 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

Re: [PATCH 3.19 v2 2/3] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-14 Thread Andy Lutomirski
On Wed, Jan 14, 2015 at 11:43 AM, Dave Hansen dave.han...@linux.intel.com wrote: On 01/12/2015 03:57 PM, Andy Lutomirski wrote: - /* - * We only _really_ need to decode bndcl/bndcn/bndcu - * Error out on anything else. - */ - if (insn-opcode.bytes[0] != 0x0f) -

[PATCH] lib/string.c: Improve strrchr

2015-01-14 Thread Rasmus Villemoes
Instead of potentially passing over the string twice in case c is not found, just keep track of the last occurrence. According to bloat-o-meter, this also cuts the generated code by a third (54 vs 36 bytes). Oh, and we get rid of those 7-space indented lines. Signed-off-by: Rasmus Villemoes

Re: [PATCH 1/2] net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread David Miller
HTML encoded emails will be rejected by the list server, and also completely not read by me. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Pantelis Antoniou
Hi Jason, On Jan 14, 2015, at 20:12 , Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: and I think you effectively have the user usage covered here for such things. It much like GPIO pins - we can describe them

Re: [PATCH] regulator: Update documentation after renaming function argument

2015-01-14 Thread Mark Brown
On Mon, Jan 12, 2015 at 09:01:39AM +0100, Krzysztof Kozlowski wrote: Update documentation for regulator_register() function after renaming its argument. Applied, thanks. signature.asc Description: Digital signature

[PATCH] VMCI: Fix two UVA mapping bugs

2015-01-14 Thread jhansen
From: Jorgen Hansen jhan...@vmware.com (this is a resend of this patch. Originally sent last year, but post appears to have been lost) This change fixes two bugs in the VMCI host driver related to mapping the notify boolean from user space into kernel space: - the actual UVA was rounded up to

Re: [RFC PATCH 08/11] x86,fpu: restore user FPU state lazily after __kernel_fpu_end

2015-01-14 Thread Oleg Nesterov
On 01/14, Oleg Nesterov wrote: On 01/11, r...@redhat.com wrote: --- a/arch/x86/kernel/i387.c +++ b/arch/x86/kernel/i387.c @@ -89,13 +89,11 @@ void __kernel_fpu_end(void) if (use_eager_fpu()) { /* * For eager fpu, most the time, tsk_used_math() is true.

Re: [PATCH 1/6] ARM: at91: pm: rework cpu detection

2015-01-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:23 Mon 12 Jan , Alexandre Belloni wrote: Store SoC differences in a struct to remove cpu_is_* usage. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/pm.c | 54 ++--- 1 file changed, 33

Re: [PATCH v3 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-14 Thread Ray Jui
On 1/13/2015 11:51 PM, Uwe Kleine-König wrote: Hello, On Tue, Jan 13, 2015 at 06:14:17PM -0800, Ray Jui wrote: + irq = platform_get_irq(pdev, 0); + if (irq 0) { irq == 0 should be handled as error, too. Ah. I thought zero is a valid global interrupt number, and I see other drivers

Re: [RFC PATCH 5/5] audit: replace getname()/putname() hacks with reference counters

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: In order to ensure that filenames are not released before the audit subsystem is done with the strings there are a number of hacks built into the fs and audit subsystems around getname() and putname(). To say these hacks are ugly would be kind. This patch

Re: [PATCH] Asoc: sam9x5_wm8731: depend on ARCH_AT91 instead of SOC_AT91SAM9X5

2015-01-14 Thread Mark Brown
On Tue, Jan 13, 2015 at 01:27:26PM +0100, Alexandre Belloni wrote: The SOC_AT91SAM9X5 option is going to be removed, only depend on ARCH_AT91 like for the other drivers. Applied, thanks. signature.asc Description: Digital signature

[PATCH] toshiba_acpi: Change sci_open function return value

2015-01-14 Thread Azael Avalos
Some Toshiba laptops have poorly implemented SCI calls on their BIOSes and are not checking for sci_{open, close} calls, therefore, the sci_open function is failing and making some of the supported features unavailable (kbd backlight, touchpad and illumination). This patch changes the default

Re: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-14 Thread Alan Stern
On Wed, 14 Jan 2015, Felipe Balbi wrote: On Wed, Jan 14, 2015 at 07:45:31AM +0100, Robert Baldyga wrote: This patch fixes bug described here: https://lkml.org/lkml/2014/12/22/185 Signed-off-by: Robert Baldyga r.bald...@samsung.com --- Changelog: v2: - fixed comment from

[PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-01-14 Thread Suman Anna
This patch adds the generic common bindings used to represent a hwlock device and use/request locks in a device-tree build. All the platform-specific hwlock driver implementations need the number of locks and associated base id for registering the locks present within the device with the driver

Re: [RFC][PATCH] procfs: Add /proc/pid/mapped_files

2015-01-14 Thread Calvin Owens
On Wednesday 01/14 at 15:53 +0100, Rasmus Villemoes wrote: On Wed, Jan 14 2015, Siddhesh Poyarekar siddhesh.poyare...@gmail.com wrote: On 14 January 2015 at 19:43, Rasmus Villemoes li...@rasmusvillemoes.dk wrote: Just thinking out loud: Could one simply mark a VMA as being used for

Re: [PATCH 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread Xander Huff
On 1/14/2015 3:09 PM, David Miller wrote: As I mentioned, this won't do. I've already applied your original patches to net-next, therefore you will have to submit fixups relative to that. These fixup commits are relative to an updated net-next, specifically 237de6e Merge branch 'hip04'. Do

Re: [PATCH v2 2/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-14 Thread Jason Cooper
Hey Boris, On Tue, Jan 13, 2015 at 09:52:07PM +0100, Boris Brezillon wrote: On Tue, 13 Jan 2015 14:00:50 -0500 Jason Cooper ja...@lakedaemon.net wrote: On Tue, Jan 13, 2015 at 07:46:18PM +0100, Boris Brezillon wrote: Add documentation for the dumb demuxer. Signed-off-by: Boris

Re: [PATCH 02/10] PCI, x86: clip firmware assigned resource under parent bridge's

2015-01-14 Thread Yinghai Lu
On Wed, Jan 14, 2015 at 8:52 AM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, Jan 12, 2015 at 11:23:12AM -0800, Yinghai Lu wrote: There's a lot of duplicated code in these patches. Is it possible to factor this out a bit, e.g., something like this? int pci_claim_bridge_resource(struct

Re: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-14 Thread Felipe Balbi
On Wed, Jan 14, 2015 at 07:45:31AM +0100, Robert Baldyga wrote: This patch fixes bug described here: https://lkml.org/lkml/2014/12/22/185 Signed-off-by: Robert Baldyga r.bald...@samsung.com --- Changelog: v2: - fixed comment from Paul Zimmerman v1:

Re: [PATCH] RTC: RK808: fix the rtc time reading issue

2015-01-14 Thread Sonny Rao
On Wed, Jan 14, 2015 at 10:36 AM, Doug Anderson diand...@chromium.org wrote: Sonny, Chris, it looks like you swapped the set and the clear of this bit, and you're relying on the fact that the i2c transaction takes a certain amount of time after the RTC_GET_TIME BIT is set. I'm not sure how

Re: [PATCH 5/5] pstore: selinux: add security in-core xattr support for pstore and debugfs

2015-01-14 Thread Paul Moore
On Tuesday, January 13, 2015 02:33:18 PM Mark Salyzyn wrote: - add pstore and debugfs to list of in-core exceptions - change fstype checks to boolean equation - change from strncmp to strcmp for checking Signed-off-by: Mark Salyzyn saly...@android.com --- security/selinux/hooks.c | 25

Re: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-14 Thread Felipe Balbi
Hi, On Wed, Jan 14, 2015 at 03:06:39PM -0500, Alan Stern wrote: This patch fixes bug described here: https://lkml.org/lkml/2014/12/22/185 Signed-off-by: Robert Baldyga r.bald...@samsung.com --- Changelog: v2: - fixed comment from Paul Zimmerman v1:

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Borislav Petkov
On Wed, Jan 14, 2015 at 10:38:25AM -0800, Andy Lutomirski wrote: That's not a real MCE, though -- it happens synchronously instead of MCE can be synchronous in a sense too, as a result of executing an insn, for example, i.e., EIPV bit set. at MCE priority with all the associated messiness. Or

Re: [PATCH 0/5] MN10300: Remove dead code depending on DEPRECATED

2015-01-14 Thread Paul Bolle
-io-serial.c delete mode 100644 arch/mn10300/kernel/gdb-io-ttysm-low.S delete mode 100644 arch/mn10300/kernel/gdb-io-ttysm.c delete mode 100644 arch/mn10300/kernel/gdb-low.S delete mode 100644 arch/mn10300/kernel/gdb-stub.c This series still applies on top of next-20150114. Neither of you

[ANNOUNCE] util-linux v2.26-rc1

2015-01-14 Thread Karel Zak
The util-linux release v2.26-rc1 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.26/ Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.26 Release Notes = This version provides completely new sfdisk(8) command,

Re: [PATCH] next: drm/atomic: Use copy_from_user to copy 64 bit data from user space

2015-01-14 Thread Daniel Vetter
On Mon, Jan 12, 2015 at 09:12:17PM -0800, Guenter Roeck wrote: Copying 64 bit data from user space using get_user is not supported on all architectures, and may result in the following build error. ERROR: __get_user_bad [drivers/gpu/drm/drm.ko] undefined! Avoid the problem by using

Re: [PATCH v8 9/11] xfstests: generic/043: Test multiple fallocate insert/collapse range calls

2015-01-14 Thread Brian Foster
On Wed, Jan 14, 2015 at 01:05:24AM +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com This testcase(043) tries to test finsert range a single alternate block mulitiple times and test merge code of collase range. Signed-off-by: Namjae Jeon namjae.j...@samsung.com

Re: [PATCH v8 11/11] xfstests: fsx: Add fallocate insert range operation

2015-01-14 Thread Brian Foster
On Wed, Jan 14, 2015 at 01:05:26AM +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com Cc: Brian

[PATCH v7 4/4] hwspinlock/omap: add support for dt nodes

2015-01-14 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation. Signed-off-by: Suman Anna s-a...@ti.com [t...@atomide.com:

[PATCH v7 3/4] hwspinlock/core: add common OF helpers

2015-01-14 Thread Suman Anna
This patch adds two new OF helper functions for platform implementations and one new API to use/request locks from a hwspinlock device instantiated through a device-tree blob. 1. The of_hwspin_lock_get_num_locks() is a common OF helper function to read the 'hwlock-num-locks' property. 2. The

[PATCH v7 0/4] hwspinlock core omap dt support

2015-01-14 Thread Suman Anna
Hi Ohad, This is an updated version of the hwspinlock dt support series, rebased onto v3.19-rc3 and mainly addresses the continued discussion on the need to maintain a list of registered spinlock banks [1]. I have removed this patch as per your wish, and as a result the burden of the spinlock

Re: [RFC PATCH 1/5] fs: rework getname_kernel to handle up to PATH_MAX sized filenames

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: In preparation for expanded use in the kernel, make getname_kernel() more useful by allowing it to handle any legal filename length. Signed-off-by: Paul Moore pmo...@redhat.com Reviewed-by: Richard Guy Briggs r...@redhat.com --- fs/namei.c | 34

Re: [RFC PATCH 2/5] fs: create proper filename objects using getname_kernel()

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: There are several areas in the kernel that create temporary filename objects using the following pattern: int func(const char *name) { struct filename *file = { .name = name }; ... return 0; }

Re: net: prevent of emerging cross-namespace symlinks patches for 3.14

2015-01-14 Thread Greg KH
On Wed, Jan 14, 2015 at 09:32:01PM +0100, Miquel van Smoorenburg wrote: When running 'lxc' on the latest -stable kernel, 3.14.28, I'm seeing these errors: Jan 14 17:47:16 lxc2 kernel: [ 10.704890] WARNING: CPU: 0 PID: 3209 at fs/sys fs/dir.c:52 sysfs_warn_dup+0x8c/0xb0() Jan 14 17:47:16

[PATCH 4/4] toshiba_acpi: Add support for USB Sleep and Music

2015-01-14 Thread Azael Avalos
Newer Toshiba laptops now come with a feature called USB Sleep and Charge, where the laptop speakers remain powered and the line-in jack is used to connect an external device to use the laptop speakers. This patchs adds support to such feature, by creating a sysfs entry named usb_sleep_music,

[PATCH 1/4] toshiba_acpi: Add support for USB Sleep and Charge function

2015-01-14 Thread Azael Avalos
Newer Toshiba models now come with a feature called Sleep and Charge, where the computer USB ports remain powered when the computer is asleep or turned off. This patch adds support to such feature, creating a sysfs entry called usb_sleep_charge to set the desired charging mode or to disable it.

Re: [GIT PULL] please pull file-locking related bugfix for v3.19 (and v3.18 stable)

2015-01-14 Thread Linus Torvalds
On Thu, Jan 15, 2015 at 1:46 AM, Jeff Layton jlay...@poochiereds.net wrote: git://git.samba.org/jlayton/linux.git 52d304eb4eaced9ad04b64ba7cd6ceb5153bbf18 Ugh. What are you doing? Don't send me raw hex numbers of the commit. There's a tag there, and it has the name tags/locks-3.19-1, and

[PATCH 3/4] toshiba_acpi: Add support for USB Rapid Charge

2015-01-14 Thread Azael Avalos
Newer Toshiba laptops equipped with USB 3.0 ports now have the functionality of rapid charging devices connected to their USB hubs. This patch adds support to use such feature by creating a sysfs entry named usb_rapid_charge, accepting only two values, 0 to disable and one to enable, however, the

Re: EFI mixed mode + perf = rampant triple faults

2015-01-14 Thread Andy Lutomirski
On Wed, Jan 14, 2015 at 10:47 AM, Borislav Petkov b...@alien8.de wrote: On Wed, Jan 14, 2015 at 10:38:25AM -0800, Andy Lutomirski wrote: That's not a real MCE, though -- it happens synchronously instead of MCE can be synchronous in a sense too, as a result of executing an insn, for example,

[PATCH v3 1/2] x86, platform, xen, kconfig: clarify kvmconfig is for kvm

2015-01-14 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com We'll be adding options for xen as well. Cc: Josh Triplett j...@joshtriplett.org Cc: Borislav Petkov b...@suse.de Cc: Pekka Enberg penb...@kernel.org Cc: David Rientjes rient...@google.com Cc: Michal Marek mma...@suse.cz Cc: Randy Dunlap

Re: [PATCH v2 2/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-14 Thread Jason Cooper
On Wed, Jan 14, 2015 at 08:08:09PM +0100, Boris Brezillon wrote: Hi Jason, On Wed, 14 Jan 2015 13:56:19 -0500 Jason Cooper ja...@lakedaemon.net wrote: Hey Boris, On Tue, Jan 13, 2015 at 09:52:07PM +0100, Boris Brezillon wrote: On Tue, 13 Jan 2015 14:00:50 -0500 Jason Cooper

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

2015-01-14 Thread Luis R. Rodriguez
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 be built with x86 and 'make ARCH=arm64' under a shared

[PATCH v3 0/2] x86/arm64: add xenconfig

2015-01-14 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com This v3 addresses Stefano's feedback from the v2 series, namely moving PCI stuff to x86 as its all x86 specific and also just removing the CONFIG_TCG_XEN=m from the general config. To be clear the changes from the v2 series are below. Luis R. Rodriguez

Re: [PATCH 3.19 v2 2/3] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-14 Thread Dave Hansen
On 01/12/2015 03:57 PM, Andy Lutomirski wrote: - /* - * We only _really_ need to decode bndcl/bndcn/bndcu - * Error out on anything else. - */ - if (insn-opcode.bytes[0] != 0x0f) - goto bad_opcode; - if ((insn-opcode.bytes[1] != 0x1a) -

Re: [PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2015-01-14 Thread Mitchel Humpherys
On Tue, Dec 16 2014 at 01:45:27 AM, Will Deacon will.dea...@arm.com wrote: On Mon, Dec 15, 2014 at 11:47:23PM +, Mitchel Humpherys wrote: From: Matt Wagantall ma...@codeaurora.org It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition.

Re: [PATCH net-next] r8152: replace tasklet with NAPI

2015-01-14 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Mon, 12 Jan 2015 12:06:23 +0800 Replace tasklet with NAPI. Add rx_queue to queue the remaining rx packets if the number of the rx packets is more than the request from poll(). Signed-off-by: Hayes Wang hayesw...@realtek.com Applied, thanks. --

Re: [PATCHv2 2/2] spi: orion: Add multiple chip select support to spi-orion

2015-01-14 Thread Mark Brown
On Mon, Jan 12, 2015 at 01:14:00PM +1000, Ken Wilson wrote: +- num-cs : The total number of chip selects used by this platform. + If unset, this defaults to 1. So, this is intended to be the number of hardware chip selects that can be configured but the first commit mentioned

Re: [PATCH 1/6] ARM: at91: pm: rework cpu detection

2015-01-14 Thread Boris Brezillon
Hi Jean-Christophe, On Wed, 14 Jan 2015 20:14:12 +0100 Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 22:23 Mon 12 Jan , Alexandre Belloni wrote: Store SoC differences in a struct to remove cpu_is_* usage. Signed-off-by: Alexandre Belloni

[PATCH 2/2] fixup! net/macb: improved ethtool statistics support

2015-01-14 Thread Xander Huff
Signed-off-by: Xander Huff xander.h...@ni.com --- drivers/net/ethernet/cadence/macb.c | 25 +++-- drivers/net/ethernet/cadence/macb.h | 203 +--- 2 files changed, 68 insertions(+), 160 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c

[PATCH 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread Xander Huff
Signed-off-by: Xander Huff xander.h...@ni.com --- drivers/net/ethernet/cadence/macb.h | 107 +--- 1 file changed, 26 insertions(+), 81 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index 378b218..d7b93d0

Re: [RFC PATCH 3/5] audit: enable filename recording via getname_kernel()

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: Enable recording of filenames in getname_kernel() and remove the kludgy workaround in __audit_inode() now that we have proper filename logging for kernel users. Signed-off-by: Paul Moore pmo...@redhat.com Reviewed-by: Richard Guy Briggs r...@redhat.com ---

Re: [PATCH 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread David Miller
As I mentioned, this won't do. I've already applied your original patches to net-next, therefore you will have to submit fixups relative to that. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC][PATCH] procfs: Add /proc/pid/mapped_files

2015-01-14 Thread Cyrill Gorcunov
On Wed, Jan 14, 2015 at 12:46:53PM -0800, Calvin Owens wrote: Restriction to CAP_SYSADMIN for follow_link is undertansble, but why do we restrict readdir and readlink? We didn't think this functionality might be needed someone but us (criu camp), so that the rule of thumb was

[PATCH] xen/xtime: remove incorrect preemption enabled assert

2015-01-14 Thread Imre Deak
Since commit 250a1ac685f147d4f4b2f132cfaffcce1a6792c1 Author: Thomas Gleixner t...@linutronix.de Date: Fri Dec 5 08:48:29 2014 + x86, smpboot: Remove pointless preempt_disable() in native_smp_prepare_cpus() the assert in xen_setup_cpu_clockevents() is incorrect, causing the

[PATCH 2/4] toshiba_acpi: Add support for USB Sleep functions under battery

2015-01-14 Thread Azael Avalos
Toshiba laptops supporting USB Sleep and Charge also come with a feature called USB functions under battery, which what it does when enabled, is allows the USB Sleep functions when the computer is under battery power. This patch adds support to that function, creating a sysfs entry named

Re: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-14 Thread Alan Stern
On Wed, 14 Jan 2015, Felipe Balbi wrote: This is really, really odd. Register accesses are atomic, so the lock isn't really doing anything. Besides, you're calling dwc2_is_controller_alive() from within the IRQ handler, so IRQs are already disabled. Spinlocks sometimes do more

Re: [PATCH v3] ASoC: wm8904: fix runtime warning

2015-01-14 Thread Mark Brown
On Tue, Jan 13, 2015 at 06:05:31PM +0800, Bo Shen wrote: Correct the path name for mux to get rid of the following warning: Applied, thanks. signature.asc Description: Digital signature

RE: [PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-14 Thread Paul Zimmerman
From: Robert Baldyga [mailto:r.bald...@samsung.com] Sent: Tuesday, January 13, 2015 10:46 PM This patch fixes bug described here: https://lkml.org/lkml/2014/12/22/185 Signed-off-by: Robert Baldyga r.bald...@samsung.com Although I don't understand *why* this fixes Robert's issue, it's

[tip:locking/core] locking/mutex: Checking the stamp is WW only

2015-01-14 Thread tip-bot for Davidlohr Bueso
Commit-ID: 63dc47e956b464e0ed3282f6e70974eebf850180 Gitweb: http://git.kernel.org/tip/63dc47e956b464e0ed3282f6e70974eebf850180 Author: Davidlohr Bueso d...@stgolabs.net AuthorDate: Tue, 6 Jan 2015 11:45:04 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

[tip:locking/core] locking/mutex: Move MCS related comments to proper location

2015-01-14 Thread tip-bot for Davidlohr Bueso
Commit-ID: e42f678a0237f84f0004fbaf0fad0b844751eadd Gitweb: http://git.kernel.org/tip/e42f678a0237f84f0004fbaf0fad0b844751eadd Author: Davidlohr Bueso d...@stgolabs.net AuthorDate: Tue, 6 Jan 2015 11:45:05 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

Re: [alsa-devel][PATCH v2 1/2] ASoC: wm8960: Let wm8960 codec driver manage its own MCLK

2015-01-14 Thread Mark Brown
On Wed, Jan 07, 2015 at 03:31:44PM +0800, Zidan Wang wrote: From: Zidan Wang b50...@freescale.com When we want to use wm8960 codec, we should enable its MCLK in machine driver. It's reasonable for wm8960 codec driver to manage its own MCLK. Applied, thanks. signature.asc Description:

[tip:locking/core] locking/mutex: Introduce ww_mutex_set_context_slowpath()

2015-01-14 Thread tip-bot for Davidlohr Bueso
Commit-ID: 4bd19084faa61a8c68586e74f03f5776179f65c2 Gitweb: http://git.kernel.org/tip/4bd19084faa61a8c68586e74f03f5776179f65c2 Author: Davidlohr Bueso d...@stgolabs.net AuthorDate: Tue, 6 Jan 2015 11:45:06 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

[PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Sam Bradshaw
The prot_buf pointer passed to the generate/verify functions is incorrect for the second and subsequent range, making it impossible to verify the guard tag. The patch correctly increments the prot_buf pointer by the tuple size for each pass. Signed-off-by: Sam Bradshaw sbrads...@micron.com

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-14 Thread Paul Moore
On Tuesday, January 13, 2015 10:23:23 PM Mimi Zohar wrote: I would assume only 'security.evm' is not portable as it attempts to tightly bind the file metadata to the file data. Casey? Paul? [NOTE: Added the SELinux mailing list to the CC line.] The SELinux xattr should be portable assuming

Re: [PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Martin K. Petersen
Sam == Sam Bradshaw sbrads...@micron.com writes: Hey Sam, Sam The prot_buf pointer passed to the generate/verify functions is Sam incorrect for the second and subsequent range, making it impossible Sam to verify the guard tag. The patch correctly increments the Sam prot_buf pointer by the

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info-syscall

2015-01-14 Thread Kees Cook
On Tue, Jan 13, 2015 at 12:35 AM, Roman Peniaev r.peni...@gmail.com wrote: On Tue, Jan 13, 2015 at 3:39 AM, Will Deacon will.dea...@arm.com wrote: On Sun, Jan 11, 2015 at 02:32:30PM +, Roman Pen wrote: thread_info-syscall is used only for ptrace, but syscall number is also used by

[PATCH v7 2/4] Documentation: dt: add the omap hwspinlock bindings document

2015-01-14 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the DT bindings information for OMAP hwspinlock module. Cc: Rob Herring robh...@kernel.org Signed-off-by: Suman Anna s-a...@ti.com --- v7: Added information about hwlock-base-id and

RE: [PATCH RESEND] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories

2015-01-14 Thread Peter Rosin
Nicolas Ferre wrote: Le 14/01/2015 14:20, Peter Rosin a écrit : From: Peter Rosin p...@axentia.se The DDRSDR controller (on the ATSAMA5D31) fails miserably to put LPDDR1 memories in self-refresh. Force the controller to think it has DDR2 memories during the self-refresh period, as the

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock

2015-01-14 Thread Mark Brown
On Wed, Jan 07, 2015 at 03:31:45PM +0800, Zidan Wang wrote: + for (i = 0; i ARRAY_SIZE(dac_divs); ++i) { + if (wm8960-sysclk == lrclk * dac_divs[i]) { + for (j = 0; j ARRAY_SIZE(bclk_divs); ++j) { + if (wm8960-sysclk ==

[PATCH] arm: mm: remove unused ioremap_page()

2015-01-14 Thread Vitaly Andrianov
This patch removes unused ioremap_page(). Signed-off-by: Vitaly Andrianov vita...@ti.com --- arch/arm/include/asm/mach/map.h | 5 - arch/arm/mm/ioremap.c | 8 2 files changed, 13 deletions(-) diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h

Re: [PATCH v3 3/5] iio: common: ssp_sensors: Add sensorhub iio commons

2015-01-14 Thread Jonathan Cameron
On 13/01/15 16:03, Karol Wrona wrote: [...] +EXPORT_SYMBOL(ssp_common_setup_buffer); diff --git a/drivers/iio/common/ssp_sensors/ssp_iio_sensor.h b/drivers/iio/common/ssp_sensors/ssp_iio_sensor.h new file mode 100644 index 000..4b79be0 --- /dev/null +++

net: prevent of emerging cross-namespace symlinks patches for 3.14

2015-01-14 Thread Miquel van Smoorenburg
When running 'lxc' on the latest -stable kernel, 3.14.28, I'm seeing these errors: Jan 14 17:47:16 lxc2 kernel: [ 10.704890] WARNING: CPU: 0 PID: 3209 at fs/sys fs/dir.c:52 sysfs_warn_dup+0x8c/0xb0() Jan 14 17:47:16 lxc2 kernel: [ 10.704892] sysfs: cannot create duplicate filename

Re: [PATCH] driver core: access dev-driver under dev-mutex in dev_uevent

2015-01-14 Thread Greg Kroah-Hartman
On Wed, Jan 14, 2015 at 11:40:54PM +0530, ashishsangw...@gmail.com wrote: From: Ashish Sangwan a.sang...@samsung.com We have hit a race condition while parallely accessing device's uevent and rmmoding device's driver. How are you doing that? By reading the uevent file and removing the

Re: [RFC][PATCH] procfs: Add /proc/pid/mapped_files

2015-01-14 Thread Calvin Owens
On Wednesday 01/14 at 18:33 +0300, Cyrill Gorcunov wrote: On Wed, Jan 14, 2015 at 05:25:01PM +0200, Kirill A. Shutemov wrote: ... This gives lsof and suchlike a way to determine the pathnames of files mapped into a process without incurring the O(N^2) behavior of the maps file.

Re: [PATCH 2/2] net/macb: improved ethtool statistics support

2015-01-14 Thread David Miller
From: Nicolas Ferre nicolas.fe...@atmel.com Date: Wed, 14 Jan 2015 16:53:25 +0100 I see some issues with this patch: can you hold it a little bit please (aka NAK)? I already applied these patches last night to my net-next tree, so relative fixups against that will need to be submitted.

Re: [RFC PATCH 4/5] audit: fix filename matching in __audit_inode() and __audit_inode_child()

2015-01-14 Thread Richard Guy Briggs
On 15/01/08, Paul Moore wrote: In all likelihood there were some subtle, and perhaps not so subtle, bugs with filename matching in audit_inode() and audit_inode_child() for some time, however, recent changes to the audit filename code have definitely broken the filename matching code. The

[PATCH] kernel: avoid overflow in cmp_range

2015-01-14 Thread Louis Langholtz
Avoid overflow possibility. Signed-off-by: Louis Langholtz lou_langho...@me.com --- diff --git a/kernel/range.c b/kernel/range.c index 322ea8e..06d9ee7 100644 --- a/kernel/range.c +++ b/kernel/range.c @@ -113,12 +113,16 @@ static int cmp_range(const void *x1, const void *x2) { const struct

Re: [PATCH v2 2/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-14 Thread Boris Brezillon
Hi Jason, On Wed, 14 Jan 2015 13:56:19 -0500 Jason Cooper ja...@lakedaemon.net wrote: Hey Boris, On Tue, Jan 13, 2015 at 09:52:07PM +0100, Boris Brezillon wrote: On Tue, 13 Jan 2015 14:00:50 -0500 Jason Cooper ja...@lakedaemon.net wrote: On Tue, Jan 13, 2015 at 07:46:18PM +0100,

[tip:perf/core] perf: Avoid horrible stack usage

2015-01-14 Thread tip-bot for Peter Zijlstra (Intel)
Commit-ID: 86038c5ea81b519a8a1fcfcd5e4599aab0cdd119 Gitweb: http://git.kernel.org/tip/86038c5ea81b519a8a1fcfcd5e4599aab0cdd119 Author: Peter Zijlstra (Intel) pet...@infradead.org AuthorDate: Tue, 16 Dec 2014 12:47:34 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan

[tip:locking/core] softirq/preempt: Add missing current- preempt_disable_ip update

2015-01-14 Thread tip-bot for Heiko Carstens
Commit-ID: 0f1ba9a2cea52896448ef4e14a4cb1880b8e5bee Gitweb: http://git.kernel.org/tip/0f1ba9a2cea52896448ef4e14a4cb1880b8e5bee Author: Heiko Carstens heiko.carst...@de.ibm.com AuthorDate: Wed, 7 Jan 2015 10:04:41 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 14 Jan 2015

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-14 Thread Greg Kroah-Hartman
On Wed, Jan 14, 2015 at 10:39:04AM -0800, Felipe Tonello wrote: The thing is that: I wrote this driver to work with only one gps module, because that's my configuration here. I cannot really test multiple i2c gps at the same time. If you guys really want a driver that works for multiple gps

[patch] mcb: request_mem_region() returns NULL on error

2015-01-14 Thread Dan Carpenter
The code here is checking for IS_ERR() when request_mem_region() only returns NULL on error and never an ERR_PTR. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c index 5e1bd5d..2d6524a 100644 --- a/drivers/mcb/mcb-pci.c +++

Re: [PATCH 1/6] ARM: at91: pm: rework cpu detection

2015-01-14 Thread Alexandre Belloni
Hi, (Adding Arnd in Cc) On 15/01/2015 at 04:37:14 +0800, Jean-Christophe PLAGNIOL-VILLARD wrote : - /* AT91RM9200 SDRAM low-power mode cannot be used with self-refresh. */ - if (cpu_is_at91rm9200()) + at91_pm_data.memctrl = AT91_MEMCTRL_SDRAMC; + + if

Re: [PATCH v2 1/4] perf tools: Fix segfault for symbol annotation on TUI

2015-01-14 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 14, 2015 at 07:57:49AM -0700, David Ahern escreveu: On 1/14/15 4:18 AM, Namhyung Kim wrote: @@ -129,8 +124,7 @@ static inline struct sym_hist *annotation__histogram(struct annotation *notes, i static inline struct annotation *symbol__annotation(struct symbol *sym) { -

Re: [PATCH] netdevice: Add missing parentheses in macro

2015-01-14 Thread David Miller
From: Benjamin Poirier bpoir...@suse.de Date: Wed, 14 Jan 2015 16:52:35 +0900 For example, one could conceivably call for_each_netdev_in_bond_rcu(condition ? bond1 : bond2, slave) and get an unexpected result. Signed-off-by: Benjamin Poirier bpoir...@suse.de Applied. -- To

Re: [PATCH] xen/xtime: remove incorrect preemption enabled assert

2015-01-14 Thread Boris Ostrovsky
On 01/14/2015 04:34 PM, Imre Deak wrote: Signed-off-by: Imre Deak imre.d...@intel.com --- arch/x86/xen/time.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index f473d26..23019b4 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-14 Thread Mike Turquette
Quoting Tony Lindgren (2015-01-13 14:51:26) Hi all, Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x which is a omap variant. Tony, Patches look fine to me. I'll give it a few days for Paul or Tero to comment if they have any concerns. Also, flying adder pll is a pretty

Re: [PATCH 2/2] clk: exynos-audss: Fix memory leak on driver unbind or probe failure

2015-01-14 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-08 13:23:13) On 01/05/2015 01:52 AM, Krzysztof Kozlowski wrote: The memory allocated by basic clock divider/gate/mux (struct clk_gate, clk_divider and clk_mux) was leaking. During driver unbind or probe failure the driver only unregistered the clocks. Use

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Rob Herring
On Wed, Jan 14, 2015 at 4:36 AM, Thomas Gleixner t...@linutronix.de wrote: On Tue, 13 Jan 2015, Rob Herring wrote: On Tue, Jan 13, 2015 at 12:46 PM, Boris Brezillon boris.brezil...@free-electrons.com wrote: Some interrupt controllers are multiplexing several peripheral IRQs on a single

Re: [PATCH v2 2/2] task_mmu: Add user-space support for resetting mm-hiwater_rss (peak RSS)

2015-01-14 Thread Kirill A. Shutemov
On Wed, Jan 14, 2015 at 03:22:25PM +, Petr Cermak wrote: On Wed, Jan 07, 2015 at 07:24:52PM +0200, Kirill A. Shutemov wrote: And how it's not an ABI break? I don't think this is an ABI break because the current behaviour is not changed unless you write 5 to /proc/pid/clear_refs. If you

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2015-01-14 Thread Stephen Boyd
On 01/14/2015 03:38 PM, Timur Tabi wrote: On Fri, Aug 29, 2014 at 9:30 AM, Pramod Gurav pramod.gu...@smartplayin.com wrote: +static void msm_pinctrl_setup_pm_reset(struct msm_pinctrl *pctrl) +{ + int i = 0; + const struct msm_function *func = pctrl-soc-functions; + + for

RE: [PATCH] ixgbe: Re-enable relaxed ordering as part of init/restart sequence for non-DCA config

2015-01-14 Thread Tantilov, Emil S
-Original Message- From: Sowmini Varadhan [mailto:sowmini.varad...@oracle.com] Relaxed ordering is disabled by default at driver initialization and re-enabled when DCA is used. The reason it is disabled was due to an issue on some chipsets (see comments in ixgbe_update_tx_dca()). But

Re: [PATCH 3.18 000/150] 3.18.3-stable review

2015-01-14 Thread Greg Kroah-Hartman
On Wed, Jan 14, 2015 at 03:48:24PM -0700, Shuah Khan wrote: On 01/14/2015 12:21 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.3 release. There are 150 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [GIT PULL] USB patches

2015-01-14 Thread Greg KH
On Wed, Jan 14, 2015 at 11:48:39AM -0600, Felipe Balbi wrote: Hi Greg, Alright, 3 more fixes for v3.19-rc and my queue is finally clean. All three fixes are rather obvious, two of them just took longer to sort out all the stable rules details and I ended up having to fix all that,

Re: [PATCH 3.10 00/44] 3.10.65-stable review

2015-01-14 Thread Guenter Roeck
On Tue, Jan 13, 2015 at 11:23:21PM -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.65 release. There are 44 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH] hwmon: (ina2xx) Add ina231 compatible string

2015-01-14 Thread Guenter Roeck
On Wed, Jan 14, 2015 at 03:57:32PM -0800, Kevin Hilman wrote: From: Kevin Hilman khil...@linaro.org Add support for ina231 as compatible string. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman khil...@linaro.org Hi Kevin,

[PATCH 02/11] x86: code shrink in paranoid_exit

2015-01-14 Thread Denys Vlasenko
RESTORE_EXTRA_REGS + RESTORE_C_REGS looks small, but it's a lot of instructions (fourteen). Let's reuse them. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Oleg Nesterov o...@redhat.com CC: Borislav Petkov b...@alien8.de CC: H. Peter Anvin

[PATCH 03/11] x86: mass removal of ARGOFFSET

2015-01-14 Thread Denys Vlasenko
ARGOFFSET is zero now, removing it changes no code. A few macros lost offset parameter, since it is always zero now too. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Oleg Nesterov o...@redhat.com CC: Borislav Petkov b...@alien8.de CC: H.

  1   2   3   4   5   6   7   8   9   10   >