[PATCH v3] i2c: designware: Implement support for SMBus block read and write

2016-10-30 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V2: - Change subject of email - Add a helper functio

[PATCH] tools/testing/nvdimm: Fix error handling

2016-10-30 Thread Christophe JAILLET
'device_create_with_groups()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET --- tools/testing/nvdimm/test/nfit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/n

Re: [PATCH v14 1/4] clk: mediatek: Add MT2701 clock support

2016-10-30 Thread James Liao
Hi Stephen, On Thu, 2016-10-27 at 18:17 -0700, Stephen Boyd wrote: > On 10/21, Erin Lo wrote: > > diff --git a/drivers/clk/mediatek/clk-mt2701-bdp.c > > b/drivers/clk/mediatek/clk-mt2701-bdp.c > > new file mode 100644 > > index 000..dbf6ab2 > > --- /dev/null > > +++ b/drivers/clk/mediatek/clk

[PATCH] ASoC: sun4i-codec: return error code instead of NULL when create_card fails

2016-10-30 Thread Chen-Yu Tsai
When sun4i_codec_create_card fails, we do not assign a proper error code to the return value. The return value would be 0 from the previous function call, or we would have bailed out sooner. This would confuse the driver core into thinking the device probe succeeded, when in fact it didn't, leaving

Re: [PATCH v2 2/7] Documentation: dt: Add binding info for jz4740-rtc driver

2016-10-30 Thread Rob Herring
On Mon, Oct 31, 2016 at 12:02:42AM +0100, Paul Cercueil wrote: > This commit adds documentation for the device-tree bindings of the > jz4740-rtc driver, which supports the RTC unit present in the JZ4740 and > JZ4780 SoCs from Ingenic. > > Signed-off-by: Paul Cercueil > Acked-by: Maarten ter Huurn

[PATCH] drm/nouveau/tegra: Fix error handling

2016-10-30 Thread Christophe JAILLET
'iommu_domain_alloc()' returns NULL in case of error, not an error pointer. So test it accordingly. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/dev

Re: [PATCH v4 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-30 Thread Rob Herring
On Sat, Oct 29, 2016 at 03:32:26PM -0600, 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 config

Re: [Nouveau] Nouveau regression since kernel 4.3: loading NVIDIA's firwmare files

2016-10-30 Thread Alexandre Courbot
On Mon, Oct 31, 2016 at 1:34 AM, Ilia Mirkin wrote: > Hi Alex, > > As you're well-aware, your commit > 8539b37acef73949861a16808b60cb8b5b9b3bab (drm/nouveau/gr: use > NVIDIA-provided external firmwares) broke tons of existing setups for > people who were using extracted firmware files (stored in t

Re: [PATCH v4 1/2] of: Add vendor prefix for Lattice Semiconductor

2016-10-30 Thread Rob Herring
On Sat, Oct 29, 2016 at 03:32:25PM -0600, Joel Holdsworth wrote: > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: [PATCH v3 1/2] drm/bridge: dumb-vga-dac: Support a VDD regulator supply

2016-10-30 Thread Rob Herring
On Sat, Oct 29, 2016 at 07:06:10PM +0800, Chen-Yu Tsai wrote: > Some dumb VGA DACs are active components which require external power. > Add support for specifying a regulator as its power supply. > > Signed-off-by: Chen-Yu Tsai > --- > .../bindings/display/bridge/dumb-vga-dac.txt | 2 ++

Re: [PATCH] cxl: Fix error handling

2016-10-30 Thread Andrew Donnellan
On 31/10/16 08:40, Christophe JAILLET wrote: 'cxl_dev_context_init()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET Reviewed-by: Andrew Donnellan --- un-compiled because I don't have the required cross build environment. B

Re: [PATCH] cxl: Fix error handling

2016-10-30 Thread Andrew Donnellan
On 31/10/16 08:34, Christophe JAILLET wrote: 'cxl_dev_context_init()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET Reviewed-by: Andrew Donnellan --- un-compiled because I don't have the required cross build environment. B

Re: [PATCH 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 05:08:47PM -0700, Sarangdhar Joshi wrote: > Add SCM DT bindings for Qualcomm's MSM8996 platform. > > Signed-off-by: Sarangdhar Joshi > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring

Re: [PATCH v2 3/6] Documentation: devicetree: net: add NS2 bindings to amac

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 04:56:56PM -0400, Jon Mason wrote: > Signed-off-by: Jon Mason > --- > Documentation/devicetree/bindings/net/brcm,amac.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/brcm,amac.txt > b/Documentation/d

Re: [PATCH] cxl: Fix memory allocation failure test

2016-10-30 Thread Andrew Donnellan
On 31/10/16 06:35, Christophe JAILLET wrote: 'cxl_context_alloc()' does not return an error pointer. It is just a shortcut for a call to 'kzalloc' with 'sizeof(struct cxl_context)' as the size parameter. So its return value should be compared with NULL. While fixing it, simplify a bit the code.

Re: [PATCH v2 2/5] doc: dt: add cyclone-spi binding document

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 09:56:39AM -0700, Joshua Clayton wrote: > Describe a cyclonei-ps-spi devicetree entry, required features > > Signed-off-by: Joshua Clayton > --- > .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 23 > ++ > 1 file changed, 23 insertions(+) > crea

Re: [PATCH 1/4] pinctrl: Introduce generic #pinctrl-cells and pinctrl_parse_index_with_args

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 09:53:38AM -0700, Tony Lindgren wrote: > * Tony Lindgren [161027 07:59]: > > * Linus Walleij [161027 00:57]: > > > On Tue, Oct 25, 2016 at 6:45 PM, Tony Lindgren wrote: > > > > +/* > > > > + * For pinctrl binding, typically #pinctrl-cells is for the pin > > > > controlle

[PATCH] compiler-gcc.h: use "proved" instead of "proofed"

2016-10-30 Thread Benjamin Peterson
Signed-off-by: Benjamin Peterson --- include/linux/compiler-gcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 432f5c9..43a622d 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@

Re: [PATCH 1/2] mmc: sdhci: dt: Add device tree properties sdhci-caps and sdhci-caps-mask

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 10:56:10AM -0500, Zach Brown wrote: > On some systems the sdhci capabilty register is incorrect for one > reason or another. > > The sdhci-caps-mask property specifies which bits in the register > are incorrect and should be turned off before using sdhci-caps to turn > on b

Re: [PATCH v10 10/19] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-10-30 Thread Jike Song
On 10/31/2016 01:59 PM, Kirti Wankhede wrote: > On 10/31/2016 9:20 AM, Jike Song wrote: >> On 10/27/2016 05:29 AM, Kirti Wankhede wrote: >>> Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers >>> about DMA_UNMAP. >>> Exported two APIs vfio_register_notifier() and vfio_unregister

Re: [PATCH 01/10] staging: iio: tsl2583: add of_match table for device tree support

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 06:00:12AM -0400, Brian Masney wrote: > Add device tree support for the tsl2583 IIO driver with no custom > properties. > > Signed-off-by: Brian Masney > --- > .../devicetree/bindings/iio/light/tsl2583.txt | 26 > ++ > drivers/staging/iio/light/t

Re: [PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants

2016-10-30 Thread Michael Ellerman
Julia Lawall writes: > diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c > index 5f202a5..32f18b5 100644 > --- a/arch/powerpc/kernel/iommu.c > +++ b/arch/powerpc/kernel/iommu.c > @@ -127,8 +127,7 @@ static ssize_t fail_iommu_store(struct device *dev, > return count; >

Re: [PATCH v2 3/4] spi: sun6i: Add binding for Allwinner H3 SPI controller

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 03:54:11PM +0900, Milo Kim wrote: > H3 SPI has same architecture as A31 except FIFO capacity. > To configure the buffer size separately, compatible property should be > different. Optional DMA specifiers and example are added. > > Acked-by: Maxime Ripard > Cc: Mark Brown

Re: [PATCH v2 2/3] hwmon: (mcp3021) add devicetree bindings documentation

2016-10-30 Thread Rob Herring
On Fri, Oct 28, 2016 at 12:33:44AM +0200, Clemens Gruber wrote: > Document the devicetree bindings for the Microchip MCP3021/3221. > > Signed-off-by: Clemens Gruber > --- > Documentation/devicetree/bindings/hwmon/mcp3021.txt | 21 > + > 1 file changed, 21 insertions(+) > cr

[PATCH 13/15] Drivers: hv: vmbus: Base host signaling strictly on the ring state

2016-10-30 Thread kys
From: K. Y. Srinivasan One of the factors that can result in the host concluding that a given guest in mounting a DOS attack is if the guest generates interrupts to the host when the host is not expecting it. If these "spurious" interrupts reach a certain rate, the host can throttle the guest to

[PATCH 05/15] Drivers: hv: balloon: Add logging for dynamic memory operations

2016-10-30 Thread kys
From: Alex Ng Added logging to help troubleshoot common ballooning, hot add, and versioning issues. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 31 --- 1 files changed, 28 insertions(+), 3 deletions(-) diff --git a/driver

Re: [linus:master] BUILD REGRESSION 2a26d99b251b8625d27aed14e97fc10707a3a81f

2016-10-30 Thread Fengguang Wu
On Mon, Oct 31, 2016 at 12:58:14PM +0800, Fengguang Wu wrote: Hi Linus, On Sun, Oct 30, 2016 at 01:25:50PM -0700, Linus Torvalds wrote: On Sun, Oct 30, 2016 at 11:03 AM, kbuild test robot wrote: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master 2a26d99b251b8625d27aed1

[PATCH 14/15] Drivers: hv: vmbus: On write cleanup the logic to interrupt the host

2016-10-30 Thread kys
From: K. Y. Srinivasan Signal the host when we determine the host is to be signaled. The currrent code determines the need to signal in the ringbuffer code and actually issues the signal elsewhere. This can result in the host viewing this interrupt as spurious since the host may also poll the cha

[PATCH 08/15] Drivers: hv: balloon: Fix info request to show max page count

2016-10-30 Thread kys
From: Alex Ng Balloon driver was only printing the size of the info blob and not the actual content. This fixes it so that the info blob (max page count as configured in Hyper-V) is printed out. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c |9 +++-

Re: [PATCH v10 10/19] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-10-30 Thread Kirti Wankhede
On 10/31/2016 9:20 AM, Jike Song wrote: > On 10/27/2016 05:29 AM, Kirti Wankhede wrote: >> Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers >> about DMA_UNMAP. >> Exported two APIs vfio_register_notifier() and vfio_unregister_notifier(). >> Vendor driver should register noti

[PATCH 00/15] Drivers: hv: Some miscellaneous fixes and enhancements

2016-10-30 Thread kys
From: K. Y. Srinivasan Some miscellaneous fixes and enhancements. Alex Ng (6): Drivers: hv: utils: Fix the mapping between host version and protocol to use Drivers: hv: balloon: Disable hot add when CONFIG_MEMORY_HOTPLUG is not set Drivers: hv: balloon: Add logging for dynamic memo

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-30 Thread Sascha Hauer
On Thu, Oct 27, 2016 at 09:40:05AM +0200, Boris Brezillon wrote: > On Thu, 27 Oct 2016 08:29:39 +0200 > Lukasz Majewski wrote: > > > The code has been rewritten to remove "generic" calls to > > imx_pwm_{enable|disable|config}. > > > > Such approach would facilitate switch to atomic PWM (a.k.a ->

Re: [PATCH v2 2/3] dt-bindings: reset: Add K2G reset definitions

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 04:49:40PM -0500, Andrew F. Davis wrote: > Add identifiers for the K2G resets managed by the PMMC. > > Signed-off-by: Andrew F. Davis > --- > MAINTAINERS | 1 + > include/dt-bindings/reset/k2g.h | 22 ++ > 2 files changed, 23 inser

[PATCH 06/15] Drivers: hv: vss: Improve log messages.

2016-10-30 Thread kys
From: Alex Ng Adding log messages to help troubleshoot error cases and transaction handling. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_snapshot.c | 25 +++-- 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers/hv/hv_snap

[PATCH 15/15] Drivers: hv: vmbus: On the read path cleanup the logic to interrupt the host

2016-10-30 Thread kys
From: K. Y. Srinivasan Signal the host when we determine the host is to be signaled - on th read path. The currrent code determines the need to signal in the ringbuffer code and actually issues the signal elsewhere. This can result in the host viewing this interrupt as spurious since the host may

[PATCH 03/15] Drivers: hv: utils: Fix the mapping between host version and protocol to use

2016-10-30 Thread kys
From: Alex Ng We should intentionally declare the protocols to use for every known host and default to using the latest protocol if the host is unknown or new. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_util.c |9 ++--- 1 files changed, 6 insertions(+), 3

[PATCH 11/15] tools: hv: remove unnecessary header files and netlink related code

2016-10-30 Thread kys
From: Weibing Zhang Remove unnecessary header files and netlink related code as the daemons do not use netlink to communicate with the kernel now. Signed-off-by: Weibing Zhang Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_fcopy_daemon.c |7 --- tools/hv/hv_kvp_daemon.c |7

[PATCH 10/15] tools: hv: fix a compile warning in snprintf

2016-10-30 Thread kys
From: Weibing Zhang hv_kvp_daemon.c: In function .kvp_mac_to_if_name.: hv_kvp_daemon.c:705:2: warning: format not a string literal and no format arguments [-Wformat-security] snprintf(dev_id, sizeof(dev_id), kvp_net_dir); ^ hv_kvp_daemon.c:705:2: warning: format not a string literal and no f

[PATCH 01/15] Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)

2016-10-30 Thread kys
From: Vitaly Kuznetsov With wrap around mappings in place we can always provide drivers with direct links to packets on the ring buffer, even when they wrap around. Do the required updates to get_next_pkt_raw()/put_pkt_raw() The first version of this commit was reverted (65a532f3d50a) to deal wi

[PATCH 12/15] vmbus: make sysfs names consistent with PCI

2016-10-30 Thread kys
From: Stephen Hemminger In commit 9a56e5d6a0ba ("Drivers: hv: make VMBus bus ids persistent") the name of vmbus devices in sysfs changed to be (in 4.9-rc1): /sys/bus/vmbus/vmbus-6aebe374-9ba0-11e6-933c-00259086b36b The prefix ("vmbus-") is redundant and differs from how PCI is represented in s

[PATCH 04/15] Drivers: hv: balloon: Disable hot add when CONFIG_MEMORY_HOTPLUG is not set

2016-10-30 Thread kys
From: Alex Ng If the guest does not support memory hotplugging, it should respond to the host with zero pages added and successful result code. This signals to the host that hotplugging is not supported and the host will avoid sending future hot-add requests. Signed-off-by: Alex Ng Signed-off-b

[PATCH 02/15] Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout

2016-10-30 Thread kys
From: Vitaly Kuznetsov I discovered that at least WS2016TP5 host has 60 seconds timeout for the ICMSGTYPE_NEGOTIATE message so we need to lower guest's timeout a little bit to make sure we always respond in time. Let's make it 55 seconds. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Sri

[PATCH 09/15] tools: hv: remove unnecessary link flag

2016-10-30 Thread kys
From: Weibing Zhang The link flag pthread is not needed. Signed-off-by: Weibing Zhang Signed-off-by: K. Y. Srinivasan --- tools/hv/Makefile |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/tools/hv/Makefile b/tools/hv/Makefile index a8c4644..0d1e61b 100644 --- a/tool

[PATCH 07/15] Drivers: hv: vss: Operation timeouts should match host expectation

2016-10-30 Thread kys
From: Alex Ng Increase the timeout of backup operations. When system is under I/O load, it needs more time to freeze. These timeout values should also match the host timeout values more closely. Signed-off-by: Alex Ng Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_snapshot.c |8 ++-

Re: [PATCH v5 1/3] dt: cpufreq: brcm: New binding document for brcmstb-avs-cpufreq

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 02:05:34PM -0700, Markus Mayer wrote: > From: Markus Mayer > > Add the binding document for the new brcmstb-avs-cpufreq driver. > > Signed-off-by: Markus Mayer > Acked-by: Viresh Kumar > --- > .../bindings/cpufreq/brcm,stb-avs-cpu-freq.txt | 78 > +

Re: [LKP] [lkp] [x86/platform/UV] 71854cb812: will-it-scale.per_thread_ops -2.3% regression

2016-10-30 Thread Fengguang Wu
Hi Thomas, It's been a big challenge that we'll occasionally run into such bisect whose data show clear changes, however cannot be easily explained by looking at the code logic. On Fri, Oct 28, 2016 at 12:37:45AM +0200, Thomas Gleixner wrote: On Thu, 27 Oct 2016, Ye Xiaolong wrote: Yes, this i

[PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-10-30 Thread Dongli Zhang
While grant reference is of type uint32_t, xen-netfront erroneously casts it to signed short in BUG_ON(). This would lead to the xen domU panic during boot-up or migration when it is attached with lots of paravirtual devices. Signed-off-by: Dongli Zhang --- drivers/net/xen-netfront.c | 4 ++--

Re: [PATCH] cxl: Fix error handling

2016-10-30 Thread Michael Ellerman
Christophe JAILLET writes: > 'cxl_dev_context_init()' returns an error pointer in case of error, not > NULL. So test it with IS_ERR. > > Signed-off-by: Christophe JAILLET > --- > un-compiled because I don't have the required cross build environment. Do you run Ubuntu or Fedora? If so it's just

Re: [PATCHv2 1/4] dt-bindings: mfd: Add Altera Arria10 SR Monitor

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 03:00:23PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the Arria10 DevKit System Resource Chip register and state > monitoring module to the MFD. > > Signed-off-by: Thor Thayer > --- > Note: This needs to be applied to the bindings document th

Re: [PATCH V3 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 04:01:09PM +0200, Mirza Krak wrote: > From: Mirza Krak > > Document the devicetree bindings for the Generic Memory Interface (GMI) > bus driver found on Tegra SOCs. > > Signed-off-by: Mirza Krak > Tested-by: Marcel Ziswiler > Tested-on: Colibri T20/T30 on EvalBoard V3.x

Re: [PATCH] console: use first console if stdout-path device doesn't appear

2016-10-30 Thread Michael Ellerman
Andreas Schwab writes: > Any news? We discovered it also breaks VGA on qemu, which presumably is not the type of news you were hoping for. To reproduce you just need to build a ppc64le kernel: $ apt-get install gcc-powerpc64le-linux-gnu $ make ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu-

[patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-30 Thread Vadim Pasternak
Since mlx-platform is not an architectural driver, it is moved out of arch/x86/platform to drivers/platform/x86. Relevant Makefile and Kconfig are updated. Signed-off-by: Vadim Pasternak --- v2->v3: Comments pointed out by Andy: - Remove "driver" prefix from the subject; - Change subject con

Re: [PATCH v2] iommu/ipmmu-vmsa: Add r8a7796 DT binding

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 07:45:10PM +0900, Magnus Damm wrote: > From: Magnus Damm > > Update the IPMMU DT binding documentation to include the r8a7796 compat > string for R-Car M3-W. > > Signed-off-by: Magnus Damm > Acked-by: Laurent Pinchart > --- > > Changes since V1: > - Added Acked-by fr

Re: [PATCH v3 1/4] dt/bindings: Add binding for the DA8xx MUSB driver

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 11:34:04AM +0200, Alexandre Bailon wrote: > From: Petr Kulhavy > > DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver. > > Signed-off-by: Petr Kulhavy > Signed-off-by: Alexandre Bailon > --- > .../devicetree/bindings/usb/da8xx-usb.txt | 43 > +

Re: [linus:master] BUILD REGRESSION 2a26d99b251b8625d27aed14e97fc10707a3a81f

2016-10-30 Thread Fengguang Wu
Hi Linus, On Sun, Oct 30, 2016 at 01:25:50PM -0700, Linus Torvalds wrote: On Sun, Oct 30, 2016 at 11:03 AM, kbuild test robot wrote: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master 2a26d99b251b8625d27aed14e97fc10707a3a81f Merge git://git.kernel.org/pub/scm/linux/ke

Re: [PATCH v2 09/10] pwm: imx: doc: Update imx-pwm.txt documentation entry

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 08:33:19AM +0200, Lukasz Majewski wrote: > The imx-pwm.txt documentation update as a preparation for polarity > support. > > Signed-off-by: Bhuvanchandra DV > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > - New patch > --- > Documentation/devicetree/bindings/p

Re: [PATCH] IBcore/CM: Issue DREQ when receiving REQ/REP for stale QP

2016-10-30 Thread santosh.shilim...@oracle.com
On 10/30/16 2:06 PM, Sagi Grimberg wrote: from "InfiBand Architecture Specifications Volume 1": A QP is said to have a stale connection when only one side has connection information. A stale connection may result if the remote CM had dropped the connection and sent a DREQ but the DREQ was

[PATCH] dt-bindings/gpio: Add Aspeed GPIO bindings header

2016-10-30 Thread Joel Stanley
This provides constants for using GPIOs in the device tree on Aspeed SoCs. Signed-off-by: Joel Stanley --- The Apseed GPIO driver and binding document went upstream in 4.9, but we forgot to send this patch as part of the series. include/dt-bindings/gpio/aspeed-gpio.h | 47 ++

Re: [PATCH V2 1/4] Documentation: pv88080: Move binding document

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 10:03:14AM +0900, Eric Jeong wrote: > > From: Eric Jeong > > The change is to move pv88080 binding document > from the regulator directory to mfd binding directory > for PV88080 PMIC MFD support. > > > Signed-off-by: Eric Jeong > > --- > This patch applies against li

Re: [PATCH V2] pinctrl: qcom: Add msm8994 pinctrl driver

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 04:32:28PM -0700, Michael Scott wrote: > Initial pinctrl driver for QCOM msm8994 platforms. > > In order to continue the initial board support for QCOM msm8994/msm8992 > presented in patches from Jeremy McNicoll , let's put > a proper pinctrl driver in place. > > Currently

[PATCH] drm/radeon: Fix kernel panic on shutdown

2016-10-30 Thread Larry Finger
Since commit a481daa88fd4 ("drm/radeon: always apply pci shutdown callbacks"), a Dell Latitude D600 laptop has crashed on shutdown. The PCI Identification of the graphics adapter is "VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV250/M9 GL [Mobility FireGL 9000/Radeon 90

Re: [PATCH 2/2] backlight: arcxcnn: devicetree bindings for ArticSand devices

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 04:30:01PM -0400, Olimpiu Dejeu wrote: > Resubmition of arcxcnn backliught driver bindings with added register > documentation > > Signed-off-by: Olimpiu Dejeu > > --- > .../bindings/leds/backlight/arcxcnn_bl.txt | 31 > ++ > 1 file changed,

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 07:35:55PM +0200, Bartosz Golaszewski wrote: > Create the driver for the da8xx master peripheral priority > configuration and implement support for writing to the three > Master Priority registers on da850 SoCs. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetre

Re: [PATCH 1/2] ARM: memory: da8xx-ddrctl: new driver

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 07:35:54PM +0200, Bartosz Golaszewski wrote: > Create a new driver for the da8xx DDR2/mDDR controller and implement > support for writing to the Peripheral Bus Burst Priority Register. > > Signed-off-by: Bartosz Golaszewski > --- > .../memory-controllers/ti-da8xx-ddrctl.t

Re: [PATCH V2 04/10] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 05:56:38PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Extend existing DA9062 binding information to include the DA9061 PMIC for > MFD core and regulators. > > Add a da9062-onkey link to the existing onkey binding file. > > Add a da9062-thermal link to the new temp

Re: [PATCH V2 02/10] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 05:56:37PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Add binding information for DA9062 and DA9061 watchdog. > > Example bindings for both devices are added. > > The original binding for DA9062 (only) used to reside inside the > Documentation/devicetree/bindings/

Re: [PATCH V2 01/10] Documentation: devicetree: input: additions for da9061 onkey driver

2016-10-30 Thread Rob Herring
On Wed, Oct 26, 2016 at 05:56:37PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Add binding information for DA9061 onkey. > > This patch updates the compatible string "dlg,da9061-onkey" to support > DA9061, removes the reference to KEY_SLEEP (which the driver no longer > supports) and fixes

Re: [PATCH net] r8152: Fix broken RX checksums.

2016-10-30 Thread David Miller
From: Mark Lord Date: Sun, 30 Oct 2016 22:07:25 -0400 > On 16-10-30 08:57 PM, David Miller wrote: >> From: Mark Lord >> Date: Sun, 30 Oct 2016 19:28:27 -0400 >> >>> The r8152 driver has been broken since (approx) 3.16.xx >>> when support was added for hardware RX checksums >>> on newer chip ver

Re: [PATCH v10 10/19] vfio iommu: Add blocking notifier to notify DMA_UNMAP

2016-10-30 Thread Jike Song
On 10/27/2016 05:29 AM, Kirti Wankhede wrote: > Added blocking notifier to IOMMU TYPE1 driver to notify vendor drivers > about DMA_UNMAP. > Exported two APIs vfio_register_notifier() and vfio_unregister_notifier(). > Vendor driver should register notifer using these APIs. > Vendor driver should use

vgacon.c:undefined reference to `screen_info'

2016-10-30 Thread kbuild test robot
Hi Chen, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2a26d99b251b8625d27aed14e97fc10707a3a81f commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h"

Re: [linus:master] BUILD REGRESSION 2a26d99b251b8625d27aed14e97fc10707a3a81f

2016-10-30 Thread Philip Li
On Sun, Oct 30, 2016 at 01:25:50PM -0700, Linus Torvalds wrote: > On Sun, Oct 30, 2016 at 11:03 AM, kbuild test robot > wrote: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > 2a26d99b251b8625d27aed14e97fc10707a3a81f Merge > > git://git.kernel.org/pub/scm/linux/

Re: [PATCH v6 6/8] drivers:input:ads7846(+tsc2046): add new common binding names, pre-calibration and flipping

2016-10-30 Thread Rob Herring
On Thu, Oct 27, 2016 at 10:44:19AM +0200, H. Nikolaus Schaller wrote: > commit b98abe52fa8e ("Input: add common DT binding for touchscreens") > introduced common DT bindings for touchscreens [1] and a helper function to > parse the DT. > > commit ed7c9870c9bc ("Input: of_touchscreen - add support

Re: [PATCH v4 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-10-30 Thread Rob Herring
On Tue, Oct 18, 2016 at 12:27 PM, H. Nikolaus Schaller wrote: > Hi Rob, > >> Am 18.10.2016 um 18:22 schrieb Rob Herring : >> >> On Mon, Oct 17, 2016 at 8:57 AM, H. Nikolaus Schaller >> wrote: >>> commit b98abe52fa8e ("Input: add common DT binding for touchscreens") >>> introduced common DT bindi

Re: [PATCH v7, 0/8] Add MediaTek USB3 DRD Driver

2016-10-30 Thread Chunfeng Yun
On Fri, 2016-10-28 at 12:37 +0200, Matthias Brugger wrote: > Hi Chunfeng, > > On 10/19/2016 04:28 AM, Chunfeng Yun wrote: > > These patches introduce the MediaTek USB3 dual-role controller > > driver. > > > > The driver can be configured as Dual-Role Device (DRD), > > Peripheral Only and Host Only

Re: Linux 4.9: Reported regressions as of Sunday, 2016-10-30

2016-10-30 Thread Benjamin Herrenschmidt
On Sun, 2016-10-30 at 14:20 +0100, Thorsten Leemhuis wrote: > > Desc: PPC32: fails to boot on my PowerBook G4 Aluminum; bisected to > commit 05fd007e4629 > Repo: 2016-10-20 https://www.mail-archive.com/linux-kernel@vger.kerne > l.org/msg1253391.html > Stat: 2016-10-22 https://www.mail-archive.com/

Re: [PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-30 Thread Finn Thain
On Sun, 30 Oct 2016, Ondrej Zary wrote: > Read back MODE_REG after writing it in NCR5380_init() to check if the > chip is really there. > > This prevents hang when incorrect I/O address was specified by user. Do you know whereabouts in the driver the hang happens? Maybe there is a robustness i

Re: [LKP] [lkp] [f2fs] ec795418c4: fsmark.files_per_sec -36.3% regression

2016-10-30 Thread Huang, Ying
Hi, Kim, Jaegeuk Kim writes: > On Tue, Sep 27, 2016 at 08:50:02AM +0800, Huang, Ying wrote: >> Jaegeuk Kim writes: >> >> > On Mon, Sep 26, 2016 at 02:26:06PM +0800, Huang, Ying wrote: >> >> Hi, Jaegeuk, >> >> >> >> "Huang, Ying" writes: >> >> >> >> > Jaegeuk Kim writes: >> >> > >> >> >> He

Re: [PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-30 Thread Finn Thain
On Sun, 30 Oct 2016, Ondrej Zary wrote: > Read back MODE_REG after writing it in NCR5380_init() to check if the > chip is really there. > > This prevents hang when incorrect I/O address was specified by user. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/NCR5380.c |5 + > 1 file

Re: [PATCH 2/3] g_NCR5380: Test the IRQ before accepting it

2016-10-30 Thread Finn Thain
On Sun, 30 Oct 2016, Ondrej Zary wrote: > Trigger an IRQ first with a test IRQ handler to find out if it really > works. Disable the IRQ if not. > > This prevents hang when incorrect IRQ was specified by user. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/g_NCR5380.c | 32

Re: [PATCH] iio: si7020: Add devicetree support and trivial bindings

2016-10-30 Thread Rob Herring
On Tue, Oct 25, 2016 at 09:20:10PM +0200, Paul Kocialkowski wrote: > This adds devicetree support for the si7020 iio driver. Since it works > well without requiring any additional property, its compatible string is > added to the trivial i2c devices bindings list. > > Signed-off-by: Paul Kocialkow

Re: [PATCH resent v3 3/3] ASoC: omap-abe-twl6040: fix typo in bindings documentation

2016-10-30 Thread Rob Herring
On Tue, Oct 25, 2016 at 07:38:11PM +0200, H. Nikolaus Schaller wrote: > Signed-off-by: H. Nikolaus Schaller > --- > Documentation/devicetree/bindings/sound/omap-abe-twl6040.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Rob Herring

Re: [PATCH 1/3] NCR5380: Use probe_irq_*() for IRQ probing

2016-10-30 Thread Finn Thain
On Sun, 30 Oct 2016, Ondrej Zary wrote: > Use standard probe_irq_on() and probe_irq_off() functions instead of own > implementation. Thanks for doing this. > This prevents warning messages like this in the kernel log: > genirq: Flags mismatch irq 1. (NCR-probe) vs. 0080 (i8042) >

Re: [PATCH 4/4] ARM: dts: Add #pinctrl-cells for pinctrl-single instances

2016-10-30 Thread Rob Herring
On Tue, Oct 25, 2016 at 09:45:38AM -0700, Tony Lindgren wrote: > Drivers using pinctrl-single,pins have #pinctrl-cells = <1>, while > pinctrl-single,bits need #pinctrl-cells = <2>. > > Note that this patch can be optionally applied separately from the > driver changes as the driver supports also t

RE: [PATCH v6 00/10] Intel Cache Allocation Technology

2016-10-30 Thread Yu, Fenghua
> Gentlemen! > > After more than two years of tinkering and real engineering, we finaly have > skinned the CAT! Yeah! We made it! > > That was the most amazing review journey I ever made as a maintainer. Just > a few statistics: > > Design variants: 6 > > 6 different approaches for a user s

Re: [PATCH 01/10] Documentation: dt-bindings: Document STM32 ADC DT bindings

2016-10-30 Thread Rob Herring
On Tue, Oct 25, 2016 at 06:25:13PM +0200, Fabrice Gasnier wrote: > This patch adds documentation of device tree bindings for the STM32 ADC. > > Signed-off-by: Fabrice Gasnier > --- > .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 78 > ++ > 1 file changed, 78 insertion

Re: linux-next: bad commit in the sunxi tree

2016-10-30 Thread Michael Ellerman
Maxime Ripard writes: > On Thu, Oct 27, 2016 at 10:42:25AM +1100, Stephen Rothwell wrote: >> On Tue, 25 Oct 2016 11:44:09 +0200 Maxime Ripard >> wrote: >> > On Tue, Oct 25, 2016 at 09:22:55AM +1100, Stephen Rothwell wrote: >> > > In today's sunxi tree >> > > (git://git.kernel.org/pub/scm/linux/k

[PATCH 0/2] mmc: dw_mmc: fix the wrong operation for reset controller

2016-10-30 Thread Jaehoon Chung
This patch adds the "reset-names" as reset controller for dwmmc controller. Linaro guys had reported the issue about booting stuck. Some SoCs are enabled the CONFIG_RESET_CONTROLLER. then dwmmc controller are waiting for getting reset controller. But if doesn't define "resets" property in device-t

[PATCH 2/2] mmc: dw_mmc: add the "reset" as name of reset controller

2016-10-30 Thread Jaehoon Chung
Add the "reset" as name of reset controller. This is for preventing the wrong operation. Even if some SoC has reset controller, doesn't define "resets" in device-tree. Then it might be waiting for reset controller and it should be stuck. Fixes: d6786fefe816 ("mmc: dw_mmc: add reset support to dwmm

[PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for reset-names

2016-10-30 Thread Jaehoon Chung
Add reset-names property for binding dw-mmc controller. It might be used together with "reset" property. - Note: It must be "reset" as name. Fixes: d6786fefe816 ("mmc: dw_mmc: add reset support to dwmmc host controller") Signed-off-by: Jaehoon Chung --- Documentation/devicetree/bindings/mmc/sy

Re: [PATCH 2/6] arm: dts: ls1021a: update MSI node

2016-10-30 Thread Rob Herring
On Tue, Oct 25, 2016 at 08:35:41PM +0800, Minghuan Lian wrote: > 1. Change compatible to "fsl,ls-scfg-msi" That is obvious from the diff. Write your commit message to answer the question Why? This also breaks compatibility with old DTBs. > 2. Move two MSI dts node into the parent node "msi-cont

Re: [PATCH] i2c: imx: add slave support. v2 status

2016-10-30 Thread Frkuska, Joshua
Hello Maxim, Thank you very much for the intermediate patch. I am in the process of reviewing it. Please let me clarify a few questions I have. 1. What alternative to "bus busy/bus free/IBB" polling do you have in mind? This seems like a reasonable approach to me. 2. What are the major point

Re: [PATCH v9 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2016-10-30 Thread James Liao
On Mon, 2016-10-31 at 01:08 +0100, Matthias Brugger wrote: > Hi James, > > On 10/20/2016 10:56 AM, James Liao wrote: > > Some power domain comsumers may init before module_init. > > So the power domain provider (scpsys) need to be initialized > > earlier too. > > > > Take an example for our IOMMU

[PATCH RESEND] tty: amba-pl011: Add earlycon support for SBSA UART

2016-10-30 Thread Kefeng Wang
Declare an OF early console for SBSA UART so that the early console device can be specified via the "stdout-path" property in device-tree. Cc: Russell King Cc: Greg Kroah-Hartman Signed-off-by: Kefeng Wang --- drivers/tty/serial/amba-pl011.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

Re: [PATCH net] r8152: Fix broken RX checksums.

2016-10-30 Thread Mark Lord
On 16-10-30 08:57 PM, David Miller wrote: > From: Mark Lord > Date: Sun, 30 Oct 2016 19:28:27 -0400 > >> The r8152 driver has been broken since (approx) 3.16.xx >> when support was added for hardware RX checksums >> on newer chip versions. Symptoms include random >> segfaults and silent data cor

Re: [PATCH 2/2] clk: hisilicon: add CRG driver for Hi3516CV300 SoC

2016-10-30 Thread Jiancheng Xue
在 2016/10/29 19:36, Hao Zhang 写道: > Hi, is there any mainline kernel or uboot for hisilicon hi3520dv200 or > hi3520dv300? just want some base support to boot , anything close to > mainline is ok :) > Sorry. I wasn't engaged in hi3520d project. I have no detailed information about it. As far as

Re: [PATCH v6 1/2] x86/msr: Add write msr notrace

2016-10-30 Thread Wanpeng Li
2016-10-31 7:46 GMT+08:00 Borislav Petkov : > On Mon, Oct 31, 2016 at 07:30:33AM +0800, Wanpeng Li wrote: >> Other functions like native_write_msr() and native_write_msr_safe() >> etc are also not aligned, so your suggestion maybe result in >> inconsistent. > > So align them too, while you're at it

Re: [PATCH v1 1/3] dt-bindings: Document Broadcom OTP controller driver

2016-10-30 Thread Rob Herring
On Mon, Oct 24, 2016 at 12:12:02PM -0700, Jonathan Richardson wrote: > From: Jonathan Richardson > > Reviewed-by: Ray Jui > Tested-by: Jonathan Richardson > Signed-off-by: Scott Branden > Signed-off-by: Oza Pawandeep > Signed-off-by: Jonathan Richardson > --- > Documentation/devicetree/bind

[PATCH v7 2/2] x86/apic: x2apic write eoi msr notrace

2016-10-30 Thread Wanpeng Li
From: Wanpeng Li | RCU used illegally from idle CPU! | rcu_scheduler_active = 1, debug_locks = 0 | RCU used illegally from extended quiescent state! | no locks held by swapper/1/0. | | [] do_trace_write_msr+0x135/0x140 | [] native_write_msr+0x20/0x30 | [] native_apic_msr_eoi_write+0x1d/0x30 |

[PATCH v7 1/2] x86/msr: Add write msr notrace

2016-10-30 Thread Wanpeng Li
From: Wanpeng Li Add write msr notrace, it will be used by later patch. Suggested-by: Peter Zijlstra Suggested-by: Paolo Bonzini Acked-by: Paolo Bonzini Cc: Ingo Molnar Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Paolo Bonzini Cc: Borislav Petkov Signed-off-by: Wanpeng

[PATCH v7 0/2] x86/apic: x2apic write eoi msr notrace

2016-10-30 Thread Wanpeng Li
| RCU used illegally from idle CPU! | rcu_scheduler_active = 1, debug_locks = 0 | RCU used illegally from extended quiescent state! | no locks held by swapper/1/0. | | [] do_trace_write_msr+0x135/0x140 | [] native_write_msr+0x20/0x30 | [] native_apic_msr_eoi_write+0x1d/0x30 | [] smp_reschedule

  1   2   3   4   >