Re: [PATCH v1 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Santosh Shilimkar
Murali, On 10/29/2014 09:45 AM, Murali Karicheri wrote: Now that Keystone PCI driver is merged to v3.18, this patch series add build options and DTS bindings to enable the driver for Keystone SoCs. v1: resend with some minor fix up of the commit description and fixing the email ID for Sant

Re: [PATCH net-next 0/2] r8152: support nway_reset

2014-10-29 Thread David Miller
From: Hayes Wang Date: Tue, 28 Oct 2014 14:05:50 +0800 > Fix the CHECK from checkpatch.pl and support nway_reset. Series applied, thanks. -- 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:

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Kevin Cernekee wrote: > Thomas: > > How does that work with multi arch kernels? > > I am assuming this question refers to e.g. CONFIG_ARCH_MULTIPLATFORM > > If GENERIC_IRQ_CHIP is being used, the current implementation of > generic-chip.c will have to pick one global definiti

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-10-29 Thread Geert Uytterhoeven
On Wed, Oct 29, 2014 at 7:15 PM, Josh Triplett wrote: > Document several common practices and conventions regarding conditional > compilation, most notably the preference for ifdefs in headers rather > than .c files. > > Signed-off-by: Josh Triplett > +If you have a function or variable which ma

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Arnd Bergmann
On Wednesday 29 October 2014 11:48:39 Kevin Cernekee wrote: > On Wed, Oct 29, 2014 at 12:43 AM, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 20:58:48 Kevin Cernekee wrote: > >> > >> +#ifdef CONFIG_RAW_IRQ_ACCESSORS > >> + > >> +#ifndef irq_reg_writel > >> +# define irq_reg_writel(val, addr)

Re: [PATCH v3] rtc: omap: add support for pmic_power_en

2014-10-29 Thread Andrew Morton
On Wed, 29 Oct 2014 13:50:05 +0100 Johan Hovold wrote: > On Tue, Oct 28, 2014 at 09:36:33AM +0100, Johan Hovold wrote: > > On Mon, Oct 27, 2014 at 03:40:31PM -0700, Andrew Morton wrote: > > > On Mon, 27 Oct 2014 09:09:28 +0100 Johan Hovold wrote: > > > But in general, how do you want to handle

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Arnd Bergmann
On Wednesday 29 October 2014 10:36:25 Florian Fainelli wrote: > On 10/29/2014 12:43 AM, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 20:58:48 Kevin Cernekee wrote: > >> > >> +#ifdef CONFIG_RAW_IRQ_ACCESSORS > >> + > >> +#ifndef irq_reg_writel > >> +# define irq_reg_writel(val, addr) __ra

[PATCH] platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream

2014-10-29 Thread Giedrius Statkevicius
Add a i8042 filter to hp_accel to remove accelerometer's data with acpi id HPQ6000 from keyboard bus stream. The codes sent by accelerometer are e0 25, e0 26, e0 27 and e0 28. The relevant information is already passed through /dev/freefall so no need to send these undocumented weird signals throug

Re: A desktop environment[1] kernel wishlist

2014-10-29 Thread Andy Lutomirski
On 10/27/2014 07:31 AM, Bastien Nocera wrote: > On Mon, 2014-10-27 at 10:28 +0100, Pavel Machek wrote: >> Hi! >> I suspect wakeup type reporting is maybe not the best way to go about this, since there may be a number of causes for wakeups and they can arrive closely together in diffe

[PATCH 1/3] misc: always assign miscdevice to file->private_data in open()

2014-10-29 Thread Martin Kepplinger
As of now, a miscdevice driver has to provide an implementation of the open() file operation if it wants to have misc_open() assign a pointer to struct miscdevice to file->private_data for other file operations to use (given the user calls open()). This leads to situations where a miscdevice drive

[PATCH 0/3] char: misc: assign file->private_data to miscdevice on open

2014-10-29 Thread Martin Kepplinger
This slightly changes the behaviour of miscdevice drivers at an open() syscall. Not only if the driver happens to implement an open() fop itself, but now just always file->private_data points to struct miscdevice, when a user opens the device file. This call for review once more: if anybody has an

[PATCH 2/3] fbdev: pxa3xx-gcu: remove redundant implementation of open()

2014-10-29 Thread Martin Kepplinger
the miscdevice core now does the work in any case. Signed-off-by: Martin Kepplinger --- drivers/video/fbdev/pxa3xx-gcu.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/video/fbdev/pxa3xx-gcu.c b/drivers/video/fbdev/pxa3xx-gcu.c index 4df3657..7678a94 100644 --- a/driver

[PATCH 3/3] char: misc: document behaviour of open()

2014-10-29 Thread Martin Kepplinger
an open syscall now assignes file->private_data to a pointer to the miscdevice structure. This reminds driver developers not to duplicate code if they need this. Signed-off-by: Martin Kepplinger --- drivers/char/misc.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dri

Re: [PATCH v6 4/7] ARM: rockchip: add suspend and resume for RK3288

2014-10-29 Thread Doug Anderson
Kevin, On Wed, Oct 29, 2014 at 12:01 PM, Kevin Hilman wrote: >> + /* set bit 8 so that system will resume to FAST_BOOT_ADDR */ >> + regmap_write(sgrf_regmap, RK3288_SGRF_SOC_CON0, >> + BIT(SGRF_FAST_BOOT_EN) | BIT(SGRF_FAST_BOOT_EN + 16)); > > Comment says "bit 8", but co

Re: [PATCH 1/3] mfd: stmpe: add pull up/down register offsets for STMPE

2014-10-29 Thread Dmitry Torokhov
On Wednesday, October 29, 2014 10:55:14 AM Linus Walleij wrote: > On Mon, Oct 20, 2014 at 8:46 AM, Lee Jones wrote: > > On Sat, 18 Oct 2014, Linus Walleij wrote: > >> This adds the register offsets for pull up/down for the STMPE > >> 1601, 1801 and 24xx expanders. This is used to bias GPIO lines >

Re: [PATCH v1 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Murali Karicheri
On 10/29/2014 03:07 PM, Santosh Shilimkar wrote: Murali, On 10/29/2014 09:45 AM, Murali Karicheri wrote: Now that Keystone PCI driver is merged to v3.18, this patch series add build options and DTS bindings to enable the driver for Keystone SoCs. v1: resend with some minor fix up of the commit

Re: [PATCH tip/core/rcu 0/6] Torture-test changes for 3.19

2014-10-29 Thread Pranith Kumar
On Tue, Oct 28, 2014 at 6:29 PM, Paul E. McKenney wrote: > Hello! > > This series provides torture-testing updates: > > 1. Run the Linux-kernel binary out of the results directory, > easing re-runs. > > 2. Add early-boot callback-posting self-tests for RCU, courtesy > of

Re: net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-10-29 Thread David Miller
From: Lothar Waßmann Date: Tue, 28 Oct 2014 14:22:55 +0100 > Changes wrt. v1: > - added some cleanup patches > - simplify handling of 'quirks' flags as suggested by Russell King. > - remove DIV_ROUND_UP() from byte swapping loop as suggested by > Eric Dumazet > > Changes wrt. v2: > - rebased a

Re: [PATCH v3] xen/smp: Use die_complete completion when taking CPU down

2014-10-29 Thread Boris Ostrovsky
On 10/22/2014 01:09 PM, Boris Ostrovsky wrote: Commit 2ed53c0d6cc9 ("x86/smpboot: Speed up suspend/resume by avoiding 100ms sleep for CPU offline during S3") introduced completions to CPU offlining process. These completions are not initialized on Xen kernels causing a panic in play_dead_common()

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Benoit Parrot
Pantelis Antoniou wrote on Wed [2014-Oct-29 18:42:48 +0200]: > Hi Benoit, > > > On Oct 29, 2014, at 18:34 , Benoit Parrot wrote: > > > > Pantelis, > > > > Thanks for the feedback. > > > > Pantelis Antoniou wrote on Wed [2014-Oct-29 > > 10:53:44 +0200]: > >> Hi Benoit, > >> > >>> On Oct 21

Re: randconfig build error with next-20141028, in net/bridge

2014-10-29 Thread David Miller
From: Jim Davis Date: Tue, 28 Oct 2014 07:52:47 -0700 > Building with the attached random configuration file, > > net/built-in.o: In function `br_handle_frame_finish': > (.text+0x40edf): undefined reference to `arp_tbl' > net/built-in.o: In function `br_handle_frame_finish': > (.text+0x40f3a): u

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Peter Zijlstra
On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > Yuck. No. You are just papering over the problem. > > What happens if you add 'threadirqs' to the kernel command line? Or if > the interrupt line is shared with a real threaded interrupt user? > > The proper solution is to have a

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Jeff Kirsher
On Wed, 2014-10-29 at 20:36 +0100, Peter Zijlstra wrote: > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > Yuck. No. You are just papering over the problem. > > > > What happens if you add 'threadirqs' to the kernel command line? Or if > > the interrupt line is shared with a r

[PATCH v2 00/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-29 Thread Anton Saraev
As I can understand warning in previous series is about unused function (I don't see other differences in output of make with C=1, W=1 and W=2). I remove "static" for lnet_selftest_structure_assertion from first patch. Maybe I should merge patches in one but I think that addition of static declarat

[PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function

2014-10-29 Thread Anton Saraev
Function lnet_selftest_structure_assertion is never used and can be removed. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/module.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/

[PATCH v2 01/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-29 Thread Anton Saraev
Fix sparse warnings: symbol X was not declared. Should it be static? Some functions used only in files where they are declared. They can be static. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/conctl.c| 34 drivers/staging/lustre/lnet/selftest/conrpc.

Re: [PATCH RESEND V4 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-10-29 Thread Andrew Bresticker
>> diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c >> b/drivers/pinctrl/pinctrl-tegra-xusb.c > [...] >> struct tegra_xusb_padctl_function { >> const char *name; >> const char * const *groups; >> @@ -72,6 +222,16 @@ struct tegra_xusb_padctl_soc { >> >> const struct tegra_xusb_p

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-29 Thread Will Deacon
On Tue, Oct 28, 2014 at 09:40:35PM +, Linus Torvalds wrote: > On Tue, Oct 28, 2014 at 8:30 AM, Linus Torvalds > wrote: > > On Tue, Oct 28, 2014 at 4:44 AM, Will Deacon wrote: > >> > >> This patch fixes the problem by incrementing addr by the PAGE_SIZE > >> before breaking out of the loop on b

Re: [PATCH] clk: rockchip: change PLL setting for better clock jitter

2014-10-29 Thread Heiko Stübner
Am Donnerstag, 9. Oktober 2014, 22:23:57 schrieb Kever Yang: > dclk_vop0/1 is the source of HDMI TMDS clock in rk3288, usually we > use 594MHz for clock source of dclk_vop0/1. > > HDMI CTS 7-9 require TMDS Clock jitter is lower than 0.25*Tbit: > TMDS clock(MHz) CTS require jitter (ps

Re: [PATCH V5 0/5] audit by executable name

2014-10-29 Thread Richard Guy Briggs
On 14/10/21, Paul Moore wrote: > On Tuesday, October 21, 2014 06:19:52 PM Eric Paris wrote: > > On Tue, 2014-10-21 at 17:56 -0400, Paul Moore wrote: > > > * Change the audit_status.version field comment in > > > include/uapi/linux/audit.h to "/* audit functionality bitmap */", or > > > similar. We

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Peter Zijlstra wrote: > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > Yuck. No. You are just papering over the problem. > > > > What happens if you add 'threadirqs' to the kernel command line? Or if > > the interrupt line is shared with a real threaded

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Peter Zijlstra
On Wed, Oct 29, 2014 at 08:49:03PM +0100, Thomas Gleixner wrote: > On Wed, 29 Oct 2014, Peter Zijlstra wrote: > > > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > > Yuck. No. You are just papering over the problem. > > > > > > What happens if you add 'threadirqs' to the kern

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Jeff Kirsher wrote: > On Wed, 2014-10-29 at 20:36 +0100, Peter Zijlstra wrote: > > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > > Yuck. No. You are just papering over the problem. > > > > > > What happens if you add 'threadirqs' to the kernel command li

Re: [PATCH 3/3] x86_64,vsyscall: Make vsyscall emulation configurable

2014-10-29 Thread Konrad Rzeszutek Wilk
On Tue, Oct 28, 2014 at 11:09:53AM -0700, Andy Lutomirski wrote: > On Tue, Oct 28, 2014 at 10:57 AM, Josh Triplett wrote: > > On Tue, Oct 28, 2014 at 10:22:28AM -0700, Andy Lutomirski wrote: > >> This adds CONFIG_X86_VSYSCALL_EMULATION, guarded by CONFIG_EXPERT. > >> Turning it off completely disa

Re: [PATCH v6 4/7] ARM: rockchip: add suspend and resume for RK3288

2014-10-29 Thread Kevin Hilman
Doug Anderson writes: > Kevin, > > On Wed, Oct 29, 2014 at 12:01 PM, Kevin Hilman wrote: >>> + /* set bit 8 so that system will resume to FAST_BOOT_ADDR */ >>> + regmap_write(sgrf_regmap, RK3288_SGRF_SOC_CON0, >>> + BIT(SGRF_FAST_BOOT_EN) | BIT(SGRF_FAST_BOOT_EN + 16));

Re: [PATCH v6 0/7] This is the 1st version of suspend for RK3288.

2014-10-29 Thread Kevin Hilman
ext (next-20141029) and it doesn't wake up from serial port activity. Can you describe how to test this, as well as describe dependencies on other out-of-tree patches, including pointers to where they've been posted. Also, please describe how you tested this and on which hardware platforms.

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Peter Zijlstra wrote: > On Wed, Oct 29, 2014 at 08:49:03PM +0100, Thomas Gleixner wrote: > > On Wed, 29 Oct 2014, Peter Zijlstra wrote: > > > > > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > > > Yuck. No. You are just papering over the problem. > > > >

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Kevin Cernekee
On Wed, Oct 29, 2014 at 12:14 PM, Arnd Bergmann wrote: >> The host CPU is connected to the peripheral/register interface using a >> 32-bit wide data bus. A simple 32-bit store originating from the host >> CPU, targeted to an onchip SoC peripheral, will never need endian >> swapping. i.e. this co

[RFC PATCH] sg3_utils: Added hybrid information log utility

2014-10-29 Thread Jason B. Akers
From: Kapil Karkra A solid state hybrid drive (SSHD) is a hard drive with a small embedded NAND. Host drivers can manage this NAND using the commands defined by SATA 3.2 standard. One SATA command that provides visibility into the SSHD's cache behavior is get hybrid log command. This augmentation

[RFC PATCH] sg3_utils Hybrid Information Log utility

2014-10-29 Thread Jason B. Akers
The following series implements a sg_sat_get_hybrid_log utility allowing users to view the SSHD Hybrid Information Log as defined in the SATA 3.2 standard. --- Kapil Karkra (1): sg3_utils: Added hybrid information log utility src/Makefile.am | 21 ++ src/sg_sat_get_hybrid_

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Andrew Murray
On 29 October 2014 14:52, Richard Weinberger wrote: > diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h > index c3918a0..82b693f 100644 > --- a/include/linux/mtd/ubi.h > +++ b/include/linux/mtd/ubi.h > @@ -34,11 +34,13 @@ > * UBI_READONLY: read-only mode > * UBI_READWRITE: read-wr

[ANNOUNCE] Git v2.1.3

2014-10-29 Thread Junio C Hamano
The latest maintenance release Git v2.1.3 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.1.3' tag and the 'maint' branch that the tag points at: url = https://kernel

Re: [PATCH 2/5] ARM: dtsi: sunxi: add common VBUS regulator

2014-10-29 Thread Roman Byshko
Hi Maxime, thank you for the review! On Tue, Oct 28, 2014 at 10:51 PM, Maxime Ripard wrote: > On Mon, Oct 27, 2014 at 10:43:02PM +0100, Roman Byshko wrote: >> Until now the regulator nodes for powering USB VBUS >> existed only for the two host controllers. Now the regulator >> is added for USB O

[PATCH 1/1 linux-next] powerpc: fix section mismatch warning

2014-10-29 Thread Fabian Frederick
Adding __init to MMU_setup() which uses __initdata boot_command_line. Warning appeared since commit 3e47d1474c2b ("powerpc: Remove powerpc specific cmd_line") Signed-off-by: Fabian Frederick --- arch/powerpc/mm/init_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/p

Re: [PATCH RESEND] staging: dgap: re-arrange functions for removing forward declarations

2014-10-29 Thread Mark Hounschell
On 10/29/2014 05:22 AM, Greg KH wrote: On Sun, Oct 26, 2014 at 11:08:54AM +0900, Daeseok Youn wrote: Re-arrange the functions for removing forward declarations. Tested-by: Mark Hounschell Signed-off-by: Daeseok Youn --- RESEND: This patch is tested all by Mark. It is good to merge. Greg, chec

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Dave Chinner
On Wed, Oct 29, 2014 at 11:23:38AM -0700, Jason B. Akers wrote: > The following series enables the use of Solid State hybrid drives > ATA standard 3.2 defines the hybrid information feature, which provides a > means for the host driver to provide hints to the SSHDs to guide what to > place on the

[PATCH v13 00/11] qspinlock: a 4-byte queue spinlock with PV support

2014-10-29 Thread Waiman Long
v12->v13: - Change patch 9 to generate separate versions of the queue_spin_lock_slowpath functions for bare metal and PV guest. This reduces the performance impact of the PV code on bare metal systems. v11->v12: - Based on PeterZ's version of the qspinlock patch (https://lkml.org/lkml/2

[PATCH v13 01/11] qspinlock: A simple generic 4-byte queue spinlock

2014-10-29 Thread Waiman Long
This patch introduces a new generic queue spinlock implementation that can serve as an alternative to the default ticket spinlock. Compared with the ticket spinlock, this queue spinlock should be almost as fair as the ticket spinlock. It has about the same speed in single-thread and it can be much

[PATCH v13 08/11] qspinlock, x86: Rename paravirt_ticketlocks_enabled

2014-10-29 Thread Waiman Long
This patch renames the paravirt_ticketlocks_enabled static key to a more generic paravirt_spinlocks_enabled name. Signed-off-by: Waiman Long Signed-off-by: Peter Zijlstra --- arch/x86/include/asm/spinlock.h |4 ++-- arch/x86/kernel/kvm.c|2 +- arch/x86/kernel/paravi

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Mimi Zohar
On Wed, 2014-10-29 at 11:51 -0700, Andy Lutomirski wrote: > On Wed, Oct 29, 2014 at 11:36 AM, Dan Carpenter > wrote: > > On Wed, Oct 29, 2014 at 09:23:45AM -0700, Andy Lutomirski wrote: > >> I have no idea what the semantics are. All I'm saying is that it > >> looks like the code still accesses

[PATCH v13 10/11] pvqspinlock, x86: Enable PV qspinlock for KVM

2014-10-29 Thread Waiman Long
This patch adds the necessary KVM specific code to allow KVM to support the CPU halting and kicking operations needed by the queue spinlock PV code. Two KVM guests of 20 CPU cores (2 nodes) were created for performance testing in one of the following three configurations: 1) Only 1 VM is active

[PATCH v13 11/11] pvqspinlock, x86: Enable PV qspinlock for XEN

2014-10-29 Thread Waiman Long
This patch adds the necessary XEN specific code to allow XEN to support the CPU halting and kicking operations needed by the queue spinlock PV code. Signed-off-by: Waiman Long --- arch/x86/xen/spinlock.c | 149 +-- kernel/Kconfig.locks|2 +- 2

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Richard Weinberger
Am 29.10.2014 um 21:11 schrieb Andrew Murray: > On 29 October 2014 14:52, Richard Weinberger wrote: >> diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h >> index c3918a0..82b693f 100644 >> --- a/include/linux/mtd/ubi.h >> +++ b/include/linux/mtd/ubi.h >> @@ -34,11 +34,13 @@ >> * UBI

[PATCH v13 09/11] pvqspinlock, x86: Add para-virtualization support

2014-10-29 Thread Waiman Long
This patch adds para-virtualization support to the queue spinlock code base with minimal impact to the native case. There are some minor code changes in the generic qspinlock.c file which should be usable in other architectures. The other code changes are specific to x86 processors and so are all p

[PATCH v13 04/11] qspinlock: Extract out code snippets for the next patch

2014-10-29 Thread Waiman Long
This is a preparatory patch that extracts out the following 2 code snippets to prepare for the next performance optimization patch. 1) the logic for the exchange of new and previous tail code words into a new xchg_tail() function. 2) the logic for clearing the pending bit and setting the loc

[PATCH v13 07/11] qspinlock: Revert to test-and-set on hypervisors

2014-10-29 Thread Waiman Long
From: Peter Zijlstra When we detect a hypervisor (!paravirt, see qspinlock paravirt support patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstra Signed-off-by: Waiman Long --- arch/x86/include/asm/qspinlock.h | 14 +++

[PATCH v13 06/11] qspinlock: Use a simple write to grab the lock

2014-10-29 Thread Waiman Long
Currently, atomic_cmpxchg() is used to get the lock. However, this is not really necessary if there is more than one task in the queue and the queue head don't need to reset the tail code. For that case, a simple write to set the lock bit is enough as the queue head will be the only one eligible to

[PATCH v13 05/11] qspinlock: Optimize for smaller NR_CPUS

2014-10-29 Thread Waiman Long
From: Peter Zijlstra When we allow for a max NR_CPUS < 2^14 we can optimize the pending wait-acquire and the xchg_tail() operations. By growing the pending bit to a byte, we reduce the tail to 16bit. This means we can use xchg16 for the tail part and do away with all the repeated compxchg() oper

[PATCH v13 03/11] qspinlock: Add pending bit

2014-10-29 Thread Waiman Long
From: Peter Zijlstra Because the qspinlock needs to touch a second cacheline (the per-cpu mcs_nodes[]); add a pending bit and allow a single in-word spinner before we punt to the second cacheline. It is possible so observe the pending bit without the locked bit when the last owner has just relea

[PATCH v13 02/11] qspinlock, x86: Enable x86-64 to use queue spinlock

2014-10-29 Thread Waiman Long
This patch makes the necessary changes at the x86 architecture specific layer to enable the use of queue spinlock for x86-64. As x86-32 machines are typically not multi-socket. The benefit of queue spinlock may not be apparent. So queue spinlock is not enabled. Currently, there is some incompatibi

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Thomas Gleixner wrote: > On Wed, 29 Oct 2014, Peter Zijlstra wrote: > > > On Wed, Oct 29, 2014 at 08:49:03PM +0100, Thomas Gleixner wrote: > > > On Wed, 29 Oct 2014, Peter Zijlstra wrote: > > > > > > > On Wed, Oct 29, 2014 at 07:33:00PM +0100, Thomas Gleixner wrote: > > > > >

Re: [PATCH v12 09/11] pvqspinlock, x86: Add para-virtualization support

2014-10-29 Thread Waiman Long
On 10/29/2014 03:05 PM, Waiman Long wrote: On 10/27/2014 05:22 PM, Waiman Long wrote: On 10/27/2014 02:04 PM, Peter Zijlstra wrote: On Mon, Oct 27, 2014 at 01:38:20PM -0400, Waiman Long wrote: On 10/24/2014 04:54 AM, Peter Zijlstra wrote: On Thu, Oct 16, 2014 at 02:10:38PM -0400, Waiman Long

Re: A desktop environment[1] kernel wishlist

2014-10-29 Thread Theodore Ts'o
On Wed, Oct 29, 2014 at 12:19:56PM -0700, Andy Lutomirski wrote: > For a tablet, isn't the relevant piece of information whether the power > button was recently pressed, not whether the power button caused the wakeup? For Android L devices, it has been reported that the device might power up its s

[PATCH v2 2/4] ARM: keystone: defconfig: add options to enable PCI controller

2014-10-29 Thread Murali Karicheri
This patch enables PCI controller driver for Keystone SoCs by default. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Russell King CC: Greg Kroah-Hartman --- v2 - Added a description in the commit log per comment v1 - fixed email ID for Santosh arch/arm/configs/keystone_defconfig

[PATCH v2 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Murali Karicheri
v2: Some more minor edits based on comments v1: resend with some minor fix up of the commit description and fixing the email ID for Santosh. CC: Santosh Shilimkar CC: Greg Kroah-Hartman CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: Russell King CC:

[PATCH v2 3/4] ARM: dts: keystone: add DT bindings for PCI controller for port 0

2014-10-29 Thread Murali Karicheri
Add common DT bindings to support PCI controller driver for port 0 on all of the K2 SoCs that has Synopsis Designware based pcie h/w. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: Russell King CC: d

[PATCH v2 4/4] ARM: dts: keystone-k2e: add DT bindings for PCI controller for port 1

2014-10-29 Thread Murali Karicheri
K2E SoC has a second PCI port based on Synopsis Designware PCIe h/w. Add DT bindings to support PCI controller for port 1 for this SoC. Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: Russell King CC:

[PATCH v2 1/4] ARM: keystone: add pcie related options

2014-10-29 Thread Murali Karicheri
Now that Keystone PCI controller is merged, add pcie related options by default for keystone architecture so that driver can be enabled in the build. Signed-off-by: Murali Karicheri CC: Russell King CC: Santosh Shilimkar --- - V2 - No change w.r.t v1 - v1 - No change w.r.t initial version ar

[RESEND: PATCH v2 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread Murali Karicheri
Now that Keystone PCI driver is merged to v3.18, this patch series add build options and DTS bindings to enable the driver for Keystone SoCs. v2: Some more minor edits based on comments v1: resend with some minor fix up of the commit description and fixing the email ID for Santosh. CC: Santos

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-29 Thread atull
On Wed, 29 Oct 2014, Pavel Machek wrote: > Hi! > > > > > +Optional properties: > > > > + - label : name that you want this bridge to show up as under > > > > +/sys/class/fpga-bridge. Default is br if > > > > this is > > > > +not specified. > > >

Re: [PATCH] clk: rockchip: disable unused clocks

2014-10-29 Thread Doug Anderson
Kever, On Wed, Oct 29, 2014 at 3:06 AM, Kever Yang wrote: > The rockchip clock driver use CLK_IGNORE_UNUSED flag to make sure > all the clocks are available like default power on state. > We have implement the clock manage in most of rockchip drivers, > it is time to remove it for power save. > I

Re: [PATCH V2 3/5] cpuidle: idle: menu: Don't reflect when a state selection failed

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 09:54:43 AM Kevin Hilman wrote: > Daniel Lezcano writes: > > > On 10/28/2014 08:01 AM, Preeti Murthy wrote: > >> On Thu, Oct 23, 2014 at 2:31 PM, Daniel Lezcano > >> wrote: > >>> In the current code, the check to reflect or not the outcoming state is > >>> done >

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Peter Zijlstra
On Wed, Oct 29, 2014 at 09:23:42PM +0100, Thomas Gleixner wrote: > But at least it allows to mitigate the impact by making it conditional > at a central point. > > static inline void netpoll_lock(struct net_device *nd) > { > if (netpoll_active(nd)) > spin_lock(&nd->netpoll_lock

[PATCH V3 4/4] edac, amd64_edac: Add F15h M60h support

2014-10-29 Thread Aravind Gopalakrishnan
This patch adds support for ECC error decoding for F15h M60h processor. Aside from the usual changes, the patch adds support for some new features in the processor: - DDR4(unbuffered, registered); LRDIMM DDR3 support - relevant debug messages have been modified/added to report these memory

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-29 Thread atull
On Wed, 29 Oct 2014, Steffen Trumtrar wrote: > Hi! > > On Tue, Oct 28, 2014 at 04:19:03PM -0500, atull wrote: > > On Fri, 24 Oct 2014, Steffen Trumtrar wrote: > > > > > Hi! > > > > > > > Hi, > > > > I see that my documentation sucks and needs cleanup. I'll try to > > answer some of the flame

Re: [PATCH] rcu: Remove redundant rcu_is_cpu_rrupt_from_idle() function

2014-10-29 Thread Alexander Gordeev
On Wed, Oct 29, 2014 at 08:46:15AM -0700, Paul E. McKenney wrote: > On Wed, Oct 29, 2014 at 03:16:23PM +, Alexander Gordeev wrote: > > On Wed, Oct 29, 2014 at 07:34:39AM -0700, Paul E. McKenney wrote: > > > On Wed, Oct 29, 2014 at 01:45:19PM +, Alexander Gordeev wrote: > > > > On Wed, Oct 2

Re: [PATCH v3 3/3] x86: Support compiling out userspace I/O (iopl and ioperm)

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Josh Triplett wrote: > v3: Eliminated several #ifdefs, and in particular almost all #ifdefs in > .c files, by adding a macro INIT_SET_IOPL_MASK to use in place of > the initializer for set_iopl_mask, and using __maybe_unused rather > than wrapping function definitio

Re: [PATCH] ASoC: add xtensa xtfpga I2S interface and platform

2014-10-29 Thread Mark Brown
On Wed, Oct 29, 2014 at 05:23:15PM +0300, Max Filippov wrote: > On Tue, Oct 28, 2014 at 8:38 PM, Mark Brown wrote: > > On Tue, Oct 28, 2014 at 08:00:45PM +0300, Max Filippov wrote: > >> > It's also about ensuring that the code is cleanly split up so that > >> > someone can actually go in and add

Re: e1000_netpoll(): disable_irq() triggers might_sleep() on linux-next

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Peter Zijlstra wrote: > On Wed, Oct 29, 2014 at 09:23:42PM +0100, Thomas Gleixner wrote: > > But at least it allows to mitigate the impact by making it conditional > > at a central point. > > > > static inline void netpoll_lock(struct net_device *nd) > > { > > if (netpoll

Re: [PATCH v2] cpufreq: Guard against not-yet-initialized policies in cpufreq_cpu_get()

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 04:45:47 PM Tomeu Vizoso wrote: > There's a substantial window of opportunity from the time the policy objects > are created until they are initialized, causing this: > > WARNING: CPU: 1 PID: 64 at include/linux/kref.h:47 kobject_get+0x64/0x70() > Modules linked in:

Re: nf_reject_ipv4: module license 'unspecified' taints kernel

2014-10-29 Thread Benjamin Tissoires
On Tue, Oct 14, 2014 at 4:11 AM, Dave Young wrote: > On 10/10/14 at 11:56am, Pablo Neira Ayuso wrote: >> On Fri, Oct 10, 2014 at 05:19:04PM +0800, Dave Young wrote: >> > Hi, >> > >> > With today's linus tree, I got below kmsg: >> > [ 23.545204] nf_reject_ipv4: module license 'unspecified' taints

Re: [RFC PATCH 1/5] block, ioprio: include caching advice via ionice

2014-10-29 Thread Dan Williams
On Wed, Oct 29, 2014 at 12:02 PM, Jeff Moyer wrote: > "Jason B. Akers" writes: > >> From: Dan Williams >> >> Steal one unused bit from the priority class and two bits from the >> priority data, to implement a 3 bit cache-advice field. Similar to the >> page cache advice from fadvise() these hin

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Jens Axboe
On 10/29/2014 02:14 PM, Dave Chinner wrote: > On Wed, Oct 29, 2014 at 11:23:38AM -0700, Jason B. Akers wrote: >> The following series enables the use of Solid State hybrid drives >> ATA standard 3.2 defines the hybrid information feature, which provides a >> means for the host driver to provide hi

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Dan Williams
On Wed, Oct 29, 2014 at 1:14 PM, Dave Chinner wrote: > On Wed, Oct 29, 2014 at 11:23:38AM -0700, Jason B. Akers wrote: >> The following series enables the use of Solid State hybrid drives >> ATA standard 3.2 defines the hybrid information feature, which provides a >> means for the host driver to

Re: [PATCH v2 0/4] Enable PCI controller for Keystone SoCs

2014-10-29 Thread santosh shilimkar
On 10/29/2014 1:28 PM, Murali Karicheri wrote: v2: Some more minor edits based on comments Thanks for quick update. I will queue these up as mentioned. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-29 Thread Linus Torvalds
On Wed, Oct 29, 2014 at 12:47 PM, Will Deacon wrote: > > I've cooked up something (see below), but it unfortunately makes a couple > of minor changes to powerpc and microblaze to address redefinitions of > some of the gather callbacks (tlb{start,end}vma, __tlb_remove_tlb_entry). > > On the plus si

Re: [PATCH v5 12/18] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2014-10-29 Thread Rafael J. Wysocki
On Monday, October 27, 2014 05:58:10 PM Hanjun Guo wrote: > On 2014-10-25 1:39, Lorenzo Pieralisi wrote: > > On Fri, Oct 17, 2014 at 02:37:08PM +0100, Hanjun Guo wrote: > >> Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained > >> from the GICC Structure introduced by ACPI 5.1.

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Arnd Bergmann
On Wednesday 29 October 2014 13:09:47 Kevin Cernekee wrote: > On Wed, Oct 29, 2014 at 12:14 PM, Arnd Bergmann wrote: > >> The host CPU is connected to the peripheral/register interface using a > >> 32-bit wide data bus. A simple 32-bit store originating from the host > >> CPU, targeted to an onch

Re: A desktop environment[1] kernel wishlist

2014-10-29 Thread Pavel Machek
On Wed 2014-10-29 16:26:16, Theodore Ts'o wrote: > On Wed, Oct 29, 2014 at 12:19:56PM -0700, Andy Lutomirski wrote: > > For a tablet, isn't the relevant piece of information whether the power > > button was recently pressed, not whether the power button caused the wakeup? > > For Android L devices

Re: [PATCH] ASoC: add xtensa xtfpga I2S interface and platform

2014-10-29 Thread Mark Brown
On Thu, Oct 30, 2014 at 12:10:56AM +0300, Max Filippov wrote: > On Thu, Oct 30, 2014 at 12:02 AM, Mark Brown wrote: > > Just keep the code physically separate so the DMA bits are hanging off > > the DMA operations and the interface setup bits are hanging off the DAI > > operations rather than all

Re: [PATCH] ASoC: add xtensa xtfpga I2S interface and platform

2014-10-29 Thread Max Filippov
On Thu, Oct 30, 2014 at 12:02 AM, Mark Brown wrote: > On Wed, Oct 29, 2014 at 05:23:15PM +0300, Max Filippov wrote: >> On Tue, Oct 28, 2014 at 8:38 PM, Mark Brown wrote: >> > On Tue, Oct 28, 2014 at 08:00:45PM +0300, Max Filippov wrote: > >> >> > It's also about ensuring that the code is cleanly

mmotm 2014-10-29-14-19 uploaded

2014-10-29 Thread akpm
The mm-of-the-moment snapshot 2014-10-29-14-19 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[PATCH] USB: simple: add Google simple serial SubClass support

2014-10-29 Thread Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01. Signed-off-by: Anton Staaf --- drivers/usb/serial/usb-serial-simple.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/serial/usb-serial-si

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-29 Thread Andy Lutomirski
On Oct 29, 2014 1:20 PM, "Mimi Zohar" wrote: > > On Wed, 2014-10-29 at 11:51 -0700, Andy Lutomirski wrote: > > On Wed, Oct 29, 2014 at 11:36 AM, Dan Carpenter > > wrote: > > > On Wed, Oct 29, 2014 at 09:23:45AM -0700, Andy Lutomirski wrote: > > >> I have no idea what the semantics are. All I'm s

Re: [PATCH v2 1/4] pinctrl: rockchip: Set wake_enabled

2014-10-29 Thread Heiko Stübner
Am Dienstag, 21. Oktober 2014, 10:47:32 schrieb Doug Anderson: > The rockchip pinctrl driver uses irq_gc_set_wake() but doesn't setup > the .wake_enabled member. That means that we can never actually use a > pin for wakeup. When "irq_set_irq_wake()" tries to call through it > will always get a fa

Re: [PATCH V2] Driver cpu: update online when cpu_up/down besides sysfs

2014-10-29 Thread Rafael J. Wysocki
On Monday, October 27, 2014 08:46:08 PM Dan Streetman wrote: > On Mon, Oct 27, 2014 at 5:38 PM, Rafael J. Wysocki > wrote: > > On 10/27/2014 3:59 AM, Neil Zhang wrote: > >> > >> The current per-cpu offline info won't be updated when we use > >> any other method besides sysfs to call cpu_up/down. >

Re: [PATCH 01/32] perf tools powerpc: Cache the DWARF debug info

2014-10-29 Thread Sukadev Bhattiprolu
Namhyung Kim [namhy...@kernel.org] wrote: | > + if (dwfl_report_offline(dwfl, "", dso->long_name, -1) == NULL) { | > + pr_debug("dwfl_report_offline() failed %s\n", | > + dwarf_errmsg(-1)); | > + /* | > +

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-29 Thread Benjamin Herrenschmidt
On Wed, 2014-10-29 at 14:11 -0700, Linus Torvalds wrote: > On Wed, Oct 29, 2014 at 12:47 PM, Will Deacon wrote: > > > > I've cooked up something (see below), but it unfortunately makes a couple > > of minor changes to powerpc and microblaze to address redefinitions of > > some of the gather callba

Re: [PATCH 3/3] x86_64,vsyscall: Make vsyscall emulation configurable

2014-10-29 Thread Andy Lutomirski
On Oct 29, 2014 1:00 PM, "Konrad Rzeszutek Wilk" wrote: > > On Tue, Oct 28, 2014 at 11:09:53AM -0700, Andy Lutomirski wrote: > > On Tue, Oct 28, 2014 at 10:57 AM, Josh Triplett > > wrote: > > > On Tue, Oct 28, 2014 at 10:22:28AM -0700, Andy Lutomirski wrote: > > >> This adds CONFIG_X86_VSYSCALL_

Re: [PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-29 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Arnd Bergmann wrote: > On Wednesday 29 October 2014 13:09:47 Kevin Cernekee wrote: > > generic-chip.c already has a fair amount of indirection, with pointers > > to saved masks, user-specified register offsets, and such. Is there a > > concern that introducing, say, a pair of

  1   2   3   4   5   6   7   8   9   10   >