Re: [PATCH 2/4] mfd: bcm590xx: add support for second i2c slave address space

2014-04-16 Thread Lee Jones
> > s/regmap/Regmap > > It's consistently written regmap in all the documentation and so on :) Furry muff; but the comments still stand for the acronyms. > > addmap{0,1} doesn't quite sit right with me. > > > REVISIT: Ah, it's address-map, rather than add map. Okay, not as bad > > as I first th

Re: [PATCH 3/4] ARM: dts: berlin: add the SDHCI nodes for the BG2Q

2014-04-16 Thread Sebastian Hesselbarth
On 04/17/2014 05:33 AM, Jisheng Zhang wrote: > On Wed, 16 Apr 2014 05:40:10 -0700 > Antoine Ténart wrote: >> Add the SDHCI nodes for the Marvell Berlin BG2Q, using the berlin-sdhci >> driver. [...] >> +sdhci0: sdhci@ab { >> +compatible = "marvell,berlin2q-sdhci"

[RFC PATCH v4] Use kernfs_break_active_protection() for device online store callbacks

2014-04-16 Thread Li Zhong
This patch tries to solve the device hot remove locking issues in a different way from commit 5e33bc41, as kernfs already has a mechanism to break active protection. The problem here is the order of s_active, and series of hotplug related lock. This patch takes s_active out of the lock depende

RE: [PATCH] mm : Avoid candidate task is equal to current task

2014-04-16 Thread Peter Chiang
You are right !! It is not a right solution . It is a speculation where the panic was. [38261.652100] Call trace: [38261.654616] [] mm_update_next_owner+0x190/0x238 [38261.660766] [] do_exit+0x204/0x924 [38261.665790] [] do_group_exit+0x40/0xcc [38261.671169] [] get_signal_to_deliver+0x218/0

[PATCH] clocksource: pit: Add Freescale PIT-RTI devicetree Documentation

2014-04-16 Thread Xiubo Li
This add Freescale Periodic Interrupt Timer (PIT-RTI) devicetree Documentation, The PIT-RTI binding has already been used on Vybrid, so this add a binding document for it. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu --- .../devicetree/bindings/timer/fsl,vf610-pit.txt | 21 ++

[f2fs-dev] [PATCH] f2fs: fix wrong number of max_nid when init

2014-04-16 Thread Chao Yu
Since max_nid value was minus three in previous commit: 'b63da15e8b475245026bdf2096853683f189706b', Our last three nids could not be used ever, but 0/node nid/meta nid is still occupied. And also our ra_meta_pages() could not readahead the last block of NAT. Let's fix the wrong calculation of this

Re: in kernel 2.6.x, tun/tap nic supports vlan packets

2014-04-16 Thread zhuyj
Hi, Jaso Would you like to code review these 2 patches? Thanks a lot. Zhu Yanjun On 04/17/2014 11:35 AM, zhuyj wrote: Hi, all In kernel 2.6.x, linux depends on nic vlan hardware acceleration to insert/extract vlan tag. In this scene, in kernel 2.6.x _

Re: PROBLEM: Fatal Machine Check >= 3.13.5-101.fc19.x86_64

2014-04-16 Thread Matthias Graf
Ok. I tried: 3.15-rc1 (16. April) failed. Bisecting turned out: last working: 3.12.17 first failing: 3.13 Am 16.04.2014 16:22, schrieb Borislav Petkov: > On Wed, Apr 02, 2014 at 04:14:31PM +0200, Matthias Graf wrote: >> I now tried booting with a different graphics card (on the same >> machine)

Re: [PATCH 0/6] mfd/gpio: cleanup of STMPE driver

2014-04-16 Thread Shawn Guo
On Wed, Apr 16, 2014 at 04:44:09PM +0200, Linus Walleij wrote: > This cleans up the STMPE driver a bit: > > - Remove all static GPIO and IRQ number assignments as all platforms > with this hardware use device tree now. > - Add optional regulators. > - Add proper device tree probe path using comp

[PATCH V6] serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-04-16 Thread Yoshihiro YUNOMAE
Add tunable RX interrupt trigger I/F of FIFO buffers. Serial devices are used as not only message communication devices but control or sending communication devices. For the latter uses, normally small data will be exchanged, so user applications want to receive data unit as soon as possible for re

Re: [PATCH v2 2/2] dma: Add Xilinx AXI Direct Memory Access Engine driver support

2014-04-16 Thread Srikanth Thokala
On Wed, Apr 16, 2014 at 5:01 PM, Vinod Koul wrote: > On Tue, Apr 01, 2014 at 05:57:04PM +0530, Srikanth Thokala wrote: >> This is the driver for the AXI Direct Memory Access (AXI DMA) >> core, which is a soft Xilinx IP core that provides high- >> bandwidth direct memory access between memory and A

[PATCH] dmaengine: edma: No need save/restore interrupt flags during spin_lock in IRQ

2014-04-16 Thread Joel Fernandes
The vchan lock in edma_callback is acquired in hard interrupt context. As interrupts are already disabled, there's no point in save/restoring interrupt mask bit or cpsr flags. Get rid of flags local variable and use spin_lock instead of spin_lock_irqsave. Signed-off-by: Joel Fernandes --- drive

Re: [PATCH 16/19] VFS: use GFP_NOFS rather than GFP_KERNEL in __d_alloc.

2014-04-16 Thread Dave Chinner
On Thu, Apr 17, 2014 at 10:51:05AM +1000, NeilBrown wrote: > On Wed, 16 Apr 2014 19:00:51 +1000 Dave Chinner wrote: > > > On Wed, Apr 16, 2014 at 04:49:41PM +1000, NeilBrown wrote: > > > On Wed, 16 Apr 2014 16:25:20 +1000 Dave Chinner > > > wrote: > > > > > > > On Wed, Apr 16, 2014 at 02:03:37

[PATCH] cgroup: fix the retry path of cgroup_mount()

2014-04-16 Thread Li Zefan
If we hit the retry path, we'll call parse_cgroupfs_options() again, but the string we pass to it has been modified by the previous call to this function. This bug can be observed by: # mount -t cgroup -o name=foo,cpuset xxx /mnt && umount /mnt && \ mount -t cgroup -o name=foo,cpuset xxx /m

Re: in kernel 2.6.x, tun/tap nic supports vlan packets

2014-04-16 Thread zhuyj
On 04/17/2014 01:02 PM, Willy Tarreau wrote: Hi Zhu, On Thu, Apr 17, 2014 at 11:35:58AM +0800, zhuyj wrote: Hi, all In kernel 2.6.x, linux depends on nic vlan hardware acceleration to insert/extract vlan tag. In this scene, in kernel 2.6.x _ A

Re: [Nfs-ganesha-devel] should we change the name/macros of file-private locks?

2014-04-16 Thread Michael Kerrisk (man-pages)
On 04/17/2014 02:31 AM, Jim Lieb wrote: > On Wednesday, April 16, 2014 13:16:33 Jeremy Allison wrote: >> On Wed, Apr 16, 2014 at 10:00:46PM +0200, Michael Kerrisk (man-pages) wrote: >>> [CC += Jeremy Allison] >>> >>> On Wed, Apr 16, 2014 at 8:57 PM, Jeff Layton wrote: Sorry to spam so many li

Re: [RFC PATCH] sched: let task migration destination cpu do active balance

2014-04-16 Thread Alex Shi
On 04/16/2014 08:13 PM, Peter Zijlstra wrote: > On Wed, Apr 16, 2014 at 07:34:29PM +0800, Alex Shi wrote: >> Chris Redpath found an issue on active balance: >> We let the task source cpu, the busiest cpu, do the active balance, >> while the destination cpu maybe idle. thus we take the busiest cpu

Re: [PATCH 1/8] extcon: Add resource-managed extcon register function

2014-04-16 Thread Chanwoo Choi
Hi Sangjung, Thanks for your contribution. On 04/16/2014 07:26 PM, Sangjung Woo wrote: > Add resource-managed extcon device register function for convenience. > For example, if a extcon device is attached with new > devm_extcon_dev_register(), that extcon device is automatically > unregistered on

Re: linux-next: manual merge of the userns tree with Linus' tree

2014-04-16 Thread Al Viro
On Thu, Apr 17, 2014 at 03:06:57PM +1000, Stephen Rothwell wrote: > Hi Eric, > > Today's linux-next merge of the userns tree got a conflict in > fs/namespace.c between various commits from Linus' tree and various > commits from the userns tree. > > I fixed it up (hopefully - see below) and can ca

Re: [PATCH] mtd: fsl-quadspi: fix __iomem annotations

2014-04-16 Thread Brian Norris
On Wed, Apr 16, 2014 at 05:21:43PM +0800, Huang Shijie wrote: > 于 2014年04月16日 17:15, Brian Norris 写道: > >Pushed to l2-mtd.git/spinor. > I think you can rebase patches in the spinor branch to the master > branch now. I merged spinor into master for now, so it will be in -next. I think I'll keep the

linux-next: build failure after merge of the userns tree

2014-04-16 Thread Stephen Rothwell
Hi Eric, After merging the userns tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/namespace.c: In function 'new_mountpoint': fs/namespace.c:725:9: error: implicit declaration of function 'hash' [-Werror=implicit-function-declaration] struct list_head *chain = moun

linux-next: manual merge of the userns tree with Linus' tree

2014-04-16 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the userns tree got a conflict in fs/namespace.c between various commits from Linus' tree and various commits from the userns tree. I fixed it up (hopefully - see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwell

Re: in kernel 2.6.x, tun/tap nic supports vlan packets

2014-04-16 Thread Willy Tarreau
Hi Zhu, On Thu, Apr 17, 2014 at 11:35:58AM +0800, zhuyj wrote: > Hi, all > > In kernel 2.6.x, linux depends on nic vlan hardware acceleration to > insert/extract > vlan tag. In this scene, in kernel 2.6.x > > _ > A | | B|| C >

Re: [PATCH v2] ARM: dts: imx6q-gk802: Enable HDMI

2014-04-16 Thread Shawn Guo
On Wed, Apr 16, 2014 at 11:23:50PM +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > --- > Changes since v1: > - Reordered ddc-i2c-bus and status properties > --- > arch/arm/boot/dts/imx6q-gk802.dts | 5 + > 1 file changed, 5 insertions(+) Applied. It should be sent to LAKML tha

Re: [PATCH 04/19] Make effect of PF_FSTRANS to disable __GFP_FS universal.

2014-04-16 Thread Dave Chinner
On Thu, Apr 17, 2014 at 11:03:50AM +1000, NeilBrown wrote: > On Wed, 16 Apr 2014 16:17:26 +1000 NeilBrown wrote: > > > On Wed, 16 Apr 2014 15:37:56 +1000 Dave Chinner wrote: > > > > > On Wed, Apr 16, 2014 at 02:03:36PM +1000, NeilBrown wrote: > > > > > - /* > > > > -* Given that

linux-next: manual merge of the staging tree with the staging.current tree

2014-04-16 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in drivers/staging/rtl8723au/core/rtw_ieee80211.c, drivers/staging/rtl8723au/core/rtw_mlme_ext.c, drivers/staging/rtl8723au/core/rtw_p2p.c and drivers/staging/rtl8723au/core/rtw_wlan_util.c between commit f5d197b614d8 ("staging: r

Re: [PATCH/RFC 00/19] Support loop-back NFS mounts

2014-04-16 Thread Dave Chinner
On Thu, Apr 17, 2014 at 11:50:18AM +1000, NeilBrown wrote: > On Thu, 17 Apr 2014 11:27:39 +1000 Dave Chinner wrote: > > > On Thu, Apr 17, 2014 at 10:20:48AM +1000, NeilBrown wrote: > > > A good example is the deadlock with the flush-* threads. > > > flush-* will lock a page, and then call ->writ

Re: [raid5] kernel BUG at drivers/md/raid5.c:4374!

2014-04-16 Thread NeilBrown
On Thu, 17 Apr 2014 11:59:59 +0800 Fengguang Wu wrote: > Shaohua, > > We noticed the below BUG on > > commit e240c1839d11152b0355442f8ac6d2d2d921be36 ("raid5: get_active_stripe > avoids device_lock") > > test case: lkp-ws02/micro/dd-write/11HDD-RAID5-cfq-ext4-10dd Thanks. We know about this

Re: [PATCH] cif: fix dead code

2014-04-16 Thread Steve French
merged into cifs-2.6.git On Tue, Apr 15, 2014 at 3:06 AM, Michael Opdenacker wrote: > This issue was found by Coverity (CID 1202536) > > This proposes a fix for a statement that creates dead code. > The "rc < 0" statement is within code that is run > with "rc > 0". > > It seems like "err < 0" was

Re: [PATCH v2] ARM: mm: support big-endian page tables

2014-04-16 Thread Jianguo Wu
On 2014/4/16 20:28, Marc Zyngier wrote: > On 16/04/14 03:45, Jianguo Wu wrote: >> On 2014/4/14 19:14, Marc Zyngier wrote: >> >>> On 14/04/14 11:43, Will Deacon wrote: (catching up on old email) On Tue, Mar 18, 2014 at 07:35:59AM +, Jianguo Wu wrote: > Cloud you please take a

[PATCH] staging: rts5139: fixed coding style

2014-04-16 Thread Thomas Tanaka
Fixed checkpatch warnings > 80 lines Signed-off-by: Thomas Tanaka --- drivers/staging/rts5139/rts51x_fop.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rts5139/rts51x_fop.c b/drivers/staging/rts5139/rts51x_fop.c index 677d18b..cf4e

[sched,rcu] b84c4e08143: +3.1% will-it-scale.per_thread_ops

2014-04-16 Thread Fengguang Wu
Hi Paul, FYI, this improves will-it-scale/open1 throughput. git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2014.04.14a commit b84c4e08143c98dad4b4d139f08db0b98b0d3ec4 ("sched,rcu: Make cond_resched() report RCU quiescent states") ad86a04266f9b49 b84c4e08143c98dad4b4d1

[net/sctp] 362d52040c7: +99.0% netperf.Throughput_Mbps

2014-04-16 Thread Fengguang Wu
Hi Daniel, We noticed the same improvements in netperf SCTP_STREAM test case as described in your patch changelog. commit 362d52040c71f6e8d8158be48c812d7729cb8df1 ("Revert "net: sctp: Fix a_rwnd/rwnd management to reflect real state of the receiver's buffer"") bfae23249955819 362d52040c71f6e8d

in kernel 2.6.x, tun/tap nic supports vlan packets

2014-04-16 Thread zhuyj
Hi, all In kernel 2.6.x, linux depends on nic vlan hardware acceleration to insert/extract vlan tag. In this scene, in kernel 2.6.x _ A | | B|| C vlan packets-->| tap |->|vlan nic|---> |_| |___

Re: [PATCH 3/4] ARM: dts: berlin: add the SDHCI nodes for the BG2Q

2014-04-16 Thread Jisheng Zhang
Hi Antoine, On Wed, 16 Apr 2014 05:40:10 -0700 Antoine Ténart wrote: > Add the SDHCI nodes for the Marvell Berlin BG2Q, using the berlin-sdhci > driver. > > Signed-off-by: Antoine Ténart > --- > arch/arm/boot/dts/berlin2q.dtsi | 40 > 1 file changed, 40

block: check for dying queue in generic_make_request()

2014-04-16 Thread Asai Thambi S P
Check for dying queue is in request queue interface, but not for direct use of make_request(). When a mounted device is surprise removed, block drivers delete gendisk and cleanup request queue. As the reference count is non-zero, these structures continue to exist and any further I/O request is p

mtip32xx: Remove dfs_parent after pci unregister

2014-04-16 Thread Asai Thambi S P
In module exit, dfs_parent and it's subtree were removed before unregistering with pci. When debugfs entry for each device is attempted to remove in pci_remove() context, they don't exist, as dfs_parent and its children were already ripped apart. Modified to first unregister with pci and then rem

Re: [PATCH] Staging:Line6:usbdefs.h parenthesis for Marcos

2014-04-16 Thread Greg KH
On Tue, Apr 08, 2014 at 05:11:26PM +0100, Paul McQuade wrote: > ERROR: Macros with complex values should be enclosed in parenthesis > > Signed-off-by: Paul McQuade > --- > drivers/staging/line6/usbdefs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/li

mtip32xx: Increase timeout for STANDBY IMMEDIATE command

2014-04-16 Thread Asai Thambi S P
Increased timeout for STANDBY IMMEDIATE command to 2 minutes. Signed-off-by: Selvan Mani Signed-off-by: Asai Thambi S P --- drivers/block/mtip32xx/mtip32xx.c | 66 +++- 1 files changed, 35 insertions(+), 31 deletions(-) diff --git a/drivers/block/mtip32xx/mti

Re: [PATCH 1/4] Staging: lustre: Fixed formatting errors in lib-types.h identified by checkpatch.pl

2014-04-16 Thread Greg KH
On Wed, Apr 02, 2014 at 07:12:56PM +1100, Joshua Baldock wrote: > Fixed '{' not on same line as struct in file lib-types.h identified by > checkpatch.pl > > Signed-off-by: Joshua Baldock > --- > drivers/staging/lustre/include/linux/lnet/lib-types.h | 12 > 1 file changed, 4 inserti

Re: [GIT PULL] fbdev fixes for 3.15

2014-04-16 Thread Stephen Rothwell
On Wed, 16 Apr 2014 16:04:39 -0700 Linus Torvalds wrote: > > On Wed, Apr 16, 2014 at 2:03 AM, Tomi Valkeinen wrote: > > > > The drivers/video/Kconfig change in this pull request will conflict with the > > fbdev reorder series, which is not yet in your tree. If that's an issue, I > > can > > res

Re: [PATCH v3 1/4] MAINTAINERS: Add entry for APM X-Gene SoC ethernet driver

2014-04-16 Thread Joe Perches
On Wed, 2014-04-16 at 19:39 -0700, Iyappan Subramanian wrote: > This patch adds a MAINTAINERS entry for APM X-Gene SoC > ethernet driver. [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -686,6 +686,14 @@ S: Maintained > F: drivers/net/appletalk/ > F: net/appletalk/ > > +APPLIED MI

Re: [PATCH v3 4/4] drivers: net: Add APM X-Gene SoC ethernet driver support.

2014-04-16 Thread Joe Perches
On Wed, 2014-04-16 at 19:39 -0700, Iyappan Subramanian wrote: > This patch adds network driver for APM X-Gene SoC ethernet. [] > diff --git a/drivers/net/ethernet/apm/xgene/Kconfig > b/drivers/net/ethernet/apm/xgene/Kconfig [] > @@ -0,0 +1,10 @@ > +config NET_XGENE > + tristate "APM X-Gene SoC

Re: [PATCH RESEND 2/2] staging: binder: Code simplification

2014-04-16 Thread Greg KH
On Tue, Apr 15, 2014 at 12:03:06PM +0200, Mathieu Maret wrote: > Remove duplicate code > > Signed-off-by: Mathieu Maret > --- > drivers/staging/android/binder.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/android/binder.c > b/drivers/staging/

Re: [PATCH 3/3] Staging:android:uapi:binder.h __packed

2014-04-16 Thread Greg KH
On Tue, Apr 08, 2014 at 07:02:04PM +0100, Paul McQuade wrote: > WARNING: __packed is preferred over __attribute__((packed)) > > Signed-off-by: Paul McQuade > --- > drivers/staging/android/uapi/binder.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Not on uapi .h files, sorry :( -- To

[PATCH v2] kernel/panic: Add "crash_kexec_post_notifiers" option for kdump after panic_notifers

2014-04-16 Thread Masami Hiramatsu
Add a "crash_kexec_post_notifiers" option to run kdump after running panic_notifiers and dump kmsg. This can help rare situations which kdump drops in failure because of unstable crashed kernel or hardware failure (memory corruption on critical data/code), or the 2nd kernel is already broken by the

Re: [PATCH] FMC: misc_register should not be called while atomic

2014-04-16 Thread Greg KH
On Thu, Apr 17, 2014 at 12:39:42AM +0200, Alessandro Rubini wrote: > >> --- a/drivers/fmc/fmc-chardev.c > >> +++ b/drivers/fmc/fmc-chardev.c > >> @@ -141,8 +141,8 @@ static int fc_probe(struct fmc_device *fmc) > >>fc->misc.fops = &fc_fops; > >>fc->misc.name = kstrdup(dev_name(&fmc->dev), GF

Re: [RFC PATCH v3] Use kernfs_break_active_protection() for device online store callbacks

2014-04-16 Thread Li Zhong
On Wed, 2014-04-16 at 11:17 -0400, Tejun Heo wrote: > Hello, > > On Wed, Apr 16, 2014 at 09:41:40AM +0800, Li Zhong wrote: > > > If so, that is > > > an actually possible deadlock, no? > > > > Yes, but it seems to me that it is solved in commit 5e33bc41, which uses > > lock_device_hotplug_sysfs()

Re: [PATCH 0/3] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v4

2014-04-16 Thread Fengguang Wu
On Tue, Apr 15, 2014 at 03:41:13PM +0100, Mel Gorman wrote: > Fengguang Wu found that an earlier version crashed on his > tests. This version passed tests running with DEBUG_VM and > DEBUG_PAGEALLOC. Fengguang, another test would be appreciated and > if it helps this series is the mm-numa-use-high-

linux-next: manual merge of the crypto tree with Linus' tree

2014-04-16 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in drivers/crypto/bfin_crc.h between commit 3356c99ea392 ("bfin_crc: Move architecture independant crc header file out of the blackfin folder") from Linus' tree and commit 52e6e543f2d8 ("crypto: bfin_crc - access crc registers

[f2fs-dev][PATCH] f2fs: introduce raw_nat_from_node_info() to simplfy codes

2014-04-16 Thread Chao Yu
This patch introduce raw_nat_from_node_info() to simplfy some codes, and also use exist function node_info_from_raw_nat() to do the same job. Signed-off-by: Chao Yu --- fs/f2fs/node.c | 15 +++ fs/f2fs/node.h |8 2 files changed, 11 insertions(+), 12 deletions(-) diff

linux-next: manual merge of the crypto tree with Linus' tree

2014-04-16 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in drivers/char/hw_random/Kconfig between commit 2257ffbca73c ("hwrng: msm: switch Kconfig to ARCH_QCOM depends") from Linus' tree and commits 020016183453 ("hwrng: Turn HW_RANDOM into a menuconfig") and 2d9cab5194c8 ("hwrng: F

[PATCH v3 1/4] MAINTAINERS: Add entry for APM X-Gene SoC ethernet driver

2014-04-16 Thread Iyappan Subramanian
This patch adds a MAINTAINERS entry for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 11b3937..bc32a01 1006

[PATCH v3 0/4] net: Add APM X-Gene SoC Ethernet driver support

2014-04-16 Thread Iyappan Subramanian
Adding APM X-Gene SoC Ethernet driver. v3: Address comments from v2 review * cleaned up set_desc and get_desc functions * added dtb mdio node and phy-handle subnode * renamed dtb phy-mode to phy-connection-type * added of_phy_connect call to connec to PHY * added empty line after last local variab

[PATCH v3 2/4] Documentation: dts: Add bindings for APM X-Gene SoC ethernet driver

2014-04-16 Thread Iyappan Subramanian
This patch adds documentation for APM X-Gene SoC ethernet DTS binding. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- .../devicetree/bindings/net/apm-xgene-enet.txt | 66 1 file changed, 66 insertions(+) create mode 100

Re: Re: [PATCH V5.1] serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-04-16 Thread Yoshihiro YUNOMAE
Hi Stephen, Thank you for your reply. (2014/04/17 2:04), Stephen Warren wrote: On 04/15/2014 08:08 PM, Yoshihiro YUNOMAE wrote: diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c @@ -2275,10 +2276,9 @@ serial8250_do_set_termios(struct uart_port *port, str

Re: [PATCH 10/19] NET: set PF_FSTRANS while holding sk_lock

2014-04-16 Thread NeilBrown
On Wed, 16 Apr 2014 09:00:02 -0400 (EDT) David Miller wrote: > From: Eric Dumazet > Date: Tue, 15 Apr 2014 22:13:46 -0700 > > > For applications handling millions of sockets, this makes a difference. > > Indeed, this really is not acceptable. As you say... I've just discovered that I can get

[PATCH v3 3/4] dts: Add bindings for APM X-Gene SoC ethernet driver

2014-04-16 Thread Iyappan Subramanian
This patch adds bindings for APM X-Gene SoC ethernet driver. Signed-off-by: Iyappan Subramanian Signed-off-by: Ravi Patel Signed-off-by: Keyur Chudgar --- arch/arm64/boot/dts/apm-mustang.dts |4 arch/arm64/boot/dts/apm-storm.dtsi | 27 --- 2 files changed, 2

Re: rb tree hrtimer lockup bug (found by perf_fuzzer)

2014-04-16 Thread Greg KH
On Thu, Apr 17, 2014 at 01:00:53AM +0200, Thomas Gleixner wrote: > On Sat, 5 Apr 2014, Greg KH wrote: > > On Mon, Mar 31, 2014 at 01:18:34PM +0200, Thomas Gleixner wrote: > > > On Thu, 27 Mar 2014, Vince Weaver wrote: > > > > On Wed, 26 Mar 2014, Thomas Gleixner wrote: > > > > > Ok. So we know now

Re: [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters

2014-04-16 Thread Greg Kroah-Hartman
On Wed, Apr 16, 2014 at 05:12:30PM -0700, Frank Rowand wrote: > pr_debug() parameters are reverse order of format string > > Signed-off-by: Frank Rowand > --- > > drivers/base/dd.c |4 2 + 2 - 0 ! > 1 file changed, 2 insertions(+), 2 deletions(-) > > Index: b/drivers/base/dd.c

[PATCH] sched/deadline: Fix memory leak

2014-04-16 Thread Li Zefan
Free cpudl->free_cpus allocated in cpudl_init(). Signed-off-by: Li Zefan Cc: # 3.14 --- kernel/sched/cpudeadline.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/sched/cpudeadline.c b/kernel/sched/cpudeadline.c index 5b9bb42..ab001b5 100644 --- a/kernel/sched/cpud

Re: [PATCH v2 4/4] drivers: net: Add APM X-Gene SoC ethernet driver support.

2014-04-16 Thread Iyappan Subramanian
Hi, Please find my response inline. On Mon, Apr 14, 2014 at 7:05 AM, Ben Dooks wrote: > On 12/04/14 04:06, Iyappan Subramanian wrote: >> >> This patch adds network driver for APM X-Gene SoC ethernet. >> >> Signed-off-by: Iyappan Subramanian >> Signed-off-by: Ravi Patel > > > [snip] > > >> +{ >

Re: [PATCH] kernel/panic: Add "late_kdump" option for kdump in unstable condition

2014-04-16 Thread Masami Hiramatsu
Thank you for review! (2014/04/16 22:48), Vivek Goyal wrote: > On Mon, Apr 14, 2014 at 01:51:58PM +0900, Masami Hiramatsu wrote: >> Add a "late_kdump" option to run kdump after running panic >> notifiers and dump kmsg. This can help rare situations which >> kdump drops in failure because of unstab

Re: [PATCH/RFC 00/19] Support loop-back NFS mounts

2014-04-16 Thread NeilBrown
On Thu, 17 Apr 2014 11:27:39 +1000 Dave Chinner wrote: > On Thu, Apr 17, 2014 at 10:20:48AM +1000, NeilBrown wrote: > > A good example is the deadlock with the flush-* threads. > > flush-* will lock a page, and then call ->writepage. If ->writepage > > allocates memory it can enter reclaim, cal

Re: [uClinux-dev] v3.15-rc1 slab allocator broken on m68knommu (coldfire)

2014-04-16 Thread Joonsoo Kim
On Wed, Apr 16, 2014 at 10:44:11AM -0700, Steven King wrote: > On Wednesday 16 April 2014 9:06:57 am Geert Uytterhoeven wrote: > > Hi Steven, > > > > On Wed, Apr 16, 2014 at 5:47 PM, Steven King wrote: > > > --- a/mm/slab.c > > > +++ b/mm/slab.c > > > @@ -2572,13 +2572,13 @@ static void *alloc_sla

Re: [PATCH cgroup/for-3.16] cgroup: add documentation about unified hierarchy

2014-04-16 Thread Li Zefan
On 2014/4/17 4:16, Randy Dunlap wrote: > On 04/16/2014 06:51 AM, Tejun Heo wrote: >> Hello, >> >> On Tue, Apr 15, 2014 at 03:36:29PM -0700, Randy Dunlap wrote: +depending on the specific controller. IOW, hierarchy may be collapsed >>> >>> please spell out IOW >> >> Updated, but is this really

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-16 Thread Chanwoo Choi
Hi Tomasz, On 04/17/2014 12:53 AM, Tomasz Figa wrote: > Hi Chanwoo, > > On 14.04.2014 07:13, Chanwoo Choi wrote: >> On 04/11/2014 05:39 PM, Tomasz Figa wrote: >>> On 11.04.2014 08:32, Chanwoo Choi wrote: On 04/11/2014 10:46 AM, Olof Johansson wrote: > On Thu, Apr 10, 2014 at 06:37:12PM +

linux-next: manual merge of the ipsec tree with Linus' tree

2014-04-16 Thread Stephen Rothwell
Hi Steffen, Today's linux-next merge of the ipsec tree got a conflict in net/ipv4/ip_vti.c between commit 8d89dcdf80d8 ("vti: don't allow to add the same tunnel twice") from Linus' tree and commit a32452366b72 ("vti4: Don't count header length twice") from the ipsec tree. I fixed it up (see below

Re: [PATCH/RFC 00/19] Support loop-back NFS mounts

2014-04-16 Thread Dave Chinner
On Thu, Apr 17, 2014 at 10:20:48AM +1000, NeilBrown wrote: > A good example is the deadlock with the flush-* threads. > flush-* will lock a page, and then call ->writepage. If ->writepage > allocates memory it can enter reclaim, call ->releasepage on NFS, and block > waiting for a COMMIT to compl

Re: [PATCH v5 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-04-16 Thread Jason Gunthorpe
On Thu, Apr 17, 2014 at 01:20:42AM +0100, Liviu Dudau wrote: > > No spec says you can put config space into the ranges at all, nobody > > should be doing that today, obviously some cases were missed during > > review.. > > ePAPR documents allows that when ss == 00. Which do you mean? The 'PCI Bu

Re: [PATCH v3 3/3] cgroup: implement cgroup.populated for the default hierarchy

2014-04-16 Thread Li Zefan
> cgroup users often need a way to determine when a cgroup's > subhierarchy becomes empty so that it can be cleaned up. cgroup > currently provides release_agent for it; unfortunately, this mechanism > is riddled with issues. > > * It delivers events by forking and execing a userland binary > s

Re: [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters

2014-04-16 Thread Joe Perches
On Wed, 2014-04-16 at 18:12 -0700, Frank Rowand wrote: > On 4/16/2014 5:48 PM, Joe Perches wrote: > > On Wed, 2014-04-16 at 17:12 -0700, Frank Rowand wrote: > >> pr_debug() parameters are reverse order of format string > > > > Another way to do this might be to change all the > > printks/pr_debugs

Re: [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters

2014-04-16 Thread Frank Rowand
On 4/16/2014 5:48 PM, Joe Perches wrote: > On Wed, 2014-04-16 at 17:12 -0700, Frank Rowand wrote: >> pr_debug() parameters are reverse order of format string > > Another way to do this might be to change all the > printks/pr_debugs to dev_ Yes, but if that is done, one may as well do all of drive

Re: f2fs: BUG_ON() is triggered when mount valid f2fs filesystem

2014-04-16 Thread Alexey Khoroshilov
Hi, But would not ability to trigger BUG_ON by mounting a crafted image considered as an issue having security implications? Regards, Alexey On 16.04.2014 16:35, Jaegeuk Kim wrote: > Hi, > > 2014-04-16 (수), 13:11 +0400, Andrey Tsyvarev: >> Hi, >> >> With this patch mounting of the image continu

Re: [PATCH 04/19] Make effect of PF_FSTRANS to disable __GFP_FS universal.

2014-04-16 Thread NeilBrown
On Wed, 16 Apr 2014 16:17:26 +1000 NeilBrown wrote: > On Wed, 16 Apr 2014 15:37:56 +1000 Dave Chinner wrote: > > > On Wed, Apr 16, 2014 at 02:03:36PM +1000, NeilBrown wrote: > > > - /* > > > - * Given that we do not allow direct reclaim to call us, we should > > > - * never be called while i

Re: [PATCH 8/8] extcon: arizona: Use devm_extcon_dev_register()

2014-04-16 Thread Sangjung
To Seung-Woo. On 04/16/2014 07:44 PM, Seung-Woo Kim wrote: > Hi, > > On 2014년 04월 16일 19:27, Sangjung Woo wrote: >> Use the resource-managed extcon device register function (i.e. >> devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon >> device >> is attached with this functio

Re: [PATCH 16/19] VFS: use GFP_NOFS rather than GFP_KERNEL in __d_alloc.

2014-04-16 Thread NeilBrown
On Wed, 16 Apr 2014 19:00:51 +1000 Dave Chinner wrote: > On Wed, Apr 16, 2014 at 04:49:41PM +1000, NeilBrown wrote: > > On Wed, 16 Apr 2014 16:25:20 +1000 Dave Chinner wrote: > > > > > On Wed, Apr 16, 2014 at 02:03:37PM +1000, NeilBrown wrote: > > > > __d_alloc can be called with i_mutex held,

Re: [DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters

2014-04-16 Thread Joe Perches
On Wed, 2014-04-16 at 17:12 -0700, Frank Rowand wrote: > pr_debug() parameters are reverse order of format string Another way to do this might be to change all the printks/pr_debugs to dev_ Something like: --- drivers/base/dd.c | 35 +-- 1 file changed, 17 inserti

Re: [PATCH 2/2] nohz: use delayed iowait accounting to avoid race on idle time stats

2014-04-16 Thread Hidetoshi Seto
(2014/04/16 18:36), Peter Zijlstra wrote: > On Wed, Apr 16, 2014 at 03:33:06PM +0900, Hidetoshi Seto wrote: >> So we need 2 operations: >> a) remove regression > > What regression; there's never been talk about a regression, just a bug > found. AFAICT this 'regression' is ever since we introduce

Re: Re: [Nfs-ganesha-devel] should we change the name/macros of file-private locks?

2014-04-16 Thread Jim Lieb
On Wednesday, April 16, 2014 13:16:33 Jeremy Allison wrote: > On Wed, Apr 16, 2014 at 10:00:46PM +0200, Michael Kerrisk (man-pages) wrote: > > [CC += Jeremy Allison] > > > > On Wed, Apr 16, 2014 at 8:57 PM, Jeff Layton wrote: > > > Sorry to spam so many lists, but I think this needs widespread >

Re: mm: kernel BUG at mm/huge_memory.c:1829!

2014-04-16 Thread Andrea Arcangeli
Hi Kirill, On Mon, Apr 14, 2014 at 05:42:18PM +0300, Kirill A. Shutemov wrote: > I've spent few day trying to understand rmap code. And now I think my > patch is wrong. > > I actually don't see where walk order requirement comes from. It seems all > operations (insert, remove, foreach) on anon_vm

Re: [PATCH] thp: close race between split and zap huge pages

2014-04-16 Thread Bob Liu
On Wed, Apr 16, 2014 at 4:42 PM, Kirill A. Shutemov wrote: > On Wed, Apr 16, 2014 at 07:52:29AM +0800, Bob Liu wrote: >> > *ptl = pmd_lock(mm, pmd); >> > - if (pmd_none(*pmd)) >> > + if (!pmd_present(*pmd)) >> > goto unlock; >> >> But I didn't get the idea why p

Re: [PATCH v5 2/4] arm64: dts: APM X-Gene PCIe device tree nodes

2014-04-16 Thread Liviu Dudau
On Wed, Apr 16, 2014 at 03:21:04PM -0600, Jason Gunthorpe wrote: > On Wed, Apr 16, 2014 at 06:05:45PM +0100, Liviu Dudau wrote: > > > I have found out that we cannot pasd the config ranges from the DT into the > > pci_host_bridge structure as the PCI framework doesn't have a resource type > > for

Re: [PATCH/RFC 00/19] Support loop-back NFS mounts

2014-04-16 Thread NeilBrown
On Wed, 16 Apr 2014 10:42:07 -0400 Jeff Layton wrote: > On Wed, 16 Apr 2014 14:03:35 +1000 > NeilBrown wrote: > > > Comments, criticisms, etc most welcome. > > > > Thanks, > > NeilBrown > > > > I've only given this a once-over, but the basic concept seems a bit > flawed. IIUC, the basic ide

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-04-16 Thread Dave Jones
On Wed, Apr 16, 2014 at 04:56:00PM -0600, Bjorn Helgaas wrote: > > I'm seeing the exact same message on my thinkpad t430s. > > When I try your patch, modesetting no longer works. When it tries > > to change to the framebuffer I get a black screen and lockup. > > If I boot with nomodeset it lo

Re: [3.14+] kernel BUG at mm/filemap.c:1347!

2014-04-16 Thread Hugh Dickins
On Wed, 16 Apr 2014, Johannes Weiner wrote: > Subject: [patch] mm: filemap: update find_get_pages_tag() to deal with shadow > entries > > Dave Jones reports the following crash when find_get_pages_tag() runs > into an exceptional entry: > > kernel BUG at mm/filemap.c:1347! > RIP: 0010:[] [] >

[DRIVER CORE] drivers/base/dd.c incorrect pr_debug() parameters

2014-04-16 Thread Frank Rowand
pr_debug() parameters are reverse order of format string Signed-off-by: Frank Rowand --- drivers/base/dd.c |4 2 + 2 - 0 ! 1 file changed, 2 insertions(+), 2 deletions(-) Index: b/drivers/base/dd.c === --- a/driv

Re: [PATCH] PM / devfreq: Use freq_table for available_frequencies

2014-04-16 Thread Saravana Kannan
On 04/15/2014 11:41 AM, Saravana Kannan wrote: > Ah, I misunderstood your previous email. I thought you Nack-ed my patch > and decided to send your own patch to replace mine. Ok, I'll fix up mine > and send it out. MyungJoo/Kyungmin, I sent out an updated patch. Can you please take a look? Thank

Re: [PATCH 2/2] mm/compaction: cleanup isolate_freepages()

2014-04-16 Thread Minchan Kim
Hi Vlastimil, Below just nitpicks. On Tue, Apr 15, 2014 at 11:18:27AM +0200, Vlastimil Babka wrote: > isolate_freepages() is currently somewhat hard to follow thanks to many > different pfn variables. Especially misleading is the name 'high_pfn' which > looks like it is related to the 'low_pfn' v

[PATCH 2/9] ARM: OMAP: dmtimer: Add comments on OMAP1 clock framework

2014-04-16 Thread Joel Fernandes
OMAP1 doesn't support clock framework, add a comment where needed and correct a FIXME. Signed-off-by: Joel Fernandes --- arch/arm/plat-omap/dmtimer.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index ecd3f

[PATCH 6/9] ARM: OMAP: dmtimer: Add a write_ctrl function to simplify bit setting

2014-04-16 Thread Joel Fernandes
A common pattern in dmtimer code is to read the control reg, set and reset certain bits, and write it back. We abstract this pattern and introduce a new function to do so. Signed-off-by: Joel Fernandes --- arch/arm/plat-omap/dmtimer.c | 63 -- 1 file cha

[PATCH 8/9] ARM: OMAP: dmtimer: Add function to check for timer availability

2014-04-16 Thread Joel Fernandes
Simplify the check for a timer availability in atleast 4 places by providing a function to do the same. Signed-off-by: Joel Fernandes --- arch/arm/plat-omap/dmtimer.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/a

[PATCH 3/9] ARM: OMAP: dmtimer: Add note to set parent from DT

2014-04-16 Thread Joel Fernandes
Once clock-parents or default-parent support for DT clocks is available, we should use it to set clock parent and turn clk_set_parent into a NOOP. Signed-off-by: Joel Fernandes --- arch/arm/plat-omap/dmtimer.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/plat-omap/dmtimer.

[PATCH 4/9] ARM: OMAP: dmtimer: Add function to check if timer is running

2014-04-16 Thread Joel Fernandes
Inorder to move non-DM timer specific code that modifies the "idlect" mask on OMAP1, from dmtimer code, to OMAP1 specific timer initialization code, we introduce a new function that can possibly be reused for other purposes in the future. The function just checks if a timer is running based on the

[PATCH 9/9] ARM: OMAP: dmtimer: Get rid of check for mem resource error

2014-04-16 Thread Joel Fernandes
The subsequent devm_ioremap_resource will catch it and print an error, let it be checked there. Signed-off-by: Joel Fernandes --- arch/arm/plat-omap/dmtimer.c |4 1 file changed, 4 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index 7e806f9..1fd3

[PATCH 7/9] ARM: OMAP: dmtimer: Have __omap_dm_timer_load_start set ST bit in CTRL instead of caller

2014-04-16 Thread Joel Fernandes
"load_start" implies start, so it makes sense to set the ST bit in __omap_dm_timer_load_start instead of callers. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/timer.c |6 +++--- arch/arm/plat-omap/dmtimer.c |1 - arch/arm/plat-omap/include/plat/dmtimer

[PATCH 5/9] ARM: OMAP1: dmtimer: Rewrite modify of IDLECT mask to use new is_running function

2014-04-16 Thread Joel Fernandes
While at it, also delete the old definition of the function in dmtimer.c code. This completes the separation and removal of OMAP1 header dependency in dmtimer code and removes references to MOD_CONF_CTRL registers in dmtimer. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap1/include/mach/har

[PATCH 1/9] ARM: OMAP: dmtimer: Remove setting of clk parent indirectly through platform hook

2014-04-16 Thread Joel Fernandes
There is a platform specific hook just for OMAP1 to set its clk parent. Remove this hook and have OMAP1 set its parent in omap1_dm_timer_init. If OMAP1 is ever migrated to clock framework, the correct way to do this would be through clk_set_parent like other platforms. Signed-off-by: Joel Fernan

RE: [PATCH 2/2 v3] staging: comedi: addi_apci_1564: fixup and absorb apci1564_reset()

2014-04-16 Thread Hartley Sweeten
On Wednesday, April 16, 2014 4:53 PM, Chase Southwood wrote: >>On Wednesday, April 16, 2014 6:36 PM, Hartley Sweeten >> wrote: >>>On Wednesday, April 16, 2014 4:34 PM, Chase Southwood wrote: >>>Move apci1564_reset() from hwdrv_apci1564.c to addi_apci_1564.c.  The >>>function was very messy and fai

Re: [PATCH] fbdev: fix possible NULL pointer derefernce

2014-04-16 Thread DaeSeok Youn
Hello, 2014-04-16 21:38 GMT+09:00 Jean-Christophe PLAGNIOL-VILLARD : > > On Apr 16, 2014, at 5:40 PM, Daeseok Youn wrote: > >> >> The spec->modedb can be NULL by fb_create_modedb(). >> >> And also smatch says: >> drivers/video/fbdev/core/fbmon.c:975 fb_edid_to_monspecs() error: >> potential null

  1   2   3   4   5   6   7   8   >