Re: [PATCH v9 3/3] iio: adc: add support for Allwinner SoCs ADC

2017-01-14 Thread Quentin Schulz
Hi Jonathan, On 08/01/2017 12:17, Jonathan Cameron wrote: > On 30/12/16 14:40, Jonathan Cameron wrote: >> On 13/12/16 14:33, Quentin Schulz wrote: >>> The Allwinner SoCs all have an ADC that can also act as a touchscreen >>> controller and a thermal sensor. This patch adds the ADC driver which is

Re: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer

2017-01-14 Thread Paul Menzel
Dear Greg, On 2017-01-13 14:00, Greg Kroah-Hartman wrote: On Wed, Jan 11, 2017 at 03:26:06PM +0100, Paul Menzel wrote: On 01/11/17 15:12, Winkler, Tomas wrote: > > > On 01/11/17 10:24, Winkler, Tomas wrote: > > > > > > > > > > On Wed, Jan 11, 2017 at 01:27:21AM +0200, Tomas Winkler wrote: >

Re: [PATCH v9 3/3] iio: adc: add support for Allwinner SoCs ADC

2017-01-14 Thread Jonathan Cameron
On 14 January 2017 19:19:58 GMT+00:00, Quentin Schulz wrote: >Hi Jonathan, > >On 08/01/2017 12:17, Jonathan Cameron wrote: >> On 30/12/16 14:40, Jonathan Cameron wrote: >>> On 13/12/16 14:33, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a >touchscreen

Re: [PATCH] drivers: staging: rtl8188eu: include: wifi: Unnecessary do-while removed from macro

2017-01-14 Thread Kartikey Singh
On Sat, Jan 14, 2017 at 07:38:01PM +0100, Greg KH wrote: > On Sat, Jan 14, 2017 at 11:53:36PM +0530, Kartikey Singh wrote: > > do while loop removed from single statement macro > > > > Signed-off-by: Kartikey Singh > > --- > > drivers/staging/rtl8188eu/include/wifi.h | 4 +--- > > 1 file changed

Re: [char-misc for 4.10-rc4 V2] mei: bus: enable OS version only for SPT and newer

2017-01-14 Thread Greg Kroah-Hartman
On Sat, Jan 14, 2017 at 08:27:31PM +0100, Paul Menzel wrote: > Dear Greg, > > > On 2017-01-13 14:00, Greg Kroah-Hartman wrote: > > On Wed, Jan 11, 2017 at 03:26:06PM +0100, Paul Menzel wrote: > > > > On 01/11/17 15:12, Winkler, Tomas wrote: > > > > > > > > > On 01/11/17 10:24, Winkler, Tomas wr

Re: [PATCH] drivers: staging: rtl8188eu: include: wifi: Unnecessary do-while removed from macro

2017-01-14 Thread Greg KH
On Sun, Jan 15, 2017 at 12:44:41AM +0530, Kartikey singh wrote: > I think that macro is required. Anyway I won't have trouble cleaning it up if > you say so. I don't see it being used anywhere, do you? Use 'git grep' to search for it. Even better yet, remove it and rebuild the driver and see if

Re: [PATCH] drivers: staging: rtl8188eu: include: wifi: Unnecessary do-while removed from macro

2017-01-14 Thread Ivan Safonov
On 01/14/2017 10:40 PM, Greg KH wrote: On Sun, Jan 15, 2017 at 12:44:41AM +0530, Kartikey singh wrote: Even better yet, remove it and rebuild the driver and see if it breaks :) Only if the code is not between #ifn?def / #endif...

Re: [PATCH 02/19] staging: iio: isl29028: remove enable flag from isl29028_enable_proximity()

2017-01-14 Thread Brian Masney
On Sun, Dec 04, 2016 at 11:16:04AM +, Jonathan Cameron wrote: > On 04/12/16 02:19, Brian Masney wrote: > > isl29028_enable_proximity() has a boolean argument named enable. This > > function is only called once and the enable flag is set to true in that > > call. This patch removes the enable pa

[PATCH 1/1 linux-next] Documentation/filesystems/proc.txt: add VmPin

2017-01-14 Thread Fabian Frederick
Commit bc3e53f682d9 ("mm: distinguish between mlocked and pinned pages") added VmPin in /proc//status. Report that in Documentation/filesystems/proc.txt Also move Umask after Name to keep correct order. Signed-off-by: Fabian Frederick --- Documentation/filesystems/proc.txt | 5 +++-- 1 file ch

[PATCH 1/1] ax25: Fix segfault after sock connection timeout

2017-01-14 Thread Basil Gunn
The ax.25 socket connection timed out & the sock struct has been previously taken down ie. sock struct is now a NULL pointer. Checking the sock_flag causes the segfault. Check if the socket struct pointer is NULL before checking sock_flag. This segfault is seen in timed out netrom connections. Pl

Re: [PATCH tip/core/rcu 0/5] Documentation updates for 4.11

2017-01-14 Thread Josh Triplett
On Sat, Jan 14, 2017 at 12:50:32AM -0800, Paul E. McKenney wrote: > Hello! > > This series provides documentation updates: > > 1.Add Design documentation for expedited grace periods. > > 2.Fix RCU requirements typos, courtesy of Tetsuo Handa. > > 3.doc: Update control-dependencies s

Re: [PATCH] slub: Trace free objects at KERN_INFO

2017-01-14 Thread Christoph Lameter
Acked-by: Christoph Lameter

Re: [PATCH tip/core/rcu 0/9] Torture-test changes for 4.11

2017-01-14 Thread Josh Triplett
On Sat, Jan 14, 2017 at 01:25:33AM -0800, Paul E. McKenney wrote: > Hello! > > This series provides torture-test updates: > > 1.Add a check for CONFIG_RCU_STALL_COMMON for TINY01, in order > to complain if this case is not tested. > > 2.Add CONFIG_PROVE_RCU_REPEATEDLY=y for TINY02,

RE: [PATCH] radix-tree: Fix private list warnings

2017-01-14 Thread Matthew Wilcox
From: Johannes Weiner [mailto:han...@cmpxchg.org] > On Thu, Jan 12, 2017 at 05:28:23PM -0800, Matthew Wilcox wrote: > > The newly introduced warning in radix_tree_free_nodes() was testing the > > wrong variable; it should have been 'old' instead of 'node'. Rather > > than replace that one instance

Re: [PATCH v2 2/2] mmc: pwrseq: add support for Marvell SD8787 chip

2017-01-14 Thread kbuild test robot
Hi Matt, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc3 next-20170113] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Matt-Ranostay/mmc-pwrseq-add-support-for-Marvel

[PATCH net-next v3 00/10] net: dsa: Support for pdata in dsa2

2017-01-14 Thread Florian Fainelli
Hi all, This is not exactly new, and was sent before, although back then, I did not have an user of the pre-declared MDIO board information, but now we do. Note that I have additional changes queued up to have b53 register platform data for MIPS bcm47xx and bcm63xx. Yes I know that we should have

[PATCH net-next v3 10/10] ARM: orion: Register DSA switch as a MDIO device

2017-01-14 Thread Florian Fainelli
Utilize the ability to pass board specific MDIO bus information towards a particular MDIO device thus allowing us to provide the per-port switch layout to the Marvell 88E6XXX switch driver. Since we would end-up with conflicting registration paths, do not register the "dsa" platform device anymore

[PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-14 Thread Florian Fainelli
Now that the base device driver code provides an identical implementation of dev_find_class() utilize device_find_class() instead of our own version of it. Signed-off-by: Florian Fainelli --- net/dsa/dsa.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git

[PATCH net-next v3 05/10] drivers: base: Add device_find_class()

2017-01-14 Thread Florian Fainelli
Add a helper function to lookup a device reference given a class name. This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and make it more generic. Signed-off-by: Florian Fainelli --- drivers/base/core.c| 19 +++ include/linux/device.h | 1 + 2 files changed

[PATCH net-next v3 03/10] net: dsa: Suffix function manipulating device_node with _dn

2017-01-14 Thread Florian Fainelli
Make it clear that these functions take a device_node structure pointer Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index 6e3675220fef..04ab62251fe3 100644 --- a/net/dsa/ds

[PATCH net-next v3 08/10] net: dsa: Add support for platform data

2017-01-14 Thread Florian Fainelli
Allow drivers to use the new DSA API with platform data. Most of the code in net/dsa/dsa2.c does not rely so much on device_nodes and can get the same information from platform_data instead. We purposely do not support distributed configurations with platform data, so drivers should be providing a

[PATCH net-next v3 09/10] net: phy: Allow pre-declaration of MDIO devices

2017-01-14 Thread Florian Fainelli
Allow board support code to collect pre-declarations for MDIO devices by registering them with mdiobus_register_board_info(). SPI and I2C buses have a similar feature, we were missing this for MDIO devices, but this is particularly useful for e.g: MDIO-connected switches which need to provide their

[PATCH net-next v3 07/10] net: Relocate dev_to_net_device() into core

2017-01-14 Thread Florian Fainelli
dev_to_net_device() is moved from net/dsa/dsa.c to net/core/dev.c since it going to be used by net/dsa/dsa2.c and the namespace of the function justifies making it available to other users potentially. Signed-off-by: Florian Fainelli --- include/linux/netdevice.h | 2 ++ net/core/dev.c

[PATCH net-next v3 04/10] net: dsa: Move ports assignment closer to error checking

2017-01-14 Thread Florian Fainelli
Move the assignment of ports in _dsa_register_switch() closer to where it is checked, no functional change. Re-order declarations to be preserve the inverted christmas tree style. Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[PATCH net-next v3 02/10] net: dsa: Make most functions take a dsa_port argument

2017-01-14 Thread Florian Fainelli
In preparation for allowing platform data, and therefore no valid device_node pointer, make most DSA functions takes a pointer to a dsa_port structure whenever possible. While at it, introduce a dsa_port_is_valid() helper function which checks whether port->dn is NULL or not at the moment. Signed-

[PATCH net-next v3 01/10] net: dsa: Pass device pointer to dsa_register_switch

2017-01-14 Thread Florian Fainelli
In preparation for allowing dsa_register_switch() to be supplied with device/platform data, pass down a struct device pointer instead of a struct device_node. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c | 11 ++- drivers/

[PATCH] m32r: fix build warning

2017-01-14 Thread Sudip Mukherjee
Some m32r builds were having a warning: arch/m32r/include/asm/cmpxchg.h:191:3: warning: value computed is not used arch/m32r/include/asm/cmpxchg.h:68:3: warning: value computed is not used Taking the idea from e001bbae7147 ("ARM: cmpxchg: avoid warnings from macro-ized cmpxchg()

[PATCH] net: marvell: sky2: use new api ethtool_{get|set}_link_ksettings

2017-01-14 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/marvell/sky2.c | 68 -- 1 files changed, 40 insertions(+), 28 deletions(-) diff --git a/drivers/ne

Re: [PATCH v3 16/24] media: Add i.MX media core driver

2017-01-14 Thread Steve Longerbeam
(sorry sending again w/o html) On 01/13/2017 07:20 AM, Philipp Zabel wrote: Am Freitag, den 06.01.2017, 18:11 -0800 schrieb Steve Longerbeam: +For image capture, the IPU contains the following internal subunits: + +- Image DMA Controller (IDMAC) +- Camera Serial Interface (CSI) +- Image Conver

[PATCH v9 1/3] gpio: exar: add gpio for exar cards

2017-01-14 Thread Sudip Mukherjee
From: Sudip Mukherjee Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. Add the gpio specific code. Signed-off-by: Sudip Mukherjee --- Andy, name[16] should be enough. Maximum of 12 char will be used. drivers/gpio/Kconfig |

[PATCH v9 3/3] serial: 8250_pci: remove exar code

2017-01-14 Thread Sudip Mukherjee
From: Sudip Mukherjee Remove the Exar specific codes from 8250_pci and blacklist those chips so that the new Exar serial driver binds to the devices. Signed-off-by: Sudip Mukherjee --- drivers/tty/serial/8250/8250_pci.c | 336 + drivers/tty/serial/8250/Kconf

[PATCH v9 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-14 Thread Sudip Mukherjee
From: Sudip Mukherjee Add the serial driver for the Exar chips. And also register the platform device for the GPIO provided by the Exar chips. Signed-off-by: Sudip Mukherjee --- Andy, I hope the grouping and ordering of the header files are ok this time. One comment has been changed to Kerneld

Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker

2017-01-14 Thread Pavel Machek
Hi! > > In v4.10 (and probably v4.9, too) I can no longer use the in-call > > speaker. I can no longer use the wired headset, either. > > > > v4.4 (and probably v4.6) works ok. > > > > Any ideas? Does wired headset / in-call speaker work for you? > > > > "Mono" and "Mono DAC" options are still

[PATCH 00/22] Openrisc patchees from backlog for 4.11

2017-01-14 Thread Stafford Horne
Hi All, This is another set of patches which I have been pulling out of the openrisc backlogs. Its a bit of a process since I need to cleanup commit messages, review and test the patches. The interesting things here are: - optimized memset and memcpy routines, ~20% boot time saving - support fo

[PATCH 02/22] openrisc: add cache way information to cpuinfo

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson Motivation for this is to be able to print the way information properly in print_cpuinfo(), instead of hardcoding it to one. Signed-off-by: Stefan Kristiansson Signed-off-by: Jonas Bonn [sho...@gmail.com fixed conflict with show_cpuinfo change] Signed-off-by: Stafford

[PATCH 01/22] openrisc: use SPARSE_IRQ

2017-01-14 Thread Stafford Horne
From: Jonas Bonn The sparse IRQ framework is preferred nowadays so switch over to it. Signed-off-by: Jonas Bonn Signed-off-by: Stafford Horne --- arch/openrisc/Kconfig| 1 + arch/openrisc/include/asm/Kbuild | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/openrisc/Kconfi

[PATCH 04/22] openrisc: head: use THREAD_SIZE instead of magic constant

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson The stack size was hard coded to 0x2000, use the standard THREAD_SIZE definition loaded from thread_info.h. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: Added body to the commit message] Signed-off-by: Stafford Horne --- arch/openrisc/kernel/head.S | 4 +++-

[PATCH 06/22] openrisc: add l.lwa/l.swa emulation

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson This adds an emulation layer for implementations that lack the l.lwa and l.swa instructions. It handles these instructions both in kernel space and user space. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: Added delay slot pc adjust logic] Signed-off-by: Staffo

[PATCH 08/22] openrisc: add cmpxchg and xchg implementations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson Optimized version that make use of the l.lwa and l.swa atomic instruction pair. Most openrisc cores provide these instructions now, if not available emulation is provided. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: remove OPENRISC_HAVE_INST_LWA_SWA config su

[PATCH 07/22] openrisc: add atomic bitops

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson This utilize the load-link/store-conditional l.lwa and l.swa instructions to implement the atomic bitops. When those instructions are not available emulation is provided. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: remove OPENRISC_HAVE_INST_LWA_SWA config sug

[PATCH 05/22] openrisc: head: refactor out tlb flush into it's own function

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson This brings it inline with the other setup oprations done like the cache enables _ic_enable and _dc_enable. Also, this is going to make it easier to initialize additional cpu's when smp is introduced. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: Added commit

[PATCH 20/22] openrisc: entry: Whitespace and comment cleanups

2017-01-14 Thread Stafford Horne
Cleanups to whitespace and add some comments. Reading through the delay slot logic I noticed some things: - Delay slot instructions were not indented - Some comments are not lined up - Use tabs and spaces consistent with other code No functional change Signed-off-by: Stafford Horne --- arch/

[PATCH 09/22] openrisc: add optimized atomic operations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson Using the l.lwa and l.swa atomic instruction pair. Most openrisc processor cores provide these instructions now. If the instructions are not available emulation is provided. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: remove OPENRISC_HAVE_INST_LWA_SWA config

[PATCH 21/22] openrisc: entry: Fix delay slot detection

2017-01-14 Thread Stafford Horne
Use execption SR stored in pt_regs for detection, the current SR is not correct as the handler is running after return from exception. Also, The code that checks for a delay slot uses a flag bitmask and then wants to check if the result is not zero. The test it implemented was wrong. Correct it

[PATCH 18/22] MAINTAINERS: Add the openrisc official repository

2017-01-14 Thread Stafford Horne
The openrisc official repository and patch work happens currently on github. Add the repo for reference. Signed-off-by: Stafford Horne --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5f0420a..d55d0d7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @

[PATCH 17/22] openrisc: Add .gitignore

2017-01-14 Thread Stafford Horne
This helps to suppress the vmlinux.lds file. Signed-off-by: Stafford Horne --- arch/openrisc/kernel/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 arch/openrisc/kernel/.gitignore diff --git a/arch/openrisc/kernel/.gitignore b/arch/openrisc/kernel/.gitignore new file mode 1

[PATCH 22/22] openrisc: head: Move init strings to rodata section

2017-01-14 Thread Stafford Horne
The strings used during the head/init phase of openrisc bootup were stored in the executable section of the binary. This causes compilation to fail when using CONFIG_DEBUG_INFO with error: Error: unaligned opcodes detected in executable segment Also, this patch removes unused strings. Signed-of

[PATCH 13/22] openrisc: Fix the bitmask for the unit present register

2017-01-14 Thread Stafford Horne
From: Sebastian Macke The bits were swapped, as per spec and processor implementation the power management present bit is 9 and PIC bit is 8. This patch brings the definitions into spec. Signed-off-by: Sebastian Macke [sho...@gmail.com: Added commit body] Signed-off-by: Stafford Horne --- arc

[PATCH 16/22] openrisc: Add optimized memcpy routine

2017-01-14 Thread Stafford Horne
The generic memcpy routine provided in kernel does only byte copies. Using word copies we can lower boot time and cycles spend in memcpy quite significantly. Booting on my de0 nano I see boot times go from 7.2 to 5.6 seconds. The avg cycles in memcpy during boot go from 6467 to 1887. I tested sev

[PATCH 14/22] openrisc: Initial support for the idle state

2017-01-14 Thread Stafford Horne
From: Sebastian Macke This patch adds basic support for the idle state of the cpu. The patch overrides the regular idle function, enables the interupts, checks for the power management unit and enables the cpu doze mode if available. Signed-off-by: Sebastian Macke [sho...@gmail.com: Fixed check

[PATCH 19/22] scripts/checkstack.pl: Add openrisc support

2017-01-14 Thread Stafford Horne
Openrisc stack pointer is managed by decrementing r1. Add regexes to recognize this. Signed-off-by: Stafford Horne --- scripts/checkstack.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index dd83978..eea5b78 100755 --- a/scripts/checkstack

[PATCH 15/22] openrisc: Add optimized memset

2017-01-14 Thread Stafford Horne
From: Olof Kindgren This adds a hand-optimized assembler version of memset and sets __HAVE_ARCH_MEMSET to use this version instead of the generic C routine Signed-off-by: Olof Kindgren Signed-off-by: Stafford Horne --- arch/openrisc/include/asm/string.h | 7 +++ arch/openrisc/kernel/or32_ksy

[PATCH 12/22] openrisc: remove unnecessary stddef.h include

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson This causes the build to fail when building with the or1k-musl-linux- toolchain and it is not needed. Signed-off-by: Stafford Horne --- arch/openrisc/kernel/ptrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/openrisc/kernel/ptrace.c b/arch/openrisc/kerne

[PATCH 11/22] openrisc: add futex_atomic_* implementations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson Support for the futex_atomic_* operations by using the load-link/store-conditional l.lwa/l.swa instructions. Most openrisc cores provide these instructions now if not available, emulation is provided. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: remove OPENRIS

[PATCH 10/22] openrisc: add spinlock implementation

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson Heavily based on the ARM implementation, this adds ticket spinlock support for OpenRISC. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: fix tabs vs space checkpatch warning] Signed-off-by: Stafford Horne --- arch/openrisc/include/asm/spinlock.h | 232 +++

[PATCH 03/22] openrisc: tlb miss handler optimizations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson By slightly reorganizing the code, the number of registers used in the tlb miss handlers can be reduced by two, thus removing the need to save them to memory. Also, some dead and commented out code is removed. No functional change. Signed-off-by: Stefan Kristiansson

[PATCH] staging: ks7010: Fix brace style issue in ks_wlan_net.c

2017-01-14 Thread David Wittman
This change fixes a checkpatch error for "that open brace { should be on the previous line" as well as a related spacing warning. Signed-off-by: David Wittman --- drivers/staging/ks7010/ks_wlan_net.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/

Re: [PATCH 6/6 v2] f2fs: show # of on-going flush and discard bios

2017-01-14 Thread Jaegeuk Kim
Change log from v1: - Fix missing path pointed by Yunlei >From 5d86527e4c70aeb8482dac24059624da720a0807 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 11 Jan 2017 10:20:04 -0800 Subject: [PATCH] f2fs: show # of on-going flush and discard bios This patch adds stat information for flush an

Re: [PATCH] net_sched: use kvmalloc rather than opencoded variant

2017-01-14 Thread kbuild test robot
Hi Michal, [auto build test ERROR on net-next/master] [also build test ERROR on v4.10-rc3 next-20170113] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michal-Hocko/net_sched-use-kvmalloc-rather

include/linux/unaligned/access_ok.h:7:19: error: redefinition of 'get_unaligned_le16'

2017-01-14 Thread kbuild test robot
Hi Vincent, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: 3194c6870158e305dac2af52f83681e9cb67280f NFC: nfcmrvl: add firmware download support date: 1 year, 3 mon

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-14 Thread Finn Thain
On Sat, 14 Jan 2017, Michael Schmitz wrote: > Am 13.01.2017 um 15:33 schrieb Finn Thain: > > >> The case I'm worried about is both IDE and SCSI raising an interrupt. > >> We don't currently mask the IDE/ST-DMA interrupt so a stacked > >> interrupt must be processed in the same pass as the init

Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker

2017-01-14 Thread Pali Rohár
On Saturday 14 January 2017 23:56:15 Pavel Machek wrote: > Hi! > > > > In v4.10 (and probably v4.9, too) I can no longer use the in-call > > > speaker. I can no longer use the wired headset, either. > > > > > > v4.4 (and probably v4.6) works ok. > > > > > > Any ideas? Does wired headset / in-cal

Re: [PATCH v3] ARM: dts: Add LEGO MINDSTORMS EV3 dts

2017-01-14 Thread kbuild test robot
-EV3-dts/20170114-145113 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm-u300_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-14 Thread Marek Vasut
On 01/14/2017 09:29 AM, Boris Brezillon wrote: > On Fri, 13 Jan 2017 18:33:40 +0100 > Marek Vasut wrote: > >> On 01/13/2017 05:56 PM, Boris Brezillon wrote: >>> On Fri, 13 Jan 2017 17:44:12 +0100 >>> Marek Vasut wrote: >>> On 01/13/2017 05:28 PM, Boris Brezillon wrote: > On Fri, 13

[GIT PULL] Block fixes for 4.10-rc

2017-01-14 Thread Jens Axboe
Hi Linus, Here's a set of fixes for the current series. This pull request contains: - The virtio_blk stack DMA corruption fix from Christoph, fixing and issue with VMAP stacks. - O_DIRECT blkbits calculation fix from Chandan. - Discard regression fix from Christoph. - Queue init error handli

arch/ia64/kernel/fsys.S:67: Error: Operand 3 of `add' should be a general register r0-r3

2017-01-14 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 12 months ago config

Re: [PATCH] x86: call smp vmxoff in smp stop

2017-01-14 Thread kbuild test robot
Hi Tiantian, [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.10-rc3 next-20170113] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Xishi-Qiu/x86-call-smp-vmxoff-in-smp-sto

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-14 Thread Al Viro
On Sat, Jan 14, 2017 at 01:57:57AM +, Al Viro wrote: > OK. Let's wait for Alan to confirm that the last variant works and > I'll send a pull request (with Cc: stable # v4.9). ... and here it is. The following changes since commit b4b8664d291ac1998e0f0bcdc96b6397f0fe68b3: arm64: don't pul

[PATCH] Staging: media: davinci_vpfe: style fix, using octal file permissions

2017-01-14 Thread Derek Robson
Change file permissions to octal style. Found using checkpatch. Signed-off-by: Derek Robson --- drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c b/drivers/staging/media/d

arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2017-01-14 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year, 2 months ago

Re: [PATCH] radix-tree: Fix private list warnings

2017-01-14 Thread Johannes Weiner
On Sat, Jan 14, 2017 at 09:31:51PM +, Matthew Wilcox wrote: > From: Johannes Weiner [mailto:han...@cmpxchg.org] > > On Thu, Jan 12, 2017 at 05:28:23PM -0800, Matthew Wilcox wrote: > > > The newly introduced warning in radix_tree_free_nodes() was testing the > > > wrong variable; it should have

{standard input}:199: Error: unknown opcode

2017-01-14 Thread kbuild test robot
Hi Rich, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: b4214e41b7152b1964a3421a40251d202ae2d2c0 sh: add SMP support for J2 date: 5 months ago config: sh-j2_defconf

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-14 Thread Michael Schmitz
Hi Finn, Am 15.01.2017 um 12:47 schrieb Finn Thain: > For the sake of discussion, I'll assume that the FDC driver will not > be using DMA. (Perhaps FDC and SCSI can share the ST-DMA chip, using > the present locking mechanism, but it would not simplify things much: > when IDE no longer participat

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2017-01-14 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: [PATCH 0/4] Drop drivers for Exynos4415

2017-01-14 Thread Kukjin Kim
Hi Krzk, 2017. 1. 14. PM 8:36 Krzysztof Kozlowski wrote: > Hi, > > Support for Exynos4415 is being removed because: > 1. There are no upstream users, > 2. There are no known downstream users, > 3. Except compile testing, you cannot build working kernel > for Exynos4415 anymore. > > Patches a

core.c:undefined reference to `fpu_save'

2017-01-14 Thread kbuild test robot
Hi Andrew, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: c60f169202c7643991a8b4bfeea60e06843d5b5a arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h d

Re: [PATCH v7 1/7] perf/amd/iommu: Misc fix up perf_iommu_read

2017-01-14 Thread Suravee Suthikulpanit
Peter, On 1/11/17 18:57, Peter Zijlstra wrote: On Mon, Jan 09, 2017 at 09:33:41PM -0600, Suravee Suthikulpanit wrote: This patch contains the following minor fixup: * Fixed overflow handling since u64 delta would lose the MSB sign bit. Please explain.. afaict this actually introduces a bug.

cc1: error: '-march=r3900' requires '-mfp32'

2017-01-14 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0ad17712b9f71c24e2b8b9725230ef57232377f commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 3 months ago config: m

Re: [PATCH v6 0/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL

2017-01-14 Thread Florian Fainelli
Le 01/04/17 à 14:39, Florian Fainelli a écrit : > This patch series builds on top of Laura's [PATCHv6 00/10] > CONFIG_DEBUG_VIRTUAL > for arm64 to add support for CONFIG_DEBUG_VIRTUAL for ARM. > > This was tested on a Brahma B15 platform (ARMv7 + HIGHMEM + LPAE). > > Note that the treewide chang

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-14 Thread ayaka
On 01/15/2017 12:54 AM, Eduardo Valentin wrote: Folks, On Wed, Jan 04, 2017 at 12:30:40AM +0800, ayaka wrote: On 01/03/2017 09:13 AM, Randy Li wrote: On 01/03/2017 09:02 AM, Caesar Wang wrote: 在 2017年01月03日 07:57, Randy Li 写道: On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:

[PATCH V6 00/18] blk-throttle: add .low limit

2017-01-14 Thread Shaohua Li
Hi, cgroup still lacks a good iocontroller. CFQ works well for hard disk, but not much for SSD. This patch set try to add a conservative limit for blk-throttle. It isn't a proportional scheduling, but can help prioritize cgroups. There are several advantages we choose blk-throttle: - blk-throttle

[PATCH V6 04/18] blk-throttle: configure bps/iops limit for cgroup in low limit

2017-01-14 Thread Shaohua Li
each queue will have a state machine. Initially queue is in LIMIT_LOW state, which means all cgroups will be throttled according to their low limit. After all cgroups with low limit cross the limit, the queue state gets upgraded to LIMIT_MAX state. For max limit, cgroup will use the limit configure

[PATCH V6 03/18] blk-throttle: add .low interface

2017-01-14 Thread Shaohua Li
Add low limit for cgroup and corresponding cgroup interface. To be consistent with memcg, we allow users configure .low limit higher than .max limit. But the internal logic always assumes .low limit is lower than .max limit. So we add extra bps/iops_conf fields in throtl_grp for userspace configura

[PATCH V6 14/18] blk-throttle: ignore idle cgroup limit

2017-01-14 Thread Shaohua Li
Last patch introduces a way to detect idle cgroup. We use it to make upgrade/downgrade decision. And the new algorithm can detect completely idle cgroup too, so we can delete the corresponding code. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 40 ++--

[PATCH V6 18/18] blk-throttle: add latency target support

2017-01-14 Thread Shaohua Li
One hard problem adding .low limit is to detect idle cgroup. If one cgroup doesn't dispatch enough IO against its low limit, we must have a mechanism to determine if other cgroups dispatch more IO. We added the think time detection mechanism before, but it doesn't work for all workloads. Here we ad

[PATCH V6 09/18] blk-throttle: choose a small throtl_slice for SSD

2017-01-14 Thread Shaohua Li
The throtl_slice is 100ms by default. This is a long time for SSD, a lot of IO can run. To make cgroups have smoother throughput, we choose a small value (20ms) for SSD. Signed-off-by: Shaohua Li --- block/blk-sysfs.c| 2 ++ block/blk-throttle.c | 18 +++--- block/blk.h

[PATCH V6 12/18] blk-throttle: add a simple idle detection

2017-01-14 Thread Shaohua Li
A cgroup gets assigned a low limit, but the cgroup could never dispatch enough IO to cross the low limit. In such case, the queue state machine will remain in LIMIT_LOW state and all other cgroups will be throttled according to low limit. This is unfair for other cgroups. We should treat the cgroup

[PATCH V6 02/18] blk-throttle: prepare support multiple limits

2017-01-14 Thread Shaohua Li
We are going to support low/max limit, each cgroup will have 2 limits after that. This patch prepares for the multiple limits change. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 110 --- 1 file changed, 70 insertions(+), 40 deletions(-) d

[PATCH V6 05/18] blk-throttle: add upgrade logic for LIMIT_LOW state

2017-01-14 Thread Shaohua Li
When queue is in LIMIT_LOW state and all cgroups with low limit cross the bps/iops limitation, we will upgrade queue's state to LIMIT_MAX. To determine if a cgroup exceeds its limitation, we check if the cgroup has pending request. Since cgroup is throttled according to the limit, pending request m

[PATCH V6 15/18] blk-throttle: add interface for per-cgroup target latency

2017-01-14 Thread Shaohua Li
Here we introduce per-cgroup latency target. The target determines how a cgroup can afford latency increasement. We will use the target latency to calculate a threshold and use it to schedule IO for cgroups. If a cgroup's bandwidth is below its low limit but its average latency is below the thresho

Re: [PATCH tip/core/rcu 2/3] srcu: Force full grace-period ordering

2017-01-14 Thread Paul E. McKenney
On Sat, Jan 14, 2017 at 11:54:17AM -0800, Paul E. McKenney wrote: > On Sat, Jan 14, 2017 at 10:35:50AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: [ . . . ] > > > + */ > > > +#ifdef CONFIG_PPC > > > +#define smp_mb__after_unlock_lock() smp_mb() /* Full ordering for > > > lock.

[PATCH V6 13/18] blk-throttle: add interface to configure idle time threshold

2017-01-14 Thread Shaohua Li
Add interface to configure the threshold. The io.low interface will like: echo "8:16 rbps=2097152 wbps=max idle=2000" > io.low idle is in microsecond unit. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 41 - 1 file changed, 28 insertions(+), 13 del

[PATCH V6 06/18] blk-throttle: add downgrade logic

2017-01-14 Thread Shaohua Li
When queue state machine is in LIMIT_MAX state, but a cgroup is below its low limit for some time, the queue should be downgraded to lower state as one cgroup's low limit isn't met. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 156 +++ 1 fi

[PATCH V6 08/18] blk-throttle: make throtl_slice tunable

2017-01-14 Thread Shaohua Li
throtl_slice is important for blk-throttling. It's called slice internally but it really is a time window blk-throttling samples data. blk-throttling will make decision based on the samplings. An example is bandwidth measurement. A cgroup's bandwidth is measured in the time interval of throtl_slice

Re: [PATCH tip/core/rcu 1/3] srcu: More efficient reader counts.

2017-01-14 Thread Paul E. McKenney
On Sat, Jan 14, 2017 at 10:31:15AM +0100, Ingo Molnar wrote: > > Noticed a few minor nits: And thank you for the review and comments! > * Paul E. McKenney wrote: > > > From: Lance Roy > > > > SRCU uses two per-cpu counters: a nesting counter to count the number of > > active critical section

[PATCH V6 01/18] blk-throttle: use U64_MAX/UINT_MAX to replace -1

2017-01-14 Thread Shaohua Li
clean up the code to avoid using -1 Signed-off-by: Shaohua Li --- block/blk-throttle.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index a6bb4fe..e45bf50 100644 --- a/block/blk-throttle.c +++ b

[PATCH V6 16/18] block: track request size in blk_issue_stat

2017-01-14 Thread Shaohua Li
Currently there is no way to know the request size when the request is finished. Next patch will need this info. We could add extra field to record the size, but blk_issue_stat has enough space to record it, so this patch just overloads blk_issue_stat. With this, we will have 49bits to track time,

Re: [PATCH tip/core/rcu 2/3] srcu: Force full grace-period ordering

2017-01-14 Thread Paul E. McKenney
On Sat, Jan 14, 2017 at 10:35:50AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > If a process invokes synchronize_srcu(), is delayed just the right amount > > of time, and thus does not sleep when waiting for the grace period to > > complete, there is no ordering between the end

[PATCH V6 11/18] blk-throttle: make bandwidth change smooth

2017-01-14 Thread Shaohua Li
When cgroups all reach low limit, cgroups can dispatch more IO. This could make some cgroups dispatch more IO but others not, and even some cgroups could dispatch less IO than their low limit. For example, cg1 low limit 10MB/s, cg2 limit 80MB/s, assume disk maximum bandwidth is 120M/s for the workl

[PATCH V6 17/18] blk-throttle: add a mechanism to estimate IO latency

2017-01-14 Thread Shaohua Li
User configures latency target, but the latency threshold for each request size isn't fixed. For a SSD, the IO latency highly depends on request size. To calculate latency threshold, we sample some data, eg, average latency for request size 4k, 8k, 16k, 32k .. 1M. The latency threshold of each requ

<    1   2   3   4   >