[PATCH v8 3/5] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-10-27 Thread fu . wei
From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Acked-by: Suravee Suthikulpanit Tested-by: Suravee

[PATCH v8 4/5] Watchdog: introdouce "pretimeout" into framework

2015-10-27 Thread fu . wei
From: Fu Wei Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API "watchdog_init_timeouts" Reasons: (1)kernel already has two watchdog drivers are using "pretimeout":

Re: [PATCH v8 1/5] Documentation: add sbsa-gwdt driver documentation

2015-10-27 Thread Mark Rutland
On Wed, Oct 28, 2015 at 12:06:35AM +0800, fu@linaro.org wrote: > From: Fu Wei > > The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for > introducing SBSA(Server Base System Architecture) Generic Watchdog > device node info into FDT. > > Also add

[PATCH 05/11] parport: code indent should use tabs

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee Code should be indented using tabs and not by space. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parport/share.c

[PATCH 11/11] parport: avoid assignment in if

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee It is not an usual practise to assign some value to a variable in the if test condition. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v8 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > New revisions of UFS host controller supports the new UniPro > hardware controller (referred as QUniPro). This patch adds > the support to enable this new UniPro controller hardware. > > This change also adds power optimization for bus scaling

Re: [PATCH v8 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > Adds support for configuring and reading the test bus and debug > registers. This change also adds another vops in order to print the > debug registers. > > Signed-off-by: Yaniv Gardi > > --- >

Re: [PATCH v8 5/8] scsi: ufs: creates wrapper functions for vops

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > In order to simplify the code a set of wrapper functions is created > to test and call each of the variant operations. > > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 1 - >

Re: [PATCH v8 6/8] scsi: ufs: make the UFS variant a platform device

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS > a platform device. > In order to do so a few additional changes are required: > 1. The ufshcd-pltfrm is no longer serves as a platform device. >Now it only serves as a group of

Re: [PATCH v8 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > Signed-off-by: Yaniv Gardi > > --- > drivers/scsi/ufs/ufs-qcom.c | 34 +- > drivers/scsi/ufs/ufshcd.h | 21 + > 2 files changed, 38 insertions(+), 17 deletions(-) >

Re: [PATCH 1/3] ibmvsci: make parameters max_id and max_channel read-only

2015-10-27 Thread Laurent Vivier
Ping ? On 13/10/2015 23:23, Laurent Vivier wrote: > James, > > this series has been reviewed and ack'ed, > as SCSI maintainer, could you take it ? > > Laurent > > On 10/09/2015 11:23, Laurent Vivier wrote: >> The value of the parameter is never re-read by the driver, >> so a new value is

Re: [PATCH] vhost: fix performance on LE hosts

2015-10-27 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 06:32:55AM -0700, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Tue, 27 Oct 2015 11:37:39 +0200 > > > commit 2751c9882b947292fcfb084c4f604e01724af804 ("vhost: cross-endian > > support for legacy devices") introduced a minor regression: even

[PATCH 2/4] utsrelease.h: Make it clear where files are generated

2015-10-27 Thread Nicholas Mc Guire
Add a comment string in include/utsrelease.h that it was generated by the top level Makefile. Signed-off-by: Nicholas Mc Guire --- This is no actual code change - compile-testing should thus do Compile tested with x86_64_defconfig Patch is against 4.3-rc6 (localversion-next

[PATCH 4/4] Mark files generated by confdata.c

2015-10-27 Thread Nicholas Mc Guire
scripts/kconfig/confdata.c generates a number of files - indicate the location of the generator in the file heading to ease reading the sources. Signed-off-by: Nicholas Mc Guire --- This is no actual code change - compile-testing should thus do checkpatch.pl will fuss about

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Johannes Weiner
On Tue, Oct 27, 2015 at 05:15:54PM +0100, Michal Hocko wrote: > On Tue 27-10-15 11:41:38, Johannes Weiner wrote: > > On Tue, Oct 27, 2015 at 01:26:47PM +0100, Michal Hocko wrote: > > > On Mon 26-10-15 12:56:19, Johannes Weiner wrote: > > > [...] > > > > Now you could argue that there might exist

[PATCH 1/8] cyclades: Deinline cyy_readb, save 368 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 32 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/cyclades.c | 2

[PATCH V1 09/11] x86, pci: Use previously added ECAM hot_added flag to remove ECAM regions.

2015-10-27 Thread Tomasz Nowicki
Now that we have hot_added flag we can get rid of arch specific mcfg_added. Signed-off-by: Tomasz Nowicki --- arch/x86/pci/acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index

[PATCH 2/8] cyclades: Deinline cyy_writeb, save 880 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 35 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/cyclades.c | 2

Re: [PATCH v2 02/32] devicetree: bindings: scsi: HiSi SAS

2015-10-27 Thread Mark Rutland
On Tue, Oct 27, 2015 at 01:09:15PM +, John Garry wrote: > On 26/10/2015 14:45, Mark Rutland wrote: > >On Mon, Oct 26, 2015 at 10:14:33PM +0800, John Garry wrote: > >>Add devicetree bindings for HiSilicon SAS driver. > >> > >>Signed-off-by: John Garry > >>--- > >>

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-27 Thread Simon Guinot
On Tue, Oct 27, 2015 at 04:23:43PM +0200, Mika Westerberg wrote: > On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: > > > +menu "ISA GPIO drivers" > > > + > > > +config GPIO_104_IDIO_16 > > > + tristate "ACCES 104-IDIO-16 GPIO support" > > > + depends on X86 > > > +

Re: [PATCH] w1: w1_process() is not freezable kthread

2015-10-27 Thread Evgeniy Polyakov
Hi 26.10.2015, 08:53, "Jiri Kosina" : > From: Jiri Kosina > > w1_process() calls try_to_freeze(), but the thread doesn't mark itself > freezable through set_freezable(), so the try_to_freeze() call is useless. I believe it is better to mark it freezable, what

[PATCH 6/6] net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove

2015-10-27 Thread Neil Armstrong
Avoids: Unable to handle kernel NULL pointer dereference at virtual address 0064 Workqueue: events_power_efficient phy_state_machine PC is at phy_state_machine+0x28/0x480 Signed-off-by: Frode Isaksen Signed-off-by: Neil Armstrong ---

[PATCH 3/6] net: dsa: cleanup resources upon module removal

2015-10-27 Thread Neil Armstrong
Make sure that we unassign the master_netdev dsa_ptr to make the packet processing go through the regular Ethernet receive path. Suggested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 8 1 file changed, 8

[PATCH 1/6] net: dsa: Use delayed work instead of timer+work for polling

2015-10-27 Thread Neil Armstrong
Simplifies the code and avoids a crash when removing the module: dsa dsa ethmv2 (unregistering): Link is Down device eth1 left promiscuous mode Unable to handle kernel paging request at virtual address bacc5cf6 ... (run_timer_softirq) from [] (__do_softirq+0xcc/0x320) (__do_softirq) from []

Re: [PATCHv5 00/52] perf stat: Add scripting support

2015-10-27 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 27, 2015 at 02:24:03PM +, Liang, Kan escreveu: > > > > > > Em Sun, Oct 25, 2015 at 03:51:16PM +0100, Jiri Olsa escreveu: > > > hi, > > > sending another version of stat scripting. > > > > > > v5 changes: > > > - several patches from v4 already taken > > > - using u16 for cpu

[PATCH 2/6] net: dsa: allow switch drivers to cleanup their resources

2015-10-27 Thread Neil Armstrong
Some switch drivers might request interrupts, remap register ranges, allow such drivers to implement a "remove" callback doing just that. Suggested-by: Florian Fainelli Signed-off-by: Neil Armstrong --- include/net/dsa.h | 1 + net/dsa/dsa.c |

Re: [PATCH V4 8/8] PCI: ACPI: Add support for PCI device DMA coherency

2015-10-27 Thread Bjorn Helgaas
On Wed, Oct 21, 2015 at 08:52:11AM -0700, Suravee Suthikulpanit wrote: > This patch adds support for setting up PCI device DMA coherency from > ACPI _CCA object that should normally be specified in the DSDT node > of its PCI host bridge. > > Signed-off-by: Suravee Suthikulpanit

[PATCH 4/6] net: dsa: Add missing master netdev dev_put() calls

2015-10-27 Thread Neil Armstrong
Upon probe failure or unbinding, add missing dev_put() calls. Signed-off-by: Neil Armstrong --- net/dsa/dsa.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index acbf854..9240a46 100644 --- a/net/dsa/dsa.c +++

[PATCH v12 1/5] lightnvm: Support for Open-Channel SSDs

2015-10-27 Thread Matias Bjørling
Open-channel SSDs are devices that share responsibilities with the host in order to implement and maintain features that typical SSDs keep strictly in firmware. These include (i) the Flash Translation Layer (FTL), (ii) bad block management, and (iii) hardware units such as the flash controller,

Re: [PATCH] timer: Lazily wakup nohz CPU when adding new timer.

2015-10-27 Thread Frederic Weisbecker
On Wed, Oct 21, 2015 at 04:16:31PM +0530, Viresh Kumar wrote: > Cc'ing Frederic. > > On 20-10-15, 15:47, Yunhong Jiang wrote: > > On Sun, Oct 11, 2015 at 08:12:39PM +0200, Thomas Gleixner wrote: > > > On Mon, 28 Sep 2015, Yunhong Jiang wrote: > > > > static void internal_add_timer(struct

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-27 Thread Eric Dumazet
On Tue, 2015-10-27 at 12:02 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 27, 2015 at 07:18:01AM -0700, Eric Dumazet escreveu: > > On Tue, 2015-10-27 at 07:31 -0500, Josh Cartwright wrote: > > > > > Okay, yes, I like the first suggestion better as well, I've included a > > > patch below

Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature

2015-10-27 Thread Aravind Gopalakrishnan
On 10/26/2015 8:09 PM, Borislav Petkov wrote: On Mon, Oct 26, 2015 at 05:50:47PM -0500, Aravind Gopalakrishnan wrote: How do you prefer a V2 for this to be sent though- Shall I wait until your fixes are in tip.git and resend? Or send a V2 on top of current tip.git? Actually, I just showed it

Re: [PATCH v2 0/5] crypto: add algif_akcipher user space API

2015-10-27 Thread Tadeusz Struk
Hi Marcel, On 10/26/2015 09:54 PM, Marcel Holtmann wrote: > after having discussions with David Howells and David Woodhouse, I don't > think we should expose akcipher via AF_ALG at all. I think the akcipher > operations for sign/verify/encrypt/decrypt should operate on asymmetric keys > in the

iMX6 SSI in TDM master mode and SDMA

2015-10-27 Thread Roberto Fichera
Hi There, I'm having an SDMA freeze when putting the SSI in TDM master mode while developing a DAHDI kernel driver. Kernel is the official freescale v3.14.28. The DTS is setting the pinmux as: /* * set IOMUX SD3_DATA0-3 to PCM SLIC signal */ pinctrl_audmux_1:

Re: [PATCH 2/6] net: dsa: allow switch drivers to cleanup their resources

2015-10-27 Thread Florian Fainelli
On 27/10/15 07:48, Neil Armstrong wrote: > Some switch drivers might request interrupts, remap register ranges, > allow such drivers to implement a "remove" callback doing just that. > > Suggested-by: Florian Fainelli This should probably be a Signed-off-by tag, but there

Re: [PATCH] arm: perf: Add event descriptions

2015-10-27 Thread Christopher Covington
On 10/07/2015 07:20 AM, Will Deacon wrote: > Hi again, Drew, > > On Thu, Sep 24, 2015 at 06:52:57PM +0100, Will Deacon wrote: >> On Mon, Aug 17, 2015 at 10:40:36PM +0100, Drew Richardson wrote: >>> So my suggestion to solve the problem is that the kernel can have the >>> list of events as

Re: [PATCH 6/6] net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove

2015-10-27 Thread Florian Fainelli
(don't top post please) On 27/10/15 08:53, Frode Isaksen wrote: > What will you need in the oops ? I presume you don' want everything or ? > > The PHY state machine is not stopped with a PHY disconnect. It is stopped with a phy_disconnect(): /** * phy_disconnect - disable interrupts, stop

Re: [PATCH 1/3] DT binding: gpio-zynq: Document interrupt-controller

2015-10-27 Thread Linus Walleij
On Fri, Oct 23, 2015 at 6:25 PM, Soren Brinkmann wrote: > HW and driver support the GPIO as interrupt-controller. Document that in > the DT binding. > > Signed-off-by: Soren Brinkmann Patch subject augmented and applied. > +-

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Grygorii Strashko
On 10/27/2015 05:53 PM, Linus Walleij wrote: On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann wrote: The driver uses runtime PM to leverage low power techniques. For use-cases using GPIO as interrupt the device needs to be in an appropriate state. Reported-by:

Re: Q: schedule() and implied barriers on arm64

2015-10-27 Thread Will Deacon
On Mon, Oct 19, 2015 at 06:24:23PM +0200, Peter Zijlstra wrote: > On Mon, Oct 19, 2015 at 04:21:08PM +0100, Catalin Marinas wrote: > > On Mon, Oct 19, 2015 at 09:06:05AM +0200, Ingo Molnar wrote: > > > * Peter Zijlstra wrote: > > > > > > > In any case, its all moot now,

[PATCH v3 1/4] extcon: arizona: Add extcon specific device tree binding document

2015-10-27 Thread Charles Keepax
Subsystem specific bindings for the Arizona devices are being factored out of the MFD binding document into separate documents for each subsystem. This patch adds a binding document that covers the existing extcon specific bindings. Signed-off-by: Charles Keepax

[PATCH v3 3/4] mfd: arizona: Remove bindings covered in new subsystem specific docs

2015-10-27 Thread Charles Keepax
Binding documentation has been added in new subsystem specific binding documents. This patch removes the now duplicate documentation from the MFD documentation. Signed-off-by: Charles Keepax --- Changes since v2: - No longer moving the core regulators into

[PATCH v2 2/3] iio: light: lm3533-als: Print error message on invalid resistance

2015-10-27 Thread Bjorn Andersson
Print an error message to indicate that invalid configuration data was provided in the platform_data, rather than just aborting initialization. Signed-off-by: Bjorn Andersson --- This patch can be picked independently of the other 2, but included in the series

[PATCH v2 3/3] mfd: lm3533: Support initialization from Device Tree

2015-10-27 Thread Bjorn Andersson
Implement Device Tree parsing functions to support initialization of the lm3533 drivers. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added units to bost-freq and als resistance drivers/mfd/lm3533-core.c | 264

[PATCH 7/8] serial_core: Deinline uart_update_mctrl, save 304 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 92 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org ---

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-27 Thread Linus Walleij
On Tue, Oct 27, 2015 at 3:23 PM, Mika Westerberg wrote: > On Tue, Oct 27, 2015 at 11:06:58AM +0100, Linus Walleij wrote: >> > +menu "ISA GPIO drivers" >> > + >> > +config GPIO_104_IDIO_16 >> > + tristate "ACCES 104-IDIO-16 GPIO support" >> > + depends

[PATCH 3/8] cyclades: Deinline serial_paranoia_check, save 304 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 52 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/cyclades.c | 2

[PATCH 6/8] serial/jsm: Deinline neo_parse_isr, save 688 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 811 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org ---

Re: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-27 Thread Mark Rutland
On Fri, Oct 23, 2015 at 08:31:20PM -0500, J. German Rivera wrote: > Added sys-reboot node to the FSL's LS2085A SoC DT to leverage > the ARM-generic reboot mechanism for this SoC. This mechanism > is enabled through CONFIG_POWER_RESET_SYSCON. Per the comments in

[PATCH 5/8] serial/bcm63xx_uart: Deinline wait_for_xmitr, save 374 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 141 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org ---

[PATCH 06/11] parport: quoted strings should not be split

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee user visible strings should not be split as that affects the ability to grep. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git

[PATCH 10/11] parport: remove unneeded space

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee checkpatch complains that space is prohibited between function name and open parenthesis '('. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 94 - 1 file changed,

[PATCH 03/11] parport: EXPORT_SYMBOL should follow function

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee All symbols were exported at the end of the file but they are supposed to be exported just after the function. And checkpatch was complaining about it. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 29

[PATCH 08/11] parport: remove unnecessary out of memory message

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee If kmalloc() or kzalloc() fails we will get sufficient messages in the logs, no need to print these extra messages. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 13 +++-- 1 file changed, 3

Re: [PATCH V5 1/1] usb:serial add Fintek F81532/534 driver

2015-10-27 Thread Johan Hovold
On Thu, Oct 22, 2015 at 10:25:26AM +0800, Peter Hung wrote: > Hi Johan, > > Johan Hovold 於 2015/9/14 下午 09:33 寫道: > > On Tue, Jul 21, 2015 at 09:58:19AM +0800, Peter Hung wrote: > > >>4. RS422 Mode > >> 1. The RTS mode is dont care. > >> 2. Set M2/M1/M0 as 0/0/0 > > >

Re: [PATCH v5 01/15] scsi: ufs: clear UTRD, UPIU req and rsp before new transfers

2015-10-27 Thread Gilad Broner
Looks OK. Reviewed-by: Gilad Broner > Clear the UFS data structures before sending new request. > > The SCSI command is sent to the device within the UFS UPIU request. > As part of the transfer UPIU preparation, the SCSI command is copied > to the UPIU structure according

Re: [PATCH 3/3] USB: serial: cp210x: Workaround cp2108 GET_LINE_CTL bug

2015-10-27 Thread Johan Hovold
On Thu, Oct 22, 2015 at 04:12:00PM -0500, Konstantin Shkolnyy wrote: > cp2108 GET_LINE_CTL returns the 16-bit value with the 2 bytes swapped. > However, SET_LINE_CTL functions properly. When the driver tries to modify > the register, it reads it, modifies some bits and writes back. Because the >

Re: Inline hunt results for 4.3.0-rc1

2015-10-27 Thread Denys Vlasenko
On Tue, Oct 27, 2015 at 3:55 PM, Hannes Frederic Sowa wrote: > On Tue, Oct 27, 2015, at 15:32, Denys Vlasenko wrote: >> I have created a set of semi-automated scripts which look for >> large inlines in the kernel. >> >> Recently I taught it to even generate "git

Re: character driver - poll() timeout

2015-10-27 Thread Clemens Ladisch
Muni Sekhar wrote: > On Tue, Oct 27, 2015 at 1:41 PM, Clemens Ladisch wrote: >> Muni Sekhar wrote: >>> Is it possible to print the timeout value in character driver poll() API? >> >> No. Your driver's poll callback never waits. >> >> Why do you think you need this value? > >

Re: [PATCH 6/6] net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove

2015-10-27 Thread Florian Fainelli
On 27/10/15 07:49, Neil Armstrong wrote: > Avoids: > Unable to handle kernel NULL pointer dereference at virtual address 0064 > Workqueue: events_power_efficient phy_state_machine > PC is at phy_state_machine+0x28/0x480 Stripped down oops can sometimes be missing critical pieces of

Re: [RFC PATCH] vfio/type1: Do not support IOMMUs that allow bypass

2015-10-27 Thread Will Deacon
On Fri, Oct 16, 2015 at 09:51:22AM -0600, Alex Williamson wrote: > On Fri, 2015-10-16 at 16:03 +0200, Eric Auger wrote: > > Hi Alex, > > On 10/15/2015 10:52 PM, Alex Williamson wrote: > > > We can only provide isolation if DMA is forced through the IOMMU > > > aperture. Don't allow type1 to be

Re: [PATCH] watchdog_dev: Use device tree alias for naming watchdogs

2015-10-27 Thread Wim Van Sebroeck
Hi Justin, > Currently there is no way to easily differentiate multiple > watchdog devices. The watchdogs are named by the order they > are probed. > 1st probed watchdog: /dev/watchdog0 > 2nd probed watchdog: /dev/watchdog1 > ... > > This change uses the alias of the watchdog device node for >

Re: [PATCH v2] gpio: xilinx: Drop architecture dependencies

2015-10-27 Thread Linus Walleij
On Fri, Oct 23, 2015 at 6:51 AM, Soren Brinkmann wrote: > The driver does not have any real architecture dependencies. To avoid > listing each architecture that might use this driver on some > FPGA-enabled platform, drop these dependencies. > > Signed-off-by: Soren

[PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Saurabh Sengar
replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock should be atomic GFP_KERNEL may sleep and can cause deadlock, where as GFP_ATOMIC may fail but certainly avoids deadlock Signed-off-by: Saurabh Sengar --- drivers/infiniband/core/sa_query.c | 4 ++-- 1

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Linus Walleij
On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann wrote: > The driver uses runtime PM to leverage low power techniques. For > use-cases using GPIO as interrupt the device needs to be in an > appropriate state. > > Reported-by: John Linn >

Re: [RFC PATCH] vfio/type1: Do not support IOMMUs that allow bypass

2015-10-27 Thread Alex Williamson
[cc +iommu] On Tue, 2015-10-27 at 15:40 +, Will Deacon wrote: > On Fri, Oct 16, 2015 at 09:51:22AM -0600, Alex Williamson wrote: > > On Fri, 2015-10-16 at 16:03 +0200, Eric Auger wrote: > > > Hi Alex, > > > On 10/15/2015 10:52 PM, Alex Williamson wrote: > > > > We can only provide isolation

Re: [PATCH 0/8] mm: memcontrol: account socket memory in unified hierarchy

2015-10-27 Thread Johannes Weiner
On Tue, Oct 27, 2015 at 11:43:21AM +0300, Vladimir Davydov wrote: > On Mon, Oct 26, 2015 at 01:22:16PM -0400, Johannes Weiner wrote: > > I'm not getting rid of those knobs, I'm just reusing the old socket > > accounting infrastructure in an attempt to make the memory accounting > > feature useful

[PATCH v2 1/3] devicetree: mfd: Add binding for the TI LM3533

2015-10-27 Thread Bjorn Andersson
Add the binding for the Texas Instruments LM3533 lighting power solution. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added unit to boost-freq and als-resistance (as the frequency now comes with a unit specifier I changed it to be expressed in kHz)

[PATCH 0/8] drivers/tty/: Deinline functions when it saves at least 300 bytes per function

2015-10-27 Thread Denys Vlasenko
Denys Vlasenko (8): tty/cyclades.c: Deinline cyy_readb, save 368 bytes tty/cyclades.c: Deinline cyy_writeb, save 880 bytes tty/cyclades.c: Deinline serial_paranoia_check, save 304 bytes tty/isicom.c: Deinline WaitTillCardIsFree, save 1120 bytes tty/serial/bcm63xx_uart.c: Deinline

[PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-27 Thread Tomasz Nowicki
Because of two patch series: 1. Jiang Liu's common interface to support PCI host bridge init 2. Refactoring of MMCONFIG, part of this patch set now we can think about PCI buses enumeration for ARM64 and ACPI tables. This patch introduce ACPI based PCI hostbridge init calls which use information

Re: [PATCH v8 04/14] task_isolation: add initial support

2015-10-27 Thread Chris Metcalf
On 10/21/2015 12:12 PM, Frederic Weisbecker wrote: On Tue, Oct 20, 2015 at 04:36:02PM -0400, Chris Metcalf wrote: +/* + * This routine controls whether we can enable task-isolation mode. + * The task must be affinitized to a single nohz_full core or we will + * return EINVAL. Although the

[PATCH 8/8] tty/tty_ldisc: Deinline tty_ldisc_put, save 368 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 72 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/tty_ldisc.c |

[PATCH 4/8] isicom: Deinline WaitTillCardIsFree, save 1120 bytes

2015-10-27 Thread Denys Vlasenko
This function compiles to 96 bytes of machine code. Signed-off-by: Denys Vlasenko CC: Greg Kroah-Hartman CC: Peter Hurley CC: Jiri Slaby CC: linux-ser...@vger.kernel.org --- drivers/tty/isicom.c | 2

[PATCH 09/11] parport: change style of NULL comparison

2015-10-27 Thread Sudip Mukherjee
From: Sudip Mukherjee checkpatch was complaining about NULL comparisons. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/parport/share.c

[PATCH 01/11] parport: fix a trivial typo

2015-10-27 Thread Sudip Mukherjee
From: Geliang Tang s/regsiter/register/ Signed-off-by: Geliang Tang Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/parport/share.c

Re: [PATCH v2 02/32] devicetree: bindings: scsi: HiSi SAS

2015-10-27 Thread zhangfei
On 10/27/2015 10:39 PM, Mark Rutland wrote: On Tue, Oct 27, 2015 at 01:09:15PM +, John Garry wrote: On 26/10/2015 14:45, Mark Rutland wrote: On Mon, Oct 26, 2015 at 10:14:33PM +0800, John Garry wrote: Add devicetree bindings for HiSilicon SAS driver. Signed-off-by: John Garry

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-27 Thread Huan Wang
> On Thursday 15 October 2015 02:11:57 Huan Wang wrote: > > > On Wednesday 14 October 2015 10:18:47 Huan Wang wrote: > > > > > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > > > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > wrote: > > > > > > Any

[RFD] Functional dependencies between devices

2015-10-27 Thread Rafael J. Wysocki
Hi All, As discussed in the recent "On-demand device probing" thread and in a Kernel Summit session earlier today, there is a problem with handling cases where functional dependencies between devices are involved. What I mean by a "functional dependency" is when the driver of device B needs both

Re: [PATCH v8 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > This change fixes a compilation warning that happens if SCSI_UFS_QCOM > is compiled as a module. > Also this patch fixes an error happens when insmod the module: > "ufs_qcom: module license 'unspecified' taints kernel." > > Signed-off-by: Yaniv

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-27 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 27, 2015 at 07:18:01AM -0700, Eric Dumazet escreveu: > On Tue, 2015-10-27 at 07:31 -0500, Josh Cartwright wrote: > > > Okay, yes, I like the first suggestion better as well, I've included a > > patch below that does just that. I hope you don't mind me turning it > > into a

Re: [PATCH v8 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-10-27 Thread Gilad Broner
Reviewed-by: Gilad Broner > Export the following functions in order to avoid build errors > when the component PHY_QCOM_UFS is compiled as a module: > > ERROR: "ufs_qcom_phy_disable_ref_clk" > [drivers/scsi/ufs/ufs-qcom.ko] undefined! > ERROR:

Re: [PATCH 2/6] net: dsa: allow switch drivers to cleanup their resources

2015-10-27 Thread Neil Armstrong
Hi, On 10/27/2015 04:39 PM, Florian Fainelli wrote: > On 27/10/15 07:48, Neil Armstrong wrote: >> Some switch drivers might request interrupts, remap register ranges, >> allow such drivers to implement a "remove" callback doing just that. >> >> Suggested-by: Florian Fainelli

Re: [PATCH] oom_kill: add option to disable dump_stack()

2015-10-27 Thread Aristeu Rozanski
Hi Michal, On Tue, Oct 27, 2015 at 09:09:21AM +0100, Michal Hocko wrote: > On Mon 26-10-15 13:40:49, Aristeu Rozanski wrote: > > Hi Michal, > > On Mon, Oct 26, 2015 at 06:20:12PM +0100, Michal Hocko wrote: > [...] > > > Would it make more sense to distinguish different parts of the OOM > > >

Re: [PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-27 Thread Will Deacon
On Fri, Oct 16, 2015 at 11:37:29AM +0100, Catalin Marinas wrote: > On Fri, Oct 16, 2015 at 08:52:24AM +0100, Vladimir Murzin wrote: > > > On 15/10/15 14:02, Will Deacon wrote: > > >> diff --git a/arch/arm64/kernel/armv8_deprecated.c > > >> b/arch/arm64/kernel/armv8_deprecated.c > > >> index

[PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-27 Thread Lee Jones
Since eafbaac ("MAINTAINERS: Add "R:" designated-reviewers tag") we have been able to tag specific people as Reviewers. These are key individuals who are tasked with or volunteer to review code submitted to a subsystem or specific file. However, according to MAINTAINERS we have 1046 Maintainers

Re: [PATCHv2 1/2] Documentation: ad5592r: Added devicetree bindings documentation

2015-10-27 Thread Linus Walleij
On Sun, Oct 25, 2015 at 2:31 PM, Jonathan Cameron wrote: > On 13/10/15 10:37, Paul Cercueil wrote: >> Signed-off-by: Paul Cercueil > Looks good to me, but as it is a little bit 'different' and we are > defining entirely new generic bindings (the

[Regression/Oops] nsc-ircc: 4.3.0rc6/rc7 No backlight on Thinkpad T60P

2015-10-27 Thread Simon Wood
Tried the latest kernel and have the issue where the LCD backlight does not light (ie dark screen) after the kernel has booted. It appears that there is a 'oops' with the nsc-ircc driver, and I assume that this is the root of the problem. 4.3.0rc6 and rc7 are bad, rc2 seems OK. -- Oct 23

Re: [RFD] Functional dependencies between devices

2015-10-27 Thread Tomeu Vizoso
On 27 October 2015 at 16:24, Rafael J. Wysocki wrote: > Hi All, > > As discussed in the recent "On-demand device probing" thread and in a Kernel > Summit session earlier today, there is a problem with handling cases where > functional dependencies between devices are involved.

Re: Inline hunt results for 4.3.0-rc1

2015-10-27 Thread Hannes Frederic Sowa
On Tue, Oct 27, 2015, at 16:17, Denys Vlasenko wrote: > On Tue, Oct 27, 2015 at 3:55 PM, Hannes Frederic Sowa > wrote: > > On Tue, Oct 27, 2015, at 15:32, Denys Vlasenko wrote: > >> I have created a set of semi-automated scripts which look for > >> large inlines in the

Re: [PATCH v2 2/3] lib/string_helpers.c: don't lose precision in string_get_size()

2015-10-27 Thread Andy Shevchenko
On Tue, 2015-10-27 at 15:06 +0100, Vitaly Kuznetsov wrote: > string_get_size() loses precision when there is a remainder for > blk_size / divisor[units] and size is big enough. E.g > string_get_size(8192, 4096, STRING_UNITS_10, ...) returns "32.7 MB" > while it is supposed to return "33.5 MB". For

Re: [PATCH] memcg: Fix thresholds for 32b architectures.

2015-10-27 Thread Vladimir Davydov
On Tue, Oct 27, 2015 at 11:37:14AM +0100, mho...@kernel.org wrote: > From: Michal Hocko > > 424cdc141380 ("memcg: convert threshold to bytes") has fixed a > regression introduced by 3e32cb2e0a12 ("mm: memcontrol: lockless page > counters") where thresholds were silently

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Johannes Weiner
On Tue, Oct 27, 2015 at 01:26:47PM +0100, Michal Hocko wrote: > On Mon 26-10-15 12:56:19, Johannes Weiner wrote: > [...] > > Now you could argue that there might exist specialized workloads that > > need to account anonymous pages and page cache, but not socket memory > > buffers. > > Exactly,

Re: [PATCH 1/2] cpu hotplug, add CONFIG_PERMANENT_CPU_TOPOLOGY and keep topology directory for lifetime of CPU [v2]

2015-10-27 Thread Thomas Renninger
On Wednesday, October 21, 2015 12:06:37 PM Prarit Bhargava wrote: ... > +config PERMANENT_CPU_TOPOLOGY > + bool "Permanent CPU Topology" > + depends on HOTPLUG_CPU > + default 1 if X86 > + default 0 > + help > + This option configures CPU topology to be permanent for

4.3-rc7: kmemleak BUG: Redzone overwritten

2015-10-27 Thread Aaro Koskinen
Hi, With 4.3-rc7 and slub_debug=FZUP, I get the below when reading /sys/kernel/debug/kmemleak with a large number of reported entries. It's pretty repeatable. HW is MIPS64. With the SLUB debugging disabled, box crashes randomly in kmem_cache_free or kmem_cache_alloc when the kmemleak file is

[PATCH 3/4] mkcompile_h: add the generator location to compile.h

2015-10-27 Thread Nicholas Mc Guire
Make it clear what script is generating compile.h Signed-off-by: Nicholas Mc Guire --- This is no actual code change - compile-testing should thus do Compile tested with x86_64_defconfig Patch is against 4.3-rc6 (localversion-next is -next-20151022) scripts/mkcompile_h |

Re: [PATCH 2/3] ARM: zynq: DT: Add interrupt-controller property to GPIO

2015-10-27 Thread Linus Walleij
On Fri, Oct 23, 2015 at 6:25 PM, Soren Brinkmann wrote: > GPIO can be used as interrupt-controller. Add the missing properties to > the GPIO node. > > Signed-off-by: Soren Brinkmann Acked-by: Linus Walleij

Re: [PATCHv2 1/2] Documentation: ad5592r: Added devicetree bindings documentation

2015-10-27 Thread Linus Walleij
On Tue, Oct 27, 2015 at 5:13 PM, Linus Walleij wrote: > There are other problems though, but I comment on these > separately. Was wrong about that. I think this can go in like this. Later, this device may fork off a GPIO chip as well, but we will deal with that

[PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-27 Thread dan . streetman
From: Dan Streetman The ipv4 and ipv6 xfrms each create a template dst_ops object, and perform dst_entries_init() on the template objects. Then each net namespace has its net.xfrm.xfrm[46]_dst_ops field set to the template values. The problem with that is the

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Michal Hocko
On Tue 27-10-15 11:41:38, Johannes Weiner wrote: > On Tue, Oct 27, 2015 at 01:26:47PM +0100, Michal Hocko wrote: > > On Mon 26-10-15 12:56:19, Johannes Weiner wrote: > > [...] > > > Now you could argue that there might exist specialized workloads that > > > need to account anonymous pages and page

Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2015-10-27 Thread Ralf Baechle
On Thu, Oct 22, 2015 at 06:41:30PM -0700, Leonid Yegoshin wrote: > You can not use R4K CP0_count in SMP (multicore) without core-specific > adjustment. > After first power-saving with core clock off or core down the values in > CP0_count > in different cores are absolutely different. > > Until

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