[PATCH 1/5] serial/8250_fintek: Use private data structure

2015-06-15 Thread Ricardo Ribalda Delgado
Save the port index and the line id in a private structure. Reported-by: Peter Hong Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/8250/8250_fintek.c | 48 ++- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git

[PATCH 5/5] serial/8250_fintek: Support for any io address.

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be configured for io addresses different than the standard. Query the chip for the configured addresses and try to match it with the pnp address. Reported-by: Peter Hong Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/8250/8250_fintek.c | 51

[PATCH 0/5] serial/8250_fintek Support any configuration.

2015-06-15 Thread Ricardo Ribalda Delgado
The original driver only supported the default configuration of the chip. This patchset add supports for all the possible configurations: -Different io address -Multiple chips -Different chip_ids Reported-by: Peter Hong Ricardo Ribalda Delgado (5): serial/8250_fintek: Use private data

[PATCH 2/5] serial/8250_fintek: Support for multiple base_ports

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be connected at address 0x4e and also 0x2e. Add some logic to find out the address of the chip. Reported-by: Peter Hong Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/8250/8250_fintek.c | 87 +-- 1 file changed, 52 insertions(+),

Re: Fw: Problems with bdev_write_page().

2015-06-15 Thread Charles Bertsch
On 06/12/2015 07:48 AM, Matthew Wilcox wrote: ... Can you propose a fix for Charles, who can trigger this bug and nicely bisected it for us - thanks Charles!!! (this patch probably doesn't apply to the current tree; it's done against a bit of a mishmash tree in my current working

[PATCH 4/5] serial/8250_fintek: Support keys different than default

2015-06-15 Thread Ricardo Ribalda Delgado
Chip can be configured to use entry key different than 0x77. Try all the valid keys until one gives out the right chip id. Reported-by: Peter Hong Signed-off-by: Ricardo Ribalda Delgado --- drivers/tty/serial/8250/8250_fintek.c | 39 +-- 1 file changed, 23

[PATCH] jbd2: get rid of open coded allocation retry loop

2015-06-15 Thread Michal Hocko
insert_revoke_hash does an open coded endless allocation loop if journal_oom_retry is true. It doesn't implement any allocation fallback strategy between the retries, though. The memory allocator doesn't know about the never fail requirement so it cannot potentially help to move on with the

Re: [PATCH V3 4/4] acpi, apei: use EFI memmap to map GHES memory

2015-06-15 Thread Matt Fleming
On Sat, 13 Jun, at 10:27:51AM, Borislav Petkov wrote: > On Fri, Jun 12, 2015 at 04:44:25PM -0700, Zhang, Jonathan Zhixiong wrote: > > Since such function is only needed for APEI functionality, at least as > > of today, I will name it arch_apei_get_mem_attribute(). > > Why? > > It can be extended

Re: [PATCH v5 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-15 Thread Huang Rui
On Mon, Jun 15, 2015 at 12:57:18PM +0200, Peter Zijlstra wrote: > On Mon, Jun 15, 2015 at 06:48:04PM +0800, Huang Rui wrote: > > diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h > > index 1fbc89d..47f3540 100644 > > --- a/arch/x86/include/asm/mwait.h > > +++

Re: [PATCH] scripts/package/Makefile: rpmbuild is needed for rpm targets

2015-06-15 Thread Michal Marek
On 2015-06-08 22:19, Jim Davis wrote: > Before rpm release 4.1, in 2002, either the rpm command or the > rpmbuild command could be used in the rpm-pkg or binrpm-pkg targets, > and the Makefile chose the rpm command if the rpmbuild command wasn't > found. > > After release 4.1, however, the rpm

Re: [RFC 2/3] mm: make optimistic check for swapin readahead

2015-06-15 Thread Rik van Riel
On 06/14/2015 11:04 AM, Ebru Akagunduz wrote: > This patch makes optimistic check for swapin readahead > to increase thp collapse rate. Before getting swapped > out pages to memory, checks them and allows up to a > certain number. It also prints out using tracepoints > amount of unmapped ptes. >

Re: [PATCH v5 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-15 Thread Huang Rui
On Mon, Jun 15, 2015 at 01:15:26PM +0200, Borislav Petkov wrote: > On Mon, Jun 15, 2015 at 12:57:18PM +0200, Peter Zijlstra wrote: > > Seeing how we disable C states, its unlikely to use less energy, so what > > exactly is its benefit, other than using fancy new instructions? > > If the

Re: [PATCH 10/10] x86/intel_rdt: Intel haswell Cache Allocation enumeration

2015-06-15 Thread Peter Zijlstra
On Fri, Jun 12, 2015 at 11:17:17AM -0700, Vikas Shivappa wrote: > + /* > + * Probe test for Haswell CPUs. > + */ > + if (c->x86 == 0x6 && c->x86_model == 0x3f) > + return hsw_probetest(); Firstly, isn't a probe already a test? Secondly, there's more HSW models:

[PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-06-15 Thread Krzysztof Kozlowski
When pl330 driver was used during sound playback, after some time or after a number of plays the sound became choppy or totally noisy. For example on Odroid XU3 board the first four executions of aplay with small WAVE worked fine, but fifth was unrecognizable with errors: $ aplay

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Pantelis Antoniou
Hi Rob, > On Jun 15, 2015, at 16:42 , Rob Herring wrote: > > On Mon, Jun 15, 2015 at 8:26 AM, Pantelis Antoniou > wrote: >> Hi Rob, >> >>> On Jun 15, 2015, at 16:24 , Rob Herring wrote: >>> >>> On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou >>> wrote: Documentation ABI entry for

Re: [RFC 3/3] mm: make swapin readahead to improve thp collapse rate

2015-06-15 Thread Rik van Riel
On 06/14/2015 11:04 AM, Ebru Akagunduz wrote: > This patch makes swapin readahead to improve thp collapse rate. > When khugepaged scanned pages, there can be a few of the pages > in swap area. > > With the patch THP can collapse 4kB pages into a THP when > there are up to max_ptes_swap swap ptes

Re: Build error -in -next due to 'Bluetooth: hci_uart: Support operational speed during setup'

2015-06-15 Thread Marcel Holtmann
Hi Guenter, > alpha:allmodconfig fails to build in -next with > > drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': > drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared > > BOTHER is not defined for all architectures and otherwise only > used with '#ifdef

Re: [PATCH 4/5] clk: qcom: Add A53 clock driver

2015-06-15 Thread Paul Bolle
On Fri, 2015-06-12 at 11:41 +0300, Georgi Djakov wrote: > --- /dev/null > +++ b/drivers/clk/qcom/clk-a53.c > +static int __init qcom_a53_init(void) > +{ > + return platform_driver_register(_a53_driver); > +} > +arch_initcall(qcom_a53_init); There's no function that's, well, called by

Re: [PATCH] drivers/firmware/memmap.c: Fix kernel-doc format

2015-06-15 Thread Yasuaki Ishimatsu
On Fri, 12 Jun 2015 13:06:42 +0200 Michal Simek wrote: > Fix kernel-doc format validation to be able to use kernel-doc > script for checking it. > > Signed-off-by: Michal Simek > --- Reviewed-by: Yasuaki Ishimatsu Thanks, Yasuaki Ishimatsu > > drivers/firmware/memmap.c | 24

Build error -in -next due to 'Bluetooth: hci_uart: Support operational speed during setup'

2015-06-15 Thread Guenter Roeck
alpha:allmodconfig fails to build in -next with drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared BOTHER is not defined for all architectures and otherwise only used with '#ifdef BOTHER'. Guenter -- To

Re: [PATCH] ethernet/sfc: mark state UNINIT after unregister

2015-06-15 Thread Edward Cree
On 12/06/15 19:51, Jarod Wilson wrote: > Without this change, modprobe -r sfc hits the BUG_ON() in > efx_pci_remove_main(). Best as I can tell, this was just an oversight, > efx->state gets set to STATE_UNINIT in the error path of > efx_register_netdev() just after unregister_netdevice(), and the

Re: [PATCH] cris: don't use module_init for non-modular core eeprom.c code

2015-06-15 Thread Paul Gortmaker
On 15-06-15 03:35 AM, Jesper Nilsson wrote: > On Sun, Jun 14, 2015 at 05:05:21PM -0400, Paul Gortmaker wrote: >> The eeprom.c code is compiled based on the Kconfig setting >> ETRAX_I2C_EEPROM, which is bool. So the code is either built in >> or absent. It will never be modular, so using

Re: [PATCH 0/5 v2] Fixes for leapsecond expiring early ABS_TIME CLOCK_REALTIME timers

2015-06-15 Thread Prarit Bhargava
On 06/15/2015 09:10 AM, Prarit Bhargava wrote: > > > On 06/11/2015 06:54 PM, John Stultz wrote: >> So this is a second round at trying to address the issue, trying >> to integrate feedback from Ingo and Thomas, trying to simplify >> what I can. I've also split out the changes so each can be >>

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Rob Herring
On Mon, Jun 15, 2015 at 8:26 AM, Pantelis Antoniou wrote: > Hi Rob, > >> On Jun 15, 2015, at 16:24 , Rob Herring wrote: >> >> On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou >> wrote: >>> Documentation ABI entry for overlays sysfs entries. >>> >>> Signed-off-by: Pantelis Antoniou >>> ---

[PATCH ljones-mfd] mfd: cros_ec:: ec_p can be static

2015-06-15 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- cros_ec.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index 11b1884b..dd6f4ff 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers/mfd/cros_ec.c @@ -27,7 +27,7 @@ #define

RE: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-15 Thread Madalin-Cristian Bucur
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > > On Wed, 2015-04-29 at 17:56 +0300, Madalin Bucur wrote: > > This introduces the Freescale Data Path Acceleration Architecture > > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > > BMan, PAMU

[ljones-mfd:ib-mfd-i2c-input-chrome-4.2 8/10] drivers/mfd/cros_ec.c:30:25: sparse: symbol 'ec_p' was not declared. Should it be static?

2015-06-15 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-i2c-input-chrome-4.2 head: ff4378f4b813d5aa26bbf814a9060638dab1fbbf commit: 57b33ff077beebb68481a2b6b8e5fe58ca998169 [8/10] mfd: cros_ec: Support multiple EC in a system reproduce: # apt-get install sparse git

Re: [PATCH resend] cpumask: don't perform while loop in cpumask_next_and()

2015-06-15 Thread Borislav Petkov
On Mon, Jun 15, 2015 at 03:12:21PM +0200, Peter Zijlstra wrote: > On Mon, Mar 02, 2015 at 12:22:03AM +0900, Sergey Senozhatsky wrote: > > > +++ b/lib/cpumask.c > > @@ -37,10 +37,11 @@ EXPORT_SYMBOL(__next_cpu_nr); > > int cpumask_next_and(int n, const struct cpumask *src1p, > >

Re: [PATCH v2] selinux: reduce locking overhead in inode_free_security()

2015-06-15 Thread Stephen Smalley
On 06/14/2015 12:01 AM, Raghavendra K T wrote: > On 06/13/2015 04:05 AM, Waiman Long wrote: >> On 06/12/2015 08:31 AM, Stephen Smalley wrote: >>> On 06/12/2015 02:26 AM, Raghavendra K T wrote: On 06/12/2015 03:01 AM, Waiman Long wrote: > The inode_free_security() function just took the

Re: [PATCH v2 1/2] ARM: Add cpu_resume_arm() for firmwares that resume in ARM state

2015-06-15 Thread Uwe Kleine-König
Hello Russell, On Mon, Jun 15, 2015 at 12:01:36PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 15, 2015 at 08:33:25AM +0200, Uwe Kleine-König wrote: > > Hello, > > > + .arm > > > +ENTRY(cpu_resume_arm) > > > + THUMB( badrr9, 1f ) @ Kernel is entered in ARM. > > > +

Re: kexec_load(2) bypasses signature verification

2015-06-15 Thread Josh Boyer
On Mon, Jun 15, 2015 at 9:17 AM, Theodore Ts'o wrote: > On Mon, Jun 15, 2015 at 08:14:19AM -0400, Josh Boyer wrote: >> Yes, which is why most of the distro vendors carry an out-of-tree >> patch that disables the old kexec in an SB setup. It would be nice if >> we could merge said patches.

Re: [PATCH] s390/zcrypt: Convert use of __constant_cpu_to_le16 to cpu_to_le16

2015-06-15 Thread Ingo Tuchscherer
Thanks for bringing up. I pushed the patch into our internal repository, it will be upstream soon. Mit freundlichen Grüßen / Kind regards Ingo Tuchscherer Software Development - Linux on z Systems IBM Systems Group

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread juncheng bai
On 2015/6/15 21:03, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai wrote: From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 From: juncheng bai Date: Mon, 15 Jun 2015 18:34:00 +0800 Subject: [PATCH] storage:rbd: make the size of request is equal to

[PATCH v3] x86/asm/entry/32, selftests: Add test_syscall_vdso test

2015-06-15 Thread Denys Vlasenko
The test checks that all registers are preserved across 32-bit syscalls. It tests syscalls through VDSO (if available) and through INT 0x80, normally and under ptrace. If kernel is a 64-bit one, high registers (r8..r15) are poisoned before call and checked afterwards. They must be either

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Pantelis Antoniou
Hi Rob, > On Jun 15, 2015, at 16:24 , Rob Herring wrote: > > On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou > wrote: >> Documentation ABI entry for overlays sysfs entries. >> >> Signed-off-by: Pantelis Antoniou >> --- >> .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 >>

Re: [PATCH v4 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays

2015-06-15 Thread Rob Herring
On Fri, Jun 12, 2015 at 2:38 PM, Pantelis Antoniou wrote: > Documentation ABI entry for overlays sysfs entries. > > Signed-off-by: Pantelis Antoniou > --- > .../ABI/testing/sysfs-firmware-devicetree-overlays | 35 > ++ > 1 file changed, 35 insertions(+) > create mode

Re: [PATCH 3.12 000/111] 3.12.44-stable review

2015-06-15 Thread Jiri Slaby
On 06/10/2015, 07:02 PM, Guenter Roeck wrote: > On 06/10/2015 08:27 AM, Jiri Slaby wrote: >> This is the start of the stable review cycle for the 3.12.44 release. >> There are 111 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being

Re: kexec_load(2) bypasses signature verification

2015-06-15 Thread Theodore Ts'o
On Mon, Jun 15, 2015 at 08:14:19AM -0400, Josh Boyer wrote: > Yes, which is why most of the distro vendors carry an out-of-tree > patch that disables the old kexec in an SB setup. It would be nice if > we could merge said patches. However, they depend on Matthew's >

Help configuring kernel for Baytrail system

2015-06-15 Thread Nicolas George
Hi. I am trying to configure a kernel for a Baytrail SoC-based hybrid laptop (a Lenovo Miix 3-1030). Amongst other things, the battery gauge is not detected. I suspect it may be related to the following commit: # commit 894acb2f823b13afacfe40b02efbd9146af58586 # Author: David Box # Date: Thu

Re: [rcu] INFO: rcu_sched stall on CPU (30000 ticks this GP) idle=140000000000001 (t=30000 jiffies q=1)

2015-06-15 Thread Miroslav Benes
Hi, On Mon, 15 Jun 2015, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit ec1fe396ff42e240c9b32111ee53665c5916fe5e > Author: Miroslav Benes

Re: [RFC PATCH 06/18] signal/kthread: Initial implementation of kthread signal handling

2015-06-15 Thread Petr Mladek
Hi Oleg, I am sorry for the late reply. I wanted to think more before answering all the mails. On Mon 2015-06-08 23:13:36, Oleg Nesterov wrote: > I do not. Contrary, I think this needs more code in the likely case. > Anyway, this API won't have too many users, so I don't even this this > is that

Re: [PATCH resend] cpumask: don't perform while loop in cpumask_next_and()

2015-06-15 Thread Peter Zijlstra
On Mon, Mar 02, 2015 at 12:22:03AM +0900, Sergey Senozhatsky wrote: > +++ b/lib/cpumask.c > @@ -37,10 +37,11 @@ EXPORT_SYMBOL(__next_cpu_nr); > int cpumask_next_and(int n, const struct cpumask *src1p, >const struct cpumask *src2p) > { > + struct cpumask tmp; > + > +

[PATCH] staging: rtl8723au: core: Remove unneeded #ifdefs

2015-06-15 Thread Andreas Ruprecht
In rtw_mlme_ext.c, nested #ifdef blocks form the following structure inside the file: #ifdef CONFIG_8723AU_AP_MODE (line 1323) [...] #ifdef CONFIG_8723AU_AP_MODE (line 1720) [...] #endif (2 more ifdef blocks with CONFIG_8723AU_AP_MODE follow) [...] #endif /*

Re: [PATCH 0/5 v2] Fixes for leapsecond expiring early ABS_TIME CLOCK_REALTIME timers

2015-06-15 Thread Prarit Bhargava
On 06/11/2015 06:54 PM, John Stultz wrote: > So this is a second round at trying to address the issue, trying > to integrate feedback from Ingo and Thomas, trying to simplify > what I can. I've also split out the changes so each can be > more easily reviewed. Its still not tiny, but its simpler.

[PATCH v2] mm: show proportional swap share of the mapping

2015-06-15 Thread Minchan Kim
We want to know per-process workingset size for smart memory management on userland and we use swap(ex, zram) heavily to maximize memory efficiency so workingset includes swap as well as RSS. On such system, if there are lots of shared anonymous pages, it's really hard to figure out exactly how

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread Ilya Dryomov
On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai wrote: > From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 > From: juncheng bai > Date: Mon, 15 Jun 2015 18:34:00 +0800 > Subject: [PATCH] storage:rbd: make the size of request is equal to the > size of the object > > ensures

Re: [PATCH 5/7] SELinux: Handle opening of a unioned file

2015-06-15 Thread Stephen Smalley
On 06/12/2015 11:30 AM, David Howells wrote: > Hi Stephen, > > David Howells wrote: > >> Stephen Smalley wrote: >> >>> Also, would be good to create a common helper for use here, by >>> selinux_dentry_init_security(), selinux_inode_init_security(), and >>> may_create(). Already some seeming

Re: [RFC] kconfig: a new command line tool to set configs

2015-06-15 Thread Michal Marek
On 2015-05-12 12:31, Dan Carpenter wrote: > This is an ugly hack job I made last night and it barely works. It > does two things: > > 1) Sometimes I want to search for a config so I have to load > menuconfig, then search for the config entry, then exit. With > this script I simply run:

Re: [PATCH 08/12] media/i2c/tvp514x: Remove compat control ops

2015-06-15 Thread Lad, Prabhakar
On Fri, Jun 12, 2015 at 5:31 PM, Ricardo Ribalda Delgado wrote: > They are no longer used in old non-control-framework > bridge drivers. > > Reported-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad > --- >

Re: [PATCH 09/12] media/i2c/tvp7002: Remove compat control ops

2015-06-15 Thread Lad, Prabhakar
On Fri, Jun 12, 2015 at 5:31 PM, Ricardo Ribalda Delgado wrote: > They are no longer used in old non-control-framework > bridge drivers. > > Reported-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad > --- >

Re: [PATCH 01/12] media/i2c/adv7343: Remove compat control ops

2015-06-15 Thread Lad, Prabhakar
On Fri, Jun 12, 2015 at 5:31 PM, Ricardo Ribalda Delgado wrote: > They are no longer used in old non-control-framework > bridge drivers. > > Reported-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Delgado Acked-by: Lad, Prabhakar Cheers, --Prabhakar Lad > --- >

Re: perf: aux area related crash and warnings

2015-06-15 Thread Alexander Shishkin
Peter Zijlstra writes: > Alex, any clue? Let me look into it. Definitely haven't seen anything like that in my tests. > On Fri, Jun 12, 2015 at 02:42:36PM -0400, Vince Weaver wrote: >> On Thu, 11 Jun 2015, Vince Weaver wrote: >> >> > and while I was trying to cut and paste that, the locked

Re: [PATCH 05/10] x86/intel_rdt: Add support for Cache Allocation detection

2015-06-15 Thread Peter Zijlstra
On Fri, Jun 12, 2015 at 11:17:12AM -0700, Vikas Shivappa wrote: > + /* Additional Intel-defined flags: level 0x0010 */ > + if (c->cpuid_level >= 0x0010) { > + u32 eax, ebx, ecx, edx; > + > + cpuid_count(0x0010, 0, , , , ); > +

Re: [RFC PATCH 02/18] kthread: Add API for iterant kthreads

2015-06-15 Thread Petr Mladek
On Tue 2015-06-09 15:23:49, Tejun Heo wrote: > Hello, Petr. > > On Fri, Jun 05, 2015 at 05:01:01PM +0200, Petr Mladek wrote: > > +static int kthread_iterant_fn(void *kti_ptr) > > +{ > > + struct kthread_iterant *kti = kti_ptr; > > + void *data = kti->data; > > + > > + if (kti->init) > > +

serial: stm32-usart: use of undefined SERIAL_STM32_USART_CONSOLE

2015-06-15 Thread Andreas Ruprecht
Hi Maxime, your commit 48a6092fb41f ("serial: stm32-usart: Add STM32 USART Driver") was merged into linux-next today (i.e., next-20150615), and contains the following piece of code: [...] #if defined(CONFIG_SERIAL_STM32_USART_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) #define SU

Re: [RFC] panic_on_oom_timeout

2015-06-15 Thread Michal Hocko
On Sat 13-06-15 00:23:00, Tetsuo Handa wrote: [...] > >From e59b64683827151a35257384352c70bce61babdd Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Fri, 12 Jun 2015 23:56:18 +0900 > Subject: [RFC] oom: implement memdie_task_panic_secs > > OOM killer is a desperate last resort reclaim

4.0.5: WARNING: CPU: 3 PID: 249 at /home/kernel/COD/linux/mm/backing-dev.c:372 bdi_unregister+0x36/0x40()

2015-06-15 Thread Tomasz Chmielewski
Got this after stopping a RAID-1 array: [ 626.694737] md: md3 still in use. [ 626.694946] md: delaying resync of md3 until md2 has finished (they share one or more physical units) [ 628.256210] md3: detected capacity change from 388873344 to 0 [ 628.256372] md: md3 stopped. [

RE: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-15 Thread Madalin-Cristian Bucur
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > > On Wed, 2015-06-10 at 07:38 +, Madalin-Cristian Bucur wrote: > > Hi Eric, > > > > Can you please tell us if this change would be for the better? > > > > I was about to say yes to this request but checked and

Re: [PATCH v5 1/2] x86, mwaitt: add monitorx and mwaitx instruction

2015-06-15 Thread Huang Rui
On Mon, Jun 15, 2015 at 12:55:42PM +0200, Peter Zijlstra wrote: > On Mon, Jun 15, 2015 at 06:48:03PM +0800, Huang Rui wrote: > > +/* > > + * MWAITT allows for both a timer value to get you out of the MWAIT as > > + * well as the normal exit conditions. > > + * > > + * MWAITX ECX[1]: enable timer

Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151

2015-06-15 Thread Sergej Sawazki
Am 15. Juni 2015 11:49:22 MESZ, schrieb Mark Brown : >On Sat, Jun 13, 2015 at 03:21:02PM +0200, Sergej Sawazki wrote: > >> I did some debugging and found that regmap_readable(), at regmap- >> debugfs.c:109, returns "false" for all registers, hence the >> debugfs_off_cache list remains empty and

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Herbert Xu
On Mon, Jun 15, 2015 at 01:38:53PM +0200, Boris Brezillon wrote: > Oh right. > I still have trouble understanding the need for the backlog concept > (maybe you can give some insight): the backlog is just another list > where we put all the requests when the queue has exceeded the limit > fixed in

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Herbert Xu
On Mon, Jun 15, 2015 at 01:31:35PM +0200, Boris Brezillon wrote: > > I haven't found any driver updating the req->info field with the new > IV. Could you point me to one of them. This is an integral part of the API so if any driver isn't doing this then they should be fixed. Ironically the

Re: [PATCH 02/10] x86/intel_cqm: Modify hot cpu notification handling

2015-06-15 Thread Peter Zijlstra
On Fri, Jun 12, 2015 at 11:17:09AM -0700, Vikas Shivappa wrote: > static inline void cqm_pick_event_reader(int cpu) > { > - int phys_id = topology_physical_package_id(cpu); > - int i; > + struct cpumask tmp; No cpumasks on stacks. -- To unsubscribe from this list: send the line

Re: [BUG ?] delay always evaluates to 0

2015-06-15 Thread Stanislav Yakovlev
Hi Nicholas, On 12 June 2015 at 20:58, Nicholas Mc Guire wrote: > Hi ! > > commit 2c86c275015c ("Add ipw2100 wireless driver.") introduced > > drivers/net/wireless/ipw2100.c - line-numbers are from next-20150511 > 1410 static int ipw2100_hw_phy_off(struct ipw2100_priv *priv) > 1411 { > 1412 >

Re: [PATCH] Kbuild: Add ID files to .gitignore

2015-06-15 Thread Michal Marek
On 2015-04-16 23:02, Andi Kleen wrote: > From: Andi Kleen > > I use GNU id-utils to find code (essentially a database backed grep), > which generates an ID file to maintain its data. > > Add ID to the .gitignore file. > > Signed-off-by: Andi Kleen Applied to kbuild.git#misc now, sorry for

Re: [PATCH 01/10] cpumask: Introduce cpumask_any_online_but

2015-06-15 Thread Peter Zijlstra
On Fri, Jun 12, 2015 at 11:17:08AM -0700, Vikas Shivappa wrote: > There is currently no cpumask helper function to pick a "random" cpu > from a mask which is also online. > > cpumask_any_online_but() does that which is similar to cpumask_any_but() > but also returns a cpu that is online. > >

Re: [PATCH v7 0/8] mfd: cros_ec: Add multi EC and proto v3 support

2015-06-15 Thread Lee Jones
Wolfram, Dmitry, Olof, Enjoy! The following changes since commit 5ebe6afaf0057ac3eaeb98defd5456894b446d22: Linux 4.1-rc2 (2015-05-03 19:22:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-i2c-input-chrome-4.2 for you to

Re: [PATCH V2 2/3] i2c-piix4: Use Macro for AMD CZ SMBus device ID

2015-06-15 Thread Jean Delvare
On Thu, 11 Jun 2015 20:11:46 +0800, Wan ZongShun wrote: > Change AMD CZ SMBUS device ID from 0x790b to > use Macro definition > > Signed-off-by: Wan ZongShun > --- > drivers/i2c/busses/i2c-piix4.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [sched] WARNING: CPU: 0 PID: 11 at kernel/sched/core.c:1188 do_set_cpus_allowed()

2015-06-15 Thread Peter Zijlstra
On Sun, Jun 14, 2015 at 04:52:59PM +0800, Fengguang Wu wrote: > Hi Peter, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core Yeah sorry, just mark this tree broken until it changes. I've

Re: [PATCH v7 8/8] mfd: cros_ec: spi: Add delay for asserting CS

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Alexandru M Stan > > Some ECs need a little time for waking up before they can accept > SPI data at a high speed. This is configurable via a DT property > "google,cros-ec-spi-pre-delay". > > This patch makes the cros_ec_spi driver to

Re: [PATCH v7 6/8] mfd: cros_ec: Support multiple EC in a system

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Gwendal Grignou > > Chromebooks can have more than one Embedded Controller so the > cros_ec device id has to be incremented for each EC registered. > > Add a new structure to represent multiple EC as different char > devices (e.g:

Re: [PATCH v7 7/8] mfd: cros_ec: spi: Add a DT property to delay asserting the CS

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Alexandru M Stan > > Some ECs need a little time for waking up before they can accept > SPI data at a high speed. Add a "google,cros-ec-spi-pre-delay" > property to the DT binding to configure this. > > If this property isn't set,

Re: [PATCH v7 4/8] mfd: cros_ec: add proto v3 skeleton

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Stephen Barber > > Add support in cros_ec.c to handle EC host command protocol v3. > For v3+, probe for maximum shared protocol version and max > request, response, and passthrough sizes. For now, this will > always fall back to v2,

Re: [PATCH v7 5/8] mfd: cros_ec: add bus-specific proto v3 code

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Stephen Barber > > Add proto v3 support to the SPI, I2C, and LPC. > > Signed-off-by: Stephen Barber > Signed-off-by: Javier Martinez Canillas > Tested-by: Heiko Stuebner > Reviewed-by: Gwendal Grignou > Tested-by: Gwendal Grignou

Re: [PATCH v7 3/8] mfd: cros_ec: Move protocol helpers out of the MFD driver

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > The MFD driver should only have the logic to instantiate its child devices > and setup any shared resources that will be used by the subdevices drivers. > > The cros_ec MFD is more complex than expected since it also has helpers to >

Re: [PATCH v7 2/8] mfd: cros_ec: rev cros_ec_commands.h

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > From: Stephen Barber > > Update cros_ec_commands.h to the latest version in the EC > firmware sources and add power domain and passthru commands. > > Also, update lightbar to use new command names. > > Signed-off-by: Stephen Barber >

Re: [PATCH v7 1/8] mfd: cros_ec: Use a zero-length array for command data

2015-06-15 Thread Lee Jones
On Tue, 09 Jun 2015, Javier Martinez Canillas wrote: > Commit 1b84f2a4cd4a ("mfd: cros_ec: Use fixed size arrays to transfer > data with the EC") modified the struct cros_ec_command fields to not > use pointers for the input and output buffers and use fixed length > arrays instead. > > This

Re: perf: aux area related crash and warnings

2015-06-15 Thread Peter Zijlstra
Alex, any clue? On Fri, Jun 12, 2015 at 02:42:36PM -0400, Vince Weaver wrote: > On Thu, 11 Jun 2015, Vince Weaver wrote: > > > and while I was trying to cut and paste that, the locked haswell just took > > down the network switch so I can't get the rest until tomorrow. > > here are the full

[PATCH] pkt_sched: sch_qfq: remove redundant -if- control statement

2015-06-15 Thread Andrea Parri
The control !hlist_unhashed() in qfq_destroy_agg() is unnecessary because already performed in hlist_del_init(), so remove it. Signed-off-by: Andrea Parri --- net/sched/sch_qfq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/sched/sch_qfq.c b/net/sched/sch_qfq.c

Re: [PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-06-15 Thread Michal Marek
On 2015-06-15 13:59, Jan Beulich wrote: > 1: allow use of relations other than (in)equality > 2: re-generate *.c_shipped files after previous change > > Signed-off-by: Jan Beulich Applied to kbuild.git#kconfig now, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: Build regressions/improvements in v4.1-rc8

2015-06-15 Thread Geert Uytterhoeven
On Mon, Jun 15, 2015 at 12:56 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.1-rc8[1] to v4.1-rc7[3], the summaries are: > - build errors: +10/-7 + /home/kisskb/slave/src/Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c: error: impossible register constraint in 'asm': => 34:1

Re: kexec_load(2) bypasses signature verification

2015-06-15 Thread Josh Boyer
On Sun, Jun 14, 2015 at 11:50 PM, Theodore Ts'o wrote: > From experimentation and from looking at the sources, it appears that > the signature checking is only done in the kexec_file_load(2) system > all, and not in the kexec_load(2) system call. And I understand why > -- the signature is not

Re: [PATCH 4/5] pcmcia: handle anonymous cards by generating a fake CIS

2015-06-15 Thread Alan Cox
> Unfortunately, this patch does not work well with all of the callers of > pccard_validate_cis(). While it helps for ds.c:pcmcia_card_add() and does > not matter for cistpl.c:pccard_show_cis(), it breaks the callback in > rsrc_nonstatic.c:readable(): I'm not sure it's the right way to do

Re: Audio crackles with 4.1-rc1

2015-06-15 Thread Takashi Iwai
At Sun, 14 Jun 2015 13:24:20 +0100, Jonathan McDowell wrote: > > On Fri, Jun 12, 2015 at 04:13:16PM +0200, Takashi Iwai wrote: > > At Fri, 12 Jun 2015 12:09:55 +0200, > > Takashi Iwai wrote: > > > At Fri, 12 Jun 2015 12:45:23 +0300, > > > Mihai Donțu wrote: > > > > Nice shot! It appears to work.

[PATCH v3 2/2] kconfig: re-generate *.c_shipped files after previous change

2015-06-15 Thread Jan Beulich
Signed-off-by: Jan Beulich --- v3: Split off from main patch. --- a/scripts/kconfig/zconf.lex.c_shipped +++ b/scripts/kconfig/zconf.lex.c_shipped @@ -365,333 +365,354 @@ int zconflineno = 1; extern char *zconftext; #define yytext_ptr zconftext -static yyconst flex_int16_t yy_nxt[][17] =

[PATCH v3 1/2] kconfig: allow use of relations other than (in)equality

2015-06-15 Thread Jan Beulich
Over the years I found it desirable to be able to use all sorts of relations, not just (in)equality. And apparently I'm not the only one, as there's at least one example in the tree where the programmer assumed this would work (see DEBUG_UART_8250_WORD in arch/arm/Kconfig.debug). Another possible

Re: [PATCH 10/20] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2015-06-15 Thread Sreekanth Reddy
On Mon, Jun 15, 2015 at 5:23 PM, Johannes Thumshirn wrote: > On Mon, Jun 15, 2015 at 04:41:56PM +0530, Sreekanth Reddy wrote: >> On Mon, Jun 15, 2015 at 3:16 PM, Johannes Thumshirn >> wrote: >> > On Fri, Jun 12, 2015 at 03:12:22PM +0530, Sreekanth Reddy wrote: >> >> Added the following Dell

[PATCH 0/2] kconfig: allow use of relations other than (in)equality

2015-06-15 Thread Jan Beulich
1: allow use of relations other than (in)equality 2: re-generate *.c_shipped files after previous change Signed-off-by: Jan Beulich --- Note that while benign for the first patch, the second patch can only be applied cleanly on top of "kconfig: don't silently ignore unhandled characters" (commit

Re: [PATCH 10/20] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2015-06-15 Thread Johannes Thumshirn
On Mon, Jun 15, 2015 at 04:41:56PM +0530, Sreekanth Reddy wrote: > On Mon, Jun 15, 2015 at 3:16 PM, Johannes Thumshirn > wrote: > > On Fri, Jun 12, 2015 at 03:12:22PM +0530, Sreekanth Reddy wrote: > >> Added the following Dell branding to the mpt3sas driver. > >> > >> "VendorID" "DeviceID"

Re: [PATCH 05/12] media/i2c/sr030pc30: Remove compat control ops

2015-06-15 Thread Sylwester Nawrocki
Hi Hans, On 15/06/15 12:23, Hans Verkuil wrote: > Sylwester, > > Can you confirm that this is only used with bridge drivers that use the > control framework? Actually, this driver isn't used by any bridge driver > in the kernel tree, but it is probably in use by out-of-tree code. > > I'd like

Re: [PATCH v4 3/8] Driver core: wakeup the parent device before trying probe

2015-06-15 Thread Rafael J. Wysocki
On Mon, Jun 15, 2015 at 11:57 AM, Andy Shevchenko wrote: > From: "Rafael J. Wysocki" > > If the parent is still suspended when driver probe is > attempted, the result may be failure. > > For example, if the parent is a PCI MFD device that has been > suspended when we try to probe our device, any

Re: [PATCH v2] iio: allow userspace to flush the hwfifo with non-blocking reads

2015-06-15 Thread Lars-Peter Clausen
On 06/14/2015 04:33 PM, Jonathan Cameron wrote: On 05/06/15 13:56, Octavian Purdila wrote: This patch changes the semantics of non-blocking reads so that a hardware fifo flush is triggered if the available data in the device buffer is less then the requested size. This allows userspace to

Re: [Intel-gfx] [BUG, bisect] Re: drm/i915: WARN_ON(dev_priv->mm.busy)

2015-06-15 Thread Jani Nikula
On Mon, 15 Jun 2015, Ville Syrjälä wrote: > On Mon, Jun 15, 2015 at 01:25:38AM -0700, Jeremiah Mahler wrote: >> Daniel, >> >> On Mon, Jun 15, 2015 at 08:57:47AM +0200, Daniel Vetter wrote: >> > Can you please retest with >> > >> > commit 0aedb1626566efd72b369c01992ee7413c82a0c5 >> > Author:

Re: [PATCH 2/3] vfs, writeback: replace FS_CGROUP_WRITEBACK with MS_CGROUPWB

2015-06-15 Thread Jan Kara
On Sun 14-06-15 00:42:36, Tejun Heo wrote: > Hello, Christoph. > > On Sat, Jun 13, 2015 at 09:16:08AM -0700, Christoph Hellwig wrote: > > On Fri, Jun 12, 2015 at 04:57:33PM -0500, Tejun Heo wrote: > > > FS_CGROUP_WRITEBACK indicates whether a file_system_type supports > > > cgroup writeback;

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Boris Brezillon
On Mon, 15 Jun 2015 17:37:54 +0800 Herbert Xu wrote: > On Fri, Jun 12, 2015 at 09:15:56AM +0200, Boris Brezillon wrote: > > > > +static inline int mv_cesa_sg_count(struct scatterlist *sg, int nbytes) > > +{ > > + int nents = 0; > > + > > + while (nbytes > 0) { > > + nents++; > > +

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Boris Brezillon
On Mon, 15 Jun 2015 17:48:27 +0800 Herbert Xu wrote: > On Fri, Jun 12, 2015 at 09:15:56AM +0200, Boris Brezillon wrote: > > > > +static void mv_cesa_dequeue_req_unlocked(struct mv_cesa_engine *engine) > > +{ > > + struct crypto_async_request *req; > > + struct mv_cesa_ctx *ctx; > > + > > +

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Boris Brezillon
On Mon, 15 Jun 2015 17:54:21 +0800 Herbert Xu wrote: > On Fri, Jun 12, 2015 at 09:15:56AM +0200, Boris Brezillon wrote: > > > > +static int mv_cesa_cbc_aes_op(struct ablkcipher_request *req, > > + struct mv_cesa_op_ctx *tmpl) > > +{ > > + mv_cesa_update_op_cfg(tmpl,

Re: X86 GIT GCC 5 compilation warning

2015-06-15 Thread Michael Matz
Hi, On Sun, 14 Jun 2015, Borislav Petkov wrote: > > arch/x86/kernel/head_32.S:66: Warning: shift count out of range (32 is not > > between 0 and 31) > > That's > > LOWMEM_PAGES = (((1<<32) - __PAGE_OFFSET) >> PAGE_SHIFT) > > and a 32-bit build. So gas hasn't been complaning so far about

Re: [PATCH 0/3] Introduce framework for SLIMbus device drivers

2015-06-15 Thread Mark Brown
On Sun, Jun 14, 2015 at 08:32:44AM -0700, Greg KH wrote: > I'd like to see the patches that use this infrastructure before > reviewing these as it's kind of pointless for us to accept these at this > point in time. It would be nice to see a controller driver at least. I'm a bit more relaxed

Re: [RESEND PATCH v4 04/14] crypto: add a new driver for Marvell's CESA

2015-06-15 Thread Boris Brezillon
On Mon, 15 Jun 2015 17:59:44 +0800 Herbert Xu wrote: > On Fri, Jun 12, 2015 at 09:15:56AM +0200, Boris Brezillon wrote: > > +struct ahash_alg mv_ahmac_sha1_alg = { > > + .init = mv_cesa_ahmac_sha1_init, > > + .update = mv_cesa_ahash_update, > > + .final = mv_cesa_ahash_final, > > +

<    1   2   3   4   5   6   7   8   9   10   >