Re: [jet.c...@intel.com: [bio] kernel BUG at drivers/block/virtio_blk.c:166!]

2014-05-27 Thread Maurizio Lombardi
On Tue, May 27, 2014 at 10:43:59AM +0200, Maurizio Lombardi wrote: But now I'm suspicious of this part of commit 3979ef4dcf: failed: bvec-bv_page = NULL; bvec-bv_len = 0; bvec-bv_offset = 0; bio-bi_vcnt--;

Re: [PATCH v4 00/11] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-05-27 Thread Vikas Sajjan
Hi, Any comments on this series? On Sat, May 10, 2014 at 12:26 PM, Pankaj Dubey pankaj.du...@samsung.com wrote: This patch series, does some minor cleanup of exynos machine files. It also modifies Exynos Power Management Unit (PMU) related code for converting it into a platform_driver. This

Re: [RFT][PATCH] regulator: pfuze100: Support enable/disable for fixed regulator

2014-05-27 Thread Mark Brown
On Mon, May 26, 2014 at 05:56:13PM +0800, Axel Lin wrote: Current code has .enable_reg and .enable_mask settings, but the implementation for corresponding callbacks are missing. Fix it. Applied, thanks. signature.asc Description: Digital signature

[PATCH v2] clk: exynos4: Add PPMU IP block source clocks.

2014-05-27 Thread Jonghwa Lee
Exynos4 has saveral PPMUs and each of them has operation clock which can be gated through CMU's SFR control. New clocks are listed below. All clocks are added as a gate-typed clock. CLK_PPMULEFT, CLK_PPMURIGHT, CLK_PPMUCAMIF, CLK_PPMUTV, CLK_PPMUMFC_L, CLK_PPMUMFC_R, CLK_G3D, CLK_PPMUIMAGE,

[PATCH] notify block layer when using temporary change to cache_type

2014-05-27 Thread Vaughan Cao
This is a fix for commit: 39c60a0948cc06139e2fbfe084f83cb7e7deae3b sd: fix array cache flushing bug causing performance problems We must notify the block layer via q-flush_flags after temporary change the cache_type to write through. If not, SYNCHRONIZE CACHE command will still be generated.

[PATCH] MAINTAINERS: add AT91 Clock Support entry

2014-05-27 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1066264..40c5580 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -808,6 +808,11 @@ F: arch/arm/boot/dts/at91*.dtsi F:

Re: [PATCH linux-next] DRM: Armada: update dma_buf_export use

2014-05-27 Thread Sumit Semwal
On 27 May 2014 11:52, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Dave, On Tue, 27 May 2014 15:52:46 +1000 Dave Airlie airl...@gmail.com wrote: Then we should cc him. He was cc'd on my email that you replied to ... But I guess the extra prod won't hurt :-) :) thanks for the prod

Re: [PATCH v4 0/2] i2c: sunxi: add P2WI controller support

2014-05-27 Thread Boris BREZILLON
Hello Wolfram, No news from you regarding this patch series. Is there anything you want me to fix ? Otherwise It would be great to have this series merged, because the PMIC used on Allwinner's A31 boards are connected through this P2WI bus. Best Regards, Boris On 10/05/2014 11:46, Boris

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-27 Thread Lorenzo Pieralisi
On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: Broadcom mobile SoCs use a ROM-implemented holding pen for controlled boot of secondary cores. A special register is used to communicate to the ROM that a secondary core should start executing kernel code. This enable method is

Re: [RFC][PATCH 0/5] VM_PINNED

2014-05-27 Thread Vlastimil Babka
On 05/27/2014 01:11 PM, Konstantin Khlebnikov wrote: On Tue, May 27, 2014 at 2:54 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, May 27, 2014 at 12:29:09PM +0200, Peter Zijlstra wrote: On Tue, May 27, 2014 at 12:49:08AM +0400, Konstantin Khlebnikov wrote: Another suggestion.

[PATCH V4 3/8] opp: Enhance debug messages in of_init_opp_table()

2014-05-27 Thread Viresh Kumar
Enhance print messages for debugging purposes. Add a dev_err() whenever we fail to initialize OPP table due to some error in the table present in dts and add a dev_dbg() for success case. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/base/power/opp.c | 7 ++- 1 file

[PATCH V4 0/8] driver/core: cpu: initialize opp table

2014-05-27 Thread Viresh Kumar
Drivers expecting CPU's OPPs from device tree initialize OPP table themselves by calling of_init_opp_table() and there is nothing driver specific in that. They all do it in the same redundant way. It would be better if we can get rid of redundancy by initializing CPU OPPs from CPU core code for

[PATCH V4 2/8] opp: call of_node_{get|put}() from of_init_opp_table()

2014-05-27 Thread Viresh Kumar
All callers of of_init_opp_table() are required to take reference of dev-of_node, by initiating calls to of_node_{get|put}(), before and after calling of_init_opp_table(). Its better to call these from within of_init_opp_table(), no fun adding redundant code to every caller. Signed-off-by:

[PATCH V4 1/8] opp: of_init_opp_table(): return -ENOSYS when feature isn't implemented

2014-05-27 Thread Viresh Kumar
When none of CONFIG_PM_OPP or CONFIG_OF is enabled we use the dummy implementation of of_init_opp_table() routine, which returns -EINVAL currently. -EINVAL can confuse the callers a bit as it can have other meanings for the actual implementation of this routine. It is more appropriate to return

[PATCH V4 7/8] cpufreq: cpufreq-cpu0: don't initialize opp table

2014-05-27 Thread Viresh Kumar
CPU OPP tables are already initialized by CPU core and we don't need to reinitialize them from cpufreq-cpu0 driver. Acked-by: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq-cpu0.c | 6 -- 1 file changed, 6 deletions(-) diff

[PATCH V4 4/8] driver/core: cpu: initialize opp table

2014-05-27 Thread Viresh Kumar
Drivers expecting CPU's OPPs from device tree initialize OPP table themselves by calling of_init_opp_table() and there is nothing driver specific in that. They all do it in the same redundant way. It would be better if we can get rid of redundancy by initializing CPU OPPs from CPU core code for

[PATCH V4 5/8] cpufreq: arm_big_little: don't initialize opp table

2014-05-27 Thread Viresh Kumar
CPU OPP tables are already initialized by CPU core and we don't need to reinitialize them from arm_big_little_dt driver. As the arm_big_little_dt driver doesn't have a .init_opp_table() callback anymore, make this callback optional. Cc: Sudeep Holla sudeep.ho...@arm.com Signed-off-by: Viresh

[PATCH V4 6/8] cpufreq: imx6q: don't initialize opp table

2014-05-27 Thread Viresh Kumar
CPU OPP tables are already initialized by CPU core and we don't need to reinitialize them from imx6q specific code. Acked-by: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- arch/arm/mach-imx/mach-imx6q.c | 36

[PATCH V4 8/8] cpufreq: exynos5440: don't initialize opp table

2014-05-27 Thread Viresh Kumar
CPU OPP tables are already initialized by CPU core and we don't need to reinitialize them from exynos5440's driver. Cc: Amit Daniel Kachhap amit.dan...@samsung.com Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/exynos5440-cpufreq.c |

Re: [PATCH V3] bio: modify __bio_add_page() to accept pages that don't start a new segment

2014-05-27 Thread Maurizio Lombardi
On Tue, May 27, 2014 at 06:15:45PM +0800, Ming Lei wrote: If the page can be merged to last segment, it should have been covered by code in branch of 'if (bio-bi_vcnt 0) ...', shouldn't it? Or maybe it is better to make that code cover your case since looks your case is similar with that

Re: [PATCH v2 4/4] ARM: debug: qcom: add UART addresses to Kconfig help

2014-05-27 Thread Georgi Djakov
On 05/26/2014 08:17 PM, Matthias Brugger wrote: 2014-05-26 15:45 GMT+02:00 Georgi Djakov gdja...@mm-sol.com: On 23.05.14, 19:39, Matthias Brugger wrote: 2014-05-23 17:12 GMT+02:00 Georgi Djakov gdja...@mm-sol.com: Add information about the APQ8084 debug UART physical and virtual addresses

[PATCH RESEND] regulator: arizona-ldo1: add missing #include

2014-05-27 Thread Charles Keepax
From: Arnd Bergmann a...@arndb.de commit 2cce4be9e6b8 regulator: arizona-ldo1: Add processing of init_data from device tree added a call to of_get_child_by_name() but did not add an #include to the header file declaring that function. I got a build error when doing randconfig testing on this,

[PATCH 1/2] regulators: Add definition of regulator_set_voltage_time() for !CONFIG_REGULATOR

2014-05-27 Thread Viresh Kumar
We already have dummy implementation for most of the regulators APIs for !CONFIG_REGULATOR case and were missing it for regulator_set_voltage_time(). Found this issue while compiling cpufreq-cpu0 driver without regulators support in kernel. drivers/cpufreq/cpufreq-cpu0.c: In function

[PATCH V2 2/2] cpufreq: cpufreq-cpu0: remove dependency on THERMAL and REGULATOR

2014-05-27 Thread Viresh Kumar
cpufreq-cpu0 uses thermal framework to register a cooling device, but doesn't depend on it as there are dummy calls provided by thermal layer when CONFIG_THERMAL=n. And when these calls fail, the driver is still usable. Similar explanation is valid for regulators as well. We do have dummy calls

Re: [V6 00/11] perf: New conditional branch filter

2014-05-27 Thread Stephane Eranian
Hi, On Mon, May 5, 2014 at 11:09 AM, Anshuman Khandual khand...@linux.vnet.ibm.com wrote: This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND branch filter. This patchset also enables SW based branch

Re: [PATCH v4 2/8] OF: Introduce DT overlay support.

2014-05-27 Thread Grant Likely
On Mon, 26 May 2014 23:44:41 +0200, Geert Uytterhoeven ge...@linux-m68k.org wrote: Hi Grant, On Mon, May 26, 2014 at 11:33 PM, Grant Likely grant.lik...@secretlab.ca wrote: After thinking about it more, I think it is very likely that removing all the overlays is the correct thing to do

[GIT pull] timer fixes for 3.15

2014-05-27 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus Two small fixlets for ARM SoC clocksource drivers: * Avoid calling functions which might sleep from interrupt [disabled] context in

Re: [PATCH v4 2/8] OF: Introduce DT overlay support.

2014-05-27 Thread Grant Likely
On Mon, 26 May 2014 16:42:44 -0700, Guenter Roeck li...@roeck-us.net wrote: On 05/26/2014 03:36 PM, Sebastian Reichel wrote: Hi, On Mon, May 26, 2014 at 10:33:03PM +0100, Grant Likely wrote: After thinking about it more, I think it is very likely that removing all the overlays is the

Re: [PATCH v4 2/8] OF: Introduce DT overlay support.

2014-05-27 Thread Pantelis Antoniou
Hi Grant, On May 27, 2014, at 3:12 PM, Grant Likely wrote: On Mon, 26 May 2014 16:42:44 -0700, Guenter Roeck li...@roeck-us.net wrote: On 05/26/2014 03:36 PM, Sebastian Reichel wrote: Hi, On Mon, May 26, 2014 at 10:33:03PM +0100, Grant Likely wrote: After thinking about it more, I think

Re: [PATCH] MAINTAINERS: add AT91 Clock Support entry

2014-05-27 Thread Nicolas Ferre
On 27/05/2014 13:39, Boris BREZILLON : Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Of course Boris, that will be good: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [RFC PATCH 00/11][V2] kexec: A new system call to allow in kernel loading

2014-05-27 Thread Vivek Goyal
On Mon, May 26, 2014 at 10:25:14AM +0200, Borislav Petkov wrote: Hi Vivek, On Mon, Jan 27, 2014 at 01:57:40PM -0500, Vivek Goyal wrote: Hi This is V2 of new system call patches. Previous version was posted here. just a quick ping here, are you working on a v3? Anything I can help

Re: [PATCH v3 12/13] mmc: mmci: add explicit clk control

2014-05-27 Thread Srinivas Kandagatla
On 27/05/14 10:32, Ulf Hansson wrote: On 27 May 2014 00:39, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: Hi Ulf, Thankyou for the comments. On 26/05/14 15:21, Ulf Hansson wrote: On 23 May 2014 14:52, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla

[PATCH] ARM: at91/defconfig: sama5_defconfig: updated

2014-05-27 Thread Nicolas Ferre
From: Wenyou Yang wenyou.y...@atmel.com due to enabling -- CONFIG_REGULATOR -- CONFIG_REGULATOR_ACT8865 Signed-off-by: Wenyou Yang wenyou.y...@atmel.com [nicolas.fe...@atmel.com: move added entries to proper location within file] Signed-off-by: Nicolas Ferre

Re: [PATCH v2 2/2] of: Stop naming platform_device using dcr address

2014-05-27 Thread Grant Likely
On Fri, 23 May 2014 16:07:08 +0200, Arnd Bergmann a...@arndb.de wrote: On Friday 23 May 2014 08:36:09 Grant Likely wrote: There is now a way to ensure all platform devices get a unique name when populated from the device tree, and the DCR_NATIVE code path is broken anyway. PowerPC Cell

Re: [PATCH RFC] blkcg: prepare blkcg knobs for default hierarchy

2014-05-27 Thread Vivek Goyal
On Fri, May 23, 2014 at 01:39:57PM -0400, Tejun Heo wrote: Hello, Vivek. On Wed, Apr 23, 2014 at 03:21:09PM -0400, Vivek Goyal wrote: What about sync/async differentiation? Throttling layer seems to flag a request sync only if bio-bi_rw flag has REQ_SYNC set. While CFQ seems to consider

Re: [PATCH v2 02/11] sched: remove a wake_affine condition

2014-05-27 Thread Peter Zijlstra
On Fri, May 23, 2014 at 05:52:56PM +0200, Vincent Guittot wrote: I have tried to understand the meaning of the condition : (this_load = load this_load + target_load(prev_cpu, idx) = tl_per_task) but i failed to find a use case that can take advantage of it and i haven't found description

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/27 17:55, Mike Galbraith wrote: On Tue, 2014-05-27 at 15:56 +0800, Libo Chen wrote: On 2014/5/26 22:19, Mike Galbraith wrote: On Mon, 2014-05-26 at 20:16 +0800, Libo Chen wrote: On 2014/5/26 13:11, Mike Galbraith wrote: Your synthetic test is the absolute worst case

[PATCH] ARM: STi: DT: STiH41x: Convert all uppercase non-defines to lowercase

2014-05-27 Thread Lee Jones
Suggested-by: Olof Johansson o...@lixom.net Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 340 +++--- arch/arm/boot/dts/stih416-b2020-revE.dts | 6 +- arch/arm/boot/dts/stih416-pinctrl.dtsi | 342

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/27 17:48, Peter Zijlstra wrote: So: 1) what kind of weird ass workload is that? Why are you waking up so often to do no work? it's just a testcase, I agree it doesn`t exist in real world. 2) turning on/off share_pkg_resource is a horrid hack whichever way aruond you turn it.

Re: [PATCH v3 4/7] of: configure the platform device dma parameters

2014-05-27 Thread Grant Likely
On Fri, 02 May 2014 11:58:30 +0200, Arnd Bergmann a...@arndb.de wrote: On Thursday 01 May 2014 14:12:10 Grant Likely wrote: I've got two concerns here. of_dma_get_range() retrieves only the first tuple from the dma-ranges property, but it is perfectly valid for dma-ranges to contain

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/27 18:55, Mike Galbraith wrote: On Tue, 2014-05-27 at 12:43 +0200, Peter Zijlstra wrote: On Tue, May 27, 2014 at 12:05:33PM +0200, Mike Galbraith wrote: On Tue, 2014-05-27 at 11:48 +0200, Peter Zijlstra wrote: So I suppose this is due to the select_idle_sibling() nonsense again,

Re: [PATCH linux-next] imx-drm: imx-tve: remove unused variable

2014-05-27 Thread Daniel Vetter
On Mon, May 26, 2014 at 09:12:52AM +1000, Stephen Rothwell wrote: Hi all, On Sun, 25 May 2014 15:12:35 -0700 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Sun, May 25, 2014 at 11:54:14PM +0200, Vincent Stehlé wrote: Commit f9b0e251dfbf 'drm: make mode_valid callback

[PATCH RFC RESEND 06/14] block, bfq: modify the peak-rate estimator

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it Unless the maximum budget B_max that BFQ can assign to a queue is set explicitly by the user, BFQ automatically updates B_max. In particular, BFQ dynamically sets B_max to the number of sectors that can be read, at the current estimated peak rate,

[PATCH RFC RESEND 10/14] block, bfq: preserve a low latency also with NCQ-capable drives

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it I/O schedulers typically allow NCQ-capable drives to prefetch I/O requests, as NCQ boosts the throughput exactly by prefetching and internally reordering requests. Unfortunately, as discussed in detail and shown experimentally in [1], this may cause

[PATCH RFC RESEND 07/14] block, bfq: add more fairness to boost throughput and reduce latency

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it We have found four sources of throughput loss and higher latencies. First, write requests tend to starve read requests, basically because, on one side, writes are slower than reads, whereas, on the other side, storage devices confuse schedulers by

[PATCH RFC RESEND 14/14] block, bfq: boost the throughput with random I/O on NCQ-capable HDDs

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it This patch is basically the counterpart of patch 13 for NCQ-capable rotational devices. Exactly as patch 13 does on flash-based devices and for any workload, this patch disables device idling on rotational devices, but only for random I/O. More

[PATCH RFC RESEND 09/14] block, bfq: reduce I/O latency for soft real-time applications

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it To guarantee a low latency also to the I/O requests issued by soft real-time applications, this patch introduces a further heuristic, which weight-raises (in the sense explained in patch 8) also the queues associated to applications deemed as soft

[PATCH RFC RESEND 04/14] block, bfq: add full hierarchical scheduling and cgroups support

2014-05-27 Thread paolo
From: Fabio Checconi fchecc...@gmail.com Complete support for full hierarchical scheduling, with a cgroups interface. The name of the new subsystem is bfqio. Weights can be assigned explicitly to groups and processes through the cgroups interface, differently from what happens, for single

Re: [RFC][PATCH 0/5] VM_PINNED

2014-05-27 Thread Peter Zijlstra
On Tue, May 27, 2014 at 03:11:36PM +0400, Konstantin Khlebnikov wrote: On Tue, May 27, 2014 at 2:54 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, May 27, 2014 at 12:29:09PM +0200, Peter Zijlstra wrote: On Tue, May 27, 2014 at 12:49:08AM +0400, Konstantin Khlebnikov wrote: Another

Re: [PATCH v2] pinctrl: Enable power-source to be extracted from DT files

2014-05-27 Thread Heiko Stübner
Am Dienstag, 27. Mai 2014, 09:27:36 schrieb Ivan T. Ivanov: From: Ivan T. Ivanov iiva...@mm-sol.com Add power-source property to generic options used for DT parsing files. This enables drivers, which use generic pin configurations, to get the value passed to this property. I think the main

Re: [RFC][PATCH 0/5] VM_PINNED

2014-05-27 Thread Peter Zijlstra
On Tue, May 27, 2014 at 01:50:47PM +0200, Vlastimil Babka wrote: What if VM_PINNED will require VM_LOCKED? I.e. user must mlock it before pining and cannot munlock vma while it's pinned. Mlocking makes sense, as pages won't be uselessly scanned on non-evictable LRU, no? (Or maybe I just

[for-next][PATCH] ftrace: Make CALLER_ADDRx macros more generic

2014-05-27 Thread Steven Rostedt
Will, I made a separate branch called ftrace/arm64 as shown below. You can pull that branch to base the rest of Akashi-san's patches on top of it. The branch is based on top of v3.15-rc5. -- Steve git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/arm64 Head SHA1:

Re: balance storm

2014-05-27 Thread Peter Zijlstra
On Tue, May 27, 2014 at 08:55:20PM +0800, Libo Chen wrote: On 2014/5/27 17:48, Peter Zijlstra wrote: In any case, I'm not sure what the 'regression' report is against, as there's only a single kernel version mentioned: 3.4, and that's almost a upstream has the same problem, I have

Re: [RESEND PATCH v5 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms

2014-05-27 Thread Daniel Thompson
On 26/05/14 14:39, Arnd Bergmann wrote: diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index eab8ecb..4c8d7db 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -842,7 +842,18 @@ choice config DEBUG_LL_UART_NONE bool No low-level

Re: [lxc-devel] [RFC PATCH 11/11] loop: Allow priveleged operations for root in the namespace which owns a device

2014-05-27 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): On Tue, 2014-05-27 at 03:36 +0200, Serge E. Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): On Mon, 2014-05-26 at 11:16 +0200, Seth Forshee wrote: On Fri, May 23, 2014 at 08:48:25AM +0300, Marian Marinov wrote:

Re: balance storm

2014-05-27 Thread Mike Galbraith
On Tue, 2014-05-27 at 20:50 +0800, Libo Chen wrote: in my box: perf top -g --sort=symbol Events: 3K cycles 73.27% [k] read_hpet 4.30% [k] _raw_spin_lock_irqsave 1.88% [k] __schedule 1.00% [k] idle_cpu 0.91% [k] native_write_msr_safe 0.68% [k] select_task_rq_fair

Re: [PATCH] arm: Set hardirq tracing to on when idling

2014-05-27 Thread Corey Minyard
On 05/26/2014 04:26 AM, Arnd Bergmann wrote: On Sunday 25 May 2014 14:15:23 miny...@acm.org wrote: From: Corey Minyard cminy...@mvista.com The CPU will go to idle with interrupts off, but the interrupts will wake up the idle. This was causing very long irqsoff trace values because,

Re: [PATCH] pinctrl: msm: Add missing sdc1 and sdc3 groups for apq8064

2014-05-27 Thread Linus Walleij
On Sat, May 24, 2014 at 2:32 AM, Bjorn Andersson bjorn.anders...@sonymobile.com wrote: Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Looks good but can't apply it! Can you rebase this onto my devel branch and resend? Yours, Linus Walleij -- To unsubscribe from this list: send

Re: [PATCH] spi: Set cs-gpios to output direction

2014-05-27 Thread Linus Walleij
On Sat, May 24, 2014 at 2:57 AM, Stephen Boyd sb...@codeaurora.org wrote: Also, is it better to convert this over to the gpiod interfaces? Yes :-) Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-27 Thread Linus Walleij
On Sun, May 25, 2014 at 10:26 AM, Barry Song bao...@kernel.org wrote: 2014-05-09 19:53 GMT+08:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 1, 2014 at 2:29 PM, Barry Song bao...@kernel.org wrote: 2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This rewrites the SIRF

[RFC PATCH 3/3] MCE, CE: Add debugging glue

2014-05-27 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de For testing purposes only. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/kernel/cpu/mcheck/ce.c | 24 arch/x86/kernel/cpu/mcheck/mce.c | 31 ++- 2 files changed, 54 insertions(+), 1 deletion(-)

[RFC PATCH 2/3] MCE, CE: Wire in the CE collector

2014-05-27 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Add the CE collector to the polling path which collects the correctable errors. Collect only DRAM ECC errors for now. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/kernel/cpu/mcheck/mce.c | 62 +++- 1 file

[RFC PATCH 0/3] RAS: Correctable Errors Collector thing

2014-05-27 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Hi all, this is something Tony and I have been working on behind the curtains recently. Here it is in a RFC form, it passes quick testing in kvm. Let me send it out before I start hammering on it on a real machine. More indepth info about what it is and what

[RFC PATCH 1/3] MCE, CE: Corrected errors collecting thing

2014-05-27 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de A simple data structure for collecting correctable errors. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/include/asm/mce.h | 4 + arch/x86/kernel/cpu/mcheck/Makefile | 2 +- arch/x86/kernel/cpu/mcheck/ce.c | 281

[PATCH RFC RESEND 03/14] block: add hierarchical-support option to kconfig

2014-05-27 Thread paolo
From: Fabio Checconi fchecc...@gmail.com Add the CGROUP_BFQIO option to Kconfig.iosched. This option allows full hierarchical support to be enabled in BFQ, and the bfqio controller to be added to the cgroups interface. Signed-off-by: Fabio Checconi fchecc...@gmail.com Signed-off-by: Paolo

[PATCH RFC RESEND 08/14] block, bfq: improve responsiveness

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it This patch introduces a simple heuristic to load applications quickly, and to perform the I/O requested by interactive applications just as quickly. To this purpose, both a newly-created queue and a queue associated with an interactive application (we

[PATCH RFC RESEND 05/14] block, bfq: improve throughput boosting

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it The feedback-loop algorithm used by BFQ to compute queue (process) budgets is basically a set of three update rules, one for each of the main reasons why a queue may be expired. If many processes suddenly switch from sporadic I/O to greedy and

[PATCH RFC RESEND 11/14] block, bfq: reduce latency during request-pool saturation

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it This patch introduces an heuristic that reduces latency when the I/O-request pool is saturated. This goal is achieved by disabling device idling, for non-weight-raised queues, when there are weight- raised queues with pending or in-flight requests. In

Re: [PATCH v3 4/7] of: configure the platform device dma parameters

2014-05-27 Thread Arnd Bergmann
On Tuesday 27 May 2014 13:56:55 Grant Likely wrote: On Fri, 02 May 2014 11:58:30 +0200, Arnd Bergmann a...@arndb.de wrote: On Thursday 01 May 2014 14:12:10 Grant Likely wrote: I've got two concerns here. of_dma_get_range() retrieves only the first tuple from the dma-ranges

[PATCH RFC RESEND 12/14] block, bfq: add Early Queue Merge (EQM)

2014-05-27 Thread paolo
From: Arianna Avanzini avanzini.aria...@gmail.com A set of processes may happen to perform interleaved reads, i.e., read requests whose union would give rise to a sequential read pattern. There are two typical cases: first, processes reading fixed-size chunks of data at a fixed distance from each

[PATCH RFC RESEND 13/14] block, bfq: boost the throughput on NCQ-capable flash-based devices

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it This patch boosts the throughput on NCQ-capable flash-based devices, while still preserving latency guarantees for interactive and soft real-time applications. The throughput is boosted by just not idling the device when the in-service queue remains

Re: [PATCH] gpio: gpiolib: set gpiochip_remove retval to void

2014-05-27 Thread Linus Walleij
On Fri, May 23, 2014 at 7:03 PM, abdoulaye berthe berthe...@gmail.com wrote: This avoids handling gpiochip remove error in device remove handler. Signed-off-by: abdoulaye berthe berthe...@gmail.com In general this is the right thing to do. for (id = 0; id chip-ngpio; id++) { -

Re: [PATCH] export efi.flags to sysfs

2014-05-27 Thread Vivek Goyal
On Mon, May 26, 2014 at 04:39:35PM +0800, Dave Young wrote: For efi=old_map and any old_map quirks like SGI UV in current tree kexec/kdump will fail because it depends on the new 1:1 mapping. Thus export the mapping method to sysfs so kexec tools can switch to original way to boot.

Re: [PATCH] export efi.flags to sysfs

2014-05-27 Thread Fleming, Matt
On 27 May 2014 04:00, Dave Young dyo...@redhat.com wrote: On 05/26/14 at 04:39pm, Dave Young wrote: For efi=old_map and any old_map quirks like SGI UV in current tree kexec/kdump will fail because it depends on the new 1:1 mapping. Thus export the mapping method to sysfs so kexec tools can

[PATCH RFC RESEND 00/14] New version of the BFQ I/O Scheduler

2014-05-27 Thread paolo
From: Paolo Valente paolo.vale...@unimore.it [Re-posting, previous attempt seems to have partially failed] Hi, this patchset introduces the last version of BFQ, a proportional-share storage-I/O scheduler. BFQ also supports hierarchical scheduling with a cgroups interface. The first version of

[PATCH RFC RESEND 01/14] block: kconfig update and build bits for BFQ

2014-05-27 Thread paolo
From: Fabio Checconi fchecc...@gmail.com Update Kconfig.iosched and make the related Makefile changes to include kernel-configuration options for BFQ. Signed-off-by: Fabio Checconi fchecc...@gmail.com Signed-off-by: Paolo Valente paolo.vale...@unimore.it Signed-off-by: Arianna Avanzini

Re: [RESEND PATCH v5 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms

2014-05-27 Thread Arnd Bergmann
On Tuesday 27 May 2014 14:13:32 Daniel Thompson wrote: On 26/05/14 14:39, Arnd Bergmann wrote: diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index eab8ecb..4c8d7db 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -842,7 +842,18 @@ choice

[PATCH v5 00/03]: hwrng: an in-kernel rngd

2014-05-27 Thread Torsten Duwe
On Tue, Apr 15, 2014 at 09:53:53AM -0700, Andy Lutomirski wrote: On Tue, Apr 15, 2014 at 1:51 AM, Torsten Duwe d...@lst.de wrote: You're right. Would anyone object to call it quality, as in RX signal quality? In context of a random source that is pretty accurate, I'd say. Other

Re: [PATCH 1/9] procfs: use flags to deny or allow access to /proc/pid/$entry

2014-05-27 Thread Djalal Harouni
On Mon, May 26, 2014 at 12:17:48PM -0700, Andy Lutomirski wrote: On Mon, May 26, 2014 at 12:13 PM, Djalal Harouni tix...@opendz.org wrote: On Mon, May 26, 2014 at 11:06:40AM -0700, Andy Lutomirski wrote: On Mon, May 26, 2014 at 10:21 AM, Djalal Harouni tix...@opendz.org wrote: I would like

Re: [PATCH v2 02/11] sched: remove a wake_affine condition

2014-05-27 Thread Peter Zijlstra
On Fri, May 23, 2014 at 05:52:56PM +0200, Vincent Guittot wrote: If sync is set, it's not as straight forward as above (especially if cgroup are involved) avg load with cgroups is 'interesting' alright. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-27 Thread Alex Elder
On 05/27/2014 06:49 AM, Lorenzo Pieralisi wrote: On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: Broadcom mobile SoCs use a ROM-implemented holding pen for controlled boot of secondary cores. A special register is used to communicate to the ROM that a secondary core should start

RE: Regression in hyperv network driver in 3.14

2014-05-27 Thread KY Srinivasan
-Original Message- From: Bernhard Walle [mailto:bernh...@bwalle.de] Sent: Tuesday, May 27, 2014 4:10 AM To: Haiyang Zhang Cc: KY Srinivasan; linux-kernel@vger.kernel.org Subject: Regression in hyperv network driver in 3.14 Hello, using a 3.14 kernel in a Linux VM running on

[Patch 01/03]: provide an injection point for pure hardware randomness

2014-05-27 Thread Torsten Duwe
This patch adds an interface to the random pool for feeding entropy in-kernel. It may serve as a destination for dedicated HWRNGs. It resembles -- and could be merged with -- the ioctl(RNDADDENTROPY) code, plus a sleep condition for eager writers. Signed-off-by: Torsten Duwe d...@suse.de ---

[Patch v5 02/03]: hwrng: create filler thread

2014-05-27 Thread Torsten Duwe
This can be viewed as the in-kernel equivalent of hwrngd; like FUSE it is a good thing to have a mechanism in user land, but for some reasons (simplicity, secrecy, integrity, speed) it may be better to have it in kernel space. This patch creates a thread once a hwrng registers, and uses the

Re: [PATCH v2 02/11] sched: remove a wake_affine condition

2014-05-27 Thread Peter Zijlstra
On Fri, May 23, 2014 at 05:52:56PM +0200, Vincent Guittot wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 9587ed1..30240ab 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4238,7 +4238,6 @@ static int wake_affine(struct sched_domain *sd, struct task_struct

[Patch v5 03/03]: hwrng: khwrngd derating per device

2014-05-27 Thread Torsten Duwe
This patch introduces a derating factor to struct hwrng for the random bits going into the kernel input pool, and a common default derating for drivers which do not specify one. Signed-off-by: Torsten Duwe d...@suse.de --- drivers/char/hw_random/core.c | 11 ++-

Re: [PATCH v2 03/11] sched: fix avg_load computation

2014-05-27 Thread Peter Zijlstra
On Fri, May 23, 2014 at 05:52:57PM +0200, Vincent Guittot wrote: The computation of avg_load and avg_load_per_task should only takes into account the number of cfs tasks. The non cfs task are already taken into account by decreasing the cpu's capacity (cpu_power) and they will be tracked in

Re: [PATCH v3 03/13] mmc: mmci: Add Qualcomm Id to amba id table

2014-05-27 Thread Srinivas Kandagatla
On 26/05/14 18:00, Srinivas Kandagatla wrote: Hi Ulf, On 26/05/14 10:10, Ulf Hansson wrote: Hi Srinivas, +static struct variant_data variant_qcom = { + .fifosize = 16 * 4, + .fifohalfsize = 8 * 4, + .clkreg = MCI_CLK_ENABLE, +

Re: [Patch V3 05/37] x86, PCI, ACPI: use kmalloc_node() to optimize for performance

2014-05-27 Thread Bjorn Helgaas
On Tue, May 27, 2014 at 2:07 AM, Jiang Liu jiang@linux.intel.com wrote: Use kmalloc_node() instead of kmalloc() when possible to optimize for performance on NUMA platforms. Signed-off-by: Jiang Liu jiang@linux.intel.com Acked-by: Bjorn Helgaas bhelg...@google.com I think this is

Re: mm: NULL ptr deref in remove_migration_pte

2014-05-27 Thread Sasha Levin
On 05/26/2014 04:05 PM, Hugh Dickins wrote: On Fri, 23 May 2014, Sasha Levin wrote: Ping? On 05/05/2014 11:51 AM, Sasha Levin wrote: Did anyone have a chance to look at it? I still see it in -next. Thanks, Sasha On 04/16/2014 10:59 AM, Sasha Levin wrote: Hi all, While fuzzing with

Re: [RESEND PATCH v5 3/5] ARM: Conceal DEBUG_LL_UART_NONE from unsupported platforms

2014-05-27 Thread Daniel Thompson
On 27/05/14 14:37, Arnd Bergmann wrote: I'm very happy to update my patch to follow this one. However since it will render the corresponding debug-macro.S unreachable by KBuild I like to nuke the file as well. Good idea? No. See the description under config DEBUG_LL_UART_NONE:

Re: [PATCH v6 6/7] arm64: KVM: Set physical address size related factors in runtime

2014-05-27 Thread Christoffer Dall
On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote: This patch sets TCR_EL2.PS, VTCR_EL2.T0SZ and vttbr_baddr_mask in runtime, not compile time. In ARMv8, EL2 physical address size (TCR_EL2.PS) and stage2 input address size (VTCR_EL2.T0SZE) cannot be determined in compile time

[RFC PATCH] mfd: syscon: add child device support

2014-05-27 Thread Philipp Zabel
For devices which have a complete register for themselves, it is possible to place them next to the syscon device with overlapping reg ranges. The same is not possible for devices which only occupy bitfields in registers shared with other users. For devices that are completely controlled by

[PATCH] MAINTAINERS: Add reset controller framework entry

2014-05-27 Thread Philipp Zabel
Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e67ea24..51b2cb2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7392,6 +7392,14 @@ F: drivers/rpmsg/ F:

Re: [PATCH] gpio: pch: include linux/slab.h

2014-05-27 Thread Linus Walleij
On Mon, May 26, 2014 at 5:04 PM, Arnd Bergmann a...@arndb.de wrote: The gpio-pch driver was recently enabled for compile-tests, which revealed that it is missing an include for linux/slab.h, which on ARM is not implied by any of the other headers. Signed-off-by: Arnd Bergmann a...@arndb.de

Re: kernel 3.14.2 oops: seems related to EFI

2014-05-27 Thread Francis Moreau
On 05/20/2014 01:54 PM, Matt Fleming wrote: On Mon, 19 May, at 09:09:58AM, Francis Moreau wrote: I don't know, I can't really afford to configure/compile/test this new kernel, sorry. It would be useful to know whether this issue still occurs when booting with the efi=old_map kernel

Re: [PATCH v6 6/7] arm64: KVM: Set physical address size related factors in runtime

2014-05-27 Thread Christoffer Dall
On Tue, May 27, 2014 at 03:53:49PM +0200, Christoffer Dall wrote: On Mon, May 12, 2014 at 06:40:54PM +0900, Jungseok Lee wrote: This patch sets TCR_EL2.PS, VTCR_EL2.T0SZ and vttbr_baddr_mask in runtime, not compile time. In ARMv8, EL2 physical address size (TCR_EL2.PS) and stage2 input

Re: [RESEND PATCH v6 7/7] arm64: KVM: Implement 4 levels of translation tables for HYP and stage2

2014-05-27 Thread Christoffer Dall
On Mon, May 12, 2014 at 06:56:00PM +0900, Jungseok Lee wrote: This patch adds 4 levels of translation tables implementation for both HYP and stage2. Both symmetric and asymmetric configurations for page size and translation levels are are validated on Fast Models: 1) 4KB + 3 levels

Re: [PATCH] pinctrl: berlin: Use devm_ioremap_resource()

2014-05-27 Thread Linus Walleij
On Tue, May 27, 2014 at 8:29 AM, Jingoo Han jg1@samsung.com wrote: Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han jg1@samsung.com Patch applied with Antoine's ACK. Yours, Linus Walleij -- To

Re: [PATCH V3] bio: modify __bio_add_page() to accept pages that don't start a new segment

2014-05-27 Thread Ming Lei
On Tue, May 27, 2014 at 7:58 PM, Maurizio Lombardi mlomb...@redhat.com wrote: On Tue, May 27, 2014 at 06:15:45PM +0800, Ming Lei wrote: If the page can be merged to last segment, it should have been covered by code in branch of 'if (bio-bi_vcnt 0) ...', shouldn't it? Or maybe it is better

<    1   2   3   4   5   6   7   8   9   10   >