[PULL 00/10] NBD updates for 4.3

2015-08-17 Thread Markus Pargmann
Hi Jens, I hope this is not too late. Here are some NBD updates. The most interesting one is probably the first patch, which improves the timeout detection of NBD. The timout covers now the last reaction of the server. If there are open requests and we don't receive anything from the server

[PATCH 09/10] nbd: Rename functions for clearness of recv/send path

2015-08-17 Thread Markus Pargmann
This patch renames functions so that it is clear what the function does. Otherwise it is not directly understandable what for example 'do_it' means. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 10/10] nbd: flags is a u32 variable

2015-08-17 Thread Markus Pargmann
The flags variable is used as u32 variable. This patch changes the type to be u32. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 9862c3e64ff2..1176a3b27a7e 100644 ---

[PATCH 04/10] nbd: Remove 'harderror' and propagate error properly

2015-08-17 Thread Markus Pargmann
Instead of a variable 'harderror' we can simply try to correctly propagate errors to the userspace. This patch removes the harderror variable and passes errors through error pointers and nbd_do_it back to the userspace. Signed-off-by: Markus Pargmann Acked-by: Pavel Machek ---

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-17 Thread Paul E. McKenney
On Mon, Aug 17, 2015 at 02:06:07PM +1000, Michael Ellerman wrote: > On Wed, 2015-08-12 at 08:43 -0700, Paul E. McKenney wrote: > > On Wed, Aug 12, 2015 at 02:44:15PM +0100, Will Deacon wrote: > > > Hello Paul, > > > > > > On Fri, Jul 24, 2015 at 04:30:46PM +0100, Paul E. McKenney wrote: > > > >

Re: [RFC v2 1/4] ftrace: allow arch-specific check_stack()

2015-08-17 Thread AKASHI Takahiro
Will, On 08/12/2015 02:03 AM, Will Deacon wrote: On Tue, Aug 04, 2015 at 08:44:06AM +0100, AKASHI Takahiro wrote: A stack frame pointer may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as currently done in

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

2015-08-17 Thread Stephen Rothwell
Hi all, On Mon, 17 Aug 2015 15:29:53 +1000 Stephen Rothwell wrote: > > After a bit of digging, I installed libssl-dev on my Debian build > machines. Is this worth a mention in Documentation/Changes along with all the other prerequisites? -- Cheers, Stephen Rothwell

Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-17 Thread Baolin Wang
On 17 August 2015 at 09:15, Li Jun wrote: > On Fri, Aug 14, 2015 at 07:04:56PM +0800, Baolin Wang wrote: >> On 14 August 2015 at 16:55, Li Jun wrote: >> > Hi Baolin, >> > >> > On Fri, Aug 14, 2015 at 05:47:43PM +0800, Baolin Wang wrote: >> >> Currently the Linux kernel does not provide any

[v1 6/6] NET: nps_enet: minor namespace cleanup

2015-08-17 Thread Noam Camus
From: Noam Camus We define buf_int_enable in the minimal namespace it is used. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ezchip/nps_enet.c

[v1 5/6] NET: nps_enet: TX done acknowledge.

2015-08-17 Thread Noam Camus
From: Noam Camus This is needed for when TX done interrupt is in "level mode". For example it is true for some simulators of this device. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[v1 4/6] NET: nps_enet: drop control frames

2015-08-17 Thread Noam Camus
From: Noam Camus We set controller to drop control frames and not trying to pass them on. This is only needed for debug reasons. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[v1 3/6] NET: nps_enet: TX done race condition

2015-08-17 Thread Noam Camus
From: Noam Camus We need to set tx_skb pointer before send frame. If we receive interrupt before we set pointer we will try to free SKB with wrong pointer. Now we are sure that SKB pointer will never be NULL during handling TX done and check is removed. Signed-off-by: Noam Camus ---

[v1 1/6] NET: nps_enet: replace use of cause register

2015-08-17 Thread Noam Camus
From: Noam Camus When interrupt is received we read directly from control register for RX/TX instead of reading cause register since this register fails to indicate TX done when TX interrupt is "edge mode". Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |9 +

[v1 2/6] NET: nps_enet: reduce processing latency.

2015-08-17 Thread Noam Camus
From: Noam Camus TX handler is minimalistic and there is no need to schedule a NAPI job. Tx done will be processed during hardware interrupt context. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c | 17 ++--- 1 files changed, 10 insertions(+), 7

[v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread Noam Camus
From: Noam Camus This patch set is a bunch of fixes to make nps_enet work correctly with all platforms, i.e. real device, emulation system, and simulation system. The main trigger for this patch set was that in our emulation system the TX end interrupt is "edge-sensitive" and therefore we cannot

Re: [PATCH v2] selftests/zram: Adding zram tests

2015-08-17 Thread Shuah Khan
On 08/17/2015 02:39 PM, naresh.kamb...@linaro.org wrote: From: Naresh Kamboju naresh.kamb...@linaro.org Are you using git send-email to send this patch? Not sure why I see this From and the one below. zram.sh: sanity check of CONFIG_ZRAM and run zram01.sh and zram02.sh zram01.sh: creates

Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for device memory

2015-08-17 Thread Jerome Glisse
On Fri, Aug 14, 2015 at 07:11:27PM -0700, Dan Williams wrote: On Fri, Aug 14, 2015 at 3:33 PM, Dan Williams dan.j.willi...@intel.com wrote: On Fri, Aug 14, 2015 at 3:06 PM, Jerome Glisse j.gli...@gmail.com wrote: On Fri, Aug 14, 2015 at 02:52:15PM -0700, Dan Williams wrote: On Fri, Aug

Re: [PATCH v4] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-17 Thread Hongzhou Yang
On Mon, 2015-08-17 at 21:25 +0800, Yingjoe Chen wrote: On Mon, 2015-08-17 at 17:09 +0800, Daniel Kurtz wrote: On Mon, Aug 17, 2015 at 3:52 PM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: On Fri, 2015-08-14 at 16:38 +0800, maoguang.m...@mediatek.com wrote: From: Maoguang Meng

[tip:timers/core] hrtimer: Drop return code of hrtimer_switch_to_hres()

2015-08-17 Thread tip-bot for Luiz Capitulino
Commit-ID: 75e3b37d059856a972a5bf2bdfeac0f0f2db9ea3 Gitweb: http://git.kernel.org/tip/75e3b37d059856a972a5bf2bdfeac0f0f2db9ea3 Author: Luiz Capitulino lcapitul...@redhat.com AuthorDate: Tue, 11 Aug 2015 16:40:43 -0400 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Mon, 17 Aug

Re: [PATCH] mm/memblock: check memblock_reserve on fail in memblock_virt_alloc_internal

2015-08-17 Thread Andrew Morton
On Sun, 16 Aug 2015 00:26:46 +0600 Alexander Kuleshov kuleshovm...@gmail.com wrote: This patch adds a check for memblock_reserve() call in the memblock_virt_alloc_internal() function, because memblock_reserve() can return -errno on fail. ... --- a/mm/memblock.c +++ b/mm/memblock.c @@

Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection

2015-08-17 Thread Thomas Gleixner
On Mon, 17 Aug 2015, John Stultz wrote: From: Shaohua Li s...@fb.com From time to time we saw TSC is marked as unstable in our systems, while Stray '' the CPUs declare to have stable TSC. Looking at the clocksource unstable detection, there are two problems: - watchdog clock source wrap.

Re: [PATCH 9/9] clocksource: Sanity check watchdog clocksource

2015-08-17 Thread John Stultz
On Mon, Aug 17, 2015 at 2:24 PM, Thomas Gleixner t...@linutronix.de wrote: On Mon, 17 Aug 2015, John Stultz wrote: From: Shaohua Li s...@fb.com Add a sanity check to make sure watchdog clocksource doesn't wrap too quickly. Too quickly for what? The maximum interval delay limit (which

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-17 Thread Will Deacon
On Mon, Aug 17, 2015 at 07:15:01AM +0100, Paul E. McKenney wrote: On Mon, Aug 17, 2015 at 02:06:07PM +1000, Michael Ellerman wrote: On Wed, 2015-08-12 at 08:43 -0700, Paul E. McKenney wrote: On Wed, Aug 12, 2015 at 02:44:15PM +0100, Will Deacon wrote: On Fri, Jul 24, 2015 at 04:30:46PM

Re: [PATCH v2 2/4] PCI: pci-host-generic: Fix lookup of linux,pci-probe-only property

2015-08-17 Thread Will Deacon
On Fri, Aug 14, 2015 at 09:26:21PM +0100, Bjorn Helgaas wrote: On Fri, Aug 14, 2015 at 11:43 AM, Will Deacon will.dea...@arm.com wrote: On Fri, Aug 14, 2015 at 05:40:51PM +0100, Bjorn Helgaas wrote: Do we need support for pci-probe-only in pci-host-generic at all? You're removing the use in

Re: [PATCH 3/5] net: add Hisilicon Network Subsystem MDIO support

2015-08-17 Thread Kenneth Lee
Thanks, Arnd, You are right. This is the same IP as hip04_mdio.c. We just mis-understand the hardware design. We will merge them and re-submit the patches. On Fri, Aug 14, 2015 at 10:57:28PM +0200, Arnd Bergmann wrote: On Friday 14 August 2015 18:30:20 Kenneth Lee wrote: +#define

Re: 4.2.0-rc6+: Boot crash on IBM X346

2015-08-17 Thread Meelis Roos
IBM Xseries 346, 2x Xeon 3.2 HT 64-bit (4 threads total, P4 era Xeon), 5G RAM. All kernels so far worked fine, last working one was 4.2.0-rc2-00077-gf760b87. First kernel tested after that was v4.2-rc6-20-g7a834ba and that one crashes on boot. Same crash happens in 4.2.0-rc7. Screenshot

Re: [PATCH] mmc: dw_mmc: fix pio mode when internal dmac is enabled

2015-08-17 Thread Jaehoon Chung
Hi, Ulf. On 08/17/2015 07:16 PM, Ulf Hansson wrote: On 3 August 2015 at 17:04, Heiko Stübner he...@sntech.de wrote: The dw_mci_init_dma() may decide to not use dma, but pio instead, caused by things like wrong dma settings in the system. Till now the code dw_mci_init_slot() always assumed

Re: [RFC PATCH kernel vfio] mm: vfio: Move pages out of CMA before pinning

2015-08-17 Thread Benjamin Herrenschmidt
On Mon, 2015-08-17 at 11:53 +0200, Vlastimil Babka wrote: I meant why the kernel used for QEMU has also CMA enabled and used (for something else)? CMA is mostly used on mobile devices and they don't run QEMU? I explained in a separeate reply but yes, we do use a CMA for KVM for our MMU

Re: [PATCH] mmc: dw_mmc: fix pio mode when internal dmac is enabled

2015-08-17 Thread Heiko Stuebner
Am Montag, 17. August 2015, 12:34:09 schrieb Ulf Hansson: [...] - mmc-max_seg_size = mmc-max_req_size; -#endif /* CONFIG_MMC_DW_IDMAC */ + if (host-use_dma) { + mmc-max_segs = host-ring_size; I expect this may cause a compiler error

Re: [PATCH v10 6/8] staging: add bindings document for simple fpga bus

2015-08-17 Thread Pavel Machek
On Thu 2015-08-13 12:37:30, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com New bindings document for simple fpga bus. Signed-off-by: Alan Tull at...@opensource.altera.com Acked-by: Pavel Machek pa...@ucw.cz + onchip_memory2_0:

Re: [PATCH v2] mmc: sdhci: also set driver type for MMC_DDR52

2015-08-17 Thread Jisheng Zhang
On Mon, 17 Aug 2015 19:47:21 +0800 Jisheng Zhang jszh...@marvell.com wrote: commit bb8175a8aa42 (mmc: sdhci: clarify DDR timing mode between SD-UHS and eMMC) added MMC_DDR52 as eMMC's DDR mode to be distinguished from SD-UHS, but it missed setting driver type for MMC_DDR52 timing mode. This

[PATCH] [SCSI] bfa: check if port is non NULL before dereferencing

2015-08-17 Thread Johannes Thumshirn
In bfa_fcs_lport_get_rport_max_speed() check if port is non NULL before dereferencing it's child port-fcs-bfa to trl_enabled. NB: I'm not entirely sure if port can even be NULL, so the check for NULL might be useless as well. Signed-off-by: Johannes Thumshirn jthumsh...@suse.de ---

Re: [PATCH v10 5/8] staging: usage documentation for simple fpga bus

2015-08-17 Thread Pavel Machek
On Thu 2015-08-13 12:37:29, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Add a document spelling out usage of the simple fpga bus. Signed-off-by: Alan Tull at...@opensource.altera.com Acked-by: Pavel Machek pa...@denx.de

Re: [PATCH] RDMSR before test_cpu_capacity brings about KVM warning

2015-08-17 Thread Alexander Shishkin
Huaitong Han huaitong@intel.com writes: rdmsrl_safe does not lead to #GP in native kernel although CPU does not support INTEL_PT, but if KVM does not support INTEL_PT, the codes cannot understand MSR_IA32_RTIT_CTL, and the warning is produced. the codes? If KVM does not support

RE: [PATCH v3 0/6] iio: bmg160: Add SPI connection

2015-08-17 Thread Tirdea, Irina
-Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: 12 August, 2015 18:04 To: Markus Pargmann; Jonathan Cameron Cc: Srinivas Pandruvada; Dogaru, Vlad; Paul Bolle; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; ker...@pengutronix.de; Tirdea, Irina

Re: [PATCH net-next v5 00/11] ipv6: Only create RTF_CACHE route after encountering pmtu exception

2015-08-17 Thread Alexander Holler
Am 15.08.2015 um 09:48 schrieb Alexander Holler: Am 30.07.2015 um 13:57 schrieb Alexander Holler: Am 29.07.2015 um 11:25 schrieb Alexander Holler: Am 23.05.2015 um 05:55 schrieb Martin KaFai Lau: To complete the discussion, that annoying behaviour is also a big information leak. Because

Re: [RFCv5 PATCH 41/46] sched/fair: add triggers for OPP change requests

2015-08-17 Thread Vincent Guittot
On 14 August 2015 at 13:39, Juri Lelli juri.le...@arm.com wrote: Hi vincent, On 13/08/15 13:08, Vincent Guittot wrote: On 12 August 2015 at 17:15, Juri Lelli juri.le...@arm.com wrote: On 11/08/15 17:37, Vincent Guittot wrote: On 11 August 2015 at 17:07, Juri Lelli juri.le...@arm.com wrote:

Re: [RFC PATCH kernel vfio] mm: vfio: Move pages out of CMA before pinning

2015-08-17 Thread Vlastimil Babka
On 08/17/2015 11:11 AM, Alexey Kardashevskiy wrote: On 08/17/2015 05:45 PM, Vlastimil Babka wrote: On 08/05/2015 10:08 AM, Alexey Kardashevskiy wrote: This is about VFIO aka PCI passthrough used from QEMU. KVM is irrelevant here. QEMU is a machine emulator. It allocates guest RAM from

Re: [PATCH 0/6] sched/fair: Compute capacity invariant load/utilization tracking

2015-08-17 Thread Peter Zijlstra
On Mon, Aug 17, 2015 at 12:29:51PM +0100, Morten Rasmussen wrote: On Sun, Aug 16, 2015 at 10:46:05PM +0200, Peter Zijlstra wrote: On Fri, Aug 14, 2015 at 05:23:08PM +0100, Morten Rasmussen wrote: Target: ARM TC2 A7-only (x3) Test: hackbench -g 25 --threads -l 1 BeforeAfter

[PATCH] pwrseq: bind pinctrl pins before using the gpios

2015-08-17 Thread Srinivas Kandagatla
Some of the pin-controllers like the Qualcomms qcom,pm8921, which require a pinconf to be setup to use pins as gpios. Using the pins directly without pinconf setup would result in incorrect output voltage or load settings. On the other hand pwrseq code does not configure the pinctrl by default as

[PATCH] staging: lustre: simplify ptlrpc_deactivate_and_unlock_import

2015-08-17 Thread Maxime Lorrillere
The locking scheme used in ptlrpc_deactivate_and_unlock_import and ptlrpc_deactivate_import generates the followings sparse errors: drivers/staging/lustre/lustre/ptlrpc/import.c:209:9: warning: context imbalance in 'ptlrpc_deactivate_and_unlock_import' - unexpected unlock

Re: Linux 4.2-rc6 regression: RIP: e030:[ffffffff8110fb18] [ffffffff8110fb18] detach_if_pending+0x18/0x80

2015-08-17 Thread Sander Eikelenboom
Saturday, August 15, 2015, 12:39:25 AM, you wrote: On Sat, 2015-08-15 at 00:09 +0200, Sander Eikelenboom wrote: On 2015-08-13 00:41, Eric Dumazet wrote: On Wed, 2015-08-12 at 23:46 +0200, Sander Eikelenboom wrote: Thanks for the reminder, but luckily i was aware of that, seen enough

[PATCH v4 5/5] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer

2015-08-17 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan lf...@altera.com --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fd60784..32f5287 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7759,6 +7759,14 @@ F: include/linux/pci* F: arch/x86/pci/

[PATCH v4 4/5] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-08-17 Thread Ley Foon Tan
This patch adds the bindings for Altera PCIe host controller driver and Altera PCIe MSI driver. Signed-off-by: Ley Foon Tan lf...@altera.com --- .../devicetree/bindings/pci/altera-pcie-msi.txt| 27 .../devicetree/bindings/pci/altera-pcie.txt| 49 ++ 2

[RESEND PATCH 2/3 v6] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-08-17 Thread Pi-Cheng Chen
Mediatek MT8173 is an ARMv8 based quad-core (2*Cortex-A53 and 2*Cortex-A72) SoC with duall clusters. For each cluster, two voltage inputs, Vproc and Vsram are supplied by two regulators. For the big cluster, two regulators come from different PMICs. In this case, when scaling voltage inputs of the

[RESEND PATCH 3/3 v6] arm64: dts: mt8173: mt8173-evb: Add mt8173 cpufreq driver support

2015-08-17 Thread Pi-Cheng Chen
This patch adds the required properties in device tree to enable MT8173 cpufreq driver. Signed-off-by: Pi-Cheng Chen pi-cheng.c...@linaro.org Acked-by: Viresh Kumar viresh.ku...@linaro.org --- It is based on the top of MT8173 SoC maintainer's tree: https://github.com/mbgg/linux-mediatek.git

[RESEND PATCH 1/3 v6] dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings

2015-08-17 Thread Pi-Cheng Chen
This patch adds the clock and regulator consumer properties part of document for CPU DVFS clocks on Mediatek MT8173 SoC. Signed-off-by: Pi-Cheng Chen pi-cheng.c...@linaro.org Acked-by: Michael Turquette mturque...@baylibre.com Acked-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH V2] perf: x86: Improve accuracy of perf/sched clock

2015-08-17 Thread Peter Zijlstra
On Mon, Aug 17, 2015 at 10:34:03AM +0300, Adrian Hunter wrote: On 29/07/15 00:14, Adrian Hunter wrote: When TSC is stable perf/sched clock is based on it. However the conversion from cycles to nanoseconds is not as accurate as it could be. Because CYC2NS_SCALE_FACTOR is 10, the accuracy

Re: [PATCH] PCI: PCI_RCAR_GEN2 and PCI_RCAR_GEN2_PCIE should depend on ARM

2015-08-17 Thread Geert Uytterhoeven
Hi Phil, On Mon, Aug 17, 2015 at 12:23 PM, Phil Edworthy phil.edwor...@renesas.com wrote: On 11 August 2015 13:43, Geert wrote: On arm64/shmobile: drivers/pci/host/pci-rcar-gen2.c: In function 'rcar_pci_cfg_base': drivers/pci/host/pci-rcar-gen2.c:112:34: error: dereferencing pointer to

Re: [PATCH 1/1] add-ZTE-pid

2015-08-17 Thread Johan Hovold
On Sun, Aug 02, 2015 at 08:41:48PM -0700, Liu.Zhao wrote: Make sure to always include a commit message. Also change you Subject (patch summary) to something more descriptive using the following format: USB: option: add ZTE PIDs Signed-off-by: Liu.Zhao lzsos...@163.com ---

Re: [GIT PULL] x86 fixes

2015-08-17 Thread Denys Vlasenko
On 08/17/2015 10:01 AM, Ingo Molnar wrote: (Sorry about the late reply, wasn't around on the weekend.) * Linus Torvalds torva...@linux-foundation.org wrote: Now that said, I doubt anybody cares. Since we don't support the original 80386, the only way to ever trigger FP emulation is by

Re: [PATCH v2 2/2] powerpc32: optimise csum_partial() loop

2015-08-17 Thread leroy christophe
Le 17/08/2015 12:56, leroy christophe a écrit : Le 07/08/2015 01:25, Segher Boessenkool a écrit : On Thu, Aug 06, 2015 at 05:45:45PM -0500, Scott Wood wrote: If this makes performance non-negligibly worse on other 32-bit chips, and is an important improvement on 8xx, then we can use an

Re: [PATCH 04/10] mm, page_alloc: Remove unnecessary taking of a seqlock when cpusets are disabled

2015-08-17 Thread Mel Gorman
On Wed, Aug 12, 2015 at 05:16:50PM -0700, David Rientjes wrote: On Wed, 12 Aug 2015, Mel Gorman wrote: There is a seqcounter that protects against spurious allocation failures when a task is changing the allowed nodes in a cpuset. There is no need to check the seqcounter until a cpuset

Re: [PATCH] drm: panel: simple: add QiaoDian qd43003c0-40

2015-08-17 Thread Thierry Reding
On Mon, Aug 17, 2015 at 12:57:24PM +0200, Alexandre Belloni wrote: On 17/08/2015 at 12:09:14 +0200, Thierry Reding wrote : On Sat, Aug 01, 2015 at 12:44:31AM +0200, Alexandre Belloni wrote: From: Josh Wu josh...@atmel.com The QiaoDian Xianshi QD43003C0-40 is a 43 TFT LCD panel.

[RESEND PATCH v5] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-08-17 Thread Pi-Cheng Chen
From: pi-cheng.chen pi-cheng.c...@linaro.org This patch adds CPU mux clocks which are used by Mediatek cpufreq driver for intermediate clock source switching. Signed-off-by: Pi-Cheng Chen pi-cheng.c...@linaro.org Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v5: - Replace

Re: [PATCH] gpio/grgpio: fix deadlock in grgpio_irq_unmap()

2015-08-17 Thread Linus Walleij
On Mon, Aug 17, 2015 at 10:23 AM, Alexandre Courbot acour...@nvidia.com wrote: As reported by Alexey Khoroshilov: grgpio_irq_unmap() code looks quite suspicious regarding usage of priv-bgc.lock spinlock. It locks the spinlock in line 310:

Re: [PATCH] Staging: gdm72xx: usb_ids: fix a macro coding style error

2015-08-17 Thread Dan Carpenter
On Fri, Aug 14, 2015 at 01:08:32PM -0400, Raphaël Beamonte wrote: Fix a macro with complex value coding style error. This patch description is too vague. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [RFCv5, 18/46] arm: topology: Define TC2 energy and provide it to the scheduler

2015-08-17 Thread Leo Yan
Hi Morten, On Tue, Jul 07, 2015 at 07:24:01PM +0100, Morten Rasmussen wrote: From: Dietmar Eggemann dietmar.eggem...@arm.com This patch is only here to be able to test provisioning of energy related data from an arch topology shim layer to the scheduler. Since there is no code today which

RE: [PATCH] PCI: PCI_RCAR_GEN2 and PCI_RCAR_GEN2_PCIE should depend on ARM

2015-08-17 Thread Phil Edworthy
Hi Geert, On 11 August 2015 13:43, Geert wrote: On arm64/shmobile: drivers/pci/host/pci-rcar-gen2.c: In function 'rcar_pci_cfg_base': drivers/pci/host/pci-rcar-gen2.c:112:34: error: dereferencing pointer to incomplete type struct rcar_pci_priv *priv = sys-private_data;

[PATCH] ASoC: mediatek: Remove AIF widgets for backend DAIs

2015-08-17 Thread Koro Chen
DAPM core already creates widgets for DAIs. It is not necessary to declare them by SND_SOC_DAPM_AIF_IN/SND_SOC_DAPM_AIF_OUT. Furthermore, original codes use backend DAI's stream name to be the AIF widget name. It causes the same widget to be created twice, and after commit 92fa12426741 (ASoC:

[PATCH] staging: hfi1: Kconfig: remove 'CONFIG_' prefix

2015-08-17 Thread Valentin Rothberg
cannot test it. I detected this issues with scripts/checkkconfigsymbols.py by diffing next-20150814..next-20150817 drivers/staging/hfi1/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/hfi1/Kconfig b/drivers/staging/hfi1/Kconfig index 87a385a02cba

Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-17 Thread Baolin Wang
On 17 August 2015 at 16:20, Li Jun b47...@freescale.com wrote: On Mon, Aug 17, 2015 at 02:02:08PM +0800, Baolin Wang wrote: On 17 August 2015 at 09:15, Li Jun b47...@freescale.com wrote: On Fri, Aug 14, 2015 at 07:04:56PM +0800, Baolin Wang wrote: On 14 August 2015 at 16:55, Li Jun

[PATCH v4 2/5] pci:host: Add Altera PCIe host controller driver

2015-08-17 Thread Ley Foon Tan
This patch adds the Altera PCIe host controller driver. Signed-off-by: Ley Foon Tan lf...@altera.com --- drivers/pci/host/Kconfig | 7 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera.c | 543 + 3 files changed, 551

Re: [RFC PATCH kernel vfio] mm: vfio: Move pages out of CMA before pinning

2015-08-17 Thread Alexey Kardashevskiy
On 08/17/2015 05:45 PM, Vlastimil Babka wrote: On 08/05/2015 10:08 AM, Alexey Kardashevskiy wrote: This is about VFIO aka PCI passthrough used from QEMU. KVM is irrelevant here. QEMU is a machine emulator. It allocates guest RAM from anonymous memory and these pages are movable which is ok.

[PATCH v4 1/5] arm: add msi.h to Kbuild

2015-08-17 Thread Ley Foon Tan
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN. This to fix compilation error: include/linux/msi.h:123:21: fatal error: asm/msi.h: No such file or directory Signed-off-by: Ley Foon Tan lf...@altera.com --- arch/arm/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH v4] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-17 Thread Daniel Kurtz
On Mon, Aug 17, 2015 at 3:52 PM, Yingjoe Chen yingjoe.c...@mediatek.com wrote: On Fri, 2015-08-14 at 16:38 +0800, maoguang.m...@mediatek.com wrote: From: Maoguang Meng maoguang.m...@mediatek.com This patch implement irq_set_wake to get who is wakeup source and setup on suspend resume.

Re: [PATCH v2 0/3] sched: sync a se with its cfs_rq when attaching and dettaching

2015-08-17 Thread Byungchul Park
On Mon, Aug 17, 2015 at 04:45:49PM +0900, byungchul.p...@lge.com wrote: From: Byungchul Park byungchul.p...@lge.com i am very sorry for ugly versioning.. while i proposed several indivisual patches and was feedbacked, i felt that i needed to pack some patches into one series. thanks, byungchul

Re: [PATCH] mmc: dw_mmc: fix pio mode when internal dmac is enabled

2015-08-17 Thread Ulf Hansson
[...] - mmc-max_seg_size = mmc-max_req_size; -#endif /* CONFIG_MMC_DW_IDMAC */ + if (host-use_dma) { + mmc-max_segs = host-ring_size; I expect this may cause a compiler error since host-ring_size is only available in the struct dw_mci *host

Re: [RFCv5 PATCH 45/46] sched/cpufreq_sched: modify pcpu_capacity handling

2015-08-17 Thread Juri Lelli
Hi Peter, On 16/08/15 21:35, Peter Zijlstra wrote: On Tue, Jul 07, 2015 at 07:24:28PM +0100, Morten Rasmussen wrote: From: Juri Lelli juri.le...@arm.com Use the cpu argument of cpufreq_sched_set_cap() to handle per_cpu writes, as the thing can be called remotely (e.g., from load balacing

Re: [PATCH v2 8/9] usb: serial: mxuport: Simplify return statement

2015-08-17 Thread Johan Hovold
On Tue, Aug 04, 2015 at 02:04:35PM +, Karajgaonkar, Saurabh (S.) wrote: From: Saurabh Karajgaonkar skara...@visteon.com Replace redundant variable use in return statement. Signed-off-by: Saurabh Karajgaonkar skara...@visteon.com --- drivers/usb/serial/mxuport.c | 10 +++--- 1

Re: [PATCH v2 1/3] x86/entry/64: Refactor IRQ stacks and make them NMI-safe

2015-08-17 Thread Andy Shevchenko
On Sat, Jul 25, 2015 at 8:57 AM, Andy Lutomirski l...@kernel.org wrote: This will allow IRQ stacks to nest inside NMIs or similar entries that can happen during IRQ stack setup or teardown. The Xen code here has a confusing comment. The new macros won't work correctly if they're invoked with

Re: [PATCH V3 2/3] arm64: support initrd outside kernel linear map

2015-08-17 Thread Will Deacon
Hi Mark, On Sun, Aug 16, 2015 at 09:49:27PM +0100, Mark Salter wrote: The use of mem= could leave part or all of the initrd outside of the kernel linear map. This will lead to an error when unpacking the initrd and a probable failure to boot. This patch catches that situation and relocates

Re: [PATCH] Update maintainers for DRM STI driver

2015-08-17 Thread Thierry Reding
On Thu, Aug 13, 2015 at 02:32:23PM +0200, Benjamin Gaignard wrote: Add Vincent Abriou and myself has maintainers. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) I'm glad to see this. I think we'll need a couple

Re: [PATCH] mmc: sdhci: also set driver type for MMC_DDR52

2015-08-17 Thread Jisheng Zhang
On Mon, 17 Aug 2015 19:34:39 +0800 Jisheng Zhang jszh...@marvell.com wrote: commit 08f90f14aa93ad424c20bb176b52f329583e2183 (mmc: sdhci: clarify DDR timing mode between SD-UHS and eMMC) added MMC_DDR52 as eMMC's DDR mode to be distinguished from SD-UHS, but it missed setting driver type for

[PATCH v4] fs/pstore: provide panic data even in suspend

2015-08-17 Thread check.kernel
From: Dongdong Yang yangdongd...@xiaomi.com If system restart after panic, this patch also enables panic and oops messages which in suspend context to be logged into ramoops console buffer where it can be read back at some later point. Signed-off-by: Dongdong Yang yangdongd...@xiaomi.com

Re: [PATCH v4 2/5] PM / OPP: add a function to get the voltage for disabled OPPs

2015-08-17 Thread Javi Merino
On Sat, Aug 15, 2015 at 06:59:25AM +0100, Viresh Kumar wrote: On 14-08-15, 18:56, Javi Merino wrote: The OPP library is now used for power models to calculate the power that a device would consume at a specific OPP. To do that, we use a simple power model which takes frequency and voltage

Re: [PATCH] gpiolib: irqchip: use different lockdep class for each gpio irqchip

2015-08-17 Thread Linus Walleij
On Fri, Aug 14, 2015 at 2:40 PM, Lars-Peter Clausen l...@metafoo.de wrote: On 08/14/2015 02:34 PM, Linus Walleij wrote: [...] Every chip will get their own lock class on the heap. But I think it is a bit kludgy. Is it not possible to have the lock key in struct gpio_chip be a real member

Re: [PATCH] gpu/drm/i2c/adv7511: Fix license, set to GPL v2

2015-08-17 Thread Thierry Reding
On Tue, Aug 11, 2015 at 02:22:43PM +0200, Mike Looijmans wrote: Header claims GPL v2, so make the MODULE_LICENSE reflect that properly. Signed-off-by: Mike Looijmans mike.looijm...@topic.nl --- drivers/gpu/drm/i2c/adv7511.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The

Re: [RFC v2 0/1] i2c: acpi: scan ACPI enumerated I2C mux channels

2015-08-17 Thread Mika Westerberg
On Fri, Aug 14, 2015 at 12:31:32PM -0700, Dustin Byford wrote: (v2 corrects cc: list) I would like to add support for scanning I2C devices connected to ACPI OF compatible muxes described in ASL like this: Device (MUX0) { Name (_ADR, 0x70) Name (_HID, PRP0001) Name (_CRS,

Re: [PATCH v7 5/5] iio: Documentation: Add IIO configfs documentation

2015-08-17 Thread Vladimir Barinov
Hi Daniel, Find minor comments. Regards, Vladimir On 11.08.2015 01:42, Daniel Baluta wrote: Signed-off-by: Daniel Baluta daniel.bal...@intel.com --- Documentation/ABI/testing/configfs-iio | 20 Documentation/iio/iio_configfs.txt | 57 ++ 2

Re: [PATCH v10 3/8] add fpga manager core

2015-08-17 Thread Pavel Machek
On Thu 2015-08-13 12:37:27, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com API to support programming FPGA. I'd do s/fpga/FPGA/ in the comments, too. Otherwise looks ok to me. Acked-by: Pavel Machek pa...@denx.de -- (english)

Re: fs: out of bounds on stack in iov_iter_advance

2015-08-17 Thread Andrey Ryabinin
On 08/15/2015 11:13 PM, Chuck Ebbert wrote: On Wed, 12 Aug 2015 10:13:24 -0400 Sasha Levin sasha.le...@oracle.com wrote: While fuzzing with trinity inside a KVM tools guest running -next I've stumbled on the following: [64092.216447]

Re: [PATCH RFC 1/5] drm/edid: Add support to get edid early

2015-08-17 Thread Srinivas Kandagatla
On 17/08/15 08:52, Jani Nikula wrote: On Fri, 14 Aug 2015, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: This patch adds support to get edid way early before the connector is created, this is mainly used for panel drivers to auto-probe the panel based on the vendor and product id

RE: [PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-17 Thread Tirdea, Irina
-Original Message- From: Markus Pargmann [mailto:m...@pengutronix.de] Sent: 17 August, 2015 12:10 To: Jonathan Cameron Cc: Tirdea, Irina; Wolfram Sang; linux-...@vger.kernel.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Pandruvada, Srinivas; Peter Meerwald

Re: [PATCH RFC] eeprom: at24: extend driver to plug into the NVMEM framework

2015-08-17 Thread Srinivas Kandagatla
Hi Andrew, Thanks for the patch, few comments other than Stefan's comments. On 16/08/15 03:54, Andrew Lunn wrote: Add a read only regmap for accessing the EEPROM, and then use that with the NVMEM framework. Signed-off-by: Andrew Lunn and...@lunn.ch --- drivers/misc/eeprom/at24.c | 65

Re: [PATCH] acpi, apei, arm64: APEI initial support for aarch64.

2015-08-17 Thread Will Deacon
On Fri, Aug 14, 2015 at 01:35:53PM +0100, fu@linaro.org wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org This commit provides APEI arch-specific bits for aarch64 Changelog: Fu Wei: Move arch_apei_flush_tlb_one() to arch/arm64/include/asm/apci.h. Delete

Make RCU tree CPU topology aware?

2015-08-17 Thread Alexander Gordeev
Hi Paul, Currently RCU tree distributes CPUs to leafs based on consequent CPU IDs. That means CPUs from remote caches and even nodes might end up in the same leaf. I did not research the impact, but at the glance that seems at least sub-optimal; especially in case of remote nodes, when CPUs

Re: [PATCH] drm: panel: simple: add QiaoDian qd43003c0-40

2015-08-17 Thread Alexandre Belloni
On 17/08/2015 at 12:09:14 +0200, Thierry Reding wrote : On Sat, Aug 01, 2015 at 12:44:31AM +0200, Alexandre Belloni wrote: From: Josh Wu josh...@atmel.com The QiaoDian Xianshi QD43003C0-40 is a 43 TFT LCD panel. Timings from the OTA5180A document, ver 0.9, section 10.1.1:

Re: [PATCH v2 2/2] powerpc32: optimise csum_partial() loop

2015-08-17 Thread leroy christophe
Le 07/08/2015 01:25, Segher Boessenkool a écrit : On Thu, Aug 06, 2015 at 05:45:45PM -0500, Scott Wood wrote: If this makes performance non-negligibly worse on other 32-bit chips, and is an important improvement on 8xx, then we can use an ifdef since 8xx already requires its own kernel build.

[PATCH] lpfc: Fix possible use-after-free and double free in lpfc_mbx_cmpl_rdp_page_a2()

2015-08-17 Thread Johannes Thumshirn
If the bf_get() call in lpfc_mbx_cmpl_rdp_page_a2() does succeeds, execution continues normally and mp gets kfree()d. If the subsequent call to lpfc_sli_issue_mbox() fails execution jumps to the error label where lpfc_mbuf_free() is called with mp-virt and mp-phys as function arguments. This is

[PATCH] [media] DocBook media: Fix typo the the in xml files

2015-08-17 Thread Masanari Iida
This patch fix spelling typo the the found in controls.xml and vidioc-g-param.xml. These xml files are generated from NOT any files, so I have to fix these xml files. Signed-off-by: Masanari Iida standby2...@gmail.com --- Documentation/DocBook/media/v4l/controls.xml | 2 +-

Re: [PATCH v10 8/8] staging: add simple-fpga-bus

2015-08-17 Thread Pavel Machek
On Thu 2015-08-13 12:37:32, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Add simple fpga bus. This is a bus that configures an fpga and its bridges before populating the devices below it. This is intended for use with device tree overlays. Note that

[PATCH v4 3/5] pci: altera: Add Altera PCIe MSI driver

2015-08-17 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan lf...@altera.com --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera-msi.c |

Re: [PATCH v5 6/8] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-08-17 Thread Markus Pargmann
On Sun, Aug 16, 2015 at 10:24:47AM +0100, Jonathan Cameron wrote: On 12/08/15 15:31, Irina Tirdea wrote: Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data.

[PATCH v4 0/5] Altera PCIe host controller driver with MSI support

2015-08-17 Thread Ley Foon Tan
This is the 4th version of patch set to add support for Altera PCIe host controller with MSI feature on Altera FPGA device families. This patchset mainly resolve comments from Marc Zyngier in v3. It is based on patch series from Marc Zyngier Per-device MSI domain platform MSI [1] to get rid of

Re: [PATCH 1/3] staging: wilc1000: code style: fix macro with multiple statements

2015-08-17 Thread Dan Carpenter
On Sun, Aug 16, 2015 at 01:30:12AM -0400, Raphaël Beamonte wrote: #define MALLOC_WILC_BUFFER(name, size) \ - exported_ ## name = kmalloc(size, GFP_KERNEL);\ - if (!exported_ ## name) { \ - printk(fail to alloc: %s memory\n, exported_ ## name); \ -

Re: [PATCH v2 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-17 Thread Li Jun
On Mon, Aug 17, 2015 at 02:02:08PM +0800, Baolin Wang wrote: On 17 August 2015 at 09:15, Li Jun b47...@freescale.com wrote: On Fri, Aug 14, 2015 at 07:04:56PM +0800, Baolin Wang wrote: On 14 August 2015 at 16:55, Li Jun b47...@freescale.com wrote: Hi Baolin, On Fri, Aug 14, 2015 at

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-17 Thread Vaishali Thakkar
On Mon, Aug 17, 2015 at 12:47 PM, Alexandre Courbot gnu...@gmail.com wrote: On Thu, Aug 13, 2015 at 4:29 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: Use managed resource functions devm_clk_put and devm_snd_soc_register_component to simplify error handling. To be compatible with the

Re: [PATCH] mmc: dw_mmc: fix pio mode when internal dmac is enabled

2015-08-17 Thread Ulf Hansson
On 3 August 2015 at 17:04, Heiko Stübner he...@sntech.de wrote: The dw_mci_init_dma() may decide to not use dma, but pio instead, caused by things like wrong dma settings in the system. Till now the code dw_mci_init_slot() always assumed that dma is available when CONFIG_MMC_DW_IDMAC was

linux-next: Tree for Aug 17

2015-08-17 Thread Stephen Rothwell
Hi all, Changes since 20150813: Dropped tree: drm-exynos The pci tree gained a conflict against the arm-soc tree. The v4l-dvb tree still had its build failure so I used the version from next-20150810. The pm tree gained a conflict against the samsung tree. The thermal-soc tree gained a

<    3   4   5   6   7   8   9   10   11   12   >