[PATCH] f2fs: avoid freqeunt write_inode calls

2013-06-10 Thread Jaegeuk Kim
If update_inode is called, we don't need to do write_inode. So, let's use a *dirty* flag for each inode. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 1 + fs/f2fs/inode.c | 4 fs/f2fs/super.c | 12 4 files changed, 18 insertions(+) diff --git a/fs

Re: [PATCH 2/2 v4] f2fs: support xattr security labels

2013-06-10 Thread Jaegeuk Kim
Change log from v3: o fix deadlock condition for inode block page (tested on SElinux) Change log from v2: o fix description and simplify a code line (commented by Casey Schaufler) Change log from v1: o fix a bug From 2065a7282f65eb1b395c675d4a1f9c8967e60385 Mon Sep 17 00:00:00 2001 From: Jaeg

Re: [PATCH v2 06/11] ARM:stixxxx: Add STiH415 SOC support

2013-06-10 Thread Srinivas KANDAGATLA
On 11/06/13 00:19, Russell King - ARM Linux wrote: > On Mon, Jun 10, 2013 at 12:46:59PM +0100, Srinivas KANDAGATLA wrote: >>> > > + aux_ctrl = (0x1 << L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT) | >>> > > + (0x1 << L2X0_AUX_CTRL_DATA_PREFETCH_SHIFT) | >>> > > +

[PATCH] x86, efi: retry ExitBootServices() on failure

2013-06-10 Thread Matt Fleming
From: Zach Bobroff ExitBootServices is absolutely supposed to return a failure if any ExitBootServices event handler changes the memory map. Basically the get_map loop should run again if ExitBootServices returns an error the first time. I would say it would be fair that if ExitBootServices giv

RE: [PATCH] Make transparent hugepages cpuset aware

2013-06-10 Thread Kirill A. Shutemov
Alex Thorlton wrote: > This patch adds the ability to control THPs on a per cpuset basis. Please see > the additions to Documentation/cgroups/cpusets.txt for more information. > > Signed-off-by: Alex Thorlton > Reviewed-by: Robin Holt > Cc: Li Zefan > Cc: Rob Landley > Cc: Andrew Morton > Cc

Re: Re: Re: [PATCH V2 1/1] kvm/vmx: Add a tracepoint write_tsc_offset

2013-06-10 Thread Gleb Natapov
On Mon, Jun 10, 2013 at 05:28:23PM -0300, Marcelo Tosatti wrote: > On Mon, Jun 10, 2013 at 07:38:34PM +0300, Gleb Natapov wrote: > > > Guest traces contain vcpu number and not pid (because guest is unaware > > > of host PID). > > > > > No, guest trace is just a regular ftrace done inside a guest.

RE: [PATCH 00/11] Convert GPIO Davinci to platform driver

2013-06-10 Thread Philip, Avinash
On Tue, Jun 11, 2013 at 10:09:17, Nori, Sekhar wrote: > > On 6/10/2013 2:32 PM, Philip, Avinash wrote: > > On Fri, Jun 07, 2013 at 13:40:52, Nori, Sekhar wrote: > >> Hi Avinash, > >> > >> On 5/22/2013 12:40 PM, Philip Avinash wrote: > >>> GPIO Davinci driver converted to platform driver to support

Re: [PATCH v10 net-next 0/6] net: low latency Ethernet device polling

2013-06-10 Thread Eliezer Tamir
On 11/06/2013 07:24, David Miller wrote: From: Eliezer Tamir Date: Tue, 11 Jun 2013 05:25:42 +0300 Here is the text from the RFC and v2 cover letters, updated and merged. If this is too long, please tell me what you think should be removed. It's perfect, and since this went through so many

Re: [PATCH 1/4] efi: Convert runtime services function ptrs

2013-06-10 Thread Matt Fleming
On Thu, 06 Jun, at 11:07:45AM, Matt Fleming wrote: > Thanks! I've chucked this into my 'urgent' queue because it's a pretty > straight forward cleanup and there's no point in allowing it to bitrot > any further (the change to eboot.c is already stale). OK, I chickened out of sending this in my lat

Re: [PATCH] staging: ft1000: fix memory leak on error path in ft1000_probe()

2013-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 10, 2013 at 10:40:19PM +0200, Belisko Marek wrote: > Hi Alexey, > > On Mon, Jun 10, 2013 at 9:29 PM, Alexey Khoroshilov > wrote: > > ft1000dev->tx_urb and ft1000dev->rx_urb are not deallocated > > if something goes wrong in ft1000_probe(). Also there is no > > check for success of urb

Re: [PATCH 1/3] ARM: dts: exynos4210: Add LCD related pinctrl entries

2013-06-10 Thread Tushar Behera
On 06/11/2013 12:00 AM, Tomasz Figa wrote: > On Monday 10 of June 2013 09:40:43 Tushar Behera wrote: >> On 06/08/2013 04:16 PM, Tomasz Figa wrote: >>> Hi Tushar, Sachin, >>> >>> On Friday 07 of June 2013 16:37:13 Tushar Behera wrote: From: Sachin Kamat Adds pinctrl entries required

Re: [PATCH 3.0-stable 1/2] tracing: Fix possible NULL pointer dereferences

2013-06-10 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2013 at 05:00:33PM +0800, Li Zefan wrote: > commit 6a76f8c0ab19f215af2a3442870eeb5f0e81998d upstream. > > Currently set_ftrace_pid and set_graph_function files use seq_lseek > for their fops. However seq_open() is called only for FMODE_READ in > the fops->open() so that if an user

Patch "tracing: Fix possible NULL pointer dereferences" has been added to the 3.0-stable tree

2013-06-10 Thread gregkh
This is a note to let you know that I've just added the patch titled tracing: Fix possible NULL pointer dereferences to the 3.0-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: tracing-

Re: [PATCH] USB: serial/ftdi_sio.c Fix kernel oops

2013-06-10 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2013 at 03:14:32PM +0200, Lotfi Manseur wrote: > Handle null termios in ftdi_set_termios(), introduced in > commit 552f6bf1bb0eda0011c0525dd587aa9e7ba5b846 > This has been corrected in the mainline by > commits c515598e0f5769916c31c00392cc2bfe6af74e55 and This commit showed up in 3

Patch "ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section" has been added to the 3.0-stable tree

2013-06-10 Thread gregkh
This is a note to let you know that I've just added the patch titled ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section to the 3.0-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the p

Patch "ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section" has been added to the 3.4-stable tree

2013-06-10 Thread gregkh
This is a note to let you know that I've just added the patch titled ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the p

Patch "tracing: Fix possible NULL pointer dereferences" has been added to the 3.4-stable tree

2013-06-10 Thread gregkh
This is a note to let you know that I've just added the patch titled tracing: Fix possible NULL pointer dereferences to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: tracing-

Re: [PATCH] slab: prevent warnings when allocating with __GFP_NOWARN

2013-06-10 Thread Pekka Enberg
Hi Sasha, On Tue, Jun 11, 2013 at 3:54 AM, Sasha Levin wrote: > On 06/10/2013 07:40 PM, Christoph Lameter wrote: >> >> On Mon, 10 Jun 2013, Sasha Levin wrote: >> >>> [ 1691.807621] Call Trace: >>> [ 1691.809473] [] dump_stack+0x4e/0x82 >>> [ 1691.812783] [] warn_slowpath_common+0x82/0xb0 >>> [

Re: [PATCH] drm/tegra: add support for runtime pm

2013-06-10 Thread Terje Bergström
On 10.06.2013 23:43, Thierry Reding wrote: > Can you post the corresponding wrappers to make it easier to discuss > them? If they just wrap runtime PM calls then they don't solve the > locality problems that Terje brought up. I don't think the wrappers are applicable here. They're there in downstr

Re: [RFC patch 0/4] change 64 bit variables to long type

2013-06-10 Thread Alex Shi
On 06/10/2013 10:20 AM, Alex Shi wrote: > On 06/07/2013 03:29 PM, Alex Shi wrote: >> > There are some 64 bits variables in cfs_rq/tg etc. That ask expersive >> > operations in 32 bit machine. But in fact, long type is enough for them. >> > >> > So do this change lead more efficient code and withou

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-10 Thread Chanwoo Choi
On 06/11/2013 02:22 PM, Viresh Kumar wrote: > On 11 June 2013 10:49, Chanwoo Choi wrote: >> I will modify this patch according to your comment >> and then resend it after merged below patch. >> - [PATCH] cpufreq: stats: Remove CONFIG_CPU_FREQ_STAT_DETAILS > Hmm.. Maybe you can sent it without reba

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-06-10 Thread Takao Indoh
(2013/06/11 11:20), Bjorn Helgaas wrote: > On Fri, Jun 7, 2013 at 2:46 AM, Takao Indoh > wrote: >> (2013/06/07 13:14), Bjorn Helgaas wrote: > >>> One thing I'm not sure about is that you are only resetting PCIe >>> devices, but I don't think the problem is actually specific to PCIe, >>> is it?

Re: [PATCH 6/6] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-10 Thread Jingoo Han
On Tuesday, June 11, 2013 12:22 AM, Arnd Bergmann wrote: > On Monday 10 June 2013, Jingoo Han wrote: > > On Saturday, June 08, 2013 2:43 AM, Arnd Bergmann wrote: > > For multiple domains, how can I fix the DT properties? > > Domains are a Linux concept, you have to pick a new domain number for eac

Re: [PATCH RFC 00/48] Add namespace support for audit

2013-06-10 Thread Gao feng
On 06/11/2013 05:24 AM, Serge E. Hallyn wrote: > Quoting Gao feng (gaof...@cn.fujitsu.com): >> On 06/07/2013 06:47 AM, Serge Hallyn wrote: >>> Quoting Serge Hallyn (serge.hal...@ubuntu.com): Quoting Gao feng (gaof...@cn.fujitsu.com): > On 05/07/2013 10:20 AM, Gao feng wrote: >> This pa

Re: [f2fs-dev] [PATCH 1/4] f2fs: reorganize the f2fs_setattr() function.

2013-06-10 Thread Changman Lee
On 화, 2013-06-11 at 07:57 +0900, Namjae Jeon wrote: > 2013/6/10, Changman Lee : > > Hello, Namjae > Hi. Changman. > > > > If using ACL, whenever i_mode is changed we should update acl_mode which > > is written to xattr block, too. And vice versa. > > Because update_inode() is called at any reason a

[PATCH v3] ARM: dts: OMAP5: Add palmas MFD node and regulator nodes

2013-06-10 Thread J Keerthy
This patch adds Palmas MFD node and the regulator nodes for OMAP5. The node definitions are based on: https://lkml.org/lkml/2013/6/6/25 Boot tested on omap5-uevm board. Signed-off-by: Graeme Gregory Signed-off-by: J Keerthy --- arch/arm/boot/dts/omap5-uevm.dts | 170 +

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-10 Thread Viresh Kumar
On 11 June 2013 10:49, Chanwoo Choi wrote: > I will modify this patch according to your comment > and then resend it after merged below patch. > - [PATCH] cpufreq: stats: Remove CONFIG_CPU_FREQ_STAT_DETAILS Hmm.. Maybe you can sent it without rebasing your patch over mine and we can rebase it ove

Re: Immutable biovecs, dio rewrite

2013-06-10 Thread Dave Chinner
On Sat, Jun 08, 2013 at 07:18:42PM -0700, Kent Overstreet wrote: > Immutable biovecs: Drivers no longer modify the biovec array directly > (bv_len/bv_offset in particular) - we add a real iterator to struct bio > that lets drivers partially complete a bio while only modifying the > iterator. The it

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-10 Thread Chanwoo Choi
On 06/11/2013 02:06 PM, Viresh Kumar wrote: > On 10 June 2013 17:43, Chanwoo Choi wrote: >> On 06/07/2013 07:23 PM, Viresh Kumar wrote: >>> On 5 June 2013 13:41, Chanwoo Choi wrote: >> 1301500082290 80 61 11 1 43 >> >> ... >> >> When 1301500082290 ns: >> cpu0's busy_cpu_threshold : 32 = 64 *

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-10 Thread Viresh Kumar
On 10 June 2013 17:43, Chanwoo Choi wrote: > On 06/07/2013 07:23 PM, Viresh Kumar wrote: >> On 5 June 2013 13:41, Chanwoo Choi wrote: > 1301500082290 80 61 11 1 43 > > ... > > When 1301500082290 ns: > cpu0's busy_cpu_threshold : 32 = 64 * (80/160) s/64/61 :) >> How are you getting

RE: [PATCH V3 3/4] ARM: dts: tegra: Correct PCIe entry

2013-06-10 Thread Jay Agarwal
> On Wed, Jun 05, 2013 at 12:27:31AM +0530, Jay Agarwal wrote: > [...] > > @@ -29,7 +29,7 @@ > > ranges = <0x8200 0 0x 0x 0 0x1000 > /* port 0 configuration space */ > > 0x8200 0 0x1000 0x1000 0 0x1000 > /* port 1 configurat

Re: [PATCH 13/15] pci: mvebu: Convert to use devm_ioremap_resource

2013-06-10 Thread Tushar Behera
On 06/10/2013 07:59 PM, Sachin Kamat wrote: > On 10 June 2013 17:05, Tushar Behera wrote: >> Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") >> introduced devm_ioremap_resource() and deprecated the use of >> devm_request_and_ioremap(). >> >> Signed-off-by: Tushar Behera >>

[RFC] is it time to split up the MAINTAINERS file?

2013-06-10 Thread Rob Landley
Quite possibly the answer is "no", but the MAINTAINERS file is approaching 10,000 lines. Getting a bit unwieldy. Most of the entries look like: ARM/SAMSUNG MOBILE MACHINE SUPPORT M: Kyungmin Park L: linux-arm-ker...@lists.infradead.org (moderated for non-subscribers) S: Main

RE: [PATCH V4 2/4] ARM: tegra: pcie: Add tegra3 support

2013-06-10 Thread Jay Agarwal
> * PGP Signed by an unknown key > > On Wed, Jun 05, 2013 at 10:36:01AM -0600, Stephen Warren wrote: > > On 06/05/2013 09:13 AM, Jay Agarwal wrote: > > > - Make private data structure for each SoC > > > - Add required Tegra30 clocks and regulators > > > - Add Tegra30 specific code in enable contr

RE: [PATCH V3 2/4] ARM: tegra: pcie: Add tegra3 support

2013-06-10 Thread Jay Agarwal
> * PGP Signed by an unknown key > > On Tue, Jun 04, 2013 at 01:17:15PM -0600, Stephen Warren wrote: > > On 06/04/2013 12:57 PM, Jay Agarwal wrote: > [...] > > > struct tegra_pcie_port { > > > @@ -384,7 +408,7 @@ static int tegra_pcie_read_conf(struct pci_bus > *bus, unsigned int devfn, > > >

Re: [PATCH 00/11] Convert GPIO Davinci to platform driver

2013-06-10 Thread Sekhar Nori
On 6/10/2013 2:32 PM, Philip, Avinash wrote: > On Fri, Jun 07, 2013 at 13:40:52, Nori, Sekhar wrote: >> Hi Avinash, >> >> On 5/22/2013 12:40 PM, Philip Avinash wrote: >>> GPIO Davinci driver converted to platform driver to support DT booting. >>> In this patch series >>> - Cleaned gpio Davinci dri

Re: [PATCH 11/15] regulator: ti-abb: Convert to use devm_ioremap_resource

2013-06-10 Thread Tushar Behera
On 06/10/2013 05:31 PM, Sachin Kamat wrote: > On 10 June 2013 17:05, Tushar Behera wrote: >> Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") >> introduced devm_ioremap_resource() and deprecated the use of >> devm_request_and_ioremap(). >> >> Signed-off-by: Tushar Behera >>

Re: [PATCH v10 net-next 0/6] net: low latency Ethernet device polling

2013-06-10 Thread David Miller
From: Eliezer Tamir Date: Tue, 11 Jun 2013 05:25:42 +0300 > Here is the text from the RFC and v2 cover letters, updated and > merged. If this is too long, please tell me what you think should > be removed. It's perfect, and since this went through so many iterations I included the changelog too

RE: [PATCH v2 1/2] ARM: dts: add dtsi for palmas

2013-06-10 Thread J, KEERTHY
Hi Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, June 10, 2013 9:59 PM > To: J, KEERTHY > Cc: Cousson, Benoit; devicetree-disc...@lists.ozlabs.org; linux- > o...@vger.kernel.org; linux-kernel@vger.kernel.org; > ldewan...@nvidia.com; gra

Re: [PATCH 12/15] ASoC: spear: Convert to use devm_ioremap_resource

2013-06-10 Thread Tushar Behera
On 06/10/2013 05:36 PM, Sachin Kamat wrote: > On 10 June 2013 17:05, Tushar Behera wrote: >> Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") >> introduced devm_ioremap_resource() and deprecated the use of >> devm_request_and_ioremap(). > > This patch does a little more than

Re: [patch 0/9] sched: use runnable load avg in balance

2013-06-10 Thread Alex Shi
On 06/10/2013 11:01 PM, Peter Zijlstra wrote: > On Fri, Jun 07, 2013 at 03:20:43PM +0800, Alex Shi wrote: >> Peter&Ingo: > > I'm tempted to apply 1-7; although I want to look them over in detail > once more; unfortunately (for you) I'm on PTO this week so it'll have to > be early next week. I am

Re: [PATCH 14/15] usb: phy: rcar-usb: Fix comment w.r.t. devm_ioremap_resource

2013-06-10 Thread Tushar Behera
On 06/10/2013 05:47 PM, Sergei Shtylyov wrote: > Hello. > > On 10-06-2013 15:35, Tushar Behera wrote: > [ ... ] >>* CAUTION >>* >>* Because this phy address is also mapped under OHCI/EHCI >> address area, >> - * this driver can't use devm_request_and_ioremap(dev, res

Re: [PATCH 09/15] net: can: Convert to use devm_ioremap_resource

2013-06-10 Thread Tushar Behera
+CC: 'Greg Kroah-Hartman' On 06/10/2013 06:39 PM, Marc Kleine-Budde wrote: > On 06/10/2013 01:35 PM, Tushar Behera wrote: >> Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") >> introduced devm_ioremap_resource() and deprecated the use of >> devm_request_and_ioremap(). > > A

Re: NFS/lazy-umount/path-lookup-related panics at shutdown (at kill of processes on lazy-umounted filesystems) with 3.9.2 and 3.9.5

2013-06-10 Thread Al Viro
On Mon, Jun 10, 2013 at 06:42:49PM +0100, Nix wrote: > Yes, my shutdown scripts are panicking the kernel again! They're not > causing filesystem corruption this time, but it's still fs-related. > > Here's the 3.9.5 panic, seen on an x86-32 NFS client using NFSv3: NFSv4 > was compiled in but not us

Re: [PATCH 01/15] sparc,leon: Convert to use devm_ioremap_resource

2013-06-10 Thread Tushar Behera
On 06/10/2013 05:33 PM, Sachin Kamat wrote: > On 10 June 2013 17:04, Tushar Behera wrote: >> Commit 75096579c3ac ("lib: devres: Introduce devm_ioremap_resource()") >> introduced devm_ioremap_resource() and deprecated the use of >> devm_request_and_ioremap(). >> >> Signed-off-by: Tushar Behera >>

[PATCH] f2fs: Remove the second argument "sbi" of func parse_options()

2013-06-10 Thread Gu Zheng
We can get f2fs_sb_info via F2FS_SB(sb),so remove the second argument "sbi" of func parse_options(). f2fs_fill_super(), as the only user of parse_options() now, setting sb->s_fs_info = sbi before calling parse_options(). Signed-off-by: Gu Zheng --- fs/f2fs/super.c |8 1 files chan

Re: [PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2013-06-10 Thread Bjorn Helgaas
[+cc Marek] On Mon, Jun 3, 2013 at 6:44 AM, Michal Simek wrote: > Check that dma_ops are initialized correctly. > > Signed-off-by: Michal Simek > --- > Functions dma_mmap_attrs(), dma_get_sgtable_attrs() > already have this checking. > > --- > include/asm-generic/dma-mapping-common.h | 12 +

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-06-10 Thread Bjorn Helgaas
On Fri, Jun 7, 2013 at 2:46 AM, Takao Indoh wrote: > (2013/06/07 13:14), Bjorn Helgaas wrote: >> One thing I'm not sure about is that you are only resetting PCIe >> devices, but I don't think the problem is actually specific to PCIe, >> is it? I think the same issue could occur on any system wit

Re: [PATCH v10 net-next 0/6] net: low latency Ethernet device polling

2013-06-10 Thread Eliezer Tamir
On 10/06/2013 23:41, David Miller wrote: From: Eliezer Tamir Date: Mon, 10 Jun 2013 11:39:30 +0300 I removed the select/poll patch (was 5/7 in v9) from the set. The rest are the same patches that were in v9. Reply to this email with some text to put in the merge commit, including basic bench

Re: binfmt_misc broken

2013-06-10 Thread Jeff Chua
On Tue, Jun 11, 2013 at 9:51 AM, Al Viro wrote: > Patch is complete BS and I really wonder what kernel have you observed that > bug on - > with mainline on amd64 your example yields > root@kvm-amd64:~# cat /proc/sys/fs/binfmt_misc/arm > enabled > interpreter /usr/bin/qemu-arm-static > flags: >

Re: WARNING: at kernel/rcutorture.c:1243 rcu_torture_printk

2013-06-10 Thread Fengguang Wu
Paul, On Mon, Jun 10, 2013 at 07:51:10AM -0700, Paul E. McKenney wrote: > On Mon, Jun 10, 2013 at 03:47:28PM +0800, Fengguang Wu wrote: > > Greetings, > > > > I got the below dmesg and the first bad commit is > > > > commit 911af505ef407c2511106c224dd640f882f0f590 > > Author: Paul E. McKenney >

Re: binfmt_misc broken

2013-06-10 Thread Al Viro
On Mon, Jun 10, 2013 at 09:52:44PM +0800, Jeff Chua wrote: > > > According to Documentation/binfmt_misc.txt, the 'magic' and 'mask' > can be set by echoing it to /proc/sys/fs/binfmt_misc/register. > > Here's the problem I can across while working on ARM. > > # echo > ':arm:M::\x7fELF\x01\x01\x

Re: [PATCH RESEND] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-10 Thread Gu Zheng
On 06/11/2013 01:47 AM, James Bottomley wrote: > On Mon, 2013-06-10 at 09:57 +0800, Gu Zheng wrote: >> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h >> index 66216c1..f3377ca 100644 >> --- a/include/scsi/scsi.h >> +++ b/include/scsi/scsi.h >> @@ -574,4 +574,13 @@ static inline __u32 scsi_

adopt(pid_t pid) syscall proposal [patch included]

2013-06-10 Thread vcaputo
Hello all, I'd like to propose a new system call, I know I'll probably be flamed, but here goes. Today there is no way to get a process which has been orphaned, and thus become a child of init, back as a child of another process. This is annoying me, please allow me to explain why. The CONFIG_C

Re: Re: [PATCH -tip] ftrace: Fix outputting formats of x86-tsc and counter when use trace_clock

2013-06-10 Thread Steven Rostedt
On Tue, 2013-06-11 at 09:44 +0900, Yoshihiro YUNOMAE wrote: > Hi Steven, > > Would you review this bugfix patch? Ah, thanks for the reminder. This got pushed down on my todo list. I'll take a look at it tonight. -- Steve > > Thanks, > Yoshihiro YUNOMAE > -- To unsubscribe from this list: se

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-10 Thread Steven Rostedt
On Sun, 2013-06-09 at 12:36 -0700, Paul E. McKenney wrote: > Breaking up locks is better than implementing high-contention locks, but > if we must have high-contention locks, why not make them automatically > switch between light-weight ticket locks at low contention and queued > locks at high cont

Re: [PATCH] slab: prevent warnings when allocating with __GFP_NOWARN

2013-06-10 Thread Sasha Levin
On 06/10/2013 07:40 PM, Christoph Lameter wrote: On Mon, 10 Jun 2013, Sasha Levin wrote: [ 1691.807621] Call Trace: [ 1691.809473] [] dump_stack+0x4e/0x82 [ 1691.812783] [] warn_slowpath_common+0x82/0xb0 [ 1691.817011] [] warn_slowpath_null+0x15/0x20 [ 1691.819936] [] kmalloc_slab+0x2f/0xb0

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-10 Thread Linus Torvalds
On Mon, Jun 10, 2013 at 5:44 PM, Steven Rostedt wrote: > > OK, I haven't found a issue here yet, but youss are beiing trickssy! We > don't like trickssy, and we must find preiouss!!! .. and I personally have my usual reservations. I absolutely hate papering over scalability issues, and histor

Re: Re: [PATCH -tip] ftrace: Fix outputting formats of x86-tsc and counter when use trace_clock

2013-06-10 Thread Yoshihiro YUNOMAE
Hi Steven, Would you review this bugfix patch? Thanks, Yoshihiro YUNOMAE (2013/05/07 11:18), Yoshihiro YUNOMAE wrote: Hi, Would you apply this patch for the tip tree? Thanks, Yoshihiro YUNOMAE (2013/04/23 10:32), Yoshihiro YUNOMAE wrote: Outputting formats of x86-tsc and counter should be

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-10 Thread Steven Rostedt
On Sun, 2013-06-09 at 12:36 -0700, Paul E. McKenney wrote: > +#else /* #ifndef CONFIG_TICKET_LOCK_QUEUED */ > + > +bool tkt_spin_pass(arch_spinlock_t *ap, struct __raw_tickets inc); > + > +static __always_inline void __ticket_spin_lock(arch_spinlock_t *lock) > +{ > + register struct __raw_tick

Re: power-efficient scheduling design

2013-06-10 Thread Rafael J. Wysocki
On Sunday, June 09, 2013 09:12:18 AM Preeti U Murthy wrote: > Hi Rafael, Hi Preeti, > On 06/08/2013 07:32 PM, Rafael J. Wysocki wrote: > > On Saturday, June 08, 2013 12:28:04 PM Catalin Marinas wrote: > >> On Fri, Jun 07, 2013 at 07:08:47PM +0100, Preeti U Murthy wrote: [...] > >> The scheduler

Re: WARNING: at kernel/trace/ftrace.c:1605 __ftrace_hash_rec_update.part.37+0x20a/0x240()

2013-06-10 Thread Dave Jones
On Mon, Jun 10, 2013 at 08:33:14PM -0400, Steven Rostedt wrote: > On Mon, 2013-06-10 at 19:48 -0400, Dave Jones wrote: > > 3.10-rc5 + the two patches referenced in the RCU thread from earlier. > > > >Dave > > > > [ 2313.381283] WARNING: at kernel/trace/ftrace.c:1605 > > __ftrace_hash_

Re: WARNING: at kernel/trace/ftrace.c:1605 __ftrace_hash_rec_update.part.37+0x20a/0x240()

2013-06-10 Thread Steven Rostedt
On Mon, 2013-06-10 at 19:48 -0400, Dave Jones wrote: > 3.10-rc5 + the two patches referenced in the RCU thread from earlier. > > Dave > > [ 2313.381283] WARNING: at kernel/trace/ftrace.c:1605 > __ftrace_hash_rec_update.part.37+0x20a/0x240() Grumble, Somehow the list of functions that per

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-10 Thread Paul E. McKenney
On Mon, Jun 10, 2013 at 07:02:56PM -0400, Steven Rostedt wrote: > On Sun, 2013-06-09 at 12:36 -0700, Paul E. McKenney wrote: > > > +/* > > + * Return a pointer to the queue header associated with the specified lock, > > + * or return NULL if there is no queue for the lock or if the lock's queue >

Re: [PATCH] drivers: mmc: reordered shutdown sequence in mmc_bld_remove_req

2013-06-10 Thread Paul Taysom
On Mon, Jun 10, 2013 at 2:44 AM, Ulf Hansson wrote: > On 4 June 2013 23:42, Paul Taysom wrote: >> We had a multi-partition SD-Card with two ext2 file systems. The partition >> table was getting overwritten by a race between the card removal and >> the unmount of the 2nd ext2 partition. >> >> What

Re: [PATCH v3 10/27] genirq: Split __irq_reserve_irqs from irq_alloc_descs

2013-06-10 Thread Yinghai Lu
On Mon, Jun 10, 2013 at 12:39 PM, Thomas Gleixner wrote: > On Fri, 7 Jun 2013, Yinghai Lu wrote: >> /** >> - * irq_alloc_descs - allocate and initialize a range of irq descriptors >> - * @irq: Allocate for specific irq number if irq >= 0 >> + * __irq_reserve_descs - reserve and initialize a r

WARNING: at kernel/trace/ftrace.c:1605 __ftrace_hash_rec_update.part.37+0x20a/0x240()

2013-06-10 Thread Dave Jones
3.10-rc5 + the two patches referenced in the RCU thread from earlier. Dave [ 2313.381283] WARNING: at kernel/trace/ftrace.c:1605 __ftrace_hash_rec_update.part.37+0x20a/0x240() [ 2313.386619] Modules linked in: fuse bnep rfcomm hidp can_bcm nfnetlink scsi_transport_iscsi can_raw nfc ipt_

Re: [PATCH v3 07/27] iommu, irq: Allocate irq_desc for dmar_msi with local node

2013-06-10 Thread Yinghai Lu
On Sun, Jun 9, 2013 at 8:31 AM, Sebastian Andrzej Siewior wrote: > On Fri, Jun 07, 2013 at 03:30:53PM -0700, Yinghai Lu wrote: >> diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c >> index a7967ce..c09e60d 100644 >> --- a/drivers/iommu/dmar.c >> +++ b/drivers/iommu/dmar.c >> @@ -1273,7 +127

Re: [PATCH v3 06/27] ia64, irq: Add dummy create_irq_nr()

2013-06-10 Thread Yinghai Lu
On Sun, Jun 9, 2013 at 8:22 AM, Sebastian Andrzej Siewior wrote: > On Fri, Jun 07, 2013 at 03:30:52PM -0700, Yinghai Lu wrote: >> create_irq() will return -1 when fail to allocate. > The ia64 code here will return -ENOSPC. > >> create_irq_nr() will return 0 when fail to allocate. >> >> Will use it

Re: [PATCH v3 05/27] x86, irq: Make dmar_msi/hpet_msi irq_chip name consistent

2013-06-10 Thread Yinghai Lu
On Sun, Jun 9, 2013 at 8:16 AM, Sebastian Andrzej Siewior wrote: > On Fri, Jun 07, 2013 at 03:30:51PM -0700, Yinghai Lu wrote: >> All others are using "-" instead of "_". > > Who are "all others"? According to my grep it is 121 vs 44. So even without > your two here we still 42 doing it the other

Re: [PATCH] slab: prevent warnings when allocating with __GFP_NOWARN

2013-06-10 Thread Christoph Lameter
On Mon, 10 Jun 2013, Sasha Levin wrote: > [ 1691.807621] Call Trace: > [ 1691.809473] [] dump_stack+0x4e/0x82 > [ 1691.812783] [] warn_slowpath_common+0x82/0xb0 > [ 1691.817011] [] warn_slowpath_null+0x15/0x20 > [ 1691.819936] [] kmalloc_slab+0x2f/0xb0 > [ 1691.824942] [] __kmalloc+0x24/0x4b0

Re: [PATCH] backlight: add CONFIG_PM_SLEEP to suspend/resume functions

2013-06-10 Thread Andrew Morton
On Fri, 07 Jun 2013 12:02:31 +0200 Arnd Bergmann wrote: > On Friday 07 June 2013 10:39:20 Jingoo Han wrote: > > Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following > > build warning when CONFIG_PM_SLEEP is not selected. This is because > > sleep PM callbacks defined by SIMPLE_DEV

Re: [PATCH] i2c: vt8500: Add support for I2C bus on Wondermedia SoCs

2013-06-10 Thread Russell King - ARM Linux
On Mon, Jun 10, 2013 at 06:03:29PM +0200, Wolfram Sang wrote: > Hi Tony, > > > +static int wmt_i2c_wait_bus_not_busy(struct wmt_i2c_dev *i2c_dev) > > diff --git a/drivers/i2c/busses/i2c-wmt.c b/drivers/i2c/busses/i2c-wmt.c > > new file mode 100644 > > index 000..5cebb29 > > --- /dev/null > > +

Re: [PATCH] mfd: vexpress: Make the driver optional for arm and arm64

2013-06-10 Thread Russell King - ARM Linux
On Mon, Jun 10, 2013 at 04:09:15PM +0100, Pawel Moll wrote: > The driver can be used on either arm or arm64 platforms, but > the latter doesn't have any platform-specific configuration > options, so it must be possible to manually enable the driver. > > As the gpiolib is optional for arm64 arch, t

Re: [PATCH v2 06/11] ARM:stixxxx: Add STiH415 SOC support

2013-06-10 Thread Russell King - ARM Linux
On Mon, Jun 10, 2013 at 12:46:59PM +0100, Srinivas KANDAGATLA wrote: > > + aux_ctrl = (0x1 << L2X0_AUX_CTRL_SHARE_OVERRIDE_SHIFT) | > > + (0x1 << L2X0_AUX_CTRL_DATA_PREFETCH_SHIFT) | > > + (0x1 << L2X0_AUX_CTRL_INSTR_PREFETCH_SHIFT) | > > +

Re: [PATCH 17/21] Percpu tag allocator

2013-06-10 Thread Kent Overstreet
On Wed, May 15, 2013 at 05:41:21PM +0200, Oleg Nesterov wrote: > On 05/15, Kent Overstreet wrote: > > > > On Tue, May 14, 2013 at 03:48:59PM +0200, Oleg Nesterov wrote: > > > tag_free() does > > > > > > list_del_init(wait->list); > > > /* WINDOW */ > > > wake_up_process(wait->task); > > >

Re: [PATCH v3 02/27] x86, irq: Modify irq chip once for irq remapping

2013-06-10 Thread Yinghai Lu
On Sun, Jun 9, 2013 at 7:54 AM, Sebastian Andrzej Siewior wrote: > On Fri, Jun 07, 2013 at 03:30:48PM -0700, Yinghai Lu wrote: >> Current code: after irq remapping is enabled, irq_chip fields are modified >> during every irq setup. >> mp_register_gsi >> io_apic_set_pci_routing

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-10 Thread Rafael J. Wysocki
On Tuesday, June 11, 2013 12:57:26 AM Stratos Karafotis wrote: > On 06/09/2013 11:58 PM, Rafael J. Wysocki wrote: > > Well, this means that your changes may hurt performance if the load comes > > and > > goes in spikes, which is not so good. The fact that they cause less energy > > to > > be use

[PATCH v4] pwm: add sysfs interface

2013-06-10 Thread H Hartley Sweeten
Add a simple sysfs interface to the generic PWM framework. /sys/class/pwm/ `-- pwmchipN/ for each PWM chip |-- export (w/o) ask the kernel to export a PWM channel |-- npwm (r/o) number of PWM channels in this PWM chip |-- pwmX/ for each exp

Re: [PATCH 1/2] perf/Power7: Save dcache_src fields in sample record.

2013-06-10 Thread Sukadev Bhattiprolu
Stephane Eranian [eran...@google.com] wrote: | > Further, in the above REM_CCE1 case, Power7 can also identify if the data came | > from the L2 or L3 cache of another core on the same chip. To describe this to | > user space, we propose to set ->mem_lvl to: | > | > PERF_MEM_LVL_REM_CCE1|P

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-10 Thread Steven Rostedt
On Sun, 2013-06-09 at 12:36 -0700, Paul E. McKenney wrote: > +/* > + * Return a pointer to the queue header associated with the specified lock, > + * or return NULL if there is no queue for the lock or if the lock's queue > + * is in transition. > + */ > +static struct tkt_q_head *tkt_q_find_head(

Re: [f2fs-dev] [PATCH 1/4] f2fs: reorganize the f2fs_setattr() function.

2013-06-10 Thread Namjae Jeon
2013/6/10, Changman Lee : > Hello, Namjae Hi. Changman. > > If using ACL, whenever i_mode is changed we should update acl_mode which > is written to xattr block, too. And vice versa. > Because update_inode() is called at any reason and anytime, so we should > sync both the moment xattr is written.

Re: [IPC] INFO: suspicious RCU usage.

2013-06-10 Thread Andrew Morton
On Thu, 06 Jun 2013 10:35:22 -0700 Davidlohr Bueso wrote: > > [ 51.524946] > > [ 51.525983] === > > [ 51.532875] [ INFO: suspicious RCU usage. ] > > [ 51.535385] 3.10.0-rc4-next-20130606 #6 Not tainted > > [ 51.538304] --- > > [

Re: [BUG] PCI related panic on powerpc based board with 3.10-rcX

2013-06-10 Thread Scott Wood
On 06/10/2013 12:07:43 PM, Michael Guntsche wrote: Good evening, On Mon, Jun 10, 2013 at 1:41 PM, Rojhalat Ibrahim wrote: > Hi Mike, > > could you please try this patch: > https://lists.ozlabs.org/pipermail/linuxppc-dev/2013-May/106624.html > http://patchwork.ozlabs.org/patch/244515/ > >

[PATCH 2/3] ARM: msm: Remove unused and unmapped MSM_TLMM_BASE for 8x60

2013-06-10 Thread Rohit Vaswani
MSM_TLMM_BASE is currently not mapped by 8x60. Remove it. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/include/mach/msm_iomap-8x60.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-msm/include/mach/msm_iomap-8x60.h b/arch/arm/mach-msm/include/mach

[PATCH 1/3] ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs

2013-06-10 Thread Rohit Vaswani
Remove gpiomux-v2 as it's not being used and make way for future improvements. Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/Kconfig| 13 +++- arch/arm/mach-msm/Makefile |6 +-- arch/arm/mach-msm/gpiomux-8x60.c | 19 arch/arm/mach-msm/gpiomux-v2.c |

[PATCHv5 0/3] Cleanup MSM_GPIOMUX and add DT support for gpio-msm

2013-06-10 Thread Rohit Vaswani
v5: for gpio-msm-v2 patch * Made the bitmaps statically allocated. * MAX_NR_GPIO set to 300 for the gpio-msm-v2 driver. This limit can be changed if we have a gpio controller with more gpios. Rohit Vaswani (3): ARM: msm: Remove gpiomux-v2 and re-organize MSM_GPIOMUX configs ARM: msm: Remove

[PATCH 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-10 Thread Rohit Vaswani
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani --- .../devicetree/bindings/gpio/gpio-msm.txt | 26 +++ arch/arm/boot/dts/msm8660-s

Re: [PATCHv4 3/3] gpio: msm: Add device tree and irqdomain support for gpio-msm-v2

2013-06-10 Thread Rohit Vaswani
On 6/5/2013 2:38 PM, Grant Likely wrote: On Sun, 02 Jun 2013 19:31:33 -0700, Rohit Vaswani wrote: On 6/1/2013 1:09 AM, Grant Likely wrote: On Sat, Jun 1, 2013 at 1:22 AM, Rohit Vaswani wrote: This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now d

[PATCH RFC v3] drm/i2c: tda998x: fix sync generation and calculation

2013-06-10 Thread Sebastian Hesselbarth
This fixes the wrong sync generation and sync calculation for progressive and interlaced modes. Sync timings for a bunch of modes have also been verified with an oscilloscope near-end (TDA998x input) and far-end (DVI receiver output). Signed-off-by: Sebastian Hesselbarth --- Note: This patch is b

Re: kmemleak reports in kernel 3.9.5+

2013-06-10 Thread Catalin Marinas
On 10 June 2013 19:22, Ben Greear wrote: > We had a system go OOM while doing lots of wireless > stations. (System had 8GB of RAM, so I suspect a leak). > > I enabled kmemleak in a 3.9.5 (plus some local patches) and > I see the entries below. Any idea if these are real or not? > > unreferenced

Re: [Suggestion] arch/*/include/asm/bitops.h: about __set_bit() API.

2013-06-10 Thread Tony Luck
On Sat, Jun 8, 2013 at 3:08 AM, Chen Gang wrote: > using 'unsigned int *', implicitly: > ./ia64/include/asm/bitops.h:63:__set_bit (int nr, volatile void *addr) There is some downside on ia64 to your suggestion. If "addr" is properly aligned for an "int", but misaligned for a long ... i.e. addr

Re: Another RCU trace. (3.10-rc5)

2013-06-10 Thread Steven Rostedt
On Mon, 2013-06-10 at 15:10 -0700, Paul E. McKenney wrote: > > So maybe that patch was a winner after all and got dropped ? > > Please see below for the patch that I was thinking of. > > It has not been dropped, I was on travel and a bit slow about pushing > things. > >

[PATCH RFC v2] drm/i2c: tda998x: fix sync generation and calculation

2013-06-10 Thread Sebastian Hesselbarth
This fixes the wrong sync generation and sync calculation for progressive and interlaced modes. Sync timings for a bunch of modes have also been verified with an oscilloscope near-end (TDA998x input) and far-end (DVI receiver output). Signed-off-by: Sebastian Hesselbarth --- Note: This patch is b

[PATCH 01/12] checkpatch: Remove quote from CamelCase test

2013-06-10 Thread Joe Perches
commit be987d9f80 ("checkpatch: improve CamelCase test for Page") added it but it shouldn't be there. Must have been my fault. Make sure that the tested variable doesn't contain a constant. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH 12/12] checkpatch: Move test for space before semicolon after operator spacing

2013-06-10 Thread Joe Perches
Moving this test allows the --fix option to work better. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9696be5..5989415 100755 --- a/scripts/check

[PATCH 09/12] checkpatch: Add a --strict test for comparison to true/false

2013-06-10 Thread Joe Perches
Comparing to true or false is error prone. Add tests for the various forms of (foo == true) && (false != bar) that are only reported with --strict. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 27 +++ 1 file changed, 27 insertions(+) diff --git a/scripts/check

[PATCH 08/12] checkpatch: Don't warn on blank lines before/after braces as often

2013-06-10 Thread Joe Perches
Check to make sure the blank lines aren't comment lines like: bool foo(bool bar) { /* Don't warn on a leading comment */ return !bar; /* Don't warn on a trailing comment either */ } Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertio

[PATCH 11/12] checkpatch: Create an EXPERIMENTAL --fix option to correct patches

2013-06-10 Thread Joe Perches
Some patches have simple defects in whitespace and formatting that checkpatch could correct automatically. Attempt to do so. Add a --fix option to create a ".EXPERIMENTAL-checkpatch-fixes" file that tries to use normal kernel style for some of these formatting errors. Add warnings against using

[PATCH 05/12] checkpatch: Warn on comparisons to get_jiffies_64()

2013-06-10 Thread Joe Perches
Comparing get_jiffies_64() is almost always wrong and time_before64 and time_after64 should be used instead. Warn on any comparison to get_jiffies_64(). Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts

  1   2   3   4   5   6   >