[PATCH v4 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver

2016-02-09 Thread Andrew Duggan
This is the v4 patch series which fixes the issues identified in the previous patch series. These include: - Use devm_request_threaded_irq since I have forgotten to add a free_irq when I moved irq handling into the transport drivers. - This patch series also includes Linus Walleij's changes to g

[PATCH v4 02/10] Input: synaptics-rmi4: Add I2C transport driver

2016-02-09 Thread Andrew Duggan
Add the transport driver for devices using RMI4 over I2C. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 3 + drivers/input/rmi4/rmi_i2c.c | 388 +++ 3 files changed

Re: [PATCH net-next iproute2] iplink: display rx nohandler stats

2016-02-09 Thread Stephen Hemminger
On Tue, 9 Feb 2016 18:51:35 -0500 Jarod Wilson wrote: > On Tue, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote: > > Support for the new rx_nohandler statistic. > > This code is designed to handle the case where the kernel reported statistic > > structure is smaller than the larger stru

[PATCH v4 03/10] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2016-02-09 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_f01.txt | 39

[PATCH v4 04/10] Input: synaptics-rmi4: Add support for 2D sensors and F11

2016-02-09 Thread Andrew Duggan
RMI4 currently defines two functions for reporting data for 2D sensors (F11 and F12). This patch adds the common functionality which is shared by devices with 2D reporting along with implementing functionality for F11. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/in

[PATCH v4 01/10] Input: synaptics-rmi4: Add support for Synaptics RMI4 devices

2016-02-09 Thread Andrew Duggan
Synaptics uses the Register Mapped Interface (RMI) protocol as a communications interface for their devices. This driver adds the core functionality needed to interface with RMI4 devices. RMI devices can be connected to the host via several transport protocols and can supports a wide variety of fu

[PATCH v4 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2016-02-09 Thread Andrew Duggan
2D sensors have several parameter which can be set in the platform data. This patch adds support for getting those values from devicetree. Signed-off-by: Andrew Duggan --- .../bindings/input/rmi4/rmi_2d_sensor.txt | 56 +++ .../bindings/input/touchscreen/touchscreen.txt |

[PATCH v4 09/10] Input: synaptics-rmi4: Add device tree support to the SPI transport driver

2016-02-09 Thread Andrew Duggan
Add devicetree binding for SPI devices. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_spi.txt | 57 ++ Documentation/devicetree/bindings/spi/spi-bus.txt | 2 + drivers/input/rmi4/rmi_spi.c | 44 - 3 files c

[PATCH v4 07/10] Input: synaptics-rmi4: Add support for F30

2016-02-09 Thread Andrew Duggan
RMI4 F30 supports input from clickpad buttons and controls LEDs located on the touchpad PCB. This patch adds support of the clickpad buttons and defers supporting LEDs for the future. Signed-off-by: Andrew Duggan Signed-off-by: Benjamin Tissoires --- drivers/input/rmi4/Kconfig | 9 + dri

[PATCH v4 08/10] Input: synaptics-rmi4: Add SPI transport driver

2016-02-09 Thread Andrew Duggan
Add the transport driver for devices using RMI4 over SPI. Signed-off-by: Andrew Duggan --- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 1 + drivers/input/rmi4/rmi_spi.c | 548 +++ include/linux/rmi.h | 51 4 files

[PATCH v4 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2016-02-09 Thread Andrew Duggan
The Synaptics RMI4 driver provides support for RMI4 devices. Instead of duplicating the RMI4 processing code, make hid-rmi a transport driver and register it with the Synaptics RMI4 core. Signed-off-by: Andrew Duggan --- drivers/hid/Kconfig | 2 +- drivers/hid/hid-rmi.c | 891 +--

Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-09 Thread Suman Anna
Hi Paul, On 02/09/2016 01:36 PM, Paul Walmsley wrote: > Hi Suman > > On Tue, 9 Feb 2016, Suman Anna wrote: > >> On 02/09/2016 02:49 AM, Paul Walmsley wrote: >>> On Mon, 8 Feb 2016, Suman Anna wrote: On 02/07/2016 08:48 PM, Paul Walmsley wrote: > On Tue, 2 Feb 2016, Kishon Vijay Abraham

[PATCH v4 06/10] Input: synaptics-rmi4: Add support for F12

2016-02-09 Thread Andrew Duggan
Function 12 implements 2D touch position sensor for newer Synaptics touch devices. It replaces F11 and no device will contain both functions. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/input/rmi4/Kconfig | 11 + drivers/input/rmi4/Makefile | 1 + drive

Re: [PATCH] SUNRPC: restore fair scheduling to priority queues.

2016-02-09 Thread NeilBrown
On Wed, Feb 10 2016, NeilBrown wrote: > On Sun, Dec 27 2015, Trond Myklebust wrote: > >> On Tue, Dec 15, 2015 at 10:10 PM, NeilBrown wrote: >>> If you treated all reads and writed the same, then I can't see value in >>> restoring fair scheduling. If there is any difference, then I suspect >>> w

Re: [PATCH v7 06/10] ppc64 ftrace: disable profiling for some functions

2016-02-09 Thread Michael Ellerman
On Mon, 2016-01-25 at 16:31 +0100, Torsten Duwe wrote: > At least POWER7/8 have MMUs that don't completely autoload; > a normal, recoverable memory fault might pass through these functions. > If a dynamic tracer function causes such a fault, any of these functions > being traced with -mprofile-ker

[PATCH] pci: xgene: Add ECAM fixups

2016-02-09 Thread Duc Dang
X-Gene PCIe controller does not fully support ECAM. This patch adds required ECAM fixup to allow X-Gene PCIe controller to be functional in ACPI boot mode. This patch is based on the original work of Mark Salter and depends on Tomasz's PCIe ACPI series: https://lkml.org/lkml/2016/2/4/646 Signed-

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-09 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 2:02 AM, Steve Muckle wrote: > On 02/09/2016 12:05 PM, Rafael J. Wysocki wrote: One concern I had was, given that the lone scheduler update hook is in CFS, is it possible for governor updates to be stalled due to RT or DL task activity? >>> >>> I don't think

[PATCH] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2016-02-09 Thread Duc Dang
This patch makes pci-xgene-msi driver ACPI-aware and provides MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. Signed-off-by: Duc Dang --- drivers/pci/host/pci-xgene-msi.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/dri

Re: [PATCH v6 10/22] usb: dwc2: host: Properly set the HFIR

2016-02-09 Thread John Youn
On 1/31/2016 2:19 PM, Doug Anderson wrote: > Kever, > > On Sun, Jan 31, 2016 at 1:23 AM, Kever Yang wrote: >> Doug, >> >> On 01/29/2016 10:20 AM, Douglas Anderson wrote: >>> >>> According to the most up to date version of the dwc2 databook, the FRINT >>> field of the HFIR register should be progr

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-09 Thread William Breathitt Gray
On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >My only real question is on the naming of the module parameter. >Is it the equivalent of the io address that a load of ISA >radio drivers seem to use? (fed to me by grepping isa_register_driver) >If so perhaps that's the 'standard'

Re: [PATCH v6 0/22] usb: dwc2: host: Fix and speed up all the stuff, especially with splits

2016-02-09 Thread John Youn
On 2/3/2016 10:24 AM, Doug Anderson wrote: > John, > > On Tue, Feb 2, 2016 at 3:57 PM, John Youn wrote: >> On 1/28/2016 6:20 PM, Douglas Anderson wrote: >>> This is a bit of catchall series for all the bug fix and performance >>> patches I've been working on over the last few months. Note that f

[PATCH] Input: synaptics-rmi4: fix array_size.cocci warnings

2016-02-09 Thread kbuild test robot
drivers/input/rmi4/rmi_bus.c:295:20-21: WARNING: Use ARRAY_SIZE Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element Semantic patch information: This makes an effort to find cases where ARRAY_SIZE can be used such as where there is a division of sizeof the array by the sizeof

Re: [PATCH v4 01/10] Input: synaptics-rmi4: Add support for Synaptics RMI4 devices

2016-02-09 Thread kbuild test robot
Hi Andrew, [auto build test WARNING on input/next] [also build test WARNING on v4.5-rc3 next-20160209] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4

Re: [PATCH V2] mm: Some arch may want to use HPAGE_PMD related values as variables

2016-02-09 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > On Tue, Feb 09, 2016 at 09:41:44PM +0530, Aneesh Kumar K.V wrote: >> With next generation power processor, we are having a new mmu model >> [1] that require us to maintain a different linux page table format. >> >> Inorder to support both current and future ppc64 s

Re: [PATCH] tty/serial: digicolor: Fix bad usage of IS_ERR_VALUE

2016-02-09 Thread Guenter Roeck
On 02/09/2016 07:26 AM, Arnd Bergmann wrote: On Tuesday 09 February 2016 07:08:59 Guenter Roeck wrote: IS_ERR_VALUE() assumes that its parameter is an unsigned long. It can not be used to check if an unsigned int reflects an error. Doing so can result in the following build warning. drivers/tty

Re: [PATCH V2] mm: Some arch may want to use HPAGE_PMD related values as variables

2016-02-09 Thread Aneesh Kumar K.V
Andrew Morton writes: > On Tue, 9 Feb 2016 21:41:44 +0530 "Aneesh Kumar K.V" > wrote: > >> With next generation power processor, we are having a new mmu model >> [1] that require us to maintain a different linux page table format. >> >> Inorder to support both current and future ppc64 systems

[PATCH 0/6][RFC] cleanup regmap write functions

2016-02-09 Thread Kuninori Morimoto
Hi Mark Current regmap has many similar functions regmap_update_bits() regmap_update_bits_async() regmap_update_bits_check() regmap_update_bits_check_async() But difference is very few. And I would like to have _force_ feature on it. So, these patches add new regma

RE: [PATCH V2 06/13] Drivers: hv: vmbus: define the new offer type for Hyper-V socket (hvsock)

2016-02-09 Thread Dexuan Cui
> From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, February 8, 2016 13:34 > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; vkuzn...@redhat.com; jasow...@redhat.com; Dexuan > Cui > Subject: Re: [PATCH V2

[PATCH 1/7][RFC] regmap: add regmap_raw_update_bits() and merge all regmap_update_bits_xxx()

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Current regmap has many similar update functions, but the difference is very few. This patch adds new regmap_raw_update_bits() and merge all update functions into it by macro. regmap_update_bits() regmap_update_bits_async() regmap_update_bits_check(

[PATCH 2/7][RFC] regmap: regmap_field_xxx() uses regmap_raw_update_bits()

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto It can be easy to add _check, _async, _check_async functions Signed-off-by: Kuninori Morimoto --- drivers/base/regmap/regmap.c | 23 ++- include/linux/regmap.h | 14 ++ 2 files changed, 24 insertions(+), 13 deletions(-) diff --git

[PATCH 4/7][RFC] regmap: add regmap_field_force_xxx() functions

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- include/linux/regmap.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 687223d..befa781 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -76,8 +76,12 @@

[PATCH 3/7][RFC] regmap: regmap_fields_xxx() uses regmap_raw_update_bits()

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto It can be easy to add _check, _async, _check_async functions Signed-off-by: Kuninori Morimoto --- drivers/base/regmap/regmap.c | 32 ++-- include/linux/regmap.h | 15 +++ 2 files changed, 29 insertions(+), 18 deletions(-)

[PATCH v3 7/9] Staging: rts5208: rtsx_transport.c: Remove unnecessary parentheses

2016-02-09 Thread Shaun Ren
This patch removes all unnecessary parentheses found by checkpatch.pl. Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/rtsx

[PATCH v3 1/9] Staging: rts5208: rtsx_transport.c: Cleanup comments

2016-02-09 Thread Shaun Ren
This patch fixes all multiline comments to conform to the coding style, which states that multiline comments should start with "/*" and end with "*/" on a separate line. Also cleans up some comments to make them more clear and/or reflect what the code is doing. Signed-off-by: Shaun Ren --- Chang

[PATCH v3 0/9] Staging: rts5208: Coding style and dma mapping fixes

2016-02-09 Thread Shaun Ren
This set of patches fixes the coding style issues in rtsx_transport.c, and dds a missing call dma_mapping_error() after dma_map_single(). Changes since v2 * Incorporated Joshua Clayton's suggestions regarding the block comments

[PATCH v3 5/9] Staging: rts5208: rtsx_transport.c: Remove extra newlines

2016-02-09 Thread Shaun Ren
This patch fixes the following issues in rtsx_transport.c as reported by checkpatch.pl: CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Please don't use multiple blank lines Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 3 --- 1 file changed, 3 delet

[PATCH] Input: synaptics-rmi4: fix platform_no_drv_owner.cocci warnings

2016-02-09 Thread kbuild test robot
drivers/input/rmi4/rmi_i2c.c:373:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Andrew Duggan Signed-off-by: Fengguang Wu --- rmi_i2c.c |1 - 1 f

[PATCH 6/7][RFC] regmpa: remove regmap_write_bits()

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto We can use _force_ write by regmap_raw_update_bits() option. Let's remove unused regmap_write_bits() Signed-off-by: Kuninori Morimoto --- drivers/base/regmap/regmap.c | 23 --- include/linux/regmap.h | 9 - 2 files changed, 32 deletio

[PATCH 7/7][RFC] ASoC: rsnd: rsnd_write() / rsnd_bset() uses regmap _force_ function

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Some R-Car sound requests picky register access which needs *force* register write. To reduce complexity, this patch uses regmap force function for all register access. Signed-off-by: Kuninori Morimoto --- sound/soc/sh/rcar/gen.c | 21 ++--- sound/soc/s

[PATCH 5/7][RFC] regmap: add regmap_fields_force_xxx() functions

2016-02-09 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- drivers/base/regmap/regmap.c | 12 include/linux/regmap.h | 6 -- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 9329c27..1b5c

Re: [PATCH v4 02/10] Input: synaptics-rmi4: Add I2C transport driver

2016-02-09 Thread kbuild test robot
Hi Andrew, [auto build test WARNING on input/next] [also build test WARNING on v4.5-rc3 next-20160209] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4

[PATCH v3 9/9] Staging: rts5208: Add missing dma_mapping_error

2016-02-09 Thread Shaun Ren
This patch adds a dma_mapping_error call to debug potential DMA mapping errors after the dma_map_single call in rtsx_transport.c. Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rts5208/rtsx

[PATCH v3 6/9] Staging: rts5208: rtsx_transport.c: Fix label naming convention

2016-02-09 Thread Shaun Ren
This patch fixes the following naming convention issue in rtsx_transport.c, as reported by checkpatch.pl: CHECK: Avoid CamelCase: Signed-off-by: Shaun Ren --- Changes since v2 * Update patch to reflect the changes made in PATCH 1/9 (block comments) drivers/staging/rts5208/rtsx_transport.c |

[PATCH v3 2/9] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-09 Thread Shaun Ren
This patch fixes the alignment issue reported by checkpatch.pl: CHECK: Alignment should match open parenthesis Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 61 ++-- 1 file changed, 35 insertions(+), 26 deletions(-) diff --git a/drivers/sta

[PATCH v3 4/9] Staging: rts5208: rtsx_transport.c: Add spaces around -

2016-02-09 Thread Shaun Ren
This patch fixes the following styling issue in rtsx_transport.c as reported by checkpatch.pl: CHECK: spaces preferred around that '-' (ctx:VxV) Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v3 8/9] Staging: rts5208: rtsx_transport.c: Fix comparisons to NULL

2016-02-09 Thread Shaun Ren
This patch changes all comparsions to NULL with !..., as reported by checkpatch.pl. Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_transport.c b/drivers/staging/rts5208/

[PATCH v3 3/9] Staging: rts5208: rtsx_transport.c: Remove spaces after casts

2016-02-09 Thread Shaun Ren
This patch removes all spaces after casts in rtsx_transport.c, as reported by checkpatch.pl: CHECK: No space is necessary after a cast Signed-off-by: Shaun Ren --- drivers/staging/rts5208/rtsx_transport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/

Re: [PATCH v3 2/9] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-09 Thread Joe Perches
On Tue, 2016-02-09 at 18:45 -0800, Shaun Ren wrote: > This patch fixes the alignment issue reported by checkpatch.pl: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Shaun Ren > --- >  drivers/staging/rts5208/rtsx_transport.c | 61 > ++-- >  1 fi

Re: [PATCH 1/3] x86: Honour passed pgprot in track_pfn_insert() and track_pfn_remap()

2016-02-09 Thread Andy Lutomirski
On Feb 9, 2016 6:24 AM, "Ingo Molnar" wrote: > > > * Matthew Wilcox wrote: > > > > I sure hope not. If vm_page_prot was writable, something was already > > > broken, > > > because this is the vvar mapping, and the vvar mapping is VM_READ (and not > > > even VM_MAYREAD). > > > > I do beg yor par

Re: [RFC] perf: fix building for ARCv1

2016-02-09 Thread Vineet Gupta
On Friday 05 February 2016 09:40 PM, a...@redhat.com wrote: > Em Fri, Feb 05, 2016 at 11:18:52AM +, Noam Camus escreveu: >> Well here for EZchip I also see the: >> undefined reference to `__sync_add_and_fetch_4' >> undefined reference to `__sync_sub_and_fetch_4' > > Yeah, because there is no:

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-09 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 2:57 AM, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2016 at 2:02 AM, Steve Muckle wrote: >> On 02/09/2016 12:05 PM, Rafael J. Wysocki wrote: > One concern I had was, given that the lone scheduler update hook is in > CFS, is it possible for governor updates to be st

Re: [PATCH] clk: clk_register: Correctly initialize enable_count

2016-02-09 Thread Emilio López
Hi, El 09/02/16 a las 19:48, Rhyland Klein escribió: > When clocks are registered, they could be enabled already in > hardware. As of now, the enable count will start at 0. When this > happens, it means a clock is enabled and the framework doesn't know > that, so it will always report it as disabl

Re: powerpc/perf/hv-gpci: Increase request buffer size

2016-02-09 Thread Sukadev Bhattiprolu
Michael Ellerman [m...@ellerman.id.au] wrote: > Here you read from bytes[i] where i can be > 1 (AFAICS). Yes, buffer is large enough and I thought this construct of array was used in a several places. Maybe they are being changed out now (struct pid has one such usage). > > That's fishy at best,

Re: [PATCH v3 1/9] Staging: rts5208: rtsx_transport.c: Cleanup comments

2016-02-09 Thread Joshua Clayton
Hi Shaun. These comments now reflect common kernel style. Thanks for addressing my comments. Just one minor note below. It seems the word SCSI SCSI got duplicated in one comment. (Noted below). The rest look great to me. On Tuesday, February 09, 2016 06:45:20 PM Shaun Ren wrote: > This patch fix

[PATCH V2 1/1] powerpc/perf/hv-gpci: Increase request buffer size

2016-02-09 Thread Sukadev Bhattiprolu
>From f1afe08fbc9797ff63adf03efe564a807a37cfe6 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 9 Feb 2016 02:47:45 -0500 Subject: [PATCH V2 1/1] powerpc/perf/hv-gpci: Increase request buffer size The GPCI hcall allows for a 4K buffer but we limit the buffer to 1K. The problem with a

Re: [PATCH 1/2] clk: sunxi: Add support for A80 APBS clock

2016-02-09 Thread Chen-Yu Tsai
On Tue, Feb 2, 2016 at 7:15 PM, Maxime Ripard wrote: > Hi Chen-Yu > > On Mon, Feb 01, 2016 at 10:42:48PM +0800, Chen-Yu Tsai wrote: >> A80's APBS clock is not the same as the APB0 clock on A23. The A80's >> is a zero-based divider, while the A23's is a power-of-two divider. >> >> Signed-off-by: Ch

Re: [PATCH 0/3] arm: dts: DRA7: Add IVA and DSPEVE thermal domain data

2016-02-09 Thread Keerthy
On Wednesday 10 February 2016 03:23 AM, Eduardo Valentin wrote: On Tue, Feb 09, 2016 at 09:07:27AM +0530, Keerthy wrote: On Tuesday 09 February 2016 01:27 AM, Tony Lindgren wrote: * Keerthy [160208 01:19]: OMAP5 has 3 thermal zones cpu, core and multimedia. On the other hand DRA7 has 5 th

Re: [PATCH v5 1/3] mailbox: Add support for APM X-Gene platform mailbox driver

2016-02-09 Thread Duc Dang
On Tue, Feb 9, 2016 at 8:40 AM, Mathieu Poirier wrote: > On 8 February 2016 at 15:04, Duc Dang wrote: >> X-Gene mailbox controller provides 8 mailbox channels, with >> each channel has a dedicated interrupt line. >> >> Signed-off-by: Feng Kan >> Signed-off-by: Duc Dang >> --- >> Changes since v

[GIT PULL] tpmdd fixes for Linux 4.5 (updated)

2016-02-09 Thread Jarkko Sakkinen
Hi James, As we discussed I'm sending now a revised pull request with a couple of new fixes to the one that I sent with the tag: tags/tpmdd-next-20160120 /Jarkko The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95: Linux 4.5-rc3 (2016-02-07 15:38:30 -0800) are avai

Re: [PATCH] pci: xgene: Add ECAM fixups

2016-02-09 Thread kbuild test robot
Hi Duc, [auto build test ERROR on pci/next] [also build test ERROR on v4.5-rc3 next-20160209] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Duc-Dang/pci-xgene-Add-ECAM-fixups/20160210-095702

Computer fails to resume from suspend unless I rmmod jme before initiating the suspend

2016-02-09 Thread Diego Viola
Hi Guo, I have an x86 computer with this network card: 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI Express Fast Ethernet Controller (rev 03) Every time I initiate a suspend (systemctl suspend) the machine hangs at resume unless I unload the jme driver. Here is a Call Trace

[PATCH v4] misc: ibmasm: Replace timeval with timespec64

2016-02-09 Thread Amitoj Kaur Chawla
This patch replaces timeval with timespec64 as 32 bit 'struct timeval' will not give current time beyond year 2038. The patch changes the code to use ktime_get_real_ts64() which returns a 'struct timespec64' instead of do_gettimeofday() which returns a 'struct timeval' This patch also alters the

[PATCH] net: hamradio: baycom_ser_fdx: Replace timeval with timespec64

2016-02-09 Thread Amitoj Kaur Chawla
32 bit systems using 'struct timeval' will break in the year 2038, so we replace the code appropriately. However, this driver is not broken in 2038 since we are only using microseconds portion of the time. This patch replaces 'struct timeval' with 'struct timespec64'. We only need to find elapsed

RE: PROBLEM: Intel HDMI output busticated on 4.4 (regression)

2016-02-09 Thread Sharma, Shashank
I checked locally in BDC, Seems we don't have these boards available with us (in working state). Regards Shashank -Original Message- From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] Sent: Tuesday, February 09, 2016 11:53 PM To: Sharma, Shashank Cc: Nick Bowler; Daniel Vetter;

Re: [PATCH net-next iproute2] iplink: display rx nohandler stats

2016-02-09 Thread Eric Dumazet
On Tue, 2016-02-09 at 17:41 -0800, Stephen Hemminger wrote: > On Tue, 9 Feb 2016 18:51:35 -0500 > Jarod Wilson wrote: > > > On Tue, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote: > > > Support for the new rx_nohandler statistic. > > > This code is designed to handle the case where the

RE: [PATCH 1/3] input: cygnus-update touchscreen dt node document

2016-02-09 Thread Raveendra Padasalagi
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 09 February 2016 23:14 > To: Raveendra Padasalagi > Cc: Arnd Bergmann; Russell King; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; linux-in...@vger.kernel.org; Rob Herring; Pawel >

[PATCH 2/2] android: drivers: Avoid debugfs race in binder

2016-02-09 Thread John Stultz
From: Riley Andrews If a /d/binder/proc/[pid] entry is kept open after linux has torn down the associated process, binder_proc_show can deference an invalid binder_proc that has been stashed in the debugfs inode. Validate that the binder_proc ptr passed into binder_proc_show has not been freed b

[PATCH 1/2] android: binder: More offset validation

2016-02-09 Thread John Stultz
From: Arve Hjønnevåg Make sure offsets don't point to overlapping flat_binder_object structs. Cc: Colin Cross Cc: Arve Hjønnevåg Cc: Dmitry Shmidt Cc: Rom Lemarchand Cc: Serban Constantinescu Cc: Greg Kroah-Hartman Cc: Android Kernel Team Signed-off-by: Dmitry Shmidt Signed-off-by: John

Re: [PATCH] mm,thp: khugepaged: call pte flush at the time of collapse

2016-02-09 Thread Aneesh Kumar K.V
Vineet Gupta writes: > This showed up on ARC when running LMBench bw_mem tests as > Overlapping TLB Machine Check Exception triggered due to STLB entry > (2M pages) overlapping some NTLB entry (regular 8K page). > > bw_mem 2m touches a large chunk of vaddr creating NTLB entries. > In the interim

[PATCH 0/2] Binder updates from the experiemental/android-4.4 tree

2016-02-09 Thread John Stultz
I noticed there were a few changes from the AOSP side to binder, so I wanted to send them out to resync w/ upstream. These have been tested on the HiKey board with the rest of the android-4.4 kernel changes. Let me know if there are any concerns or objections. thanks -john Cc: Colin Cross Cc:

[PATCH v2 6/6] kconfig option for TRIM_UNUSED_KSYMS

2016-02-09 Thread Nicolas Pitre
The config option to enable it all. Signed-off-by: Nicolas Pitre Acked-by: Rusty Russell --- init/Kconfig | 16 1 file changed, 16 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index 22320804fb..e6f666331b 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1990,6 +1990,

[PATCH v2 3/6] fixdep: minor cleanup

2016-02-09 Thread Nicolas Pitre
Simple code reorganization to make coming changes more obvious. Signed-off-by: Nicolas Pitre Acked-by: Rusty Russell --- scripts/basic/fixdep.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 5b327c67a8.

[PATCH v2 0/6] Trim unused exported kernel symbols

2016-02-09 Thread Nicolas Pitre
This patch series provides the option to omit exported symbols from the kernel and modules that are never referenced by any of the selected modules in the current kernel configuration. The original cover letter with lots of test results can be found here: https://lkml.org/lkml/2016/2/8/81

[PATCH v2 4/6] fixdep: add fine grained build dependencies for exported symbols

2016-02-09 Thread Nicolas Pitre
Like for kconfig options, we now have the ability to compile in and out individual EXPORT_SYMBOL() declarations based on the content of include/generated/autoksyms.h. However we don't want the entire world to be rebuilt whenever that file is touched. Let's apply the same build dependency trick us

[PATCH v2 5/6] create/adjust generated/autoksyms.h

2016-02-09 Thread Nicolas Pitre
Given the list of exported symbols needed by all modules, we can create a header file containing preprocessor defines for each of those symbols. Also, when some symbols are added and/or removed from the list, we can update the time on the corresponding files used as build dependencies for those sym

[PATCH v2 1/6] kbuild: record needed exported symbols for modules

2016-02-09 Thread Nicolas Pitre
Kernel modules are partially linked object files with some undefined symbols that are expected to be matched with EXPORT_SYMBOL() entries from elsewhere. Each .tmp_versions/*.mod file currently contains two line of text separated by a newline character. The first line has the actual module file na

[PATCH v2 2/6] allow for per-symbol configurable EXPORT_SYMBOL()

2016-02-09 Thread Nicolas Pitre
Similar to include/generated/autoconf.h, include/generated/autoksyms.h will contain a list of defines for each EXPORT_SYMBOL() that we want active. The format is: #define __KSYM_ 1 This list will be auto-generated with another patch. For now we only include the preprocessor magic to automatica

Re: [PATCH v2] staging: unisys: use common return path

2016-02-09 Thread Sudip Mukherjee
On Mon, Feb 08, 2016 at 10:46:57PM +0530, Sudip Mukherjee wrote: > On Sun, Feb 07, 2016 at 02:04:21PM -0800, Greg Kroah-Hartman wrote: > > On Tue, Dec 01, 2015 at 04:22:33PM +0530, Sudip Mukherjee wrote: > > > The success path and the error path both are first doing > > > spin_unlock_irqrestore() b

Re: [PATCH v2 1/10] cpufreq: Clean up default and fallback governor setup

2016-02-09 Thread Gautham R Shenoy
Hello Rafael, On Fri, Feb 05, 2016 at 03:11:54AM +0100, Rafael J. Wysocki wrote: [..snip..] > Index: linux-pm/drivers/cpufreq/cpufreq_performance.c > === > --- linux-pm.orig/drivers/cpufreq/cpufreq_performance.c > +++ linux-pm/drivers

Re: [PATCH V4 6/6] cpufreq: governor: Create and traverse list of policy_dbs to fix lockdep

2016-02-09 Thread Viresh Kumar
On 09-02-16, 21:23, Rafael J. Wysocki wrote: > > + count = dbs_data->usage_count--; > > This appears to be planting a bug. > > The way you wrote it the decrementation will take place after the assignment, > so > count will contain the old value. Oh crap, what was I smoking :) -- viresh

Re: [PATCH v2 2/9] Staging: rts5208: rtsx_transport.c: Align to open parenthesis

2016-02-09 Thread Sudip Mukherjee
On Mon, Feb 08, 2016 at 05:31:18PM -0800, Shaun Ren wrote: > This patch fixes the alignment issue reported by checkpatch.pl: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: Shaun Ren > --- > drivers/staging/rts5208/rtsx_transport.c | 61 > ++--

linux-next: manual merge of the akpm-current tree with the xfs tree

2016-02-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: fs/ocfs2/aops.c between commit: 187372a3b9fa ("direct-io: always call ->end_io if non-NULL") from the xfs tree and commit: 8e1fbb488a18 ("ocfs2: fix sparse file & data ordering issue in direct io") from the

[PATCH] ARM: dts: ls1043a: Add quirk for Erratum A009116

2016-02-09 Thread Rajesh Bhagat
Add "snps,quirk-frame-length-adjustment" property to USB3 node for erratum A009116. This property provides value of GFLADJ_30MHZ for post silicon frame length adjustment. Signed-off-by: Rajesh Bhagat --- arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 3 +++ 1 file changed, 3 insertions(+) d

Re: [PATCH v2 7/9] Staging: rts5208: rtsx_transport.c: Remove unnecessary parentheses

2016-02-09 Thread Sudip Mukherjee
On Mon, Feb 08, 2016 at 05:31:23PM -0800, Shaun Ren wrote: > This patch removes all unnecessary parentheses found by checkpatch.pl. > > Signed-off-by: Shaun Ren This will not apply anymore because of some other changes done by: 9a66d05d82db ("Staging: rts5208: fix check for dma mapping error")

[PATCH] cpufreq: governor: Create and traverse list of policy_dbs to fix lockdep

2016-02-09 Thread Viresh Kumar
The dbs_data_mutex lock is currently used in two places. First, cpufreq_governor_dbs() uses it to guarantee mutual exclusion between invocations of governor operations from the core. Second, it is used by ondemand governor's update_sampling_rate() to ensure the stability of data structures walked

Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-09 Thread Kishon Vijay Abraham I
On Wednesday 10 February 2016 01:06 AM, Paul Walmsley wrote: > Hi Suman > > On Tue, 9 Feb 2016, Suman Anna wrote: > >> On 02/09/2016 02:49 AM, Paul Walmsley wrote: >>> On Mon, 8 Feb 2016, Suman Anna wrote: On 02/07/2016 08:48 PM, Paul Walmsley wrote: > On Tue, 2 Feb 2016, Kishon Vijay

Re: [PATCH V4 5/7] cpufreq: governor: No need to manage state machine now

2016-02-09 Thread Viresh Kumar
On 10-02-16, 01:36, Rafael J. Wysocki wrote: > > static int cpufreq_governor_stop(struct cpufreq_policy *policy) > > { > > - struct policy_dbs_info *policy_dbs = policy->governor_data; > > - > > - /* State should be equivalent to START */ > > - if (!policy_dbs->policy) > > -

Re: [PATCH v3 3/3] pci: dra7xx: use pdata callbacks to perform reset

2016-02-09 Thread Kishon Vijay Abraham I
Hi, On Wednesday 10 February 2016 07:12 AM, Suman Anna wrote: > Hi Paul, > > On 02/09/2016 01:36 PM, Paul Walmsley wrote: >> Hi Suman >> >> On Tue, 9 Feb 2016, Suman Anna wrote: >> >>> On 02/09/2016 02:49 AM, Paul Walmsley wrote: On Mon, 8 Feb 2016, Suman Anna wrote: > On 02/07/2016 08:

Re: [PATCH v2 1/10] cpufreq: Clean up default and fallback governor setup

2016-02-09 Thread Gautham R Shenoy
On Wed, Feb 10, 2016 at 10:45:14AM +0530, Gautham R Shenoy wrote: > Hello Rafael, > > On Fri, Feb 05, 2016 at 03:11:54AM +0100, Rafael J. Wysocki wrote: > [..snip..] > > Index: linux-pm/drivers/cpufreq/cpufreq_performance.c > > === >

[PATCH] mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range

2016-02-09 Thread Aneesh Kumar K.V
We remove one instace of flush_tlb_range here. That was added by f714f4f20e59ea6eea264a86b9a51fd51b88fc54 ("mm: numa: call MMU notifiers on THP migration"). But the pmdp_huge_clear_flush_notify should have done the require flush for us. Hence remove the extra flush. Signed-off-by: Aneesh Kumar K.V

linux-next: build failure after merge of the akpm-current tree

2016-02-09 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from arch/x86/include/asm/bug.h:35:0, from include/linux/bug.h:4, from include/linux/thread_info.h:11, from arch/x86

RE: [PATCH V3 3/5] PCI: xilinx: Modifying AXI PCIe Host Bridge driver to work on both Zynq and Microblaze

2016-02-09 Thread Bharat Kumar Gogada
> On Tue, Feb 09, 2016 at 04:11:56PM +0530, Bharat Kumar Gogada wrote: > > Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both > > Zynq and Microblaze Architectures. > > With these modifications drivers/pci/host/pcie-xilinx.c, will work on > > both Zynq and Microblaze Architectures

[PATCH 6/6] arm64: dts: Add PCIe0 and PCIe4 DT nodes for NS2

2016-02-09 Thread Anup Patel
From: Ray Jui This patch enables PCIe0 and PCIe4 for NS2 by adding appropriate DT nodes in NS2 DT. Signed-off-by: Ray Jui Signed-off-by: Anup Patel Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 8 arch/arm64/boot/dts/broadcom/ns2.dtsi| 74 +++

[PATCH 4/6] dt-bindings: watchdog: Add ARM SP805 DT bindings

2016-02-09 Thread Anup Patel
The ARM SP805 DT node is already present in various DTS files. This patch adds missing DT bindings documentation for ARM SP805. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott Branden --- .../devicetree/bindings/watchdog/arm,sp805.txt | 1

[PATCH 0/6] More updates for NS2 DT

2016-02-09 Thread Anup Patel
This patchset primarily adds more DT nodes for NS2 SVK. It also does minor update to arch/arm64/Kconfig.platforms and adds missing DT bindings document for sp805 driver. The patchset is based on v4.5-rc3 tag and is available in ns2_dt2_v1 branch of https://github.com/Broadcom/arm64-linux.git All

[PATCH 3/6] arm64: dts: Add ARM SP804 timer DT nodes for NS2

2016-02-09 Thread Anup Patel
We have four ARM SP804 dual-mode timer instances in NS2 SoC hence this patch adds appropriate DT nodes for NS2. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Pramod KUMAR Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 40 ++

[PATCH 5/6] arm64: dts: Add ARM SP805 watchdog DT node for NS2

2016-02-09 Thread Anup Patel
We have one ARM SP805 watchdog instance on NS2 for non-secure software hence this patch adds appropriate watchdog DT node in NS2 DT. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Pramod KUMAR Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 8 1 fi

[PATCH 2/6] arm64: dts: Add SDHCI DT node for NS2

2016-02-09 Thread Anup Patel
The IPROC SDHCI driver works fine for SDIO 3.0 on NS2 so let's enable it for NS2 SoC in NS2 DT. Signed-off-by: Anup Patel Reviewed-by: Vikram Prakash Reviewed-by: Ray Jui --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 arch/arm64/boot/dts/broadcom/ns2.dtsi| 18 ++ 2

Re: [PATCH] mm/thp/migration: switch from flush_tlb_range to flush_pmd_tlb_range

2016-02-09 Thread kbuild test robot
Hi Aneesh, [auto build test ERROR on v4.5-rc3] [also build test ERROR on next-20160209] [cannot apply to arc/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/mm-thp

linux-next: Tree for Feb 10

2016-02-09 Thread Stephen Rothwell
Hi all, Changes since 20160209: The xfs tree lost its build failure. The drm-misc tree gained a build failure so I used the version from next-20160209. The aio tree still had a build failure so I used the version from next-20160111. The akpm-current tree gained a conflict against the xfs tree

<    5   6   7   8   9   10   11   >