Re: [PATCH] Add printk for bonding module packets_per_slave parameter

2017-06-13 Thread kbuild test robot
Hi Michael, [auto build test WARNING on net-next/master] [also build test WARNING on v4.12-rc5 next-20170613] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-Dilmore/Add-printk-for

[PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-13 Thread Salil Mehta
This patch adds the support of the HNAE3 (Hisilicon Network Acceleration Engine 3) framework support to the HNS3 driver. Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE and user-space Ethernet drivers (like ODP etc.) to register with HNAE3 devices and their associated operation

[PATCH V2 net-next 3/8] net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support

2017-06-13 Thread Salil Mehta
This patch adds the support of IMP (Integrated Management Processor) command interface to the HNS3 driver. Each PF/VF has support of CQP(Command Queue Pair) ring interface. Each CQP consis of send queue CSQ and receive queue CRQ. There are various commands a PF/VF may support, like for Flow Table

[RFC/RFT PATCH 3/4] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH

2017-06-13 Thread Grygorii Strashko
This patch adds support of the CPTS HW_TS_PUSH events which are generated by external low frequency time stamp channels on TI's OMAP CPSW[ and Keystone 2 platforms]. It supports up to 8 external time stamp channels for HW_TS_PUSH input pins (the number of supported channel is different for differen

[RFC/RFT PATCH 4/4] [debug] ARM: am335x: illustrate hwstamp

2017-06-13 Thread Grygorii Strashko
This patch allows to test CPTS HW_TS_PUSH functionality on am335x boards below sequence of commands will enable Timer7 to trigger 1sec periodic pulses on CPTS HW4_TS_PUSH input pin: # echo 10 > /sys/class/pwm/pwmchip0/pwm0/period # echo 5 > /sys/class/pwm/pwmchip0/pwm0/duty_cycl

[RFC/RFT PATCH 0/4] net: ethernat: ti: cpts: enable irq and HW_TS_PUSH

2017-06-13 Thread Grygorii Strashko
Intention of this post is to get some early review and wider testing. This series adds CPTS IRQ support, which allows to fix TX timestamping issue and add support for HW_TS_PUSH events. The idea of using CPTS IRQ for proper support of HW_TS_PUSH events was originally discussed in [1]. Further TX

[RFC/RFT PATCH 1/4] net: ethernet: ti: cpts: use own highpri workqueue

2017-06-13 Thread Grygorii Strashko
There could be significant delay in CPTS work schedule under high system load and on -RT which could cause CPTS misbehavior due to internal counter overflow. Usage of own highpri ordered workqueue allows to avoid such kind of issues and makes it possible to tune priority of CPTS workqueue thread on

[RFC/RFT PATCH 2/4] net: ethernat: ti: cpts: enable irq

2017-06-13 Thread Grygorii Strashko
There are two reasons for this change: 1) enabling of HW_TS_PUSH events as suggested by Richard Cochran and discussed in [1] 2) fixing an TX timestamping miss issue which happens with low speed ethernet connections and was reproduced on am57xx and am335x boards. Issue description: With the low Ethe

Re: [PATCH v3] PCI: Workaround wrong flags completions for IDT switch

2017-06-13 Thread James Puthukattukaran
> On Jun 13, 2017, at 6:14 PM, Bjorn Helgaas wrote: > >> On Tue, Jun 13, 2017 at 02:30:55PM -0400, james puthukattukaran wrote: >>> On 6/13/2017 1:00 PM, Yinghai Lu wrote: On Mon, Jun 12, 2017 at 2:48 PM, Bjorn Helgaas wrote: > On Fri, Jun 09, 2017 at 04:16:17PM -0700, Yinghai Lu wrot

Re: [PATCH v8 07/10] hyper-v: globalize vp_index

2017-06-13 Thread Stephen Hemminger
On Fri, 9 Jun 2017 15:27:33 +0200 Vitaly Kuznetsov wrote: > To support implementing remote TLB flushing on Hyper-V with a hypercall > we need to make vp_index available outside of vmbus module. Rename and > globalize. > > Signed-off-by: Vitaly Kuznetsov > Reviewed-by: Andy Shevchenko This is

Re: [PATCH tip/sched/core] Add comments to aid in safer usage of swake_up.

2017-06-13 Thread Steven Rostedt
On Fri, 9 Jun 2017 05:45:54 -0700 "Paul E. McKenney" wrote: > On Fri, Jun 09, 2017 at 09:19:57AM +0200, Peter Zijlstra wrote: > > On Thu, Jun 08, 2017 at 08:25:46PM -0700, Krister Johansen wrote: > > > The behavior of swake_up() differs from that of wake_up(), and from the > > > swake_up() that

[PATCH 1/2] perf evsel: Fix probing of precise_ip level for default cycles event

2017-06-13 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since commit 18e7a45af91a ("perf/x86: Reject non sampling events with precise_ip") returns -EINVAL for sys_perf_event_open() with an attribute with (attr.precise_ip > 0 && attr.sample_period == 0), just like is done in the routine used to probe the max precise level

[GIT PULL 0/2] perf/urgent fixes for 4.12

2017-06-13 Thread Arnaldo Carvalho de Melo
acme/linux into perf/urgent (2017-06-09 00:41:33 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.12-20170613 for you to fetch changes up to 9e0c6fd15fcaea39784d1fb3e9fc573f1cf0ae60: perf tools: Fix build

[PATCH 2/2] perf tools: Fix build with ARCH=x86_64

2017-06-13 Thread Arnaldo Carvalho de Melo
From: Jiada Wang With commit: 0a943cb10ce78 (tools build: Add HOSTARCH Makefile variable) when building for ARCH=x86_64, ARCH=x86_64 is passed to perf instead of ARCH=x86, so the perf build process searchs header files from tools/arch/x86_64/include, which doesn't exist. The following build fail

Re: [PATCH] aio: Add command to wait completion of all requests

2017-06-13 Thread Benjamin LaHaise
On Tue, Jun 13, 2017 at 07:17:43PM +0300, Kirill Tkhai wrote: > On 13.06.2017 18:26, Benjamin LaHaise wrote: > > On Tue, Jun 13, 2017 at 06:11:03PM +0300, Kirill Tkhai wrote: > > ... > >> The functionality, I did, grew from real need and experience. We try to > >> avoid kernel modification, where i

Re: [PATCH tip/sched/core] Add comments to aid in safer usage of swake_up.

2017-06-13 Thread Paul E. McKenney
On Tue, Jun 13, 2017 at 07:23:08PM -0400, Steven Rostedt wrote: > On Fri, 9 Jun 2017 05:45:54 -0700 > "Paul E. McKenney" wrote: > > > On Fri, Jun 09, 2017 at 09:19:57AM +0200, Peter Zijlstra wrote: > > > On Thu, Jun 08, 2017 at 08:25:46PM -0700, Krister Johansen wrote: > > > > The behavior of s

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-13 Thread Serge E. Hallyn
Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > On 05/08/2017 02:11 PM, Serge E. Hallyn wrote: > >Root in a non-initial user ns cannot be trusted to write a traditional > >security.capability xattr. If it were allowed to do so, then any > >unprivileged user on the host could map his own uid

[PATCH v3 0/3] Add Keystone2 Remoteproc driver

2017-06-13 Thread Suman Anna
Hi Bjorn, This is v3 of the patchset that adds the DT binding and the driver for loading and booting the DSP devices present on various Keystone2 SoC families. The binding and driver patches have already been acked by Rob Herring and Santosh Shilimkar respectively, and this is just a minor refres

[PATCH v3 3/3] remoteproc/keystone: Ensure the DSPs are in reset in probe

2017-06-13 Thread Suman Anna
From: "Andrew F. Davis" The DSPs are expected to be in reset when the driver probes a device. If the DSPs are out of reset in probe, the system may crash when the firmware is being loaded. So, add a check to make sure the DSP resets are asserted, and if not, throw a eye-catchy warning and assert

[PATCH v3 2/3] remoteproc/keystone: Add a remoteproc driver for Keystone 2 DSPs

2017-06-13 Thread Suman Anna
The Texas Instrument's Keystone 2 family of SoCs has 1 or more TMS320C66x DSP Core Subsystems (C66x CorePacs). Each subsystem has a C66x Fixed/Floating-Point DSP Core, with 32KB of L1P and L1D SRAMs, that can be configured and partitioned as either RAM and/or Cache, and 1 MB of L2 SRAM. The CorePac

[PATCH v3 1/3] dt-bindings: remoteproc: Add Keystone DSP remoteproc binding

2017-06-13 Thread Suman Anna
Add the device tree bindings document for the Texas Instrument's Keystone 2 DSP remoteproc devices. Signed-off-by: Suman Anna Signed-off-by: Sam Nelson Acked-by: Rob Herring Acked-by: Santosh Shilimkar --- v3: - Picked up the Acks from Rob and Santosh, and addressed the one minor comment f

Re: [PATCH V2 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-13 Thread Florian Fainelli
On 06/13/2017 04:10 PM, Salil Mehta wrote: > This patch adds the support of MDIO bus interface for HNS3 driver. > Code provides various interfaces to start and stop the PHY layer > and to read and write the MDIO bus or PHY. > > Signed-off-by: Daode Huang > Signed-off-by: lipeng > Signed-off-by:

Re: [PATCH v3 18/18] xen: introduce a Kconfig option to enable the pvcalls backend

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Also add pvcalls-back to the Makefile. > > > > Signed-off-by: Stefano Stabellini > > CC: boris.ostrov...@oracle.com > > CC: jgr...@suse.com > > --- > > drivers/xen/Kconfig | 12 > > drivers

Re: [PATCH RFC v3 2/4] tracing: Add support for recording tgid of tasks

2017-06-13 Thread Joel Fernandes
On Tue, Jun 13, 2017 at 11:52 AM, Steven Rostedt wrote: [..] >> +/** >> + * tracing_record_taskinfo - record the task information of multiple tasks >> + * >> + * @tasks - list of tasks (array of task_struct pointers) >> + * @len - length of the list of tasks >> + * @flags - TRACE_RECORD_CMDLINE

[PATCH 0/4] bpf: Changes needed (or desired) for MIPS support

2017-06-13 Thread David Daney
This is a grab bag of changes to the bpf testing infrastructure I developed working on MIPS eBPF JIT support. The change to bpf_jit_disasm is probably universally beneficial, the others are more MIPS specific. David Daney (4): tools: bpf_jit_disasm: Handle large images. test_bpf: Add test to

[PATCH 4/4] samples/bpf: Fix tracex5 to work with MIPS syscalls.

2017-06-13 Thread David Daney
There are two problems: 1) In MIPS the __NR_* macros expand to an expression, this causes the sections of the object file to be named like: . . . [ 5] kprobe/(5000 + 1) PROGBITS 000160 ... [ 6] kprobe/(5000 + 0) PROGBITS 000258 ... [

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-13 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@hallyn.com): > Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > > On 05/08/2017 02:11 PM, Serge E. Hallyn wrote: > > >Root in a non-initial user ns cannot be trusted to write a traditional > > >security.capability xattr. If it were allowed to do so, then any > >

[PATCH 2/4] test_bpf: Add test to make conditional jump cross a large number of insns.

2017-06-13 Thread David Daney
On MIPS, conditional branches can only span 32k instructions. To exceed this limit in the JIT with the BPF maximum of 4k insns, we need to choose eBPF insns that expand to more than 8 machine instructions. Use BPF_LD_ABS as it is quite complex. This forces the JIT to invert the sense of the branc

[PATCH 3/4] bpf: Add MIPS support to samples/bpf.

2017-06-13 Thread David Daney
Signed-off-by: David Daney --- samples/bpf/bpf_helpers.h | 13 + 1 file changed, 13 insertions(+) diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h index 9a9c95f..76526da 100644 --- a/samples/bpf/bpf_helpers.h +++ b/samples/bpf/bpf_helpers.h @@ -135,6 +135,19 @@ stat

[PATCH 1/4] tools: bpf_jit_disasm: Handle large images.

2017-06-13 Thread David Daney
Dynamically allocate memory so that JIT images larger than the size of the statically allocated array can be handled. Signed-off-by: David Daney --- tools/net/bpf_jit_disasm.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/tools/net/bp

Re: [PATCH V2 net-next 1/8] net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC

2017-06-13 Thread Stephen Hemminger
On Wed, 14 Jun 2017 00:10:28 +0100 Salil Mehta wrote: > +static irqreturn_t hns3_irq_handle(int irq, void *dev) > +{ > + struct hns3_enet_tqp_vector *tqp_vector = dev; > + > + napi_schedule(&tqp_vector->napi); In order to do NAPI correctly, the IRQ must be disabled. If you are using MSI,

Re: [PATCH V2 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-06-13 Thread Stephen Hemminger
On Wed, 14 Jun 2017 00:10:34 +0100 Salil Mehta wrote: > +/* netdev related stats */ > +#define HNS3_NETDEV_STAT(_string, _member) \ > + { _string, \ > + FIELD_SIZEOF(struct rtnl_link_stats64, _member), \ > + offse

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-13 Thread Serge E. Hallyn
Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > On 06/13/2017 01:18 PM, Serge E. Hallyn wrote: > >Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > >>On 05/08/2017 02:11 PM, Serge E. Hallyn wrote: > >>>Root in a non-initial user ns cannot be trusted to write a traditional > >>>security.ca

Re: [PATCH v2 2/2] soc: brcmstb: Add driver for DPFE

2017-06-13 Thread Florian Fainelli
Hi Markus, On 06/13/2017 03:37 PM, Markus Mayer wrote: > From: Markus Mayer > > This driver allows access to DRAM properties, such as the refresh rate, > via the Broadcom STB DDR PHY Front End (DPFE). The refresh rate can be > used as indirect indicator of the DRAM temperature. > > The driver a

Re: [PATCH v2 4/5] MIPS: Add support for eBPF JIT.

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 12:28 AM, David Daney wrote: Since the eBPF machine has 64-bit registers, we only support this in 64-bit kernels. As of the writing of this commit log test-bpf is showing: test_bpf: Summary: 316 PASSED, 0 FAILED, [308/308 JIT'ed] All current test cases are successfully compile

Re: [PATCH] drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id

2017-06-13 Thread Mark Brown
On Tue, Jun 13, 2017 at 02:59:49PM -0700, John Stultz wrote: > ALSA SoC needs to know connected DAI ID for probing. Using > the new audio-card-graph approach, ports/endpoints are used > to describe how the links are connected. Unfortunately, since Unless someone objects in the next week or so I in

[PATCH v2] ubifs: Change gfp flags in page allocation for bulk read

2017-06-13 Thread Hyunchul Lee
From: Hyunchul Lee In low memory situations, page allocations for bulk read can kill applications for reclaiming memory, and print an failure message when allocations are failed. Because bulk read is just an optimization, we don't have to do these and can stop page allocations. Though this siuta

Re: [PATCH v1 00/11] mm/kasan: support per-page shadow memory to reduce memory consumption

2017-06-13 Thread Joonsoo Kim
On Tue, Jun 13, 2017 at 07:49:47PM +0300, Andrey Ryabinin wrote: > On 06/08/2017 05:40 AM, Joonsoo Kim wrote: > >>> > >>> I don't understand why we trying to invent some hacky/complex schemes > >>> when we already have > >>> a simple one - scaling shadow to 1/32. It's easy to implement and should

Re: [PATCH 1/1] uio: Fix uio_device memory leak

2017-06-13 Thread Mike Christie
On 06/13/2017 09:01 AM, Greg KH wrote: > On Wed, Jun 07, 2017 at 03:06:44PM -0500, Mike Christie wrote: >> It looks like there might be 2 issues with the uio_device allocation, or it >> looks like we are leaking the device for possibly a specific type of device >> case that I could not find but one

Re: [PATCH 1/4] tools: bpf_jit_disasm: Handle large images.

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 01:49 AM, David Daney wrote: Dynamically allocate memory so that JIT images larger than the size of the statically allocated array can be handled. Signed-off-by: David Daney Acked-by: Daniel Borkmann

Re: [PATCH 2/4] test_bpf: Add test to make conditional jump cross a large number of insns.

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 01:49 AM, David Daney wrote: On MIPS, conditional branches can only span 32k instructions. To exceed this limit in the JIT with the BPF maximum of 4k insns, we need to choose eBPF insns that expand to more than 8 machine instructions. Use BPF_LD_ABS as it is quite complex. This fo

linux-next: manual merge of the net-next tree with the net tree

2017-06-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/qlogic/qed/qed_debug.c between commit: ace17c369295 ("qed: fix dump of context data") from the net tree and commit: 7b6859fbdcc4 ("qed: Utilize FW 8.20.0.0") from the net-next tree. I fixed i

Re: [PATCH 3/4] bpf: Add MIPS support to samples/bpf.

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 01:49 AM, David Daney wrote: Signed-off-by: David Daney Acked-by: Daniel Borkmann

Re: [PATCH 4/4] samples/bpf: Fix tracex5 to work with MIPS syscalls.

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 01:49 AM, David Daney wrote: There are two problems: 1) In MIPS the __NR_* macros expand to an expression, this causes the sections of the object file to be named like: . . . [ 5] kprobe/(5000 + 1) PROGBITS 000160 ... [ 6] kprobe/(5000 +

Re: [PATCH 0/4] bpf: Changes needed (or desired) for MIPS support

2017-06-13 Thread Daniel Borkmann
On 06/14/2017 01:49 AM, David Daney wrote: This is a grab bag of changes to the bpf testing infrastructure I developed working on MIPS eBPF JIT support. The change to bpf_jit_disasm is probably universally beneficial, the others are more MIPS specific. I think these could go independently thro

linux-next: manual merge of the net-next tree with the net tree

2017-06-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/batman-adv/routing.c between commit: a1a745ef980a ("batman-adv: fix memory leak when dropping packet from other gateway") from the net tree and commit: 22f0502ed9f3 ("batman-adv: Print correct function names i

Re: WMI and Kernel:User interface

2017-06-13 Thread Bernd Petrovitsch
On Tue, 2017-06-13 at 10:40 -0700, Darren Hart wrote: [...] > There are plenty of other examples of things you can do to screw up the > state of your system if you have the right permissions for which the > answer is "don't do that". Consider MEM(4), SETPCI(8), ... /dev/sda ... > for example. So w

[PATCH v3] ubifs: Change gfp flags in page allocation for bulk read

2017-06-13 Thread Hyunchul Lee
From: Hyunchul Lee In low memory situations, page allocations for bulk read can kill applications for reclaiming memory, and print an failure message when allocations are failed. Because bulk read is just an optimization, we don't have to do these and can stop page allocations. Though this siuta

[PATCH v2 1/1] MAINTAINERS: Update SPI NOR subsystem git repositories

2017-06-13 Thread Cyrille Pitchen
SPI NOR branches are now hosted on MTD repos, spi-nor/next is on l2-mtd and spi-nor/fixes is on linux-mtd. Signed-off-by: Cyrille Pitchen --- ChangeLog v1 -> v2 - add branch names 'spi-nor/fixes' and 'spi-nor/next' after url. MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH 1/1] uio: Fix uio_device memory leak

2017-06-13 Thread Mike Christie
On 06/13/2017 07:16 PM, Mike Christie wrote: > On 06/13/2017 09:01 AM, Greg KH wrote: >> > On Wed, Jun 07, 2017 at 03:06:44PM -0500, Mike Christie wrote: >>> >> It looks like there might be 2 issues with the uio_device allocation, or >>> >> it >>> >> looks like we are leaking the device for possib

Re: [PATCH v3 08/18] xen/pvcalls: implement connect command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Allocate a socket. Keep track of socket <-> ring mappings with a new data > > structure, called sock_mapping. Implement the connect command by calling > > inet_stream_connect, and mapping the new indexes pa

Re: [PATCH v3 11/18] xen/pvcalls: implement accept command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Implement the accept command by calling inet_accept. To avoid blocking > > in the kernel, call inet_accept(O_NONBLOCK) from a workqueue, which get > > scheduled on sk_data_ready (for a passive socket, it me

Re: [PATCH v3 07/18] xen/pvcalls: implement socket command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Just reply with success to the other end for now. Delay the allocation > > of the actual socket to bind and/or connect. > > > > Signed-off-by: Stefano Stabellini > > CC: boris.ostrov...@oracle.com > > CC:

Re: [PATCH v3 09/18] xen/pvcalls: implement bind command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Allocate a socket. Track the allocated passive sockets with a new data > > structure named sockpass_mapping. It contains an unbound workqueue to > > schedule delayed work for the accept and poll commands. I

Re: [PATCH v3 13/18] xen/pvcalls: implement release command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Release both active and passive sockets. For active sockets, make sure > > to avoid possible conflicts with the ioworker reading/writing to those > > sockets concurrently. Set map->release to let the iowork

Re: [PATCH v3 12/18] xen/pvcalls: implement poll command

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Implement poll on passive sockets by requesting a delayed response with > > mappass->reqcopy, and reply back when there is data on the passive > > socket. > > > > Poll on active socket is unimplemented as

Re: [PATCH v2 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver

2017-06-13 Thread kbuild test robot
Hi Al, [auto build test ERROR on phy/next] [also build test ERROR on next-20170613] [cannot apply to linus/master v4.12-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Al-Cooper/Add

Re: [PATCH v2 1/4] soc: brcmstb: Add Product ID and Family ID helper functions

2017-06-13 Thread Florian Fainelli
On 06/13/2017 07:55 AM, Al Cooper wrote: > From: Al Cooper > > Signed-off-by: Al Cooper > --- > drivers/soc/bcm/brcmstb/common.c| 12 > include/linux/soc/brcmstb/brcmstb.h | 10 ++ > 2 files changed, 22 insertions(+) > > diff --git a/drivers/soc/bcm/brcmstb/common.c >

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2017-06-13 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/intel_display.c between commit: 9a775e0308b5 ("drm/i915: Fix scaling check for 90/270 degree plane rotation") from the drm-intel-fixes tree and commit: c2c446ad2943 ("drm: Add DRM_MODE_ROTATE_ and

RE: [PATCH v4] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-13 Thread Shaikh, Azhar
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Monday, June 12, 2017 12:50 AM > To: Shaikh, Azhar > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org; linux-security-mod...@vger.kernel.org

Re: [PATCH v3 14/18] xen/pvcalls: disconnect and module_exit

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > Implement backend_disconnect. Call pvcalls_back_release_active on active > > sockets and pvcalls_back_release_passive on passive sockets. > > > > Implement module_exit by calling backend_disconnect on fron

Re: [PATCH 00/11] ARM: dts: imx6qdl: video capture support

2017-06-13 Thread Fabio Estevam
Hi Steve, On Mon, Jun 12, 2017 at 3:23 PM, Steve Longerbeam wrote: > This series defines the i.MX6 internal video multiplexers and MIPI CSI-2 > receiver device nodes, and their connections to eachother and the i.MX6 > IPU CSI ports. > > It also implements video capture support on the SabreLite, S

Re: [PATCH v3 15/18] xen/pvcalls: implement the ioworker functions

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > We have one ioworker per socket. Each ioworker goes through the list of > > outstanding read/write requests. Once all requests have been dealt with, > > it returns. > > > > We use one atomic counter per so

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2017-06-13 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/intel_pm.c between commit: 1c2d6bbf0433 ("drm/i915: Fix SKL+ watermarks for 90/270 rotation") from the drm-intel-fixes tree and commit: 7084b50bdd8f ("drm/i915/skl+: calculate pixel_rate & relative

Re: [PATCH v3 16/18] xen/pvcalls: implement read

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > When an active socket has data available, increment the io and read > > counters, and schedule the ioworker. > > > > Implement the read function by reading from the socket, writing the data > > to the data

Re: [PATCH v3 17/18] xen/pvcalls: implement write

2017-06-13 Thread Stefano Stabellini
On Tue, 13 Jun 2017, Juergen Gross wrote: > On 02/06/17 21:31, Stefano Stabellini wrote: > > When the other end notifies us that there is data to be written > > (pvcalls_back_conn_event), increment the io and write counters, and > > schedule the ioworker. > > > > Implement the write function calle

Re: [PATCH 4/4] KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit

2017-06-13 Thread Wanpeng Li
2017-06-14 2:19 GMT+08:00 Radim Krčmář : > 2017-06-12 23:08-0700, Wanpeng Li: >> From: Wanpeng Li >> >> Adds another flag bit (bit 2) to MSR_KVM_ASYNC_PF_EN. If bit 2 is 1, async >> page faults are delivered to L1 as #PF vmexits; if bit 2 is 0, >> kvm_can_do_async_pf >> returns 0 if in guest mode

Re: [PATCH 3/4] KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf

2017-06-13 Thread Wanpeng Li
2017-06-14 2:55 GMT+08:00 Radim Krčmář : > 2017-06-12 23:08-0700, Wanpeng Li: >> From: Wanpeng Li >> >> Add an async_page_fault field to vcpu->arch.exception to identify an async >> page fault, and constructs the expected vm-exit information fields. Force >> a nested VM exit from nested_vmx_check_

Re: [PATCH net-next 6/9] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-13 Thread Andrew Lunn
> Since I would be touching the core, lots of drivers will get impacted and will > have to wait till everyone gives clean signal. This will impact our internal > deadlines. But as I said I am eager to cooperate & contribute :) Just as an FYI. Your internal deadlines are irrelevant. We will reject

Re: [PATCH v4 2/2] arm: dts: Add Mediatek MT2701 i2c device node

2017-06-13 Thread Jun Gao
On Tue, 2017-06-13 at 15:45 +0200, Matthias Brugger wrote: > > On 13/06/17 15:23, Jun Gao wrote: > > On Tue, 2017-06-13 at 14:52 +0200, Matthias Brugger wrote: > >> > >> On 13/06/17 12:24, Jun Gao wrote: > >>> On Tue, 2017-06-13 at 11:36 +0200, Matthias Brugger wrote: > > On 12/06/17 13:

Re: [PATCH 6/8] usb: gadget: f_acm: add an ioctl to get the current line coding

2017-06-13 Thread Alan Cox
On Mon, 12 Jun 2017 20:26:13 +0300 Tal Shorer wrote: > The user can issue USB_F_GET_LINE_CODING to get the current line coding > as set by the host (or the default if unset yet). No this is not how to do it. We don't want weirdass ioctls for each different tty device type. There are two ways th

Re: [PATCH v2 1/8] tty: add a poll() callback in struct tty_operations

2017-06-13 Thread Alan Cox
On Tue, 13 Jun 2017 09:52:07 +0300 Tal Shorer wrote: > If a tty driver wants to notify the user of some exceptional event, > such as a usb cdc acm device set_line_coding event, it needs a way to > modify the mask returned by poll() and possible also add wait queues. > In order to do that, we allo

Re: [PATCH v2] Kbuild: tiny correction on `make help`

2017-06-13 Thread Masahiro Yamada
2017-06-13 18:52 GMT+09:00 Cao jin : > Yamada-san, > > I have a question on the current top level Makefile. There are > following lines, I have trouble to understand "firstword x$(MAKEFLAGS)" > in 2nd line, why there is a 'x' there? > > > ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4 > ifn

Re: [PATCH v1 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-13 Thread Alan Cox
> | A trusted path is one that is inside is a root owned directory that > | is not group or world writable. /bin, /usr/bin, /usr/local/bin, are > | (under normal circumstances) considered trusted. Any non-root > | users home directory is not trusted, nor is /tmp. You need the entire path to be r

Re: [PATCH tip/sched/core] Add comments to aid in safer usage of swake_up.

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 16:42:05 -0700 "Paul E. McKenney" wrote: > On Tue, Jun 13, 2017 at 07:23:08PM -0400, Steven Rostedt wrote: > > On Fri, 9 Jun 2017 05:45:54 -0700 > > "Paul E. McKenney" wrote: > > > > > On Fri, Jun 09, 2017 at 09:19:57AM +0200, Peter Zijlstra wrote: > > > > On Thu, Jun 08

Re: [PATCH] drm/mediatek: fixup error memory reallocation

2017-06-13 Thread CK Hu
On Mon, 2017-06-12 at 15:15 +0800, YT Shen wrote: > Previous patch (c5f228ef6c drm/mediatek: add *driver_data for different > hardware settings) calls devm_kfree() and then devm_kzalloc() to > reallocate color module data structure. But this reallocation cannnot > guarantee the new address is unch

linux-next: build failure after merge of the sound-asoc tree

2017-06-13 Thread Stephen Rothwell
simple-card.ko] undefined! Caused by commit bb24a3ba3f52 ("ASoC: simple-scu-card: use asoc_simple_card_clk_xxx()") These symbols are not exported to modules. I have used the sound-asoc tree from next-20170613 for today. -- Cheers, Stephen Rothwell

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Will Hawkins
On Tue, Jun 13, 2017 at 4:04 PM, Steven Rostedt wrote: > On Tue, 13 Jun 2017 14:02:08 -0400 > Will Hawkins wrote: > >> Thank you for pointing this out. I had been using -F for exactly the >> reason that you mentioned. I failed to include it in the command that >> I sent along. Very sorry for the

Re: [PATCH v2 1/4] kbuild: Add cc-option-raw macro

2017-06-13 Thread Masahiro Yamada
2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines > whether an option is supported or not. This is fine for options used to > build the kernel itself, however some components like the x86 boot code > use a different set of flags. > >

Re: [PATCH v2 2/4] spi: rockchip: add support for "cs-gpios" dts property

2017-06-13 Thread jeffy
Hi Brian, Thanx for your comments :) On 06/14/2017 01:33 AM, Brian Norris wrote: Hi Jeffy, On Tue, Jun 13, 2017 at 01:25:41PM +0800, Jeffy Chen wrote: Support using "cs-gpios" property to specify cs gpios. Signed-off-by: Jeffy Chen 1/ request cs gpios in probe for better error handling 2/ u

Re: [PATCH v2 2/4] kbuild: Add hostcc-option macro

2017-06-13 Thread Masahiro Yamada
2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > hostcc-option is equivalent to cc-option, but uses the host compiler > and HOSTCFLAGS. Change HOSTCFLAGS to a simple expanded variable to > allow for HOSTCFLAGS += $(call hostcc-option, ...). > > Suggested-by: Arnd Bergmann > Suggested-by: Masahiro Y

Re: [PATCH v2 0/4] x86: stack alignment for boot code and clang

2017-06-13 Thread Masahiro Yamada
2017-06-14 8:08 GMT+09:00 Matthias Kaehlcke : > This series fixes an issue with the stack of the x86 boot code not > being aligned as intended. Further it adapts the Makefile to account > for the fact that clang uses a different option to configure the > stack alignment than gcc (-mstack-alignment=

Re: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-13 Thread Andrew Lunn
On Wed, Jun 14, 2017 at 12:10:29AM +0100, Salil Mehta wrote: > This patch adds the support of the HNAE3 (Hisilicon Network > Acceleration Engine 3) framework support to the HNS3 driver. > > Framework facilitates clients like ENET(HNS3 Ethernet Driver), RoCE > and user-space Ethernet drivers (like

Re: [PATCH V2 net-next 2/8] net: hns3: Add support of the HNAE3 framework

2017-06-13 Thread Andrew Lunn
On Wed, Jun 14, 2017 at 12:10:29AM +0100, Salil Mehta wrote: > +static int __init hnae3_init(void) > +{ > + return 0; > +} > + .. > +subsys_initcall(hnae3_init); And the point of this is? Andrew

Re: [PATCH v4 09/16] perf header: don't pass struct perf_file_section to process_##_feat

2017-06-13 Thread David Carrillo-Cisneros
On Tue, Jun 13, 2017 at 11:54 AM, Jiri Olsa wrote: > On Mon, Jun 12, 2017 at 09:29:25PM -0700, David Carrillo-Cisneros wrote: > > SNIP > >> struct cpu_cache_level *caches; >> u32 cnt, i, version; >> @@ -2084,8 +2073,7 @@ static int process_cache(struct perf_file_section >> *section __

Re: [PATCH RFC] mnt: umount mounts one by one in umount_tree()

2017-06-13 Thread Ian Kent
On Fri, 2017-05-12 at 00:08 -0700, Andrei Vagin wrote: > With this patch, we don't try to umount all mounts of a tree together. > Instead of this we umount them one by one. In this case, we see a significant > improvement in performance for the worsе case. Indeed, umount has been very slow for a w

Re: [PATCH v15 2/7] power: add power sequence library

2017-06-13 Thread Peter Chen
On Tue, Jun 13, 2017 at 12:24:42PM +0200, Ulf Hansson wrote: > [...] > > > + > > +/** > > + * of_pwrseq_on - Carry out power sequence on for device node > > + * > > + * @np: the device node would like to power on > > + * > > + * Carry out a single device power on. If multiple devices > > + * need

Re: [PATCH v4 12/16] perf header: add a buffer to struct feat_fd

2017-06-13 Thread David Carrillo-Cisneros
On Tue, Jun 13, 2017 at 11:54 AM, Jiri Olsa wrote: > On Mon, Jun 12, 2017 at 09:29:28PM -0700, David Carrillo-Cisneros wrote: > > SNIP > >> /* Return: 0 if succeded, -ERR if failed. */ >> int write_padded(struct feat_fd *ff, const void *bf, >>size_t count, size_t count_aligned) >

Re: [PATCH v2 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver

2017-06-13 Thread kbuild test robot
Hi Al, [auto build test ERROR on phy/next] [also build test ERROR on next-20170613] [cannot apply to linus/master v4.12-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Al-Cooper/Add

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

2017-06-13 Thread Stephen Rothwell
Hi Shaohua, After merging the md tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/md/raid1.c: In function 'raid1_write_request': drivers/md/raid1.c:1359:7: error: 'struct bio' has no member named 'bi_error' bio->bi_error = -ETIMEDOUT; ^ drivers/md/raid

Re: Ftrace vs perf user page fault statistics differences

2017-06-13 Thread Steven Rostedt
On Tue, 13 Jun 2017 21:27:20 -0400 Will Hawkins wrote: > But, while I have your ear, I was wondering if you could direct me to > where the page_fault_user gathers its information (when tracing) and > where that information is formatted for printing (in trace-cmd). I'd > really like to investigate

Re: [PATCH V2 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-06-13 Thread Andrew Lunn
> + switch (media_type) { > + case HNAE3_MEDIA_TYPE_FIBER: > + cmd->base.port = PORT_FIBRE; > + supported_caps = HNS3_LM_FIBRE_BIT | HNS3_LM_AUTONEG_BIT | > + HNS3_LM_PAUSE_BIT | HNS3_LM_4BASELR4_FULL_BIT | > + HNS3_LM_1000

Re: linux-next: build failure after merge of the sound-asoc tree

2017-06-13 Thread Kuninori Morimoto
" > [sound/soc/generic/snd-soc-simple-card.ko] undefined! > > Caused by commit > > bb24a3ba3f52 ("ASoC: simple-scu-card: use asoc_simple_card_clk_xxx()") > > These symbols are not exported to modules. > > I have used the sound-asoc tree from next-2017

Re: [PATCH v8 07/10] hyper-v: globalize vp_index

2017-06-13 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > On Fri, 9 Jun 2017 15:27:33 +0200 > Vitaly Kuznetsov wrote: > >> To support implementing remote TLB flushing on Hyper-V with a hypercall >> we need to make vp_index available outside of vmbus module. Rename and >> globalize. >> >> Signed-off-by: Vitaly Kuznetsov >>

Re: [PATCH V2 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-06-13 Thread Andrew Lunn
> +static const struct hns3_link_mode_mapping hns3_lm_map[] = { > + {HNS3_LM_FIBRE_BIT, ETHTOOL_LINK_MODE_FIBRE_BIT}, > + {HNS3_LM_AUTONEG_BIT, ETHTOOL_LINK_MODE_Autoneg_BIT}, > + {HNS3_LM_TP_BIT, ETHTOOL_LINK_MODE_TP_BIT}, > + {HNS3_LM_PAUSE_BIT, ETHTOOL_LINK_MODE_Pause_BIT}, > +

Re: [PATCH] kernel/kprobes: Add test to validate pt_regs

2017-06-13 Thread Masami Hiramatsu
On Fri, 9 Jun 2017 00:53:08 +0530 "Naveen N. Rao" wrote: > Add a test to verify that the registers passed in pt_regs on kprobe > (trap), optprobe (jump) and kprobe_on_ftrace (ftrace_caller) are > accurate. The tests are exercized if KPROBES_SANITY_TEST is enabled. Great! > > Implemented for p

Re: [PATCH V2 net-next 6/8] net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC

2017-06-13 Thread Andrew Lunn
> +struct hclge_mdio_cfg_cmd { > + u8 ctrl_bit; > + u8 prtad; /* The external port address */ > + u8 devad; /* The external device address */ > + u8 rsvd; > + __le16 addr_c45;/* Only valid for c45 */ > + __le16 data_wr; > + __le16 data_rd; > + __le16 sta;

[PATCH] ip6_tunnel: Correct tos value in collect_md mode

2017-06-13 Thread Haishuang Yan
Same as ip_gre, geneve and vxlan, use key->tos as tos value. CC: Peter Dawson Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packets”) Suggested-by: Daniel Borkmann Signed-off-by: Haishuang Yan --- Changes since v2: * Add fixes information * mask key->tos wi

netns performance

2017-06-13 Thread Don Bowman
This was talked about before (e.g. https://lkml.org/lkml/2014/6/11/42) In 3.10, this 'script' takes ~1s to run, regardless of # CPU: ip netns add foo ip netns add bar for i in `seq 0 1000` do echo -e 'netns exec foo echo\nnetns exec bar echo' >> ipnetns.batch done time ip -b ipnetns.batch > /de

[PATCH] of: update ePAPR references to point to Devicetree Specification

2017-06-13 Thread frowand . list
From: Frank Rowand The Devicetree Specification has superseded the ePAPR as the base specification for bindings. Update files in Documentation to reference the new document. Some files are not updated because there is no hypervisor chapter in the Devicetree Specification: Documentation/devic

<    4   5   6   7   8   9   10   11   >