[PATCH 2/6] CRIS: add dt-bindings symlink

2015-08-03 Thread Rabin Vincent
Add a dt-bindings symlink to get DT include files, as on other architectures. See c58299a ("kbuild: create an "include chroot" for DT bindings") for the details. Signed-off-by: Rabin Vincent --- arch/cris/boot/dts/include/dt-bindings | 1 + 1 file changed, 1 insertion(+) create mode 12 arc

Re: [PATCH v4 1/8] atomics: add acquire/release/relaxed variants of some atomic operations

2015-08-03 Thread Will Deacon
On Mon, Aug 03, 2015 at 06:26:58PM +0100, Peter Zijlstra wrote: > On Mon, Aug 03, 2015 at 06:02:24PM +0100, Will Deacon wrote: > > +/* > > + * The idea here is to build acquire/release variants by adding explicit > > + * barriers on top of the relaxed variant. In the case where the relaxed > > + *

[PATCH 5/6] CRIS v32: remove I2C bitbanging driver

2015-08-03 Thread Rabin Vincent
Now that we have a gpiolib GPIO driver, the generic i2c-gpio driver provides this functionality. Signed-off-by: Rabin Vincent --- arch/cris/arch-v32/drivers/Kconfig | 18 - arch/cris/arch-v32/drivers/Makefile | 1 - arch/cris/arch-v32/drivers/i2c.c| 751 --

Re: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-03 Thread Davidlohr Bueso
On Sun, 2015-08-02 at 00:29 +0200, Peter Zijlstra wrote: > That's just gibberish, even in the same cacheline stuff can get > reordered. true dat > > So either we insert > > +* memory barrier here and in the corresponding pv_wait_head()

Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and cgroup usage guide

2015-08-03 Thread Vikas Shivappa
Hello Marcelo/Martin, Like I mentioned let me modify the documentation to better help understand the usage. Things like updating each package bitmask is already in the patches. Lets discuss offline and come up a well defined proposal for change if any and then update that in next series. We

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread Murali Karicheri
On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH 3/3] MIPS: ath79: Add the reset controller to the AR9132 dtsi

2015-08-03 Thread Ralf Baechle
On Mon, Aug 03, 2015 at 07:23:53PM +0200, Alban Bedel wrote: Acked-by: Ralf Baechle Philipp, Feel free to take this through the reset tree. Or I can carry this in the MIPS tree which is probably better for testing. Just lemme know. Ralf -- To unsubscribe from this list: send the line "unsu

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-03 Thread Jarkko Nikula
Hi On 08/01/2015 01:18 PM, Pali Rohár wrote: > On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: >> On 07/25/2015 12:28 PM, Pali Rohár wrote: >>> Hello, >>> >>> sometimes after rebooting Nokia N900 initializing alsa audio fails. >>> Here output from dmesg log when it happen: >>> >>> [

[PATCH 2/2] x86/ldt: allow to disable modify_ldt at runtime

2015-08-03 Thread Willy Tarreau
For distros who prefer not to take the risk of completely disabling the modify_ldt syscall using CONFIG_MODIFY_LDT_SYSCALL, this patch adds a sysctl to enable, temporarily disable, or permanently disable it at runtime, and proposes to temporarily disable it by default. This can be a safe alternativ

[PATCH 1/2] sysctl: add a new generic strategy to make permanent changes on negative values

2015-08-03 Thread Willy Tarreau
The new function is proc_dointvec_minmax_negperm(), it refuses to change the value if the current one is already negative. This will be used to lock down some settings such as sensitive system calls. Signed-off-by: Willy Tarreau --- kernel/sysctl.c | 36 1 fi

[PATCH 1/6] CRIS v32: increase NR_IRQS

2015-08-03 Thread Rabin Vincent
Increase NR_IQRS so we can fit in GPIO interrupts. Signed-off-by: Rabin Vincent --- arch/cris/arch-v32/kernel/irq.c | 4 ++-- arch/cris/include/arch-v32/arch/irq.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/ke

[PATCH 4/6] CRIS v32: add ARTPEC-3 and P1343 device trees

2015-08-03 Thread Rabin Vincent
Add a device tree for the Axis P1343 with the ARTPEC-3 SoC and on-board LEDs and RTC. Signed-off-by: Rabin Vincent --- arch/cris/boot/dts/artpec3.dtsi | 46 + arch/cris/boot/dts/p1343.dts| 76 + 2 files changed, 122 insertions(+

Re: [PATCH] x86, acpi: Handle lapic/x2apic entries in MADT

2015-08-03 Thread Lukasz Anaczkowski
Hi Marc, > You haven't ever tried compiling this, have you? I *thought* I tried, but obviously I did it wrong. This time I made sure it compiles. Thanks for poiting this out. Sending v2 of the patch with fixed arm64 compilation. Cheers, Lukasz -- To unsubscribe from this list: send the line "u

[PATCH] x86, acpi: Handle lapic/x2apic entries in MADT

2015-08-03 Thread Lukasz Anaczkowski
v2: Fixed ARM64 syntax error >From the ACPI spec: "Logical processors with APIC ID values less than 0xFF (whether in XAPIC or X2APIC mode) must use the Processor LAPIC structure [...]. Logical processors with APIC ID values 0xFF and greater must use the Processor Local x2APIC structure." Because

Re: [PATCH 3.10 00/89] 3.10.85-stable review

2015-08-03 Thread Shuah Khan
On 07/31/2015 01:40 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.85 release. > There are 89 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. > > Responses s

Re: [PATCH 3.14 000/125] 3.14.49-stable review

2015-08-03 Thread Shuah Khan
On 07/31/2015 01:40 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.49 release. > There are 125 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. > > Responses

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread santosh.shilim...@oracle.com
On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone.dtsi | 2

Re: [PATCH 4.1 000/267] 4.1.4-stable review

2015-08-03 Thread Shuah Khan
On 07/31/2015 01:37 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.4 release. > There are 267 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. > > Responses sh

Re: [RFC PATCH 09/14] ring_buffer: Initialize completions statically in the benchmark

2015-08-03 Thread Steven Rostedt
On Tue, 28 Jul 2015 16:39:26 +0200 Petr Mladek wrote: > It looks strange to initialize the completions repeatedly. > > This patch uses static initialization. It simplifies the code > and even helps to get rid of two memory barriers. There was a reason I did it this way and did not use static in

Re: [RFC][PATCH] ecryptfs: Allow only one instance per lower path

2015-08-03 Thread Richard Weinberger
Tyler, Am 03.08.2015 um 07:27 schrieb Tyler Hicks: >> So ecryptfs definitely supports mounting the same lower path multiple times? >> What is the benefit of that behavior? > > No, it doesn't support that in a way that provides consistency among all > of the eCryptfs mounts. Okay, then I'd argume

[PATCH 0/2] x86: allow to enable/disable modify_ldt at run time

2015-08-03 Thread Willy Tarreau
This is the second version. It adds a strategy for the sysctls so that we can reject any change to a value that was already negative. This way it's possible to disable modify_ldt temporarily or permanently (eg: lock down a server) as suggested by Kees. Willy Tarreau (2): sysctl: add a new generi

Re: [RFC PATCH 10/14] ring_buffer: Fix more races when terminating the producer in the benchmark

2015-08-03 Thread Steven Rostedt
On Tue, 28 Jul 2015 16:39:27 +0200 Petr Mladek wrote: > @@ -384,7 +389,7 @@ static int ring_buffer_consumer_thread(void *arg) > > static int ring_buffer_producer_thread(void *arg) > { > - while (!kthread_should_stop() && !kill_test) { > + while (!break_test()) { > ring_b

Re: [PATCH 1/2] sysctl: add a new generic strategy to make permanent changes on negative values

2015-08-03 Thread Andy Lutomirski
On Mon, Aug 3, 2015 at 11:23 AM, Willy Tarreau wrote: > The new function is proc_dointvec_minmax_negperm(), it refuses to change > the value if the current one is already negative. This will be used to > lock down some settings such as sensitive system calls. > > Signed-off-by: Willy Tarreau > --

[PATCH -next] staging: most: fix aim-sound build errors

2015-08-03 Thread Randy Dunlap
ndefined reference to `snd_pcm_lib_ioctl' drivers/built-in.o:(.data+0x95318): undefined reference to `snd_pcm_lib_get_vmalloc_page' Signed-off-by: Randy Dunlap Cc: Christian Gromm --- drivers/staging/most/aim-sound/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-2015080

[PATCH -next] staging: most: fix hdm-dim2 build error

2015-08-03 Thread Randy Dunlap
ce to `most_deliver_netinfo' Signed-off-by: Randy Dunlap Cc: Jain Roy Ambi Cc: Andrey Shvetsov --- drivers/staging/most/hdm-dim2/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20150803.orig/drivers/staging/most/hdm-dim2/Kconfig +++ linux-next-20150803/drivers/st

Re: [PATCH v4 2/7] locking/pvqspinlock: Add pending bit support

2015-08-03 Thread Davidlohr Bueso
On Fri, 2015-07-31 at 22:21 -0400, Waiman Long wrote: > /* > + * Try to acquire the lock and wait using the pending bit > + */ > +static int pv_pending_lock(struct qspinlock *lock, u32 val) Sorry but, why did yo not rewrite the function as we had previously discussed. This is very confusing to re

Re: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 11:22:09AM -0700, Davidlohr Bueso wrote: > On Sun, 2015-08-02 at 00:29 +0200, Peter Zijlstra wrote: > > That's just gibberish, even in the same cacheline stuff can get > > reordered. > > true dat > > > > > So either

Re: [PATCH 2/2] sched: Trace point sched_stat_sleep should cover iowait case

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 01:35:28PM -0400, Steven Rostedt wrote: > On Mon, 27 Jul 2015 09:11:52 -0400 > yangoliver wrote: > > > Per sched_stat_sleep definition in sched.h, it should include > > iowait case. This can also relect the design of sum_sleep_runtime > > statistic, as this counter also in

Re: [PATCH -next] staging: most: fix aim-sound build errors

2015-08-03 Thread Christian Gromm
cm_lib_get_vmalloc_page' > > Signed-off-by: Randy Dunlap Acked-by: Christian Gromm > Cc: Christian Gromm > --- > drivers/staging/most/aim-sound/Kconfig |1 + > 1 file changed, 1 insertion(+) > > --- linux-next-20150803.orig/drivers/staging/most/aim-sou

Re: [Ksummit-discuss] Kernel Summit 2015: Call for Proposals

2015-08-03 Thread Theodore Ts'o
The Kernel Summit call for proposals/topics was sent out a month ago: http://lists.linuxfoundation.org/pipermail/ksummit-discuss/2015-July/001242.html In that call, I asked that people send nominations (including self nominations) and topic suggestions by the end of July since the program committ

Re: [PATCH 2/2] x86/ldt: allow to disable modify_ldt at runtime

2015-08-03 Thread Andy Lutomirski
On Mon, Aug 3, 2015 at 11:23 AM, Willy Tarreau wrote: > For distros who prefer not to take the risk of completely disabling the > modify_ldt syscall using CONFIG_MODIFY_LDT_SYSCALL, this patch adds a > sysctl to enable, temporarily disable, or permanently disable it at > runtime, and proposes to t

[PATCH tip] locking/static_keys: verify_keys() can be static

2015-08-03 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- test_static_keys.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_static_keys.c b/lib/test_static_keys.c index 81d8105..c61b299 100644 --- a/lib/test_static_keys.c +++ b/lib/test_static_keys.c @@ -70,7 +70,7 @@ static void invert_k

[tip:locking/core 19/20] lib/test_static_keys.c:23:19: sparse: symbol 'old_true_key' was not declared. Should it be static?

2015-08-03 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking/core head: 412758cb26704e5087ca2976ec3b28fb2bdbfad4 commit: 2bf9e0ab08c64ac56067555911a1ae81ebff5f96 [19/20] locking/static_keys: Provide a selftest reproduce: # apt-get install sparse git checkout 2bf9e0ab08c64ac56067

[PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Tomer Barletz
The variable spd0 might be used uninitialized when pdc20621_i2c_read() fails. This also generates a compilation warning with gcc 5.1. Signed-off-by: Tomer Barletz --- drivers/ata/sata_sx4.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/ata/sata_sx4

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-03 Thread Jarkko Nikula
On 08/03/2015 09:17 PM, Pali Rohár wrote: > On Monday 03 August 2015 20:03:16 Jarkko Nikula wrote: >> Hi >> >> On 08/01/2015 01:18 PM, Pali Rohár wrote: >>> On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: >>> Hello, your patch did not helped. Problem is still there... >> >> For me v4.2-

Re: [REGRESSION] Re: i915 driver crashes on T540p if docking station attached

2015-08-03 Thread Theodore Ts'o
On Mon, Aug 03, 2015 at 10:24:53AM -0700, Linus Torvalds wrote: > On Mon, Aug 3, 2015 at 9:25 AM, Theodore Ts'o wrote: > > > > I've just tried pulling in your updated fixes-stuff, and it avoids the > > oops and allows external the monitor to work correctly. > > Good. Have either of you tested the

Re: [PATCH 1/2] sysctl: add a new generic strategy to make permanent changes on negative values

2015-08-03 Thread Willy Tarreau
On Mon, Aug 03, 2015 at 11:33:30AM -0700, Andy Lutomirski wrote: > On Mon, Aug 3, 2015 at 11:23 AM, Willy Tarreau wrote: > > The new function is proc_dointvec_minmax_negperm(), it refuses to change > > the value if the current one is already negative. This will be used to > > lock down some settin

Re: 4.0.8->4.1.3 : after resume from s2ram both internal and external display of a docked ThinkPad ate black

2015-08-03 Thread Toralf Förster
On 08/03/2015 11:53 AM, Toralf Förster wrote: > A quick look at the latest 4.1.3+hardened just shows that the power button at > the docking station does not produce an ACPI event. This is fixed between 4.1.3 and 4.1.4 - would be helpful to know the commit id for the following bisecting of the bla

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread Murali Karicheri
On 08/03/2015 02:30 PM, santosh.shilim...@oracle.com wrote: On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by

Re: [PATCH 1/2] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-08-03 Thread Anand Moon
Hi Krzysztof, On 3 August 2015 at 18:07, Krzysztof Kozlowski wrote: > On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1 > register must be manually set to 0 before initiating power off sequence. > > One of usual power down methods for Exynos based devices looks like: > 1. PWRHOLD p

Re: [Ksummit-discuss] Kernel Summit 2015: Call for Proposals

2015-08-03 Thread Josh Boyer
On Mon, Aug 3, 2015 at 2:44 PM, Theodore Ts'o wrote: > The Kernel Summit call for proposals/topics was sent out a month ago: > > http://lists.linuxfoundation.org/pipermail/ksummit-discuss/2015-July/001242.html > > In that call, I asked that people send nominations (including self > nominations) an

Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Sergei Shtylyov
On 08/03/2015 09:46 PM, Tomer Barletz wrote: The variable spd0 might be used uninitialized when pdc20621_i2c_read() fails. This also generates a compilation warning with gcc 5.1. Signed-off-by: Tomer Barletz --- drivers/ata/sata_sx4.c | 16 1 file changed, 12 insertions(+

Re: Nokia N900 - audio TPA6130A2 problems

2015-08-03 Thread Pali Rohár
On Monday 03 August 2015 20:48:28 Jarkko Nikula wrote: > On 08/03/2015 09:17 PM, Pali Rohár wrote: > > On Monday 03 August 2015 20:03:16 Jarkko Nikula wrote: > >> Hi > >> > >> On 08/01/2015 01:18 PM, Pali Rohár wrote: > >>> On Saturday 25 July 2015 15:17:13 Lars-Peter Clausen wrote: > >>> Hello, y

Re: [PATCH 11/18] perf script: Switch from perf.data's kallsyms to perf's symbol resolver

2015-08-03 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 03, 2015 at 07:41:13PM +0200, Jiri Olsa escreveu: > Missing separate debuginfos, use: dnf debuginfo-install > glibc-2.21-7.fc22.x86_64 > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > Detaching after fork fr

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread santosh.shilim...@oracle.com
On 8/3/15 11:50 AM, Murali Karicheri wrote: On 08/03/2015 02:30 PM, santosh.shilim...@oracle.com wrote: On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss an

Re: [PATCH 2/2] x86/ldt: allow to disable modify_ldt at runtime

2015-08-03 Thread Willy Tarreau
On Mon, Aug 03, 2015 at 11:45:24AM -0700, Andy Lutomirski wrote: > I'm not entirely convinced that the lock bit should work this way. At > some point, we might want a setting for "32-bit only" or even "32-bit, > present, not non-conforming only" (like we do unconditionally for > set_thread_area).

Re: [PATCH 3.14 000/125] 3.14.49-stable review

2015-08-03 Thread Shuah Khan
On 08/03/2015 10:17 AM, Greg Kroah-Hartman wrote: > On Sat, Aug 01, 2015 at 12:42:02PM +0530, Sudip Mukherjee wrote: >> On Sat, Aug 01, 2015 at 12:39:25PM +0530, Sudip Mukherjee wrote: >>> On Fri, Jul 31, 2015 at 12:40:00PM -0700, Greg Kroah-Hartman wrote: This is the start of the stable revie

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-08-03 Thread Steven Rostedt
On Wed, 29 Jul 2015 10:49:06 +0200 Peter Zijlstra wrote: > On Wed, Jul 29, 2015 at 09:19:22AM +0200, Vlastimil Babka wrote: > > > How would one define a static key that's e.g. expected to be mostly false, > > but > > with initial value of true, e.g. during boot? > > DEFINE_STATIC_KEY_TRUE(blah

Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Tomer Barletz
I see how it makes sense to add a tab to align with the previous line of code, as it will always look similar in all editors, no matter how their tab character is set up to be. However, adding more tabs will just mess up editors that are not set up with 8-space width tabs. Is this a bug in checkpa

Re: [PATCH 2/2] x86/ldt: allow to disable modify_ldt at runtime

2015-08-03 Thread Andy Lutomirski
On Mon, Aug 3, 2015 at 12:01 PM, Willy Tarreau wrote: > On Mon, Aug 03, 2015 at 11:45:24AM -0700, Andy Lutomirski wrote: >> I'm not entirely convinced that the lock bit should work this way. At >> some point, we might want a setting for "32-bit only" or even "32-bit, >> present, not non-conformin

Re: [PATCH 08/10] posix-cpu-timers: Migrate to use new tick dependency mask model

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 07:39:37PM +0200, Frederic Weisbecker wrote: > On Mon, Aug 03, 2015 at 07:12:43PM +0200, Peter Zijlstra wrote: > > On Fri, Jul 31, 2015 at 04:49:55PM +0200, Frederic Weisbecker wrote: > > > Instead of doing a per signal dependency, I'm going to use a per task > > > one. > >

Re: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-03 Thread Davidlohr Bueso
On Mon, 2015-08-03 at 20:37 +0200, Peter Zijlstra wrote: > OK, so there's no 'fix'? The patch claims we can loose a wakeup and I > just don't see how that is true. Taking another look, I think you could hit something like this: CPU0 (lock):CPU1 (unlock): pv_w

Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Joe Perches
On Mon, 2015-08-03 at 12:04 -0700, Tomer Barletz wrote: > I see how it makes sense to add a tab to align with the previous line > of code, as it will always look similar in all editors, no matter how > their tab character is set up to be. > However, adding more tabs will just mess up editors that a

Re: [PATCH 06/27] misc: eeprom: Export I2C module alias information in missing drivers

2015-08-03 Thread Javier Martinez Canillas
Hello Jean, On 08/03/2015 06:50 PM, Jean Delvare wrote: > Le Monday 03 August 2015 à 16:07 +0200, Javier Martinez Canillas a > écrit : >> Hello Jean, >> >> On 08/03/2015 01:05 PM, Jean Delvare wrote: >>> Hi Javier, >>> >>> On Thu, 30 Jul 2015 18:18:31 +0200, Javier Martinez Canillas wrote: Th

[PATCH] usb: ehci-platform: Fix using multiple controllers from OF

2015-08-03 Thread Alban Bedel
When using OF defined controllers the platform data struct is shared between all devices, so it can't be used for device specific settings. However it is currently used for the OF properties needs-reset-on-resume and has-transaction-translator. To fix this issue move setting hcd->has_tt to the pro

Re: [PATCH] ARM/PCI: set MPS before pci_bus_add_devices()

2015-08-03 Thread Russell King - ARM Linux
On Tue, Jul 21, 2015 at 05:35:19PM -0400, Murali Karicheri wrote: > The MPS configuration should be done *before* pci_bus_add_devices(). > After pci_bus_add_devices(), drivers may be bound to devices, and > the PCI core shouldn't touch device configuration while a driver > owns the device. > > Sig

[PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Tomer Barletz
The variable spd0 might be used uninitialized when pdc20621_i2c_read() fails. This also generates a compilation warning with gcc 5.1. Signed-off-by: Tomer Barletz --- drivers/ata/sata_sx4.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/ata/sata_sx4

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 03:03:59PM -0400, Steven Rostedt wrote: > I wonder if static_branch_set_false(&blah) would be a better name to > understand. What does "disable" / "enable" mean? "make false" / "make true" ? Check a local dictionary. http://lmgtfy.com/?q=enable "2. computing: make (a dev

Re: [PATCH] pinctrl/mediatek: fix spelling mistake in dev_err error message

2015-08-03 Thread Hongzhou Yang
On Mon, 2015-08-03 at 00:10 +0100, Colin King wrote: > From: Colin Ian King > > Trivial change, fix spelling mistake 'invaild' -> 'invalid' in > dev_err message. > > Signed-off-by: Colin Ian King > --- > drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH 2/2] x86/ldt: allow to disable modify_ldt at runtime

2015-08-03 Thread Willy Tarreau
On Mon, Aug 03, 2015 at 12:06:12PM -0700, Andy Lutomirski wrote: > On Mon, Aug 3, 2015 at 12:01 PM, Willy Tarreau wrote: (...) > > I feel like it's probably part of a larger project then. Do you think > > we should step back and only support 0/1 for now ? I also have the > > patch available. > >

Re: [PATCH] sata_sx4: Check return code from pdc20621_i2c_read()

2015-08-03 Thread Sergei Shtylyov
On 08/03/2015 10:04 PM, Tomer Barletz wrote: Please don't top-post. I see how it makes sense to add a tab to align with the previous line of code, as it will always look similar in all editors, no matter how their tab character is set up to be. However, adding more tabs will just mess up edi

RE: [PATCH 4/4] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-08-03 Thread Jake Oshins
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Sunday, August 2, 2015 1:47 AM > To: Jake Oshins > Cc: gre...@linuxfoundation.org; KY Srinivasan ; LKML > ; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; linux- > p..

You have been approved by Kushi Aole-UK the sum of 850000.00 GBP

2015-08-03 Thread dice . ardila
You have been approved by Kushi Aole-UK the sum of 85.00 GBP with draw number: 22330KHO577345 and Serial number 675345. Reply for more details Contact us via claimsdpt2...@outlook.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord

Re: [PATCH] usb: ehci-platform: Fix using multiple controllers from OF

2015-08-03 Thread Sergei Shtylyov
On 08/03/2015 10:12 PM, Alban Bedel wrote: When using OF defined controllers the platform data struct is shared between all devices, so it can't be used for device specific settings. However it is currently used for the OF properties needs-reset-on-resume and has-transaction-translator. To fi

[PATCH 2/2] arm64: Enable Marvell Berlin SoC family in defconfig

2015-08-03 Thread Sebastian Hesselbarth
From: Jisheng Zhang Enable Marvell Berlin SoC family in arm64 defconfig. Signed-off-by: Jisheng Zhang Signed-off-by: Sebastian Hesselbarth --- Also discussed with Olof on IRC, this is the defconfig changes singled out from Jisheng's original patch. Sebastian --- arch/arm64/configs/defconfig

[PATCH 1/2] arm64: Enable Marvell Berlin SoC family in Kconfig

2015-08-03 Thread Sebastian Hesselbarth
From: Jisheng Zhang This patch introduces ARCH_BERLIN to enable Marvell Berlin SoC family in Kconfig. Signed-off-by: Jisheng Zhang Signed-off-by: Sebastian Hesselbarth --- As discussed with Olof on IRC, this is Jisheng's Kconfig patch for ARM64 Berlin. Olof agreed to rework this to finally lan

[GIT PULL] ARM: berlin: Initial Marvell Berlin ARM64 support

2015-08-03 Thread Sebastian Hesselbarth
Hi Arnd, Kevin, Olof, this is initial Marvell Berlin4CT ARM64 support for v4.3. It contains minimum SoC dtsi and basic dts for the development board. The patches have been posted by Marvell's Jisheng Zhang a while ago on the lists. Please pull. The following changes since commit d770e558e21961a

[RT] oops in 4.1.3-rt3

2015-08-03 Thread Clark Williams
Sebastian, Below is a traceback I hit while running 4.1.3-rt3 on my Lenovo T530. I was doing my normal, play music, copy files over the lan, do compiles, do email, etc., so I I can't really point you at a reproducer. The graphics system stayed up somewhat but the actual trace I hit scrolled off.

Re: [Ksummit-discuss] Kernel Summit 2015: Call for Proposals

2015-08-03 Thread Josh Poimboeuf
On Mon, Aug 03, 2015 at 02:52:58PM -0400, Josh Boyer wrote: > On Mon, Aug 3, 2015 at 2:44 PM, Theodore Ts'o wrote: > > The Kernel Summit call for proposals/topics was sent out a month ago: > > > > http://lists.linuxfoundation.org/pipermail/ksummit-discuss/2015-July/001242.html > > > > In that call

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-08-03 Thread Steven Rostedt
On Mon, 3 Aug 2015 21:18:16 +0200 Peter Zijlstra wrote: > On Mon, Aug 03, 2015 at 03:03:59PM -0400, Steven Rostedt wrote: > > > I wonder if static_branch_set_false(&blah) would be a better name to > > understand. What does "disable" / "enable" mean? > > "make false" / "make true" ? Check a loca

Re: [PATCH 11/18] perf script: Switch from perf.data's kallsyms to perf's symbol resolver

2015-08-03 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 03, 2015 at 04:00:09PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Aug 03, 2015 at 07:41:13PM +0200, Jiri Olsa escreveu: > > Missing separate debuginfos, use: dnf debuginfo-install > > glibc-2.21-7.fc22.x86_64 > > [Thread debugging using libthread_db enabled] > > Us

Re: [PATCH] thermal/cpu_cooling: remove local cooling state variable

2015-08-03 Thread Radivoje Jovanovic
On Mon, 3 Aug 2015 08:43:25 +0530 Viresh Kumar wrote: > On 01-08-15, 17:04, Viresh Kumar wrote: > > On 31-07-15, 08:30, Radivoje Jovanovic wrote: > > > > I agree with you that this patch is trivial for the current > > > implementation since the notifier, as it is currently, will > > > enforce cp

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-03 Thread Peter Hurley
On 08/03/2015 12:54 PM, Sebastian Andrzej Siewior wrote: > On 08/03/2015 06:34 PM, Peter Hurley wrote: >> Hi Sebastian, > > Hi Peter, > >>> struct old_serial_port { >>> diff --git a/drivers/tty/serial/8250/8250_omap.c >>> b/drivers/tty/serial/8250/8250_omap.c >>> index d9a37191a1ae..12249125a21

Re: [RFC PATCH 2/2] mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions

2015-08-03 Thread Richard Weinberger
Am 03.08.2015 um 15:39 schrieb Andrea Scian: >>> I think I can find some time to do some performance tests on real hardware. >>> Can you please help me in finding: >>> - which benchmark to use (currently I'm using bonnie++ on UBIFS, maybe I >>> can you just mtd_speedtest) >>> - where to implement t

Re: [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-03 Thread Andy Gross
On Mon, Aug 03, 2015 at 10:38:18AM +0530, Archit Taneja wrote: > Enable the NAND controller node on the AP148 platform. Provide pinmux > information. > > Cc: devicet...@vger.kernel.org > > Signed-off-by: Archit Taneja > --- > arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 36 >

Re: [PATCH] usb: ehci-platform: Fix using multiple controllers from OF

2015-08-03 Thread Alan Stern
On Mon, 3 Aug 2015, Alban Bedel wrote: > When using OF defined controllers the platform data struct is shared > between all devices, so it can't be used for device specific settings. > However it is currently used for the OF properties > needs-reset-on-resume and has-transaction-translator. > > T

Re: [PATCH] [4.2 fix] x86, mpx: do not set ->vm_ops on mpx VMAs

2015-08-03 Thread Kirill A. Shutemov
On Mon, Aug 03, 2015 at 09:19:14AM -0700, Greg KH wrote: > On Mon, Aug 03, 2015 at 01:34:28PM +0300, Kirill A. Shutemov wrote: > > Greg KH wrote: > > > On Mon, Jul 20, 2015 at 02:29:58PM -0700, Dave Hansen wrote: > > > > > > > > (sorry for the spam, I screwed up the stable@ address). > > > > > >

RE: [PATCH 4/4] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-08-03 Thread Thomas Gleixner
On Mon, 3 Aug 2015, Jake Oshins wrote: > I do have a question about your last point, though. If I build this > into the kernel, it will need to depend on sending and receiving > messages through the hv_vmbus driver, which isn't built in. It Fair enough. I missed that detail. > seemed like the

Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-03 Thread Alexei Starovoitov
On 7/31/15 3:18 AM, Wangnan (F) wrote: However with the newest llvm + clang the DWARF info is still incorrect: $ objdump --dwarf=info ./out.o ... <1><3f>: Abbrev Number: 3 (DW_TAG_structure_type) <40> DW_AT_name: (indirect string, offset: 0x0): clang version 3.8.0 (http://

Re: [PATCH] trace-cmd: annotate function durations like the kernel

2015-08-03 Thread Steven Rostedt
On Wed, 29 Jul 2015 10:20:15 -0700 Omar Sandoval wrote: > On Mon, Jul 13, 2015 at 02:43:19PM -0400, Steven Rostedt wrote: > > On Wed, 24 Jun 2015 11:36:54 -0700 > > Omar Sandoval wrote: > > > > > Since kernel commit, 8e1e1df29d83 ("tracing: Add additional marks to > > > signal very large time d

Re: [PATCH] drm/amdgpu: increment queue when iterating on this variable.

2015-08-03 Thread Alex Deucher
On Sat, Aug 1, 2015 at 9:55 AM, Nicolas Iooss wrote: > gfx_v7_0_print_status contains a for loop on variable queue which does > not update this variable between each iteration. This is bug is > reported by clang while building allmodconfig LLVMLinux on x86_64: > > drivers/gpu/drm/amd/amdgpu/g

Re: perf eBPF patch ordering. was: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-08-03 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 03, 2015 at 01:11:16PM -0300, Arnaldo Carvalho de Melo escreveu: > > > ERROR:unable to compile ./foo.c > > > Hint:Check error message shown above. > > > LLVM 3.7 or newer is required. Which can be found from > > > http://llvm.org > > > You may want to try git

[PATCH V2] checkpatch: Emit an error on formats with 0x%

2015-08-03 Thread Joe Perches
Using 0x%d is wrong. Emit a message when it happens. Miscellanea: improve the %Lu warning to match formats like %16Lu Signed-off-by: Joe Perches --- Resend with better email client scripts/checkpatch.pl | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/check

Re: [PATCH v4 1/7] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 12:09:42PM -0700, Davidlohr Bueso wrote: > On Mon, 2015-08-03 at 20:37 +0200, Peter Zijlstra wrote: > > OK, so there's no 'fix'? The patch claims we can loose a wakeup and I > > just don't see how that is true. > > Taking another look, I think you could hit something like t

Re: [PATCH v1 1/2] clk: rockchip: add pclk_pd_pmu to the list of rk3288 critical clocks

2015-08-03 Thread Doug Anderson
hl, On Sun, Aug 2, 2015 at 8:56 PM, huang lin wrote: > pclk_pd_pmu needs to keep running and with the upcoming gpio clock > handling this is not always the case anymore. So add it to the list > of critical clocks for now. > > Signed-off-by: Heiko Stuebner > > Signed-off-by: huang lin > --- > d

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 03:28:10PM -0400, Steven Rostedt wrote: > Technically, one can think: "activate the branch", but we are > activating not the branch, but the jump label itself. No you are enabling the branch, you're making the branch body active. There is no enable/disable/true/false for t

[PATCH] clk: pxa: pxa3xx: fix CKEN register access

2015-08-03 Thread Robert Jarzmik
Clocks 0 to 31 are on CKENA, and not CKENB. The clock register names were inadequately inverted. As a consequence, all clock operations were happening on CKENB, because almost all but 2 clocks are on CKENA. As the clocks were activated by the bootloader in the former tests, it escaped the testing

Re: [PATCH] i2c: allow specifying separate wakeup interrupt in device tree

2015-08-03 Thread Dmitry Torokhov
Hi Tony, On Mon, Aug 03, 2015 at 03:21:21AM -0700, Tony Lindgren wrote: > * Vignesh R [150731 04:00]: > > On 07/31/2015 01:44 AM, Dmitry Torokhov wrote: > > > Instead of having each i2c driver individually parse device tree data in > > > case it or platform supports separate wakeup interrupt, and

Re: [PATCH tip/core/rcu 19/19] rcu: Add fastpath bypassing funnel locking

2015-08-03 Thread Steven Rostedt
On Thu, 30 Jul 2015 17:40:01 +0200 Peter Zijlstra wrote: > On Thu, Jul 30, 2015 at 08:34:52AM -0700, Paul E. McKenney wrote: > > > If the extra read before the cmpxchg() does not hurt, we should do the > > > same for mutex and make the above redundant. > > > > I am pretty sure that different har

Re: [PATCH tip/core/rcu 19/19] rcu: Add fastpath bypassing funnel locking

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 04:05:33PM -0400, Steven Rostedt wrote: > On Thu, 30 Jul 2015 17:40:01 +0200 > Peter Zijlstra wrote: > > > On Thu, Jul 30, 2015 at 08:34:52AM -0700, Paul E. McKenney wrote: > > > > If the extra read before the cmpxchg() does not hurt, we should do the > > > > same for mute

Re: [PATCH 1/3] clocksource: atmel-st: Remove irq handler when clock event is unused

2015-08-03 Thread Boris Brezillon
On Mon, 3 Aug 2015 16:36:29 +0200 (CEST) Thomas Gleixner wrote: > On Mon, 3 Aug 2015, Boris Brezillon wrote: > > On Sun, 2 Aug 2015 11:40:28 +0200 > > Peter Zijlstra wrote: > > > > > On Sun, Aug 02, 2015 at 11:10:21AM +0200, Thomas Gleixner wrote: > > > > I think Boris Brezillon had implemented

Re: [PATCH 11/18] perf script: Switch from perf.data's kallsyms to perf's symbol resolver

2015-08-03 Thread Jiri Olsa
On Mon, Aug 03, 2015 at 04:27:59PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 03, 2015 at 04:00:09PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Aug 03, 2015 at 07:41:13PM +0200, Jiri Olsa escreveu: > > > Missing separate debuginfos, use: dnf debuginfo-install > > > glibc-2

Re: [PATCH v3] iio: adc: xilinx-xadc: Push interrupts into threaded context

2015-08-03 Thread Xander Huff
On 7/24/2015 7:38 AM, Lars-Peter Clausen wrote: Hi, Sorry, but I don't think this patch has been sufficiently tested against a mainline kernel. The driver wont even probe the way it is right now. Thanks for your responses. I'm not sure why it doesn't probe for you since I was able to do a fair

[PATCH] video: fbdev: pxa3xx_gcu: prepare the clocks

2015-08-03 Thread Robert Jarzmik
The clocks need to be prepared before being enabled. Without it a warning appears in the drivers probe path : WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:707 clk_core_enable+0x84/0xa0() Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-rc3-cm-x300+ #804 Hardware name: CM-X300 module

Re: [PATCH v1 2/2] pinctrl: rockchip: only enable gpio clock when it setting

2015-08-03 Thread Doug Anderson
hl On Sun, Aug 2, 2015 at 8:56 PM, huang lin wrote: > gpio can keep state even the clock disable, for save power > consumption, only enable gpio clock when it setting > > Signed-off-by: Heiko Stuebner > Signed-off-by: huang lin > > Signed-off-by: huang lin Your "Signed-off-by"s are a little w

Re: [PATCH] usb: devio: remove assignment from if condition

2015-08-03 Thread Dan Carpenter
On Mon, Aug 03, 2015 at 01:08:26PM -0400, Kris Borer wrote: > else > + switch (ctl->ioctl_code) { This else statement isn't indented. It looks weird and it will cause static checker warnings (hopefully). Maybe leave that one out and send the rest. Do complicated one in

Re: [PATCH v5] powerpc/rcpm: add RCPM driver

2015-08-03 Thread Scott Wood
On Mon, 2015-08-03 at 19:14 +0800, Chenhui Zhao wrote: > On Sat, Aug 1, 2015 at 8:45 AM, Scott Wood > wrote: > > On Fri, 2015-06-26 at 15:44 +0800, Yuantian.Tang@freescale.comwrote: > > > +static void rcpm_v1_set_ip_power(bool enable, u32 *mask) > > > +{ > > > + if (enable) > > > +

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-03 Thread Scott Wood
On Mon, 2015-08-03 at 19:32 +0800, Chenhui Zhao wrote: > > > On Sat, Aug 1, 2015 at 7:59 AM, Scott Wood > wrote: > > > > Could you explain irq_mask()? Why would there still be IRQs destined > > for > > this CPU at this point? > > This function just masks irq by setting the registers in RCPM

Re: [PATCHv3 0/6] Staging: most: several warnings fix reported by sparse

2015-08-03 Thread AdrianRemonda
On Mon, Aug 03, 2015 at 11:30:18AM +0300, Dan Carpenter wrote: > The subjects still are not unique. Greg said this earlier. > > If you want just do it in two patches. > > [patch 1] add static > [patch 2] use NULL instead of zero > > regards, > dan carpenter > Yes, sorry. I totally messed it u

Re: [linux-sunxi] [PATCH] Input: axp20x-pek: Add module alias

2015-08-03 Thread Dmitry Torokhov
On Mon, Aug 03, 2015 at 09:56:09AM +0200, Carlo Caione wrote: > On Mon, Aug 3, 2015 at 9:48 AM, Chen-Yu Tsai wrote: > > Add a proper module alias so the driver can be autoloaded when the > > parent axp20x mfd driver registers its cells. > > > > Signed-off-by: Chen-Yu Tsai > > Acked-by: Carlo Cai

  1   2   3   4   5   6   7   8   9   >