Re: [PATCH v2] Documentation: sunxi: Update Allwinner SoC documentation

2016-08-16 Thread Chen-Yu Tsai
On Sat, Aug 13, 2016 at 6:01 PM, Icenowy Zheng wrote: > Now, the A83T and A64 SoC user manuals are available. > Update the documentation to add the links. > > An updated version of A83T datasheet is also included now. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

RE: [PATCH] net: macb: add phy-handle support for the macb

2016-08-16 Thread Appana Durga Kedareswara Rao
Hi David Miller, Thanks for the review... > > From: Kedareswara rao Appana > Date: Sat, 13 Aug 2016 15:31:49 +0530 > > > @@ -445,7 +445,13 @@ static int macb_mii_init(struct macb *bp) > > dev_set_drvdata(&bp->dev->dev, bp->mii_bus); > > > > np = bp->pdev->dev.of_node; > > - i

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-16 Thread Marcel Holtmann
Hi Sebastian, > This driver adds support for Nokia H4+ procotol used > for example by Nokia's internet tablets (N770 - N950). > --- > drivers/bluetooth/Kconfig | 10 + > drivers/bluetooth/Makefile| 1 + > drivers/bluetooth/hci_ldisc.c | 6 + > drivers/bluetooth/hci_nokia.c | 734

Re: [RFC PATCH] Introduce a 'recovery' command line option

2016-08-16 Thread Richard Weinberger
Hi! On Tue, Aug 16, 2016 at 8:36 AM, Janne Karhunen wrote: > Recovery option can be used to define a secondary rootfs > in case mounting of the primary root fails. This allows > the kernel to automatically switch to a recovery > filesystem without the initrd or the bootloader support > for the sw

Re: [RFC 4/7] Bluetooth: hci_uart: Add support for word alignment

2016-08-16 Thread Marcel Holtmann
Hi Sebatian, > This will be used by Nokia's H4+ protocol, which > adds padding to packets to reach word alignment. > --- > drivers/bluetooth/hci_h4.c | 10 ++ > drivers/bluetooth/hci_uart.h | 1 + > 2 files changed, 11 insertions(+) > > diff --git a/drivers/bluetooth/hci_h4.c b/drivers/b

[PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated functions

2016-08-16 Thread Chanwoo Choi
This patch alters the renamed extcon API to set the state of the external connectors instead of deprecated extcon_set_cable_state_(). Because the patch[1] modifies the function name to maintain the function naming pattern. - extcon_set_cable_state_() -> extcon_set_state_sync() - extcon_get_cable_s

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-16 Thread Felipe Balbi
Hi, ayaka writes: > On 08/13/2016 01:44 AM, Greg KH wrote: >> On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: >>> >>> On 08/12/2016 03:40 PM, Greg KH wrote: On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: > Hello all: > I recently add a support for customize am3358

Re: [RFC 0/7] Nokia N9xx bluetooth driver

2016-08-16 Thread Marcel Holtmann
Hi Sebastian, > This series (based von 4.8-rc1) adds support for bluetooth on the Nokia > N9xx devices. It has been tested on the Nokia N950, where it works > correctly. On Nokia N900 it currently fails during negotiation > (probably related to slightly incorrect serial settings/timings). > The N9

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-16 Thread Michal Hocko
On Mon 15-08-16 12:25:10, Robert Foss wrote: > > > On 2016-08-15 09:42 AM, Michal Hocko wrote: [...] > > The use case is to speed up monitoring of > > memory consumption in environments where RSS isn't precise. > > > > For example Chrome tends to many processes which have hundreds of VMAs > > wit

Re: [PATCH] usb: dwc3: gadget: don't rely on jiffies while holding spinlock

2016-08-16 Thread Felipe Balbi
Hi, Nicolas Saenz Julienne writes: > __dwc3_gadget_wakeup() is called while holding a spinlock, then depends on > jiffies in order to timeout while polling the USB core for a link state > update. In the case the wakeup failed, the timeout will never happen and > will also cause the cpu to stall

Re: [PATCH v10 5/5] usb: dwc3: add rockchip specific glue layer

2016-08-16 Thread Felipe Balbi
Hi, William Wu writes: > Add rockchip specific glue layer to support USB3 Peripheral mode > and Host mode on rockchip platforms (e.g. rk3399). > > The DesignWare USB3 integrated in rockchip SoCs is a configurable > IP Core which can be instantiated as Dual-Role Device (DRD), Host > Only (XHCI) a

[PATCH v4] hwmon: (max6650.c) Add devicetree support

2016-08-16 Thread Mike Looijmans
Parse devicetree parameters for voltage and prescaler setting. This allows using multiple max6550 devices with varying settings, and also makes it possible to instantiate and configure the device using devicetree. Signed-off-by: Mike Looijmans --- v4: Vendor prefix "maxim," for devicetree propert

Re: [PATCH v5 7/7] ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k

2016-08-16 Thread Chen-Yu Tsai
On Tue, Jul 12, 2016 at 10:02 AM, Chen-Yu Tsai wrote: > On Mon, Jul 11, 2016 at 2:50 PM, Maxime Ripard > wrote: >> Hi, >> >> On Fri, Jul 08, 2016 at 10:33:42PM +0800, Chen-Yu Tsai wrote: >>> The 32.768 kHz clock inside the A80 SoC is fed from an external source, >>> typically the AC100 RTC module

Re: [PATCH v2 3/6] mm/page_owner: move page_owner specific function to page_owner.c

2016-08-16 Thread Vlastimil Babka
On 08/16/2016 04:51 AM, js1...@gmail.com wrote: From: Joonsoo Kim There is no reason that page_owner specific function resides on vmstat.c. Reviewed-by: Sergey Senozhatsky Signed-off-by: Joonsoo Kim Acked-by: Vlastimil Babka

Re: [PATCH v2 4/6] mm/page_ext: rename offset to index

2016-08-16 Thread Vlastimil Babka
On 08/16/2016 04:51 AM, js1...@gmail.com wrote: From: Joonsoo Kim Here, 'offset' means entry index in page_ext array. Following patch will use 'offset' for field offset in each entry so rename current 'offset' to prevent confusion. Signed-off-by: Joonsoo Kim Acked-by: Vlastimil Babka

[PATCH] hwmon: (max6650.c) Add devicetree support documentation

2016-08-16 Thread Mike Looijmans
This adds the devicetree binding documentation for the max6650 fan controller. Signed-off-by: Mike Looijmans --- Associated code changes sent as a separate patch as requested. .../devicetree/bindings/hwmon/max6650.txt | 23 ++ 1 file changed, 23 insertions(+) creat

Re: [PATCH] block: Fix secure erase

2016-08-16 Thread Adrian Hunter
On 15/08/16 21:14, Christoph Hellwig wrote: > On Mon, Aug 15, 2016 at 11:43:12AM -0500, Shaun Tancheff wrote: >> Hmm ... Since REQ_SECURE implied REQ_DISCARD doesn't this >> mean that we should include REQ_OP_SECURE_ERASE checking >> wherever REQ_OP_DISCARD is being checked now in drivers/scsi/sd.c

Re: [PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-16 Thread zijun_hu
On 08/16/2016 02:50 PM, Stephen Rothwell wrote: > Hi, > > On Tue, 16 Aug 2016 14:27:04 +0800 zijun_hu wrote: >> >> From: zijun_hu >> >> move out get_count_order[_long]() definitions from scope limited >> by macro __KERNEL__ > > Why do you need to do this? You say why in the commit message. >

Re: [PATCH v2 5/6] mm/page_ext: support extra space allocation by page_ext user

2016-08-16 Thread Vlastimil Babka
On 08/16/2016 04:51 AM, js1...@gmail.com wrote: From: Joonsoo Kim Until now, if some page_ext users want to use it's own field on page_ext, it should be defined in struct page_ext by hard-coding. It has a problem that wastes memory in following situation. struct page_ext { #ifdef CONFIG_A

[PATCH 1/2] clk: qcom: gdsc: Add the missing BIMC gdsc for msm8996

2016-08-16 Thread Rajendra Nayak
Add BIMC gdsc data found in MMCC part of msm8996 family of devices. Signed-off-by: Rajendra Nayak --- drivers/clk/qcom/mmcc-msm8996.c | 9 + include/dt-bindings/clock/qcom,mmcc-msm8996.h | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/clk/qcom/mmcc-msm8996.c

[PATCH 2/2] clk: qcom: gdsc: Add support for gdscs with RETENTION power state

2016-08-16 Thread Rajendra Nayak
Some gdscs can support an intermediate RETENTION state apart from the ON and OFF states. The RETENTION state can further be configured to either retain all memory, or just some part of it (periperal or core). This patch adds support so gdscs can support the additional RET state which the client dri

Re: [PATCH 1/3] befs: fix typos in datastream.c

2016-08-16 Thread Salah Triki
On Sat, Aug 13, 2016 at 06:11:19PM +0100, Luis de Bethencourt wrote: > Signed-off-by: Luis de Bethencourt > --- > > Hi, > > This is a series of patches fixing small issues in datastream.c. > > On the process of doing the same for the rest of files. To finish cleanup > and start adding documenta

[PATCH] clk: gcc-ipq4019: Delete unnecessary assignment for the field "owner"

2016-08-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 Aug 2016 08:53:10 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/clk/qcom/gcc-ipq4019.c | 1 - 1 file changed, 1 de

Re: [PATCH] usb: remove redundant dependency on USB_SUPPORT

2016-08-16 Thread Felipe Balbi
Hi, Masahiro Yamada writes: > The whole Kconfig entries of the USB subsystem are surrounded with > "if USB_SUPPORT" ... "endif", so CONFIG_USB_SUPPORT=y is surely met > when these two Kconfig options are visible. > > Signed-off-by: Masahiro Yamada > --- > > drivers/usb/core/Kconfig | 1 - > dr

[PATCH v10 2/9] clk: mediatek: Refine the makefile to support multiple clock drivers

2016-08-16 Thread Erin Lo
From: James Liao Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin Reviewed-by: Matthias Brugger --- drivers/cl

[PATCH v10 4/9] clk: mediatek: Add dt-bindings for MT2701 clocks

2016-08-16 Thread Erin Lo
From: Shunli Wang Add MT2701 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin Reviewed-by: Matthias Brugger --- include/dt-bindings/clock/mt2701-clk.h

[PATCH v10 0/9] Add clock support for Mediatek MT2701

2016-08-16 Thread Erin Lo
This series is based on v4.8-rc1, add clock and reset controller support for Mediatek MT2701. This series also refined makefile and Kconfig to support configurable multiple SoC clock support. changes since v9: - Rebase to v4.8-rc1. - Drop a fix patch of parent clock initial state. It will be repl

[PATCH v10 1/9] clk: mediatek: remove __init from clk registration functions

2016-08-16 Thread Erin Lo
From: James Liao Remove __init from functions that will be used by init functions that support probe deferral. Signed-off-by: James Liao Signed-off-by: Erin Lo --- drivers/clk/mediatek/clk-gate.c | 2 +- drivers/clk/mediatek/clk-mtk.c | 12 ++-- drivers/clk/mediatek/clk-pll.c | 2

[PATCH v10 3/9] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-08-16 Thread Erin Lo
From: James Liao This patch adds the binding documentation for apmixedsys, bdpsys, ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and vdecsys for Mediatek MT2701. Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin Acked-by: Rob Herring --- .../bindings/arm/

Re: [RFC PATCH] Introduce a 'recovery' command line option

2016-08-16 Thread Janne Karhunen
On Tue, Aug 16, 2016 at 10:04 AM, Richard Weinberger wrote: > Why are you moving this feature into the kernel? > To support such advanced features we have the initramfs. > > dracut has already rootfallback=. For saving some precious boot-up time (my systems run without initrd) and to unify the s

Re: [PATCH] UBIFS: fix assertion in layout_in_gaps()

2016-08-16 Thread Vincent Stehlé
On Sun, Aug 14, 2016 at 11:00:33AM +0200, Richard Weinberger wrote: .. > Good catch! Did you hit this assertion or was it found by review? > I bet the latter since it is here since ever and given the wrongness > it is unlikely to trigger. Dear Richard, It was found with a static checker and later

[PATCH v10 8/9] arm: dts: mt2701: Add clock controller device nodes

2016-08-16 Thread Erin Lo
From: James Liao Add clock controller nodes for MT2701, include topckgen, infracfg, pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. This patch also add two oscillators that provide clocks for MT2701. Signed-off-by: James Liao Signed-off-by: Erin Lo --- arch/arm/boot/dt

Re: [PATCH 2/3] befs: improve documentation in datastream.c

2016-08-16 Thread Salah Triki
On Sat, Aug 13, 2016 at 06:11:20PM +0100, Luis de Bethencourt wrote: > Convert function descriptions to kernel-doc style. > > Signed-off-by: Luis de Bethencourt > --- > fs/befs/datastream.c | 193 > ++- > 1 file changed, 98 insertions(+), 95 delet

[PATCH v10 9/9] arm: dts: mt2701: Use real clock for UARTs

2016-08-16 Thread Erin Lo
We used to use a fixed rate clock for the UARTs. Now that we have clock support we can associate the correct clocks to the UARTs and drop the 26MHz fixed rate UART clock. Change-Id: Icd44282b859a344b86eccdf4840e9ffb7cee7ec5 Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 18 --

[PATCH v10 5/9] clk: mediatek: Add MT2701 clock support

2016-08-16 Thread Erin Lo
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin --- drivers/clk/mediatek/Kconfig | 50 ++ drivers/clk/mediatek/Ma

[PATCH v10 7/9] reset: mediatek: Add MT2701 reset driver

2016-08-16 Thread Erin Lo
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Te

[PATCH v10 6/9] reset: mediatek: Add MT2701 reset controller dt-binding file

2016-08-16 Thread Erin Lo
From: Shunli Wang Dt-binding file about reset controller is used to provide kinds of definition, which is referenced by dts file and IC-specified reset controller driver code. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin Acked-by: Philip

RE: [PATCH 3.16 197/305] memory: omap-gpmc: Fix omap gpmc EXTRADELAY timing

2016-08-16 Thread SebastienOcquidant
Ok No problem. Sebastien - Eaton Industries (France) S.A.S ~ Siège social: 110 Rue Blaise Pascal, Immeuble Le Viséo - Bâtiment A Innovallée, 38330, Montbonnot-St.-Martin, France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Numéro d'enregistrement:

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Krzysztof Kozlowski
On 08/02/2016 12:16 PM, Seung-Woo Kim wrote: >>From pwm_samsung_calc_tin(), there is routine to find the lowest > divider possible to generate lower frequency than requested one. > But it is always possible to generate requested frequency with > large enough modulation bits, so this patch fixes to

Re: [PATCH v2 3/3] befs: fix style issues in datastream.c

2016-08-16 Thread Salah Triki
On Sun, Aug 14, 2016 at 06:48:36PM +0100, Luis de Bethencourt wrote: > Fixing the following checkpatch.pl errors: > > ERROR: "foo * bar" should be "foo *bar" > +befs_blocknr_t blockno, befs_block_run * run); > > WARNING: Missing a blank line after declarations > +

Re: [PATCHv4 0/2] USB Type-C Connector class

2016-08-16 Thread Heikki Krogerus
Hi guys, Sorry for the long silence. I just returned from paternal leave. On Wed, Aug 10, 2016 at 10:19:25AM +0200, Oliver Neukum wrote: > On Tue, 2016-08-09 at 09:23 -0700, Guenter Roeck wrote: > > > I'm not going to take this series until everyone agrees on it, > > sorry. > > > I'll wait for yo

Re: [PATCH 3/3] befs: befs: fix style issues in datastream.c

2016-08-16 Thread Salah Triki
On Sat, Aug 13, 2016 at 06:11:21PM +0100, Luis de Bethencourt wrote: > Fixing the following checkpatch.pl errors: > > ERROR: "foo * bar" should be "foo *bar" > +befs_blocknr_t blockno, befs_block_run * run); > > WARNING: Missing a blank line after declarations > +

Re: [PATCH 2/7] Documentation: bindings: Add Exynos5433 PMU compatible

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 08:27 AM, Chanwoo Choi wrote: > This patch adds the exynos5433 PMU compatible to support the access > of PMU (Power Management Unit) block. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: Rob Herring > Cc: Mark Rutland > Signed-off-by: Chanwoo Choi > --- > Documentation/devi

[RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-16 Thread zijun_hu
From: zijun_hu move out get_count_order[_long]() definitions from scope limited by macro __KERNEL__ it not only make both functions available in wider region regardless of whether __KERNEL__ is defined but also keep original region for get_count_order() before the recent commit c513b4cd2fe9 ("mm

Re: [PATCH 3/7] cpufreq: dt: Add exynos5433 compatible to use generic cpufreq driver

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 08:27 AM, Chanwoo Choi wrote: > This patch adds the exynos5433 compatible string for supporting > the generic cpufreq driver on Exynos5433. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux...@vger.kernel.org > Signed-off-by: Chanwoo Choi > --- > drivers/cpufreq/cpufreq-

Re: [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup

2016-08-16 Thread Greg KH
On Tue, Aug 16, 2016 at 08:27:53AM +0200, Valentin Rothberg wrote: > Commit 7ef9153d9af5 ("misc: delete bh1780 driver") has removed the > Kconfig option SENSORS_BH1780. Remove the last reference on this > option. > > Signed-off-by: Valentin Rothberg > --- > I found the issue using scripts/checkk

Re: [PATCH v12 3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-08-16 Thread Loic Poulain
Hi Amit, On 09/08/2016 18:32, Amitkumar Karwar wrote: From: Ganapathi Bhat This patch implement firmware download feature for Marvell Bluetooth devices. If firmware is already downloaded, it will skip downloading. Signed-off-by: Ganapathi Bhat Signed-off-by: Amitkumar Karwar Tested-by: Jeff

Re: [RFC 4/7] Bluetooth: hci_uart: Add support for word alignment

2016-08-16 Thread Sebastian Reichel
Hi Marcel, On Tue, Aug 16, 2016 at 09:05:19AM +0200, Marcel Holtmann wrote: > Hi Sebatian, > > > This will be used by Nokia's H4+ protocol, which > > adds padding to packets to reach word alignment. > > --- > > drivers/bluetooth/hci_h4.c | 10 ++ > > drivers/bluetooth/hci_uart.h | 1 + >

Re: [PATCH] drivers/iio/light/Kconfig: SENSORS_BH1780 cleanup

2016-08-16 Thread Linus Walleij
On Tue, Aug 16, 2016 at 8:27 AM, Valentin Rothberg wrote: > Commit 7ef9153d9af5 ("misc: delete bh1780 driver") has removed the > Kconfig option SENSORS_BH1780. Remove the last reference on this > option. > > Signed-off-by: Valentin Rothberg > --- > I found the issue using scripts/checkkconfigsy

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-16 Thread Pali Rohár
On Tuesday 16 August 2016 09:02:14 Marcel Holtmann wrote: > > +static int nokia_setup_fw(struct hci_uart *hu) > > +{ > > + struct nokia_bt_dev *btdev = hu->priv; > > + const struct firmware *fw; > > + const u8 *fw_ptr; > > + size_t fw_size; > > + int err; > > + > > + BT_DBG("hu %p", hu)

[PATCH] hwmon: (max6650) Allow fan shutdown and a more intuitive mode interface

2016-08-16 Thread Mike Looijmans
The fan can be stopped by writing "0" to fan1_target in sysfs. Writing non-zero values to fan1_target or pwm1 in sysfs automatically selects the corresponding control mode (closed or open loop). This allows userspace applications to control the fan speed without the need to know specific details

Re: [PATCH] befs: return BEFS_ERR if validation of ag_shift fails

2016-08-16 Thread Salah Triki
On Fri, Aug 12, 2016 at 12:00:34PM +0100, Luis de Bethencourt wrote: > On 12/08/16 11:12, Salah Triki wrote: > > ag_shift is used by blockno2iaddr() to get allocation group number > > from block. If ag_shift is inconsistent with block_per_ag, an out of > > bounds allocation group may occur [1]. So

Re: [bisected] "sched: Allow per-cpu kernel threads to run on online && !active" causes warning

2016-08-16 Thread Heiko Carstens
Hi Tejun, > On Mon, Aug 15, 2016 at 01:19:08PM +0200, Heiko Carstens wrote: > > I can imagine several ways to fix this for s390, but before doing that I'm > > wondering if the workqueue code is correct with > > > > a) assuming that the cpu_to_node() mapping is valid for all _possible_ cpus > >

Re: [patch 4 14/22] timer: Switch to a non cascading wheel

2016-08-16 Thread Richard Cochran
On Fri, Aug 12, 2016 at 01:50:16PM -0400, Rik van Riel wrote: > Could that cause the new timer wheel code to skip over > timer buckets occasionally, or is this hypothesis bunk? The new wheel is not different from the old one in this respect. Each base keeps its own jiffies counter. When returnin

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Xin Long
> > I'm testing on Linus' master, can we all use that please? > [git] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [mechine] Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz mem 62G (66000220K) [system] # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 Beta (Maip

Re: [PATCH v7 4/4] nmi_backtrace: generate one-line reports for idle cpus

2016-08-16 Thread Petr Mladek
On Mon 2016-08-15 12:41:54, Chris Metcalf wrote: > On 8/11/2016 11:25 AM, Petr Mladek wrote: > >On Mon 2016-08-08 12:03:38, Chris Metcalf wrote: > When doing an nmi backtrace of many cores, most of which are idle, > the output is a little overwhelming and very uninformative. Suppress > >>>

Re: [PATCH v6 1/3] PCI: Add Precision Time Measurement (PTM) support

2016-08-16 Thread Yong, Jonathan
On 08/16/2016 02:59, Bjorn Helgaas wrote: > > I guess I was hoping you could test these patches. Do you have any > way to do that? > No real hardware with this feature yet, so testing is entirely on software. > I rebased them and pushed them to pci/ptm. If everything looks good, > I'll merge

[PATCH V2] block: Fix secure erase

2016-08-16 Thread Adrian Hunter
Commit 288dab8a35a0 ("block: add a separate operation type for secure erase") split REQ_OP_SECURE_ERASE from REQ_OP_DISCARD without considering all the places REQ_OP_DISCARD was being used to mean either. Fix those. Signed-off-by: Adrian Hunter Fixes: 288dab8a35a0 ("block: add a separate operatio

Re: [PATCH 2/7] Documentation: bindings: Add Exynos5433 PMU compatible

2016-08-16 Thread Chanwoo Choi
Hi Krzysztof, On 2016년 08월 16일 16:40, Krzysztof Kozlowski wrote: > On 08/16/2016 08:27 AM, Chanwoo Choi wrote: >> This patch adds the exynos5433 PMU compatible to support the access >> of PMU (Power Management Unit) block. >> >> Cc: Kukjin Kim >> Cc: Krzysztof Kozlowski >> Cc: Rob Herring >> Cc

Re: [RFC 5/7] Bluetooth: hci_nokia: Introduce new driver

2016-08-16 Thread Marcel Holtmann
Hi Sebastien, > diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h > index a7d67aec3632..314b243df996 100644 > --- a/drivers/bluetooth/hci_uart.h > +++ b/drivers/bluetooth/hci_uart.h > @@ -35,7 +35,7 @@ > #define HCIUARTGETFLAGS _IOR('U', 204, int) > > /* UART

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-16 Thread Ayaka
從我的 iPad 傳送 > Felipe Balbi 於 2016年8月16日 下午3:10 寫道: > > > Hi, > > ayaka writes: >>> On 08/13/2016 01:44 AM, Greg KH wrote: On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: > On 08/12/2016 03:40 PM, Greg KH wrote: >> On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wro

[GIT PULL] pin control fixes for the v4.8 series

2016-08-16 Thread Linus Walleij
Hi Linus, here are a few pin control fixes for the v4.8 series, nothing special about them. Please pull them in! Yours, Linus Walleij The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at

Re: include/linux/io-mapping.h:130:39: error: implicit declaration of function 'ioremap_wc'

2016-08-16 Thread Linus Walleij
On Mon, Aug 15, 2016 at 5:08 PM, kbuild test robot wrote: > FYI, the error/warning still remains. > commit: 7d4defe21c682c934a19fce1ba8b54b7bde61b08 gpio: include > in gpiolib-of > config: um-allmodconfig (attached as .config) I think I've finally fixed this now by making OF_GPIO depend on !N

Re: [RFC 1/7] tty: serial: omap: add UPF_BOOT_AUTOCONF flag for DT init

2016-08-16 Thread Sebastian Reichel
Hi, On Sun, Aug 14, 2016 at 10:49:56AM +0200, Pavel Machek wrote: > It would be nice to have a line about why it is needed, > unfortunately include/linux/serial_core.h is not exactly helpful. > > Plus you'll need to sign off the patch. I should have had another look at the long patch descriptions

[PATCH 1/2] mfd: mc13xxx: constify mc13xxx_variant

2016-08-16 Thread LABBE Corentin
The mc13xxx_variant structure is never modified, this patch set it as const. Signed-off-by: LABBE Corentin --- drivers/mfd/mc13xxx-core.c | 6 +++--- drivers/mfd/mc13xxx-i2c.c | 2 +- drivers/mfd/mc13xxx-spi.c | 2 +- drivers/mfd/mc13xxx.h | 2 +- 4 files changed, 6 insertions(+), 6 delet

[PATCH 2/2] mfd: mc13xxx: fix a possible NULL dereference

2016-08-16 Thread LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer dereference later. For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Reported-by: coverity (CID 986513) Reported-by: coverity (CID

Re: [PATCH 2/7] Documentation: bindings: Add Exynos5433 PMU compatible

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 10:08 AM, Chanwoo Choi wrote: > Hi Krzysztof, > > On 2016년 08월 16일 16:40, Krzysztof Kozlowski wrote: >> On 08/16/2016 08:27 AM, Chanwoo Choi wrote: >>> This patch adds the exynos5433 PMU compatible to support the access >>> of PMU (Power Management Unit) block. >>> >>> Cc: Kukjin Kim

Re: drivers/pinctrl/intel/pinctrl-merrifield.c:518: error: implicit declaration of function 'readl'

2016-08-16 Thread Linus Walleij
On Mon, Aug 15, 2016 at 11:10 AM, Andy Shevchenko wrote: > On Sun, 2016-08-14 at 08:05 +0800, kbuild test robot wrote: >> Hi Andy, >> >> FYI, the error/warning still remains. > > Linus, can you apply the fix for next v4.8-rcX? It's been applied for some time. Sent a pull request to Torvalds now,

Re: [PATCH v12 2/4] CMDQ: Mediatek CMDQ driver

2016-08-16 Thread Horng-Shyang Liao
Hi Matthias, Sorry to disturb you. Do you have any further comment on CMDQ v12? Thanks. HS On Mon, 2016-08-08 at 16:31 +0800, HS Liao wrote: > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > CMDQ is used to help write registers with critical time limitation, > such as u

Re: [PATCH v6 2/8] arm: parse cpu capacity-dmips-mhz from DT

2016-08-16 Thread Vincent Guittot
Hi Juri, On 19 July 2016 at 14:40, Juri Lelli wrote: > With the introduction of cpu capacity-dmips-mhz bindings, CPU capacities > can now be calculated from values extracted from DT and information > coming from cpufreq. Add parsing of DT information at boot time, and > complement it with cpufre

Re: [PATCH v2 1/2] ACPI/tables: Correct the wrong count increasing

2016-08-16 Thread Baoquan He
On 08/16/16 at 02:26am, Zheng, Lv wrote: > Hi, > > > From: linux-acpi-ow...@vger.kernel.org > > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Baoquan > > diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c > > index 9f0ad6e..34d45bb 100644 > > --- a/drivers/acpi/tables.c > > +++ b

Re: [PATCH 3.14 42/79] drm/qxl: only report first monitor as connected if we have no state

2016-08-16 Thread Jiri Slaby
On 08/14/2016, 04:51 PM, Greg Kroah-Hartman wrote: > On Fri, May 27, 2016 at 01:06:24PM +0200, Jiri Slaby wrote: >> On 10/18/2015, 04:05 AM, Greg Kroah-Hartman wrote: >>> 3.14-stable review patch. If anyone has any objections, please let me know. >>> >>> -- >>> >>> From: Dave Airli

Re: [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"

2016-08-16 Thread Charles Keepax
On Mon, Aug 15, 2016 at 06:20:18PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 15 Aug 2016 18:06:46 +0200 > > The field "owner" is set by the core. > Thus delete an unneeded initialisation. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > Signed-off-

[PATCH] nvme-rdma: initialize ret to zero to avoid returning garbage

2016-08-16 Thread Colin King
From: Colin Ian King ret is not initialized so it contains garbage. Ensure garbage is not returned by initializing rc to 0. Signed-off-by: Colin Ian King --- drivers/nvme/host/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/ho

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
Hi Krzysztof, On 2016년 08월 16일 16:37, Krzysztof Kozlowski wrote: > On 08/02/2016 12:16 PM, Seung-Woo Kim wrote: >> >From pwm_samsung_calc_tin(), there is routine to find the lowest >> divider possible to generate lower frequency than requested one. >> But it is always possible to generate requeste

Re: [PATCH v2] checkkconfigsymbols.py: add --no-color option, don't print color to non-TTY

2016-08-16 Thread Valentin Rothberg
Hi Greg, could you pick up this patch? On Tue, Jul 5, 2016 at 9:47 AM, Andrew Donnellan wrote: > Only print the ANSI colour escape codes if stdout is a TTY. Useful if > redirecting output to a file or piping to another script. > > Also add a new option, --no-color, if the user wants to disable c

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On 08/16/2016 04:02 PM, Xin Long wrote: >> >> I'm testing on Linus' master, can we all use that please? >> > > [git] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > [mechine] > Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz > mem 62G (66000220K) > > [system] > # cat /etc/redhat-r

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-16 Thread Felipe Balbi
Hi, Ayaka writes: >> ayaka writes: On 08/13/2016 01:44 AM, Greg KH wrote: > On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: > >> On 08/12/2016 03:40 PM, Greg KH wrote: >>> On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: >>> Hello all: >>>I recentl

Re: [PATCH] builddeb: Skip gcc-plugins when not configured

2016-08-16 Thread Michal Marek
Dne 15.8.2016 v 19:36 Kees Cook napsal(a): > When attempting to build a Debian kernel package, the "scripts/gcc-plugins" > directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y. > To avoid errors when not defined, this wraps the failing "find" in a config > test. > > Reported-by:

Re: change in xhci result in soft lockup

2016-08-16 Thread Kui Zhang
Thanks. This patch fixed my issue. Kui.Z On Mon, Aug 15, 2016 at 3:52 AM, Mathias Nyman wrote: > On 14.08.2016 01:13, Kui Zhang wrote: >> >> Hello, >> >> System still hangs with 4.8.0-rc1+. There are new info in the logs. >> > > Does Alban Browaeys Patch xhci: really enqueue zero length TRBs h

[PATCH] pinctrl: palmas: fix a possible NULL dereference

2016-08-16 Thread LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer dereference later at line 1009: pinctrl_data = match->data; For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Reported-by: coverit

Re: [PATCH] extcon: Use the extcon_set_state_sync() instead of deprecated functions

2016-08-16 Thread Charles Keepax
On Tue, Aug 16, 2016 at 04:08:06PM +0900, Chanwoo Choi wrote: > This patch alters the renamed extcon API to set the state of the external > connectors instead of deprecated extcon_set_cable_state_(). > > Because the patch[1] modifies the function name to maintain the function > naming pattern. > -

Re: [PATCH v2 RESEND 2/4] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-16 Thread Vitaly Kuznetsov
"Alex Ng (LIS)" writes: >> @@ -676,35 +686,63 @@ static void hv_mem_hot_add(unsigned long start, >> unsigned long size, >> >> static void hv_online_page(struct page *pg) { >> -struct list_head *cur; >> struct hv_hotadd_state *has; >> +struct hv_hotadd_gap *gap; >> unsigned lo

Re: [PATCH 1/3] mm: fix set pageblock migratetype in deferred struct page init

2016-08-16 Thread Michal Hocko
On Thu 04-08-16 19:25:03, Xishi Qiu wrote: > MAX_ORDER_NR_PAGES is usually 4M, and a pageblock is usually 2M, so we only > set one pageblock's migratetype in deferred_free_range() if pfn is aligned > to MAX_ORDER_NR_PAGES. Do I read the changelog correctly and the bug causes leaking unmovable allo

[PATCH] dmaengine: img-mdc: fix a possible NULL dereference

2016-08-16 Thread LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer dereference later at line 850: mdma->soc = match->data; For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Reported-by: coverity (C

Re: [PATCH 4/7] pinctrl: samsung: Add GPFx support of Exynos5433

2016-08-16 Thread Krzysztof Kozlowski
On 08/16/2016 08:27 AM, Chanwoo Choi wrote: > From: Joonyoung Shim > > This patch add the support of GPFx pin of Exynos5433 SoC. Exynos5433 has > different memory map of GPFx from previous Exynos SoC. Exynos GPIO has > following register to control gpio funciton. Usually, all registers of GPIO >

Crypto Fixes for 4.8

2016-08-16 Thread Herbert Xu
Hi Linus: This push fixes the following issue: - Missing ULL suffixes for 64-bit constants in sha3. - Two caam AEAD regressions. - Bogus setkey hooks in non-hmac caam hashes. - Missing kbuild dependency for powerpc crc32c. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/

Re: [PATCH 3/7] cpufreq: dt: Add exynos5433 compatible to use generic cpufreq driver

2016-08-16 Thread Viresh Kumar
On 16-08-16, 09:47, Krzysztof Kozlowski wrote: > On 08/16/2016 08:27 AM, Chanwoo Choi wrote: > > This patch adds the exynos5433 compatible string for supporting > > the generic cpufreq driver on Exynos5433. > > > > Cc: "Rafael J. Wysocki" > > Cc: Viresh Kumar > > Cc: linux...@vger.kernel.org > >

[PATCH] thermal: imx: fix a possible NULL dereference

2016-08-16 Thread LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer dereference later at line 472: data->socdata = of_id->data; For fixing this problem, we use of_device_get_match_data(), this will simplify the code a little by using a standard function for getting the match data. Reported-by: coverit

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-16 Thread Aaron Lu
On 08/16/2016 04:02 PM, Xin Long wrote: >> >> I'm testing on Linus' master, can we all use that please? >> > > [git] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > [mechine] > Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz > mem 62G (66000220K) > > [system] > # cat /etc/redhat-r

[PATCH 0/5] ACPI / sysfs: Cleanup sysfs table handling code

2016-08-16 Thread Lv Zheng
There are issues in sysfs table handling code: 1. It cannot handle table loaded by LoadTable opcode executed after acpi_sysfs_init(); 2. It's signature handling code is not correct. This patchset fixes these issues. Lv Zheng (5): ACPICA: Tables: Remove acpi_tb_install_fixed_table() ACPICA:

[PATCH 1/5] ACPICA: Tables: Remove acpi_tb_install_fixed_table()

2016-08-16 Thread Lv Zheng
acpi_tb_install_fixed_table() is now redundant as we've removed the fixed table indexing mechanism. This patch cleans up the code accordingly. No functional change. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/actables.h |7 + drivers/acpi/acpica/tbfadt.c | 24 --

[PATCH 2/5] ACPICA: Tables: Remove wrong table event macros

2016-08-16 Thread Lv Zheng
There are wrong table event macros, this patch cleans them up. Signed-off-by: Lv Zheng --- include/acpi/actypes.h | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index e96907b..892595f 100644 --- a/include/acpi/

[PATCH 3/5] ACPICA: Tables: Add new table events indicating table installation/uninstallation

2016-08-16 Thread Lv Zheng
This patch adds 2 new table events to indicate table installation/uninstallation. Currently, as ACPICA never uninstalls tables, this patch thus only add table handler invocation for the table installation event. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/tbinstal.c |8 +++

[PATCH 4/5] ACPI / sysfs: Fix an issue for LoadTable opcode

2016-08-16 Thread Lv Zheng
OEM tables can be installed via RSDT/XSDT, in this case, they have already been created under /sys/firmware/acpi/tables. For this kind of tables, normally LoadTable opcode will be executed to load them. If LoadTable opcode is executed after acpi_sysfs_init(), acpi_sysfs_table_handler() will be inv

[PATCH 5/5] ACPI / sysfs: Update sysfs signature handling code

2016-08-16 Thread Lv Zheng
This is a cleanup to covert sysfs signature handling code using ACPICA APIs, so that sysfs code can automatically be benefit from any future implementation in the name tag handling macros. Additional filename attribute is added in order to handle both BE/LE name tag cases. Signed-off-by: Lv Zheng

Re: [patch 4 14/22] timer: Switch to a non cascading wheel

2016-08-16 Thread Richard Cochran
On Fri, Aug 12, 2016 at 12:14:11PM -0700, Paul E. McKenney wrote: > FWIW, I do appear to be seeing more lost wakeups on current mainline > than on v4.7, but not enough of a difference to get a reliable bisction > in reasonable time. We are seeing reproducible hangs* when running Steven's stress-cp

Re: [PATCH 1/3] mm: fix set pageblock migratetype in deferred struct page init

2016-08-16 Thread Xishi Qiu
On 2016/8/16 16:41, Michal Hocko wrote: > On Thu 04-08-16 19:25:03, Xishi Qiu wrote: >> MAX_ORDER_NR_PAGES is usually 4M, and a pageblock is usually 2M, so we only >> set one pageblock's migratetype in deferred_free_range() if pfn is aligned >> to MAX_ORDER_NR_PAGES. > > Do I read the changelog c

Re: [RFC PATCH] Introduce a 'recovery' command line option

2016-08-16 Thread Richard Weinberger
On 16.08.2016 09:15, Janne Karhunen wrote: > On Tue, Aug 16, 2016 at 10:04 AM, Richard Weinberger > wrote: > >> Why are you moving this feature into the kernel? >> To support such advanced features we have the initramfs. >> >> dracut has already rootfallback=. > > For saving some precious boot-u

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Tomasz Figa
2016-08-16 17:25 GMT+09:00 Seung-Woo Kim : > Hi Krzysztof, > > On 2016년 08월 16일 16:37, Krzysztof Kozlowski wrote: >> On 08/02/2016 12:16 PM, Seung-Woo Kim wrote: >>> >From pwm_samsung_calc_tin(), there is routine to find the lowest >>> divider possible to generate lower frequency than requested one

  1   2   3   4   5   6   7   8   9   10   >