RE: [lkp-robot] e5a305ac4a: WARNING:at_lib/list_debug.c:#__list_del_entry_valid

2017-01-17 Thread Matthew Wilcox
From: lkp-robot-requ...@eclists.intel.com [mailto:lkp-robot-requ...@eclists.intel.com] On Behalf Of kernel test robot > FYI, we noticed the following commit: > > commit: e5a305ac4a5233e039586c97f4ea643a4c7dc484 ("Reimplement IDR > and IDA using the radix tree") >

[RESEND PATCH v5 2/3] perf tool: add PERF_RECORD_NAMESPACES to include namespaces related info

2017-01-17 Thread Hari Bathini
This patch updates perf tool to examine PERF_RECORD_NAMESPACES events emitted by the kernel when fork, clone, setns or unshare are invoked. Also, it synthesizes PERF_RECORD_NAMESPACES events for processes that were running prior to invocation of perf record, the data for which is taken from

[RESEND PATCH v5 0/3] perf: add support for analyzing events for containers

2017-01-17 Thread Hari Bathini
Please ignore the previously sent v5 of this patchset. Currently, there is no trivial mechanism to analyze events based on containers. perf -G can be used, but it will not filter events for the containers created after perf is invoked, making it difficult to assess/ analyze performance issues of

[RESEND PATCH v5 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2017-01-17 Thread Hari Bathini
With the advert of container technologies like docker, that depend on namespaces for isolation, there is a need for tracing support for namespaces. This patch introduces new PERF_RECORD_NAMESPACES event for tracing based on namespaces related info. Signed-off-by: Hari Bathini

Re: [PATCH v11 08/12] drm/mediatek: add dsi interrupt control

2017-01-17 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > From: shaoming chen > > add dsi interrupt control > > Signed-off-by: shaoming chen Acked-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_dsi.c | 92 >

Re: [RFC 4/4] mm, page_alloc: fix premature OOM when racing with cpuset mems update

2017-01-17 Thread Hillf Danton
On Wednesday, January 18, 2017 6:16 AM Vlastimil Babka wrote: > > @@ -3802,13 +3811,8 @@ __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int > order, >* Also recalculate the starting point for the zonelist iterator or >* we could end up iterating over non-eligible zones

Re: [PATCH v6 23/25] usb: chipidea: Pullup D+ in device mode via phy APIs

2017-01-17 Thread Peter Chen
On Tue, Jan 17, 2017 at 09:58:33AM -0800, Stephen Boyd wrote: > Quoting Peter Chen (2017-01-15 19:45:51) > > > > So, you need to call phy_set_mode when switching between host and device. > > Besides, you also need to toggle VBUSVLDEXT when the external vbus > > is on or off at device mode

Re: [PATCH v11 09/12] drm/mediatek: add dsi transfer function

2017-01-17 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > From: shaoming chen > > add dsi read/write commands for transfer function > > Signed-off-by: shaoming chen Acked-by: CK Hu > --- >

[PATCH 2/6] phy: phy-mt65xx-usb3: split SuperSpeed port into two ones

2017-01-17 Thread Chunfeng Yun
Currently usb3 port in fact includes two sub-ports, but it is not flexible for some cases, such as following one: usb3 port0 includes u2port0 and u3port0; usb2 port0 includes u2port1; If wants to support only HS, we can use u2port0 or u2port1, when select u2port0, u3port0 is not needed; If

[PATCH 4/6] arm64: dts: mt8173: add a new reference clock for usb3 analog phy

2017-01-17 Thread Chunfeng Yun
add a new reference clock which comes from 26M oscillator directly for SuperSpeed analog phy. and the old one which comes for PLL is 48M for HighSpeed analog phy. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4 ++-- 1 file changed, 2

[PATCH 3/6] phy: phy-mt65xx-usb3: add support for mt2712 platform

2017-01-17 Thread Chunfeng Yun
There are some variations from mt2701 to mt2712: 1. banks shared by multiple ports are put back into each port, such as SPLLC and U2FREQ; 2. add a new bank MISC for u2port, and CHIP for u3port; 3. bank's offset in each port are also rearranged; Signed-off-by: Chunfeng Yun

[RESEND PATCH v5 3/3] perf tool: add cgroup identifier entry in perf report

2017-01-17 Thread Hari Bathini
This patch introduces a cgroup identifier entry field in perf report to identify or distinguish data of different cgroups. It uses the device number and inode number of cgroup namespace, included in perf data with the new PERF_RECORD_NAMESPACES event, as cgroup identifier. With the assumption that

Re: [RESEND PATCHv1 0/8] mmc: sdhci-msm: Provide support for enhanced strobe

2017-01-17 Thread Ritesh Harjani
On 1/17/2017 6:37 AM, Jeremy McNicoll wrote: On Tue, Jan 10, 2017 at 12:30:44PM +0530, Ritesh Harjani wrote: Hi, Resending this patch series, as no one could review it -possibly due to holidays during that time. This patch series mainly provides enhanced strobe support to sdhci-msm driver

[PATCH] mm/memblock.c: remove unnecessary log and clean up

2017-01-17 Thread Miles Chen
There is no variable named flags in memblock_add() and memblock_reserve() so remove it from the log messages. This patch also cleans up the type casting for phys_addr_t by using %pa to print them. Signed-off-by: Miles Chen --- mm/memblock.c | 54

Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.

2017-01-17 Thread Ritesh Harjani
Hi Shawn, On 1/10/2017 2:45 PM, Shawn Lin wrote: On 2017/1/10 14:41, Ritesh Harjani wrote: From: Sahitya Tummala Add new host operation ->platform_dumpregs to provide a mechanism through which host drivers can dump platform specific registers in addition to SDHC

Re: [PATCH v2 02/10] clk: ccu-sun8i-a33: Add CLK_SET_RATE_PARENT to ac-dig

2017-01-17 Thread Mylene Josserand
Hi, On 17/01/2017 17:44, Maxime Ripard wrote: Hi, On Tue, Jan 17, 2017 at 03:02:22PM +0100, Mylène Josserand wrote: The audio DAI needs to set the clock rates of the ac-dig clock. To make it possible, the parent PLL audio clock rates should also be changed. This is possible via

RE: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout() return value

2017-01-17 Thread linux-kernel-dev
>From: Jakub Kicinski [mailto:jakub.kicin...@netronome.com] >Sent: Dienstag, 17. Januar 2017 22:18 > >On Tue, Jan 17, 2017 at 12:53 PM, Luis R. Rodriguez >wrote: >> On Tue, Jan 17, 2017 at 10:04:20AM -0800, Jakub Kicinski wrote: >>> On Tue, Jan 17, 2017 at 9:30 AM, Luis R.

Re: [PATCH] ARM: dts: sun6i: sina31s: Enable USB OTG controller in peripheral mode

2017-01-17 Thread Maxime Ripard
On Wed, Jan 18, 2017 at 09:01:05AM +0800, Chen-Yu Tsai wrote: > While the SinA31s does have a proper 5-pin mini USB OTG port, the ID > pin does not seem to work. The pin used in the schematics is always low, > regardless of the attached OTG cable or SoC internal pin bias settings. > > The v1.5

Re: [PATCH v5 0/4] usb: early: add support for early printk through USB3 debug port

2017-01-17 Thread Lu Baolu
Hi Greg, This patch series has been there for 2 months without further comments. Will you consider it for usb-next? Best regards, Lu Baolu On 11/15/2016 02:02 PM, Lu Baolu wrote: > xHCI debug capability (DbC) is an optional but standalone > functionality provided by an xHCI host controller.

Re: [PATCH v4 15/15] lockdep: Crossrelease feature documentation

2017-01-17 Thread Boqun Feng
On Fri, Dec 09, 2016 at 02:12:11PM +0900, Byungchul Park wrote: [...] > +Example 1: > + > + CONTEXT XCONTEXT Y > + -- > + mutext_lock A > +lock_page B > + lock_page B > +mutext_lock A /* DEADLOCK */

Re: [PATCH] printk: Correctly handle preemption in console_unlock()

2017-01-17 Thread Sergey Senozhatsky
On (01/16/17 12:00), Petr Mladek wrote: [..] > > Makes perfect sense to me. The only thing that worries me is that it > > does change the logic slightly, and I'm not sure if this will have any > > ramifications with it. That is, console_unlock() use to always leave > > with console_may_schedule

logical cpu number is discontinuity

2017-01-17 Thread Masayoshi Mizuma
Hi, On v4.9 and v4.10 kernel, when I booted my box which has two nodes and each nodes have 48 logical cpus (Hyper Threading is enabled), the logical cpu number is discontinuity as follows. node 0: 0-23, 256-279 node 1: 24-47, 280-303 So the following shell script fail to run. --- #!/bin/bash

[PATCH 2/6] usb: mtu3: add reference clock

2017-01-17 Thread Chunfeng Yun
usually, the reference clock comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3.h |1 + drivers/usb/mtu3/mtu3_plat.c | 21 +++-- 2 files changed, 20

[PATCH 4/6] arm64: dts: mt8173: add reference clock for usb

2017-01-17 Thread Chunfeng Yun
add 26M reference clock for ssusb and xhci nodes Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH 5/6] dt-bindings: mt8173-xhci: add reference clock

2017-01-17 Thread Chunfeng Yun
add a reference clock for compatibility Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/mt8173-xhci.txt

[PATCH 1/6] usb: mtu3: get resources that cause deferred probe earlier

2017-01-17 Thread Chunfeng Yun
Some resources such as regulator, clock usually cause deferred probe, get them earlier to avoid more ineffective processing. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_plat.c | 24 1 file changed, 12 insertions(+), 12 deletions(-)

[PATCH 6/6] dt-bindings: mt8173-mtu3: add reference clock

2017-01-17 Thread Chunfeng Yun
add a reference clock for compatibility Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-mtu3.txt| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/mt8173-mtu3.txt

[PATCH 3/6] usb: xhci-mtk: add reference clock

2017-01-17 Thread Chunfeng Yun
usually, the reference clock comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 15 +++ drivers/usb/host/xhci-mtk.h |1 + 2 files changed, 16

[PATCH] arm64: dts: exynos: Remove address node from usb parent node

2017-01-17 Thread Pankaj Dubey
Address node does not required to be put after parent't node, so remove address node from usb parent node. Signed-off-by: Pankaj Dubey --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 3/3] clk: rockchip: rk3288: make all niu clocks critical

2017-01-17 Thread Jacob Chen
NIU clocks are related to the interconnect and it's important to other blocks. Since we don't have a driver to handle it, we should always enable it to avoid casually close. Make all of them critical,so that we don't have to each clock on its own once things break. Signed-off-by: Jacob Chen

[PATCH v2 tip/core/rcu 07/18] rcu: Add long-term CPU kicking

2017-01-17 Thread Paul E. McKenney
Commit d2db185bfee8 ("rcu: Remove short-term CPU kicking") removed frequent calls to resched_cpu(), which means that the only time resched_cpu() is invoked is after an RCU CPU stall warning. Although this is good from an avoid-IPIs perspective, we should try to break things loose -before-

[PATCH v2 tip/core/rcu 05/18] rcu: Remove unneeded rcu_process_callbacks() declarations

2017-01-17 Thread Paul E. McKenney
The declarations of __rcu_process_callbacks() and rcu_process_callbacks() are not needed, as the definition of both of these functions appear before any uses. This commit therefore removes both declarations. Reported-by: "Ahmed, Iftekhar" Signed-off-by: Paul E. McKenney

Re: [PATCH tip/core/rcu 11/20] sched,rcu: Make cond_resched() provide RCU quiescent state

2017-01-17 Thread Paul E. McKenney
On Tue, Jan 17, 2017 at 01:11:46PM +0100, Michal Hocko wrote: > On Tue 17-01-17 04:05:13, Paul E. McKenney wrote: > > On Tue, Jan 17, 2017 at 11:51:41AM +0100, Michal Hocko wrote: > > > On Mon 16-01-17 16:54:03, Paul E. McKenney wrote: > > > > On Mon, Jan 16, 2017 at 06:11:30PM +0100, Peter

Re: [PATCHSET v2] slab: make memcg slab destruction scalable

2017-01-17 Thread Joonsoo Kim
On Tue, Jan 17, 2017 at 08:49:13AM -0800, Tejun Heo wrote: > Hello, > > On Tue, Jan 17, 2017 at 09:12:57AM +0900, Joonsoo Kim wrote: > > Could you confirm that your series solves the problem that is reported > > by Doug? It would be great if the result is mentioned to the patch > > description. >

[RESEND PATCH 5/6] arm64: dts: mt8173: split usb SuperSpeed port into two ports

2017-01-17 Thread Chunfeng Yun
split the old SuperSpeed port node into a HighSpeed one and a new SuperSpeed one. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[RESEND PATCH 3/6] phy: phy-mt65xx-usb3: add support for mt2712 platform

2017-01-17 Thread Chunfeng Yun
There are some variations from mt2701 to mt2712: 1. banks shared by multiple ports are put back into each port, such as SPLLC and U2FREQ; 2. add a new bank MISC for u2port, and CHIP for u3port; 3. bank's offset in each port are also rearranged; Signed-off-by: Chunfeng Yun

Re: [PATCH 1/6] mm: introduce kv[mz]alloc helpers

2017-01-17 Thread John Hubbard
On 01/16/2017 11:51 PM, Michal Hocko wrote: On Mon 16-01-17 13:57:43, John Hubbard wrote: On 01/16/2017 01:48 PM, Michal Hocko wrote: On Mon 16-01-17 13:15:08, John Hubbard wrote: On 01/16/2017 11:40 AM, Michal Hocko wrote: On Mon 16-01-17 11:09:37, John Hubbard wrote: On 01/16/2017

Re: [PATCH net-next v2] bridge: multicast to unicast

2017-01-17 Thread kbuild test robot
Hi Felix, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Linus-L-ssing/bridge-multicast-to-unicast/20170118-120345 config: x86_64-rhel-7.2 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached

Re: [PATCH net-next v4 05/10] drivers: base: Add device_find_in_class_name()

2017-01-17 Thread Greg Kroah-Hartman
On Tue, Jan 17, 2017 at 03:21:47PM -0800, Florian Fainelli wrote: > Add a helper function to lookup a device reference given a class name. > This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and > make it more generic. > > Signed-off-by: Florian Fainelli >

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-01-17 Thread Greg KH
On Mon, Jan 16, 2017 at 12:01:02PM -0800, Florian Fainelli wrote: > On 01/15/2017 11:16 AM, Andrew Lunn wrote: > >>> What exactly is the relationship between these devices (a ascii-art tree > >>> or sysfs tree output might be nice) so I can try to understand what is > >>> going on here. > > > >

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-17 Thread Trevor Cordes
On 2017-01-17 Michal Hocko wrote: > On Tue 17-01-17 14:21:14, Mel Gorman wrote: > > On Tue, Jan 17, 2017 at 02:52:28PM +0100, Michal Hocko wrote: > > > On Mon 16-01-17 11:09:34, Mel Gorman wrote: > > > [...] > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > > > index

Re: [PATCH 12/13] pwm: jz4740: Let the pinctrl driver configure the pins

2017-01-17 Thread Thierry Reding
On Wed, Jan 18, 2017 at 12:14:20AM +0100, Paul Cercueil wrote: > Now that the JZ4740 and similar SoCs have a pinctrl driver, we rely on > the pins being properly configured before the driver probes. > > One inherent problem of this new approach is that the pinctrl framework > does not allow us to

Re: [PATCH] printk: Correctly handle preemption in console_unlock()

2017-01-17 Thread Sergey Senozhatsky
On (01/18/17 14:45), Sergey Senozhatsky wrote: [..] > > there is a function that clears @console_may_schedule out of > console_sem scope - console_flush_on_panic(). > so I *may be* can think about a worst case scenario of race > condition between >

Re: [PATCH 13/13] MIPS: jz4740: Remove custom GPIO code

2017-01-17 Thread Thierry Reding
On Wed, Jan 18, 2017 at 12:14:21AM +0100, Paul Cercueil wrote: > All the drivers for the various hardware elements of the jz4740 SoC have > been modified to use the pinctrl framework for their pin configuration > needs. > As such, this platform code is now unused and can be deleted. > >

Re: [RFC PATCH] initramfs: finish fput() before accessing any binary from initramfs

2017-01-17 Thread Lokesh Vutla
On Tuesday 17 January 2017 06:23 PM, Tero Kristo wrote: > On 17/01/17 13:14, Lokesh Vutla wrote: >> commit 4a9d4b024a31 ("switch fput to task_work_add") implements a >> schedule_work() for completing fput(), but did not guarantee calling >> __fput() after unpacking initramfs. Because of this,

Re: [PATCH v11 07/12] drm/mediatek: cleaning up and refine

2017-01-17 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > cleaning up unused define and refine function name and variable > > Signed-off-by: shaoming chen > Signed-off-by: YT Shen Acked-by: CK Hu > --- >

[RESEND PATCH 4/6] arm64: dts: mt8173: add a new reference clock for usb3 analog phy

2017-01-17 Thread Chunfeng Yun
add a new reference clock which comes from 26M oscillator directly for SuperSpeed analog phy. and the old one which comes for PLL is 48M for HighSpeed analog phy. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi |4 ++-- 1 file changed, 2

[RESEND PATCH 2/6] phy: phy-mt65xx-usb3: split SuperSpeed port into two ones

2017-01-17 Thread Chunfeng Yun
Currently usb3 port in fact includes two sub-ports, but it is not flexible for some cases, such as following one: usb3 port0 includes u2port0 and u3port0; usb2 port0 includes u2port1; If wants to support only HS, we can use u2port0 or u2port1, when select u2port0, u3port0 is not needed; If

[RESEND PATCH 1/6] phy: phy-mt65xx-usb3: add reference clock of usb3 analog phy

2017-01-17 Thread Chunfeng Yun
usually, the reference clock of usb3 analog phy comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 36 1 file changed, 28

[RESEND PATCH 6/6] dt-bindings: phy-mt65xx-usb: add support for mt2712 platform

2017-01-17 Thread Chunfeng Yun
add a new compatible string for "mt2712", and a new reference clock for SuperSpeed analog phy; Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 81 +--- 1 file changed, 70 insertions(+), 11 deletions(-) diff --git

[PATCH 0/3] PM / devfreq: Fix issues about passive governor

2017-01-17 Thread Chanwoo Choi
This patchset fix the two issues about passive governor and remove the unneeded separate _remove_devfreq() function. First, the parent devfreq device can use the governors except for the passive governor on the fly through sysfs entry and the passive devfreq device is only possible to use the

[PATCH 1/3] PM / devfreq: Fix available_governor sysfs

2017-01-17 Thread Chanwoo Choi
The devfreq using passive governor is not able to change the governor. So, the user can not change the governor through 'available_governor' sysfs entry. Also, the devfreq which don't use the passive governor is not able to change to 'passive' governor on the fly. Fixes: 996133119f57 ("PM /

[PATCH 3/3] PM / devfreq: Remove unnecessary separate _remove_devfreq()

2017-01-17 Thread Chanwoo Choi
The _remove_devfreq() releases the all resources of the devfreq device. This function is only called in the devfreq_dev_release(). For that reason, the devfreq core doesn't need to leave the _remove_devfreq() separately. This patch releases the all resources in the devfreq_dev_release() and then

[PATCH 2/3] PM / devfreq: Fix wrong trans_stat of passive devfreq device

2017-01-17 Thread Chanwoo Choi
Until now, the trans_stat information of passive devfreq is not updated. This patch updates the trans_stat information after setting the target frequency of passive devfreq device. Fixes: 996133119f57 ("PM / devfreq: Add new passive governor") Cc: sta...@vger.kernel.org Signed-off-by: Chanwoo

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-17 Thread Trevor Cordes
On 2017-01-16 Mel Gorman wrote: > > > You can easily check whether this is memcg related by trying to > > > run the same workload with cgroup_disable=memory kernel command > > > line parameter. This will put all the memcg specifics out of the > > > way. > > > > I will try booting now into

Re: [linux-sunxi] Re: [PATCH] ASoC: sunxi: Add bindings for sun8i to SPDIF

2017-01-17 Thread Code Kipper
On 17 January 2017 at 19:15, Mark Brown wrote: > On Thu, Jan 12, 2017 at 06:33:43PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The H3 SoC uses the same SPDIF block as found in earlier SoCs, but the >> transmit fifo is at a different

Re: [RFC 3/4] mm, page_alloc: move cpuset seqcount checking to slowpath

2017-01-17 Thread Hillf Danton
On Wednesday, January 18, 2017 6:16 AM Vlastimil Babka wrote: > > This is a preparation for the following patch to make review simpler. While > the primary motivation is a bug fix, this could also save some cycles in the > fast path. > This also gets kswapd involved. Dunno how frequent cpuset

[PATCH 1/6] phy: phy-mt65xx-usb3: add reference clock of usb3 analog phy

2017-01-17 Thread Chunfeng Yun
usually, the reference clock of usb3 analog phy comes from 26M oscillator directly, but some SoCs are not, add it for compatibility. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 36 1 file changed, 28

[PATCH 5/6] arm64: dts: mt8173: split usb SuperSpeed port into two ports

2017-01-17 Thread Chunfeng Yun
split the old SuperSpeed port node into a HighSpeed one and a new SuperSpeed one. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH v2 1/3] clk: rockchip: add rk3288 vip_out clock ids

2017-01-17 Thread Jacob Chen
Add clock-ids for the vip block of the rk3288 Signed-off-by: Jacob Chen --- include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index 9a586e2..11183bf

[PATCH v2 2/3] clk: rockchip: use rk3288 vip_out clock ids

2017-01-17 Thread Jacob Chen
Reference the newly added vip clock-ids in the clock-tree. Signed-off-by: Jacob Chen --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index

[PATCH 6/6] dt-bindings: phy-mt65xx-usb: add support for mt2712 platform

2017-01-17 Thread Chunfeng Yun
add a new compatible string for "mt2712", and a new reference clock for SuperSpeed analog phy; Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 81 +--- 1 file changed, 70 insertions(+), 11 deletions(-) diff --git

Re: [PATCH v4 3/4] dt-bindings: phy: Add support for QMP phy

2017-01-17 Thread Vivek Gautam
Hi Kishon, On 01/16/2017 02:19 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 10 January 2017 04:21 PM, Vivek Gautam wrote: Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same.

Re: [PATCH 00/13] Ingenic JZ4740 / JZ4780 pinctrl driver

2017-01-17 Thread Thierry Reding
On Wed, Jan 18, 2017 at 12:14:08AM +0100, Paul Cercueil wrote: [...] > One problem still unresolved: the pinctrl framework does not allow us to > configure each pin on demand (someone please prove me wrong), when the > various PWM channels are requested or released. For instance, the PWM >

Re: [PATCH] arm64: dts: exynos: Remove address node from usb parent node

2017-01-17 Thread Chanwoo Choi
Hi Pankaj, This issue already posted by Javier Martinez Canillas[1]. Maybe, he will post v2. [1] https://lkml.org/lkml/2017/1/10/907 - ("Re: [PATCH v2 3/3] arm64: dts: exynos: Remove unneeded unit names in Exynos5433 nodes") On 2017년 01월 18일 14:46, Pankaj Dubey wrote: > Address node does not

[PATCH v2] block: Don't register a registered bdi device

2017-01-17 Thread Yijing Wang
Following calltrace is quoted from Sreekanth Reddy's patch email, we found the same issue in our platform. link:https://patchwork.kernel.org/patch/9394471/ Observing below kernel panic while creating second raid disk on LSI SAS3008 HBA card. [ +0.55] [ cut here ] [

[PATCH v3] IOMMU: SMMUv2: Support for Extended Stream ID (16 bit)

2017-01-17 Thread Aleksey Makarov
Enable the Extended Stream ID feature when available. This patch on top of series "KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions" by Eric Auger [1] allows to passthrough an external PCIe network card on a ThunderX server successfully. Without this patch that card caused a

Re: [PATCH v8 0/9] perf/amd/iommu: Enable multi-IOMMU support

2017-01-17 Thread Joerg Roedel
On Mon, Jan 16, 2017 at 01:23:27AM -0600, Suthikulpanit, Suravee wrote: > Suravee Suthikulpanit (9): > perf/amd/iommu: Declare pr_fmt and remove unnecessary pr_debug > perf/amd/iommu: Clean up perf_iommu_enable_event > perf/amd/iommu: Misc fix up perf_iommu_read > iommu/amd: Introduce

Re: [PATCH] ACPI, APEI, EINJ: fix malformed newline escape

2017-01-17 Thread Borislav Petkov
On Tue, Jan 17, 2017 at 02:57:20PM +, Colin King wrote: > From: Colin Ian King > > The pr_warn message has a malformed newline escape, add in the > missing \ > > Signed-off-by: Colin Ian King > --- > drivers/acpi/apei/einj.c | 2 +- > 1

[PATCH] irqdomain: Avoid activating interrupts more than once

2017-01-17 Thread Marc Zyngier
Since commit f3b0946d629c ("genirq/msi: Make sure PCI MSIs are activated early"), we can end-up activating a PCI/MSI twice (once at allocation time, and once at startup time). This is normally of no consequences, except that there is some HW out there that may misbehave if activate is used more

Re: [PATCH] partitions/efi: Fix integer overflow in GPT size calculation

2017-01-17 Thread Ard Biesheuvel
On 15 January 2017 at 22:31, Alden Tondettar wrote: > If a GUID Partition Table claims to have more than 2**25 entries, the > calculation of the partition table size in alloc_read_gpt_entries() will > overflow a 32-bit integer and not enough space will be allocated for

Re: [PATCH] usb: dwc3: ep0: Fix the possible missed request for handling delay STATUS phase

2017-01-17 Thread Alan Stern
On Mon, 16 Jan 2017, Felipe Balbi wrote: > > The gadget driver never calls usb_ep_queue in order to receive the next > > SETUP packet; the UDC driver takes care of SETUP handling > > automatically. > > yeah, that's another thing I'd like to change. Currently, we have no > means to either try to

Re: kvm: WARNING in mmu_spte_clear_track_bits

2017-01-17 Thread Dmitry Vyukov
On Tue, Jan 17, 2017 at 4:20 PM, Paolo Bonzini wrote: > > > On 13/01/2017 12:15, Dmitry Vyukov wrote: >> >> I've commented out the WARNING for now, but I am seeing lots of >> use-after-free's and rcu stalls involving mmu_spte_clear_track_bits: >> >> >> BUG: KASAN:

ATTENZIONE;

2017-01-17 Thread amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

[PATCH 5/8] drm: mali-dp: Fix destination size handling when rotating

2017-01-17 Thread Liviu Dudau
From: Brian Starkey The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions after rotation. This means we shouldn't swap the width and height ourselves when a 90/270 degree rotation is requested, so remove the

[PATCH 6/8] drm: mali-dp: Fix transposed horizontal/vertical flip

2017-01-17 Thread Liviu Dudau
From: Brian Starkey The horizontal and vertical flip flags were the wrong way around, causing reflect-x to result in reflect-y being applied and vice-versa. Fix them. Fixes: ad49f8602fe8 ("drm/arm: Add support for Mali Display Processors") Signed-off-by: Brian Starkey

[PATCH 2/8] drm: malidp: Remove event_list member from struct malidp_drm

2017-01-17 Thread Liviu Dudau
This struct member managed to outlive the submission process without being removed. It is useless. Signed-off-by: Liviu Dudau --- drivers/gpu/drm/arm/malidp_drv.c | 2 -- drivers/gpu/drm/arm/malidp_drv.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 8/8] drm: mali-dp: Rename malidp_input_format to malidp_pixel_format

2017-01-17 Thread Liviu Dudau
From: Brian Starkey We're going to use the same format list for output formats, so rename everything related to input formats to avoid confusion. Signed-off-by: Brian Starkey [touched commit message to clarify the final struct name] Signed-off-by:

[PATCH 4/8] drm: mali-dp: Don't force source size == crtc size

2017-01-17 Thread Liviu Dudau
From: Brian Starkey Remove the check enforcing that src_w and src_h match crtc_w and crtc_h, as this prevents rotation from working. The check was intended to disallow scaling, but drm_plane_helper_check_state() does that for us, while also taking rotation into account,

[PATCH 0/8] drm/mali-dp: Fixes for v4.11

2017-01-17 Thread Liviu Dudau
Hello, Here is the collected list of patches that I have accumulated since last December in my inbox. They are offered for review and comments before I commit them to the mali-dp tree and they get added to linux-next. Best regards, Liviu Brian Starkey (4): drm: mali-dp: Don't force source

Re: [PATCH v4 05/15] lockdep: Make check_prev_add can use a separate stack_trace

2017-01-17 Thread Peter Zijlstra
On Fri, Jan 13, 2017 at 07:11:43PM +0900, Byungchul Park wrote: > What do you think about the following patches doing it? I was more thinking about something like so... Also, I think I want to muck with struct stack_trace; the members: max_nr_entries and skip are input arguments to

Re: [PATCH 2/4] efi/x86: move efi bgrt init code to early init code

2017-01-17 Thread Ard Biesheuvel
On 16 January 2017 at 15:15, Bhupesh Sharma wrote: > Thanks Dave. > > On Fri, Jan 13, 2017 at 3:03 AM, Dave Young wrote: >> On 01/12/17 at 04:20pm, Ard Biesheuvel wrote: >>> On 12 January 2017 at 09:41, Dave Young wrote: >>> > Before

Re: [PATCH 0/4] make call_usermodehelper a bit more "safe"

2017-01-17 Thread Kees Cook
On Mon, Jan 16, 2017 at 8:49 AM, Greg KH wrote: > Hi all, > > Here's a second cut at my attempt to make call_usermodehelper a bit more > "safe". It includes some patches from my previous series, and one new > one. In all, this is a much smaller patchset, with better

Re: [PATCH] gpio: intel-mid: Fix build warning when !CONFIG_PM

2017-01-17 Thread Linus Walleij
On Mon, Jan 16, 2017 at 3:30 PM, Augusto Mecking Caringi wrote: > The only usage of function intel_gpio_runtime_idle() is here (in the > same file): > > static const struct dev_pm_ops intel_gpio_pm_ops = { > SET_RUNTIME_PM_OPS(NULL, NULL,

[PATCH v3 0/2] hv_util: adjust system time smoothly

2017-01-17 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause

[PATCH v9 5/5] ARM: configs: stm32: Add I2C support for STM32 defconfig

2017-01-17 Thread M'boumba Cedric Madianga
This patch adds I2C support for STM32 default configuration Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index

[GIT PULL] MMC fixes for v.4.10 rc5

2017-01-17 Thread Ulf Hansson
Hi Linus, Here are some mmc fixes intended for v4.9 rc5. They are based on v4.9-rc3. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8: Linux 4.10-rc3 (2017-01-08 14:18:17

[PATCH v3 2/2] hv_utils: implement Hyper-V PTP source

2017-01-17 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause

[PATCH v9 4/5] ARM: dts: stm32: Add I2C1 support for STM32429 eval board

2017-01-17 Thread M'boumba Cedric Madianga
This patch adds I2C1 instance support for STM32x9I-Eval board. Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts

[PATCH 10/13] MIPS: loongson64: fix empty-body warning in dma_alloc

2017-01-17 Thread Arnd Bergmann
A new gcc warning shows up for this old code with gcc-6: arch/mips/loongson64/common/dma-swiotlb.c: In function 'loongson_dma_alloc_coherent': arch/mips/loongson64/common/dma-swiotlb.c:35:2: error: suggest braces around empty body in an 'else' statement [-Werror=empty-body] The code can be

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-17 Thread Radim Krcmar
2017-01-17 09:30-0200, Marcelo Tosatti: > On Tue, Jan 17, 2017 at 09:03:27AM +0100, Miroslav Lichvar wrote: >> On Mon, Jan 16, 2017 at 06:01:14PM -0200, Marcelo Tosatti wrote: >> > On Mon, Jan 16, 2017 at 05:47:15PM -0200, Marcelo Tosatti wrote: >> > > On Mon, Jan 16, 2017 at 05:36:55PM -0200,

[PATCH v2 1/4] dt-bindings: phy: Add documentation for NSP USB3 PHY

2017-01-17 Thread Yendapally Reddy Dhananjaya Reddy
Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644

[PATCH 08/10] perf sched timehist: Show total wait times for summary

2017-01-17 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim When --state option is given, the summary will show total run, sleep, iowait, preempt and delay time instead of statistics of runtime. $ perf sched timehist -s --state Wait-time summary comm parent sched-in run-time sleep iowait preempt

[PATCH v2 4/4] arm: dts: nsp: Add USB nodes to device tree

2017-01-17 Thread Yendapally Reddy Dhananjaya Reddy
Add USB nodes to the Northstar plus device tree file Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- arch/arm/boot/dts/bcm-nsp.dtsi | 56 arch/arm/boot/dts/bcm958625k.dts | 16 2 files changed, 72

Re: [PATCH -next] init/main: Init jump_labels before they are used to build zonelists

2017-01-17 Thread Vlastimil Babka
On 01/17/2017 03:30 PM, Stafford Horne wrote: > On Tue, Jan 17, 2017 at 02:44:54PM +0100, Peter Zijlstra wrote: >> On Tue, Jan 17, 2017 at 02:07:36PM +0100, Vlastimil Babka wrote: >> >>> Anyway I'm not sure if this patch is safe. Hopefully Peter can judge >>> this better... >>> Cc: Vlastimil

Re: [PATCH] tpm: add session handles to the save and restore of the tpm2 space manager

2017-01-17 Thread Jarkko Sakkinen
On Tue, Jan 17, 2017 at 06:18:12AM -0800, James Bottomley wrote: > On Tue, 2017-01-17 at 09:23 +0200, Jarkko Sakkinen wrote: > > On Mon, Jan 16, 2017 at 03:18:45PM -0800, James Bottomley wrote: > > > On Mon, 2017-01-16 at 12:04 +0200, Jarkko Sakkinen wrote: > > > > On Fri, Jan 13, 2017 at

Re: [PATCHv2] firmware: Correct handling of fw_state_wait_timeout() return value

2017-01-17 Thread Jakub Kicinski
On Tue, Jan 17, 2017 at 8:21 AM, Luis R. Rodriguez wrote: >>> >>> retval = fw_state_wait_timeout(>fw_st, timeout); >>> - if (retval < 0) { >>> + if (retval == -ETIMEDOUT || retval == -ERESTARTSYS) { >>> mutex_lock(_lock); >>>

Re: [PATCH 07/46] selinux: Delete unnecessary variable assignments in policydb_index()

2017-01-17 Thread Casey Schaufler
On 1/15/2017 7:04 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 14 Jan 2017 13:40:25 +0100 > > The local variable "rc" was reset with an error code up to five times > before a memory allocation failure was detected. > > Add a jump target so that

[PATCH V3 5/5] gpio: davinci: Remove custom .xlate

2017-01-17 Thread Keerthy
With the current redesign of driver it's not necessary to have custom .xlate() as the gpiolib will assign default of_gpio_simple_xlate(). Suggested-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Grygorii Strashko

Re: [RFC PATCH v2 10/10] dt-bindings: Document devicetree binding for ARM SPE

2017-01-17 Thread Kim Phillips
On Mon, 16 Jan 2017 10:59:04 + Will Deacon wrote: > On Fri, Jan 13, 2017 at 06:43:52PM +, Mark Rutland wrote: > > On Fri, Jan 13, 2017 at 04:03:49PM +, Will Deacon wrote: > > > +- compatible : should be one of: > > > +"arm,arm-spe-pmu-v1" > > > > The

  1   2   3   4   5   6   7   8   9   10   >