Re: [PATCH v5 0/5] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-06-26 Thread Vikas Sajjan
On Wed, Jun 25, 2014 at 7:33 PM, Pankaj Dubey wrote: > This patch series, modifies Exynos Power Management Unit (PMU) related code > for converting it into a platform_driver. This is also preparation for moving > PMU related code out of machine folder into a either "drivers/mfd", or >

[PATCH] pinctrl: pinctrl-msm.c: Cleaning up if unsigned is less than zero

2014-06-26 Thread Rickard Strandqvist
Remove checking if a unsigned is less than zero This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-msm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-msm.c

[PATCH] pinctrl: pinctrl-imx1-core.c: Cleaning up if unsigned is less than zero

2014-06-26 Thread Rickard Strandqvist
Remove checking if a unsigned is less than zero This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-imx1-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] shmem: update memory reservation on truncate

2014-06-26 Thread Konstantin Khlebnikov
On Thu, Jun 26, 2014 at 7:53 AM, Hugh Dickins wrote: > On Wed, 25 Jun 2014, Konstantin Khlebnikov wrote: > >> Shared anonymous mapping created without MAP_NORESERVE holds memory >> reservation for whole range of shmem segment. Usually there is no way to >> change its size, but

[PATCH] pinctrl: pinctrl-imx.c: Cleaning up if unsigned is less than zero

2014-06-26 Thread Rickard Strandqvist
Remove checking if a unsigned is less than zero This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-imx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-imx.c

Re: [PATCH v4 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-26 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your feedback. On 06/26/2014 12:08 PM, Krzysztof Kozlowski wrote: > On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: >> The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout >> (LDO) regulators. This patch adds support for all these

Re: [PATCH 2/2] workqueue: stronger test in process_one_work()

2014-06-26 Thread Lai Jiangshan
On 06/20/2014 03:44 AM, Tejun Heo wrote: > On Tue, Jun 03, 2014 at 03:33:28PM +0800, Lai Jiangshan wrote: >> When POOL_DISASSOCIATED is cleared, the running worker's local CPU should >> be the same as pool->cpu without any exception even during cpu-hotplug. >> >> This fix changes "(proposition_A

[PATCH 0/3] Deterministic UART numbering on Samsung SoCs

2014-06-26 Thread Tomasz Figa
Current Samsung UART driver relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are available on board, not even saying of deterministic device naming. This series intends to fix this situation by adding

[PATCH 3/3] ARM: dts: SAMSUNG: Add aliases of UART nodes

2014-06-26 Thread Tomasz Figa
This patch adds alias entries for UART nodes of all SoCs using samsung-uart compatible UART controllers, so that the dependency on probe order is removed and deterministic device naming is assured. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/exynos3250.dtsi | 2 ++

[PATCH] pinctrl: pinctrl-at91.c: Cleaning up if unsigned is less than zero

2014-06-26 Thread Rickard Strandqvist
Remove checking if a unsigned is less than zero This was found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-at91.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-at91.c

[PATCH 1/3] Documentation: devicetree: Update samsung UART bindings

2014-06-26 Thread Tomasz Figa
The primary purpose of this patch is to add information about (now required) aliases of UART ports. However the documentation currently is heavily outdated and so this patch also takes care of this. Signed-off-by: Tomasz Figa --- .../devicetree/bindings/serial/samsung_uart.txt| 52

[PATCH 2/3] serial: samsung: Consider DT alias when probing ports

2014-06-26 Thread Tomasz Figa
Current driver code relies on probe order of particular samsung-uart instances, which makes it impossible to get proper initialization of ports when not all ports are available on board, not even saying of deterministic device naming. This patch fixes this on DT-enabled systems by using DT

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-06-26 Thread Mikko Perttunen
FWIW, from IRC, the series > Tested-by: Steev Klimaszewski On 24/06/14 22:35, Stephen Warren wrote: On 06/18/2014 08:23 AM, Mikko Perttunen wrote: This adds support for the integrated AHCI-compliant Serial ATA controller present on the NVIDIA Tegra124 system-on-chip. At a quick glance,

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Krzysztof, Thanks a lot for your feedback. On 06/26/2014 11:31 AM, Krzysztof Kozlowski wrote: > Hi, > > Just a few nit-picks below but overall everything looks fine: > > Reviewed-by: Krzysztof Kozlowski > > >> + >> +static int max77802_i2c_probe(struct i2c_client *i2c, >> +

Re: [PATCH v3 2/3] sched/rt: __disable_runtime: Enqueue just unthrottled rt_rq back on the stack

2014-06-26 Thread Srikar Dronamraju
* Kirill Tkhai [2014-06-25 12:19:48]: > > Make rt_rq available for pick_next_task(). Otherwise, their tasks > stay prisoned long time till dead cpu becomes alive again. > > Signed-off-by: Kirill Tkhai > CC: Konstantin Khorenko > CC: Ben Segall > CC: Paul Turner > CC: Srikar Dronamraju >

Re: [PATCH v3 2/3] sched/rt: __disable_runtime: Enqueue just unthrottled rt_rq back on the stack

2014-06-26 Thread Srikar Dronamraju
* Kirill Tkhai [2014-06-25 12:19:48]: > > Make rt_rq available for pick_next_task(). Otherwise, their tasks > stay prisoned long time till dead cpu becomes alive again. > > Signed-off-by: Kirill Tkhai > CC: Konstantin Khorenko > CC: Ben Segall > CC: Paul Turner > CC: Srikar Dronamraju >

Re: [PATCH v2 1/3] sched/fair: Disable runtime_enabled on dying rq

2014-06-26 Thread Srikar Dronamraju
* Kirill Tkhai [2014-06-24 11:53:52]: > We kill rq->rd on the CPU_DOWN_PREPARE stage: > > cpuset_cpu_inactive -> cpuset_update_active_cpus -> > partition_sched_domains -> > -> cpu_attach_domain -> rq_attach_root -> set_rq_offline > > This unthrottles all throttled cfs_rqs. > >

Re: [PATCH 1/1] fs/gfs2/lock_dlm.c: replace count*size kzalloc by kcalloc

2014-06-26 Thread Steven Whitehouse
Hi, Now in the -nmw git tree. Thanks, Steve. On 25/06/14 19:40, Fabian Frederick wrote: kcalloc manages count*sizeof overflow. Cc: Steven Whitehouse Cc: cluster-de...@redhat.com Signed-off-by: Fabian Frederick --- fs/gfs2/lock_dlm.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 2/2] cpufreq: cpu0: Extend support beyond CPU0

2014-06-26 Thread Viresh Kumar
On 26 June 2014 00:32, Stephen Boyd wrote: > I don't think this driver should be using regulator_get_optional() (Mark > B. please correct me if I'm wrong). I doubt a supply is actually > optional for CPUs, just some DTs aren't specifying them. In those cases, > the regulator core will insert a

Re: [PATCH] drivers/video/fbdev : dereference without an error test

2014-06-26 Thread Tomi Valkeinen
On 21/06/14 18:57, Himangi Saraogi wrote: > After a variable is assigned the result of backlight_device_register, an > error test should be performed before a dereference. > > A simplified version of the semantic match that finds this problem is > as follows: > > // > @def0@ > expression x; >

Re: [PATCH] clk: define and export __clk_get_debug for providers

2014-06-26 Thread Peter De Schrijver
On Wed, Jun 25, 2014 at 08:07:37PM +0200, Arnd Bergmann wrote: > On Wednesday 25 June 2014 19:26:31 Peter De Schrijver wrote: > > Define and export a new function __clk_get_debug which returns the debugfs > > directory entry pointer. This can be used by clock providers to add debugfs > > entries

Re: [PATCH v4 11/14] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: > The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with > Low Jitter Mode. This patch adds support for these two clocks. > > Signed-off-by: Javier Martinez Canillas > --- > > Changes since v3: None > > Changes since

Re: [PATCH 0/3] Prepare for in-kernel VFIO DMA operations acceleration

2014-06-26 Thread Alexander Graf
On 26.06.14 01:59, Alexey Kardashevskiy wrote: On 06/26/2014 07:12 AM, Alexander Graf wrote: On 06.06.14 02:20, Alexey Kardashevskiy wrote: On 06/05/2014 09:57 PM, Alexander Graf wrote: On 05.06.14 09:25, Alexey Kardashevskiy wrote: This reserves 2 capability numbers. This implements an

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-26 Thread Bernd Schubert
On 06/26/2014 08:13 AM, Artem Bityutskiy wrote: On Thu, 2014-06-26 at 11:06 +1000, Dave Chinner wrote: Your particular use case can be handled by directing your benchmark at a filesystem mount point and unmounting the filesystem in between benchmark runs. There is no ned to adding kernel

[3.11.y.z extended stable] Patch "NFS: populate ->net in mount data when remounting" has been added to staging queue

2014-06-26 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled NFS: populate ->net in mount data when remounting to the linux-3.11.y-queue branch of the 3.11.y.z extended stable tree which can be found at:

Re: [PATCH] perf tool: Carve out ctype.h et al

2014-06-26 Thread Borislav Petkov
On Thu, Jun 26, 2014 at 09:38:02AM +0200, Jiri Olsa wrote: > yep, tip/perf/core maybe plus merges from acme/perf/core and > jolsa/perf/core should do it ;-) Ok, just did this (jolsa/perf/coreas up-to-date) nd I still can't trigger the build failure: commit

Re: [PATCH] zram: revalidate disk after capacity change

2014-06-26 Thread Sergey Senozhatsky
On (06/26/14 10:16), Minchan Kim wrote: > Alexander reported mkswap on /dev/zram0 is failed if other process > is opening the block device file. > > Step is as follows, > > 0. Reset the unused zram device. > 1. Use a program that opens /dev/zram0 with O_RDWR and sleeps >until killed. > 2.

Re: [PATCH] clk: define and export __clk_get_debug for providers

2014-06-26 Thread Peter De Schrijver
On Wed, Jun 25, 2014 at 08:23:49PM +0200, Mike Turquette wrote: > Quoting Arnd Bergmann (2014-06-25 11:07:37) > > On Wednesday 25 June 2014 19:26:31 Peter De Schrijver wrote: > > > Define and export a new function __clk_get_debug which returns the debugfs > > > directory entry pointer. This can be

Re: [PATCH] clk: tegra: fix vi_sensor clocks on Tegra124

2014-06-26 Thread Peter De Schrijver
On Wed, Jun 25, 2014 at 11:02:14PM +0200, Stephen Warren wrote: > On 06/25/2014 10:10 AM, Peter De Schrijver wrote: > > vi_sensor and vi_sensor2 have a wrong hw clkid on Tegra124. Fix this by > > correcting the hw clkid for Tegra124 and creating the Tegra114 vi_sensor > > clock > > from its own

Re: [PATCH V4 2/2] arm: dts: dra7: add crossbar device binding

2014-06-26 Thread Tony Lindgren
* Sricharan R [140626 01:36]: > Hi Tony, > > On Thursday 26 June 2014 01:14 PM, Tony Lindgren wrote: > > * Sricharan R [140626 00:29]: > >> From: R Sricharan > >> > >> There is a IRQ crossbar device in the soc, which > >> maps the irq requests from the peripherals to the > >> mpu interrupt

RE: [PATCH v2] ns: introduce getnspid syscall

2014-06-26 Thread chenhanx...@cn.fujitsu.com
> -Original Message- > From: Serge Hallyn [mailto:serge.hal...@ubuntu.com] > Sent: Wednesday, June 25, 2014 10:39 PM > To: Chen, Hanxiao/陈 晗霄 > Cc: Serge E. Hallyn; Eric W. Biederman; Richard Weinberger; > contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Oleg >

Re: [PATCH 3/6] mm: vmscan: Do not reclaim from lower zones if they are balanced

2014-06-26 Thread Mel Gorman
On Wed, Jun 25, 2014 at 04:32:50PM -0700, Andrew Morton wrote: > On Wed, 25 Jun 2014 08:58:46 +0100 Mel Gorman wrote: > > > Historically kswapd scanned from DMA->Movable in the opposite direction > > to the page allocator to avoid allocating behind kswapd direction of > > progress. The fair zone

[PATCH] ARM: kdump: 2nd kernel should use strict pfn_valid in SPARSEMEM platform

2014-06-26 Thread Wang Nan
This patch removes an irrational limitation for crash dump kernel on ARM platform when SPARSEMEM enabled. Without this patch, crash reservation area for a crash dump kernel with SPARSEMEM selected must occupy a full section plus 1MiB. If not, elfcorehdr and some memory space used by the first

[PATCH v2 2/2] ARM: at91: remove phy fixup for sama5d3xek boards

2014-06-26 Thread Boris BREZILLON
These board specific delays are now configured through micrel's specific DT bindings (see Documentation/devicetree/bindings/net/micrel-ksz9021.txt). Remove this phy fixup registration from sama5 DT machine file to keep it as generic as possible. Signed-off-by: Boris BREZILLON ---

[PATCH v2 1/2] ARM: at91/dt: describe rgmii ethernet phy connected to sama5d3xek boards

2014-06-26 Thread Boris BREZILLON
Add ethernet-phy node and specify phy interrupt (connected to pin PB25). The PHY address is not specified here because atmel have 2 different designs for its CPU modules: one is connecting PHYAD[0-2] pins to pull up resistors (Embest design) and the other one is connection PHYAD0 to a pull up

[PATCH v2 0/2] ARM: at91: remove phy fixup for sama5d3xek boards

2014-06-26 Thread Boris BREZILLON
Hello, This patch removes a board specific hook for sama5d3xek boards from the sama5d3 generic DT board file. This hook (which register a phy fixup configuring board specific delays in the ksz9021 ethernet phy) is now replaced by the appropriate DT properties definitions in the sama5d3xcm.dtsi

Re: [PATCH] scripts/checkpatch.pl: Improve guidance for LONG_LINE

2014-06-26 Thread Joe Perches
On Wed, 2014-06-25 at 23:01 -0700, Josh Triplett wrote: > Currently, LONG_LINE just informs the user about the line length, > leaving them to shorten the line. Too many users run checkpatch and > blindly follow its recommendation by splitting long lines, which almost > invariably results in worse

Re: [PATCH v4 10/14] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: > The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout > (LDO) regulators. This patch adds support for all these regulators > found on the MAX77802 PMIC and is based on a driver added by Simon > Glass to the Chrome OS

[PATCH V2 2/2] serial: amba-pl010: Use devres APIs

2014-06-26 Thread Tushar Behera
Migrating to use devres managed APIs devm_kzalloc, devm_ioremap and devm_clk_get. Signed-off-by: Tushar Behera Reviewed-by: Daniel Thompson --- Changes for V2: * Added Reviewed-by tag * Removed redundant asm/io.h drivers/tty/serial/amba-pl010.c | 48 +--

[PATCH V2 1/2] serial: amba-pl011: Remove redundant label

2014-06-26 Thread Tushar Behera
The label 'out' is only used to return the error code. We can return the error code directly and remove 'out' label. Signed-off-by: Tushar Behera Reviewed-by: Daniel Thompson --- Changes for V2: * Added Reviewed-by tag drivers/tty/serial/amba-pl011.c | 30 ++ 1

[PATCH 0/2] serial: amba-pl01x: Clean up patches

2014-06-26 Thread Tushar Behera
The patches are based next-20140626 and they have only been build tested. Tushar Behera (2): serial: amba-pl011: Remove redundant label serial: amba-pl010: Use devres APIs drivers/tty/serial/amba-pl010.c | 48 +-- drivers/tty/serial/amba-pl011.c | 30

Re: [PATCH v6 4/4] ARM: Add KGDB/KDB FIQ debugger generic code

2014-06-26 Thread Daniel Thompson
On 24/06/14 17:08, Russell King - ARM Linux wrote: > On Tue, Jun 24, 2014 at 04:18:17PM +0100, Daniel Thompson wrote: >> +.align 5 >> +__fiq_svc: >> +svc_entry > > Remember that the registers you have on the stack here are r0-r12, plus > the SVC banked sp and lr registers. These may not

Re: [PATCH] perf tool: Carve out ctype.h et al

2014-06-26 Thread Borislav Petkov
On Thu, Jun 26, 2014 at 09:36:05AM +0200, Jiri Olsa wrote: > this functionality is inside evlist/evsel/target(...) objects Yep, and that functionality depends on generic stuff which we're trying to export first. :-) > the ras daemon is not in tree yet is it? cant find it.. Here's an old

Re: [PATCHv7 2/3] devicetree: Addition of the Altera SDRAM EDAC.

2014-06-26 Thread Mark Rutland
On Wed, Jun 25, 2014 at 10:15:26PM +0100, ttha...@altera.com wrote: > From: Thor Thayer > > Add the Altera SDRAM EDAC bindings and device tree changes to the Altera SoC > project. > > Signed-off-by: Thor Thayer > --- > v2: Changes to SoC EDAC source code. > > v3: Fix typo in device tree

[PATCH v3 0/2] block: virtio-blk: support multi vq per virtio-blk

2014-06-26 Thread Ming Lei
Hi, These patches try to support multi virtual queues(multi-vq) in one virtio-blk device, and maps each virtual queue(vq) to blk-mq's hardware queue. With this approach, both scalability and performance on virtio-blk device can get improved. For verifying the improvement, I implements

[PATCH v3 1/2] include/uapi/linux/virtio_blk.h: introduce feature of VIRTIO_BLK_F_MQ

2014-06-26 Thread Ming Lei
Current virtio-blk spec only supports one virtual queue for transfering data between VM and host, and inside VM all kinds of operations on the virtual queue needs to hold one lock, so cause below problems: - bad scalability - bad throughput This patch requests to introduce

[PATCH v3 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-26 Thread Ming Lei
Firstly this patch supports more than one virtual queues for virtio-blk device. Secondly this patch maps the virtual queue to blk-mq's hardware queue. With this approach, both scalability and performance can be improved. Signed-off-by: Ming Lei --- drivers/block/virtio_blk.c | 104

Re: [PATCH net-next 3/3 RFC] pktgen: Allow sending TCP packets

2014-06-26 Thread Zoltan Kiss
On 26/06/14 01:44, David Miller wrote: From: Cong Wang Date: Wed, 25 Jun 2014 17:41:47 -0700 On Wed, Jun 25, 2014 at 1:42 PM, Zoltan Kiss wrote: This is a prototype patch to enable sending TCP packets with pktgen. The original motivation is to test TCP GSO with xen-netback/netfront, but I'm

Re: [PATCH 1/2] ARM: DRA7: hwmod: Add OCP2SCP3 module

2014-06-26 Thread Roger Quadros
Kishon, On 06/25/2014 08:46 PM, Kishon Vijay Abraham I wrote: > > On Wednesday 18 June 2014 05:46 PM, Roger Quadros wrote: >> This module is needed for the SATA and PCIe PHYs. >> >> Signed-off-by: Roger Quadros >> Tested-by: Roger Quadros > > I used this patch for testing PCIe. > Tested-by:

Re: [PATCH 2/2] serial: amba-pl010: Use devres APIs

2014-06-26 Thread Tushar Behera
On 06/23/2014 06:16 PM, Daniel Thompson wrote: > On 23/06/14 06:59, Tushar Behera wrote: >> Migrating to use devres managed APIs devm_kzalloc, devm_ioremap and >> devm_clk_get. >> >> Signed-off-by: Tushar Behera >> --- >> drivers/tty/serial/amba-pl010.c | 46 >>

Re: [PATCH] ARM: DRA7-evm: Enable SATA PHY and USB PHY power supplies

2014-06-26 Thread Roger Quadros
On 06/26/2014 10:31 AM, Tony Lindgren wrote: > * Nishanth Menon [140625 15:29]: >> On 06/25/2014 07:56 AM, Roger Quadros wrote: >>> The SATA and USB PHYs need the 1.8V and 3.3V supplies. >>> The PHY drivers/framework don't yet support regulator >>> supply so we have to keep these regulators

Re: [PATCH 13/13] AT91: PIT: Move the driver to drivers/clocksource

2014-06-26 Thread Maxime Ripard
Hi Boris, On Thu, Jun 26, 2014 at 07:26:54AM +0200, Boris BREZILLON wrote: > > On 25/06/2014 15:06, Maxime Ripard wrote: > > Now that we don't depend on anyting in the mach-at91 directory, we can just > > move the driver to where it belongs. > > > > Signed-off-by: Maxime Ripard > > --- > >

Re: [RFC PATCH 0/9] ARM: Forwarding physical interrupts to a guest VM

2014-06-26 Thread Marc Zyngier
Hi Eric, On 25/06/14 15:52, Eric Auger wrote: > On 06/25/2014 11:28 AM, Marc Zyngier wrote: >> The GIC architecture (ARM's Generic Interrupt Controller) allows an >> active physical interrupt to be forwarded to a guest, and the guest to >> indirectly perform the deactivation of the interrupt by

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Krzysztof Kozlowski
Hi, Just a few nit-picks below but overall everything looks fine: Reviewed-by: Krzysztof Kozlowski On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: > Maxim MAX77802 is a power management chip that contains 10 high > efficiency Buck regulators, 32 Low-dropout (LDO) regulators

Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-26 Thread Maksym Planeta
> With a binary interface like an ioctl I can see how you could have extra > unused fields which you can ignore now and let people start adding extra > options like the range in the future. Yes, ioctl is another possibility. But I would argue that sysctl is more convenient interface, because idea

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-06-26 Thread Liviu Dudau
On Thu, Jun 26, 2014 at 09:59:26AM +0100, Catalin Marinas wrote: > (sorry for replying to a months old thread) > > On Mon, Apr 07, 2014 at 06:58:24PM +0100, Bjorn Helgaas wrote: > > On Mon, Apr 7, 2014 at 5:36 AM, Arnd Bergmann wrote: > > > > > I think migrating other architectures to use the

Re: [PATCH 09/13] AT91: PIT: (Almost) remove the global variables

2014-06-26 Thread Maxime Ripard
Hi Boris, On Thu, Jun 26, 2014 at 07:12:06AM +0200, Boris BREZILLON wrote: > Hello Maxime, > > On 25/06/2014 15:06, Maxime Ripard wrote: > > The timer driver is using some global variables to define some variables it > > has > > to use in most of its functions, like the base address. > > > >

Re: [PATCH v2 4/6] ARM: SAMSUNG: Restore Samsung PM Debug functionality

2014-06-26 Thread Daniel Drake
On Wed, Jun 25, 2014 at 12:43 PM, Tomasz Figa wrote: > Due to recently merged patches and previous merge conflicts, the Samsung > PM Debug functionality no longer can be enabled. This patch fixes > incorrect dependency of SAMSUNG_PM_DEBUG on an integer symbol and adds > missing header inclusion.

Re: [PATCH v9] NVMe: Convert to blk-mq

2014-06-26 Thread Matias Bjørling
On Thu, Jun 26, 2014 at 9:40 AM, Christoph Hellwig wrote: > On Wed, Jun 25, 2014 at 08:56:35PM +0200, Matias Bj??rling wrote: >> Only the review. Do you want me to change it to a Reviewed-by? > > > I've not really don't a formal review of the latest patch yet. I plan > to do it, and will give me

Re: [PATCH] MAINTAINERS: Update Eduardo Valentin's email address

2014-06-26 Thread Zhang Rui
On Thu, 2014-06-26 at 10:00 +0100, Javi Merino wrote: > On Mon, Jun 02, 2014 at 06:28:00PM +0100, Eduardo Valentin wrote: > > Hello Lee Jones, > > > > On Fri, May 30, 2014 at 11:03:28AM +0100, Lee Jones wrote: > > > Eduardo TI address is bouncing, but it looks like he's still > > > contributing

[PATCH 8/8] cputime: iowait aware idle tick accounting

2014-06-26 Thread Hidetoshi Seto
By changes in vtime* codes by previous patches, now account_idle_time() become a function to be called only from tick-accounting codes. Introduce __account_idle_ticks() to do iowait accounting in ticks properly. For this purpose record jiffies at end of iowait. Not-Tested-by: Hidetoshi Seto ---

[PATCH 7/8] cputime: generic iowait accounting for VIRT_CPU_ACCOUNTING

2014-06-26 Thread Hidetoshi Seto
Get iowait's timestamp for accounting w/ VIRT_CPU_ACCOUNTING_GEN. (currently arm is only user of this?) At last of this series of changes, introduce common function vtime_iowait_exit to replace all arch_record_iowait_exit. Not-tested-by: Hidetoshi Seto --- arch/ia64/include/asm/cputime.h|

[PATCH 6/8] cputime, ppc: update iowait accounting

2014-06-26 Thread Hidetoshi Seto
Like s390 and ia64, ppc also has VIRT_CPU_ACCOUNTING. Check "timestamp at end of iowait" for idle/iowait accounting. Not-Tested-by: Hidetoshi Seto --- arch/powerpc/include/asm/cputime.h |3 +++ arch/powerpc/kernel/time.c | 21 + 2 files changed, 20

Re: mm: shm: hang in shmem_fallocate

2014-06-26 Thread Vlastimil Babka
On 06/26/2014 12:36 AM, Hugh Dickins wrote: On Tue, 24 Jun 2014, Vlastimil Babka wrote: On 06/16/2014 04:29 AM, Hugh Dickins wrote: On Thu, 12 Jun 2014, Sasha Levin wrote: On 02/09/2014 08:41 PM, Sasha Levin wrote: On 02/08/2014 10:25 PM, Hugh Dickins wrote: Would trinity be likely to have

[PATCH 5/8] cputime, ia64: update iowait accounting

2014-06-26 Thread Hidetoshi Seto
Using VIRT_CPU_ACCOUNTING, ia64 utilize "timestamp at end of iowait" like s390. Not-Tested-by: Hidetoshi Seto --- arch/ia64/include/asm/cputime.h |2 + arch/ia64/kernel/time.c | 43 ++- 2 files changed, 44 insertions(+), 1 deletions(-) diff

[PATCH] [TRIVIAL] Documentation: au1xxx-ide.c has moved

2014-06-26 Thread Paul Bolle
Signed-off-by: Paul Bolle --- That file has moved in v2.6.28, see commit 2bfba3c444fe ("ide: remove useless subdirs from drivers/ide/"). Documentation/mips/AU1xxx_IDE.README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/mips/AU1xxx_IDE.README

[PATCH 4/8] cputime, s390: introduce s390_get_idle_and_iowait

2014-06-26 Thread Hidetoshi Seto
s390_get_idle_time give us the duration from idle entry to now. But it does not tell us how to divide it to idle and iowait. Modify this function to return 2 values. To realize this, s390's cputime accounting also requires timestamp at end of iowait. Not-Tested-by: Hidetoshi Seto ---

[PATCH 3/8] cputime: introduce account_idle_and_iowait

2014-06-26 Thread Hidetoshi Seto
The current account_idle_time() cannot process mixed cputime which contain both of idle cputime and iowait cputime. So introduce new account_idle_and_iowait() to do paranoid work. Following patches will add users of this new function. Not-Tested-by: Hidetoshi Seto --- kernel/sched/cputime.c |

[PATCH 2/8] cputime, nohz: handle last_iowait for nohz

2014-06-26 Thread Hidetoshi Seto
Now observer cpu can refer both of idle entry time and iowait exit time of observed sleeping cpu, so observer can get idle/iowait time of sleeping cpu by calculating cputimes not accounted yet. Not-Tested-by: Hidetoshi Seto --- include/linux/sched.h|1 + kernel/sched/core.c | 27

[PATCH 1/8] cputime, sched: record last_iowait

2014-06-26 Thread Hidetoshi Seto
Record the timestamp when nr_iowait of idle cpu is dropped to 0 by running cpu who pick a task which have call io_schedule() before entering idle. It is the time point that cpu's state have changed from "iowait" to "idle". Following patch use it for updated idle accounting. Suggested-by: Peter

[RFC PATCH 0/8] rework iowait accounting

2014-06-26 Thread Hidetoshi Seto
This mail is 5th try to fix an issue that iowait of /proc/stat can go backward. Originally reported by Tetsuo and Fernando at last year, Mar 2013. Previous v1-v4 were proposal to apply my patch set, but this v5 is request for comment, with untested patches to draw up a blueprint. [OBSERVED

Re: [PATCH v4 02/14] mfd: max77686: Allow the max77686 rtc to wakeup the system

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: > From: Doug Anderson > > The max77686 includes an RTC that keeps power during suspend. It's > convenient to be able to use it as a wakeup source. > > NOTE: due to wakeup ordering problems this patch alone doesn't work so >

[PATCH] nohz: make updating sleep stats local, add seqcount

2014-06-26 Thread Hidetoshi Seto
Since update_ts_time_stats() has no exclusive control while it can be called from both of local cpu and remote cpu, sleep stats will go wrong if updates conflict, and stats can be referred while update is going on. It will cause bloat and/or hiccup (jump and turn back) of idle/iowait values

Re: [PATCH] ARM: perf: allow tracing with kernel tracepoints events

2014-06-26 Thread Will Deacon
On Wed, Jun 25, 2014 at 03:54:14PM +0100, Jean Pihet wrote: > Hi Will, Hello, > On 25 June 2014 11:01, Will Deacon wrote: > > On Fri, Jun 20, 2014 at 09:10:35AM +0100, Jean Pihet wrote: > >> On 18 June 2014 14:53, Will Deacon wrote: > >> > On Tue, Jun 17, 2014 at 06:11:05PM +0100, Jean Pihet

Re: [PATCH v4 05/14] clk: Add generic driver for Maxim PMIC clocks

2014-06-26 Thread Krzysztof Kozlowski
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote: > Maxim Integrated Power Management ICs are very similar with > regard to their clock outputs. Most of the clock drivers for > these chips are duplicating code and are simpler enough that > can be converted to use a generic driver

Re: [PATCH] MAINTAINERS: Update Eduardo Valentin's email address

2014-06-26 Thread Javi Merino
On Mon, Jun 02, 2014 at 06:28:00PM +0100, Eduardo Valentin wrote: > Hello Lee Jones, > > On Fri, May 30, 2014 at 11:03:28AM +0100, Lee Jones wrote: > > Eduardo TI address is bouncing, but it looks like he's still > > contributing via his Gmail address. > > > > Thanks for being proactive! I

[3.11.y.z extended stable] Linux 3.11.10.12

2014-06-26 Thread Luis Henriques
I am announcing the release of the Linux 3.11.10.12 kernel. The updated 3.11.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.11.y;a=shortlog The diff from v3.11.10.11

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-06-26 Thread Catalin Marinas
(sorry for replying to a months old thread) On Mon, Apr 07, 2014 at 06:58:24PM +0100, Bjorn Helgaas wrote: > On Mon, Apr 7, 2014 at 5:36 AM, Arnd Bergmann wrote: > > > I think migrating other architectures to use the same code should be > > a separate effort from adding a generic implementation

Re: [PATCH 0/4] GenWQE: patches to improve RAS features (v2)

2014-06-26 Thread Frank Haverkamp
Hi Kleber, Am Mittwoch, den 25.06.2014, 13:22 -0300 schrieb Kleber Sacilotto de Souza: > Hi, > > I'm sending a v2 of this patch series, removing the patch that bumps the > driver version number, and including a trivial one that removes an unnecessary > include. > > Kleber Sacilotto de Souza

[PATCH] staging: unisys: remove unused macros

2014-06-26 Thread Paul Bolle
The macros CONFIG_SPAR_GUEST, GUESTDRIVERBUILD, and NOAUTOVERSION are defined in Makefiles for the Unisys SPAR driver. They are never used. Remove the lines that define these macros. Signed-off-by: Paul Bolle --- Compile tested only, on top of next-20140626, by fiddling with BROKEN and setting

Re: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-26 Thread Olaf Hering
On Mon, Jun 23, Haiyang Zhang wrote: > Yes, there is a link down/up event from the host, we currently call > netif_carrier_off() > / netif_carrier_on() with these events. Will hotplug scripts be triggered by > netif_carrier_off/on? Where are the scripts located at (SLES)? In

[PATCH] cpufreq: report driver's successful {un}registration

2014-06-26 Thread Viresh Kumar
We do report driver's successful {un}registration from cpufreq core, but is done with pr_debug() and so this doesn't appear in boot logs. Convert this to pr_info() to make it visible in logs. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 2/2 v2] ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping

2014-06-26 Thread Will Deacon
On Thu, Jun 26, 2014 at 01:45:51AM +0100, Kim Phillips wrote: > From: Kim Phillips > > A userspace process can map device MMIO memory via VFIO or /dev/mem, > e.g., for platform device passthrough support in QEMU. > > During early development, we found the PAGE_S2 memory type being used > for

Re: [PATCH 5/6] mm: page_alloc: Reduce cost of dirty zone balancing

2014-06-26 Thread Mel Gorman
On Wed, Jun 25, 2014 at 04:35:28PM -0700, Andrew Morton wrote: > On Wed, 25 Jun 2014 08:58:48 +0100 Mel Gorman wrote: > > > @@ -325,7 +321,14 @@ static unsigned long zone_dirty_limit(struct zone > > *zone) > > */ > > bool zone_dirty_ok(struct zone *zone) > > { > > - unsigned long limit =

Re: [PATCH V4 2/2] arm: dts: dra7: add crossbar device binding

2014-06-26 Thread Sricharan R
Hi Tony, On Thursday 26 June 2014 01:14 PM, Tony Lindgren wrote: > * Sricharan R [140626 00:29]: >> From: R Sricharan >> >> There is a IRQ crossbar device in the soc, which >> maps the irq requests from the peripherals to the >> mpu interrupt controller's inputs. The Peripheral irq >> requests

Re: [PATCH -repost 05/21] kgr: update Kconfig documentation

2014-06-26 Thread Jiri Kosina
On Thu, 26 Jun 2014, Jiri Slaby wrote: > >> --- > >> kernel/Kconfig.kgraft | 3 +++ > >> samples/Kconfig | 4 > >> 2 files changed, 7 insertions(+) > >> > >> diff --git a/kernel/Kconfig.kgraft b/kernel/Kconfig.kgraft > >> index f38d82c06580..bead93646071 100644 > >> ---

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

2014-06-26 Thread Luis R. Rodriguez
On Thu, Jun 26, 2014 at 04:22:57PM +1000, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > kernel/printk/printk.c: In function 'log_buf_add_cpu': > kernel/printk/printk.c:269:37: error:

Re: [PATCH 2/3] PCI: designware: use untranslated address while programming ATU

2014-06-26 Thread Kishon Vijay Abraham I
Hi Pratyush, On Thursday 26 June 2014 12:03 PM, Pratyush Anand wrote: > Hi Kishon, > > On Thu, Jun 26, 2014 at 02:10:02PM +0800, Kishon Vijay Abraham I wrote: >> Hi Pratyush, >> >> On Thursday 26 June 2014 11:07 AM, Pratyush Anand wrote: >>> Hi Kishon, >>> >>> Few things, if you can help me to

Re: [PATCH -repost 05/21] kgr: update Kconfig documentation

2014-06-26 Thread Jiri Slaby
On 06/25/2014 02:42 PM, One Thousand Gnomes wrote: > On Wed, 25 Jun 2014 13:06:59 +0200 > Jiri Slaby wrote: > >> This is based on Udo's text which was augmented in this patch. >> >> Signed-off-by: Jiri Slaby >> Cc: Udo Seidel >> Cc: Vojtech Pavlik >> --- >> kernel/Kconfig.kgraft | 3 +++ >>

Re: [PATCH v2 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-26 Thread Ming Lei
On Thu, Jun 26, 2014 at 3:45 PM, Michael S. Tsirkin wrote: > On Thu, Jun 26, 2014 at 10:08:46AM +0800, Ming Lei wrote: >> Firstly this patch supports more than one virtual queues for virtio-blk >> device. >> >> Secondly this patch maps the virtual queue to blk-mq's hardware queue. >> >> With this

Re: [PATCH] scsi: pm8001: pm80xx_hwi.c: Cleaning up variable is set more than once

2014-06-26 Thread Maurizio Lombardi
On 06/26/2014 10:09 AM, Jack Wang wrote: > Thanks Rickard, > > From my point of view, looks good, but I'd like to get review from Anand > (cc-ed). I would like to add that I noticed that this fields is only set and appears to be never used, maybe it could be completely removed. Regards,

Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the receive buffer size for legacy hosts Re: Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: ( 3.14-0 : Hyper-V netvs

2014-06-26 Thread Victor Miasnikov
Hi! 2014-03-09 https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487 hyperv: Change the receive buffer size for legacy hosts + Haiyang Zhang write on May 27, 2014 6:22 PM: I ( Haiyang Zhang) will ask the

Re: [PATCH] scsi: pm8001: pm80xx_hwi.c: Cleaning up variable is set more than once

2014-06-26 Thread Jack Wang
Thanks Rickard, >From my point of view, looks good, but I'd like to get review from Anand (cc-ed). Anand, could you share your opinion? Regards, Jack On 06/25/2014 04:01 PM, Rickard Strandqvist wrote: > A struct member variable is set to different values without having used in > between. > >

Re: [PATCH] scsi: bnx2i: bnx2i_iscsi.c: Cleaning up variable is set more than once

2014-06-26 Thread Maurizio Lombardi
Hi, On 06/26/2014 02:28 AM, Rickard Strandqvist wrote: > > If it's not obvious, I do all my fixes without changing the previous > intent. But obviously it is not always right, rather it is one of main > reasons to fix this type of error :) Yes it is obvious, your patch was correct (it didn't

Re: [PATCH] ipoctal: protect only the real critical section

2014-06-26 Thread Samuel Iglesias Gonsálvez
On Thu, 2014-06-26 at 09:46 +0200, Federico Vaga wrote: > In some conditions (echo or particular sequence of special > characters), on buffer push, the tty layer calls the write operation > while we are holding the spinlock. This means deadlock within the same > process on kernels version < 3.12.

Re: [PATCH] scsi: pm8001: pm80xx_hwi.c: Cleaning up uninitialized variables

2014-06-26 Thread Jack Wang
Looks good, thanks Rickard. Acked-by: Jack Wang On 06/01/2014 03:13 PM, Rickard Strandqvist wrote: > There is a risk that the variable will be used without being initialized. > > This was largely found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard

[PATCH] ipoctal: protect only the real critical section

2014-06-26 Thread Federico Vaga
In some conditions (echo or particular sequence of special characters), on buffer push, the tty layer calls the write operation while we are holding the spinlock. This means deadlock within the same process on kernels version < 3.12. It seems not a problem on recent kernel, but the patch still

Re: [PATCH] rtc-efi: check for invalid data coming back from UEFI

2014-06-26 Thread joeyli
On Mon, Jun 02, 2014 at 03:09:16PM +0100, Jan Beulich wrote: > In particular seeing zero in eft->month is problematic, as it results > in -1 (converted to unsigned int, i.e. yielding 0x) getting > passed to rtc_year_days(), where the value gets used as an array index > (normally resulting

Re: [PATCH v2 0/2] block: virtio-blk: support multi vq per virtio-blk

2014-06-26 Thread Michael S. Tsirkin
On Wed, Jun 25, 2014 at 11:05:56PM -0600, Jens Axboe wrote: > On 2014-06-25 20:08, Ming Lei wrote: > >Hi, > > > >These patches try to support multi virtual queues(multi-vq) in one > >virtio-blk device, and maps each virtual queue(vq) to blk-mq's > >hardware queue. > > > >With this approach, both

Re: [PATCH v2 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-26 Thread Michael S. Tsirkin
On Thu, Jun 26, 2014 at 10:08:46AM +0800, Ming Lei wrote: > Firstly this patch supports more than one virtual queues for virtio-blk > device. > > Secondly this patch maps the virtual queue to blk-mq's hardware queue. > > With this approach, both scalability and performance can be improved. > >

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