Re: [PATCH 1/2] pinctrl: sunxi: fix uart1 CTS/RTS pins at PG on A23/A33

2016-08-22 Thread Maxime Ripard
Hi, On Tue, Aug 23, 2016 at 01:58:25PM +0800, Icenowy Zheng wrote: > PG8, PG9 is said to be the CTS/RTS pins for UART1 according to the A23/33 > datasheets. However, the function is wrongly named "uart2" in the pinctrl > driver. This patch fixes this by modifying them to be named "uart1". > > Sig

Re: [PATCH v05 06/72] include/uapi/linux/hsi/cs-protocol.h: include linux/time.h

2016-08-22 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 10:52:20PM +0200, Sebastian Reichel wrote: > Hi, > > On Mon, Aug 22, 2016 at 08:32:23PM +0200, Mikko Rapeli wrote: > > Fixes userspace compilation errors due to missing timespec definition. > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/linux/hsi/cs-protoco

Re: [PATCH] PCI: rcar: Consolidate register space lookup and ioremap

2016-08-22 Thread Geert Uytterhoeven
On Mon, Aug 22, 2016 at 9:27 PM, Bjorn Helgaas wrote: > Move the devm_ioremap_resource() of R-Car register space next to the > of_address_to_resource() that extracts the resource. No functional change > intended. > > Signed-off-by: Bjorn Helgaas Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting

Re: [PATCH v05 38/72] include/uapi/linux/openvswitch.h: use __u32 from linux/types.h

2016-08-22 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 12:39:38PM -0700, Stephen Hemminger wrote: > On Mon, 22 Aug 2016 20:32:55 +0200 > Mikko Rapeli wrote: > > > Fixes userspace compiler error: > > > > error: unknown type name ‘uint32_t’ > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/linux/openvswitch.h | 4

Re: [PATCH] staging: rts5208: rtsx.c: Fix checkpatch warnings.

2016-08-22 Thread Sudip Mukherjee
On Tue, Aug 23, 2016 at 08:19:46AM +0800, Ming-Chia Chung wrote: > On Mon, Aug 22, 2016 at 10:51:27PM +0530, Sudip Mukherjee wrote: > > On Tue, Aug 23, 2016 at 12:54:17AM +0800, MingChia Chung wrote: > > > This patch fixes a minor checkpatch warnings: > > > > > > "WARNING: Block comments use a

Re: [PATCH v05 21/72] include/uapi/linux/if_pppox.h: include linux/if.h

2016-08-22 Thread Mikko Rapeli
On Mon, Aug 22, 2016 at 12:37:45PM -0700, Stephen Hemminger wrote: > On Mon, 22 Aug 2016 20:32:38 +0200 > Mikko Rapeli wrote: > > > Fixes userspace compilation error: > > > > error: ‘IFNAMSIZ’ undeclared here (not in a function) > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/lin

[PATCH] ARM: BCM5301X: Add DT for Netgear R8500

2016-08-22 Thread Rafał Miłecki
From: Rafał Miłecki Netgear R8500 is another BCM47094 device, it just has three BCM4366 wireless chipsets. It's a very standard DT with mostly GPIO devices. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 104

Re: [PATCH tip/core/rcu 2/2] documentation: Record reason for rcu_head two-byte alignment

2016-08-22 Thread Geert Uytterhoeven
Hi Paul, On Mon, Aug 22, 2016 at 11:16 PM, Paul E. McKenney wrote: > On Mon, Aug 22, 2016 at 10:48:57PM +0200, Geert Uytterhoeven wrote: >> On Mon, Aug 22, 2016 at 9:54 PM, Paul E. McKenney >> wrote: >> > On Mon, Aug 22, 2016 at 03:18:54PM -0400, Steven Rostedt wrote: >> >> On Mon, 22 Aug 2016 2

[PATCH 2/2] clk: mvebu: dynamically allocate resources in Armada CP110 system controller

2016-08-22 Thread Marcin Wojtas
Original commit, which added support for Armada CP110 system controller used global variables for storing all clock information. It worked fine for Armada 7k SoC, with single CP110 block. After dual-CP110 Armada 8k was introduced, the data got overwritten and corrupted. This patch fixes the issue

[PATCH 1/2] clk: mvebu: set flags in CP110 gate clock

2016-08-22 Thread Marcin Wojtas
Armada CP110 system controller comprise its own routine responsble for registering gate clocks. Among others 'flags' field in struct clk_init_data was not set, using a random values, which may cause an unpredicted behavior. This patch fixes the problem by setting CLK_IS_BASIC flag for all gated cl

[PATCH 0/2] Armada 7k/8k CP110 system controller fixes

2016-08-22 Thread Marcin Wojtas
Hi, Newly added clock driver for Marvell Armada 7k/8k CP110 HW block occurred not to be working properly, especially when using two instances of CP110 in Armada 8k. Below tiny patchset comprise fixes for that (prevent from using uninitialized 'flag' field and static global resources). Any feedbac

Re: [PATCH] sdhci: Add quirk and device tree parameter to force SD test mode

2016-08-22 Thread Adrian Hunter
On 23/08/16 01:55, Zach Brown wrote: > From: Jaeden Amero > > On some devices, CD is broken so that we must force the SDHCI into test > mode and set CD, so that it always detects an SD card as present. > > In order to get a device with broken CD working, we had previously > always set the SDHCI

[PATCH V5] clk: bcm: Add driver for BCM53573 ILP clock

2016-08-22 Thread Rafał Miłecki
From: Rafał Miłecki This clock is present on BCM53573 devices (including BCM47189) that use Cortex-A7. ILP is a part of PMU (Power Management Unit) and so it should be defined as one of its subnodes (subdevices). For more details see Documentation entry. Unfortunately there isn't a set of regist

[PATCH V4] clk: bcm: Add driver for BCM53573 ILP clock

2016-08-22 Thread Rafał Miłecki
From: Rafał Miłecki This clock is present on BCM53573 devices (including BCM47189) that use Cortex-A7. ILP is a part of PMU (Power Management Unit) and so it should be defined as one of its subnodes (subdevices). For more details see Documentation entry. Unfortunately there isn't a set of regist

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-22 Thread Shaun Tancheff
On Tue, Aug 23, 2016 at 12:26 AM, Tom Yan wrote: > It is always 1 merely because we prefer sticking to that. Say we want > to enable multi-block payload now, it won't be 1 anymore. Sorry, I though that DSM TRIM is using 512 bytes here because WRITE_SAME_16 has a payload of a single logical secto

[PATCH v2 2/2] ARM: dts: am335x-icev2: Add nodes for gpio-decoder

2016-08-22 Thread Vignesh R
AM335x ICE board has a rotary-switch connected to PCA9536 I2C GPIO expander. The position of the rotary-switch is reflected by status of GPIO lines. Add gpio-decoder node to read these GPIO line status via gpio-decoder driver and report it as an input event to the system. Signed-off-by: Vignesh R

[PATCH] cxgb4: fix invalid checks in alloc_uld_rxqs

2016-08-22 Thread Andrzej Hajda
Local variable msi_idx defined as unsigned int is always >= 0, thus both 'if' checks are always true. On the other side presence of USING_MSIX flag suggests the checks should not be trivially true. The simplest solution is to replace incorrect checks with direct testing of adap->flags and remove sp

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-22 Thread Shaun Tancheff
On Tue, Aug 23, 2016 at 12:55 AM, Tom Yan wrote: > I am really not going to tell the whole story here again. We have a > really long discussion on whether we should advertise Maximum Write > Same Length for SCT Write Same, and the value we should advertise. > (Didn't we come to an conclusion on th

Re: [PATCH v4 4/5] drm: simpledrm: add fbdev fallback support

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 10:25:24PM +0200, Noralf Trønnes wrote: > Create a simple fbdev device during SimpleDRM setup so legacy user-space > and fbcon can use it. > > Original work by David Herrmann. > > Cc: dh.herrm...@gmail.com > Signed-off-by: Noralf Trønnes > --- > > Changes from version 3:

Re: [PATCH v4 2/5] drm/fb-helper: Add drm_fb_helper_set_suspend_lock()

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 10:25:22PM +0200, Noralf Trønnes wrote: > This adds a function that also takes the console lock before calling > fb_set_suspend() in contrast to drm_fb_helper_set_suspend() which is > a plain wrapper around fb_set_suspend(). > Resume is run asynchronously using a worker if t

Re: [PATCH v2 2/2] Documentation/sphinx: link dma-buf rsts

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 12:49:30PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 22 Aug 2016 20:41:45 +0530 > Sumit Semwal escreveu: > > > Include dma-buf sphinx documentation into top level index. > > > > Signed-off-by: Sumit Semwal > > --- > > Documentation/index.rst | 2 ++ > > 1 file chang

Re: [Revised document] Crossrelease lockdep

2016-08-22 Thread Byungchul Park
Please let me know your opinions. I'm planning to post next spin if you agree with at least the concept. I omitted many things about e.g. synchronization, set theory and so on, since I don't want it to be too lengthy document, so focused on only essential thingy. Please let me know if you think the

[PATCH v2 2/4] remoteproc: Introduce Qualcomm ADSP PIL

2016-08-22 Thread Bjorn Andersson
From: Bjorn Andersson The Qualcomm ADSP Peripheral Image Loader is used on a variety of different Qualcomm platforms for loading firmware into and controlling the Hexagon based ADSP. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Changes since v1: - Added platform names to

[PATCH v2 4/4] ARM: dts: msm8974: Add ADSP PIL node

2016-08-22 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Changes since v1: - Added this patch arch/arm/boot/dts/qcom-msm8974.dtsi | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index eac24cbe3c87..4fa

[PATCH v2 3/4] ARM: dts: msm8974: Add ADSP smp2p and smd nodes

2016-08-22 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Changes since v1: - Added this patch arch/arm/boot/dts/qcom-msm8974.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 561d4d136762..eac24c

Re: [PATCH v2] drm/udl: Ensure channel is selected before using the device.

2016-08-22 Thread Daniel Vetter
On Mon, Aug 22, 2016 at 11:17:34PM +0100, Jamie Lentin wrote: > Lift configuration command from udlfb. This appears to be essential for > at least a Rextron VCUD-60, without which no URB communication occurs. > > Signed-off-by: Jamie Lentin > --- > udl_encoder_commit() is too late to do this set

[PATCH v2 1/4] dt-binding: remoteproc: Introduce ADSP loader binding

2016-08-22 Thread Bjorn Andersson
This document defines the binding for a component that loads firmware and control the life cycle of the Qualcomm ADSP core. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added platform names to compatibility .../devicetree/bindings/remoteproc/qcom,adsp.txt | 70 +

Re: [v13.1 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-08-22 Thread Chanwoo Choi
Hi Chris, The name of 'SuperSpeed' property is changed from EXTCON_PROP_USB_SUPERSPEED to EXTCON_PROP_USB_SS. The name change was discussed on mail thread[1]. Also, this driver depend on the extcon git repository. So, I created the immutable branch(ib-extcon-phy-4.9)[2] for phy framework to prev

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-22 Thread Tom Yan
On 23 August 2016 at 00:36, Shaun Tancheff wrote: > On Mon, Aug 22, 2016 at 6:09 PM, Tom Yan wrote: >> I am not sure about what you mean here. Rejecting SCSI Write Same >> commands that has its "number of blocks" field set to a value higher >> than the device's reported Maximum Write Same Length

[RFC][PATCH 0/4] Audio support for adv7511 hdmi bridge

2016-08-22 Thread John Stultz
This is an initial swing at getting the adv7511 hdmi bridge audio support reviewed. I've taken the core audio work done by Lars-Peter Clausen, and adapted by Srinivas Kandagatla and Archit Taneja, and tried to rework it to use the hdmi-codec sound driver. This patchset, along with the i2s driver

[RFC][PATCH 2/4] drm/bridge: adv7511: Add Audio support.

2016-08-22 Thread John Stultz
This patch adds support to Audio for both adv7511 and adv7533 bridge chips. This patch was originally from [1] by Lars-Peter Clausen and was adapted by Archit Taneja and Srinivas Kandagatla . Then I heavily reworked it to use the hdmi-codec driver. So credit to them, but blame to me. [1] http

[RFC][PATCH 4/4] drm/bridge: adv7511: Initialize audio packet on adv7533

2016-08-22 Thread John Stultz
From: Andy Green Set the initial audio packet settings to allow the audio driver to work. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy Green Cc: Dave Long Cc: Guodong Xu Cc: Zhangfei Ga

[RFC][PATCH 3/4] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-08-22 Thread John Stultz
From: Srinivas Kandagatla This patch enables the Audio Data and Clock pads to the adv7533 bridge. Without this patch audio can not be played. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy G

[RFC][PATCH 1/4] drm/bridge: adv7511: Move the common data structures to header file

2016-08-22 Thread John Stultz
From: Archit Taneja This patch moves the adv7511 data structure to header file so that the audio driver file could use it. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy Green Cc: Dave Long

Re: [PATCH v4 5/5] net: ethernet: ti: cpsw: add ethtool channels support

2016-08-22 Thread Mugunthan V N
On Monday 22 August 2016 11:48 PM, Ivan Khoronzhuk wrote: > These ops allow to control number of channels driver is allowed to > work with at cpdma level. The maximum number of channels is 8 for > rx and 8 for tx. In dual_emac mode the h/w channels are shared > between two interfaces and changing n

Re: [PATCH v4 3/5] net: ethernet: ti: cpsw: add multi queue support

2016-08-22 Thread Mugunthan V N
On Monday 22 August 2016 11:48 PM, Ivan Khoronzhuk wrote: > The cpsw h/w supports up to 8 tx and 8 rx channels. This patch adds > multi-queue support to the driver only, shaper configuration will > be added with separate patch series. Default shaper mode, as > before, priority mode, but with correc

Re: [PATCH v4 1/5] net: ethernet: ti: davinci_cpdma: split descs num between all channels

2016-08-22 Thread Mugunthan V N
On Monday 22 August 2016 11:48 PM, Ivan Khoronzhuk wrote: > Tx channels share same pool of descriptors. Thus one channel can > block another if pool is emptied by one. But, the shaper should > decide which channel is allowed to send packets. To avoid such > impact of one channel on another, let eve

[PATCH V2] ARM: BCM5301X: Add basic dts for BCM53573 based Tenda AC9

2016-08-22 Thread Rafał Miłecki
BCM53573 seems to be low priced alternative for Northstar chipsts. It uses single core Cortex-A7 and doesn't have SDU or local (TWD) timer. It was also stripped out of independent SPI controller and 2 GMACs. DTS for Tenda AC9 isn't completed yet. It misses e.g. switch entry (we still need some b53

Re: [PATCH] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC

2016-08-22 Thread Peter Meerwald-Stadler
> Adds basic support for the LTC2485 ADC - a delta-sigma analog-to-digital > converter with an I2C interface that operates in single shot conversion > mode. comments below, looks good > The driver supports an on board 5V reference and the power-on default > configuration which rejects both 50h

Re: [PATCH v7 6/8] Documentation: bindings: add dt documentation for rk3399 dmc

2016-08-22 Thread Chanwoo Choi
Hi Lin, I reply the on v6 patch[1]. If you have another opinion, please let me know. If my suggestion is not reasonable, we need to discuss it. [1] https://lkml.org/lkml/2016/8/23/28 Best Regards, Chanwoo Choi On 2016년 08월 22일 12:36, Lin Huang wrote: > This patch adds the documentation for rock

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-22 Thread Tom Yan
On 23 August 2016 at 01:01, Shaun Tancheff wrote: > On Mon, Aug 22, 2016 at 6:49 PM, Tom Yan wrote: >> The only 512 I can see in the old code is the one in: >> >>> - used_bytes = ALIGN(i * 8, 512); >> >> where the alignment is necessary because 'used_bytes' will be returned >> as 'size', wh

Re: [PATCH v7 4/8] Documentation: bindings: add dt documentation for dfi controller

2016-08-22 Thread Chanwoo Choi
Hi Lin, On 2016년 08월 22일 12:36, Lin Huang wrote: > This patch adds the documentation for rockchip dfi devfreq-event driver. > > Signed-off-by: Lin Huang > --- > Changes in v7: > -None > > Changes in v6: > -None > > Changes in v5: > -None > > Changes in v4: > -None > > Changes in v3: > -None

Re: [PATCH][RFC] printk: make pr_cont buffer per-cpu

2016-08-22 Thread Sergey Senozhatsky
On (08/23/16 00:40), Sergey Senozhatsky wrote: > RFC and POC [..] > if (!(lflags & LOG_NEWLINE)) { > + if (!this_cpu_read(cont_printing)) { > + bool unsafe_pr_cont = preemptible() && > + !rcu_preempt_depth(); d'oh, how did it

[v13.1 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-08-22 Thread Chris Zhong
Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB Type-C PHY is designed to support the USB3 and DP applications. The USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. This driver create 2 PHY devices separately for USB3 and DisplyPort, and regi

Re: [PATCH v6 6/8] Documentation: bindings: add dt documentation for rk3399 dmc

2016-08-22 Thread Chanwoo Choi
Hi Lin, On 2016년 08월 22일 07:16, hl wrote: > Hi Chanwoo Choi, > > On 2016年08月17日 12:50, Chanwoo Choi wrote: >> Hi Lin, >> >> On 2016년 08월 17일 07:36, Lin Huang wrote: >>> This patch adds the documentation for rockchip rk3399 dmc driver. >>> >>> Signed-off-by: Lin Huang >>> --- >>> Changes in v6: >

[PATCH 3/5] PCI: hv: remove the unused 'wrk' in struct hv_pcibus_device

2016-08-22 Thread Dexuan Cui
The member is not used. Cc: Jake Oshins Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Signed-off-by: Dexuan Cui --- drivers/pci/host/pci-hyperv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c index cdbadea5..ae

[PATCH 2/5] PCI: hv: use pci_function_description[0] in struct definitions

2016-08-22 Thread Dexuan Cui
The 2 structs can use a zero-length array here, because dynamic memory of the correct size is allocated in hv_pci_devices_present() and we don't need this extra element. No functional change. Cc: Jake Oshins Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Signed-off-by: Dexuan Cu

[PATCH 1/5] PCI: hv: use zero-length array in struct pci_packet

2016-08-22 Thread Dexuan Cui
And, rename struct pci_message's field "message_type" to "type. This makes the code more readable. No functionality change. Cc: Jake Oshins Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Signed-off-by: Dexuan Cui --- drivers/pci/host/pci-hyperv.c | 42

[PATCH 0/5] PCI: hv: some minor bug fixes and cleanups

2016-08-22 Thread Dexuan Cui
1. use zero-length array to make the code more readable. 2. remove an unused struct member. 3. small error handling improvement to some error cases. Dexuan Cui (5): PCI: hv: use zero-length message in struct pci_packet PCI: hv: use pci_function_description[0] in struct definitions PCI: hv:

linux-next: Tree for Aug 23

2016-08-22 Thread Stephen Rothwell
Hi all, Changes since 20160822: The drm-intel tree gained a build failure so I used the veriosn from next-20160822. The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit. The sound-asoc tree gained a build failure so I used the version from next-20160822. Non

Re: [RFC][PATCH 7/7] cpufreq: intel_pstate: Change P-state selection algorithm for Core

2016-08-22 Thread Wanpeng Li
2016-08-23 12:08 GMT+08:00 Srinivas Pandruvada : > On Tue, 2016-08-23 at 11:48 +0800, Wanpeng Li wrote: >> Hi Rafael, >> 2016-08-01 7:38 GMT+08:00 Rafael J. Wysocki : >> > >> > From: Rafael J. Wysocki >> > >> > The PID-base P-state selection algorithm used by intel_pstate for >> > Core processors

[PATCH V3 2/3] dmaengine: qcom_hidma: report transfer errors with new interface

2016-08-22 Thread Sinan Kaya
Pass the DMA errors to the client by passing a result argument. The HW only supports a generic error when something goes wrong. That's why, using DMA_TRANS_ABORTED all the time. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-

[PATCH V3 1/3] dmaengine: qcom_hidma: release the descriptor before the callback

2016-08-22 Thread Sinan Kaya
There is a race condition between data transfer callback and descriptor free code. The callback routine may decide to clear the resources even though the descriptor has not yet been freed. Instead of calling the callback first and then releasing the memory, this code is changing the order to retur

[PATCH V3 3/3] dmaengine: qcom_hidma: add error reporting for tx_status

2016-08-22 Thread Sinan Kaya
The HIDMA driver is capable of error detection. However, the error was not being passed back to the client when tx_status API is called. Changing the error handling behavior to follow this oder. 1. dmaengine asserts error interrupt 2. Driver receives and mark's the txn as error 3. Driver complete

[PATCH 5/5] PCI: hv: hv_pci_generic_compl(): handle the error case

2016-08-22 Thread Dexuan Cui
'completetion_status' is used in some places, e.g., hv_pci_protocol_negotiation(), so we should make sure it's initialized in error case too, though the error is unlikely here. I didn't get a real issue. Cc: Jake Oshins Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Signed-off-b

[PATCH 4/5] PCI: hv: hv_compose_msi_msg: handle the 'ret' value

2016-08-22 Thread Dexuan Cui
I happened to find this when reading the code. I didn't get a real issue however. Cc: Jake Oshins Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: Vitaly Kuznetsov Signed-off-by: Dexuan Cui --- drivers/pci/host/pci-hyperv.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a

Re: OOM detection regressions since 4.7

2016-08-22 Thread Joonsoo Kim
On Mon, Aug 22, 2016 at 11:32:49AM +0200, Michal Hocko wrote: > Hi, > there have been multiple reports [1][2][3][4][5] about pre-mature OOM > killer invocations since 4.7 which contains oom detection rework. All of > them were for order-2 (kernel stack) alloaction requests failing because > of a h

Re: [PATCH v7 0/3] mfd: lp873x: Add lp873x PMIC support

2016-08-22 Thread Keerthy
Lee Jones, On Wednesday 10 August 2016 03:48 PM, Keerthy wrote: The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC inte

Re: [RESEND PATCH 0/3] ARM: dts: Enable suspend configuration

2016-08-22 Thread Keerthy
Tony, On Thursday 11 August 2016 10:57 AM, Keerthy wrote: Now that https://lkml.org/lkml/2016/8/10/243 series is in. Here is the set of Device Tree patches which were dependent on the driver patches. Could you please pull this set if there are no further comments. All the driver dependencies

[PATCH 3/3] mfd: cros_ec: Add support for dumping panic information

2016-08-22 Thread Nicolas Boichat
This dumps the EC panic information from the previous reboot. Similar to the information presented by ectool panicinfo, except that we do not bother doing any parsing (we should write a small offline tool for that). Signed-off-by: Nicolas Boichat --- drivers/platform/chrome/cros_ec_debugfs.c |

[PATCH 1/3] mfd: cros_ec: Add EC console read structures definitions

2016-08-22 Thread Nicolas Boichat
ec_params_console_read_v1 is used to capture EC logs from kernel, and ec_params_get_cmd_versions_v1 is used to probe whether EC supports that command. Signed-off-by: Nicolas Boichat --- include/linux/mfd/cros_ec_commands.h | 21 - 1 file changed, 20 insertions(+), 1 deletion(

[PATCH 0/3] mfd: cros_ec: Add debugfs directory to capture logs/panicinfo

2016-08-22 Thread Nicolas Boichat
This series makes it possible to capture EC console and panicinfo by reading files in /sys/kernel/debug/cros_ec/*. This is very useful for debugging purpose (e.g. when a user files a feedback on Chrome OS). Eric Caruso (1): mfd: cros_ec: add debugfs, console log file Nicolas Boichat (2): mfd:

[PATCH 2/3] mfd: cros_ec: add debugfs, console log file

2016-08-22 Thread Nicolas Boichat
From: Eric Caruso If the EC supports the new CONSOLE_READ command type, then we place a console_log file in debugfs for that EC device which allows us to grab EC logs. The kernel will poll every 10 seconds for the log and keep its own buffer, but userspace should grab this and write it out to som

Re: [PATCH v5] Force cppc_cpufreq to report values in KHz to fix user space reporting

2016-08-22 Thread Pandruvada, Srinivas
On Mon, 2016-08-22 at 12:12 -0600, Al Stone wrote: > On 08/22/2016 11:45 AM, Ashwin Chaugule wrote: > > > > Hi Al, > > > > On Mon, Aug 22, 2016 at 10:16 AM, Al Stone wrote: > > > > > > Maybe a top-post will get attention > > > > > > Yet another ping; this was first submitted on 20 July, an

Re: [RESEND][PATCH 1/7 v4] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms

2016-08-22 Thread John Stultz
On Mon, Aug 22, 2016 at 9:23 PM, kbuild test robot wrote: > Hi John, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.8-rc3 next-20160822] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] >

Re: [PATCH v4 54/57] x86/mm: convert arch_within_stack_frames() to use the new unwinder

2016-08-22 Thread Josh Poimboeuf
On Mon, Aug 22, 2016 at 05:59:18PM -0700, Kees Cook wrote: > On Mon, Aug 22, 2016 at 4:33 PM, Josh Poimboeuf wrote: > > On Mon, Aug 22, 2016 at 03:27:19PM -0500, Josh Poimboeuf wrote: > >> On Fri, Aug 19, 2016 at 04:55:22PM -0500, Josh Poimboeuf wrote: > >> > On Fri, Aug 19, 2016 at 11:27:18AM -07

Re: [PATCH] serial: vt8500_serial: Fix a parameter of find_first_zero_bit.

2016-08-22 Thread Christophe JAILLET
Le 22/08/2016 à 10:42, Arnd Bergmann a écrit : [...] Sorry, but I'm not following the logic here. [...] You argue that the two have the same meaning, which I see, but why is it better than the existing code? Arnd Hi, sorry if my explanation was unclear. What I mean is that if "sizeo

Re: [PATCH 3/9] regulator: core: Try full range when adjusting regulators to constraints

2016-08-22 Thread Chen-Yu Tsai
On Tue, Aug 23, 2016 at 2:09 AM, Mark Brown wrote: > On Mon, Aug 22, 2016 at 07:52:05PM +0200, Rask Ingemann Lambertsen wrote: >> On Mon, Aug 22, 2016 at 05:29:07PM +0100, Mark Brown wrote: > >> > This seems like you have buggy constraints, constraints which allow >> > voltages that can't physical

Re: [RESEND][PATCH 1/7 v4] Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms

2016-08-22 Thread kbuild test robot
Hi John, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc3 next-20160822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record w

Re: [PATCH v1 3/3] PM / AVS: rockchip-cpu-avs: add driver handling Rockchip cpu avs

2016-08-22 Thread Finley Xiao
在 2016/8/19 21:36, Rob Herring 写道: On Tue, Aug 16, 2016 at 10:38:59AM +0800, Finlye Xiao wrote: From: Finley Xiao This patch supports adjusting opp's voltage according to leakage Signed-off-by: Finley Xiao --- .../devicetree/bindings/power/rockchip-cpu-avs.txt | 37 +++ drivers/power/a

Re: [RFC][PATCH 7/7] cpufreq: intel_pstate: Change P-state selection algorithm for Core

2016-08-22 Thread Srinivas Pandruvada
On Tue, 2016-08-23 at 11:48 +0800, Wanpeng Li wrote: > Hi Rafael, > 2016-08-01 7:38 GMT+08:00 Rafael J. Wysocki : > > > > From: Rafael J. Wysocki > > > > The PID-base P-state selection algorithm used by intel_pstate for > > Core processors is based on very weak foundations.  Namely, its > > deci

Re: [PATCH] net: ipconfig: Fix NULL pointer dereference on RARP/BOOTP/DHCP timeout

2016-08-22 Thread David Miller
From: Geert Uytterhoeven Date: Mon, 22 Aug 2016 15:01:03 +0200 > If no RARP, BOOTP, or DHCP response is received, ic_dev is never set, > causing a NULL pointer dereference in ic_close_devs(): > > Sending DHCP requests .. timed out! > Unable to handle kernel NULL pointer dereference a

Re: [PATCH v2 0/2] ALSA: compress: Fine-tuning for snd_compr_set_params()

2016-08-22 Thread Vinod Koul
On Mon, Aug 22, 2016 at 10:34:19AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 22 Aug 2016 10:27:01 +0200 > > A few update suggestions were taken into account > from static source code analysis. Both: Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH] raid6: fix the input of raid6 algorithm

2016-08-22 Thread H. Peter Anvin
On August 22, 2016 8:22:57 PM PDT, liuzhengy...@kylinos.cn wrote: > >To test and choose an best algorithm for raid6, disk number >and disk data must be offered. Those input depend on page >size and gfmul table at current time. It would lead the disk >number less than 4 when the page size is more th

Re: [RFC][PATCH 7/7] cpufreq: intel_pstate: Change P-state selection algorithm for Core

2016-08-22 Thread Wanpeng Li
Hi Rafael, 2016-08-01 7:38 GMT+08:00 Rafael J. Wysocki : > From: Rafael J. Wysocki > > The PID-base P-state selection algorithm used by intel_pstate for > Core processors is based on very weak foundations. Namely, its > decisions are mostly based on the values of the APERF and MPERF > feedback re

Re: [alsa-devel] [PATCH 1/2] ALSA: compress: Use memdup_user() rather than duplicating its implementation

2016-08-22 Thread Vinod Koul
On Mon, Aug 22, 2016 at 02:05:43PM +0200, Takashi Iwai wrote: > On Sun, 21 Aug 2016 21:43:22 +0200, > SF Markus Elfring wrote: > > > > From: Markus Elfring > > Date: Sun, 21 Aug 2016 21:02:06 +0200 > > > > Reuse existing functionality from memdup_user() instead of keeping > > duplicate source co

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-08-22 Thread Andreas Mohr
[I *AGAIN* seem to have lost access to linux-kernel subscription, thus no proper In-Reply-To: reply possible, ARGH, sorry] Some random yet maybe still helpful observations from reading this mail content (Sat, 20 Aug 2016 14:24:30 +0900) and reviewing trunk printk.c: . vprintk_emit() static variab

Re: [PATCH 6/8] media: vidc: add Venus HFI files

2016-08-22 Thread Bjorn Andersson
On Mon 22 Aug 06:13 PDT 2016, Stanimir Varbanov wrote: > Here is the implementation of Venus video accelerator low-level > functionality. It contanins code which setup the registers and > startup uthe processor, allocate and manipulates with the shared > memory used for sending commands and receiv

Re: [PATCH] seccomp: Fix tracer exit notifications during fatal signals

2016-08-22 Thread Kyle Huey
On Thu, Aug 11, 2016 at 11:18 AM, Kees Cook wrote: > On Thu, Aug 11, 2016 at 8:12 AM, Oleg Nesterov wrote: >> On 08/10, Kees Cook wrote: >>> >>> This fixes a ptrace vs fatal pending signals bug as manifested in seccomp >>> now that ptrace was reordered to happen after ptrace. The short version is

Re: [PATCH 5/8] media: vidc: add Host Firmware Interface (HFI)

2016-08-22 Thread Bjorn Andersson
On Mon 22 Aug 06:13 PDT 2016, Stanimir Varbanov wrote: > This is the implementation of HFI. It is loaded with the > responsibility to comunicate with the firmware through an > interface commands and messages. > > - hfi.c has interface functions used by the core, decoder > and encoder parts to co

[PATCH] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC

2016-08-22 Thread Alison Schofield
Adds basic support for the LTC2485 ADC - a delta-sigma analog-to-digital converter with an I2C interface that operates in single shot conversion mode. The driver supports an on board 5V reference and the power-on default configuration which rejects both 50hz & 60hz line frequencies and operates i

[PATCH] raid6: fix the input of raid6 algorithm

2016-08-22 Thread liuzhengyuan
From: ZhengYuan Liu To test and choose an best algorithm for raid6, disk number and disk data must be offered. Those input depend on page size and gfmul table at current time. It would lead the disk number less than 4 when the page size is more than 64KB.This patch would support arbitrarily page

Re: [PACTH,v6,1/2] usb: xhci: plat: Enable runtime PM

2016-08-22 Thread Brian Norris
+ others Hi Robert and Felipe, I have a few questions for one or both of you. I'm not really an expert on runtime PM, so please take my questions with a grain of salt. On Wed, Aug 10, 2016 at 04:32:15PM -0400, robert.f...@collabora.com wrote: > From: Robert Foss > > Enable runtime PM for the x

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-22 Thread Balbir Singh
> zImage on ppc64 BE is an ELF32 file. This patch set only supports loading > ELF files of the same class as the kernel, so a 64 bit kernel can't load an > ELF32 file. It would be possible to add such support, but it would be a new > feature. > > The distros I was able to check on ppc64 LE and

Re: [PATCH v6 4/8] usb: core: add power sequence handling for USB devices

2016-08-22 Thread Peter Chen
On Mon, Aug 22, 2016 at 12:09:54PM -0400, Alan Stern wrote: > > > + > > > +static int hub_of_pwrseq_on(struct device_node *np, struct usb_hub *hub) > > > +{ > > > + struct pwrseq *pwrseq; > > > + struct usb_pwrseq_node *pwrseq_node; > > > + int ret; > > > + > > > + pwrseq = pwrseq_alloc_generic();

Re: [PATCH v05 47/72] include/uapi/linux/coda.h: use __kernel_pid_t and add u_short etc definitions for userspace

2016-08-22 Thread kbuild test robot
Hi Mikko, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc3] [cannot apply to next-20160822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto

RE: [PATCH] sdhci: Add quirk and device tree parameter to force SD test mode

2016-08-22 Thread Haibo Chen
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Zach Brown > Sent: Tuesday, August 23, 2016 6:56 AM > To: adrian.hun...@intel.com > Cc: ulf.hans...@linaro.org; mark.rutl...@arm.com; robh...@kernel.org; > linux-...@vger.ke

Re: [PATCH v7 7/7] doc: bindings: act8945a-charger: Update properties

2016-08-22 Thread Sebastian Reichel
Hi, On Mon, Aug 22, 2016 at 02:49:17PM +0800, Wenyou Yang wrote: > Due the driver improvements, update the properties, > - Remove "active-semi,check-battery-temperature" property. > - Add the properties, "active-semi,irq_gpio" >and "active-semi,lbo-gpios". > > Signed-off-by: Wenyou Yang >

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-22 Thread Thiago Jung Bauermann
Am Dienstag, 16 August 2016, 16:52:54 schrieb Balbir Singh: > On 16/08/16 09:25, Thiago Jung Bauermann wrote: > > Am Montag, 15 August 2016, 17:46:34 schrieb Balbir Singh: > >> On Thu, Aug 11, 2016 at 08:08:09PM -0300, Thiago Jung Bauermann wrote: > >>> +/** > >>> + * elf64_apply_relocate_add - app

Re: [PATCH 5/7] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-08-22 Thread Chanwoo Choi
Hi Marek, On 2016년 08월 19일 19:48, Marek Szyprowski wrote: > Hello, > > > On 2016-08-16 08:35, Chanwoo Choi wrote: >> This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on >> Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports >> PSCI (Power State

Re: [PATCH v2] mmc: dw_mmc: return -EILSEQ for EBE and SBE error

2016-08-22 Thread Jaehoon Chung
Hi Shawn, On 08/22/2016 11:57 AM, Shawn Lin wrote: > The following log we found indicate the fact that dw_mmc > didn't treat EBE or SBE as a similar problem as CRC error. > -EIO is quite not informative as it may indicate that the device > is broken rather than that of tuning stuff. > > ... > [ 8

Re: perf: fuzzer crashes immediately on AMD system

2016-08-22 Thread Vince Weaver
> > > > > > > > perf stat -a -e amd_nb/config=0x37,config1=0x20/ /bin/ls > amd_uncore_find_online_sibling() > function is broken. and that's the problem. uncore_find_online_sibling() does all kinds of wrong things including sticking active uncore structures in uncore->free_when_

Re: [PATCH 2/8] media: vidc: adding core part and helper functions

2016-08-22 Thread Bjorn Andersson
On Mon 22 Aug 06:13 PDT 2016, Stanimir Varbanov wrote: Hi Stan, > This adds core part of the vidc driver common helper functions > used by encoder and decoder specific files. I believe "vidc" is short for "video core" and this is not the only "video core" from Qualcomm. This driver is the v4l2 <

Re: [PATCH] sdhci: Add quirk and device tree parameter to force SD test mode

2016-08-22 Thread Frank Rowand
On 08/22/16 15:55, Zach Brown wrote: > From: Jaeden Amero > > On some devices, CD is broken so that we must force the SDHCI into test > mode and set CD, so that it always detects an SD card as present. > > In order to get a device with broken CD working, we had previously > always set the SDHCI

Re: [PATCH] Documentation: devicetree: Fix max77693 spelling errors

2016-08-22 Thread Chanwoo Choi
Hi, On 2016년 08월 23일 05:27, Sebastiaan Schalbroeck wrote: > This patch corrects spelling errors in the max77693 devicetree doc, > in particular example code containing typos. > > Signed-off-by: Sebastiaan Schalbroeck > --- > Documentation/devicetree/bindings/mfd/max77693.txt | 12 ++-- >

[PATCH] staging: iio: accel: sca3000: remove extra space

2016-08-22 Thread Clifton Barnes
fix checkpatch.pl warning about 'Statements should start on a tabstop' Signed-off-by: Clifton Barnes --- drivers/staging/iio/accel/sca3000_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core

Re: [PATCH v7 6/7] power: act8945a_charger: Add max current property

2016-08-22 Thread Sebastian Reichel
Hi, On Mon, Aug 22, 2016 at 02:49:16PM +0800, Wenyou Yang wrote: > [...] > > - chglev_pin = of_get_named_gpio_flags(np, > - "active-semi,chglev-gpios", 0, &flags); > - > - if (gpio_is_valid(chglev_pin)) { > - gpio_set_value(chglev_pin, > -

Re: [PATCH v7 5/7] power: act8945a_charger: Add capacity level property

2016-08-22 Thread Sebastian Reichel
Hi, On Mon, Aug 22, 2016 at 02:49:15PM +0800, Wenyou Yang wrote: > [...] > > + charger->lbo_gpio = gpiod_get(dev->parent, "active-semi,lbo", GPIOD_IN); > + if (PTR_ERR(charger->lbo_gpio) == -EPROBE_DEFER) { > + dev_info(dev, "probe retry requested for gpio \"lbo\"\n"); > +

Re: [PATCH v2] time: alarmtimer: Add the trcepoints for alarmtimer

2016-08-22 Thread kbuild test robot
Hi Baolin, [auto build test ERROR on tip/timers/core] [also build test ERROR on v4.8-rc3 next-20160822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

Re: [PATCH 1/2] clk: samsung: exynos5260: Move struct samsung_cmu_info to init section

2016-08-22 Thread Chanwoo Choi
Hi Stephen, On 2016년 08월 23일 09:55, Stephen Boyd wrote: > On 08/22, Chanwoo Choi wrote: >> This patch moves the all samsung_cmu_info struct to initconst section >> because they are used only in initconst section. >> >> Signed-off-by: Chanwoo Choi >> --- >> drivers/clk/samsung/clk-exynos5260.c |

  1   2   3   4   5   6   7   8   9   10   >