Re: [fuse-devel] [PATCH 0/5] fuse: close file synchronously (v2)

2014-06-09 Thread Maxim Patlasov
On 06/09/2014 03:11 PM, John Muir wrote: On 2014.06.09, at 12:46 , Maxim Patlasov wrote: On 06/09/2014 01:26 PM, John Muir wrote: On 2014.06.09, at 9:50 , Maxim Patlasov wrote: On 06/06/2014 05:51 PM, John Muir wrote: On 2014.06.06, at 15:27 , Maxim Patlasov wrote: The patch-set resolv

Re: [PATCH V5 REPOST] mfd: add support for ams AS3722 PMIC

2014-06-09 Thread Linus Walleij
On Fri, Jun 6, 2014 at 5:28 PM, Lee Jones wrote: >> + as3722->en_intern_int_pullup = of_property_read_bool(np, >> + "ams,enable-internal-int-pullup"); >> + as3722->en_intern_i2c_pullup = of_property_read_bool(np, >> +

Re: [PATCH 1/5] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-09 Thread Mark Brown
On Mon, Jun 09, 2014 at 12:22:41PM +0200, Krzysztof Kozlowski wrote: > On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote: > > +static const struct max77802_irq_data max77802_irqs[] = { > > + DECLARE_IRQ(MAX77802_PMICIRQ_PWRONF,PMIC_INT1, 1 << 0), > > + DECLARE_IRQ(MAX77802_

Re: [PATCH] mm/vmscan: Do not block forever at shrink_inactive_list().

2014-06-09 Thread Tetsuo Handa
Tetsuo Handa wrote: > We need some more changes. I'm thinking memory allocation watchdog thread. > Add an "unsigned long" field to "struct task_struct", set jiffies to the field > upon entry of GFP_WAIT-able memory allocation attempts, and clear the field > upon returning from GFP_WAIT-able memory

[PATCH 1/1] kernel/trace/ftrace.c: replace kmalloc/snprintf by kasprintf

2014-06-09 Thread Fabian Frederick
Cc: Steven Rostedt Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/trace/ftrace.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 4a54a25..92a3316 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftra

Re: [RFC PATCH v4 3/4] ima: define '.ima' as a builtin 'trusted' keyring

2014-06-09 Thread Dmitry Kasatkin
On 09/06/14 14:06, Mimi Zohar wrote: > On Fri, 2014-05-30 at 19:05 +0300, Dmitry Kasatkin wrote: >> On 28 May 2014 22:26, Mimi Zohar wrote: >>> On Wed, 2014-05-28 at 21:55 +0300, Dmitry Kasatkin wrote: On 28 May 2014 18:09, Mimi Zohar wrote: > Require all keys added to the IMA keyring be

Re: [PATCH v2] leds: USB: Add support for MSI GT683R led panels

2014-06-09 Thread Johan Hovold
On Sat, Jun 07, 2014 at 01:12:39PM +0300, Janne Kanniainen wrote: > > First of all, please reply to the original thread and make sure to not > > drop people or lists from CC. > > Sorry this is my first patch and i didn't know that. Now I know. > > > For arrays you can use the ARRAY_SIZE() macro i

Re: [Question] Why CONFIG_SHELL

2014-06-09 Thread Sam Ravnborg
On Mon, Jun 09, 2014 at 07:25:48PM +0900, Masahiro Yamada wrote: > Hi Sam, > > > On Mon, 9 Jun 2014 09:49:35 +0200 > Sam Ravnborg wrote: > > > On Mon, Jun 09, 2014 at 02:04:12PM +0900, Masahiro Yamada wrote: > > > Hi experts. > > > > > > I think all the macros with CONFIG_ prefix are supposed

Re: [PATCH kvm-unit-tests1/2] x86: emulator: additional smsw test-case

2014-06-09 Thread Paolo Bonzini
Il 06/06/2014 01:56, Nadav Amit ha scritto: An additional test case for the emulator was added to test smsw which is trapped by the emulator. The other existing test-cases occur in the guest (at least on VMX), since the values are read directly from the CR0 read shadow. Signed-off-by: Nadav Ami

Re: [RFC PATCH 4/6] mm, compaction: skip buddy pages by their order in the migrate scanner

2014-06-09 Thread Vlastimil Babka
On 06/09/2014 11:09 AM, David Rientjes wrote: On Fri, 6 Jun 2014, Vlastimil Babka wrote: diff --git a/mm/internal.h b/mm/internal.h index 1a8a0d4..6aa1f74 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -164,7 +164,8 @@ isolate_migratepages_range(struct zone *zone, struct compact_control *cc,

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add HSCIF pin support

2014-06-09 Thread Laurent Pinchart
Hi Iwamatsu-san, Thank you for the patch. On Thursday 29 May 2014 09:52:09 Nobuhiro Iwamatsu wrote: A commit message would be nice. You're also missing hscif2_data_d. That could be added later though, so Acked-by: Laurent Pinchart > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/pinctrl/

Re: [PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-09 Thread Srivatsa S. Bhat
On 06/09/2014 04:58 PM, Rafael J. Wysocki wrote: > On Monday, June 09, 2014 03:54:49 PM Srivatsa S. Bhat wrote: >> My @linux.vnet.ibm.com email address is going to disappear soon, as I will be >> beginning my M.S./PhD studies at MIT in a few months. > > Congratulations! > Thanks a lot! :-) >> S

Re: [PATCH 1/9] reset: add the Berlin reset controller driver

2014-06-09 Thread Philipp Zabel
Hi Sebastian, On Mon, Jun 09, 2014 at 12:32:50PM +0200, Sebastian Hesselbarth wrote: > I currently have no way to look it up myself, but is reset API providing > a way to deal with phandle+specifier with more than one parameter? You could provide a custom rcdev->of_xlate callback and encode multi

question

2014-06-09 Thread lilofile
when I compile 3.10.36 kernel,after install,zhe system unable to boot, through serial debug,the system hang at setup_idt(); what the reason? how to debug and resolve ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH Resend] cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_info'

2014-06-09 Thread Rafael J. Wysocki
On Monday, June 09, 2014 02:41:12 PM Srivatsa S. Bhat wrote: > On 06/09/2014 02:21 PM, Viresh Kumar wrote: > > 'copy_prev_load' was recently added by commit: 18b46ab (cpufreq: governor: > > Be > > friendly towards latency-sensitive bursty workloads). > > > > It actually is a bit redundant as we a

Re: [PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-09 Thread Rafael J. Wysocki
On Monday, June 09, 2014 03:54:49 PM Srivatsa S. Bhat wrote: > My @linux.vnet.ibm.com email address is going to disappear soon, as I will be > beginning my M.S./PhD studies at MIT in a few months. Congratulations! > So update my email address in the documentation. > > Signed-off-by: Srivatsa S.

Re: [fuse-devel] [PATCH 0/5] fuse: close file synchronously (v2)

2014-06-09 Thread John Muir
On 2014.06.09, at 12:46 , Maxim Patlasov wrote: > On 06/09/2014 01:26 PM, John Muir wrote: >> On 2014.06.09, at 9:50 , Maxim Patlasov wrote: >> >>> On 06/06/2014 05:51 PM, John Muir wrote: On 2014.06.06, at 15:27 , Maxim Patlasov wrote: > The patch-set resolves the problem by ma

Re: [PATCH] hrtimers: conditionally lock/unlock spinlock in hrtimer_get_next_event

2014-06-09 Thread Stanislav Fomichev
> What's wrong with simply doing: > >if (!hrtimer_hres_active()) > return mindelta; Nothing wrong, just makes diff bigger :-) > That saves and indentation level and makes the code more > readable. Also the lockless check wants a comment why it is correct. Ok, I'll follow w

Re: [PATCH 2/2] Staging: speakup: ERROR: Fix macro parenthesis.

2014-06-09 Thread Choi
I made a stupid mistake, and I'm sorry. https://lkml.org/lkml/2014/6/8/53 2014-06-09 2:58 GMT+09:00 Dan Carpenter : > It looks like this patch is adding blank lines not parenthesis like the > subject says. > > regards, > dan carpenter > > On Sun, Jun 08, 2014 at 11:12:57PM +0900, Choi Gi-yong wrot

Why efi_set_rtc_mmss() is never used?

2014-06-09 Thread Daniel Kiper
Hi, As I can see efi_set_rtc_mmss() is never used to set RTC. Even on EFI platform mach_set_rtc_mmss() is called and does that thing. Why it is done in that way? It is a bug or it was done intentionally. Am I missing something? Daniel -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH] hrtimers: conditionally lock/unlock spinlock in hrtimer_get_next_event

2014-06-09 Thread Thomas Gleixner
On Mon, 9 Jun 2014, Stanislav Fomichev wrote: > In hrtimer_get_next_event we unconditionally lock/unlock spinlock, even if > it's > not required (hrtimer_hres_active() != 0). This patch moves > locking/unlocking and mindelta range check inside the if clause, > so we don't execute unnecessary oper

Re: [RFC PATCH v4 3/4] ima: define '.ima' as a builtin 'trusted' keyring

2014-06-09 Thread Mimi Zohar
On Fri, 2014-05-30 at 19:05 +0300, Dmitry Kasatkin wrote: > On 28 May 2014 22:26, Mimi Zohar wrote: > > On Wed, 2014-05-28 at 21:55 +0300, Dmitry Kasatkin wrote: > >> On 28 May 2014 18:09, Mimi Zohar wrote: > >> > Require all keys added to the IMA keyring be signed by an > >> > existing trusted k

[PATCH] mfd: sec-core: Prepare regulators for suspend state to reduce power-consumption

2014-06-09 Thread Chanwoo Choi
This patch use regulator_suspend_prepare() function to prepare the proper state of regulators for suspend state to remove un-necessary leakage power-consumption. Signed-off-by: Chanwoo Choi --- This patch has a dependency on following patchset[1]. - [1] https://lkml.org/lkml/2014/6/9/255 [PATC

Re: Kernel for olpc-1.75

2014-06-09 Thread Pavel Machek
Hi! > On Sat, Jun 7, 2014 at 11:53 PM, Pavel Machek wrote: > > I broke installation on olpc-1.75, and I guess its time for it to > > start running self-compiled kernel. (It still boots if I hold right > > game key, but I can no longer control backlight. It does not boot at > > all by default.) >

Re: [PATCH] arm64: Add flush_cache_vmap call in __early_set_fixmap

2014-06-09 Thread Catalin Marinas
On Fri, Jun 06, 2014 at 04:09:33PM +0100, Mark Salter wrote: > On Fri, 2014-06-06 at 15:53 +0100, Leif Lindholm wrote: > > On Fri, Jun 06, 2014 at 10:37:29AM -0400, Mark Salter wrote: > > > On Fri, 2014-06-06 at 11:29 +0100, Leif Lindholm wrote: > > > > __early_set_fixmap does not do any synchroniz

Re: 3.15-rc: regression in suspend

2014-06-09 Thread Jiri Kosina
On Mon, 9 Jun 2014, Pavel Machek wrote: > > > Strange. It seems 3.15 with the patch reverted only boots in 30% or so > > > cases... And I've seen resume failure, too, so maybe I was just lucky > > > that it worked for a while. > > > > git bisect really likes 25f397a429dfa43f22c278d0119a60 - you'r

[PATCH v2 2/4] crypto: Update makefile and Kconfig for Security System

2014-06-09 Thread LABBE Corentin
Add necessary changes for configuring and compiling the Security System driver. Signed-off-by: LABBE Corentin --- drivers/crypto/Kconfig | 76 + drivers/crypto/Makefile | 1 + 2 files changed, 77 insertions(+) diff --git a/drivers/crypto/Kconfig

[PATCH v2] crypto: Add Allwinner Security System crypto accelerator

2014-06-09 Thread LABBE Corentin
Hello This is the driver for the Security System included in Allwinner SoC A20. The Security System (SS for short) is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on others Allwinner SoC: - A10s and A31 diagram speak about it with pre

[PATCH v2 3/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS

2014-06-09 Thread LABBE Corentin
The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on many Allwinner SoC. This patch enable the Security System on the Allwinner A20 SoC Device-tree. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun7i-a20.dtsi

[PATCH v2 4/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System

2014-06-09 Thread LABBE Corentin
This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver. Signed-off-by: LABBE Corentin --- Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 + 1 file changed, 9 insertions(+) create mode 100644 Documentation/devicetree/bin

[PATCH v2 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-09 Thread LABBE Corentin
Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin --- drivers/crypto/sunxi-ss/Makefile | 16 ++ drivers/crypto/sunxi-ss/s

Re: [PATCH] cpufreq: governor: remove copy_prev_load from 'struct cpu_dbs_common_info'

2014-06-09 Thread Pavel Machek
On Mon 2014-06-09 10:54:17, Viresh Kumar wrote: > 'copy_prev_load' was recently added by commit: 18b46ab (cpufreq: governor: Be > friendly towards latency-sensitive bursty workloads). > > It actually is a bit redundant as we also have 'prev_load' which can store any > integer value and can be used

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-09 Thread Alexandre Belloni
On 09/06/2014 at 12:11:57 +0200, Sebastian Hesselbarth wrote : > > Some BG2Q boards hardwired the vbus to be always powered on, we should > > continue > > the probe if vbus gpio is missing. > > Yeah, the same applies for regulators. But with the comments above, it > should move to the controller

Re: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-06-09 Thread Thierry Reding
On Sat, Jun 07, 2014 at 03:22:13PM +0200, Arnd Bergmann wrote: > On Saturday 07 June 2014 00:45:45 Thierry Reding wrote: > > This is somewhat off-topic, but given the various concepts discussed in > > this thread I'm beginning to wonder how they will be implemented. > > I think it's good you raise

Re: [PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-09 Thread Srivatsa S. Bhat
On 06/09/2014 04:02 PM, Viresh Kumar wrote: > On 9 June 2014 15:54, Srivatsa S. Bhat > wrote: >> My @linux.vnet.ibm.com email address is going to disappear soon, as I will be >> beginning my M.S./PhD studies at MIT in a few months. So update my email >> address in the documentation. > > Congratu

Re: [fuse-devel] [PATCH 0/5] fuse: close file synchronously (v2)

2014-06-09 Thread Maxim Patlasov
On 06/09/2014 01:26 PM, John Muir wrote: On 2014.06.09, at 9:50 , Maxim Patlasov wrote: On 06/06/2014 05:51 PM, John Muir wrote: On 2014.06.06, at 15:27 , Maxim Patlasov wrote: The patch-set resolves the problem by making fuse_release synchronous: wait for ACK from userspace for FUSE_RELEA

Re: [PATCH 4/4] drm/nouveau: introduce CPU cache flushing macro

2014-06-09 Thread Alexandre Courbot
On Mon, May 19, 2014 at 6:22 PM, Lucas Stach wrote: > Am Montag, den 19.05.2014, 11:02 +0200 schrieb Thierry Reding: >> On Mon, May 19, 2014 at 04:10:58PM +0900, Alexandre Courbot wrote: >> > Some architectures (e.g. ARM) need the CPU buffers to be explicitely >> > flushed for a memory write to ta

Re: [PATCH v6] NVMe: conversion to blk-mq

2014-06-09 Thread Ming Lei
On Mon, Jun 9, 2014 at 3:53 PM, Ming Lei > > After pulling from your tree, the problem still persists. > > I test nvme over qemu, and both linus/next tree can > work well with qemu nvme. One problem I found is that rq->start_time isn't set after you cleared IO_STAT intentionally, then the request

Re: [PATCH 1/9] reset: add the Berlin reset controller driver

2014-06-09 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: > Add a reset controller for Marvell Berlin SoCs which is used by the > USB PHYs drivers (for now). > > Signed-off-by: Antoine Ténart > --- > drivers/reset/Makefile | 1 + > drivers/reset/reset-berlin.c | 113 > ++

Re: [PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-09 Thread Viresh Kumar
On 9 June 2014 15:54, Srivatsa S. Bhat wrote: > My @linux.vnet.ibm.com email address is going to disappear soon, as I will be > beginning my M.S./PhD studies at MIT in a few months. So update my email > address in the documentation. Congratulations once again buddy!! We will surely miss you speci

[PATCH 0/2] regulator: of: Add support for pasing regulator suspend state

2014-06-09 Thread Chanwoo Choi
The regulators would set different state/mode according to the kind of suspend state. So regulation_constraints structure has already regulator suspend state filed. This patch parse regulator suspend state from devicetree file. For example: ldoX_reg: LDOx { regulator-name

Re: [PATCH 5/7] lib/random32.c: Make prandom_u32_max efficient for powers of 2

2014-06-09 Thread Hannes Frederic Sowa
Thanks for your detailed explanation! On Sun, Jun 8, 2014, at 13:48, George Spelvin wrote: > Thank you for your comments! > > > Have you checked assembler output if this helps anything at all? Constant > > propagation in the compiler should be able to figure that out all by > > itself. The only p

[PATCH 1/2] regulator: of: Add support for parsing regulator_state for suspend state

2014-06-09 Thread Chanwoo Choi
The regulation_constraints structure includes specific field to support suspend state for global PMIC STANDBY/HIBERNATE mode. This patch add support for parsing regulator_state for suspend state. Signed-off-by: Chanwoo Choi --- drivers/regulator/of_regulator.c | 61 ++

[PATCH 2/2] dt-bindings: regulator: Add regulator suspend state for PM state

2014-06-09 Thread Chanwoo Choi
This patch add regulator suspend state to constraint in dt file. The regulation_ constraints structure already has regulator suspend state field as following. The regulator suspend state control the state of regulator according to PM (Power Management) state. - struct regulator_state state_disk - s

Re: [BISECTED][REGRESSION] Kernel does not boot on EeePC

2014-06-09 Thread Igor Mammedov
On Sun, 8 Jun 2014 10:02:23 +0100 Sitsofe Wheeler wrote: > Hi, > > The latest kernel (c593e8978722f7f4a12932733cfeed6c0c74fbaa) refuses to > boot on my EeePC - after grub is finished the screen just remains black > and the only thing that does something is pressing the power button. The > proble

Re: [Question] Why CONFIG_SHELL

2014-06-09 Thread Masahiro Yamada
Hi Sam, On Mon, 9 Jun 2014 09:49:35 +0200 Sam Ravnborg wrote: > On Mon, Jun 09, 2014 at 02:04:12PM +0900, Masahiro Yamada wrote: > > Hi experts. > > > > I think all the macros with CONFIG_ prefix are supposed to be > > defined in Kconfig. > > But I've been long wondering why there exists one e

[PATCH] PM / Documentation: Update Srivatsa S. Bhat's email address

2014-06-09 Thread Srivatsa S. Bhat
My @linux.vnet.ibm.com email address is going to disappear soon, as I will be beginning my M.S./PhD studies at MIT in a few months. So update my email address in the documentation. Signed-off-by: Srivatsa S. Bhat Signed-off-by: Srivatsa S. Bhat --- Documentation/power/suspend-and-cpuhotplug.tx

Re: [PATCH] perf record: Fix to honor user freq/interval properly

2014-06-09 Thread Jiri Olsa
On Mon, Jun 09, 2014 at 02:43:37PM +0900, Namhyung Kim wrote: > When configuring event perf checked a wrong condition that user > specified both of freq (-F) and period (-c) or the event has no > default value. This worked because most of events don't have default > value and only tracepoint event

Re: [PATCH 5/7 v6] trace, RAS: Add eMCA trace event interface

2014-06-09 Thread Borislav Petkov
On Sun, Jun 08, 2014 at 09:10:15PM -0400, Chen, Gong wrote: > BTW, any comments from other guys? Boris, Tony? If not, I will send out the > new version tomorrow. Looks ok at a first glance - I'll take a deeper look at your new version with Steve's comments incorporated tomorrow - today's holiday h

Re: 3.15-rc: regression in suspend

2014-06-09 Thread Pavel Machek
On Mon 2014-06-09 11:25:20, Daniel Vetter wrote: > On Sun, Jun 8, 2014 at 1:11 AM, Pavel Machek wrote: > > Strange. It seems 3.15 with the patch reverted only boots in 30% or so > > cases... And I've seen resume failure, too, so maybe I was just lucky > > that it worked for a while. > > git bisec

Re: [PATCH 1/5] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-09 Thread Krzysztof Kozlowski
On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote: > Maxim MAX77802 is a power management chip that contains 10 high > efficiency Buck regulators, 32 Low-dropout (LDO) regulators used > to power up application processors and peripherals, a 2-channel > 32kHz clock outputs, a Real-Tim

[PATCHv4 2/3] regulator: s2mps11: Add support S2MPU02 regulator device

2014-06-09 Thread Chanwoo Choi
This patch add S2MPU02 regulator device to existing S2MPS11 device driver because of little difference between S2MPS1x and S2MPU02. The S2MPU02 regulator device includes LDO[1-28] and BUCK[1-7]. Signed-off-by: Chanwoo Choi [Add missing linear_min_sel of S2MPU02 LDO regulators by Jonghwa Lee] Sign

[PATCHv4 0/3] mfd: sec-core: Add support S2MPU02 PMIC device

2014-06-09 Thread Chanwoo Choi
This patchset add Samsung S2MPU02 PMIC device driver in exiting S2MPS11 PMIC driver because S2MPU02 has a little different between S2MPU02 and S2MPS1x. The S2MPU02 PMIC has LDO[1-28] and BUCK[1-7] regulators. This patchset had a dependency on regulator.git (Mark Brown) because following patchset[1

[PATCHv4 1/3] mfd: sec-core: Add support for S2MPU02 device

2014-06-09 Thread Chanwoo Choi
Add support for Samsung S2MPU02 PMIC device to the MFD sec-core driver. The S2MPU02 device includes PMIC/RTC/Clock devices. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/sec-core.c | 19 + drivers/mfd/sec-irq.c| 88 +++

[PATCHv4 3/3] dt-bindings: mfd: s2mps11: Add support S2MPU02 PMIC

2014-06-09 Thread Chanwoo Choi
This patch add documentation for S2MPU02 PMIC device. S2MPU02 has a little difference from S2MPS11/S2MPS14 PMIC and has LDO[1-28]/Buck[1-7]. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Randy

[PATCHv3] tools: ffs-test: add compatibility code for old kernels

2014-06-09 Thread Michal Nazarewicz
If ffs-test is used with a kernel prior to 3.14, which do not support the new descriptors format, it will fail when trying to write the descriptors. Add a function that converts the new descriptors to the legacy ones and use it to retry writing the descriptors using the legacy format. Also add “-

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-09 Thread Morten Rasmussen
On Sun, Jun 08, 2014 at 07:03:16AM +0100, Henrik Austad wrote: > On Fri, May 23, 2014 at 07:16:29PM +0100, Morten Rasmussen wrote: > > The Energy-aware scheduler implementation is guarded by > > CONFIG_SCHED_ENERGY. > > > > Signed-off-by: Dietmar Eggemann > > Signed-off-by: Morten Rasmussen > >

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-09 Thread Yuyang Du
On Mon, Jun 09, 2014 at 09:59:52AM +0100, Morten Rasmussen wrote: > IMHO, the per-entity load-tracking does a fair job representing the task > compute capacity requirements. Sure it isn't perfect, particularly not > for memory bound tasks, but it is way better than not having any task > history at

Re: [PATCH 0/5] Add Maxim 77802 PMIC support

2014-06-09 Thread Krzysztof Kozlowski
On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote: > MAX77802 is a PMIC that contains 10 high efficiency Buck regulators, > 32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs, > a Real-Time-Clock (RTC) and a I2C interface to program the individual > regulators, clocks

Re: [PATCH 0/9] ARM: Berlin: USB support

2014-06-09 Thread Sebastian Hesselbarth
On 06/09/2014 06:30 AM, Peter Chen wrote: > On Thu, Jun 05, 2014 at 05:48:37PM +0200, Antoine Ténart wrote: >> This series adds the support for the Marvell Berlin USB controllers, >> the USB PHYs and also adds a reset controller. >> >> The reset controller is used by the USB PHY driver and shares t

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-09 Thread Sebastian Hesselbarth
On 06/09/2014 10:26 AM, Jisheng Zhang wrote: > Dear Sebastian and Antoine, > > On Fri, 6 Jun 2014 03:54:06 -0700 > Sebastian Hesselbarth wrote: > >>> + >>> +#define to_berlin_phy_priv(p) container_of((p), struct >>> berlin_phy_priv, phy) + >>> +struct berlin_phy_priv { >>> + void __iomem

Re: [PATCH] mm/mempolicy: fix sleeping function called from invalid context

2014-06-09 Thread Gu Zheng
Hi David, On 06/09/2014 05:13 PM, David Rientjes wrote: > On Mon, 9 Jun 2014, Gu Zheng wrote: > >>> I think your patch addresses the problem that you're reporting but misses >>> the larger problem with cpuset.mems rebinding on fork(). When the >>> forker's task_struct is duplicated (which inc

Re: Kernel for olpc-1.75

2014-06-09 Thread Daniel Drake
Hi Pavel, On Sat, Jun 7, 2014 at 11:53 PM, Pavel Machek wrote: > I broke installation on olpc-1.75, and I guess its time for it to > start running self-compiled kernel. (It still boots if I hold right > game key, but I can no longer control backlight. It does not boot at > all by default.) > > AF

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-09 Thread Felipe Contreras
Michal Hocko wrote: > On Fri 06-06-14 18:11:14, Felipe Contreras wrote: > > On Fri, Jun 6, 2014 at 5:33 AM, Felipe Contreras > > wrote: > > > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > > > > > >> Mel has a nice systemtap script (attached) to watch for stalls. Maybe > > >> you can give

Re: [PATCH] Staging: comedi: check the return value of kobject_set_name

2014-06-09 Thread Ian Abbott
On 2014-06-07 14:56, Anton Protopopov wrote: Added a check of the return value of the kobject_set_name function. Signed-off-by: Anton Protopopov --- drivers/staging/comedi/comedi_fops.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) Reviewed-by: Ian Abbott -- -=( Ian Abbot

[GIT PULL] UBIFS changes for 3.16

2014-06-09 Thread Artem Bityutskiy
Hi Linus, the following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c: Linux 3.15-rc5 (2014-05-09 13:10:52 -0700) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-3.16-rc1 for you to fetch changes up to 380347e9ca76828ee9bac63cfc

[PATCH 3.12 141/146] media: V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space

2014-06-09 Thread Jiri Slaby
From: Guennadi Liakhovetski 3.12-stable review patch. If anyone has any objections, please let me know. === commit cfece5857ca51d1dcdb157017aba226f594e9dcf upstream. Commit 75e2bdad8901a0b599e01a96229be922eef1e488 "ov7670: allow configuration of image size, clock speed, and I/O me

[PATCH 3.12 017/146] clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30ccf03b4a6a2102a2219058bdc6d779dc637dd7 upstream. The starting cpu is not yet in the online mask so irq_set_affinity() fails which results in per cpu timers for this cpu e

[PATCH 3.12 130/146] i2c: rcar: bail out on zero length transfers

2014-06-09 Thread Jiri Slaby
From: Wolfram Sang 3.12-stable review patch. If anyone has any objections, please let me know. === commit d7653964c590ba846aa11a8f6edf409773cbc492 upstream. This hardware does not support zero length transfers. Instead, the driver does one (random) byte transfers currently with un

[PATCH 3.12 137/146] spi: core: Ignore unsupported Dual/Quad Transfer Mode bits

2014-06-09 Thread Jiri Slaby
From: Geert Uytterhoeven 3.12-stable review patch. If anyone has any objections, please let me know. === commit 83596fbeb5d28e8cb8878786133945d4dc7c0090 upstream. The availability of SPI Dual or Quad Transfer Mode as indicated by the "spi-tx-bus-width" and "spi-rx-bus-width" prope

[PATCH 3.12 002/146] oom_kill: change oom_kill.c to use for_each_thread()

2014-06-09 Thread Jiri Slaby
From: Oleg Nesterov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1da4db0cd5c8a31d4468ec906b413e75e604b465 upstream. Change oom_kill.c to use for_each_thread() rather than the racy while_each_thread() which can loop forever if we race with

[PATCH 3.12 131/146] i2c: designware: Mask all interrupts during i2c controller enable

2014-06-09 Thread Jiri Slaby
From: "Du, Wenkai" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 47bb27e78867997040a228328f2a631c3c7f2c82 upstream. There have been "i2c_designware 80860F41:00: controller timed out" errors on a number of Baytrail platforms. The issue is ca

[PATCH 3.12 143/146] futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1)

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit e9c243a5a6de0be8e584c604d353412584b592f8 upstream. If uaddr == uaddr2, then we have broken the rule of only requeueing from a non-pi futex to a pi futex with this call. If

[PATCH 3.12 136/146] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-09 Thread Jiri Slaby
From: "Srivatsa S. Bhat" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 011e4b02f1da156ac7fea28a9da878f3c23af739 upstream. If we try to perform a kexec when the machine is in ST (Single-Threaded) mode (ppc64_cpu --smt=off), the kexec operati

[PATCH 3.12 140/146] media: fc2580: fix tuning failure on 32-bit arch

2014-06-09 Thread Jiri Slaby
From: Antti Palosaari 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8845cc6415ec28ef8d57b3fb81c75ef9bce69c5f upstream. There was some frequency calculation overflows which caused tuning failure on 32-bit architecture. Use 64-bit numbers whe

[PATCH 3.12 089/146] autofs: fix lockref lookup

2014-06-09 Thread Jiri Slaby
From: Ian Kent 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6b6751f7feba68d8f5c72b72cc69a1c5a625529c upstream. autofs needs to be able to see private data dentry flags for its dentrys that are being created but not yet hashed and for its d

[PATCH 1/5] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-09 Thread Javier Martinez Canillas
Maxim MAX77802 is a power management chip that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators used to power up application processors and peripherals, a 2-channel 32kHz clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program the individual regulators, clo

[PATCH 3/5] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-09 Thread Javier Martinez Canillas
The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas --- .../devicetree/bindings/clock/maxim,max77802.txt | 40 drivers/clk/Kconfig| 6 + dr

[PATCH 01/10] mm, compaction: do not recheck suitable_migration_target under lock

2014-06-09 Thread Vlastimil Babka
isolate_freepages_block() rechecks if the pageblock is suitable to be a target for migration after it has taken the zone->lock. However, the check has been optimized to occur only once per pageblock, and compact_checklock_irqsave() might be dropping and reacquiring lock, which means somebody else m

[PATCH 4/5] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock

2014-06-09 Thread Javier Martinez Canillas
The MAX7802 PMIC has a Real-Time-Clock (RTC) with two alarms. This patch adds support for the RTC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas --- drivers/mfd/max77802.c | 3 + drivers/rtc/Kconfig| 10 + dr

[PATCH 5/5] ARM: dts: Add max77802 device node for exynos5420-peach-pit

2014-06-09 Thread Javier Martinez Canillas
Peach pit board uses a Maxim 77802 Power Management IC to drive regulators and its Real Time Clock. This patch adds support for this chip. These are the device nodes and pinctrl configuration that is present on the Peach pit DeviceTree source file in the the Chrome OS kernel 3.8 tree. Signed-off-

[PATCH 0/5] Add Maxim 77802 PMIC support

2014-06-09 Thread Javier Martinez Canillas
MAX77802 is a PMIC that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program the individual regulators, clocks and the RTC. This series are based on drivers added by Simon Glass to the

[PATCH 2/5] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-09 Thread Javier Martinez Canillas
The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these regulators found on the MAX77802 PMIC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas --- drivers/regul

[RFC PATCH 10/10] mm, compaction: do not migrate pages when that cannot satisfy page fault allocation

2014-06-09 Thread Vlastimil Babka
In direct compaction for a page fault, we want to allocate the high-order page as soon as possible, so migrating from a cc->order aligned block of pages that contains also unmigratable pages just adds to page fault latency. This patch therefore makes the migration scanner skip to the next cc->orde

[PATCH 3.12 133/146] crypto: caam - add allocation failure handling in SPRINTFCAT macro

2014-06-09 Thread Jiri Slaby
From: Horia Geanta 3.12-stable review patch. If anyone has any objections, please let me know. === commit 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 upstream. GFP_ATOMIC memory allocation could fail. In this case, avoid NULL pointer dereference and notify user. Cc: Kim Phillips Si

[PATCH 08/10] mm, compaction: pass gfp mask to compact_control

2014-06-09 Thread Vlastimil Babka
From: David Rientjes struct compact_control currently converts the gfp mask to a migratetype, but we need the entire gfp mask in a follow-up patch. Pass the entire gfp mask as part of struct compact_control. Signed-off-by: David Rientjes Signed-off-by: Vlastimil Babka Cc: Minchan Kim Cc: Mel

[PATCH 3.12 019/146] pata_at91: fix ata_host_activate() failure handling

2014-06-09 Thread Jiri Slaby
From: Bartlomiej Zolnierkiewicz 3.12-stable review patch. If anyone has any objections, please let me know. === commit 27aa64b9d1bd0d23fd692c91763a48309b694311 upstream. Add missing clk_put() call to ata_host_activate() failure path. Sergei says, "Hm, I have once fixed that (s

Re: [fuse-devel] [PATCH 0/5] fuse: close file synchronously (v2)

2014-06-09 Thread John Muir
On 2014.06.09, at 9:50 , Maxim Patlasov wrote: > On 06/06/2014 05:51 PM, John Muir wrote: >> On 2014.06.06, at 15:27 , Maxim Patlasov wrote: >> >>> The patch-set resolves the problem by making fuse_release synchronous: >>> wait for ACK from userspace for FUSE_RELEASE if the feature is ON. >> Wh

[RFC PATCH 09/10] mm, compaction: try to capture the just-created high-order freepage

2014-06-09 Thread Vlastimil Babka
Compaction uses watermark checking to determine if it succeeded in creating a high-order free page. My testing has shown that this is quite racy and it can happen that watermark checking in compaction succeeds, and moments later the watermark checking in page allocation fails, even though the numbe

[PATCH 03/10] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-06-09 Thread Vlastimil Babka
Compaction scanners regularly check for lock contention and need_resched() through the compact_checklock_irqsave() function. However, if there is no contention, the lock can be held and IRQ disabled for potentially long time. This has been addressed by commit b2eef8c0d0 ("mm: compaction: minimise

[PATCH 3.12 142/146] media: V4L2: fix VIDIOC_CREATE_BUFS in 64- / 32-bit compatibility mode

2014-06-09 Thread Jiri Slaby
From: Guennadi Liakhovetski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 97d9d23dda6f37d90aefeec4ed619d52df525382 upstream. If a struct contains 64-bit fields, it is aligned on 64-bit boundaries within containing structs in 64-bit compilat

[PATCH 3.12 109/146] ASoC: wm8962: Update register CLASS_D_CONTROL_1 to be non-volatile

2014-06-09 Thread Jiri Slaby
From: Charles Keepax 3.12-stable review patch. If anyone has any objections, please let me know. === commit 44330ab516c15dda8a1e660eeaf0003f84e43e3f upstream. The register CLASS_D_CONTROL_1 is marked as volatile because it contains a bit, DAC_MUTE, which is also mirrored in the AD

[PATCH 3.12 146/146] futex: Make lookup_pi_state more robust

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 54a217887a7b658e2650c3feff22756ab80c7339 upstream. The current implementation of lookup_pi_state has ambigous handling of the TID value 0 in the user space futex. We can g

[PATCH 3.12 115/146] Target/iser: Fix wrong connection requests list addition

2014-06-09 Thread Jiri Slaby
From: Sagi Grimberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9fe63c88b1d59f1ce054d6948ccd3096496ecedb upstream. Should be adding list_add_tail($new, $head) and not the other way around. Signed-off-by: Sagi Grimberg Signed-off-by: Nic

[PATCH 3.12 012/146] futex: Prevent attaching to kernel threads

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit f0d71b3dcb8332f7971b5f2363632573e6d9486a upstream. We happily allow userspace to declare a random kernel thread to be the owner of a user space PI futex. Found while analy

[PATCH 3.12 134/146] powerpc/powernv: Reset root port in firmware

2014-06-09 Thread Jiri Slaby
From: Gavin Shan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 372cf1244d7c271806b83b32b09a1c8b1b31b353 upstream. Resetting root port has more stuff to do than that for PCIe switch ports and we should have resetting root port done in firmwa

[PATCH 3.12 126/146] libata: clean up ZPODD when a port is detached

2014-06-09 Thread Jiri Slaby
From: Levente Kurusa 3.12-stable review patch. If anyone has any objections, please let me know. === commit a6f9bf4d2f965b862b95213303d154e02957eed8 upstream. When a ZPODD device is unbound via sysfs, the ACPI notify handler is not removed. This causes panics as observed in Bug #7

[PATCH 3.12 124/146] dma: mv_xor: Flush descriptors before activating a channel

2014-06-09 Thread Jiri Slaby
From: Ezequiel Garcia 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5a9a55bf9157d3490b0c8c4c81d4708602c26e07 upstream. We need to use writel() instead of writel_relaxed() when starting a channel, to ensure all the descriptors have been flus

[PATCH 3.12 011/146] futex: Add another early deadlock detection check

2014-06-09 Thread Jiri Slaby
From: Thomas Gleixner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 866293ee54227584ffcb4a42f69c1f365974ba7f upstream. Dave Jones trinity syscall fuzzer exposed an issue in the deadlock detection code of rtmutex: http://lkml.kernel.org/r/

[PATCH 3.12 085/146] device_cgroup: check if exception removal is allowed

2014-06-09 Thread Jiri Slaby
From: Aristeu Rozanski 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2c2b11cfa134f4fbdcc34088824da26a084d8de upstream. [PATCH v3 1/2] device_cgroup: check if exception removal is allowed When the device cgroup hierarchy was introduced in

<    3   4   5   6   7   8   9   10   11   >