Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-06 Thread Ingo Molnar
* Brian Gerst wrote: > > I'm wondering what the original reason for adding the extra > > handling of regs->ax was. Maybe something changed regs->ax - but I > > cannot find such code path anymore. > > > > It would be nice to try to do a bit of Git archeology to figure > > out the origins of th

Re: Unreliable hibernation on Lenovo x230 (regression)

2015-04-06 Thread Ingo Molnar
* Yinghai Lu wrote: > On Sun, Apr 5, 2015 at 12:24 AM, joeyli wrote: > >> > > >> > >> I took the commit 8f778bbc542ddf8f6243b21d6aca087e709cabdc as the base for > >> further checking (I started building before I read your message). It's a > >> descendant of 4.0-rc6, so I hope it's not going t

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-06 Thread Joe Perches
On Mon, 2015-04-06 at 08:40 +0200, Nicholas Mc Guire wrote: > #define msecs_to_jiffies(m) \ > (__builtin_constant_p (m) \ > ? ((m) * HZ / MSECS_PER_SEC ) : __msecs_to_jiffies(m)) [] > main: > .LFB12: > .cfi_startproc > subq

Re: [Linux-nvdimm] [PATCH 1/2] x86: add support for the non-standard protected e820 type

2015-04-06 Thread Boaz Harrosh
On 04/05/2015 11:06 PM, Yinghai Lu wrote: > On Sun, Apr 5, 2015 at 2:18 AM, Boaz Harrosh wrote: <> >> Hi Yinghai, Toshi >> >> In my old patches I did not have these updates as well, and everything >> was very much usable, for a long time. >> >> However. I actually liked these changes in Christoph'

Re: [PATCH] staging: lustre: socklnd_prote: checkpatch.pl cleanups

2015-04-06 Thread Greg KH
On Mon, Apr 06, 2015 at 03:56:39AM +0900, Raven wrote: > Fix coding style by checkpatch.pl. > > Signed-off-by: Kai Katsumata You sent a patch in html format, and your From: line didn't match the signed-off-by line, so I really can't take this, sorry. Please fix up and try again. thanks, greg

Re: [PATCH v7] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-06 Thread Naoya Horiguchi
Hi Boris, Tony, How will this patch be handled for v4.1? Could you review and consider merging into your tree? Naoya On Fri, Mar 06, 2015 at 10:22:16AM +, Naoya Horiguchi wrote: > kexec disables (or "shoots down") all CPUs other than a crashing CPU before > entering the 2nd kernel. But the M

Re: [PATCH] x86/asm/entry/64: change interrupt entry macro to function

2015-04-06 Thread Ingo Molnar
* Denys Vlasenko wrote: > The macro is largish, and we have 24 instances of it. > > By moving almost its entire body into a function, > 1500..3000 bytes are saved (depending on .config): > >text data bss dec hex filename > 12546 0 0 125463102

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-06 Thread Nicholas Mc Guire
On Mon, 06 Apr 2015, Joe Perches wrote: > On Mon, 2015-04-06 at 08:40 +0200, Nicholas Mc Guire wrote: > > #define msecs_to_jiffies(m) \ > > (__builtin_constant_p (m) \ > > ? ((m) * HZ / MSECS_PER_SEC ) : __msecs_to_jiffies(m)) > [] > > ma

Re: [Linux-nvdimm] [PATCH 1/2] x86: add support for the non-standard protected e820 type

2015-04-06 Thread Ingo Molnar
* Yinghai Lu wrote: > On Sat, Apr 4, 2015 at 2:40 AM, Ingo Molnar wrote: > > > > * Toshi Kani wrote: > > > >> On Fri, 2015-04-03 at 10:12 -0700, Yinghai Lu wrote: > >> > On Fri, Apr 3, 2015 at 9:14 AM, Toshi Kani wrote: > >> > > On Wed, 2015-04-01 at 09:12 +0200, Christoph Hellwig wrote: > >>

Re: [PATCH] mfd: Add support for CPLD chip on Mikrotik RB4xx boards

2015-04-06 Thread Paul Bolle
On Mon, 2015-04-06 at 03:51 +0200, Bert Vermeulen wrote: > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > +config MFD_RB4XX_CPLD > + tristate "MikroTik RB4XX CPLD driver" > + depends on ATH79 && SPI_RB4XX I noticed you also submitted a patch that adds the Kconfig symbol SPI_RB4XX

Re: [PATCH v3 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-04-06 Thread Paul Bolle
A license nit follows. On Sun, 2015-04-05 at 08:26 +0200, Oleksij Rempel wrote: > --- /dev/null > +++ b/drivers/pinctrl/pinctrl-asm9260.c > @@ -0,0 +1,733 @@ > +/* > + * Pinctrl driver for the Alphascale ASM9260 SoC > + * > + * Copyright (c) 2014, Oleksij Rempel > + * > + * This program is free s

Re: [PATCH] Input: atkbd: Fix release quirk for Dell models

2015-04-06 Thread Pali Rohár
On Monday 06 April 2015 01:53:43 Dmitry Torokhov wrote: > On Mon, Apr 06, 2015 at 12:00:32AM +0200, Pali Rohár wrote: > > On Sunday 05 April 2015 23:48:33 Dmitry Torokhov wrote: > > > Hi Pali, > > > > > > On Sun, Mar 29, 2015 at 04:36:19PM +0200, Pali Rohár wrote: > > > > This patch fixes commit 6

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-06 Thread Russell King - ARM Linux
On Mon, Apr 06, 2015 at 01:50:17AM +0200, Stefan Agner wrote: > On 2015-04-06 00:44, Russell King - ARM Linux wrote: > > On Mon, Apr 06, 2015 at 12:19:43AM +0200, Stefan Agner wrote: > >> On 2015-04-05 18:10, Russell King - ARM Linux wrote: > >> > config ARM_SINGLE_ARMV7M > >> > bool "ARM architec

Re: [PATCH v2 7/7] clone4: Add a CLONE_FD flag to get task exit notification via fd

2015-04-06 Thread Sergey Senozhatsky
On (03/15/15 01:00), Josh Triplett wrote: [..] > + > +/* Handle the CLONE_FD case for copy_process. */ > +int clonefd_do_clone(u64 clone_flags, struct task_struct *p, > + struct clone4_args *args, struct clonefd_setup *setup) > +{ > + int flags; > + struct file *file; > +

Re: [PATCH v3 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-04-06 Thread Oleksij Rempel
A suggestion to your correction. If you won't to say: "You have a mismatch between header and MODULE_LICENSE, please make sure it will match." You saying some thing like this: "I was right last time. Make module License like I saying." I'm confuse, what is your actual point? Do you trying to prov

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-06 Thread Stefan Agner
On 2015-04-06 10:15, Russell King - ARM Linux wrote: > On Mon, Apr 06, 2015 at 01:50:17AM +0200, Stefan Agner wrote: >> On 2015-04-06 00:44, Russell King - ARM Linux wrote: >> > On Mon, Apr 06, 2015 at 12:19:43AM +0200, Stefan Agner wrote: >> >> On 2015-04-05 18:10, Russell King - ARM Linux wrote:

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-06 Thread Russell King - ARM Linux
On Mon, Apr 06, 2015 at 10:38:10AM +0200, Stefan Agner wrote: > We already prevent a kernel image which mixes V4/V4T/V5 and V6/V7. And > so we would do with V7M too. Just because it's in multiplatform doesn't > mean we need to mix things up. I don't think you're getting what I'm saying at all... :

[PATCH v4 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-04-06 Thread Oleksij Rempel
This patch adds driver for Alphascale asm9260 pinctrl support. Alphascale asm9260t is SoC based on ARM926EJ (240MHz) in LQFP176 package. On silicon are: - 32MB SDRAM - USB2.0 HS/OTG - 2x CAN - SD/MMC - 5x Times/PWM - 10x USART - 24-channel DMA - 2x i2c - 2x SPI - Quad SPI - 10/100 Ethernet MAC - Ca

[PATCH v4 2/2] pinctrl: asm9260: add pinctrl add device tree bindings documentation

2015-04-06 Thread Oleksij Rempel
Add device tree bindings documentation for Alphascale asm9260 pin controller Signed-off-by: Oleksij Rempel --- .../pinctrl/alphascale,asm9260-pinctrl.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/alphascal

[PATCH] x86/boot: use __noreturn instead of directly __attribute__ definition

2015-04-06 Thread Alexander Kuleshov
arch/x86/boot/boot.h defines a couple functions as die and etc..., with 'noreturn' attribute. Let's use __noreturn macro instead of directly __attribute__ declaration from the . We no need to include to the arch/x86/boot/boot.h, because boot.h already includes "bitops.h" which already includes .

[PATCH v4 0/2] Add driver and documentation for Alphascale asm9260 pinctrl

2015-04-06 Thread Oleksij Rempel
changes: - v4. As Paul Bolle sugested, fixing License in the header. Oleksij Rempel (2): pinctrl: Add driver for Alphascale asm9260 pinctrl pinctrl: asm9260: add pinctrl add device tree bindings documentation .../pinctrl/alphascale,asm9260-pinctrl.txt | 76 +++ drivers/pinctrl/Kconf

[PATCH 5/7] sched/deadline: drop duplicate init_sched_dl_class declaration

2015-04-06 Thread Wanpeng Li
There are two init_sched_dl_class declarations, this patch drop the duplicated one. Signed-off-by: Wanpeng Li --- kernel/sched/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index e0e1299..c9b2689 100644 --- a/kernel/sched/sched.h +++ b/ke

[PATCH 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-04-06 Thread Wanpeng Li
pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task can slip in, in which case we need to reschedule. This patch add the reschedule when the scenario occurs. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 16 +++- 1 file changed, 15 insertions(+), 1 del

[PATCH 1/7] sched/deadline: fix try to pull pinned dl tasks in pull algorithm

2015-04-06 Thread Wanpeng Li
Function pick_next_earliest_dl_task is used to pick earliest and pushable dl task from overloaded cpus in pull algorithm, however, it traverses runqueue rbtree instead of pushable task rbtree which is also ordered by tasks' deadlines. This will result in getting no candidates from overloaded cpus i

[PATCH 2/7] sched/deadline: make init_sched_dl_class() __init

2015-04-06 Thread Wanpeng Li
It's a bootstrap function, make init_sched_dl_class() __init. Signed-off-by: Wanpeng Li --- kernel/sched/deadline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index b57ceba..3bd3158 100644 --- a/kernel/sched/deadline.c ++

[PATCH 7/7] sched/rt: reschedule if stop/dl task slip in after pull operations

2015-04-06 Thread Wanpeng Li
pull_rt_task() can drop (and re-acquire) rq->lock, this means a dl or stop task can slip in, in which case need to reschedule. This patch add the reschedule when the scenario occurs. Signed-off-by: Wanpeng Li --- kernel/sched/rt.c | 19 ++- 1 file changed, 18 insertions(+), 1 de

[PATCH 6/7] sched/deadline: depend on clearing throttled status in replenish_dl_entity

2015-04-06 Thread Wanpeng Li
Since the natural place to clear ->dl_throttled is in replenish_dl_entity(), and the task which is adjusted the priority is the current, it will be dequeued and then enqueued w/ replenish which can guarantee ->dl_throttled can be cleared, this patch drop the clear throttled status in function r

[PATCH 3/7] sched/deadline: reduce rq lock contention by eliminating locking of non-feasible target

2015-04-06 Thread Wanpeng Li
This patch adds check that prevents futile attempts to move dl tasks to a CPU with active tasks of equal or earlier deadline. The same behavior as commit 80e3d87b2c55 ("sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target") for rt class. Signed-off-by: Wanpeng Li ---

Re: [PATCH] Staging: sm750fb: Remove extra parentheses around right bit shift operation

2015-04-06 Thread Sudip Mukherjee
On Sun, Apr 05, 2015 at 07:11:47AM +0530, Amitoj Kaur Chawla wrote: > Removes extra parentheses around bitwise right shift operation. this is not applying. please work against staging-testing. regards sudip > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

Re: [PATCH] staging: lustre: socklnd_prote: checkpatch.pl cleanups

2015-04-06 Thread Kai Katsumata
2015-04-06 5:12 GMT+09:00 Greg KH : > On Mon, Apr 06, 2015 at 03:56:39AM +0900, Raven wrote: >> Fix coding style by checkpatch.pl. >> >> Signed-off-by: Kai Katsumata > > You sent a patch in html format, and your From: line didn't match the > signed-off-by line, so I really can't take this, sorry.

[PATCH] scripts/kconfig/Makefile: Fix spelling of Qt

2015-04-06 Thread Diego Viola
Signed-off-by: Diego Viola --- scripts/kconfig/Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 9645c07..6da13d0 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -126,7 +126,7

Re: [PATCH] staging: lustre: socklnd_prote: checkpatch.pl cleanups

2015-04-06 Thread Greg KH
On Mon, Apr 06, 2015 at 06:19:46PM +0900, Kai Katsumata wrote: > 2015-04-06 5:12 GMT+09:00 Greg KH : > > On Mon, Apr 06, 2015 at 03:56:39AM +0900, Raven wrote: > >> Fix coding style by checkpatch.pl. > >> > >> Signed-off-by: Kai Katsumata > > > > You sent a patch in html format, and your From: lin

Re: [PATCH v2 7/7] clone4: Add a CLONE_FD flag to get task exit notification via fd

2015-04-06 Thread Josh Triplett
On Mon, Apr 06, 2015 at 05:30:35PM +0900, Sergey Senozhatsky wrote: > On (03/15/15 01:00), Josh Triplett wrote: > [..] > > + > > +/* Handle the CLONE_FD case for copy_process. */ > > +int clonefd_do_clone(u64 clone_flags, struct task_struct *p, > > +struct clone4_args *args, struct

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-06 Thread Stefan Agner
On 2015-04-06 10:54, Russell King - ARM Linux wrote: > On Mon, Apr 06, 2015 at 10:38:10AM +0200, Stefan Agner wrote: >> We already prevent a kernel image which mixes V4/V4T/V5 and V6/V7. And >> so we would do with V7M too. Just because it's in multiplatform doesn't >> mean we need to mix things up.

Re: [PATCH v2] USB: serial: add nt124 usb to serial driver

2015-04-06 Thread Johan Hovold
On Tue, Mar 03, 2015 at 11:57:04AM -0600, George McCollister wrote: > This driver is for the NovaTech 124 4x serial expansion board for the > NovaTech OrionLXm. > > Firmware source code can be found here: > https://github.com/novatechweb/nt124 > > Signed-off-by: George McCollister > --- > Change

[PATCH] blk-mq: remove unused param in bt_alloc()

2015-04-06 Thread nimisolo
In bt_alloc(), the param is unused, maybe we can remove it. Signed-off-by: nimisolo --- block/blk-mq-tag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index be3290c..b7ac73a 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-t

Re: [PATCH v3 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-04-06 Thread Paul Bolle
On Mon, 2015-04-06 at 10:38 +0200, Oleksij Rempel wrote: > If you won't to say: "You have a mismatch between header and > MODULE_LICENSE, please make sure it will match." > You saying some thing like this: "I was right last time. Make module > License like I saying." No, that's not what I wrote.

Re: [PATCH 4/4] spi: bcm-mspi: Add support to set serial baud clock rate

2015-04-06 Thread Mark Brown
On Sat, Apr 04, 2015 at 12:12:59PM -0700, Florian Fainelli wrote: > Le 02/04/2015 12:23, Jonathan Richardson a écrit : > > + /* Calculate SPBR if clock-frequency provided. */ > > + if (of_property_read_u32(dev->of_node, "clock-frequency", > > + &desired_rate)

Re: [PATCH v3 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-04-06 Thread Oleksij Rempel
Am 06.04.2015 um 11:41 schrieb Paul Bolle: > On Mon, 2015-04-06 at 10:38 +0200, Oleksij Rempel wrote: >> If you won't to say: "You have a mismatch between header and >> MODULE_LICENSE, please make sure it will match." >> You saying some thing like this: "I was right last time. Make module >> Licens

Re: [PATCH v2 1/4] break kconfig dependency loop

2015-04-06 Thread Paul Bolle
On Wed, 2015-04-01 at 16:47 +0300, Jani Nikula wrote: > I think part of the problem is that "select" is often used not as > documented [1] but rather as "show my config in menuconfig for > convenience even if my dependency is not met, and select the dependency > even though I know it can screw up t

Re: [PATCH v6] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-04-06 Thread Andy Shevchenko
On Mon, Apr 6, 2015 at 4:54 AM, Bert Vermeulen wrote: > This driver mediates access between the connected CPLD and other devices > on the bus. > > The m25p80-compatible boot flash and (some models) MMC use regular SPI, > bitbanged as required by the SoC. However the SPI-connected CPLD has > a "fas

Re: [PATCH 0/2] Cygnus Audio Driver

2015-04-06 Thread Mark Brown
On Fri, Apr 03, 2015 at 12:33:12PM -0700, Scott Branden wrote: > On 15-03-30 11:43 PM, Mark Brown wrote: > >On Mon, Mar 30, 2015 at 08:16:22PM -0700, Scott Branden wrote: > >>The audio PLL is embedded in the audio block and only used > >>by the audio block. The audio PLL registers are also in the

Re: [PATCH] ath9k_htc: check seq number instead of cmd id for timeout

2015-04-06 Thread Oleksij Rempel
Hi Kalle, can you please apply this patch. Am 06.04.2015 um 08:33 schrieb Fred Chou: > Hi all, > > May I have an update on the patch status please? > > Thanks and regards, > Fred > > On 13/3/2015 4:32 PM, Fred Chou wrote: >> From: Fred Chou >> >> As the driver may send multiple wmi commands w

4.0-rc6 errors when opening LID

2015-04-06 Thread Pali Rohár
On Saturday 27 December 2014 21:22:56 Rafael J. Wysocki wrote: > On Saturday, December 27, 2014 09:19:49 AM Pali Rohár wrote: > > Hello, > > > > in attachment is output of ls -l /sys/bus/acpi/devices from > > both 3.13 and 3.19 kernels. > > > > Anyway Gabriele Mazzotta wrote me that new acpi devi

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-06 Thread Russell King - ARM Linux
On Mon, Apr 06, 2015 at 11:33:53AM +0200, Stefan Agner wrote: > On 2015-04-06 10:54, Russell King - ARM Linux wrote: > > On Mon, Apr 06, 2015 at 10:38:10AM +0200, Stefan Agner wrote: > >> We already prevent a kernel image which mixes V4/V4T/V5 and V6/V7. And > >> so we would do with V7M too. Just b

Re: [PATCHv2] lz4: fix system halted at boot kernel x86_64 compressed lz4

2015-04-06 Thread Krzysztof Kolasa
Decompression process ends with an error when loading 64bit lz4 kernel: Decoding failed -- System halted This condition is not needed for 64bit kernel from the last commit d5e7cafd69da ("LZ4 : fix the data abort issue") if( ... || (op + COPYLENGTH) > oend) goto _output_error macro LZ4_

Re: [PATCH] mfd: Add support for CPLD chip on Mikrotik RB4xx boards

2015-04-06 Thread Andy Shevchenko
On Mon, Apr 6, 2015 at 4:51 AM, Bert Vermeulen wrote: > The SPI-connected CPLD chip controls access to the main NAND flash > chip and five LEDs. > Few comments below. > Signed-off-by: Bert Vermeulen > --- > arch/mips/include/asm/mach-ath79/rb4xx_cpld.h | 49 + > drivers/mfd/Kconfig

Re: [PATCH 2/4] spi: bcm53xx: Refactor to make driver nonspecific to 53xx SoCs

2015-04-06 Thread Rafał Miłecki
On 3 April 2015 at 15:35, Andy Shevchenko wrote: > On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson > wrote: >> The Broadcom MSPI controller is used on various SoCs. It is being >> renamed so that it can be extended and reused on other chips. It is >> renamed to bcm-mspi. >> > What if you res

RE: [char-misc-next 04/11] mei: revamp client disconnection flow

2015-04-06 Thread Winkler, Tomas
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Sunday, April 05, 2015 16:19 > To: Winkler, Tomas > Cc: a...@arndb.de; linux-kernel@vger.kernel.org; Usyskin, Alexander > Subject: Re: [char-misc-next 04/11] mei: revamp client disconnection flow > > On Sun,

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-06 Thread Rafał Miłecki
On 2 April 2015 at 21:23, Jonathan Richardson wrote: > The Broadcom MSPI controller is used on various chips. The driver only > supported BCM53xx chips with BCMA (an AMBA bus variant). The driver is > refactored to make BCMA optional and provides a new config for non BCMA > systems. I think this

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-06 Thread Rafał Miłecki
On 3 April 2015 at 15:38, Andy Shevchenko wrote: > On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson > wrote: >> The Broadcom MSPI controller is used on various chips. The driver only >> supported BCM53xx chips with BCMA (an AMBA bus variant). The driver is >> refactored to make BCMA optional

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-06 Thread Rafał Miłecki
On 3 April 2015 at 19:52, Florian Fainelli wrote: > On 03/04/15 06:38, Andy Shevchenko wrote: >> On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson >> wrote: >>> The Broadcom MSPI controller is used on various chips. The driver only >>> supported BCM53xx chips with BCMA (an AMBA bus variant). T

Re: [PATCH/RFC 3/6] staging: board: Add support for translating hwirq to virq numbers

2015-04-06 Thread Marc Zyngier
On 2015-04-03 13:42, Geert Uytterhoeven wrote: As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ numbers in platform device resources. Add support for translating hardware IRQ numbers to virtual IRQ numb

Re: [PATCH 1/3] mmc: dw_mmc: Increase cmd11 timeout to 500ms

2015-04-06 Thread Jaehoon Chung
Hi, Doug. On 04/04/2015 03:13 AM, Doug Anderson wrote: > The Designware databook claims that cmd11 should be finished in 2ms, > but my testing showed that not to be the case in some situations. > I've seen cmd11 timeouts of up to 130ms (!) during reboot tests. > Let's bump the timeout way up so th

Re: [PATCH/RFC 0/6] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-04-06 Thread Marc Zyngier
Hi Geert, On 2015-04-03 13:41, Geert Uytterhoeven wrote: Hi all, This RFC patch series adds board staging support for r8a7740/armadillo. For now this supports only the frame buffer device for the on-board LCD. The goal is to complete the move to ARM multiplatform kernels for all shmobile pla

[PATCH RFC] x86/boot, earlyprintk: do not compile early_setup_console if !CONFIG_EARLY_PRINTK

2015-04-06 Thread Alexander Kuleshov
There is the call of the console_init() function in the arch/x86/boot/main.c which tries to find 'earlyprintk' option in the kernel command line. This function called every time regardless of the CONFIG_EARLY_PRINTK, but we no need in it if CONFIG_EARLY_PRINTK is not set. Signed-off-by: Alexander

Re: Hang on large copy_from_user with PREEMPT_NONE

2015-04-06 Thread Borislav Petkov
On Sun, Apr 05, 2015 at 11:59:52PM -0400, Sasha Levin wrote: > Hi all, > > I'm seeing an interesting hang when trinity is trying to load a large module, > where > the size passed by userspace is larger than the amount of memory actually > allocated > in userspace and passed in the 'from' paramet

Re: [PATCH] mm, mempool: kasan: poison mempool elements

2015-04-06 Thread Andrey Ryabinin
On 04/04/2015 01:07 AM, Andrew Morton wrote: > On Fri, 03 Apr 2015 17:47:47 +0300 Andrey Ryabinin > wrote: > >> Mempools keep allocated objects in reserved for situations >> when ordinary allocation may not be possible to satisfy. >> These objects shouldn't be accessed before they leave >> the p

Re: [PATCH 07/18 v3] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-04-06 Thread Steven Rostedt
On Mon, 6 Apr 2015 13:54:33 +0900 Namhyung Kim wrote: > > + if (isalpha(*ptr) || *ptr == '_') { > > + if (strncmp(map->enum_string, ptr, len) == 0 && > > + !isalnum(ptr[len]) && ptr[len] != '_') { > > + ptr = enum_replac

Re: [PATCH v7] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-06 Thread Borislav Petkov
On Fri, Mar 06, 2015 at 10:22:16AM +, Naoya Horiguchi wrote: > kexec disables (or "shoots down") all CPUs other than a crashing CPU before > entering the 2nd kernel. But the MCE handler is still enabled after that, > so if MCE happens and broadcasts over the CPUs after the main thread starts >

Re: [PATCH] x86/signal: Remove pax argument from restore_sigcontext

2015-04-06 Thread Brian Gerst
On Mon, Apr 6, 2015 at 3:03 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> > I'm wondering what the original reason for adding the extra >> > handling of regs->ax was. Maybe something changed regs->ax - but I >> > cannot find such code path anymore. >> > >> > It would be nice to try to do a

Re: [PATCH v7] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-06 Thread Borislav Petkov
Hi Naoya, On Mon, Apr 06, 2015 at 07:18:03AM +, Naoya Horiguchi wrote: > Hi Boris, Tony, > > How will this patch be handled for v4.1? > Could you review and consider merging into your tree? Damn, it seems Tony and I both forgot about this one, sorry about that :-\ I'm afraid it would be too

[miscdevice] BUG: unable to handle kernel NULL pointer dereference at 00000028

2015-04-06 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing commit 0b509d8d336eef6d622d66b3ae2a1fc3a072bf92 Author: Tom Van Braeckel AuthorDate: Tue Mar 31 16:39:21 2015 +0200 Comm

[PATCH v4 0/3] i2c: davinci improvements and fixes

2015-04-06 Thread grygorii.strashko
From: Grygorii Strashko This series converts driver to use I2C bus recovery infrastructure and adds Davinci I2C bus recovery mechanizm based on using ICPFUNC registers. These patches are combination of two patches from Ben Gardiner [1] and Mike Looijmans [2] which i've reworked to use I2C bus rec

[PATCH v4 2/3] i2c: davinci: use bus recovery infrastructure

2015-04-06 Thread grygorii.strashko
From: Grygorii Strashko This patch converts Davinci I2C driver to use I2C bus recovery infrastructure, introduced by commit 5f9296ba21b3 ("i2c: Add bus recovery infrastructure"). The i2c_bus_recovery_info is configured for Davinci I2C adapter only in case scl_pin is provided in platform data. A

[PATCH v4 3/3] i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery

2015-04-06 Thread grygorii.strashko
From: Grygorii Strashko Having a board where the I2C bus locks up occasionally made it clear that the bus recovery in the i2c-davinci driver will only work on some boards, because on regular boards, this will only toggle GPIO lines that aren't muxed to the actual pins. The I2C controller on SoCs

[PATCH v4 1/3] i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery

2015-04-06 Thread grygorii.strashko
From: Grygorii Strashko This patch changes type of input parameter for .prepare/unprepare_recovery() callbacks from struct i2c_bus_recovery_info * to struct i2c_adapter *. This allows to simplify implementation of these callbacks and avoid type conversations from i2c_bus_recovery_info to i2c_adap

Wonga Loans

2015-04-06 Thread Wonga Express Loan
Wonga Loans Wonga Express Loan Promtion.pdf Description: Adobe PDF document

Re: [PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-06 Thread Arnaldo Carvalho de Melo
Em Fri, Apr 03, 2015 at 12:57:21PM +0200, Jiri Olsa escreveu: > On Fri, Apr 03, 2015 at 05:56:25AM +, Wang Nan wrote: > > perf report and perf annotate are easy to trigger segfault if trace data > > contain kernel module information like this: > > # perf report -D -i ./perf.data > > 0 0 0x1

Re: [PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-06 Thread Mike Snitzer
On Sun, Apr 05 2015 at 1:20pm -0400, Pali Rohár wrote: > This patch series increase security of suspend and hibernate actions. It > allows > user to safely wipe crypto keys before suspend and hibernate actions starts > without race conditions on userspace process with heavy I/O. > > To automat

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-06 Thread Rob Herring
On Sat, Apr 4, 2015 at 10:25 PM, Bjorn Helgaas wrote: > On Sat, Apr 4, 2015 at 2:48 PM, Rob Herring wrote: >> On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: > >>> I think there's still an unresolved question about the OF parsing code. >> >> Got a pointer to what that is? I'll take a guess.

Re: [PATCH v3 4/5] i2c: davinci: use bus recovery infrastructure

2015-04-06 Thread grygorii.stras...@linaro.org
On 04/03/2015 11:18 PM, Wolfram Sang wrote: > >>> The I2C specs say in 3.1.16 that the recovery procedure should be used >>> when SDA is stuck low. So, I do wonder if we should apply the recovery >>> after a timeout. Stuck SDA might be one reason for timeout, but there >>> may be others... >> >> T

Re: [PATCH 1/3] of: Allow OF to be enabled if COMPILE_TEST to increase coverage

2015-04-06 Thread Rob Herring
+Pantelis On Sun, Apr 5, 2015 at 9:59 AM, Geert Uytterhoeven wrote: > Currently the OF configuration symbol is explicitly selected on > architectures that support device trees and/or Open Firmware. > However, there's no technical reason to limit the device tree > infrastructure to these architect

[PATCH] x86/earlyprintk: setup earlyprintk as early as possible

2015-04-06 Thread Alexander Kuleshov
As setup_earlyprintk passed to the early_param, it will be usable only after 'parse_early_param' function will be called from the 'setup_arch'. So we have earlyprintk during early boot and decompression. Next point after decompression of the kernel where we can use early_printk is after call of the

Re: [PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-06 Thread Pavel Machek
On Mon 2015-04-06 09:00:46, Mike Snitzer wrote: > On Sun, Apr 05 2015 at 1:20pm -0400, > Pali Rohár wrote: > > > This patch series increase security of suspend and hibernate actions. It > > allows > > user to safely wipe crypto keys before suspend and hibernate actions starts > > without race c

Re: [PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-06 Thread Pali Rohár
On Monday 06 April 2015 15:00:46 Mike Snitzer wrote: > On Sun, Apr 05 2015 at 1:20pm -0400, > > Pali Rohár wrote: > > This patch series increase security of suspend and hibernate > > actions. It allows user to safely wipe crypto keys before > > suspend and hibernate actions starts without race >

Re: [PATCH v4 05/10] eeprom: Add bindings for simple eeprom framework

2015-04-06 Thread Matt Porter
On Mon, Mar 30, 2015 at 10:57:59PM +0100, Srinivas Kandagatla wrote: > This patch adds bindings for simple eeprom framework which allows eeprom > consumers to talk to eeprom providers to get access to eeprom cell data. > > Signed-off-by: Maxime Ripard > [Maxime Ripard: intial version of eeprom fr

Re: [PATCH v2 1/2] power: max17042_battery: Use reg type instead of chip type

2015-04-06 Thread Beomho Seo
On 04/03/2015 06:01 PM, Krzysztof Kozlowski wrote: > 2015-04-03 10:26 GMT+02:00 Beomho Seo : >> Currently, max17042 battery driver choose register map by MAX17042_DevName >> register. But it is return IC specific firmware version. So other maxim chip >> hard to use this drvier. This patch choose ch

Re: [PATCH v2 1/3] iio: configfs: Add configfs support to IIO

2015-04-06 Thread Daniel Baluta
On Sat, Apr 4, 2015 at 9:26 PM, Paul Bolle wrote: > On Fri, 2015-04-03 at 18:57 +0300, Daniel Baluta wrote: >> --- a/drivers/iio/Kconfig >> +++ b/drivers/iio/Kconfig >> +config IIO_CONFIGFS >> + tristate "Enable IIO configuration via configfs" >> + select CONFIGFS_FS >> + help >> +

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-06 Thread Jarod Wilson
On Mon, Apr 06, 2015 at 12:40:12AM +0800, Ming Lei wrote: > On Mon, Apr 6, 2015 at 12:12 AM, Christoph Hellwig wrote: > >> +/* > >> + * This is exported as API for block driver, can be called > >> + * with requiring bd_mutex or not. > >> + */ > >> +int __blkdev_reread_part(struct block_device *bde

[PATCH] sunrpc: eliminate RPC_DEBUG

2015-04-06 Thread Mark Salter
Commit f895b252d4edf ("sunrpc: eliminate RPC_DEBUG") introduced use of IS_ENABLED() in a uapi header which leads to a build failure for userspace apps trying to use : linux/nfsd/debug.h:18:15: error: missing binary operator before token "(" #if IS_ENABLED(CONFIG_SUNRPC_DEBUG)

Re: [PATCH 5/6] block: dasd_genhd: convert to blkdev_reread_part

2015-04-06 Thread Jarod Wilson
On Sun, Apr 05, 2015 at 03:24:47PM +0800, Ming Lei wrote: > Also remove the obsolete comment. > > Signed-off-by: Ming Lei > --- > drivers/s390/block/dasd_genhd.c |9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/drivers/s390/block/dasd_genhd.c b/drivers/s390/b

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-06 Thread Jarod Wilson
On Mon, Apr 06, 2015 at 09:42:27AM -0400, Jarod Wilson wrote: > On Mon, Apr 06, 2015 at 12:40:12AM +0800, Ming Lei wrote: > > On Mon, Apr 6, 2015 at 12:12 AM, Christoph Hellwig > > wrote: > > >> +/* > > >> + * This is exported as API for block driver, can be called > > >> + * with requiring bd_mu

Re: [PATCH 5/6] block: dasd_genhd: convert to blkdev_reread_part

2015-04-06 Thread Jarod Wilson
On Mon, Apr 06, 2015 at 09:46:55AM -0400, Jarod Wilson wrote: > On Sun, Apr 05, 2015 at 03:24:47PM +0800, Ming Lei wrote: > > Also remove the obsolete comment. > > > > Signed-off-by: Ming Lei > > --- > > drivers/s390/block/dasd_genhd.c |9 +++-- > > 1 file changed, 3 insertions(+), 6 del

Hello dear,

2015-04-06 Thread Gen Susans Helms
Hello dear, My name is Gen Susan helms, and I am a UNITED STATE ,i will like to have a good friendship with you please write me back throughmy e-mail address(generalsusanhelm...@hotmail.com ) for private discussion,so that i will send you my picture and tell you more about me OK, I am waiting for

Re: [PATCH v2 1/2] dt-bindings: Document the hi6220 thermal sensor bindings

2015-04-06 Thread Matt Porter
On Tue, Mar 31, 2015 at 02:59:21PM +0800, Xinwei Kong wrote: > From: kongxinwei > > This adds documentation of device tree bindings for the > thermal sensor controller of hi6220 SoC. > > Signed-off-by: Leo Yan > Signed-off-by: kongxinwei > --- > .../bindings/thermal/hisilicon-thermal.txt

Re: [PATCH] sunrpc: eliminate RPC_DEBUG

2015-04-06 Thread Jeff Layton
nit: title should probably be "sunrpc: eliminate NFSD_DEBUG" On Mon, 6 Apr 2015 09:46:00 -0400 Mark Salter wrote: > Commit f895b252d4edf ("sunrpc: eliminate RPC_DEBUG") introduced > use of IS_ENABLED() in a uapi header which leads to a build > failure for userspace apps trying to use : > >

Re: [PATCH v4 05/10] eeprom: Add bindings for simple eeprom framework

2015-04-06 Thread Rob Herring
On Mon, Apr 6, 2015 at 8:32 AM, Matt Porter wrote: > On Mon, Mar 30, 2015 at 10:57:59PM +0100, Srinivas Kandagatla wrote: >> This patch adds bindings for simple eeprom framework which allows eeprom >> consumers to talk to eeprom providers to get access to eeprom cell data. >> >> Signed-off-by: Max

Re: [PATCH] x86, paravirt, xen: Remove the 64-bit irq_enable_sysexit pvop

2015-04-06 Thread Konrad Rzeszutek Wilk
On Fri, Apr 03, 2015 at 03:52:30PM -0700, Andy Lutomirski wrote: > [cc: Boris and Konrad. Whoops] > > On Fri, Apr 3, 2015 at 3:51 PM, Andy Lutomirski wrote: > > We don't use irq_enable_sysexit on 64-bit kernels any more. Remove Is there an commit (or name of patch) that explains why 32-bit-us

Re: [PATCH] sunrpc: eliminate RPC_DEBUG

2015-04-06 Thread Mark Salter
On Mon, 2015-04-06 at 10:04 -0400, Jeff Layton wrote: > nit: title should probably be "sunrpc: eliminate NFSD_DEBUG" *sigh* Yes, of course. That is what I intended but not what I wrote. > > On Mon, 6 Apr 2015 09:46:00 -0400 > Mark Salter wrote: > > > Commit f895b252d4edf ("sunrpc: eliminate

[PATCH v3 0/3] Add initial configfs support for IIO

2015-04-06 Thread Daniel Baluta
This patchset adds initial support for configfs in IIO. Patch 1: * adds configfs infrastructure creating an "iio" configfs subystem + an initial "triggers" group. Patch 2: * adds the first "real" trigger type - hrtimer. Patch 3: * adds Documentation Changes since l

[PATCH v3 3/3] iio: Documentation: Add documentation for IIO configfs

2015-04-06 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- Changes since v2: * fix some whitespace issues reported by Paul Changes since v1: * addressed feedback for v1: * https://lkml.org/lkml/2015/3/25/648 * adapted to match the changes in patches 1 and 2 * fixed some typo

[PATCH v3 1/3] iio: configfs: Add configfs support to IIO

2015-04-06 Thread Daniel Baluta
This module is the core of IIO configfs. It creates the "iio" subsystem under configfs mount point root, with one default group for "triggers". It offers basic interface for registering software trigger types. Next patches will add "hrtimer" and "sysfs" trigger types. To add a new trigger type we

[PATCH v3 2/3] iio: trigger: Add support for highres timer trigger type

2015-04-06 Thread Daniel Baluta
This patch adds a new trigger type - the high resoluton timer ("hrtimer") under /config/iio/triggers/ and also creates a module that implements hrtimer trigger type functionality. A new IIO trigger is allocated when a new directory is created under /config/iio/triggers/. The name of the trigger is

[PATCH v2] fix code style in socklnd_proto.c

2015-04-06 Thread Kai Katsumata
fix coding style by ./scripts/checkpatch.pl. fix 80 charracters limit, space prohibited between function name and open parenthesis '(' and braces {} are not necessary for single statement blocks. Before patch is html format. But this is plain text format. Before patch is From: line didn't match t

[PATCH] clk: si5351: fix .round_rate for multisynth 6-7

2015-04-06 Thread Sergej Sawazki
The divider calculation for multisynth 6 and 7 differs from the calculation for multisynth 0-5. For MS6 and MS7, set MSx_P1 directly, MSx_P1=divide value [AN619, p. 6]. Referenced document: [AN619] Manually Generating an Si5351 Register Map, Rev. 0.4 Signed-off-by: Sergej Sawazki --- drivers/c

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-06 Thread Yasuaki Ishimatsu
Hi, On Fri, 3 Apr 2015 15:15:13 +0800 Dave Young wrote: > Hi, > > On 04/02/15 at 12:36pm, Yasuaki Ishimatsu wrote: > > > > On Wed, 1 Apr 2015 12:53:46 +0800 > > Dave Young wrote: > > > > > I got below kernel panic during kdump test on Thinkpad T420 laptop: > > > > > > [0.00] No NUMA

Re: [PATCH v2 1/4] break kconfig dependency loop

2015-04-06 Thread Mauro Carvalho Chehab
Em Mon, 06 Apr 2015 11:50:21 +0200 Paul Bolle escreveu: > On Wed, 2015-04-01 at 16:47 +0300, Jani Nikula wrote: > > I think part of the problem is that "select" is often used not as > > documented [1] but rather as "show my config in menuconfig for > > convenience even if my dependency is not met

RE: [PATCH v3 3/3] iio: add driver for Freescale MMA9553

2015-04-06 Thread Tirdea, Irina
> -Original Message- > From: Hartmut Knaack [mailto:knaac...@gmx.de] > Sent: 05 April, 2015 2:18 > To: Tirdea, Irina; Jonathan Cameron; linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Baluta, Daniel; Lars-Peter Clausen; Peter > Meerwald > Subject: Re: [PATCH v3 3/3] iio: ad

Re: [PATCH] sunrpc: eliminate RPC_DEBUG

2015-04-06 Thread Arnd Bergmann
On Monday 06 April 2015 10:04:52 Jeff Layton wrote: > > diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c > > index 665ef5a..a563ddb 100644 > > --- a/fs/lockd/svcsubs.c > > +++ b/fs/lockd/svcsubs.c > > @@ -31,7 +31,7 @@ > > static struct hlist_head nlm_files[FILE_NRHASH]; > > static DEFINE

  1   2   3   4   5   6   >