RE: [PATCH 1/3] PCI: designware: Configuration space should be specified in 'reg'

2014-06-25 Thread Mohit KUMAR DCG
Hello Kishon, > -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Wednesday, June 25, 2014 11:27 PM > To: devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux- > p...@vger.kernel.org; jg1@samsung.com; bhelg...@google.com; Mohit > KUMAR DCG;

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Josh Triplett
On Wed, Jun 25, 2014 at 10:29:30PM -0700, Joe Perches wrote: > On Wed, 2014-06-25 at 22:08 -0700, Josh Triplett wrote: > > > Now, arguably the four leading tabs on those lines suggest the need for > > some code refactoring; personally, I'd suggest changing DEEP_INDENTATION > > to flag 4+ tabs

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

2014-06-25 Thread Pratyush Anand
Hi Kishon, Few things, if you can help me to understand: On Wed, Jun 25, 2014 at 11:26 PM, Kishon Vijay Abraham I wrote: > In DRA7, the cpu sees 32bit address, but the pcie controller can see only > 28bit > address. So whenever the cpu issues a read/write request, the 4 most > significant

[PATCH v3 2/3] ARM: tegra: of: add GK20A device tree binding

2014-06-25 Thread Alexandre Courbot
Add the device tree binding documentation for the GK20A GPU used in Tegra K1 SoCs. Signed-off-by: Alexandre Courbot Acked-by: Stephen Warren --- .../devicetree/bindings/gpu/nvidia,gk20a.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644

[PATCH v3 3/3] ARM: tegra: add GK20A GPU to Tegra124 DT

2014-06-25 Thread Alexandre Courbot
From: Thierry Reding Add the GK20A device node to Tegra124's device tree. Signed-off-by: Thierry Reding Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra124.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi

[PATCH v3 0/3] drm/nouveau: support for probing platform devices

2014-06-25 Thread Alexandre Courbot
This series adds support for probing platform devices on Nouveau, as well as the DT bindings for GK20A. It doesn't enable the GPU yet on Tegra boards since a few extra things need to be supported before that. This version is mostly identical to v2 but fixes an important issue: the drvdata must be

[PATCH v3 1/3] drm/nouveau: support for probing platform devices

2014-06-25 Thread Alexandre Courbot
Add a platform driver for Nouveau devices declared using the device tree or platform data. This driver currently supports GK20A on Tegra platforms and is only compiled for these platforms if Nouveau is enabled. Nouveau will probe the chip type itself using the BOOT0 register, so all this driver

Re: [PATCH 00/13] AT91: PIT: Cleanups and move to drivers/clocksource

2014-06-25 Thread Boris BREZILLON
Hello Maxime, On 25/06/2014 15:06, Maxime Ripard wrote: > Hi everyone, > > This series cleans up the PIT driver in order for it to not depend on > anything in mach-at91 anymore, and in the end move it out of > mach-at91. > > Along the way, these patches also do a bit of cleanup. > > This has been

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Joe Perches
On Wed, 2014-06-25 at 22:08 -0700, Josh Triplett wrote: > Now, arguably the four leading tabs on those lines suggest the need for > some code refactoring; personally, I'd suggest changing DEEP_INDENTATION > to flag 4+ tabs rather than 6+ tabs as it currently does. There are _way too many_ 4+ tab

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

2014-06-25 Thread Ming Lei
On Thu, Jun 26, 2014 at 1:05 PM, 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 13/13] AT91: PIT: Move the driver to drivers/clocksource

2014-06-25 Thread Boris BREZILLON
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 > --- > arch/arm/mach-at91/Kconfig | 4 >

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > This patch is to enable USB host controller for Intel Quark X1000. Add >> pci quirks to adjust the packet buffer in/out threshold value, and > >ensure EHCI packet buffer i/o threshold value is reconfigured to half > > > What is the packet buffer in/out threshold value and why does it need to

[PATCH 2/2 v2] i2c: exynos5: remove extra line and fix an assignment

2014-06-25 Thread Naveen Krishna Chatradhi
This patch does the following in exynos5_i2c_message_start() function 1. Fixes an assignment As, "i2c_auto_conf" is initialized to '0' at the beginning of the function and HSI2C_READ_WRITE is defined as (1u << 16) Using "|=" for the first assignment is more readable. 2. Removes an extra

[PATCH 1/2 v2] i2c: exynos5: remove an unnecessary read of FIFO_STATUS register

2014-06-25 Thread Naveen Krishna Chatradhi
This patch removes an extra read of FIFO_STATUS register in the interrrupt service routine. Which is read again before the actual use. Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/i2c/busses/i2c-exynos5.c |1 - 1 file changed, 1 deletion(-) diff --git

[mempolicy] 5507231dd04: -18.2% vm-scalability.migrate_mbps

2014-06-25 Thread Jet Chen
Hi Naoya, FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git am437x-starterkit commit 5507231dd04d3d68796bafe83e6a20c985a0ef68 ("mempolicy: apply page table walker on queue_pages_range()") test case: ivb44/vm-scalability/300s-migrate

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

2014-06-25 Thread Boris BREZILLON
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. > > Use some container_of calls to have a single dynamic (and local) variable to > hold this

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Josh Triplett
On Wed, Jun 25, 2014 at 09:16:51PM -0700, Joe Perches wrote: > On Wed, 2014-06-25 at 20:44 -0700, Josh Triplett wrote: > > On Wed, Jun 25, 2014 at 07:33:03PM -0700, Joe Perches wrote: > > > On Wed, 2014-06-25 at 19:24 -0700, Josh Triplett wrote: > > > > On Wed, Jun 25, 2014 at 05:05:07PM -0700,

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

2014-06-25 Thread Jens Axboe
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 scalability and performance on virtio-blk device can get improved. For verifying

Re: [PATCH 2/2] i2c: exynos5: fix minor styling nits

2014-06-25 Thread Naveen Krishna Ch
Hello Sachin, On 25 June 2014 16:19, Sachin Kamat wrote: > Hi Naveen, > > On Wed, Jun 25, 2014 at 4:08 PM, Naveen Krishna Chatradhi > wrote: >> This patch removes an extra line and fixes a styling nit >> in exynos5_i2c_message_start() >> >> Signed-off-by: Naveen Krishna Chatradhi >> --- >>

Re: scsi-mq V2

2014-06-25 Thread Jens Axboe
On 2014-06-25 10:51, Christoph Hellwig wrote: This is the second post of the scsi-mq series. At this point the code is ready for merging and use by developers and early adopters. The core blk-mq code isn't that suitable for slow devices yet, mostly due to the lack of an I/O scheduler, but Jens

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Josh Triplett
On Wed, Jun 25, 2014 at 11:59:59PM -0400, Greg KH wrote: > On Wed, Jun 25, 2014 at 07:24:49PM -0700, Josh Triplett wrote: > > On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > > > On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > > > > Regardless of the long-standing debate

[GIT PULL] hwmon fixes for 3.16-rc3

2014-06-25 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux 3.16-rc3 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee: Linux 3.16-rc2 (2014-06-21

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Joe Perches
On Wed, 2014-06-25 at 20:44 -0700, Josh Triplett wrote: > On Wed, Jun 25, 2014 at 07:33:03PM -0700, Joe Perches wrote: > > On Wed, 2014-06-25 at 19:24 -0700, Josh Triplett wrote: > > > On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > > > > On Wed, 2014-06-25 at 08:46 -0700, Josh

Re: [PATCH 3/3] mm: catch memory commitment underflow

2014-06-25 Thread Konstantin Khlebnikov
On Thu, Jun 26, 2014 at 2:03 AM, Andrew Morton wrote: > On Wed, 25 Jun 2014 00:16:14 +0400 Konstantin Khlebnikov > wrote: > >> This patch prints warning (if CONFIG_DEBUG_VM=y) when >> memory commitment becomes too negative. >> >> ... >> >> --- a/mm/mmap.c >> +++ b/mm/mmap.c >> @@ -134,6 +134,12

[GIT] Networking

2014-06-25 Thread David Miller
1) Fix crash in ipvs tot_stats estimator, from Julian Anastasov. 2) Fix OOPS in nf_nat on netns removal, from Florian Westphal. 3) Really really really fix locking issues in slip and slcan tty write wakeups, from Tyler Hall. 4) Fix checksum offloading in fec driver, from Fugang Duan. 5)

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Greg KH
On Wed, Jun 25, 2014 at 07:24:49PM -0700, Josh Triplett wrote: > On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > > On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > > > Regardless of the long-standing debate over line width, checkpatch > > > should not warn about it by

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

2014-06-25 Thread Hugh Dickins
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 /proc//map_files/... > (available if CONFIG_CHECKPOINT_RESTORE=y) allows to do

Re: [PATCH] net: fix setting csum_start in skb_segment()

2014-06-25 Thread David Miller
From: Eric Dumazet Date: Wed, 25 Jun 2014 12:51:01 -0700 > From: Tom Herbert > > Dave Jones reported that a crash is occurring in ... > It looks like a likely culprit is that SKB_GSO_CB()->csum_start is > not set correctly when doing non-scatter gather. We are using > offset as opposed to

Re: [PATCH 1/3] shmem: fix double uncharge in __shmem_file_setup()

2014-06-25 Thread Hugh Dickins
On Wed, 25 Jun 2014, Konstantin Khlebnikov wrote: > If __shmem_file_setup() fails on struct file allocation it uncharges memory > commitment twice: first by shmem_unacct_size() and second time implicitly in > shmem_evict_inode() when it kills newly created inode. > This patch removes

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Josh Triplett
On Wed, Jun 25, 2014 at 07:33:03PM -0700, Joe Perches wrote: > On Wed, 2014-06-25 at 19:24 -0700, Josh Triplett wrote: > > On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > > > On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > > > > Regardless of the long-standing debate over

Re: [PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-06-25 Thread Greg KH
On Tue, Jun 24, 2014 at 09:44:14PM +, Dexuan Cui wrote: > >On Tue, Jun 24, 2014 at 08:29:17AM +0800, Dexuan Cui wrote: > >> Currently the VSC has no chance to notify the VSP of the dirty rectangle > >> on VM > >> panic because the notification work is done in a workqueue, and in panic() > >>

Re: [linux-sunxi] Re: [PATCH v3 5/6] clk: sunxi: Add A23 clocks support

2014-06-25 Thread Chen-Yu Tsai
On Thu, Jun 26, 2014 at 4:20 AM, Maxime Ripard wrote: > On Tue, Jun 24, 2014 at 05:59:39PM +0800, Chen-Yu Tsai wrote: >> The clock control unit on the A23 is similar to the one found on the A31. >> >> The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones >> on the A31, but some

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Guenter Roeck
On 06/25/2014 05:59 PM, Stephen Rothwell wrote: Hi Guenter, [I know I'm a bit late to this, but ...] On Tue, 24 Jun 2014 18:05:29 -0700 Guenter Roeck wrote: diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 9d85318..e35d880 100644 --- a/arch/arm/kernel/topology.c

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-25 Thread Tushar Behera
On Thu, Jun 26, 2014 at 4:51 AM, Kevin Hilman wrote: > Doug Anderson writes: > >> Tushar, >> >> On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera wrote: >>> Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. >>> As per the user manual, it should be CLK_MAU_EPLL. >>> >>> The

Re: Stricter module param and sysfs permission checks

2014-06-25 Thread Gobinda Charan Maji
Gobinda Charan Maji gmail.com> writes: > > Hi All, > > As per the newly added restriction (User perms >= group perms >= other > perms) is concerned, there is an inconsistency in the permission. Say for > example, permission value is "0432". Here User has only READ permission > whereas

Re: [PATCH v3 0/6] clk: sunxi: fixes, cleanups and A23 basic clocks

2014-06-25 Thread Chen-Yu Tsai
On Thu, Jun 26, 2014 at 4:14 AM, Maxime Ripard wrote: > On Tue, Jun 24, 2014 at 05:59:34PM +0800, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This is a followup series to my A23 bare-minimum bringup series [1], >> which adds basic clock support for the A23 SoC. It is one of many >> split up from

Re: USB_MUSB_DA8XX with g_multi.ko

2014-06-25 Thread Jon Ringle
On Wed, Jun 25, 2014 at 11:52 AM, Jon Ringle wrote: > On Wed, Jun 25, 2014 at 11:35 AM, Andrzej Pietrasiewicz > wrote: >> W dniu 25.06.2014 17:13, Jon Ringle pisze: >> >>> In commit 787f5627bec80094db487bfcb401e9744f181aed >>> usb: musb: make davinci and da8xx glues depend on BROKEN >>> >>>

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Joe Perches
On Wed, 2014-06-25 at 19:24 -0700, Josh Triplett wrote: > On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > > On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > > > Regardless of the long-standing debate over line width, checkpatch > > > should not warn about it by default. > >

Re: [PATCH 1/2] ARM: firmware: Introduce suspend and resume operations

2014-06-25 Thread Alexandre Courbot
On 06/26/2014 01:18 AM, Tomasz Figa wrote: This patch extends the firmware_ops structure with two new callbacks: .suspend() and .resume(). The former is intended to ask the firmware to save all its volatile state and suspend the system, without returning back to the kernel in between. The latter

Re: [PATCH] autofs4 - fix false positive compile error

2014-06-25 Thread Ian Kent
On Wed, 2014-06-25 at 13:06 -0700, Andrew Morton wrote: > On Wed, 25 Jun 2014 20:49:39 +0800 Ian Kent wrote: > > > On strict build environments we can see: > > > > fs/autofs4/inode.c: In function 'autofs4_fill_super': > > fs/autofs4/inode.c:312: error: 'pgrp' may be used uninitialized in this >

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Josh Triplett
On Wed, Jun 25, 2014 at 05:05:07PM -0700, Joe Perches wrote: > On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > > Regardless of the long-standing debate over line width, checkpatch > > should not warn about it by default. > > I'm not getting involved here. > > I don't care much one way

Re: [PATCH 0/2] /proc/stat vs. failed order-4 allocation

2014-06-25 Thread Ian Kent
On Wed, 2014-06-25 at 08:15 +0200, Heiko Carstens wrote: > On Tue, Jun 24, 2014 at 04:52:22PM -0700, David Rientjes wrote: > > On Mon, 23 Jun 2014, Andrew Morton wrote: > > > On Sat, 21 Jun 2014 11:10:58 +0200 Heiko Carstens > > > wrote: > > > > On Wed, Jun 18, 2014 at 02:29:31PM -0700, Andrew

Re: [rcu] e552592e038: +39.2% vm-scalability.throughput, +19.7% turbostat.Pkg_W

2014-06-25 Thread Paul E. McKenney
On Thu, Jun 26, 2014 at 09:42:19AM +0800, Fengguang Wu wrote: > Hi Paul, > > We noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > urgent.2014.06.21a > commit e552592e0383bc72e35eb21a9fabd84ad873cff1 ("rcu: Reduce overhead of > cond_resched()

Re: [rcu] 0acd7c39a85: +11.0% will-it-scale.scalability

2014-06-25 Thread Paul E. McKenney
On Thu, Jun 26, 2014 at 09:56:16AM +0800, Fengguang Wu wrote: > Hi Paul, > > FYI, we are pleased to notice big performance gains in some > will-it-scale test cases: Unfortunately, this one is also obsoleted by commit 4a81e8328d37 (Reduce overhead of cond_resched() checks for RCU). Hopefully

rtl_nic firmware error in 3.16

2014-06-25 Thread Ken Moffat
Hi, I'm getting 15 lines of the following in -rc2 /bin/sh: firmware/rtl_nic/rtl8168e-3.fw.gen.S: No such file or directory followed by firmware/Makefile:185: recipe for target 'firmware/rtl_nic/rtl8168e-3.fw.gen.S' failed make[1]: *** [firmware/rtl_nic/rtl8168e-3.fw.gen.S] Error 1 I've now

Re: [rcu] 34577530114: +247.4% qperf.tcp.bw, -3.3% turbostat.Pkg_W

2014-06-25 Thread Paul E. McKenney
On Thu, Jun 26, 2014 at 10:00:11AM +0800, Fengguang Wu wrote: > Hi Paul, > > We are pleased to notice huge throughput increases in the qperf/iperf > tests, together with noticeable reduce of power consumption! This one was identified by your testing efforts, so thank you for giving me the hints

Re: [PATCH] net: fix setting csum_start in skb_segment()

2014-06-25 Thread Tom Herbert
On Wed, Jun 25, 2014 at 12:51 PM, Eric Dumazet wrote: > From: Tom Herbert > > Dave Jones reported that a crash is occurring in > > csum_partial > tcp_gso_segment > inet_gso_segment > ? update_dl_migration > skb_mac_gso_segment > __skb_gso_segment > dev_hard_start_xmit > sch_direct_xmit >

Re: [PATCH] fs/mbcache.c: replacing __builtin_log2() with ilog2()

2014-06-25 Thread Theodore Ts'o
On Wed, Jun 25, 2014 at 12:24:49AM +0100, Maciej W. Rozycki wrote: > On Fri, 30 May 2014, T Makphaibulchoke wrote: > > > Fixing compiler error with some gcc version(s) that do not > > support __builtin_log2(). Replacing __builtin_log2() with > > ilog2(). > > > > Signed-off-by: T.

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

2014-06-25 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 | 109

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

2014-06-25 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 v2 0/2] block: virtio-blk: support multi vq per virtio-blk

2014-06-25 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

Re: [PATCH] staging: wlan-ng/hfa384x_usb.c: add blank line after declarations

2014-06-25 Thread Joe Perches
On Thu, 2014-06-26 at 09:55 +0800, Cheng-Wei Lee wrote: > This patch fixes the following checkpatch.pl issues in hfa384x_usb.c: > WARNING: Missing a blank line after declarations This time you've got the right subject, and right type of content, but unfortunately, the content is wrapped and can't

Re: [PATCH] kthread: Fix the race condition when kthread is parked

2014-06-25 Thread Steven Rostedt
On Wed, Jun 25, 2014 at 10:00:22PM -0400, Steven Rostedt wrote: > On Thu, Jun 26, 2014 at 02:43:56AM +0200, Thomas Gleixner wrote: > > > > Subject: kthread: Plug park/ unplug race > > From: Thomas Gleixner > > Date: Thu, 26 Jun 2014 01:24:36 +0200 > > > > The kthread park/unpark logic has the

[block] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028

2014-06-25 Thread Fengguang Wu
Tejun, In commit 09571194a9846177bea3afd18458312546112702 ("block, blk-mq: draining can't be skipped even if bypass_depth was non-zero") +--+++ | | f5372ab3d2 |

[rcu] 34577530114: +247.4% qperf.tcp.bw, -3.3% turbostat.Pkg_W

2014-06-25 Thread Fengguang Wu
Hi Paul, We are pleased to notice huge throughput increases in the qperf/iperf tests, together with noticeable reduce of power consumption! git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev commit 34577530114e9b1de10f3aa9665bb28c8ce585ba ("rcu: Bind grace-period

Re: [PATCH] kthread: Fix the race condition when kthread is parked

2014-06-25 Thread Steven Rostedt
On Thu, Jun 26, 2014 at 02:43:56AM +0200, Thomas Gleixner wrote: > > Subject: kthread: Plug park/ unplug race > From: Thomas Gleixner > Date: Thu, 26 Jun 2014 01:24:36 +0200 > > The kthread park/unpark logic has the following issue: > > Task CPU 0 CPU 1 > > T1

[rcu] 0acd7c39a85: +11.0% will-it-scale.scalability

2014-06-25 Thread Fengguang Wu
Hi Paul, FYI, we are pleased to notice big performance gains in some will-it-scale test cases: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu_cond_resched.2014.06.20c commit 0acd7c39a85836d90451b6c278c5cfdd21c055f3 ("rcu: Add RCU_COND_RESCHED_QS for large systems")

[PATCH] staging: wlan-ng/hfa384x_usb.c: add blank line after declarations

2014-06-25 Thread Cheng-Wei Lee
This patch fixes the following checkpatch.pl issues in hfa384x_usb.c: WARNING: Missing a blank line after declarations Signed-off-by: Quentin Lee --- drivers/staging/wlan-ng/hfa384x_usb.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c

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

2014-06-25 Thread Viresh Kumar
On 26 June 2014 00:32, Stephen Boyd wrote: > It should be easy enough to read the clocks property from DT for all the > CPU nodes and check to see if they're the same? Not everybody has clocks supported in DT and I am not sure if it will even work for the current users as well.. But yeah,

Re: [PATCH 2/2] staging: wlan-ng/hfa384x_usb.c: remove return statements for void function

2014-06-25 Thread Cheng-Wei Lee
Hi Joe, Thanks for your kindly reply. I'll submit patch again. Many thanks, Quentin 2014-06-26 8:09 GMT+08:00, Joe Perches : > On Wed, 2014-06-25 at 23:35 +0800, Cheng-Wei Lee wrote: >> This patch fixes the following checkpatch.pl issues in hfa384x_usb.c: >> WARNING: Missing a blank line after

[rcu] e552592e038: +39.2% vm-scalability.throughput, +19.7% turbostat.Pkg_W

2014-06-25 Thread Fengguang Wu
Hi Paul, We noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git urgent.2014.06.21a commit e552592e0383bc72e35eb21a9fabd84ad873cff1 ("rcu: Reduce overhead of cond_resched() checks for RCU") Test case: brickland3/vm-scalability/300s-anon-w-seq-mt-64G

Re: [PATCH V7 1/6] power: reset: Add generic SYSCON register mapped reset

2014-06-25 Thread Chen-Yu Tsai
On Thu, Jun 26, 2014 at 7:03 AM, Feng Kan wrote: > Add a generic SYSCON register mapped reset mechanism. > > Signed-off-by: Feng Kan > --- > drivers/power/reset/Kconfig | 6 +++ > drivers/power/reset/Makefile| 1 + > drivers/power/reset/syscon-reboot.c | 91 >

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > > > OK, I will change ' usb_is_intel_qrk ' to ' usb_is_intel_quark'. > > Or even usb_is_intel_quark_x1000() ? > OK, I will change the function name as your suggestion to make it more specific. > David > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 1/1] FS/JBD:replace count*size kmalloc by kmalloc_array

2014-06-25 Thread Theodore Ts'o
On Wed, Jun 25, 2014 at 08:49:06PM +0200, Fabian Frederick wrote: > kmalloc_array manages count*sizeof overflow. Except in these call sites, overflow is impossible. kmalloc_array() is useful when count is coming from an unvalidated source. But in this case, the count is either a fixed,

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > This patch is to enable USB host controller for Intel Quark X1000. Add > > pci quirks to adjust the packet buffer in/out threshold value, and > > ensure EHCI packet buffer i/o threshold value is reconfigured to half. > > Please add more detailed description. For example, why is it necessary

[PATCH] zram: revalidate disk after capacity change

2014-06-25 Thread Minchan Kim
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. While that program sleeps, echo the correct value to

Re: [PATCH] driver core: platform: add device binding path 'driver_override'

2014-06-25 Thread Kim Phillips
On Mon, 2 Jun 2014 21:28:42 -0700 Greg KH wrote: > On Mon, Jun 02, 2014 at 07:42:58PM -0500, Kim Phillips wrote: > > You are the platform driver core maintainer: can you apply this to > > your driver-core tree now? > > Yes, I will after this merge window ends, it's too late for 3.16-rc1 > with

Re: [PATCH V2] mm/mempolicy: fix sleeping function called from invalid context

2014-06-25 Thread Gu Zheng
On 06/25/2014 09:43 PM, Tejun Heo wrote: > On Wed, Jun 25, 2014 at 09:57:18AM +0800, Gu Zheng wrote: >> When runing with the kernel(3.15-rc7+), the follow bug occurs: >> [ 9969.258987] BUG: sleeping function called from invalid context at >> kernel/locking/mutex.c:586 >> [ 9969.359906]

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

2014-06-25 Thread Kim Phillips
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 MMIO mappings. This patch corrects that by using the more strongly ordered

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

2014-06-25 Thread Dave Chinner
On Wed, Jun 25, 2014 at 10:25:05AM +0200, Thomas Knauth wrote: > On Wed, Jun 25, 2014 at 8:25 AM, Artem Bityutskiy wrote: > > Plus some explanations WRT why proc-based interface and what would be > > the alternatives, what if tomorrow we want to extend the functionality > > and drop caches only

Re: [PATCH V2 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-06-25 Thread Thomas Gleixner
On Wed, 25 Jun 2014, Feng Kan wrote: > This change is made to preserve the GIC v2 bypass bits in the > GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). > This code will preserve all bits configured by the bootloader regarding > v2 bypass group bits. In the X-Gene platform,

Re: [PATCH -next] enic: Make dummy rfs functions inline to fix !CONFIG_RFS_ACCEL build

2014-06-25 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 25 Jun 2014 10:31:09 +0200 > If CONFIG_RFS_ACCEL=n: > > drivers/net/ethernet/cisco/enic/enic_main.c: In function 'enic_open': > drivers/net/ethernet/cisco/enic/enic_main.c:1603:2: error: implicit > declaration of function 'enic_rfs_flw_tbl_init' >

Re: [PATCH v2] sched: Fix compiler warnings

2014-06-25 Thread Stephen Rothwell
Hi Guenter, [I know I'm a bit late to this, but ...] On Tue, 24 Jun 2014 18:05:29 -0700 Guenter Roeck wrote: > > diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c > index 9d85318..e35d880 100644 > --- a/arch/arm/kernel/topology.c > +++ b/arch/arm/kernel/topology.c > @@ -275,7

[PATCH] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-06-25 Thread Dexuan Cui
Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM panic because the notification work is done in a workqueue, and in panic() the kernel typically ends up in an infinite loop, and a typical kernel config has CONFIG_PREEMPT_VOLUNTARY=y and CONFIG_PREEMPT is not set, so a

Re: [PATCH_v4 0/2] arm64: Add seccomp support

2014-06-25 Thread AKASHI Takahiro
On 06/25/2014 11:53 PM, Mark Salter wrote: What is the current status of this patch series? Is it on track for 3.17? I assume not as I saw no comments on this so far. But I will re-post a new version soon or later due to recent changes on seccomp. -Takahiro AKASHI On Sat, 2014-03-15 at

Re: Should Pstore(ramoops) records customized information?

2014-06-25 Thread Zhang, Yanmin
On 2014/6/25 21:08, Liu hua wrote: 于 2014/6/25 8:41, Zhang, Yanmin 写道: On 2014/6/20 18:47, Liu hua wrote: On 2014/6/20 7:42, Luck, Tony wrote: BTW, I note that "extern struct pstore_info *psinfo" locates in fs/pstore/internal.h. So users out of directory "fs/pstore/" can not use pstore to

Re: [PATCH net-next] pktgen: Fill the payload optionally with a pattern

2014-06-25 Thread David Miller
From: Zoltan Kiss Date: Tue, 24 Jun 2014 21:40:15 +0100 > Introduces a new flag called PATTERN, which puts a non-periodic, predicatble > pattern into the payload. This was useful to reproduce an otherwise > intermittent > bug in xen-netback [1], where checksum checking doesn't help. > The

Re: [trivial PATCH net-next] mac_pton: Use bool not int return

2014-06-25 Thread David Miller
From: Joe Perches Date: Tue, 24 Jun 2014 11:20:48 -0700 > Use bool instead of int as the return type. > > All uses are tested with !. > > Signed-off-by: Joe Perches Applied, thanks Joe. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

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

2014-06-25 Thread David Miller
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 not >> sure about how the checksum

Re: [PATCH] kthread: Fix the race condition when kthread is parked

2014-06-25 Thread Thomas Gleixner
On Wed, 25 Jun 2014, Subbaraman Narayanamurthy wrote: > While stressing the CPU hotplug path, sometimes we hit a problem > as shown below. > > [57056.416774] [ cut here ] > [57056.489232] ksoftirqd/1 (14): undefined instruction: pc=c01931e8 > [57056.489245] Code: e594a000

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

2014-06-25 Thread Cong Wang
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 not > sure about how the checksum should be set up, and also someone should verify > the >

[PATCH] adfs: Add __printf verification, fix format/argument mismatches

2014-06-25 Thread Joe Perches
Might as well do the right thing. Signed-off-by: Joe Perches --- fs/adfs/adfs.h | 1 + fs/adfs/dir.c | 2 +- fs/adfs/dir_fplus.c | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/adfs/adfs.h b/fs/adfs/adfs.h index c770337..24575d9 100644 ---

Re: [PATCH v2] rch/score/include/uapi/asm/ptrace.h: Add prefix 'SCORE_' for related macros

2014-06-25 Thread Guenter Roeck
On Thu, Jun 26, 2014 at 12:05:33AM +, Wu Yu-Chen wrote: > As I said, these macros are useless currently. I don’t think users will use > these macros since the kernel doesn’t respond these macros. However, you are > welcome to provide your idea  > Just drop them entirely. Guenter -- To

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

2014-06-25 Thread Rickard Strandqvist
2014-06-25 19:13 GMT+02:00 Eddie Wai : > On Wed, 2014-06-25 at 16:26 +0200, Maurizio Lombardi wrote: >> Hi, >> >> On 06/25/2014 04:04 PM, Rickard Strandqvist wrote: >> > A struct member variable is set to different values without having used in >> > between. >> > >> > This was found using a

Re: [PATCH 8/9] ARM: kernel: add support for cpu cache information

2014-06-25 Thread Stephen Boyd
On 06/25/14 10:30, Sudeep Holla wrote: > + > +/* > + * Which cache CCSIDR represents depends on CSSELR value > + * Make sure no one else changes CSSELR during this > + * smp_call_function_single prevents preemption for us > + */ Where's the smp_call_function_single() or preemption disable

Re: [PATCH] mm: export NR_SHMEM via sysinfo(2) / si_meminfo() interfaces

2014-06-25 Thread KOSAKI Motohiro
> I agree that reporting the amount of shared pages in that historically fashion > might not be interesting for userspace tools resorting to sysinfo(2), > nowadays. > > OTOH, our documentation implies we do return shared memory there, and FWIW, > considering the other places we do export the

Re: [PATCH 2/2] staging: wlan-ng/hfa384x_usb.c: remove return statements for void function

2014-06-25 Thread Joe Perches
On Wed, 2014-06-25 at 23:35 +0800, Cheng-Wei Lee wrote: > This patch fixes the following checkpatch.pl issues in hfa384x_usb.c: > WARNING: Missing a blank line after declarations Still has a mismatch between subject and code > diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c [] > @@ -3533,7

Re: [RFT 0/3] cxgb4: use request_firmware_nowait()

2014-06-25 Thread Luis R. Rodriguez
On Wed, Jun 25, 2014 at 2:51 PM, Luis R. Rodriguez wrote: > I'll go ahead and test this on the other > distribution you mentioned you had issues, curious what could trigger a > timeout > failure there that would be distribution specific. I've tested this on SLE12 and see no issues as well.

Re: [PATCH v1 6/9] usb: xhci: Add NVIDIA Tegra XHCI host-controller driver

2014-06-25 Thread Andrew Bresticker
On Wed, Jun 25, 2014 at 3:37 PM, Stephen Warren wrote: > On 06/18/2014 12:16 AM, Andrew Bresticker wrote: >> Add support for the on-chip XHCI host controller present on Tegra SoCs. >> >> The driver is currently very basic: it loads the controller with its >> firmware, starts the controller, and

Re: [PATCH] scripts/checkpatch.pl: Only emit LONG_LINE for --strict

2014-06-25 Thread Joe Perches
On Wed, 2014-06-25 at 08:46 -0700, Josh Triplett wrote: > Regardless of the long-standing debate over line width, checkpatch > should not warn about it by default. I'm not getting involved here. I don't care much one way or another. I did submit a patch where I ignored 80 columns recently and I

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

2014-06-25 Thread Alexey Kardashevskiy
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 extended version of

[PATCH V2] pcnet32: Neaten and remove unnecessary OOM messages

2014-06-25 Thread Joe Perches
Make the code flow a little better for 80 columns. Use a consistent style for the RX and TX rings allocation. Use BIT macro. Use a temporary unsigned int entries for (1< Acked-by: Don Fry --- V2: Use pcnet32 as patch prefix, amd is too generic Still depends on patch 1/22: pci-dma-compat: Add

[PATCH V3 08/22] pcnet32: Use pci_zalloc_consistent

2014-06-25 Thread Joe Perches
Remove the now unnecessary memset too. Signed-off-by: Joe Perches Acked-by: Don Fry --- On Mon, 2014-06-23 at 12:15 -0700, Joe Perches wrote: > On Mon, 2014-06-23 at 11:02 -0700, Don Fry wrote: > > This causes the line length to be greater than 80 characters causing > > checkpatch to complain.

mmotm 2014-06-25-16-44 uploaded

2014-06-25 Thread akpm
The mm-of-the-moment snapshot 2014-06-25-16-44 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

[PATCH V2] checkpatch: Add test for blank lines after function/struct/union/enum declarations

2014-06-25 Thread Joe Perches
Add a --strict test asking for a blank line after function/struct/union/enum declarations. Allow exceptions for several attributes and macro uses. Signed-off-by: Joe Perches --- V2: Fix a problem with patch context lines by checking the line after the closing brace is an insertion.

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

2014-06-25 Thread Andrew Morton
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 = zone_dirty_limit(zone); > + unsigned long limit = zone->dirty_limit_cached;

Re: [PATCH] amd: Neaten and remove unnecessary OOM messages

2014-06-25 Thread David Miller
From: Joe Perches Date: Mon, 23 Jun 2014 14:36:35 -0700 > Make the code flow a little better for 80 columns. > > Use a consistent style for the RX and TX rings allocation. > Use BIT macro. > Use a temporary unsiged int entries for (1< Remove the OOM messages as they duplicate the generic > OOM

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

2014-06-25 Thread Andrew Morton
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 allocation policy altered this in a non-obvious > manner. > >

Re: [PATCH] net: allwinner: emac: Add missing free_irq

2014-06-25 Thread David Miller
From: Maxime Ripard Date: Mon, 23 Jun 2014 22:49:40 +0200 > If the mdio probe function fails in emac_open, the interrupt we just requested > isn't freed. If emac_open is called again, for example because we try to set > up > the interface again, the kernel will oops because the interrupt wasn't

Re: [PATCH v1 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-06-25 Thread Andrew Bresticker
On Wed, Jun 25, 2014 at 3:12 PM, Stephen Warren wrote: > On 06/18/2014 12:16 AM, Andrew Bresticker wrote: >> In addition to the PCIe and SATA PHYs, the XUSB pad controller also >> supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single >> PCIe or SATA lane and is mapped to one of

  1   2   3   4   5   6   7   8   9   10   >