[PATCH v2 05/11] power: supply: axp20x_usb_power: add 100mA max current limit for AXP223

2016-12-09 Thread Quentin Schulz
The X-Powers AXP223 shares most of its behaviour with the AXP221 PMIC but allows the VBUS power supply max current to be set to 100mA (like the AXP209 PMIC). This basically adds a new compatible to the VBUS power supply driver and adds a check on the compatible when setting current max limit. Sig

RE: ATH9 driver issues on ARM64

2016-12-09 Thread Bharat Kumar Gogada
> On 09/12/16 02:07, Bharat Kumar Gogada wrote: > >> On 08/12/16 18:33, Bharat Kumar Gogada wrote: > On 08/12/16 15:29, Bharat Kumar Gogada wrote: > > 218: 61 0 0 0 GICv2 81 Level > > mmc0 > > 219: 0 0 0

[PATCH v2 02/11] mfd: axp20x: add volatile and writeable reg ranges for VBUS power supply driver

2016-12-09 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs allow to choose the maximum voltage and minimum current delivered by the VBUS power supply. This adds the register used by the VBUS power supply driver to the range of volatile and writeable regs ranges. Signed-off-by: Quentin Schulz --- added in v2 driver

[PATCH v2 00/11] add support for VBUS max current and min voltage limits AXP20X and AXP22X PMICs

2016-12-09 Thread Quentin Schulz
The X-Powers AXP209 and AXP20X PMICs are able to set a limit for the VBUS power supply for both max current and min voltage supplied. This series of patch adds the possibility to set these limits from sysfs. Also, the AXP223 PMIC shares most of its behaviour with the AXP221 but the former can set

[PATCH v2 09/11] ARM: dts: sun8i-a33-sinlinx-sina33: use AXP223 DTSI

2016-12-09 Thread Quentin Schulz
Previously, the Sinlinx SinA33 used everything declared in AXP221 DTSI while it has an AXP223 PMIC. This corrects that so the Sinlinx SinA33 can get some features the AXP223 has (at the moment, ability to have 100mA as maximal current on VBUS power supply). Signed-off-by: Quentin Schulz Acked-by

[PATCH v2 06/11] mfd: axp20x: add separate MFD cell for AXP223

2016-12-09 Thread Quentin Schulz
The AXP223 shares most of its logic with the AXP221 but has some differences for the VBUS power supply driver. Thus, to probe the driver with the correct compatible, the AXP221 and the AXP223 now have separate MFD cells. AXP221 MFD cells are renamed from axp22x_cells to axp221_cells to avoid confu

[PATCH v2 08/11] ARM: dts: sun8i-a33-olinuxino: use AXP223 DTSI

2016-12-09 Thread Quentin Schulz
Previously, the Olimex A33-OlinuXino used everything declared in AXP221 DTSI while it has an AXP223 PMIC. This corrects that so the Olimex A33-OlinuXino can get some features the AXP223 has (at the moment, ability to have 100mA as maximal current on VBUS power supply). Signed-off-by: Quentin Schu

[PATCH v2 11/11] ARM: dtsi: sun8i-reference-design-tablet: use AXP223 DTSI

2016-12-09 Thread Quentin Schulz
Previously, the sun8i tablets used everything declared in AXP221 DTSI while they have an AXP223 PMIC. This corrects that so the sun8i tablets can get some features the AXP223 has (at the moment, ability to have 100mA as maximal current on VBUS power supply). Signed-off-by: Quentin Schulz Acked-b

[PATCH v2 01/11] power: supply: axp20x_usb_power: use of_device_id data field instead of device_is_compatible

2016-12-09 Thread Quentin Schulz
This replaces calls to of_device_is_compatible to check data field of of_device_id matched when probing the driver. Signed-off-by: Quentin Schulz --- drivers/power/supply/axp20x_usb_power.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/drivers/p

[PATCH v2 10/11] ARM: dts: sun8i-r16-parrot: use AXP223 DTSI

2016-12-09 Thread Quentin Schulz
Previously, the Allwinner Parrot R16 used everything declared in AXP221 DTSI while it has an AXP223 PMIC. This corrects that so the Allwinner Parrot R16 can get some features the AXP223 has (at the moment, ability to have 100mA as maximal current on VBUS power supply). Signed-off-by: Quentin Schu

[tip:timers/core] timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion

2016-12-09 Thread tip-bot for Thomas Gleixner
Commit-ID: 9c1645727b8fa90d07256fdfcc45bf831242a3ab Gitweb: http://git.kernel.org/tip/9c1645727b8fa90d07256fdfcc45bf831242a3ab Author: Thomas Gleixner AuthorDate: Thu, 8 Dec 2016 20:49:32 + Committer: Thomas Gleixner CommitDate: Fri, 9 Dec 2016 12:06:41 +0100 timekeeping_Force_unsi

[tip:timers/core] timekeeping: Make the conversion call chain consistently unsigned

2016-12-09 Thread tip-bot for Thomas Gleixner
Commit-ID: acc89612a70e370a5640fd77a83f15b7b94d85e4 Gitweb: http://git.kernel.org/tip/acc89612a70e370a5640fd77a83f15b7b94d85e4 Author: Thomas Gleixner AuthorDate: Thu, 8 Dec 2016 20:49:34 + Committer: Thomas Gleixner CommitDate: Fri, 9 Dec 2016 12:06:41 +0100 timekeeping: Make the

[tip:timers/core] timekeeping: Get rid of pointless typecasts

2016-12-09 Thread tip-bot for Thomas Gleixner
Commit-ID: cbd99e3b289e43000c29aa4aa9b94b394cdc68bd Gitweb: http://git.kernel.org/tip/cbd99e3b289e43000c29aa4aa9b94b394cdc68bd Author: Thomas Gleixner AuthorDate: Thu, 8 Dec 2016 20:49:36 + Committer: Thomas Gleixner CommitDate: Fri, 9 Dec 2016 12:06:42 +0100 timekeeping: Get rid o

[tip:timers/core] timekeeping: Use mul_u64_u32_shr() instead of open coding it

2016-12-09 Thread tip-bot for Thomas Gleixner
Commit-ID: c029a2bec66e42e57538cb65e28618baf6a4b311 Gitweb: http://git.kernel.org/tip/c029a2bec66e42e57538cb65e28618baf6a4b311 Author: Thomas Gleixner AuthorDate: Thu, 8 Dec 2016 20:49:38 + Committer: Thomas Gleixner CommitDate: Fri, 9 Dec 2016 12:06:42 +0100 timekeeping: Use mul_u

Re: [PATCH v2 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot

2016-12-09 Thread Lee Jones
Mark, Is the following valid/necessary? On Wed, 23 Nov 2016, Chen-Yu Tsai wrote: > The AXP806 supports either master/standalone or slave mode. > Slave mode allows sharing the serial bus, even with multiple > AXP806 which all have the same hardware address. > > This is done with extra "serial int

[GIT PULL] Ceph fix for 4.9-rc9

2016-12-09 Thread Ilya Dryomov
Hi Linus, The following changes since commit 3e5de27e940d00d8d504dfb96625fb654f641509: Linux 4.9-rc8 (2016-12-04 12:50:51 -0800) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.9-rc9 for you to fetch changes up to c3f4688a08fd86f1bf8e055724c8

Re: [PATCH v2 1/8] mfd: sun6i-prcm: Add codec analog controls sub-device for Allwinner A23

2016-12-09 Thread Lee Jones
On Fri, 25 Nov 2016, Chen-Yu Tsai wrote: > The PRCM block on the A23 contains a message box like interface to > the registers for the analog path controls of the internal codec. > > Add a sub-device for it. > > Signed-off-by: Chen-Yu Tsai > --- > drivers/mfd/sun6i-prcm.c | 13 + >

Re: [PATCH 1/2] net: ethernet: sxgbe: remove private tx queue lock

2016-12-09 Thread Pavel Machek
On Fri 2016-12-09 00:19:43, Francois Romieu wrote: > Lino Sanfilippo : > [...] > > OTOH Pavel said that he actually could produce a deadlock. Now I wonder if > > this is caused by that locking scheme (in a way I have not figured out yet) > > or if it is a different issue. > > stmmac_tx_err races

Re: ATH9 driver issues on ARM64

2016-12-09 Thread Marc Zyngier
On 09/12/16 11:04, Bharat Kumar Gogada wrote: >> On 09/12/16 02:07, Bharat Kumar Gogada wrote: On 08/12/16 18:33, Bharat Kumar Gogada wrote: >> On 08/12/16 15:29, Bharat Kumar Gogada wrote: >>> 218: 61 0 0 0 GICv2 81 Level >>> mmc0 >

Re: Misalignment, MIPS, and ip_hdr(skb)->version

2016-12-09 Thread Jiri Benc
On Wed, 07 Dec 2016 23:34:21 -0500, Daniel Kahn Gillmor wrote: > fwiw, i'm not convinced that "most protocols of the IETF follow this > mantra". we've had multiple discussions in different protocol groups > about shaving or bloating by a few bytes here or there in different > protocols, and i don'

Re: enabling COMPILE_TEST support for GCC plugins in v4.11

2016-12-09 Thread Arnd Bergmann
On Thursday, December 8, 2016 11:00:42 AM CET Kees Cook wrote: > Hi, > > I'd like to get the GCC plugins building under > allyesconfig/allmodconfig for -next soon (with the intention of > landing the change in v4.11). Specifically, I intend to revert > a519167e753e ("gcc-plugins: disable under COM

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-09 Thread Måns Rullgård
Sebastian Frias writes: > On 09/12/16 07:59, Vinod Koul wrote: >> On Thu, Dec 08, 2016 at 04:48:18PM +, Måns Rullgård wrote: >>> Vinod Koul writes: >>> To make it efficient, disregarding your Sbox HW issue, the solution is virtual channels. You can delink physical channels and virt

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-09 Thread 1Måns Rullgård
Sebastian Frias writes: > On 09/12/16 07:59, Vinod Koul wrote: >> On Thu, Dec 08, 2016 at 04:48:18PM +, Måns Rullgård wrote: >>> Vinod Koul writes: >>> To make it efficient, disregarding your Sbox HW issue, the solution is virtual channels. You can delink physical channels and virt

[PATCH] [v3] [media] dvb: avoid warning in dvb_net

2016-12-09 Thread Arnd Bergmann
With gcc-5 or higher on x86, we can get a bogus warning in the dvb-net code: drivers/media/dvb-core/dvb_net.c: In function 'dvb_net_ule': arch/x86/include/asm/string_32.h:78:22: error: '*((void *)&dest_addr+4)' may be used uninitialized in this function [-Werror=maybe-uninitialized] The problem

Re: [PATCH 02/12] ARM: dts: imx6qdl: rename ipu client nodes

2016-12-09 Thread Philipp Zabel
Hi Steve, Am Mittwoch, den 07.12.2016, 16:57 -0800 schrieb Steve Longerbeam: > To allow for IPU client devices that are composed of more than one > port for input and output (SMFC and IC), change the nodes from being > a single port node to nodes that can contain multiple ports. Rename > the nodes

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Benjamin Herrenschmidt
On Fri, 2016-12-09 at 10:08 +1000, Dave Airlie wrote: > What are people using fbcon for that needs acceleration, this is where I get > a bit lost. > > It's a console, if you aren't sshing into the machine. > > It's main purpose should just be for gathering oopses and you've a lot better > chance

[PATCH] [media] s5k4ecgx: select CRC32 helper

2016-12-09 Thread Arnd Bergmann
A rare randconfig build failure shows up in this driver when the CRC32 helper is not there: drivers/media/built-in.o: In function `s5k4ecgx_s_power': s5k4ecgx.c:(.text+0x9eb4): undefined reference to `crc32_le' This adds the 'select' that all other users of this function have. Fixes: 8b99312b721

[PATCH] uio-hv-generic: store physical addresses instead of virtual

2016-12-09 Thread Arnd Bergmann
gcc warns about the newly added driver when phys_addr_t is wider than a pointer: drivers/uio/uio_hv_generic.c: In function 'hv_uio_mmap': drivers/uio/uio_hv_generic.c:71:17: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] virt_to_phys((void *)info->mem[mi].

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Benjamin Herrenschmidt
On Fri, 2016-12-09 at 09:34 +0100, Daniel Vetter wrote: > Yeah if you have discrete vram then your dumb display driver isn't all > that pretty. We essentially just have the few drivers Dave hacked up to be > able to boot some servers. And there's definitely lots of room for more > shared code for t

[PATCH] remoteproc: qcom_adsp_pil: select qcom_scm

2016-12-09 Thread Arnd Bergmann
The adsp-pil driver relies on SCM and causes a build error without it: ERROR: "qcom_scm_pas_supported" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_is_available" [drivers/remoteproc/qcom_adsp_pil.ko] undefined! ERROR: "qcom_scm_pas_auth_and_reset" [drivers/remoteproc/qcom_adsp

Re: netlink: GPF in sock_sndtimeo

2016-12-09 Thread Richard Guy Briggs
On 2016-12-09 11:49, Dmitry Vyukov wrote: > On Fri, Dec 9, 2016 at 7:02 AM, Richard Guy Briggs wrote: > > On 2016-11-29 23:52, Richard Guy Briggs wrote: > > I tried a quick compile attempt on the test case (I assume it is a > > socket fuzzer) and get the following compile error: > > cc -g -O0 -Wal

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Benjamin Herrenschmidt
On Fri, 2016-12-09 at 09:41 +0100, Daniel Vetter wrote: > > And since I failed to make this clear: There's not really a > fundamental > reason ast and cirrus use the dirty tracking for fbdev. It's just that > doing it that way was the fastest way to get those servers booting, and > ever since no o

[PATCH] ASoC: topology: avoid uninitialized kcontrol_type

2016-12-09 Thread Arnd Bergmann
When num_kcontrols is zero, widget->dobj.widget.kcontrol_type gets set to an uninitialized local variable: sound/soc/soc-topology.c: In function 'soc_tplg_dapm_widget_create': sound/soc/soc-topology.c:1566:36: error: 'kcontrol_type' may be used uninitialized in this function [-Werror=maybe-uninit

Re: netlink: GPF in sock_sndtimeo

2016-12-09 Thread Dmitry Vyukov
On Fri, Dec 9, 2016 at 12:48 PM, Richard Guy Briggs wrote: > On 2016-12-09 11:49, Dmitry Vyukov wrote: >> On Fri, Dec 9, 2016 at 7:02 AM, Richard Guy Briggs wrote: >> > On 2016-11-29 23:52, Richard Guy Briggs wrote: >> > I tried a quick compile attempt on the test case (I assume it is a >> > sock

Re: [PATCH 06/20] hwmon/via-cputemp: Convert to hotplug state machine

2016-12-09 Thread Thomas Gleixner
Guenter, On Thu, 17 Nov 2016, Sebastian Andrzej Siewior wrote: > Install the callbacks via the state machine and let the core invoke the > callbacks on the already online CPUs. When the hotplug state is > unregistered the cleanup function is called for each cpu. So both cpu loops > in init() and

Re: [PATCH v5 4/6] usb: xhci: use bus->sysdev for DMA configuration

2016-12-09 Thread Roger Quadros
Hi, On 17/11/16 13:43, Sriram Dash wrote: > From: Arnd Bergmann > > For xhci-hcd platform device, all the DMA parameters are not > configured properly, notably dma ops for dwc3 devices. So, set > the dma for xhci from sysdev. sysdev is pointing to device that > is known to the system firmware or

Re: [PATCH] ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output

2016-12-09 Thread Sergei Shtylyov
Hello! On 12/9/2016 6:08 AM, Zheng Li wrote: From: zheng li There is an inconsitent conditional judgement in __ip_append_data and Inconsistent. ip_finish_output functions, the variable length in __ip_append_data just include the length of applicatoin's payload and udp header, don't inc

Re: [PATCH 04/22] m68k/68000: Modernize printing of kernel messages

2016-12-09 Thread Greg Ungerer
Hi Geert, On 08/12/16 01:09, Geert Uytterhoeven wrote: Convert from printk() to pr_*(). Signed-off-by: Geert Uytterhoeven Looks good to me, so: Acked-by: Greg Ungerer Regards Greg --- arch/m68k/68000/m68328.c | 6 +++--- arch/m68k/68000/m68EZ328.c | 6 +++--- arch/m68k/68000/m68VZ3

Re: [PATCH 06/22] m68k/coldfire: Modernize printing of kernel messages

2016-12-09 Thread Greg Ungerer
Hi Finn, Geert, On 08/12/16 08:53, Finn Thain wrote: On Wed, 7 Dec 2016, Geert Uytterhoeven wrote: - Introduce helpers for printing debug messages, incl. dummies for validating format strings when debugging is disabled, - Convert from printk() to pr_*(), - Correct printf()-style for

Re: netlink: GPF in sock_sndtimeo

2016-12-09 Thread Richard Guy Briggs
On 2016-12-09 12:53, Dmitry Vyukov wrote: > On Fri, Dec 9, 2016 at 12:48 PM, Richard Guy Briggs wrote: > > On 2016-12-09 11:49, Dmitry Vyukov wrote: > >> On Fri, Dec 9, 2016 at 7:02 AM, Richard Guy Briggs wrote: > >> > On 2016-11-29 23:52, Richard Guy Briggs wrote: > >> > I tried a quick compile

Re: [PATCH 1/2] mm, page_alloc: don't convert pfn to idx when merging

2016-12-09 Thread kbuild test robot
-convert-pfn-to-idx-when-merging/20161209-192634 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-s1-201649 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

Re: [PATCH 1/2] devicetree: i2c-hid: Add regulator support

2016-12-09 Thread Jiri Kosina
On Fri, 2 Dec 2016, Brian Norris wrote: > From: Caesar Wang > > Document a "vdd-supply" and an initialization delay. Can be used for > powering on/off a HID. > > Signed-off-by: Caesar Wang > Cc: Rob Herring > Cc: Jiri Kosina > Cc: linux-in...@vger.kernel.org > Signed-off-by: Brian Norris >

Re: [PATCH v2] arm64: mm: Fix memmap to be initialized for the entire section

2016-12-09 Thread Ard Biesheuvel
On 9 December 2016 at 12:14, Yisheng Xie wrote: > Hi Robert, > We have merged your patch to 4.9.0-rc8, however we still meet the similar > problem > on our D05 board: > To be clear: does this issue also occur on D05 *without* the patch? > - > [5.081971] [ cut her

Re: [PATCH] i2c-hid: Disable IRQ before freeing buffers

2016-12-09 Thread Jiri Kosina
On Tue, 6 Dec 2016, João Paulo Rechi Vita wrote: > The HID report buffers that are initially allocated on i2c_hid_probe() > might not be big enough to hold the HID reports from a specific device, > in which case they will be freed and new ones will be allocated in > i2c_hid_start(), at point which

Re: [PATCH v2] arm64: mm: Fix memmap to be initialized for the entire section

2016-12-09 Thread Yisheng Xie
Hi Robert, We have merged your patch to 4.9.0-rc8, however we still meet the similar problem on our D05 board: Thanks, Yisheng Xie - [5.081971] [ cut here ] [5.086668] kernel BUG at mm/page_alloc.c:1863! [5.091281] Internal error: Oops - BUG: 0

Re: [PATCH v2] arm64: mm: Fix memmap to be initialized for the entire section

2016-12-09 Thread Hanjun Guo
On 12/09/2016 08:19 PM, Ard Biesheuvel wrote: On 9 December 2016 at 12:14, Yisheng Xie wrote: Hi Robert, We have merged your patch to 4.9.0-rc8, however we still meet the similar problem on our D05 board: To be clear: does this issue also occur on D05 *without* the patch? It boots ok on D

[PATCH 2/2] kprobes/trace: Fix kprobe selftest for newer gcc

2016-12-09 Thread Marcin Nowakowski
Commit 265a5b7ee3eb ("kprobes/trace: Fix kprobe selftest for gcc 4.6") has added __used attribute to kprobe_trace_selftest_target to ensure that the method is listed in kallsyms table. However, even though the method remains in the kernel image, the actual call is optimised away as there are no si

[PATCH 1/2] tracing/kprobes: add a helper method to return number of probe hits

2016-12-09 Thread Marcin Nowakowski
The number of probe hits is stored in a percpu variable and therefore can't be read directly. Add a helper method trace_kprobe_nhit() that performs the required calculation. Signed-off-by: Marcin Nowakowski --- kernel/trace/trace_kprobe.c | 19 +-- 1 file changed, 13 insertions(+

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-09 Thread Mika Westerberg
On Fri, Dec 09, 2016 at 08:57:53AM +, Lee Jones wrote: > On Wed, 07 Dec 2016, Marek Vasut wrote: > > > On 12/07/2016 09:53 AM, Mika Westerberg wrote: > > > On Tue, Dec 06, 2016 at 09:45:25AM +, Lee Jones wrote: > > >> I'm happy either way. However if you take them, I will require a > > >>

Re: [PATCH 1/2] mm, page_alloc: don't convert pfn to idx when merging

2016-12-09 Thread Vlastimil Babka
/commits/Vlastimil-Babka/mm-page_alloc-don-t-convert-pfn-to-idx-when-merging/20161209-192634 base: git://git.cmpxchg.org/linux-mmotm.git master config: i386-randconfig-s1-201649 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Geert Uytterhoeven
Hi Ben, On Fri, Dec 9, 2016 at 12:44 PM, Benjamin Herrenschmidt wrote: >> So it is possible, only reason vram dumb buffers look worse is that there's >> only 3 and no one cares about them, vs about 20 and a very active community >> of contributors (also for core drm improvements) for the other ca

Re: [PATCH v5 1/7] MFD: add bindings for STM32 General Purpose Timer driver

2016-12-09 Thread Benjamin Gaignard
2016-12-09 9:53 GMT+01:00 Lee Jones : > Sorry to do this Ben. Not much to do now though! > >> Add bindings information for STM32 General Purpose Timer >> >> version 2: >> - rename stm32-mfd-timer to stm32-gptimer >> - only keep one compatible string >> >> Signed-off-by: Benjamin Gaignard >> --- >

Re: [PATCH 1/2] irqchip/renesas-intc-irqpin: List fallback compatibility last

2016-12-09 Thread Geert Uytterhoeven
Hi Simon, On Fri, Dec 9, 2016 at 11:50 AM, Simon Horman wrote: > Improve readability by listing the rmobile fallback compatibility string s/rmobile/generic/ > after the more-specific compatibility strings they provide a fallback for. > > This does not effect run-time behaviour as it is the orde

Re: [PATCH 1/1 v2] input: usbhid: fix improper return value

2016-12-09 Thread Jiri Kosina
On Mon, 5 Dec 2016, Pan Bian wrote: > Function hid_post_reset() should return negative error codes on > failures. However, in its implementation, it incorrectly returns 1. > This patch fixes the bug, returning proper error codes on failures. Applied to for-4.10/upstream. Thanks, -- Jiri Kosina

RE: [PATCH v6: 2/4] x86: Add enabling of the R3MWAIT during boot

2016-12-09 Thread Andrejczuk, Grzegorz
> > On Thu 2016-10-27 16:38:13, Thomas Gleixner wrote: > > > On Thu, 27 Oct 2016, Grzegorz Andrejczuk wrote: > > > > +#ifdef CONFIG_X86_64 > > > > +static int phi_r3mwait_disabled __read_mostly; > > > > + > > > > +static int __init phir3mwait_disable(char *__unused) { > > > > + phi_r3mwait_di

Re: [PATCH 2/2] irqchip/renesas-intc-irqpin: Add R-Car Gen1 fallback binding

2016-12-09 Thread Geert Uytterhoeven
Hi Simon, On Fri, Dec 9, 2016 at 11:50 AM, Simon Horman wrote: > In the case of Renesas R-Car hardware we know that there are generations of > SoCs, e.g. Gen 1, Gen 2 and Gen 3. But beyond that its not clear what the it's > relationship between IP blocks might be. For example, I believe that >

Re: [PATCH V4 06/11] megaraid_sas: Dynamic Raid Map Changes for SAS3.5 Generic Megaraid Controllers

2016-12-09 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > SAS3.5 Generic Megaraid Controllers FW will support new dynamic RaidMap to > have different > sizes for different number of supported VDs. > > This patch is depending on patch 5 > > Signed-off-by: Sasikumar Chandrasekaran > --- > drivers/scsi

[PATCH] clk: imx: pllv3: support fractional multiplier on vf610 PLL1/PLL2

2016-12-09 Thread Nikita Yushchenko
On vf610, PLL1 and PLL2 have registers to configure fractional part of frequency multiplier. This patch adds support for these registers. This fixes "fast system clock" issue on boards where bootloader sets fractional multiplier for PLL1. Suggested-by: Andrey Smirnov CC: Chris Healy Signed-off

Re: Timeslice of vCPU thread in QEMU/KVM is not stable

2016-12-09 Thread Weiwei Jia
Hi Pankaj Gupta, Thanks for your reply. I have found the problem after debug Linux Kernel. The problem is once there is I/O thread upon vCPU2 thread of VM1, there will be some mutex (synchronization) produced so that it will be preempted by vCPU2 thread of VM2. After I set "/proc/sys/kernel/sched_

Re: [PATCH V4 07/11] megaraid_sas: Add the Support for SAS3.5 Generic Megaraid Controllers Capabilities

2016-12-09 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > The Megaraid driver has to support the SAS3.5 Generic Megaraid Controllers > Firmware functionality. > > This patch is depending on patch 6 > > Signed-off-by: Sasikumar Chandrasekaran Reviewed-by: Tomas Henzl Tomas

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

2016-12-09 Thread Mark Lord
On 16-12-08 10:23 PM, Hayes Wang wrote: > Mark Lord > > I find an issue about autosuspend, and it may result in the same > problem with you. I don't sure if this is helpful to you, because > it only occurs when enabling the autosuspend. Thanks. I am using ASIX adapters now. I did try the lates

Re: [PATCH v9 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-12-09 Thread Marek Vasut
On 12/09/2016 06:35 AM, Joel Holdsworth wrote: > The Lattice iCE40 is a family of FPGAs with a minimalistic architecture > and very regular structure, designed for low-cost, high-volume consumer > and system applications. > > This patch adds support to the FPGA manager for configuring the SRAM of

Re: [PATCH V4 07/11] megaraid_sas: Add the Support for SAS3.5 Generic Megaraid Controllers Capabilities

2016-12-09 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > The Megaraid driver has to support the SAS3.5 Generic Megaraid Controllers > Firmware functionality. > > This patch is depending on patch 6 > > Signed-off-by: Sasikumar Chandrasekaran > --- > drivers/scsi/megaraid/megaraid_sas_base.c | 53

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-09 Thread Marek Vasut
On 12/09/2016 01:25 PM, Mika Westerberg wrote: > On Fri, Dec 09, 2016 at 08:57:53AM +, Lee Jones wrote: >> On Wed, 07 Dec 2016, Marek Vasut wrote: >> >>> On 12/07/2016 09:53 AM, Mika Westerberg wrote: On Tue, Dec 06, 2016 at 09:45:25AM +, Lee Jones wrote: > I'm happy either way. H

[PATCH v2 1/2] dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller

2016-12-09 Thread Sergio Prado
Adds the device tree bindings description for Samsung S3C24XX MMC/SD/SDIO controller, used as a connectivity interface with external MMC, SD and SDIO storage mediums. Signed-off-by: Sergio Prado Acked-by: Rob Herring --- .../devicetree/bindings/mmc/samsung,s3cmci.txt | 34 ++

[PATCH v2 0/2] mmc: host: s3cmci: add device tree support

2016-12-09 Thread Sergio Prado
This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO controller via device tree. Tested on FriendlyARM mini2440, based on s3c2440 SoC. Changes since v1: - pinctrl description removed from DT binding - unit and label on DT binding renamed to mmc Sergio Prado (2): dt-bindings:

[PATCH v2 2/2] mmc: host: s3cmci: allow probing from device tree

2016-12-09 Thread Sergio Prado
Allows configuring Samsung S3C24XX MMC/SD/SDIO controller using a device tree. Signed-off-by: Sergio Prado --- drivers/mmc/host/s3cmci.c | 155 +++--- 1 file changed, 131 insertions(+), 24 deletions(-) diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/

Re: [PATCH 1/2 v3] sched: fix find_idlest_group for fork

2016-12-09 Thread Matt Fleming
On Thu, 08 Dec, at 05:56:53PM, Vincent Guittot wrote: > During fork, the utilization of a task is init once the rq has been > selected because the current utilization level of the rq is used to set > the utilization of the fork task. As the task's utilization is still > null at this step of the for

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-09 Thread Sakari Ailus
Hi Shuah, On Fri, Dec 09, 2016 at 01:44:07AM +0200, Sakari Ailus wrote: > Hi Shuah, > > On Thu, Dec 08, 2016 at 07:46:03AM -0700, Shuah Khan wrote: > > Hi Sakari, > > > > On 12/07/2016 03:27 PM, Sakari Ailus wrote: > > > Hi Shuah, > > > > > > On Wed, Dec 07, 2016 at 01:03:59PM -0700, Shuah Khan

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Lucas Stach
Am Freitag, den 09.12.2016, 22:44 +1100 schrieb Benjamin Herrenschmidt: > On Fri, 2016-12-09 at 09:34 +0100, Daniel Vetter wrote: > > Yeah if you have discrete vram then your dumb display driver isn't all > > that pretty. We essentially just have the few drivers Dave hacked up to be > > able to boo

[tip:x86/cache] x86/intel_rdt: Implement show_options() for resctrlfs

2016-12-09 Thread tip-bot for Shaohua Li
Commit-ID: 76ae054c69a745ded388fc4ae70422d74c5bc77d Gitweb: http://git.kernel.org/tip/76ae054c69a745ded388fc4ae70422d74c5bc77d Author: Shaohua Li AuthorDate: Fri, 2 Dec 2016 14:21:06 -0800 Committer: Thomas Gleixner CommitDate: Fri, 9 Dec 2016 14:12:18 +0100 x86/intel_rdt: Implement sh

scatterwalk_map_and_copy incorrect optimization

2016-12-09 Thread Jason A. Donenfeld
Hi Herbert, The scatterwalk_map_and_copy function copies ordinary buffers to and from scatterlists. These buffers can, of course, be on the stack, and this remains the most popular use of this function -- getting info between stack buffers and DMA regions. It's mostly used for adding or checking M

Re: [PATCH 2/2 v3] sched: use load_avg for selecting idlest group

2016-12-09 Thread Matt Fleming
On Thu, 08 Dec, at 05:56:54PM, Vincent Guittot wrote: > find_idlest_group() only compares the runnable_load_avg when looking for > the least loaded group. But on fork intensive use case like hackbench > where tasks blocked quickly after the fork, this can lead to selecting the > same CPU instead of

Re: scatterwalk_map_and_copy incorrect optimization

2016-12-09 Thread Jason A. Donenfeld
Hah, looks like I missed [1] by a couple weeks. Looks like it's been settled then. Is this a stable@ candidate? [1] https://git.zx2c4.com/linux/commit/?id=c8467f7a3620698bf3c22f0e199b550fb611a8ae

Re: [PATCH v2] arm64: mm: Fix memmap to be initialized for the entire section

2016-12-09 Thread Yisheng Xie
On 2016/12/9 20:23, Hanjun Guo wrote: > On 12/09/2016 08:19 PM, Ard Biesheuvel wrote: >> On 9 December 2016 at 12:14, Yisheng Xie wrote: >>> Hi Robert, >>> We have merged your patch to 4.9.0-rc8, however we still meet the similar >>> problem >>> on our D05 board: >>> >> >> To be clear: does thi

Re: [RESEND][PATCH v4] cgroup: Use CAP_SYS_RESOURCE to allow a process to migrate other tasks between cgroups

2016-12-09 Thread Tejun Heo
Hello, John. On Thu, Dec 08, 2016 at 09:39:38PM -0800, John Stultz wrote: > So just to clarify the discussion for my purposes and make sure I > understood, per-cgroup CAP rules was not desired, and instead we > should either utilize an existing cap (are there still objections to > CAP_SYS_RESOURCE

[PATCH v2 2/2] staging: iio: ad7606: move out of staging

2016-12-09 Thread Eva Rachel Retuya
Move the ad7606 driver from staging/iio/adc to iio/adc. Also, update the corresponding Makefile and Kconfig associated with the change. Signed-off-by: Eva Rachel Retuya --- drivers/iio/adc/Kconfig| 34 ++ drivers/iio/adc/Makefile

[PATCH v2 1/2] staging: iio: ad7606: replace range/range_available with corresponding scale

2016-12-09 Thread Eva Rachel Retuya
Eliminate the non-standard attributes in_voltage_range and in_voltage_range_available. Implement in_voltage_scale_available in place of these attributes and update the SCALE accordingly. The array scale_avail is introduced to hold the available scale values. Signed-off-by: Eva Rachel Retuya --- C

[PATCH v2 0/2] staging: iio: ad7606: move driver out of staging

2016-12-09 Thread Eva Rachel Retuya
Address the last remaining TODO [1] for this driver and move it from staging into mainline. [1] https://marc.info/?l=linux-iio&m=147689684332118&w=2 Change in v2: * Address the incorrect way of implementing the scale. (Pointed out by Lars) Eva Rachel Retuya (2): staging: iio: ad7606: replace

[PATCH v4 0/4] powernv:stop: Use psscr_val,mask provided by firmware

2016-12-09 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" This is the fourth iteration of the patchset to use the psscr_val and psscr_mask provided by the firmware for each of the stop states. The previous version can be found here: [v3]: https://lkml.org/lkml/2016/11/10/37 [v2]: https://lkml.org/lkml/2016/10/27/143 [v1]: htt

[PATCH v4 4/4] Documentation:powerpc: Add device-tree bindings for power-mgt

2016-12-09 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Document the device-tree bindings defining the the properties under the @power-mgt node in the device tree that describe the idle states for Linux running on baremetal POWER servers. Signed-off-by: Gautham R. Shenoy --- .../devicetree/bindings/powerpc/opal/power-mgt.t

[PATCH v4 3/4] powernv: Pass PSSCR value and mask to power9_idle_stop

2016-12-09 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The power9_idle_stop method currently takes only the requested stop level as a parameter and picks up the rest of the PSSCR bits from a hand-coded macro. This is not a very flexible design, especially when the firmware has the capability to communicate the psscr value an

[PATCH v4 1/4] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2016-12-09 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Currently all the low-power idle states are expected to wake up at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ that puts the CPU to an idle state and never returns. On ISA_300, when the ESL and EC bits in the PSSCR are zero, the CPU is expected to wa

[PATCH v4 2/4] cpuidle:powernv: Add helper function to populate powernv idle states.

2016-12-09 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" In the current code for powernv_add_idle_states, there is a lot of code duplication while initializing an idle state in powernv_states table. Add an inline helper function to populate the powernv_states[] table for a given idle state. Invoke this for populating the "Nap

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Daniel Vetter
On Fri, Dec 09, 2016 at 10:44:16PM +1100, Benjamin Herrenschmidt wrote: > On Fri, 2016-12-09 at 09:34 +0100, Daniel Vetter wrote: > > Yeah if you have discrete vram then your dumb display driver isn't all > > that pretty. We essentially just have the few drivers Dave hacked up to be > > able to boo

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Daniel Vetter
On Fri, Dec 09, 2016 at 10:48:07PM +1100, Benjamin Herrenschmidt wrote: > On Fri, 2016-12-09 at 09:41 +0100, Daniel Vetter wrote: > > > > And since I failed to make this clear: There's not really a > > fundamental > > reason ast and cirrus use the dirty tracking for fbdev. It's just that > > doing

Re: Still OOM problems with 4.9er kernels

2016-12-09 Thread Michal Hocko
On Fri 09-12-16 08:06:25, Gerhard Wiesinger wrote: > Hello, > > same with latest kernel rc, dnf still killed with OOM (but sometimes > better). > > ./update.sh: line 40: 1591 Killed ${EXE} update ${PARAMS} > (does dnf clean all;dnf update) > Linux database.intern 4.9.0-0.rc8.git

[PATCH] NFS: switch back to ->iterate()

2016-12-09 Thread Benjamin Coddington
NFS has some optimizations for readdir to choose between using READDIR or READDIRPLUS based on workload, and which NFS operation to use is determined by subsequent interactions with lookup, d_revalidate, and getattr. Concurrent use of nfs_readdir() via ->iterate_shared() can cause those optimizati

Re: [PATCH RFC] user-namespaced file capabilities - now with even more magic

2016-12-09 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > "Serge E. Hallyn" writes: > > > On Thu, Dec 08, 2016 at 05:43:09PM +1300, Eric W. Biederman wrote: > >> "Serge E. Hallyn" writes: > > >> Any chance of a singed-off-by? > > > > Yes, sorry, Stéphane had pointed out that I'd apparently forgotten

Re: [RFC 00/10] implement alternative and much simpler id allocator

2016-12-09 Thread Tejun Heo
Hello, Rasmus. On Thu, Dec 08, 2016 at 02:22:55AM +0100, Rasmus Villemoes wrote: > TL;DR: these patches save 250 KB of memory, with more low-hanging > fruit ready to pick. > > While browsing through the lib/idr.c code, I noticed that the code at > the end of ida_get_new_above() probably doesn't w

Re: [PATCH] tracing: (backport) Replace kmap with copy_from_user() in trace_marker

2016-12-09 Thread Steven Rostedt
On Fri, 9 Dec 2016 09:05:51 +0100 Henrik Austad wrote: > Ah, perhaps I jumped the gun here. I don't think Linus has picked this one > up yet, Steven sent out the patch yesterday. Correct, and since it's rc8 and I've just finished testing this, I think I'll just wait till the merge window to pu

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread David Herrmann
Hey On Fri, Dec 9, 2016 at 2:33 PM, Daniel Vetter wrote: >> > So it is possible, only reason vram dumb buffers look worse is that there's >> > only 3 and no one cares about them, vs about 20 and a very active community >> > of contributors (also for core drm improvements) for the other case. >> >

Re: [PATCH V4 08/11] megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth

2016-12-09 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > Large SEQ IO workload should sent as non fast path commands > > This patch is depending on patch 7 > > Signed-off-by: Sasikumar Chandrasekaran > --- > drivers/scsi/megaraid/megaraid_sas.h| 8 + > drivers/scsi/megaraid/megaraid_sas

Re: Perf hotplug lockup in v4.9-rc8

2016-12-09 Thread Peter Zijlstra
On Wed, Dec 07, 2016 at 07:34:55PM +0100, Peter Zijlstra wrote: > @@ -2352,6 +2357,28 @@ perf_install_in_context(struct perf_event_context *ctx, > return; > } > raw_spin_unlock_irq(&ctx->lock); > + > + raw_spin_lock_irq(&task->pi_lock); > + if (!(task->state == TA

Re: [PATCH 1/2] tracing/kprobes: add a helper method to return number of probe hits

2016-12-09 Thread Steven Rostedt
On Fri, 9 Dec 2016 13:25:51 +0100 Marcin Nowakowski wrote: > The number of probe hits is stored in a percpu variable and therefore > can't be read directly. Add a helper method trace_kprobe_nhit() that > performs the required calculation. Can you please add the "why?" to this change log. Who nee

Re: [PATCH V4 09/11] megaraid_sas: ldio_outstanding variable is not decremented in completion path

2016-12-09 Thread Tomas Henzl
On 7.12.2016 00:00, Sasikumar Chandrasekaran wrote: > ldio outstanding variable needs to be decremented in io completion path for > iMR dual queue depth > > This patch is depending on patch 8 > > Signed-off-by: Sasikumar Chandrasekaran Reviewed-by: Tomas Henzl Tomas

Re: [PATCH 1/2] tracing/kprobes: add a helper method to return number of probe hits

2016-12-09 Thread Steven Rostedt
On Fri, 9 Dec 2016 09:00:52 -0500 Steven Rostedt wrote: > On Fri, 9 Dec 2016 13:25:51 +0100 > Marcin Nowakowski wrote: > > > The number of probe hits is stored in a percpu variable and therefore > > can't be read directly. Add a helper method trace_kprobe_nhit() that > > performs the required c

Re: [PATCH 1/2] tracing/kprobes: add a helper method to return number of probe hits

2016-12-09 Thread Marcin Nowakowski
On 09.12.2016 15:03, Steven Rostedt wrote: On Fri, 9 Dec 2016 09:00:52 -0500 Steven Rostedt wrote: On Fri, 9 Dec 2016 13:25:51 +0100 Marcin Nowakowski wrote: The number of probe hits is stored in a percpu variable and therefore can't be read directly. Add a helper method trace_kprobe_nhit(

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-09 Thread Daniel Vetter
On Fri, Dec 09, 2016 at 02:57:24PM +0100, David Herrmann wrote: > Hey > > On Fri, Dec 9, 2016 at 2:33 PM, Daniel Vetter wrote: > >> > So it is possible, only reason vram dumb buffers look worse is that > >> > there's > >> > only 3 and no one cares about them, vs about 20 and a very active > >>

Re: [PATCH] x86/coredump: always use user_regs_struct for compat_elf_gregset_t

2016-12-09 Thread Dmitry Safonov
On 12/09/2016 02:14 AM, Andy Lutomirski wrote: On Nov 23, 2016 10:16 AM, "Dmitry Safonov" wrote: From commit 90954e7b9407 ("x86/coredump: Use pr_reg size, rather that TIF_IA32 flag") elf coredump file is constructed according to register set size - and that's good: if binary crashes with 32-bi

<    1   2   3   4   5   6   7   >