Re: writev error codes

2017-01-18 Thread Michal Hocko
On Thu 19-01-17 15:09:52, Michael Kerrisk wrote: > Hello Michal, > > On 19 January 2017 at 04:44, Michal Hocko wrote: > > Hi, > > we have noticed that one of the LTP tests started to fail after > > 99526912c934 ("fix iov_iter_fault_in_readable()"). The code has expected > > EINVAL while it gets E

Re: [PATCH 1/2] security: Change name of CONFIG_DEBUG_RODATA

2017-01-18 Thread Pavel Machek
On Wed 2017-01-18 17:29:05, Laura Abbott wrote: > > Despite the word 'debug' in CONFIG_DEBUG_RODATA, this kernel option > provides key security features that are to be expected on a modern > system. Change the name to CONFIG_HARDENED_PAGE_MAPPINGS which more > accurately describes what this option

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-18 Thread Boris Brezillon
On Wed, 18 Jan 2017 16:20:10 -0600 Rob Herring wrote: > On Tue, Jan 17, 2017 at 02:36:50PM +1100, Thomas Petazzoni wrote: > > Hello, > > > > (Side note: you guys should learn about stripping irrelevant parts of > > an e-mail when replying!) > > > > On Mon, 16 Jan 2017 09:40:32 +0100, Boris Brezi

[GIT PULL] xen: fix for 4.10 rc4

2017-01-18 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.10-rc4-tag It contains a fix for Xen running in nested virtualization environment. Thanks. Juergen drivers/xen/platform-pci.c | 71 ++

Re: [PATCH v2 3/3] xen: optimize xenbus driver for multiple concurrent xenstore accesses

2017-01-18 Thread Juergen Gross
On 18/01/17 21:14, Boris Ostrovsky wrote: > On 01/16/2017 09:15 AM, Juergen Gross wrote: >> + >> +static uint32_t xs_request_enter(struct xb_req_data *req) >> +{ >> +uint32_t rq_id; >> + >> +req->type = req->msg.type; >> + >> +spin_lock(&xs_state_lock); >> +for (;;) { >> +

Re: [PATCH V2 00/18] *** SUBJECT HERE ***

2017-01-18 Thread Greg KH
On Wed, Jan 18, 2017 at 04:44:32PM -0700, k...@exchange.microsoft.com wrote: > From: K. Y. Srinivasan "interesting" subject :(

Re: [PATCH v6 03/25] usb: ulpi: Support device discovery via DT

2017-01-18 Thread Greg Kroah-Hartman
On Thu, Jan 19, 2017 at 02:33:49PM +0800, Peter Chen wrote: > On Wed, Dec 28, 2016 at 02:56:49PM -0800, Stephen Boyd wrote: > > The qcom HSIC ULPI phy doesn't have any bits set in the vendor or > > product ID registers. This makes it impossible to make a ULPI > > driver match against the ID registe

Re: [PATCH 0/6 v4] adv7511 EDID probing improvements

2017-01-18 Thread John Stultz
On Wed, Jan 18, 2017 at 9:22 PM, Archit Taneja wrote: > > > On 01/19/2017 04:34 AM, Laurent Pinchart wrote: >> >> Hi John, >> >> Thank you for the patches. >> >> On Monday 16 Jan 2017 16:52:46 John Stultz wrote: >>> >>> Wanted to re-send out v4 of this patch set, integrating some >>> changes sugg

tip.today - scheduler bam boom crash (cpu hotplug)

2017-01-18 Thread Mike Galbraith
Mindless testing only, too sick to work, not sick enough to be immune to boredom. Was verifying first warning wasn't somehow rt inspired, but while doing so, plain nopreempt (and no rt patch set) went boom. [ 203.088255] smpboot: CPU 1 is now offline [ 203.168181] smpboot: CPU 2 is now offline

linux-next 20170117 - lockdep whines and BUGs in ata_scsi_rbuf_fill()

2017-01-18 Thread valdis . kletnieks
linux-next 20170110 didn't exhibit this. Am seeing at boot a lockdep whine, followed by 3 BUGs. ata_scsi_rbuf_fill() is in the traceback for all of them.'git log' hints that it's one of 6 commits against drivers/ata/libata-scsi.c by Christoph, but none of them spring out as being the guilty pa

Re: [patch -mm] mm, page_alloc: warn_alloc nodemask is NULL when cpusets are disabled

2017-01-18 Thread Vlastimil Babka
On 01/18/2017 10:51 PM, David Rientjes wrote: > The patch "mm, page_alloc: warn_alloc print nodemask" implicitly sets the > allocation nodemask to cpuset_current_mems_allowed when there is no > effective mempolicy. cpuset_current_mems_allowed is only effective when > cpusets are enabled, which

Re: [PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-18 Thread Krzysztof Kozlowski
On Thu, Jan 19, 2017 at 12:47 AM, Dmitry Torokhov wrote: > On Tue, Jan 17, 2017 at 08:10:56PM +0200, Krzysztof Kozlowski wrote: >> On Tue, Jan 17, 2017 at 10:06:27AM -0800, Dmitry Torokhov wrote: >> > On Tue, Jan 17, 2017 at 9:20 AM, Krzysztof Kozlowski >> > wrote: >> > > On Tue, Jan 17, 2017 at

[PATCH 4/6] media: ti-vpe: cal: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/media/platform/ti-vpe/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-v

[PATCH 2/6] drm/omapdrm: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/dss-of.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c b/drivers/gpu/drm/omapdrm

Re: [PATCH] kprobes: move kprobe declarations to asm-generic/kprobes.h

2017-01-18 Thread Masami Hiramatsu
On Thu, 19 Jan 2017 10:38:12 +0900 Masami Hiramatsu wrote: > Hi Luis, > > On Wed, 18 Jan 2017 09:48:40 -0800 > "Luis R. Rodriguez" wrote: > > > Often all is needed is these small helpers, instead of compiler.h > > or a full kprobes.h. This is important for asm helpers, in fact even > > some as

[PATCH 5/6] v4l: of: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/media/v4l2-core/v4l2-of.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-of.c b/drivers/media/v4l2-core/v4l2-

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-18 Thread Stephane Eranian
On Wed, Jan 18, 2017 at 12:53 AM, Thomas Gleixner wrote: > On Tue, 17 Jan 2017, Shivappa Vikas wrote: >> On Tue, 17 Jan 2017, Thomas Gleixner wrote: >> > On Fri, 6 Jan 2017, Vikas Shivappa wrote: >> > > - Issue(1): Inaccurate data for per package data, systemwide. Just prints >> > > zeros or arbit

Re: [PATCH v6 03/25] usb: ulpi: Support device discovery via DT

2017-01-18 Thread Peter Chen
On Wed, Dec 28, 2016 at 02:56:49PM -0800, Stephen Boyd wrote: > The qcom HSIC ULPI phy doesn't have any bits set in the vendor or > product ID registers. This makes it impossible to make a ULPI > driver match against the ID registers. Add support to discover > the ULPI phys via DT help alleviate th

[PATCH 6/6] omapfb: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/dss-of.c b/drive

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

2017-01-18 Thread Linus Walleij
On Wed, Jan 18, 2017 at 12:14 AM, 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 > channels can be conf

[PATCH 2/6] drm/omapdrm: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/omapdrm/dss/dss-of.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c b/drivers/gpu/drm/omapdrm

[PATCH 3/6] drm: rcar-du: use of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du

[PATCH 1/6] of_graph: add of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
From: Kuninori Morimoto It should use same method to get same result. To getting remote-endpoint node, let's use of_graph_get_remote_endpoint() Signed-off-by: Kuninori Morimoto --- drivers/of/base.c| 18 -- include/linux/of_graph.h | 8 2 files changed, 24 in

[PATCH 0/6] of_graph_get_remote_endpoint()

2017-01-18 Thread Kuninori Morimoto
Hi Rob Now many driver is getting remote-endpoint by manually, but we should use same method to get same result IMO. Thus this patch adds of_graph_get_remote_endpoint() for this purpose. And use it on several drivers Kuninori Morimoto (6): of_graph: add of_graph_get_remote_endpoint() drm/o

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

2017-01-18 Thread Peter Chen
On Wed, Jan 18, 2017 at 02:57:27PM -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 2:54 PM, Stephen Boyd wrote: > > Quoting Peter Chen (2017-01-17 23:34:32) > >> On Tue, Jan 17, 2017 at 09:58:33AM -0800, Stephen Boyd wrote: > >> > Quoting Peter Chen (2017-01-15 19:45:51) > >> > > > >> > > At i

Re: [PATCH] stmmac: adding EEE to GMAC4

2017-01-18 Thread Rayagond Kokatanur
On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto wrote: > This patch adds Energy Efficiency Ethernet to GMAC4. > > Signed-off-by: Joao Pinto > --- > drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 12 + > drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 59 > +++ > 2

Re: How to improve PCI bug tracking?

2017-01-18 Thread Lukas Wunner
On Wed, Jan 18, 2017 at 06:29:15PM -0500, Sinan Kaya wrote: > On 1/18/2017 5:53 PM, Bjorn Helgaas wrote: > > I want to improve PCI bug tracking. It feels like our bugs don't get > > the attention they need, and I'm soliciting ideas for how to improve > > this. > > > > Current situation: > > > >

Re: [PATCH perf/core 1/6] tools lib bpf: Fix map offsets in relocation

2017-01-18 Thread Wangnan (F)
On 2017/1/19 7:57, Joe Stringer wrote: Commit 4708bbda5cb2 ("tools lib bpf: Fix maps resolution") attempted to fix map resolution by identifying the number of symbols that point to maps, and using this number to resolve each of the maps. However, during relocation the original definition of th

linux-next: Tree for Jan 19

2017-01-18 Thread Stephen Rothwell
Hi all, Changes since 20170118: The audit tree gained a conflict against Linus' tree. The tip tree gained a conflict against the security tree. The rcu tree gained a semantic conflict against the net-next tree for which I applied a merge fix patch. I dropped 4 patches from the akpm tree

Re: [PATCH] usb: dwc3: core: Disable USB2.0 phy suspend when dwc3 acts as host role

2017-01-18 Thread Baolin Wang
Hi John, On 19 January 2017 at 11:31, John Youn wrote: > On 1/18/2017 7:12 PM, Baolin Wang wrote: >> Hi John, >> >> On 19 January 2017 at 09:33, John Youn wrote: >>> On 1/16/2017 2:38 AM, Felipe Balbi wrote: Hi, John Youn writes: >> Baolin Wang writes: Baolin W

Re: [PATCH v11 12/12] drm/mediatek: add support for Mediatek SoC MT2701

2017-01-18 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > This patch add support for the Mediatek MT2701 DISP subsystem. > There is only one OVL engine in MT2701. > > Signed-off-by: YT Shen Acked-by: CK Hu > --- > drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 8 > drivers/gpu/drm

Re: [PATCH 0/6 v4] adv7511 EDID probing improvements

2017-01-18 Thread Archit Taneja
On 01/19/2017 04:34 AM, Laurent Pinchart wrote: Hi John, Thank you for the patches. On Monday 16 Jan 2017 16:52:46 John Stultz wrote: Wanted to re-send out v4 of this patch set, integrating some changes suggested by Laurent, for consideration for merging for v4.11 The first three patches a

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

2017-01-18 Thread Vivek Gautam
On 01/19/2017 06:10 AM, Stephen Boyd wrote: On 01/18, Bjorn Andersson wrote: On Tue 17 Jan 22:54 PST 2017, Vivek Gautam wrote: On 01/16/2017 02:19 PM, Kishon Vijay Abraham I wrote: On Tuesday 10 January 2017 04:21 PM, Vivek Gautam wrote: [..] + reset-names = "phy", "common", "

Re: [PATCH v2] PCI: pciehp: Optimize PCIe root resume time

2017-01-18 Thread Lukas Wunner
On Thu, Jan 19, 2017 at 02:57:26AM +, Shankar, Vaibhav wrote: > > From: Lukas Wunner [mailto:lu...@wunner.de] > > Sent: Tuesday, January 17, 2017 9:14 PM > > On Wed, Jan 18, 2017 at 01:32:13AM +, Shankar, Vaibhav wrote: > > > > From: Bjorn Helgaas [mailto:helg...@kernel.org] > > > > Sent: W

Re: [PATCH 00/33] Input: Automated coccinelle cleanup

2017-01-18 Thread Joe Perches
On Wed, 2017-01-18 at 21:04 -0800, Guenter Roeck wrote: > On 01/18/2017 05:42 PM, Joe Perches wrote: > > On Wed, 2017-01-18 at 09:46 -0800, Guenter Roeck wrote: > > > The conversion was done automatically with coccinelle using several > > > semantic > > > patches. The semantic patches and the scri

Re: [PATCH 00/33] Input: Automated coccinelle cleanup

2017-01-18 Thread Guenter Roeck
On 01/18/2017 05:42 PM, Joe Perches wrote: On Wed, 2017-01-18 at 09:46 -0800, Guenter Roeck wrote: The conversion was done automatically with coccinelle using several semantic patches. The semantic patches and the scripts used to generate this commit log are available at https://github.com/groec

Re: [PATCH 2/5] dmaengine: Add support for custom data mapping

2017-01-18 Thread Vinod Koul
On Mon, Jan 02, 2017 at 10:12:33AM -0600, Andy Gross wrote: > On Mon, Jan 02, 2017 at 07:55:37PM +0530, Abhishek Sahu wrote: > > >>> So a couple of thoughts on how to deal with this: > > >>> > > >>> 1) Define a virtual channel for the command descriptors vs a normal > > >>> DMA > >

Re: [PATCH 13/33] Input: bfin_rotary - Use 'dev' instead of dereferencing it and other changes

2017-01-18 Thread Joe Perches
On Wed, 2017-01-18 at 12:35 -0800, Guenter Roeck wrote: > On Wed, Jan 18, 2017 at 11:39:52AM -0800, Dmitry Torokhov wrote: > > On Wed, Jan 18, 2017 at 09:46:34AM -0800, Guenter Roeck wrote: [] > > > diff --git a/drivers/input/misc/bfin_rotary.c > > > b/drivers/input/misc/bfin_rotary.c [] > > > @@

Re: [PATCH net-next] macb: Common code to enable ptp support for SAMA5Dx platforms.

2017-01-18 Thread Harini Katakam
On Wed, Jan 18, 2017 at 11:02 PM, Nicolas Ferre wrote: > Le 18/01/2017 à 09:57, Andrei Pistirica a écrit : >> This patch does the following: >> - add GEM-PTP interface >> - registers and bitfields for TSU are named according to SAMA5Dx data sheet >> - PTP support based on platform capability > > T

Re: [RFC PATCH v3] crypto: Add IV generation algorithms

2017-01-18 Thread Binoy Jayan
Hi Gilad, On 18 January 2017 at 20:51, Gilad Ben-Yossef wrote: > I have some review comments and a bug report - Thank you very much for testing this on ARM and for the comments. > I'm pretty sure this needs to be > > n2 = bio_segments(ctx->bio_out); Yes you are right, that was a typo :) >> +

Re: [PATCH v5] ARM64: dts: meson-gx: Add firmware reserved memory zones

2017-01-18 Thread Kevin Hilman
Andreas Färber writes: > Am 19.01.2017 um 01:20 schrieb Andreas Färber: >> Hi, >> >> Am 18.01.2017 um 17:50 schrieb Neil Armstrong: >>> The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, >>> this patch adds these reserved zones. >>> >>> Without such reserved memory zone

Re: [PATCH 4/6] PM / domain: Register for PM QOS performance notifier

2017-01-18 Thread Viresh Kumar
On 03-01-17, 16:36, Viresh Kumar wrote: > Some platforms have the capability to configure the performance state of > their Power Domains. The performance levels are represented by positive > integer values, a lower value represents lower performance state. > > This patch registers the power domain

Re: linux-next: manual merge of the audit tree with Linus' tree

2017-01-18 Thread Richard Guy Briggs
On 2017-01-19 13:51, Stephen Rothwell wrote: > Hi Paul, Hi Stephen, > Today's linux-next merge of the audit tree got a conflict in: > > include/uapi/linux/audit.h > > between commits: > > 7ff89ac608d9 ("audit: add exclude filter extension to feature bitmap") > dcdaa2f9480c ("Merge branch

[PATCH v2] tools build: add tools tree support for 'make -s'

2017-01-18 Thread Josh Poimboeuf
When doing a kernel build with 'make -s', everything is silenced except the objtool build. That's because the tools tree support for silent builds is some combination of missing and broken. Three changes are needed to fix it: - Makefile: propagate '-s' to the sub-make's MAKEFLAGS variable so the

linux-next: build failure after merge of the rcu tree

2017-01-18 Thread Stephen Rothwell
Hi Paul, After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/smc/af_smc.c:102:16: error: 'SLAB_DESTROY_BY_RCU' undeclared here (not in a function) .slab_flags = SLAB_DESTROY_BY_RCU, ^ Caused by commit c7a545924ca1 ("mm: Rename SL

[PATCH] arm64: dts: msm8996: Add ADSP PIL node

2017-01-18 Thread Sarangdhar Joshi
Add ADSP node required for Qualcomm ADSP Peripheral Image Loader. Signed-off-by: Sarangdhar Joshi --- This patch uses "xo_board" clock for now. We would have to move to rpmcc once it is available. arch/arm64/boot/dts/qcom/msm8996.dtsi | 20 1 file changed, 20 insertions(+)

Re: [PATCH 08/33] Input: spear-keyboard - Drop unnecessary error messages and other changes

2017-01-18 Thread Viresh Kumar
On Wed, Jan 18, 2017 at 11:16 PM, Guenter Roeck wrote: > Error messages after memory allocation failures are unnecessary and > can be dropped. > > This conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the scripts > used to generate

Re: [PATCH RFC] powerpc/32: fix handling of stack protector with recent GCC

2017-01-18 Thread Christian Kujau
On Mon, 16 Jan 2017, Christophe Leroy wrote: > Christian, can you test it ? OK, so with that applied to v4.10-rc4, compilation still fails with GCC 4.9.2 and CC_STACKPROTECTOR_STRONG=y, see below. But it compiles just fine with CC_STACKPROTECTOR_REGULAR=y and boots to! Cross-compiling the same

[PATCH] tools build: add tools tree support for 'make -s'

2017-01-18 Thread Josh Poimboeuf
When doing a kernel build with 'make -s', everything is silenced except the objtool build. That's because the tools tree support for silent builds is some combination of missing and broken. Three changes are needed to fix it: - Makefile: propagate '-s' to the sub-make's MAKEFLAGS variable so the

Re: [PATCHv4 2/5] arm: mvebu: support for SMP on 98DX3336 SoC

2017-01-18 Thread Chris Packham
On 19/01/17 13:48, Stephen Boyd wrote: > On 01/13, Chris Packham wrote: >> diff --git a/arch/arm/mach-mvebu/platsmp.c b/arch/arm/mach-mvebu/platsmp.c >> index 46c742d3bd41..59be3ca0464f 100644 >> --- a/arch/arm/mach-mvebu/platsmp.c >> +++ b/arch/arm/mach-mvebu/platsmp.c >> @@ -184,3 +184,89 @@ cons

Re: [PATCH] usb: dwc3: core: Disable USB2.0 phy suspend when dwc3 acts as host role

2017-01-18 Thread John Youn
On 1/18/2017 7:12 PM, Baolin Wang wrote: > Hi John, > > On 19 January 2017 at 09:33, John Youn wrote: >> On 1/16/2017 2:38 AM, Felipe Balbi wrote: >>> >>> Hi, >>> >>> John Youn writes: > Baolin Wang writes: >>> Baolin Wang writes: When dwc3 controller acts as host role with att

linux-next: manual merge of the tip tree with the security tree

2017-01-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: security/apparmor/include/apparmor.h between commit: 12557dcba21b ("apparmor: move lib definitions into separate lib include") from the security tree and commit: 6b1ffa06e59d ("locking/atomic, kref: Use kref_get_unless_

Re: module: fix failed to rmmod kernel module when it's name is too long

2017-01-18 Thread Jessica Yu
+++ Xie XiuQi [13/01/17 17:19 +0800]: When the name of kernel module is more than 56 chars (include 56), the module could be insmod successfully, but failed to rmmod. $ strace rmmod tst_112233445566 ... open("/sys/module/tst_1122334

Re: [PATCHv4 1/5] clk: mvebu: support for 98DX3236 SoC

2017-01-18 Thread Chris Packham
On 19/01/17 11:25, Rob Herring wrote: > On Fri, Jan 13, 2017 at 10:12:16PM +1300, Chris Packham wrote: >> The 98DX3236, 98DX3336, 98DX4521 and variants have a different TCLK from >> the Armada XP (200MHz vs 250MHz). The CPU core clock is fixed at 800MHz. >> >> The clock gating options are a subset

Re: [PATCH v4 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-01-18 Thread Anup Patel
Hi All, Any comments on this patch ?? Regards, Anup

Re: [PATCH v11 11/12] drm/mediatek: update DSI sub driver flow for sending commands to panel

2017-01-18 Thread CK Hu
Hi, YT: one comment inline. On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > This patch update enable/disable flow of DSI module. > Original flow works on there is a bridge chip: DSI -> bridge -> panel. > In this case: DSI -> panel, the DSI sub driver flow should be updated. > We need to initi

Re: [PATCH] usb: dwc3: core: Disable USB2.0 phy suspend when dwc3 acts as host role

2017-01-18 Thread Baolin Wang
Hi John, On 19 January 2017 at 09:33, John Youn wrote: > On 1/16/2017 2:38 AM, Felipe Balbi wrote: >> >> Hi, >> >> John Youn writes: Baolin Wang writes: >> Baolin Wang writes: >>> When dwc3 controller acts as host role with attaching slow speed device >>> (like mouse or keypad

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

2017-01-18 Thread Byungchul Park
On Wed, Jan 18, 2017 at 04:10:53PM +0100, Peter Zijlstra wrote: > On Wed, Jan 18, 2017 at 11:04:32AM +0900, Byungchul Park wrote: > > On Tue, Jan 17, 2017 at 04:54:31PM +0100, Peter Zijlstra wrote: > > > On Fri, Jan 13, 2017 at 07:11:43PM +0900, Byungchul Park wrote: > > > > What do you think about

Re: writev error codes

2017-01-18 Thread Al Viro
On Wed, Jan 18, 2017 at 04:44:31PM +0100, Michal Hocko wrote: > Hi, > we have noticed that one of the LTP tests started to fail after > 99526912c934 ("fix iov_iter_fault_in_readable()"). The code has expected > EINVAL while it gets EFAULT. I believe the new behavior is reasonable, > but checking th

Re: [PATCH v2] vfio/pci: Support error recovery

2017-01-18 Thread Cao jin
On 01/19/2017 05:32 AM, Alex Williamson wrote: > On Tue, 10 Jan 2017 17:11:01 +0200 > "Michael S. Tsirkin" wrote: > >> On Tue, Jan 10, 2017 at 07:46:17PM +0800, Cao jin wrote: >>> >>> >>> On 01/10/2017 07:04 AM, Michael S. Tsirkin wrote: On Sat, Dec 31, 2016 at 05:15:36PM +0800, Cao jin

Re: [PATCH v3 2/3] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-18 Thread Sean Wang
On Wed, 2017-01-18 at 16:42 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 4:23 PM, Rob Herring wrote: > > On Fri, Jan 13, 2017 at 03:35:38PM +0800, sean.w...@mediatek.com wrote: > >> From: Sean Wang > >> > >> This patch adds documentation for devicetree bindings for > >> consumer Mediatek I

Re: [GIT PULL] ARM: aspeed: devicetree for 4.11

2017-01-18 Thread Joel Stanley
On Thu, Jan 19, 2017 at 11:27 AM, Olof Johansson wrote: > On Wed, Jan 18, 2017 at 09:50:02AM +1100, Joel Stanley wrote: >> These commits also add newly upstreamed drivers to the Palmetto BMC and >> ast2500 >> eval board. We now have working network, ipmi bt, gpio and pinmux on >> all platforms.

RE: [PATCH v2] PCI: pciehp: Optimize PCIe root resume time

2017-01-18 Thread Shankar, Vaibhav
> -Original Message- > From: Lukas Wunner [mailto:lu...@wunner.de] > Sent: Tuesday, January 17, 2017 9:14 PM > To: Shankar, Vaibhav > Cc: Bjorn Helgaas ; Patel, Mayurkumar > ; Busch, Keith ; > ying...@kernel.org; yhlu.ker...@gmail.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.

Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-18 Thread Rob Herring
On Wed, Jan 18, 2017 at 5:38 PM, Thomas Petazzoni wrote: > Hello, > > On Wed, 18 Jan 2017 16:20:10 -0600, Rob Herring wrote: > >> > > Rob, Mark, any opinion? >> > >> >> Sigh, is how to do compatibles really not yet understood? > > Well, it seems like not everyone necessarily understands what is th

[PATCH v1] PM / Domains: Keep the pd status during system PM phases

2017-01-18 Thread Elaine Zhang
If a PM domain is powered off before system suspend, we hope do nothing in system runtime suspend noirq phase and system runtime resume noirq phase. This modify is to slove system resume issue for RK3399. RK3399 SOC pd_gpu have voltage domain vdd_gpu, so we must follow open vdd_gpu and power on pd

linux-next: manual merge of the audit tree with Linus' tree

2017-01-18 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: include/uapi/linux/audit.h between commits: 7ff89ac608d9 ("audit: add exclude filter extension to feature bitmap") dcdaa2f9480c ("Merge branch 'stable-4.10' of git://git.infradead.org/users/pcmoore/audit") from Linus

[PATCH net-next v4] bridge: multicast to unicast

2017-01-18 Thread Linus Lüssing
From: Felix Fietkau Implements an optional, per bridge port flag and feature to deliver multicast packets to any host on the according port via unicast individually. This is done by copying the packet per host and changing the multicast destination MAC to a unicast one accordingly. multicast-to-

Re: kvm: use-after-free in process_srcu

2017-01-18 Thread Paul E. McKenney
On Wed, Jan 18, 2017 at 09:53:19AM +0100, Paolo Bonzini wrote: > > > On 17/01/2017 21:34, Paul E. McKenney wrote: > > Do any of your callback functions invoke call_srcu()? (Hey, I have to ask!) > > No, we only use synchronize_srcu and synchronize_srcu_expedited, so our > only callback comes fro

Re: [PATCH v2] LSM: Add /sys/kernel/security/lsm

2017-01-18 Thread James Morris
On Wed, 18 Jan 2017, Casey Schaufler wrote: > Subject: [PATCH v2] LSM: Add /sys/kernel/security/lsm > > I am still tired of having to find indirect ways to determine > what security modules are active on a system. I have added > /sys/kernel/security/lsm, which contains a comma separated > list of

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2017-01-18 Thread Andy Lutomirski
On Wed, Jan 18, 2017 at 4:59 PM, Tejun Heo wrote: > Hello, Andy. > > On Wed, Jan 18, 2017 at 04:18:04PM -0800, Andy Lutomirski wrote: >> To map cgroup -> hook, a simple array in each cgroup structure works. >> To map (cgroup, netns) -> hook function, the natural approach would be >> to have some k

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-18 Thread Vikas Shivappa
Based on Thomas and Peterz feedback Can think of two variants which target: -Support monitoring and allocating using the same resctrl group. user can use a resctrl group to allocate resources and also monitor them (with respect to tasks or cpu) -allows 'task only' monitoring outside of resctrl.

Re: [PATCH v3 2/2] nsfs: Add an ioctl() to return owner UID of a userns

2017-01-18 Thread Michael Kerrisk (man-pages)
On 17 January 2017 at 14:19, W. Trevor King wrote: > On Tue, Jan 17, 2017 at 02:03:29PM +1300, Michael Kerrisk (man-pages) wrote: >> + case NS_GET_OWNER_UID: >> + if (ns->ops->type != CLONE_NEWUSER) >> + return -EINVAL; >> + user_ns = container_of(ns

Kworker with high cpu usage (~80%)

2017-01-18 Thread Alexandre Vicenzi
Hello, It has been a while that I noticed that kworker/0:1 eats a lot of CPU on my computer, about ~80%. I never found the real problem, but googling the solution was to disable some GPE interrupt, in my case it is /sys/firmware/acpi/interrupts/gpe13. This is a dirty solution, actually, it hides

[PATCH 0/2] Add support for RK3288 Tinker board

2017-01-18 Thread Eddie Cai
This patch set add support for RK3288 Tinker board. Tinker board is a credit card size develop board powered by RK3288. Eddie Cai (2): dt-bindings: add Asus Tinker board ARM: dts: rockchip: add dts for RK3288-Tinker board Documentation/devicetree/bindings/arm/rockchip.txt | 3 + arch/arm/

[PATCH 1/2] dt-bindings: add Asus Tinker board

2017-01-18 Thread Eddie Cai
Tinker board is a credit card size develop board designed by Asus. Powered by RK3288. Signed-off-by: Eddie Cai --- Documentation/devicetree/bindings/arm/rockchip.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Documentation/devicet

[PATCH 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-01-18 Thread Eddie Cai
This patch add basic support for RK3288-Tinker board. We can boot in to rootfs with this patch. Signed-off-by: Eddie Cai --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-tinker.dts | 556 2 files changed, 557 insertions(+) create mod

Re: [PATCH v2 15/18] drivers/fsi: Add documentation for GPIO based FSI master

2017-01-18 Thread Jeremy Kerr
Hi Chris, >From this: >> + >> +The standard FSI master node >> + >> +This node describes a FSI master implmemented fully in hardware >> +with dedicated input/output pins required for its function (i.e. >> +not using generic GPIO pins). >> +Required property: >> +co

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

2017-01-18 Thread Byungchul Park
On Wed, Jan 18, 2017 at 03:12:55PM +0100, Peter Zijlstra wrote: > On Wed, Jan 18, 2017 at 09:14:59PM +0900, byungchul.park wrote: > > > +Example 3: > > + > > + CONTEXT X CONTEXT Y > > + - - > > + mutex_lock A > > + mutex_

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-18 Thread David Carrillo-Cisneros
On Wed, Jan 18, 2017 at 12:53 AM, Thomas Gleixner wrote: > On Tue, 17 Jan 2017, Shivappa Vikas wrote: >> On Tue, 17 Jan 2017, Thomas Gleixner wrote: >> > On Fri, 6 Jan 2017, Vikas Shivappa wrote: >> > > - Issue(1): Inaccurate data for per package data, systemwide. Just prints >> > > zeros or arbit

Re: writev error codes

2017-01-18 Thread Michael Kerrisk (man-pages)
Hello Michal, On 19 January 2017 at 04:44, Michal Hocko wrote: > Hi, > we have noticed that one of the LTP tests started to fail after > 99526912c934 ("fix iov_iter_fault_in_readable()"). The code has expected > EINVAL while it gets EFAULT. I believe the new behavior is reasonable, > but checking

[PATCH v2 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-01-18 Thread Baoyou Xie
This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 383 ++ 3 files changed, 394 insertions(+) cre

[PATCH v2 2/3] MAINTAINERS: add zx2967 watchdog controller driver to ARM ZTE architecture

2017-01-18 Thread Baoyou Xie
Add the zx2967 watchdog controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434 100644 --- a/MAINTAINERS

[PATCH v2 1/3] dt: bindings: add documentation for zx2967 family watchdog controller

2017-01-18 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie --- .../bindings/watchdog/zte,zx2967-wdt.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/zte,zx296

Re: [PATCH v3 16/24] media: Add i.MX media core driver

2017-01-18 Thread Steve Longerbeam
On 01/14/2017 02:42 PM, Steve Longerbeam wrote: +/* parse inputs property from a sensor node */ +static void of_parse_sensor_inputs(struct imx_media_dev *imxmd, + struct imx_media_subdev *sensor, + struct device_node *sensor_np

RE: [PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process

2017-01-18 Thread Li, Liang Z
> On Wed, Jan 18, 2017 at 04:56:58AM +, Li, Liang Z wrote: > > > > - virtqueue_add_outbuf(vq, &sg, 1, vb, GFP_KERNEL); > > > > - virtqueue_kick(vq); > > > > +static void do_set_resp_bitmap(struct virtio_balloon *vb, > > > > + unsigned long base_pfn, int pages) > > > >

New attempt at adding an disassembler to perf

2017-01-18 Thread Andi Kleen
A native disassembler in perf is very useful, in particular with perf script to trace instruction streams, but also for other analysis. Previously I attempted to do this using the udis86 library, but that was rejected because: - udis86 was not maintained anymore and lacking recent instructions -

[PATCH 5/5] perf, tools, script: Add brstackasm output for branch stacks

2017-01-18 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and cycle count / IPC information if available (on Skylake systems). This only works when no special

[PATCH 4/5] perf, tools, script: Add support for printing assembler

2017-01-18 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the Intel xed library to implement assembler o

Re: [PATCH 00/33] Input: Automated coccinelle cleanup

2017-01-18 Thread Joe Perches
On Wed, 2017-01-18 at 09:46 -0800, Guenter Roeck wrote: > The conversion was done automatically with coccinelle using several semantic > patches. The semantic patches and the scripts used to generate this commit > log are available at https://github.com/groeck/coccinelle-patches. It'd be better to

Re: [PATCH v11 10/12] drm/mediatek: add non-continuous clock mode and EOT packet control

2017-01-18 Thread CK Hu
Hi, YT: On Wed, 2017-01-11 at 14:51 +0800, YT Shen wrote: > This patch will update dsi clock control method. > 1. dsi non-continue clock mode will enhance antistatic effect for panel > 2. EOT packet control will judge whether dsi send end of packet or not > by customize > > Signed-off-by: shaomin

[PATCH 1/5] perf, tools: Add probing for xed

2017-01-18 Thread Andi Kleen
From: Andi Kleen Add autoprobing for the xed disassembler library. Can be downloaded from https://github.com/intelxed/xed v2: Hide. Require XED=1 to enable. Add XED_DIR v3: Remove -lxed from probe all. Don't touch FEATURE_DISPLAY. v4: Move to FEATURE_FLAGS_BASIC Signed-off-by: Andi Kleen ---

[PATCH 2/5] perf, tools: Add one liner warning for disabled features

2017-01-18 Thread Andi Kleen
From: Andi Kleen Add a one liner warning for perf features that need to be enabled explicitly by the user, so that they know they are missing something. Currently enabled for XED and BABELTRACE. Signed-off-by: Andi Kleen --- tools/perf/Makefile.config | 10 ++ 1 file changed, 10 insert

[PATCH 3/5] perf, tools: Add disassembler for x86 using the XED library

2017-01-18 Thread Andi Kleen
From: Andi Kleen Add a generic disassembler function for x86 using the XED library, and a fallback function for architectures that don't implement one. Other architectures can implement their own disassembler functions. The previous version of this patch used udis86, but was rejected because udi

Re: [PATCH] kprobes: move kprobe declarations to asm-generic/kprobes.h

2017-01-18 Thread Masami Hiramatsu
Hi Luis, On Wed, 18 Jan 2017 09:48:40 -0800 "Luis R. Rodriguez" wrote: > Often all is needed is these small helpers, instead of compiler.h > or a full kprobes.h. This is important for asm helpers, in fact even > some asm/kprobes.h make use of these helpers... instead just keep a > generic asm fi

Re: [PATCH] usb: dwc3: core: Disable USB2.0 phy suspend when dwc3 acts as host role

2017-01-18 Thread John Youn
On 1/16/2017 2:38 AM, Felipe Balbi wrote: > > Hi, > > John Youn writes: >>> Baolin Wang writes: > Baolin Wang writes: >> When dwc3 controller acts as host role with attaching slow speed device >> (like mouse or keypad). Then if we plugged out the slow speed device, >> it will tim

RE: [virtio-dev] Re: [PATCH v6 kernel 2/5] virtio-balloon: define new feature bit and head struct

2017-01-18 Thread Li, Liang Z
> > > > > > Signed-off-by: Liang Li > > > > > > Cc: Michael S. Tsirkin > > > > > > Cc: Paolo Bonzini > > > > > > Cc: Cornelia Huck > > > > > > Cc: Amit Shah > > > > > > Cc: Dave Hansen > > > > > > Cc: Andrea Arcangeli > > > > > > Cc: David Hildenbrand > > > > > > --- > > > > > > include/ua

[PATCH 2/2] security: Change name of CONFIG_DEBUG_SET_MODULE_RONX

2017-01-18 Thread Laura Abbott
Despite the word 'debug' in CONFIG_DEBUG_SET_MODULE_RONX, this kernel option provides key security features that are to be expected on a modern system. Change the name to CONFIG_HARDENED_MODULE_MAPPINGS which more accurately describes what this option is intended to do. Signed-off-by: Laura Abbot

[PATCH 1/2] security: Change name of CONFIG_DEBUG_RODATA

2017-01-18 Thread Laura Abbott
Despite the word 'debug' in CONFIG_DEBUG_RODATA, this kernel option provides key security features that are to be expected on a modern system. Change the name to CONFIG_HARDENED_PAGE_MAPPINGS which more accurately describes what this option is intended to do. Signed-off-by: Laura Abbott --- Doc

[RFC][PATCH 0/2] Better hardening names

2017-01-18 Thread Laura Abbott
Hi, It's come up previously that CONFIG_DEBUG_SET_MODULE_RONX and CONFIG_DEBUG_RODATA are not accurate names, mostly they should not have the word 'debug' in them. This series attempts to change the names to something a bit more descriptive and indicative of what they are actually used for these d

Re: [RFC] HWPOISON: soft offlining for non-lru movable page

2017-01-18 Thread Yisheng Xie
On 2017/1/18 17:51, Michal Hocko wrote: > On Wed 18-01-17 12:00:54, Yisheng Xie wrote: >> This patch is to extends soft offlining framework to support >> non-lru page, which already support migration after >> commit bda807d44454 ("mm: migrate: support non-lru movable page >> migration") >> >> Whe

  1   2   3   4   5   6   7   8   9   10   >