Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-30 Thread Paolo Bonzini
> > > > Please consider s390 and (x86/arm) KVM. Once we have a few, more can > > > > follow later, but I think its important to not only have PPC support for > > > > this. > > > > > > Actually the s390 preemted check via sigp sense running is available for > > > all hypervisors (z/VM, LPAR and KVM

[PATCH 2/2] backlight: pwm_bl: Check the pwm state for initial backlight power state

2016-09-30 Thread Peter Ujfalusi
If the pwm is not enabled the backlight initially should not be enabled either if we have booted with DT and there is a phandle pointing to the backlight node. The patch extends the checks to decide if we should keep the backlight off initially. Signed-off-by: Peter Ujfalusi --- drivers/video/b

[PATCH 1/2] backlight: pwm_bl: Move the checks for initial power state to a separate function

2016-09-30 Thread Peter Ujfalusi
Move the check for gpio and regulator initial state to a new function and document better what we are checking and why. It is going to be easier to fix or improve the initial power state configuration later and it is easier to read the code. Signed-off-by: Peter Ujfalusi --- drivers/video/backl

[PATCH 0/2] backlight: pwm_bl: Fix the initial power state selection

2016-09-30 Thread Peter Ujfalusi
Hi, 3698d7e7d221 backlight: pwm_bl: Avoid backlight flicker when probed from DT added support for avoiding backlight flickering, which in essence was designed to not enable the baclkight when the driver loads, but let the user of the backlight to enable it later on. There are boards (like am437x

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

2016-09-30 Thread Aaron Lu
On 08/23/2016 05:44 AM, Marcelo Ricardo Leitner wrote: > Em 19-08-2016 04:24, Aaron Lu escreveu: >> On Fri, Aug 19, 2016 at 04:19:39AM -0300, Marcelo Ricardo Leitner wrote: >>> Hi, >>> >>> Em 19-08-2016 02:29, Aaron Lu escreveu: >>> ... It doesn't look insane and sctp_wait_for_sndbuf may actua

Re: [PATCH] clocksource: sh_cmt: Document r8a779[34] SoC specific bindings

2016-09-30 Thread Magnus Damm
On Fri, Sep 23, 2016 at 6:03 PM, Simon Horman wrote: > On Fri, Sep 23, 2016 at 10:35:06AM +0200, Geert Uytterhoeven wrote: >> Hi Simon, Magnus, >> >> On Fri, Sep 23, 2016 at 10:20 AM, Simon Horman >> wrote: >> > This documents the SoC specific binding for the r8a779[34] SoCs. >> > This is in keep

Re: linux-next: manual merge of the tty tree with the v4l-dvb tree

2016-09-30 Thread Nicolas Ferre
Le 30/09/2016 à 05:33, Stephen Rothwell a écrit : > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in: > > MAINTAINERS > > between commit: > > 71fb2c74287d ("[media] MAINTAINERS: atmel-isc: add entry for Atmel ISC") > > from the v4l-dvb tree and commit: > > 5615c37

Re: dm snapshot: Use kmalloc_array() in init_origin_hash() ?

2016-09-30 Thread SF Markus Elfring
> I've recently ping-ponged with the kernel's "resident wrong bot of the > day" over this very rule (kmalloc_array() is safer than kmalloc(), so > change your driver now!). Your bot of the day is going to point more update candidates out in various source files that can "accidentally" belong also

Re: [PATCH] clocksource: sh_cmt: Document r8a779[34] SoC specific bindings

2016-09-30 Thread Geert Uytterhoeven
Hi Magnus, On Fri, Sep 30, 2016 at 9:07 AM, Magnus Damm wrote: > On Fri, Sep 23, 2016 at 6:03 PM, Simon Horman wrote: >> On Fri, Sep 23, 2016 at 10:35:06AM +0200, Geert Uytterhoeven wrote: >>> And these are planned to be removed again with Magnus' >>> "devicetree: bindings: r8a73a4 and R-Car Gen

Re: [PATCH] clocksource: sh_cmt: Document r8a779[34] SoC specific bindings

2016-09-30 Thread Magnus Damm
Hi Geert, On Fri, Sep 30, 2016 at 4:20 PM, Geert Uytterhoeven wrote: > Hi Magnus, > > On Fri, Sep 30, 2016 at 9:07 AM, Magnus Damm wrote: >> On Fri, Sep 23, 2016 at 6:03 PM, Simon Horman wrote: >>> On Fri, Sep 23, 2016 at 10:35:06AM +0200, Geert Uytterhoeven wrote: And these are planned to

[PATCH] cxgb4: mark cxgb_setup_tc() static

2016-09-30 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:2715:5: warning: no previous prototype for 'cxgb_setup_tc' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made s

[PATCH 1/2] net: hns: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:76:21: warning: no previous prototype for 'hns_ae_get_handle' [-Wmissing-prototypes] drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c:274:6: warning: no previous prototype for 'hns_ae_stop' [-W

Re: [PATCH] Adding Support for Coresight Components on Zynq 7000.

2016-09-30 Thread Muhammad Abdul WAHAB
Hi Sören, Thank you for your remarks. I corrected a few things as you suggested. > I'm curious, did you test that with external debug tools. I have the > feeling the kernel using the debug HW could interfere with JTAG > debuggers, external trace tools, etc. I did not test with any external debu

[PATCH 2/2] net: hns: add missing function declaration

2016-09-30 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:2784:5: warning: no previous prototype for 'hns_dsaf_roce_reset' [-Wmissing-prototypes] In fact, this function is not declared in any file, but should be declared in a header file. thus can be recog

linux-next: manual merge of the akpm-current tree with the userns tree

2016-09-30 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/mount.h between commit: 312ddcb332c3 ("mnt: Add a per mount namespace limit on the number of mounts") from the userns tree and commit: a0461d15d75c ("vfs: make is_local_mountpoint() usable by o

[PATCH] net: ethernet: mediatek: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2041:5: warning: no previous prototype for 'mtk_get_link_ksettings' [-Wmissing-prototypes] drivers/net/ethernet/mediatek/mtk_eth_soc.c:2052:5: warning: no previous prototype for 'mtk_set_link_ksettings' [

[PATCH 1/2] qed: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 12 warnings when building kernel with W=1: drivers/net/ethernet/qlogic/qed/qed_cxt.c:346:6: warning: no previous prototype for 'qed_cxt_set_srq_count' [-Wmissing-prototypes] drivers/net/ethernet/qlogic/qed/qed_cxt.c:353:5: warning: no previous prototype for 'qed_cxt_get_srq_count' [-Wmissi

RE: [RFC PATCH v3 2/2] usb: typec: Type-C Port Controller Interface driver (tcpci)

2016-09-30 Thread Jun Li
Hi Guenter, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Guenter Roeck > Sent: Wednesday, August 24, 2016 5:11 AM > To: Felipe Balbi > Cc: Chandra Sekhar Anagani ; Bruce > Ashfield ; Bin Gao ; > Pranav Tipnis ; Heikk

Re: [PATCH v2 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-09-30 Thread Jon Hunter
Rob, On 19/09/16 08:21, Mirza Krak wrote: > 2016-09-06 12:32 GMT+02:00 Jon Hunter : >> >> On 31/08/16 12:22, Mirza Krak wrote: >>> 2016-08-30 19:06 GMT+02:00 Rob Herring : >> >> ... >> > nvidia,snor-cs = <4>; NAK, no custom CS properties. >> >> Ok, so ... >> >>> gmi@

[PATCH 2/2] qed: remove unused function in qed_cxt.c

2016-09-30 Thread Baoyou Xie
We get 3 warnings when building kernel with W=1: drivers/net/ethernet/qlogic/qed/qed_cxt.c:1941:1: warning: no previous prototype for 'qed_cxt_dynamic_ilt_alloc' [-Wmissing-prototypes] drivers/net/ethernet/qlogic/qed/qed_cxt.c:2158:5: warning: no previous prototype for 'qed_cxt_free_proto_ilt' [-

Re: [RFC PATCH 2/3] PM / Domains: Add support for devices with multiple domains

2016-09-30 Thread Jon Hunter
Hi PM posse! On 23/09/16 15:27, Geert Uytterhoeven wrote: > Hi Jon, > > On Fri, Sep 23, 2016 at 2:57 PM, Jon Hunter wrote: >> On 21/09/16 15:57, Geert Uytterhoeven wrote: >>> On Wed, Sep 21, 2016 at 4:37 PM, Jon Hunter wrote: On 21/09/16 09:53, Geert Uytterhoeven wrote: > On Tue, Sep 2

[PATCH 1/3] drm/radeon: add missing header dependencies

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/radeon/radeon_clocks.c:35:10: warning: no previous prototype for 'radeon_legacy_get_engine_clock' [-Wmissing-prototypes] drivers/gpu/drm/radeon/atombios_encoders.c:75:1: warning: no previous prototype for 'atombios_get_backlight

[PATCH 3/3] drm/radeon: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/radeon/si.c:7850:5: warning: no previous prototype for 'si_vce_send_vcepll_ctlreq' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_dp_mst.c:226:21: warning: no previous prototype for 'radeon_mst_best_encoder' [-Wmissing-prototy

[PATCH 3/3] drm/radeon: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/radeon/si.c:7850:5: warning: no previous prototype for 'si_vce_send_vcepll_ctlreq' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_dp_mst.c:226:21: warning: no previous prototype for 'radeon_mst_best_encoder' [-Wmissing-prototy

linux-next: Tree for Sep 30

2016-09-30 Thread Stephen Rothwell
Hi all, There will be no linux-next release on Monday. Changes since 20160929: The tty tree gained conflicts against the arm64, pm and v4l-dvb trees and gained a build failure for which I reverted a commit. The akpm-current tree gained a conflict against the userns tree. Non-merge commits (rel

[PATCH 2/3] drm/radeon: clean function declarations up

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/radeon/radeon_device.c:642:6: warning: no previous prototype for 'radeon_device_is_virtual' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:56:5: warning: no previous prototype for 'radeon_driver_unload_kms' [-Wmissin

[patch] staging: ion: use two separate locks for heaps and clients in ion_device

2016-09-30 Thread Xu YiPing
ion_alloc may get into slow path to get free page, the call stack: __alloc_pages_slowpath ion_page_pool_alloc_pages alloc_buffer_page ion_system_heap_allocate ion_buffer_create <-- hold ion_device->lock ion_alloc after that, kernel invokes low-memory killer to kill some apps in order to free mem

Re: [PATCH] m68k: migrate exception table users off module.h and onto extable.h

2016-09-30 Thread Geert Uytterhoeven
On Mon, Sep 19, 2016 at 11:01 PM, Paul Gortmaker wrote: > This file was only including module.h for exception table related > functions. We've now separated that content out into its own file > "extable.h" so now move over to that and avoid all the extra header > content in module.h that we don't

Re: [PATCH] [media] omap3isp: don't call of_node_put

2016-09-30 Thread H. Nikolaus Schaller
Hi Laurent, > Am 29.09.2016 um 10:54 schrieb Laurent Pinchart > : > > Hi Nikolaus, > > On Thursday 08 Sep 2016 17:48:33 H. Nikolaus Schaller wrote: >> of_node_put() has already been called inside of_graph_get_next_endpoint(). >> >> Otherwise we may get warnings like >> >> [ 10.118286] omap3

Re: [PATCH] brcmfmac: implement more accurate skb tracking

2016-09-30 Thread Arend Van Spriel
On 29-9-2016 23:57, Rafał Miłecki wrote: > On 27 September 2016 at 11:24, Arend Van Spriel > wrote: >> On 26-9-2016 14:38, Rafał Miłecki wrote: >>> On 26 September 2016 at 14:13, Rafał Miłecki wrote: On 26 September 2016 at 13:46, Arend Van Spriel wrote: > On 26-9-2016 12:23, Rafał

Re: [PATCH v2 2/3] KVM: VMX: join functions that disable x2apic msr intercepts

2016-09-30 Thread Paolo Bonzini
On 29/09/2016 22:41, Radim Krčmář wrote: > for (msr = 0x800; msr <= 0x8ff; msr++) { > if (msr == 0x839 /* TMCCT */) > continue; > - vmx_disable_intercept_msr_read_x2apic(msr, true); > + vmx_disable_intercept_msr_x2apic(msr, MSR_TYP

Re: [PATCH v2 3/3] KVM: VMX: refactor setup of global page-sized bitmaps

2016-09-30 Thread Paolo Bonzini
On 29/09/2016 22:41, Radim Krčmář wrote: > We've had 10 page-sized bitmaps that were being allocated and freed one > by one when we could just use a cycle. > > Signed-off-by: Radim Krčmář > --- > arch/x86/kvm/vmx.c | 120 > + > 1 file change

Re: [RFC PATCH] x86/boot: Initialize FPU and X86_FEATURE_ALWAYS even if we don't have CPUID

2016-09-30 Thread David Saggiorato
Tested-by: David Saggiorato Le mercredi 28 septembre 2016 à 16:06 -0700, Andy Lutomirski a écrit : > Otherwise arch_task_struct_size == 0 and we die.  While we're at it, > set X86_FEATURE_ALWAYS, too. > > Cc: sta...@vger.kernel.org > Cc: Dave Hansen > Cc: Ingo Molnar > Fixes: aaeb5c01c5b ("x86/

[PATCH] clk: mvebu: armada-37xx-periph: Fix the clock gate flag

2016-09-30 Thread Gregory CLEMENT
For the gate part of the peripheral clock setting the bit disables the clock and clearing it enables the clock. This is not the default behavior of clk_gate component, so we need to use the CLK_GATE_SET_TO_DISABLE flag. Signed-off-by: Gregory CLEMENT --- drivers/clk/mvebu/armada-37xx-periph.c |

Re: kernel BUG at mm/huge_memory.c:242 (was put_page vs release_pages)

2016-09-30 Thread Hillf Danton
On Thursday, September 29, 2016 10:42 PM Nicolas Morey-Chaisemartin wrote > > Hi, > > Can someone explain to me what is the difference between put_page and > release_pages and which one should be used when ? > > To explain my case: > We have a PCIe driver than transfers data between user proces

[PATCH RT] kernel/futex: don't deboost too early

2016-09-30 Thread Sebastian Andrzej Siewior
The sequence: T1 holds futex T2 blocks on futex and boosts T1 T1 unlocks futex and holds hb->lock T1 unlocks rt mutex, so T1 has no more pi waiters T3 blocks on hb->lock and adds itself to the pi waiters list of T1 T1 unlocks hb->lock and deboosts itself T4 preempts T1 so the wakeup of T2 ge

RE: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-30 Thread Levy, Amir (Jer)
On Fri, Sep 30 2016, 09:40 AM, David Miller wrote: > From: Greg KH > Date: Fri, 30 Sep 2016 08:30:05 +0200 > > > On Fri, Sep 30, 2016 at 01:55:55AM -0400, David Miller wrote: > >> From: Amir Levy > >> Date: Wed, 28 Sep 2016 17:44:22 +0300 > >> > >> > This driver enables Thunderbolt Networking on

Re: [RFC PATCH 1/1] mm/percpu.c: fix potential memory leakage for pcpu_embed_first_chunk()

2016-09-30 Thread Tejun Heo
Hello, On Fri, Sep 30, 2016 at 01:38:35AM +0800, zijun_hu wrote: > 1) the simpler way don't work because it maybe free many memory block twice Right, the punched holes. Forgot about them. Yeah, that's why the later failure just leaks memory. > 2) as we seen, pcpu_setup_first_chunk() doesn't ca

Re: [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address

2016-09-30 Thread Mugunthan V N
On Wednesday 28 September 2016 01:10 AM, Lee Jones wrote: > On Wed, 21 Sep 2016, Mugunthan V N wrote: > >> store the physical address of the device in its priv to use it >> for DMA addressing in the client drivers. >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/mfd/ti_am335x_tscadc.c

Re: [PATCH v4 03/12] dax: remove buffer_size_valid()

2016-09-30 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 04/12] ext2: remove support for DAX PMD faults

2016-09-30 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 05/12] dax: make 'wait_table' global variable static

2016-09-30 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 08/12] dax: remove dax_pmd_fault()

2016-09-30 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 06/12] dax: consistent variable naming for DAX entries

2016-09-30 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH v4 09/12] dax: correct dax iomap code namespace

2016-09-30 Thread Christoph Hellwig
On Thu, Sep 29, 2016 at 04:49:27PM -0600, Ross Zwisler wrote: > The recently added DAX functions that use the new struct iomap data > structure were named iomap_dax_rw(), iomap_dax_fault() and > iomap_dax_actor(). These are actually defined in fs/dax.c, though, so > should be part of the "dax" nam

Re: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-30 Thread gre...@linuxfoundation.org
On Fri, Sep 30, 2016 at 08:37:36AM +, Levy, Amir (Jer) wrote: > On Fri, Sep 30 2016, 09:40 AM, David Miller wrote: > > From: Greg KH > > Date: Fri, 30 Sep 2016 08:30:05 +0200 > > > > > On Fri, Sep 30, 2016 at 01:55:55AM -0400, David Miller wrote: > > >> From: Amir Levy > > >> Date: Wed, 28 S

Re: [PATCH] [media] omap3isp: don't call of_node_put

2016-09-30 Thread Laurent Pinchart
Hello Nikolaus, On Friday 30 Sep 2016 10:28:40 H. Nikolaus Schaller wrote: > > Am 29.09.2016 um 10:54 schrieb Laurent Pinchart: > > On Thursday 08 Sep 2016 17:48:33 H. Nikolaus Schaller wrote: > >> of_node_put() has already been called inside > >> of_graph_get_next_endpoint(). > >> > >> Otherwise

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-30 Thread Pan Xinhui
hi, Paolo thanks for your reply. 在 2016/9/30 14:58, Paolo Bonzini 写道: Please consider s390 and (x86/arm) KVM. Once we have a few, more can follow later, but I think its important to not only have PPC support for this. Actually the s390 preemted check via sigp sense running is availab

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-30 Thread Peter Zijlstra
On Thu, Sep 29, 2016 at 03:36:38PM -0400, Alan Stern wrote: > > > If you execute P0 and P1 concurrently and one store of each 'wins' the > > > LWSYNC of either is null and void, and therefore P2 is unordered and can > > > observe r2==0. > > Not so. lwsync instructions cannot be "voided". I disti

Re: [PATCH] x86/vmware: Skip lapic calibration on VMware.

2016-09-30 Thread Thomas Gleixner
On Thu, 29 Sep 2016, Renat Valiullin wrote: > In virtualized environment the APIC timer calibration could go wrong > when the host is overcommitted or the guest is running nested, > this would result in the APIC timers operating at an incorrect frequency. > Since VMware supports a mechanism to retr

Linux 4.4.23

2016-09-30 Thread Greg KH
I'm announcing the release of the 4.4.23 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

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

2016-09-30 Thread Horng-Shyang Liao
On Fri, 2016-09-23 at 17:28 +0800, Horng-Shyang Liao wrote: > Hi Jassi, > > Please see my inline reply. > > On Thu, 2016-09-22 at 13:47 +0530, Jassi Brar wrote: > > On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > [...] > > > +struct cmdq_base *cmdq_register_device(struct device *dev) > > > +{ >

Re: [PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-30 Thread Horng-Shyang Liao
On Fri, 2016-09-23 at 17:28 +0800, Horng-Shyang Liao wrote: > On Thu, 2016-09-22 at 13:22 +0530, Jassi Brar wrote: > > On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: > > > Use clk_disable_unprepare instead of clk_disable to save more energy > > > when CMDQ is idle. > > > > > > Signed-off-by: HS Li

[PATCHv4 1/3] serial: mctrl_gpio: implement mctrl_gpio_use_rtscts

2016-09-30 Thread Richard Genoud
This function returns true if CTS and RTS are used as GPIOs. Some drivers (like atmel_serial) needs to know if the flow control is handled by the controller or by GPIOs. Signed-off-by: Richard Genoud --- drivers/tty/serial/serial_mctrl_gpio.c | 7 +++ drivers/tty/serial/serial_mctrl_gpio.h

Re: Linux 4.7.6

2016-09-30 Thread Greg KH
diff --git a/Makefile b/Makefile index dd755d199ad6..48b0120be59b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 7 -SUBLEVEL = 5 +SUBLEVEL = 6 EXTRAVERSION = NAME = Psychotic Stoned Sheep @@ -370,7 +370,7 @@ LDFLAGS_MODULE = CFLAGS_KERNEL = AFLAGS_KERNEL =

Linux 4.7.6

2016-09-30 Thread Greg KH
I'm announcing the release of the 4.7.6 kernel. All users of the 4.7 kernel series must upgrade. The updated 4.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.7.y and can be browsed at the normal kernel.org git web browser:

[PATCHv4 0/3] Fix hardware handshake on SAM9x5 platforms

2016-09-30 Thread Richard Genoud
atch fixes hardware handshake when CTS/RTS pins are not GPIOs. Changes since v3: - remove superfuous #include (thanks to Uwe) - rebase on next-20160930 Changes since v2: - remove IS_ERR_OR_NULL() test in patch 1/3 as Uwe suggested. - fix typos in patch 2/3 - rebase on next-20160927 - simplify

Re: Linux 4.4.23

2016-09-30 Thread Greg KH
diff --git a/Makefile b/Makefile index a6512f4eec9f..95421b688f23 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 22 +SUBLEVEL = 23 EXTRAVERSION = NAME = Blurry Fish Butt @@ -128,6 +128,10 @@ _all: # Cancel implicit rules on top Makefile $(CURDIR)

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

2016-09-30 Thread Horng-Shyang Liao
Hi CK, Please see my inline reply. On Fri, 2016-09-30 at 11:06 +0800, CK Hu wrote: > Hi, HS: > > On Mon, 2016-09-05 at 09:44 +0800, HS Liao wrote: > > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > > CMDQ is used to help write registers with critical time limitation, >

[PATCHv4 2/3] tty/serial: at91: fix hardware handshake with GPIOs

2016-09-30 Thread Richard Genoud
Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when hardware handshake is enabled") broke the hardware handshake when GPIOs were used. Hardware handshake with GPIOs used to work before this commit because the CRTSCTS flag (termios->c_cflag) was set, but not the ATMEL_US_USMODE_HWH

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-30 Thread Peter Zijlstra
On Thu, Sep 29, 2016 at 12:18:58PM -0700, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 08:44:39PM +0200, Peter Zijlstra wrote: > > On Thu, Sep 29, 2016 at 11:10:15AM -0700, Paul E. McKenney wrote: > > > > > > > > > > P0(int *x, int *y) > > > > > { > > > > > WRITE_ONC

[PATCHv4 3/3] tty/serial: at91: fix hardware handshake on SAM9x5 (without GPIOs)

2016-09-30 Thread Richard Genoud
Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when hardware handshake is enabled") broke the hardware handshake on SAM9x5 platforms. On Atmel platforms, the USART can only handle the handware handshake (ATMEL_US_USMODE_HWHS) if FIFOs or PDC are used. Thus, ATMEL_US_USMODE_HWHS m

Re: [PATCH v14 4/4] CMDQ: save more energy in idle

2016-09-30 Thread Matthias Brugger
On 09/30/2016 10:56 AM, Horng-Shyang Liao wrote: On Fri, 2016-09-23 at 17:28 +0800, Horng-Shyang Liao wrote: On Thu, 2016-09-22 at 13:22 +0530, Jassi Brar wrote: On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: Use clk_disable_unprepare instead of clk_disable to save more energy when CMDQ is

Re: [PATCH] coredump: fix unfreezable coredumping task

2016-09-30 Thread Andrey Ryabinin
On 09/30/2016 11:50 AM, Andrey Ryabinin wrote: > It could be not possible to freeze coredumping task when it waits > for 'core_state->startup' completion, because threads are frozen > in get_signal() before they got a chance to complete 'core_state->startup'. > > Use freezer_do_not_count() to te

[PATCH RT 2/2] work-simple: Add missing #include

2016-09-30 Thread Ben Hutchings
work-simple.c uses EXPORT_SYMBOL_GPL(), defined in . Signed-off-by: Ben Hutchings Cc: stable...@vger.kernel.org # 3.2 --- I'm not sure there's any need for these exports so the correct fix might be to remove them. Ben. kernel/work-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ke

Re: [PATCH v5 01/14] drivers: iommu: add FWNODE_IOMMU fwnode type

2016-09-30 Thread Lorenzo Pieralisi
On Thu, Sep 29, 2016 at 10:59:40PM +0200, Rafael J. Wysocki wrote: > On Thursday, September 29, 2016 03:15:20 PM Lorenzo Pieralisi wrote: > > Hi Rafael, > > > > On Fri, Sep 09, 2016 at 03:23:30PM +0100, Lorenzo Pieralisi wrote: > > > On systems booting with a device tree, every struct device is >

[PATCH 1/2] mfd: Add HiSilicon Flash Memory Controller(FMC) driver

2016-09-30 Thread linshunquan 00354166
From: Shunquan Lin This patch adds driver support for HiSilicon Flash Memory Controller(FMC). HiSilicon FMC is a multi-functions device which supports SPI Nor flash controller, SPI nand Flash controller and parallel nand flash controller. Signed-off-by: Shunquan Lin --- .../devicetree/bindings

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-30 Thread Paolo Bonzini
On 30/09/2016 10:52, Pan Xinhui wrote: >> x86 has no hypervisor support, and I'd like to understand the desired >> semantics first, so I don't think it should block this series. In > > Once a guest do a hypercall or something similar, IOW, there is a > kvm_guest_exit. we think this is a lock ho

Re: [PATCH v21 00/20] perf, tools: Add support for PMU events in JSON format

2016-09-30 Thread Jiri Olsa
On Thu, Sep 29, 2016 at 07:19:48PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 27, 2016 at 04:18:46PM +0200, Jiri Olsa escreveu: > > On Mon, Sep 26, 2016 at 09:59:54AM -0700, Andi Kleen wrote: > > > On Mon, Sep 26, 2016 at 12:03:43PM -0300, Arnaldo Carvalho de Melo wrote: > > > > Em Mon, S

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

2016-09-30 Thread CK Hu
Hi, HS: One comment inline On Fri, 2016-09-30 at 16:56 +0800, Horng-Shyang Liao wrote: > Hi CK, > > Please see my inline reply. > > On Fri, 2016-09-30 at 11:06 +0800, CK Hu wrote: > > Hi, HS: > > > > On Mon, 2016-09-05 at 09:44 +0800, HS Liao wrote: > > > This patch is first version of Mediate

Re: [PATCHv4 2/3] tty/serial: at91: fix hardware handshake with GPIOs

2016-09-30 Thread Uwe Kleine-König
Hello Richard, On Fri, Sep 30, 2016 at 10:58:00AM +0200, Richard Genoud wrote: > Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when > hardware handshake is enabled") broke the hardware handshake when GPIOs > were used. > > Hardware handshake with GPIOs used to work before this c

[PATCH 0/2] Add the HiSilicon Flash Memory Controller driver

2016-09-30 Thread linshunquan 00354166
Brief: The HiSilicon Flash Memory Controller(FMC) is feature-rich that supports 3 interfaces: SPI Nor, SPI Nand and Parallel Nand, choosed by the different chipselect and boot media of board, these sub-controllers share the same register block. The transmission protocol of each interface is differe

Re: [Documentation] State of CPU controller in cgroup v2

2016-09-30 Thread Tejun Heo
Hello, Mike. On Sat, Sep 10, 2016 at 12:08:57PM +0200, Mike Galbraith wrote: > On Fri, 2016-09-09 at 18:57 -0400, Tejun Heo wrote: > > > > As for your example, who performs the cgroup setup and configuration, > > > > the application itself or an external entity? If an external entity, > > > > how

[PATCH 2/2] mtd: spi nor: gets resource from HiSilicon Flash Memory Controller driver

2016-09-30 Thread linshunquan 00354166
From: Shunquan Lin As the HiSilicon Flash Memory Controller(FMC) driver is a Multi- function device drivers(MFD) that not only support spi-nor flash controller, but spi-nand and nand, so moves the register map of HiSilicon spi-nor flash controller driver to include/linux/mfd/hisi_fmc.h Signed-of

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-30 Thread Will Deacon
On Fri, Sep 30, 2016 at 01:53:52PM +0800, Boqun Feng wrote: > On Thu, Sep 29, 2016 at 10:23:22AM -0700, Paul E. McKenney wrote: > > If two processes are related by a RELEASE+ACQUIRE pair, ordering can be > > broken if a third process overwrites the value written by the RELEASE > > operation before

[PATCH v6 1/3] arm/dts-ls1021: add pcie aer/pme interrupt-name property in the dts

2016-09-30 Thread Po Liu
NXP arm aer/pme interrupts was not MSI/MSI-X/INTx but using interrupt line independently. This patch add a "aer" "pme" interrupt-names for aer/pme interrupts. With the interrupt-names "aer","pme" code could probe aer/pme interrupt line for pcie root port, replace the aer/pme interrupt service irqs

[PATCH v4 2/2] arm64 Kconfig: Select gigantic page

2016-09-30 Thread Yisheng Xie
Arm64 supports gigantic page after commit 084bd29810a5 ("ARM64: mm: HugeTLB support.") however, it can only be allocated at boottime and can't be freed. This patch selects ARCH_HAS_GIGANTIC_PAGE to make gigantic pages can be allocated and freed at runtime for arch arm64. Acked-by: Michal Hocko A

[PATCH v4 0/2] arm64/hugetlb: enable gigantic page

2016-09-30 Thread Yisheng Xie
changelog = v3->v4: add changelog in the cover leter to make the change history more clear. v2->v3: change the Kconfig file to avoid comile warning when select ARCH_HAS_GIGANTIC_PAGE with !CONFIG_HUGETLB_PAGE v1->v2: introduce the ARCH_HAS_GIGANTIC_PAGE as Michal Hocko suggested Arm64 s

[PATCH v4 1/2] mm/hugetlb: Introduce ARCH_HAS_GIGANTIC_PAGE

2016-09-30 Thread Yisheng Xie
Avoid making ifdef get pretty unwieldy if many ARCHs support gigantic page. No functional change with this patch. Signed-off-by: Yisheng Xie Suggested-by: Michal Hocko Acked-by: Michal Hocko Acked-by: Naoya Horiguchi --- arch/s390/Kconfig | 1 + arch/x86/Kconfig | 1 + fs/Kconfig| 3

Re: [PATCH 4/6] mfd: arizona: Add gating of external MCLKn clocks

2016-09-30 Thread Charles Keepax
On Tue, Sep 13, 2016 at 02:11:50PM +0100, Lee Jones wrote: > On Tue, 13 Sep 2016, Charles Keepax wrote: > > > On Tue, Sep 13, 2016 at 01:44:57PM +0100, Lee Jones wrote: > > > On Fri, 02 Sep 2016, Charles Keepax wrote: > > > > > > > From: Sylwester Nawrocki > > > > > > > > This patch adds reques

Re: [PATCH 6/6] ARM: da850: adjust memory settings for tilcdc

2016-09-30 Thread Bartosz Golaszewski
2016-09-29 21:07 GMT+02:00 Karl Beldan : > Hi, > > On Thu, Sep 29, 2016 at 06:31:55PM +0200, Bartosz Golaszewski wrote: >> Default memory settings of da850 do not meet the throughput/latency >> requirements of tilcdc. This results in the image displayed being >> incorrect and the following warning

Re: [PATCH v3 0/4] implement vcpu preempted check

2016-09-30 Thread Pan Xinhui
在 2016/9/30 17:08, Paolo Bonzini 写道: On 30/09/2016 10:52, Pan Xinhui wrote: x86 has no hypervisor support, and I'd like to understand the desired semantics first, so I don't think it should block this series. In Once a guest do a hypercall or something similar, IOW, there is a kvm_guest_e

Re: [PATCH 2/6] ARM: dts: da850: add a node for the LCD controller

2016-09-30 Thread Sekhar Nori
On Thursday 29 September 2016 10:01 PM, Bartosz Golaszewski wrote: > From: Karl Beldan > > Add a disabled LCDC node to be reused in device trees including > da850.dtsi for boards equipped with tilcdc enabled. > > Signed-off-by: Karl Beldan > [Bartosz: added the commit description] > Signed-off-

Re: [PATCH v2 net-next 1/2] net: centralize net_device min/max MTU checking

2016-09-30 Thread Jakub Sitnicki
On Wed, Sep 28, 2016 at 10:20 PM GMT, Jarod Wilson wrote: > While looking into an MTU issue with sfc, I started noticing that almost > every NIC driver with an ndo_change_mtu function implemented almost > exactly the same range checks, and in many cases, that was the only > practical thing their nd

Re: [PATCH 4/6] ARM: dts: da850-lcdk: add support for 1024x768 resolution

2016-09-30 Thread Bartosz Golaszewski
2016-09-29 20:58 GMT+02:00 Karl Beldan : > Hi, > > On Thu, Sep 29, 2016 at 06:31:53PM +0200, Bartosz Golaszewski wrote: >> Add svga timings for 1024x768 resolution to the da850-lcdk >> device tree. >> > [snip] > > Why do you also call 1024x768 svga ? > Thanks, should have been xga. will fix in v

Re: [PATCH 6/6] ARM: da850: adjust memory settings for tilcdc

2016-09-30 Thread Karl Beldan
On Fri, Sep 30, 2016 at 9:31 AM, Bartosz Golaszewski wrote: > 2016-09-29 21:07 GMT+02:00 Karl Beldan : >> Hi, >> >> On Thu, Sep 29, 2016 at 06:31:55PM +0200, Bartosz Golaszewski wrote: >>> Default memory settings of da850 do not meet the throughput/latency >>> requirements of tilcdc. This results

[PATCH v6 3/3] pci:add support aer/pme interrupts with none MSI/MSI-X/INTx mode

2016-09-30 Thread Po Liu
On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. When chip support the aer/pme interrupts with none MSI/MSI-X/INTx mode, maybe there is interrupt line for aer pme etc. Search the interrupt number in the fdt file. Then fixup the dev->irq with it. Signed-off-by: Po Liu --- ch

Re: [PATCH 3/6] ARM: dts: da850-lcdk: enable the LCD controller

2016-09-30 Thread Bartosz Golaszewski
2016-09-29 20:40 GMT+02:00 Karl Beldan : > Hi, > > On Thu, Sep 29, 2016 at 06:31:52PM +0200, Bartosz Golaszewski wrote: >> From: Karl Beldan >> >> This adds the pins used by the LCD controller, and uses 'tilcdc,panel' >> with some default timings for 800x600. >> >> Tested on an LCDK connected on t

[PATCH 1/2] megaraid_sas: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/scsi/megaraid/megaraid_sas_base.c:200:1: warning: no previous prototype for 'megasas_issue_dcmd' [-Wmissing-prototypes] drivers/scsi/megaraid/megaraid_sas_base.c:2047:6: warning: no previous prototype for 'megasas_do_ocr' [-Wmissing-pro

Re: [PATCH v4 07/12] dax: coordinate locking for offsets in PMD range

2016-09-30 Thread Christoph Hellwig
> +static pgoff_t dax_entry_start(pgoff_t index, void *entry) > +{ > + if (RADIX_DAX_TYPE(entry) == RADIX_DAX_PMD) > + index &= (PMD_MASK >> PAGE_SHIFT); > + return index; > +} > + > static wait_queue_head_t *dax_entry_waitqueue(struct address_space *mapping, > -

[PATCH 2/2] megaraid_sas: clean function declarations in megaraid_sas_fusion.c up

2016-09-30 Thread Baoyou Xie
We get 10 warnings when building kernel with W=1: drivers/scsi/megaraid/megaraid_sas_base.c:213:21: warning: no previous prototype for 'megasas_get_cmd' [-Wmissing-prototypes] drivers/scsi/megaraid/megaraid_sas_base.c:239:1: warning: no previous declaration for 'megasas_return_cmd' [-Wmissing-dec

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

2016-09-30 Thread Horng-Shyang Liao
On Fri, 2016-09-30 at 17:11 +0800, CK Hu wrote: > Hi, HS: > > One comment inline > > On Fri, 2016-09-30 at 16:56 +0800, Horng-Shyang Liao wrote: > > Hi CK, > > > > Please see my inline reply. > > > > On Fri, 2016-09-30 at 11:06 +0800, CK Hu wrote: > > > Hi, HS: > > > > > > On Mon, 2016-09-05 a

Re: [PATCH v4 1/2] mm/hugetlb: Introduce ARCH_HAS_GIGANTIC_PAGE

2016-09-30 Thread Hillf Danton
On Friday, September 30, 2016 5:26 PM Yisheng Xie > > Avoid making ifdef get pretty unwieldy if many ARCHs support gigantic page. > No functional change with this patch. > > Signed-off-by: Yisheng Xie > Suggested-by: Michal Hocko > Acked-by: Michal Hocko > Acked-by: Naoya Horiguchi > --- Acke

Re: utime accounting regression since 4.6 (was: Re: [PACTH v2 0/3] Implement /proc//totmaps)

2016-09-30 Thread Michal Hocko
[CC Mike and Mel as they have seen some accounting oddities when doing performance testing. They can share details but essentially the system time just gets too high] For your reference the email thread started http://lkml.kernel.org/r/20160823143330.gl23...@dhcp22.suse.cz I suspect this is mai

Re: [PATCH v4 2/2] arm64 Kconfig: Select gigantic page

2016-09-30 Thread Hillf Danton
On Friday, September 30, 2016 5:26 PM Yisheng Xie wrote > > Arm64 supports gigantic page after > commit 084bd29810a5 ("ARM64: mm: HugeTLB support.") > however, it can only be allocated at boottime and can't be freed. > > This patch selects ARCH_HAS_GIGANTIC_PAGE to make gigantic pages > can be al

Re: [lkp] [staging] d4f56b47a8: divide error: 0000 [#1] PREEMPT SMP KASAN

2016-09-30 Thread Greg KH
On Fri, Sep 30, 2016 at 02:14:47PM +0800, Ye Xiaolong wrote: > On 09/30, Viresh Kumar wrote: > >On Fri, Sep 30, 2016 at 7:29 AM, kernel test robot > > wrote: > >> > >> > >> FYI, we noticed the following commit: > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > >

Re: [PATCH v4 10/12] dax: add struct iomap based DAX PMD support

2016-09-30 Thread Christoph Hellwig
> -/* > - * We use lowest available bit in exceptional entry for locking, other two > - * bits to determine entry type. In total 3 special bits. > - */ > -#define RADIX_DAX_SHIFT (RADIX_TREE_EXCEPTIONAL_SHIFT + 3) > -#define RADIX_DAX_PTE (1 << (RADIX_TREE_EXCEPTIONAL_SHIFT + 1)) > -#define RA

Re: [PATCH locking/Documentation 1/2] Add note of release-acquire store vulnerability

2016-09-30 Thread Peter Zijlstra
On Thu, Sep 29, 2016 at 12:18:58PM -0700, Paul E. McKenney wrote: > On Thu, Sep 29, 2016 at 08:44:39PM +0200, Peter Zijlstra wrote: > > How about something like so on PPC? > > > > P0(int *x, int *y) > > { > > WRITE_ONCE(*x, 1); > > smp_store_release(y, 1); > > } > > > > P1(int *x, int *y

Re: linux-next: manual merge of the akpm-current tree with the userns tree

2016-09-30 Thread Ian Kent
On Fri, 2016-09-30 at 17:42 +1000, Stephen Rothwell wrote: > Hi Andrew, Hi Stephen, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > include/linux/mount.h > > between commit: > > 312ddcb332c3 ("mnt: Add a per mount namespace limit on the number of > mounts") >

[PATCH 2/2] drm/amd/powerplay: remove unused functions

2016-09-30 Thread Baoyou Xie
We get 10 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_clockpowergating.c:65:6: warning: no previous prototype for 'cz_phm_is_safe_for_asic_block' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_clockpowergating.c:71:5: warning:

  1   2   3   4   5   >