Re: [PATCH 03/22] NTB: Alter NTB API to support both inbound and outbound MW based interfaces

2016-11-30 Thread kbuild test robot
Hi Serge, [auto build test ERROR on ntb/ntb-next] [also build test ERROR on v4.9-rc7 next-20161130] [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/Serge-Semin/NTB-Alter-kernel-API-to-support

[GIT PULL] pwm: Fixes for v4.9

2016-11-30 Thread Thierry Reding
Hi Linus, The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.9 for you to fetch changes up

Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-30 Thread David Miller
From: Gregory CLEMENT Date: Tue, 29 Nov 2016 15:55:21 +0100 > + /* Virtual address of the RX buffer */ > + void **buf_virt_addr; > + > /* Virtual address of the RX DMA descriptors array */ > struct mvneta_rx_desc *descs; > ... > + data = (unsigned char *)rxq->b

Re: [PATCH v3 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-11-30 Thread Joshua Clayton
Hi Alan, On 11/30/2016 09:45 AM, atull wrote: > On Wed, 30 Nov 2016, Joshua Clayton wrote: > > Hi Clayton, > > I just have a few minor one line changes below. Only one > is operational, I should have caught that earlier. > Thanks for the speedy review. >> +}; >> +MODULE_DEVICE_TABLE(of, of_ef_mat

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Jarod Wilson
On 2016-11-30 1:50 PM, Prarit Bhargava wrote: On 11/30/2016 01:36 PM, Linus Torvalds wrote: On Wed, Nov 30, 2016 at 10:28 AM, Prarit Bhargava wrote: ]> In my case I tracked this to commit 3637efb00864 ("x86/mce: Add PCI quirks to identify Xeons with machine check recovery") which adds the inc

Re: [PATCH 1/6] dax: fix build breakage with ext4, dax and !iomap

2016-11-30 Thread Ross Zwisler
On Tue, Nov 29, 2016 at 09:53:03AM +0100, Jan Kara wrote: > On Mon 28-11-16 12:15:04, Ross Zwisler wrote: > > On Thu, Nov 24, 2016 at 10:02:39AM +0100, Jan Kara wrote: > > > On Wed 23-11-16 11:44:17, Ross Zwisler wrote: > > > > With the current Kconfig setup it is possible to have the following: >

Re: BUG: KASAN: stack-out-of-bounds in unwind_get_return_address

2016-11-30 Thread Scott Bauer
On Wed, Nov 30, 2016 at 12:35:07PM -0600, Josh Poimboeuf wrote: > On Tue, Nov 29, 2016 at 11:13:01AM -0700, Scott Bauer wrote: > > This is super easy to repro ontop of 4.9-rc7: > > run pm-suspend and it hits every time > > > > > > [ 968.667086] > > ==

Re: [PATCH 1/4] locking: Begin kselftests for ww_mutex

2016-11-30 Thread kbuild test robot
Hi Chris, [auto build test WARNING on tip/locking/core] [also build test WARNING on v4.9-rc7 next-20161130] [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/Chris-Wilson/locking-Begin-kselftests

Re: [PATCH net-next] net: thunderx: Fix transmit queue timeout issue

2016-11-30 Thread David Miller
From: sunil.kovv...@gmail.com Date: Tue, 29 Nov 2016 17:10:20 +0530 > + /* Check again, incase another cpu freed descriptors */ > + if (atomic_read(&sq->free_cnt) > MIN_SQ_DESC_PER_PKT_XMIT) { > + netif_tx_start_queue(txq); You have to use netif_tx_wake

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

2016-11-30 Thread Stephen Boyd
On 11/29, Vivek Gautam wrote: > On Tue, Nov 29, 2016 at 4:25 AM, Stephen Boyd wrote: > > On 11/22, Vivek Gautam wrote: > >> diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > >> b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > >> new file mode 100644 > >> index 00

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-30 Thread Josh Poimboeuf
On Tue, Nov 29, 2016 at 12:32:59PM -0800, Paul E. McKenney wrote: > On Tue, Nov 29, 2016 at 12:07:11PM -0800, Paul E. McKenney wrote: > > On Tue, Nov 29, 2016 at 08:52:04PM +0100, Peter Zijlstra wrote: > > > On Tue, Nov 29, 2016 at 11:39:35AM -0800, Paul E. McKenney wrote: > > > > On Tue, Nov 29, 2

Re: [PATCH 02/22] NTB: Add peer indexed ports NTB API

2016-11-30 Thread kbuild test robot
Hi Serge, [auto build test ERROR on ntb/ntb-next] [also build test ERROR on v4.9-rc7 next-20161130] [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/Serge-Semin/NTB-Alter-kernel-API-to-support

Re: [PATCH kernel v5 5/5] virtio-balloon: tell host vm's unused page info

2016-11-30 Thread Dave Hansen
On 11/30/2016 12:43 AM, Liang Li wrote: > +static void send_unused_pages_info(struct virtio_balloon *vb, > + unsigned long req_id) > +{ > + struct scatterlist sg_in; > + unsigned long pos = 0; > + struct virtqueue *vq = vb->req_vq; > + struct virtio_ballo

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-30 Thread Jernej Škrabec
Dne četrtek, 01. december 2016 ob 03:03:14 CET je Icenowy Zheng napisal(a): > 2016年12月1日 02:49于 Jernej Skrabec 写道: > > > Hi Jean-François, > > > > Dne sreda, 30. november 2016 10.35.08 UTC+1 je oseba Jean-François Moine napisala: > >> On Tue, 29 Nov 2016 22:59:32 +0100 > >> > >> Maxime Ripard

[PATCH 1/1] ax25: Fix segfault when receiving an iframe with net2kiss loaded

2016-11-30 Thread Basil Gunn
AX.25 uses sock_queue_rcv_skb() to queue an iframe received packet. This routine writes NULL to the socket buffer device structure pointer. The socket buffer is subsequently serviced by __netif_receiv_skb_core() which dereferences the device structure pointer & segfaults. The fix puts the ax25 dev

Re: net/sctp: vmalloc allocation failure in sctp_setsockopt/xt_alloc_table_info

2016-11-30 Thread Marcelo Ricardo Leitner
On Mon, Nov 28, 2016 at 04:18:03PM -0200, Marcelo Ricardo Leitner wrote: > On Mon, Nov 28, 2016 at 07:09:25PM +0100, Florian Westphal wrote: > > Neil Horman wrote: > > > > [ trimming CCs ] > > > > > On Mon, Nov 28, 2016 at 06:47:10PM +0100, Florian Westphal wrote: > > > > Neil Horman wrote: > >

Re: next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-30 Thread Guenter Roeck
On Wed, Nov 30, 2016 at 04:03:33AM -0800, Paul E. McKenney wrote: > On Wed, Nov 30, 2016 at 02:52:11AM -0800, Guenter Roeck wrote: > > On 11/29/2016 11:02 PM, Paul E. McKenney wrote: > > >On Tue, Nov 29, 2016 at 08:32:51PM -0800, Guenter Roeck wrote: > > >>On 11/29/2016 05:28 PM, Paul E. McKenney w

Re: [PATCH V2 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-11-30 Thread David Miller
From: Salil Mehta Date: Tue, 29 Nov 2016 13:09:45 + > + /* We only support checksum for IPv4,UDP(over IPv4 or IPv6), TCP(over > + * IPv4 or IPv6) and SCTP but we support many L3(IPv4, IPv6, MPLS, > + * PPPoE etc) and L4(TCP, UDP, GRE, SCTP, IGMP, ICMP etc.) protocols. > + *

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Linus Torvalds
On Wed, Nov 30, 2016 at 10:50 AM, Prarit Bhargava wrote: > > It comes back. The steps to reproduce this are: > > 1. checkout latest linux.git > 2. make -j112 > > (IOW, it occurs 100% of the time for me on a clean tree.) I suspect it's not new, it's just that you are able to hit the timing just

Re: [PATCH net] cdc_ether: Fix handling connection notification

2016-11-30 Thread Henning Schild
Am Wed, 30 Nov 2016 19:42:16 +0100 schrieb Kristian Evensen : > Commit bfe9b9d2df66 ("cdc_ether: Improve ZTE MF823/831/910 handling") > introduced a work-around in usbnet_cdc_status() for devices that > exported cdc carrier on twice on connect. Before the commit, this > behavior caused the link st

RE: [PATCH] x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic

2016-11-30 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, November 30, 2016 9:55 AM > To: x...@kernel.org; de...@linuxdriverproject.org > Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; > Haiyang Zhang ; Thomas Gleixner > ; Ingo Molnar ; H. Peter Anvi

Re: [PATCH 0/5] cpsw: add per channel shaper configuration

2016-11-30 Thread David Miller
From: Ivan Khoronzhuk Date: Tue, 29 Nov 2016 17:00:46 +0200 > This series is intended to allow user to set rate for per channel > shapers at cpdma level. This patchset doesn't have impact on performance. > The rate can be set with: > > echo 100 > /sys/class/net/ethX/queues/tx-0/tx_maxrate > > T

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-30 Thread Jean-Francois Moine
On Wed, 30 Nov 2016 20:14:11 +0100 Jernej Škrabec wrote: > Dne četrtek, 01. december 2016 ob 03:03:14 CET je Icenowy Zheng napisal(a): > > 2016年12月1日 02:49于 Jernej Skrabec 写道: > > > > > Hi Jean-François, > > > > > > Dne sreda, 30. november 2016 10.35.08 UTC+1 je oseba Jean-François Moine > nap

Re: [PATCH v3 3/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-11-30 Thread atull
On Wed, 30 Nov 2016, Joshua Clayton wrote: Hi Joshua, > Hi Alan, > > On 11/30/2016 09:45 AM, atull wrote: > > On Wed, 30 Nov 2016, Joshua Clayton wrote: > > > > Hi Clayton, > > > > I just have a few minor one line changes below. Only one > > is operational, I should have caught that earlier. >

Re: pull-request: wireless-drivers 2016-11-29

2016-11-30 Thread David Miller
From: Kalle Valo Date: Tue, 29 Nov 2016 16:59:44 +0200 > if there's still time here's one more patch to 3.9. I think this is good > to have in 3.9 as it fixes an issue where we were printing uninitialised > memory in mwifiex. I had this in wireless-drivers already for some time > as I was waiting

[PATCH] netfilter: avoid warn and OOM on vmalloc call

2016-11-30 Thread Marcelo Ricardo Leitner
Hi Andrey, Please let me know how this works for you. It seems good here, though your poc may still trigger OOM through other means. Thanks, Marcelo ---8<--- Andrey Konovalov reported that this vmalloc call is based on an userspace request and that it's spewing traces, which may flood the logs

Re: [RFC 4/4] mm: Ignore cpuset enforcement when allocation flag has __GFP_THISNODE

2016-11-30 Thread Dave Hansen
On 11/30/2016 03:17 AM, Anshuman Khandual wrote: > Right but what is the rationale behind this ? This what is in the in-code > documentation for this function __cpuset_node_allowed(). > > *GFP_KERNEL - any node in enclosing hardwalled cpuset ok > > If the allocation has requested GFP_KERN

Re: [PATCH 03/22] NTB: Alter NTB API to support both inbound and outbound MW based interfaces

2016-11-30 Thread kbuild test robot
Hi Serge, [auto build test ERROR on ntb/ntb-next] [also build test ERROR on v4.9-rc7 next-20161130] [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/Serge-Semin/NTB-Alter-kernel-API-to-support

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 01:13:03PM -0600, Josh Poimboeuf wrote: > On Tue, Nov 29, 2016 at 12:32:59PM -0800, Paul E. McKenney wrote: > > On Tue, Nov 29, 2016 at 12:07:11PM -0800, Paul E. McKenney wrote: > > > On Tue, Nov 29, 2016 at 08:52:04PM +0100, Peter Zijlstra wrote: > > > > On Tue, Nov 29, 201

Re: [PATCH v3 net-next 1/2] net: ethernet: slicoss: add slicoss gigabit ethernet driver

2016-11-30 Thread Lino Sanfilippo
On 29.11.2016 18:14, Florian Fainelli wrote: > On 11/28/2016 01:41 PM, Lino Sanfilippo wrote: >> The problem is that the HW does not provide a tx completion index. Instead >> we have to >> iterate the status descriptors until we get an invalid idx which indicates >> that there >> are no further

Re: [v11, 1/8] kexec_file: Allow arch-specific memory walking for kexec_add_buffer

2016-11-30 Thread Michael Ellerman
On Tue, 2016-11-29 at 12:45:47 UTC, Michael Ellerman wrote: > From: Thiago Jung Bauermann > > Allow architectures to specify a different memory walking function for > kexec_add_buffer. x86 uses iomem to track reserved memory ranges, but > PowerPC uses the memblock subsystem. > > Signed-off-by: T

[PATCH] acpi/rt: convert acpi_gbl_gpe_lock to raw spinlock

2016-11-30 Thread Aaron Sierra
When testing GPE interrupts with CONFIG_PREEMPT_RT_FULL enabled, a verbose WARN_ONCE message would print to the kernel log. It turned out that the GPE interrupt handler was being called with local interrupts enabled because acpi_gbl_gpe_lock was implemented as a spinlock_t. Full preemption strips l

Re: PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy

2016-11-30 Thread Robin H. Johnson
(I'm going to respond directly to this email with the stack trace.) On Wed, Nov 30, 2016 at 02:28:49PM +0100, Michal Hocko wrote: > > On the other hand, if this didn’t happen and now happens all the time, > > this indicates a regression in CMA’s capability to allocate pages so > > just rate limiti

Re: [PATCH] net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during resume

2016-11-30 Thread David Miller
From: Grygorii Strashko Date: Tue, 29 Nov 2016 16:27:03 -0600 > netif_set_real_num_tx/rx_queues() are required to be called with rtnl_lock > taken, otherwise ASSERT_RTNL() warning will be triggered - which happens > now during System resume from suspend: > cpsw_resume() > |- cpsw_ndo_open() > |

Re: [PATCH 02/22] NTB: Add peer indexed ports NTB API

2016-11-30 Thread kbuild test robot
Hi Serge, [auto build test WARNING on ntb/ntb-next] [also build test WARNING on v4.9-rc7 next-20161130] [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/Serge-Semin/NTB-Alter-kernel-API-to

[PATCH 0/3] Add Broadcom SPU Crypto Driver

2016-11-30 Thread Rob Rice
The Broadcom SPU crypto driver provides access to SPU hardware for symmetric crypto offload. The driver supports ablkcipher, ahash, and aead operations. The driver supports several Broadcom SoCs with different revisions of the SPU hardware. The driver supports SPU-M and SPU2 hardware revisions, and

[PATCH 1/3] crypto: brcm: DT documentation for Broadcom SPU driver

2016-11-30 Thread Rob Rice
Device tree documentation for Broadcom Secure Processing Unit (SPU) crypto driver. Signed-off-by: Steve Lin Signed-off-by: Rob Rice --- .../devicetree/bindings/crypto/brcm,spu-crypto.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/b

[PATCH 3/3] crypto: brcm: Add Broadcom SPU driver DT entry.

2016-11-30 Thread Rob Rice
Add Northstar2 device tree entry for Broadcom Secure Processing Unit (SPU) crypto driver. Signed-off-by: Steve Lin Signed-off-by: Rob Rice --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/ar

Re: [PATCH 3/6] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH

2016-11-30 Thread Grygorii Strashko
On 11/30/2016 05:08 AM, Jan Lübbe wrote: > On Mo, 2016-11-28 at 17:04 -0600, Grygorii Strashko wrote: >> 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 ex

drm/radeon spamming alloc_contig_range: [xxx, yyy) PFNs busy busy

2016-11-30 Thread Robin H. Johnson
Somewhere in the Radeon/DRM codebase, CMA page allocation has either regressed in the timeline of 4.5->4.9, and/or the drm/radeon code is doing something different with pages. Given that I haven't seen ANY other reports of this, I'm inclined to believe the problem is drm/radeon specific (if I don'

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-30 Thread Tejun Heo
Hello, On Wed, Nov 30, 2016 at 10:14:50AM -0800, Linus Torvalds wrote: > Tejun/Kent - any way to just limit the workqueue depth for bcache? > Because that really isn't helping, and things *will* time out and > cause those problems when you have hundreds of IO's queued on a disk > that likely as a

Re: [PATCH V3 1/2] regulator: DT: Add settling time property for non-linear voltage change

2016-11-30 Thread Rob Herring
On Wed, Nov 23, 2016 at 04:32:39PM +0530, Laxman Dewangan wrote: > Some regulators (some PWM regulators) have the voltage transition > exponentially. On such cases, the settling time for voltage change > is treated as constant time. > > Add DT property for providing the settling time for any level

[PATCH 0/4] CPUID-less CPU fixes and improvements

2016-11-30 Thread Andy Lutomirski
*** PATCHES 1 and 2 MAY BE 4.9 MATERIAL *** Alan Cox pointed out that the 486 isn't the only supported CPU that doesn't have CPUID. Let's clean up the mess. Patch 1 is intended to be an easy fix: it makes sync_core() work without CPUID on all 32-bit kernels. It should be quite safe. This will

[PATCH 4/4] x86/asm: Change sync_core() to use MOV to CR2 to serialize

2016-11-30 Thread Andy Lutomirski
Aside from being excessively slow, CPUID is problematic: Linux runs on a handful of CPUs that don't have CPUID. MOV to CR2 is always available, so use it instead. Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/processor.h | 31 --- 1 file changed, 8 insertio

[PATCH 3/4] x86/microcode/intel: Replace sync_core() with cpuid_eax(1)

2016-11-30 Thread Andy Lutomirski
The Intel microcode driver is using sync_core() to mean "do CPUID with EAX=1". I want to rework sync_core(), but first the Intel microcode driver needs to stop depending on its current behavior. Reported-by: Henrique de Moraes Holschuh Cc: Borislav Petkov Signed-off-by: Andy Lutomirski --- ar

[PATCH 2/4] Revert "x86/boot: Fail the boot if !M486 and CPUID is missing"

2016-11-30 Thread Andy Lutomirski
This reverts commit ed68d7e9b9cfb64f3045ffbcb108df03c09a0f98. The patch wasn't quite correct -- there are non-Intel (and hence non-486) CPUs that we support that don't have CPUID. Since we no longer require CPUID for sync_core(), just revert the patch. In principle, we should try to do better at

[PATCH 1/4] x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels

2016-11-30 Thread Andy Lutomirski
We support various non-Intel CPUs that don't have the CPUID instruction, so the M486 test was wrong. For now, fix it with a big hammer: handle missing CPUID on all 32-bit CPUs. Reported-by: One Thousand Gnomes Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/processor.h | 2 +- 1 file c

[PATCH] intel-rdt: show mount options

2016-11-30 Thread Shaohua Li
Show mount options when cdp is enabled Cc: Fenghua Yu Cc: Thomas Gleixner Signed-off-by: Shaohua Li --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c b/arch/x86/kernel/cpu/intel_rdt_rdtgroup.c

Re: [PATCH] USB: OHCI: ohci-pxa27x: remove unuseful functions

2016-11-30 Thread Alan Stern
By the way, "unuseful" is not an English word. It should be "useless". On Wed, 30 Nov 2016 csmanjuvi...@gmail.com wrote: > From: Manjunath Goudar > > The ohci_hcd_pxa27x_drv_probe function is not doing anything other > than calling usb_hcd_pxa27x_probe function so ohci_hcd_pxa27x_drv_probe > f

Re: [PATCH 1/4] bindings: net: stmmac: correct note about TSO

2016-11-30 Thread Rob Herring
On Wed, Nov 23, 2016 at 03:24:25PM +0100, Niklas Cassel wrote: > From: Niklas Cassel > > snps,tso was previously placed under AXI BUS Mode parameters, > suggesting that the property should be in the stmmac-axi-config node. > > TSO (TCP Segmentation Offloading) has nothing to do with AXI BUS Mode

Re: [PATCH 4/6] net: ethernet: ti: cpts: add ptp pps support

2016-11-30 Thread Grygorii Strashko
On 11/30/2016 12:45 PM, Richard Cochran wrote: > On Mon, Nov 28, 2016 at 05:04:26PM -0600, Grygorii Strashko wrote: >> +static cycle_t cpts_cc_ns2cyc(struct cpts *cpts, u64 nsecs) >> +{ >> +cycle_t cyc = (nsecs << cpts->cc.shift) + nsecs; >> + >> +do_div(cyc, cpts->cc.mult); >> + >> +

Re: [PATCH v3 2/2] dt-bindings: power: add bindings for sbs-charger

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 01:33:43PM +0100, Nicolas Saenz Julienne wrote: > Adds device tree documentation for SBS charger compilant devices as defined > here: http://sbs-forum.org/specs/sbc110.pdf > > Signed-off-by: Nicolas Saenz Julienne > --- > v2 -> v3: > - add part number as compatible > > .

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-30 Thread Jernej Škrabec
Dne sreda, 30. november 2016 ob 20:37:24 CET je Jean-Francois Moine napisal(a): > On Wed, 30 Nov 2016 20:14:11 +0100 > > Jernej Škrabec wrote: > > Dne četrtek, 01. december 2016 ob 03:03:14 CET je Icenowy Zheng napisal(a): > > > 2016年12月1日 02:49于 Jernej Skrabec 写道: > > > > > > > Hi Jean-Franço

Re: [PATCH v2 1/9] clk: stm32f4: Update DT bindings documentation

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 03:45:41PM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > Creation of dt include file for specific stm32f4 clocks. > These specific clocks are not derived from system clock (SYSCLOCK) > We should use index 1 to use these clocks in DT. > e.g. <&rcc 1 C

Re: [PATCH v3 1/5] KVM: nVMX: generate non-true VMX MSRs based on true versions

2016-11-30 Thread Paolo Bonzini
- Original Message - > From: "David Matlack" > To: "Paolo Bonzini" > Cc: "kvm list" , linux-kernel@vger.kernel.org, "Jim > Mattson" , "Radim > Krčmář" > Sent: Wednesday, November 30, 2016 7:05:04 PM > Subject: Re: [PATCH v3 1/5] KVM: nVMX: generate non-true VMX MSRs based on > true v

Re: [PATCH v2 2/9] clk: stm32f4: Add PLL_I2S & PLL_SAI for STM32F429/469 boards

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 03:45:42PM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch introduces PLL_I2S and PLL_SAI. > Vco clock of these PLLs can be modify by DT (only n multiplicator, > m divider is still fixed by the boot-loader). > Each PLL has 3 dividers. PLL sh

Re: [PATCH] printk: Fix spinlock deadlock in printk reenty

2016-11-30 Thread Andrew Morton
On Wed, 30 Nov 2016 15:15:19 +0800 wrote: > From: Jinling Ke > > when Oops in printk, printk will call zap_locks() to reinitialize > spinlock to prevent deadlock. In arm, arm64, x86 or other > architecture smp cpu, race condition will occur in printk spinlock > logbuf_lock and then it will resu

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Paul Bolle
On Wed, 2016-11-30 at 12:24 -0500, Jarod Wilson wrote: > Up second, once we're past the above, building modules goes splat: > > 8< > $ make -s ARCH=x86_64 V=1 -j8 modules > ... > ERROR: "module_put" [virt/lib/irqbypass.ko] undefined! > ERROR: "mutex_unlock" [virt/lib/irqbypass.ko] undefine

Re: [PATCH v2 4/9] clk: stm32f4: Add lcd-tft clock

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 03:45:44PM +0100, gabriel.fernan...@st.com wrote: > From: Gabriel Fernandez > > This patch introduces lcd-tft clock for stm32f4 soc. > > Signed-off-by: Gabriel Fernandez > --- > .../devicetree/bindings/clock/st,stm32-rcc.txt | 1 + > drivers/clk/clk-stm32f4.c

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-30 Thread Maxime Ripard
On Wed, Nov 30, 2016 at 09:41:26PM +0100, Jernej Škrabec wrote: > > > > > The only > > > > > code left from you is for DE2. HDMI stuff is basically copied from > > > > > Rockhip > > > > > driver (including EDID reading), TCON code is now reverted to the same > > > > > as > > > > > it is in sunxi_di

[patch 3/4] rtmutex: Get rid of RT_MUTEX_OWNER_MASKALL

2016-11-30 Thread Thomas Gleixner
This is a left over from the original rtmutex implementation which used both bit0 and bit1 in the owner pointer. Commit 8161239a8bcc ("rtmutex: Simplify PI algorithm and make highest prio task get lock") removed the usage of bit1, but kept the extra mask around. This is confusing at best. Remove i

[PATCH net-next] net/mlx5e: skip loopback selftest with !CONFIG_INET

2016-11-30 Thread Arnd Bergmann
When CONFIG_INET is disabled, the new selftest results in a link error: drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o: In function `mlx5e_test_loopback': en_selftest.c:(.text.mlx5e_test_loopback+0x2ec): undefined reference to `ip_send_check' en_selftest.c:(.text.mlx5e_test_loopback+0x34c):

[patch 0/4] rtmutex: Plug unlock vs. requeue race

2016-11-30 Thread Thomas Gleixner
The following series plugs a subtle race and robustifies the code further. Aside of that it adds commentry about lockless operations and removes a confusing extra define. Thanks, tglx

[PATCH 1/2] crypto: caam: pass key buffers with typesafe pointers

2016-11-30 Thread Arnd Bergmann
The 'key' field is defined as a 'u64' and used for two different pieces of information: either to store a pointer or a dma_addr_t. The former leads to a build error on 32-bit machines: drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_aead_null_encap': drivers/crypto/caam/caamalg_desc.c

[patch 4/4] rtmutex: Explain locking rules for rt_mutex_proxy_unlock()/init_proxy_locked()

2016-11-30 Thread Thomas Gleixner
While debugging the unlock vs. dequeue race which resulted in state corruption of futexes the lockless nature of rt_mutex_proxy_unlock() caused some confusion. Add commentry to explain why it is safe to do this lockless. Add matching comments to rt_mutex_init_proxy_locked() for completeness sake.

[patch 2/4] rtmutex: Use READ_ONCE() in rt_mutex_owner()

2016-11-30 Thread Thomas Gleixner
While debugging the rtmutex unlock vs. dequeue race Will suggested to use READ_ONCE() in rt_mutex_owner() as it might race against the cmpxchg_release() in unlock_rt_mutex_safe(). Will: "It's a minor thing which will most likely not matter in practice" Careful search did not unearth an actual pro

[PATCH 2/2] crypto: caam: make aamalg_desc a proper module

2016-11-30 Thread Arnd Bergmann
The drivers/crypto/caam/ directory is entered during build only for building modules when CONFIG_CRYPTO_DEV_FSL_CAAM=m, but CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API_DESC is defined as a 'bool' symbol, meaning that caamalg_desc.c is always compiled into built-in code, or not at all, leading to a link f

[patch 1/4] rtmutex: Prevent dequeue vs. unlock race

2016-11-30 Thread Thomas Gleixner
David reported a futex/rtmutex state corruption. It's caused by the following problem: CPU0CPU1CPU2 l->owner=T1 rt_mutex_lock(l) lock(l->wait_lock) l->owner = T1 | HAS_WAITERS; enqueue(T2) boos

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Jarod Wilson
On 2016-11-30 3:52 PM, Paul Bolle wrote: On Wed, 2016-11-30 at 12:24 -0500, Jarod Wilson wrote: Up second, once we're past the above, building modules goes splat: 8< $ make -s ARCH=x86_64 V=1 -j8 modules ... ERROR: "module_put" [virt/lib/irqbypass.ko] undefined! ERROR: "mutex_unlock" [v

[PATCH] drm/msm: adreno: fix build error without debugfs

2016-11-30 Thread Arnd Bergmann
The newly added a5xx support fails to build when debugfs is diabled: drivers/gpu/drm/msm/adreno/a5xx_gpu.c:849:4: error: 'struct msm_gpu_funcs' has no member named 'show' drivers/gpu/drm/msm/adreno/a5xx_gpu.c:849:11: error: 'a5xx_show' undeclared here (not in a function); did you mean 'a5xx_irq'

Re: next: Commit 'mm: Prevent __alloc_pages_nodemask() RCU CPU stall ...' causing hang on sparc32 qemu

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 11:21:59AM -0800, Guenter Roeck wrote: > On Wed, Nov 30, 2016 at 04:03:33AM -0800, Paul E. McKenney wrote: > > On Wed, Nov 30, 2016 at 02:52:11AM -0800, Guenter Roeck wrote: > > > On 11/29/2016 11:02 PM, Paul E. McKenney wrote: > > > >On Tue, Nov 29, 2016 at 08:32:51PM -0800

[PATCH] mmc: queue: add #ifdef around bounce buffer code

2016-11-30 Thread Arnd Bergmann
The two functions that got split out from the bounce buffer handling are now unused when CONFIG_MMC_BLOCK_BOUNCE is disabled: mmc/card/queue.c:212:12: error: 'mmc_queue_alloc_bounce_sgs' defined but not used [-Werror=unused-function] mmc/card/queue.c:189:13: error: 'mmc_queue_alloc_bounce_bufs' d

Re: [RFD] Common userspace tool for fscypto

2016-11-30 Thread Theodore Ts'o
On Tue, Nov 29, 2016 at 10:59:28PM +0100, Richard Weinberger wrote: > Thanks for your quick response! > I hoped you had already some code, but having a decent design document > is also nice. I'm eager to read it. To be clear, the design document which Joe is working on is only addressing a new way

Re: [PATCH v2] soc: ti: qmss: fix the case when !SMP

2016-11-30 Thread Arnd Bergmann
On Wednesday, November 30, 2016 9:13:44 AM CET Santosh Shilimkar wrote: > > Can you apply this to your non critical fixes queue ? > > On 11/30/2016 9:09 AM, Grygorii Strashko wrote: > > + Santosh Shilimkar > > > > On 11/30/2016 10:53 AM, Grygorii Strashko wrote: > >> The irq_set_affinity_hint()

Re: [PATCH] intelrdt: resctrl: recommend locking for resctrlfs

2016-11-30 Thread Thomas Gleixner
On Wed, 30 Nov 2016, Marcelo Tosatti wrote: > > There is a locking problem between different applications > reading/writing to resctrlfs directory at the same time (read the patch > below for details). > > Suggest a standard locking scheme for applications to use. > > Signed-off-by: Marcelo Tosa

[RELEASE] Userspace RCU 0.9.3

2016-11-30 Thread Mathieu Desnoyers
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiple copies of a given data structure to live at the same time, and by monitoring the data structure

[PATCH v2] zswap: only use CPU notifier when HOTPLUG_CPU=y

2016-11-30 Thread Yu Zhao
__unregister_cpu_notifier() only removes registered notifier from its linked list when CPU hotplug is configured. If we free registered CPU notifier when HOTPLUG_CPU=n, we corrupt the linked list. To fix the problem, we can either use a static CPU notifier that walks through each pool or just simp

Re: [PATCH] dt-bindings: clarify compatible field usage for rockchip timers

2016-11-30 Thread Rob Herring
On Fri, Nov 25, 2016 at 01:10:55AM +0300, Alexander Kochetkov wrote: > rk3036 dtsi file already use compatible field as > "rockchip,rk3036-timer", "rockchip,rk3288-timer". > > The patch clearly shows how that filed should be used on other chips. > > Signed-off-by: Alexander Kochetkov > --- > ..

Re: drm/radeon spamming alloc_contig_range: [xxx, yyy) PFNs busy busy

2016-11-30 Thread Vlastimil Babka
[add more CC's] On 11/30/2016 09:19 PM, Robin H. Johnson wrote: Somewhere in the Radeon/DRM codebase, CMA page allocation has either regressed in the timeline of 4.5->4.9, and/or the drm/radeon code is doing something different with pages. Could be that it didn't use dma_generic_alloc_coherent

Re: [PATCH] drm/msm: adreno: fix build error without debugfs

2016-11-30 Thread Rob Clark
On Wed, Nov 30, 2016 at 4:06 PM, Arnd Bergmann wrote: > The newly added a5xx support fails to build when debugfs is diabled: > > drivers/gpu/drm/msm/adreno/a5xx_gpu.c:849:4: error: 'struct msm_gpu_funcs' > has no member named 'show' > drivers/gpu/drm/msm/adreno/a5xx_gpu.c:849:11: error: 'a5xx_sho

Re: [PATCH v4 net-next 3/7] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-30 Thread Gregory CLEMENT
Hi David, On mer., nov. 30 2016, David Miller wrote: > From: Gregory CLEMENT > Date: Tue, 29 Nov 2016 15:55:21 +0100 > >> +/* Virtual address of the RX buffer */ >> +void **buf_virt_addr; >> + >> /* Virtual address of the RX DMA descriptors array */ >> struct mvneta_rx_desc

Re: [PATCH] scsi/ipr: Fix runaway IRQs when falling back from MSI to LSI

2016-11-30 Thread Brian King
Looks good. Thanks! Here is an updated version that should apply cleanly on top of scsi-next. 8< From: Benjamin Herrenschmidt LSIs must be ack'ed with an MMIO otherwise they remain asserted forever. This is controlled by the "clear_isr" flag. While we set that flag properly when deciding initi

Re: [PATCH] dt-bindings: document how to setup rockchip timers as clocksource

2016-11-30 Thread Rob Herring
On Fri, Nov 25, 2016 at 01:12:16AM +0300, Alexander Kochetkov wrote: > The patch describes how to setup rockchip timers in device tree > so they can be used as clocksource. > > I'm going to implement this feature. > > Signed-off-by: Alexander Kochetkov > --- > .../bindings/timer/rockchip,rk-tim

Re: [PATCH] kernel/sysctl: return -EINVAL if write invalid val to ulong type sysctl

2016-11-30 Thread Andrew Morton
On Wed, 30 Nov 2016 18:30:52 +0800 Yisheng Xie wrote: > I tried to echo an invalid value to an unsigned long type sysctl on > 4.9.0-rc6: >linux:~# cat /proc/sys/vm/user_reserve_kbytes >131072 >linux:~# echo -1 > /proc/sys/vm/user_reserve_kbytes >linux:~# cat /proc/sys/vm/user_rese

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-30 Thread Ben Hutchings
On Wed, 2016-11-30 at 10:40 -0800, Linus Torvalds wrote: > > On Wed, Nov 30, 2016 at 10:18 AM, Nicholas Piggin wrote: > > > > Here's an initial rough hack at removing modversions. It gives an idea > > of the complexity we're carrying for this feature (keeping in mind most > > of the lines removed

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-30 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 06:50:16PM +0100, Peter Zijlstra wrote: > On Wed, Nov 30, 2016 at 06:05:57PM +0100, Michal Hocko wrote: > > On Wed 30-11-16 17:38:20, Peter Zijlstra wrote: > > > On Wed, Nov 30, 2016 at 06:29:55AM -0800, Paul E. McKenney wrote: > > > > We can, and you are correct that cond_r

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Jarod Wilson
On 2016-11-30 4:07 PM, Jarod Wilson wrote: On 2016-11-30 3:52 PM, Paul Bolle wrote: On Wed, 2016-11-30 at 12:24 -0500, Jarod Wilson wrote: Up second, once we're past the above, building modules goes splat: 8< $ make -s ARCH=x86_64 V=1 -j8 modules ... ERROR: "module_put" [virt/lib/irqby

Re: [PATCH v2 3/7] PWM: add pwm-stm32 DT bindings

2016-11-30 Thread Rob Herring
On Thu, Nov 24, 2016 at 04:14:19PM +0100, Benjamin Gaignard wrote: > Define bindings for pwm-stm32 > > version 2: > - use parameters instead of compatible of handle the hardware configuration > > Signed-off-by: Benjamin Gaignard > --- > .../devicetree/bindings/pwm/pwm-stm32.txt | 37 >

Re: Add openrisc for-next branch to linux-next

2016-11-30 Thread Stephen Rothwell
Hi Stafford, On Wed, 30 Nov 2016 22:22:41 +0900 (JST) Stafford Horne wrote: > > I have been working on getting the OpenRISC backlog of fixes sorted out > for upstream. Can this branch be added to linux-next? > >git://github.com/openrisc/linux.git for-next > > These have been through a fe

Re: [PATCH 2/2] dt-bindings: Add DT bindings info for FlexRM mailbox driver

2016-11-30 Thread Rob Herring
On Fri, Nov 25, 2016 at 10:05:51AM +0530, Anup Patel wrote: > This patch adds device tree bindings document for the FlexRM > mailbox driver. Bindings document h/w, not drivers. > > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > Signed-off-by: Anup Patel > --- > .../bindings/mailbox/brcm

[PATCH 1/4] [media] lmedm04: use %phN for hex dump

2016-11-30 Thread Rasmus Villemoes
Using the %ph printf extension for hex dumps like this makes the generated code quite a bit smaller. Signed-off-by: Rasmus Villemoes --- drivers/media/usb/dvb-usb-v2/lmedm04.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/lmedm04.c b/drivers

[PATCH 4/4] [media] lmedm04: make lme2510_powerup a little smaller

2016-11-30 Thread Rasmus Villemoes
gcc isn't smart enough to realize it can share most of the argument buildup and the actual function call between the two branches, so help it a little. Signed-off-by: Rasmus Villemoes --- drivers/media/usb/dvb-usb-v2/lmedm04.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH 3/4] [media] lmedm04: make some string arrays static

2016-11-30 Thread Rasmus Villemoes
It takes more .text to initialize these on the stack than they occupy in .rodata, so just make them static const. Signed-off-by: Rasmus Villemoes --- drivers/media/usb/dvb-usb-v2/lmedm04.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/lme

[PATCH 2/4] [media] lmedm04: change some static variables to automatic

2016-11-30 Thread Rasmus Villemoes
ibuf and rbuf in lme2510_int_response are always assigned to before they are read, and their addresses do not escape the function, so they have no reason to be static. Signed-off-by: Rasmus Villemoes --- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [GIT PULL 2/3] ARM: dts: exynos: DT for v4.10, second round

2016-11-30 Thread Arnd Bergmann
On Thursday, November 24, 2016 8:08:28 AM CET Krzysztof Kozlowski wrote: > > Samsung DeviceTree second update for v4.10: > 1. Cleanups in MSHC nodes. > 2. Enable ADC on Odroid boards. > 3. Fix interrupt flags on recently added DMA so

Re: [PATCH] dt-bindings: document how to setup rockchip timers as clocksource

2016-11-30 Thread Alexander Kochetkov
> 1 дек. 2016 г., в 0:30, Rob Herring написал(а): > > 1st and 2nd are ambiguous. Plus this is an OS implementation detail that > doesn't belong in the binding. > >> +If you want to bind specific timer as clockevent (i.e. one from alive >> subsystem) >> +and specific timer as clocksource, you

Re: Odd build breakage in 4.9-rc7

2016-11-30 Thread Paul Bolle
On Wed, 2016-11-30 at 16:35 -0500, Jarod Wilson wrote: > Just to confirm, with CONFIG_TRIM_UNUSED_KSYMS unset, the build behaves > normally, no ERROR spew. And if MODVERSIONS is not set? My current theory is that setting MODVERSIONS, somehow, hides the ERROR spew. Because that could explain your

[PATCH] x86/intel_rdt.c: Disable preempt for intel_rdt_sched_in() in move_myself()

2016-11-30 Thread Fenghua Yu
From: Fenghua Yu intel_rdt_sched_in() calls this_cpu_ptr() read and write pqr_state and update PQR_ASSOC on current cpu. If execution of the function is preempted and switched to another CPU, the results are wrong. If CONFIG_DEBUG_PREEMPT is turned on, the issue is reported as "BUG: smp_processo

[PATCH v5 net-next 1/7] net: mvneta: Optimize rx path for small frame

2016-11-30 Thread Gregory CLEMENT
For small frame reuse the phys_addr variable instead of accessing the uncacheable value in the rx descriptor. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/driv

[PATCH v5 net-next 7/7] ARM64: dts: marvell: Add network support for Armada 3700

2016-11-30 Thread Gregory CLEMENT
Add neta nodes for network support both in device tree for the SoC and the board. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 23 +++- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 23 +++- 2 files changed, 46 insertions(

<    1   2   3   4   5   6   7   8   9   >