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

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

2015-08-17 Thread Thierry Reding
On Mon, Aug 17, 2015 at 12:52:20PM +0200, Thierry Reding wrote: 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 ---

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

2015-08-17 Thread Morten Rasmussen
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 Before After 315.545 313.408 -0.68% Target: Intel(R) Core(TM) i5 CPU M

Re: [PATCH 2/3] mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic

2015-08-17 Thread Jaehoon Chung
On 08/17/2015 02:52 PM, Michal Suchanek wrote: Hello, On 17 August 2015 at 03:55, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Michal. On 08/12/2015 09:23 PM, Michal Suchanek wrote: The driver has open-coded test for SDIO cards. Use the mmc core provided MMC_QUIRK_BROKEN_CLK_GATING

Re: [PATCH v3 0/8] change sb_writers to use percpu_rw_semaphore

2015-08-17 Thread Oleg Nesterov
On 08/16, Arthur Marsh wrote: Would these patches address what I've seen in the last day or so using Linus' git head kernel and seeing problems like: No, this series shouldn't make any difference. [0.00] Linux version 4.2.0-rc6+ (root@victoria) (gcc version 5.2.1 20150808 (Debian

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

2015-08-17 Thread Jisheng Zhang
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 MMC_DDR52 timing mode. This patches adds the missing driver type setting. Fixes:

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

2015-08-17 Thread Jisheng Zhang
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 patches adds the missing driver type setting. Fixes: bb8175a8aa42 (mmc: sdhci:

Re: [RFCv5 PATCH 40/46] sched/cpufreq_sched: compute freq_new based on capacity_orig_of()

2015-08-17 Thread Juri Lelli
On 16/08/15 21:24, Peter Zijlstra wrote: On Sat, Aug 15, 2015 at 09:03:33PM -0700, Michael Turquette wrote: Quoting Peter Zijlstra (2015-08-15 05:46:38) On Tue, Jul 07, 2015 at 07:24:23PM +0100, Morten Rasmussen wrote: diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c

TIETOTURVAPÄIVITYS

2015-08-17 Thread Mandell, Gerald
HYVÄ ASIAKAS Uuden ohjelmiston asentaminen internetpankkiisi. Tämän palvelun avulla NORDEA-internetpankkisi on vapaa viruksista, saat lisäturvan internetpetoksia vastaan ja nopean pääsyn e-pankkiisi suoraan puhelimellasi. Aloittaaksesi ohjelmistopäivityksen, pyydämme sinua klikkaamaan alla

[RESEND PATCH 0/3 v6] Add Mediatek MT8173 cpufreq driver

2015-08-17 Thread Pi-Cheng Chen
MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster share the same power and clock domain. This series tries to add cpufreq support for MT8173 SoC. The v6 of this series is resent with Acks added. changes in v6: - Move clock and regulator consumer properties document to the

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

2015-08-17 Thread Tirdea, Irina
-Original Message- From: Jonathan Cameron [mailto:ji...@kernel.org] Sent: 16 August, 2015 12:25 To: Tirdea, Irina; Wolfram Sang; linux-...@vger.kernel.org; linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; Pandruvada, Srinivas; Peter Meerwald Subject: Re: [PATCH v5 6/8]

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

2015-08-17 Thread Grygorii Strashko
On 08/14/2015 03:34 PM, Linus Walleij wrote: On Thu, Aug 13, 2015 at 4:58 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: Since IRQ chip helpers were introduced drivers lose ability to register separate lockdep classes for each registered GPIO IRQ chip and the gpiolib now is using

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 19:11 +1000, 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

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

2015-08-17 Thread Thierry Reding
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: http://www.orientdisplay.com/pdf/OTA5180A.pdf Signed-off-by: Josh

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-17 Thread Ingo Molnar
* Chen Yu yu.c.c...@intel.com wrote: A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) that, after resuming from S3, CPU is working at a low speed. After investigation, it is found that, BIOS has modified the value of THERM_CONTROL register during S3, changes it from 0

Re: [PATCH v7 3/5] iio: core: Introduce IIO software triggers

2015-08-17 Thread Vladimir Barinov
Hi Daniel, Minor comments since I need your hrtimer trigger support. 1) The drivers/iio/industrialio-sw-trigger.c should probably come to drivers/iio/trigger/ folder which is under ifdef condition in drivers/iio/Kconfig 2) it breaks compilation enabling IIO_HRTIMER_TRIGGER selects

  1   2   3   4   5   6   7   8   >