Re: [BUGFIX PATCH] net: ethernet: cpsw: fix erroneous condition in error check

2013-03-21 Thread David Miller
From: Mugunthan V N Date: Thu, 21 Mar 2013 18:02:21 +0530 > On 3/21/2013 5:50 PM, Lothar Waßmann wrote: >> The error check in cpsw_probe_dt() has an '&&' where an '||' is >> meant to be. This causes a NULL pointer dereference when incomplet DT >> data is passed to the driver ('phy_id' property fo

Re: [PATCH 01/10] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-03-21 Thread Johannes Weiner
On Sun, Mar 17, 2013 at 01:04:07PM +, Mel Gorman wrote: > The number of pages kswapd can reclaim is bound by the number of pages it > scans which is related to the size of the zone and the scanning priority. In > many cases the priority remains low because it's reset every SWAP_CLUSTER_MAX > re

Re: linux-next: Tree for Mar 21 (input)

2013-03-21 Thread Randy Dunlap
On 03/20/13 23:38, Stephen Rothwell wrote: > Hi all, > > Changes since 20130320: > on i386: ERROR: "matrix_keypad_parse_of_params" [drivers/input/keyboard/tca8418_keypad.ko] undefined! "matrix_keypad_parse_of_params" needs to be exported in drivers/input/matrix-keymap.c. -- ~Randy -- To

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-21 Thread Serge E. Hallyn
Quoting Vivek Goyal (vgo...@redhat.com): > On Thu, Mar 21, 2013 at 10:37:25AM -0500, Serge E. Hallyn wrote: > > Quoting Vivek Goyal (vgo...@redhat.com): > > ... > > > Giving CAP_MODIFY_KERNEL to processess upon signature verification > > > will simplify things a bit. > > > > > > Only thing is that

Re: [PATCHv2, RFC 04/30] radix-tree: implement preload for multiple contiguous elements

2013-03-21 Thread Dave Hansen
On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > Currently radix_tree_preload() only guarantees enough nodes to insert > one element. It's a hard limit. You cannot batch a number insert under > one tree_lock. > > This patch introduces radix_tree_preload_count().

Re: [PATCH V2 01/02] MIPS: Build uasm-generated code only once to avoid CPU Hotplug problem

2013-03-21 Thread David Daney
On 03/20/2013 04:14 PM, David Daney wrote: On 03/17/2013 05:49 AM, Huacai Chen wrote: This and the next patch resolve memory corruption problems while CPU hotplug. Without these patches, memory corruption can triggered easily as below: [...] We were seeing the same crashes, this patch set se

Re: For review: user_namespaces(7) man page

2013-03-21 Thread Michael Kerrisk (man-pages)
Hi Serge, On Fri, Mar 15, 2013 at 4:38 PM, Serge Hallyn wrote: > Hi, > > you mention that after creating a new user namespace you at first have > all capabilities in the new ns. You don't explicitly mention (or I > missed it - I did see the mention of securebits) that if you want to > keep those

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-21 Thread Vivek Goyal
On Thu, Mar 21, 2013 at 10:37:25AM -0500, Serge E. Hallyn wrote: > Quoting Vivek Goyal (vgo...@redhat.com): > ... > > Giving CAP_MODIFY_KERNEL to processess upon signature verification > > will simplify things a bit. > > > > Only thing is that signature verification alone is not sufficient. We > >

Re: [PATCH 1/2] PCI: define macro for marvell vendor ID

2013-03-21 Thread Myron Stowe
On Mon, Mar 11, 2013 at 11:23 PM, Andrew Cooks wrote: > On Fri, Mar 8, 2013 at 12:24 AM, Bjorn Helgaas wrote: >> On Thu, Mar 7, 2013 at 7:28 AM, wrote: >>> From: Xiangliang Yu >>> >>> Define PCI_VENDOR_MARVELL_ID_EXT macro for 0x1b4b vendor ID >> >> "PCI_VENDOR_MARVELL_ID_EXT" is not actually

Re: [PATCH 04/10] mm: vmscan: Decide whether to compact the pgdat based on reclaim progress

2013-03-21 Thread Michal Hocko
On Thu 21-03-13 15:47:31, Mel Gorman wrote: > On Thu, Mar 21, 2013 at 04:32:31PM +0100, Michal Hocko wrote: > > On Sun 17-03-13 13:04:10, Mel Gorman wrote: > > > In the past, kswapd makes a decision on whether to compact memory after > > > the > > > pgdat was considered balanced. This more or less

Re: [PATCH] net: remove redundant ifdef CONFIG_CGROUPS

2013-03-21 Thread David Miller
From: Li Zefan Date: Thu, 21 Mar 2013 10:54:51 +0800 > The cgroup code has been surrounded by ifdef CONFIG_NET_CLS_CGROUP > and CONFIG_NETPRIO_CGROUP. > > Signed-off-by: Li Zefan Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH 05/10] mm: vmscan: Do not allow kswapd to scan at maximum priority

2013-03-21 Thread Michal Hocko
On Sun 17-03-13 13:04:11, Mel Gorman wrote: > Page reclaim at priority 0 will scan the entire LRU as priority 0 is > considered to be a near OOM condition. Kswapd can reach priority 0 quite > easily if it is encountering a large number of pages it cannot reclaim > such as pages under writeback. Whe

Re: [PATCH 04/10] mm: vmscan: Decide whether to compact the pgdat based on reclaim progress

2013-03-21 Thread Mel Gorman
On Thu, Mar 21, 2013 at 04:32:31PM +0100, Michal Hocko wrote: > On Sun 17-03-13 13:04:10, Mel Gorman wrote: > > In the past, kswapd makes a decision on whether to compact memory after the > > pgdat was considered balanced. This more or less worked but it is late to > > make such a decision and does

Re: [PATCH] nohz1: Documentation

2013-03-21 Thread Arjan van de Ven
On 3/20/2013 5:27 PM, Steven Rostedt wrote: I'm not sure I would recommend idle=poll either. It would certainly work, but it goes to the other extreme. You think NO_HZ=n drains a battery? Try idle=poll. do not ever use idle=poll on anything production.. really bad idea. if you temporary canno

Re: [PATCH 03/10] mm: vmscan: Flatten kswapd priority loop

2013-03-21 Thread Michal Hocko
On Thu 21-03-13 15:26:02, Mel Gorman wrote: > On Thu, Mar 21, 2013 at 03:54:58PM +0100, Michal Hocko wrote: > > > Signed-off-by: Mel Gorman > > > --- > > > mm/vmscan.c | 86 > > > ++--- > > > 1 file changed, 42 insertions(+), 44 deletions(-

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-21 Thread Serge E. Hallyn
Quoting Vivek Goyal (vgo...@redhat.com): ... > Giving CAP_MODIFY_KERNEL to processess upon signature verification > will simplify things a bit. > > Only thing is that signature verification alone is not sufficient. We > also need to make sure after signature verification executable can > not be mo

Re: [PATCH 02/10] mm: vmscan: Obey proportional scanning requirements for kswapd

2013-03-21 Thread Mel Gorman
On Thu, Mar 21, 2013 at 04:07:55PM +0100, Michal Hocko wrote: > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > > > index 4835a7a..182ff15 100644 > > > > --- a/mm/vmscan.c > > > > +++ b/mm/vmscan.c > > > > @@ -1815,6 +1815,45 @@ out: > > > > } > > > > } > > > > > > > > +static void reca

Re: [PATCH 04/10] mm: vmscan: Decide whether to compact the pgdat based on reclaim progress

2013-03-21 Thread Michal Hocko
On Sun 17-03-13 13:04:10, Mel Gorman wrote: > In the past, kswapd makes a decision on whether to compact memory after the > pgdat was considered balanced. This more or less worked but it is late to > make such a decision and does not fit well now that kswapd makes a decision > whether to exit the z

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-21 Thread Vivek Goyal
On Thu, Mar 21, 2013 at 11:21:24AM -0400, Vivek Goyal wrote: [..] > So if starting or end address of PT_LOAD header is not aligned, why > not we simply allocate a page. Copy the relevant data from old memory, > fill rest with zero. That way mmap and read view will be same. There > will be no surpr

Re: [PATCH 03/10] mm: vmscan: Flatten kswapd priority loop

2013-03-21 Thread Mel Gorman
On Thu, Mar 21, 2013 at 03:54:58PM +0100, Michal Hocko wrote: > > Signed-off-by: Mel Gorman > > --- > > mm/vmscan.c | 86 > > ++--- > > 1 file changed, 42 insertions(+), 44 deletions(-) > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > in

Re: [patch v1]rtc: fix for DA9052/53 rtc device registration

2013-03-21 Thread Greg KH
On Thu, Mar 21, 2013 at 12:39:07PM +0530, Ashish Jangam wrote: > This patch adds supports for the virtual irq since now MFD only handles > virtual irq > Without this patch rtc device will fail in registration. > > This patch is for Linux stable version 3.8.x > > Signed-off-by: Ashish Jangam >

Re: [PATCH] net: fix *_DIAG_MAX constants

2013-03-21 Thread Thomas Graf
On 03/21/13 at 11:14am, David Miller wrote: > So you're ACK'ing a patch that makes changes to files that don't even > exist in the repository? I have been ACK'ing the patch in the context of the previous patch that I reviewed in the first place which in summary is now OK. But you are obviously rig

Re: [PATCHv2, RFC 03/30] mm: drop actor argument of do_generic_file_read()

2013-03-21 Thread Dave Hansen
On 03/15/2013 06:22 AM, Kirill A. Shutemov wrote: > Hillf Danton wrote: >> On Fri, Mar 15, 2013 at 1:50 AM, Kirill A. Shutemov >> wrote: >>> >>> There's only one caller of do_generic_file_read() and the only actor is >>> file_read_actor(). No reason to have a callback parameter. >>> >> This cleanu

[PATCH 2/3] nohz: Assign timekeeping duty to a CPU outside the full dynticks range

2013-03-21 Thread Frederic Weisbecker
This way the full nohz CPUs can safely run with the tick stopped with a guarantee that somebody else is taking care of the jiffies and GTOD progression. Once the duty is attributed to a CPU, it won't change. Also that CPU can't enter into dyntick idle mode or be hot unplugged. This may later be i

[PATCH 3/3] nohz: Wake up full dynticks CPUs when a timer gets enqueued

2013-03-21 Thread Frederic Weisbecker
Wake up a CPU when a timer list timer is enqueued there and the target is part of the full dynticks range. Sending an IPI to it makes it reconsidering the next timer to program on top of recent updates. This may later be improved by checking if the tick is really stopped on the target. This would

[PATCH 1/3] nohz: Basic full dynticks interface

2013-03-21 Thread Frederic Weisbecker
For extreme usecases such as Real Time or HPC, having the ability to shutdown the tick when a single task runs on a CPU is a desired feature: * Reducing the amount of interrupts improves throughput for CPU-bound tasks. The CPU is less distracted from its real job, from an execution time and from t

[GIT PULL] nohz: Full dynticks base interface

2013-03-21 Thread Frederic Weisbecker
Hi Ingo, This settles the initial ground to start a special full dynticks tree in -tip that we can iterate incrementally to accelerate the development. It is based on tip:sched/core. I tried to rearrange a bit the naming. We are probably not yet done with that but I guess we can fix it along with

Re: [PATCHv2, RFC 02/30] mm: implement zero_huge_user_segment and friends

2013-03-21 Thread Dave Hansen
On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > Let's add helpers to clear huge page segment(s). They provide the same > functionallity as zero_user_segment{,s} and zero_user, but for huge > pages ... > +static inline void zero_huge_user_segments(struct page *page, > + unsigned star

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-21 Thread Vivek Goyal
On Thu, Mar 21, 2013 at 12:07:12AM -0700, Eric W. Biederman wrote: [..] > I think the two having different contents violates the principle of > least surprise. > > I think exporting the old memory as the ``extra data'' is the least > surprising and the easiest way to go. > > I don't mind filling

Re: [PATCH] nohz1: Documentation

2013-03-21 Thread Paul E. McKenney
On Thu, Mar 21, 2013 at 11:16:50AM +0100, Borislav Petkov wrote: > On Wed, Mar 20, 2013 at 07:22:59PM -0700, Paul E. McKenney wrote: > > > > > > The "full_nohz=" boot parameter specifies which CPUs are to be > > > > > > adaptive-ticks CPUs. For example, "full_nohz=1,6-8" says that CPUs > > > > >

Re: [PATCH] net: fix *_DIAG_MAX constants

2013-03-21 Thread David Miller
From: Thomas Graf Date: Thu, 21 Mar 2013 14:42:18 + > On 03/21/13 at 06:18pm, Andrey Vagin wrote: >> Follow the common pattern and define *_DIAG_MAX like: >> >> [...] >> __XXX_DIAG_MAX, >> }; >> >> Because everyone is used to do: >> >> struct nlattr *attrs[XXX_DIAG_

Re: [PATCH 02/10] mm: vmscan: Obey proportional scanning requirements for kswapd

2013-03-21 Thread Michal Hocko
On Thu 21-03-13 14:31:15, Mel Gorman wrote: > On Thu, Mar 21, 2013 at 03:01:54PM +0100, Michal Hocko wrote: > > On Sun 17-03-13 13:04:08, Mel Gorman wrote: > > > Simplistically, the anon and file LRU lists are scanned proportionally > > > depending on the value of vm.swappiness although there are o

Re: [GIT PULL tip/core/urgent] Fix for hlist_entry_safe() regression

2013-03-21 Thread Paul E. McKenney
On Thu, Mar 21, 2013 at 07:42:03AM -0700, Linus Torvalds wrote: > On Thu, Mar 21, 2013 at 7:22 AM, Paul E. McKenney > wrote: > > [Reposting with corrected subject line.] > > > > Hello, Ingo, > > > > This series contains a single commit that fixes a regression in > > hlist_entry_safe(). .. > > Yo

Re: [PATCH 2/2] PM / devfreq: tie suspend/resume to runtime-pm

2013-03-21 Thread Alan Stern
On Thu, 21 Mar 2013, Rajagopal Venkat wrote: > Allow device devfreq to be suspend/resume automatically with > runtime pm suspend/resume. The devfreq drivers should be least > cared when to suspend/resume the devfreq. > > pm_runtime_suspend(dev) will first suspend device devfreq(if available) > be

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-21 Thread Vivek Goyal
On Wed, Mar 20, 2013 at 11:29:05PM -0700, Eric W. Biederman wrote: [..] > Preserving the actual PT_LOAD segments p_paddr and p_memsz values is > important. p_offset we can change as much as we want. Which means there > can be logical holes in the file between PT_LOAD segments, where we put > the

Re: [PATCH 03/10] mm: vmscan: Flatten kswapd priority loop

2013-03-21 Thread Michal Hocko
On Sun 17-03-13 13:04:09, Mel Gorman wrote: > kswapd stops raising the scanning priority when at least SWAP_CLUSTER_MAX > pages have been reclaimed or the pgdat is considered balanced. It then > rechecks if it needs to restart at DEF_PRIORITY and whether high-order > reclaim needs to be reset. This

[linux-next] Not able to fetch next-20130321

2013-03-21 Thread Axel Lin
Hi Stephen, I run "git remote update" but cannot find next-20130321 tag. It seems the latest tag is "next-20130318". https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/ Can you take a look at this issue? Thanks, Axel -- To unsubscribe from this list: send t

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-21 Thread Vivek Goyal
On Thu, Mar 21, 2013 at 12:22:59AM -0700, Eric W. Biederman wrote: > HATAYAMA Daisuke writes: > > > OK, rigorously, suceess or faliure of the requested free pages > > allocation depends on actual memory layout at the 2nd kernel boot. To > > increase the possibility of allocating memory, we have n

Re: [PATCHv2, RFC 01/30] block: implement add_bdi_stat()

2013-03-21 Thread Dave Hansen
On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > It's required for batched stats update. The description here is a little terse. Could you at least also describe how and where it's going to get used in later patches? Just a sentence or two more would be really

Re: [PATCH] dummy-irq: introduce a dummy IRQ handler driver (was Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-r

2013-03-21 Thread Daniel Vetter
On Thu, Mar 21, 2013 at 12:21:21AM +0100, Jiri Kosina wrote: > On Wed, 20 Mar 2013, Alan Stern wrote: > > > > Ok, so how about this? > > > Daniel, is it enough to make the problem appear on your system (by > > > building this into the kernel and booting with dummy-irq.irq=16)? > > > > > > Thanks

Re: [PATCH] net: fix *_DIAG_MAX constants

2013-03-21 Thread Thomas Graf
On 03/21/13 at 06:18pm, Andrey Vagin wrote: > Follow the common pattern and define *_DIAG_MAX like: > > [...] > __XXX_DIAG_MAX, > }; > > Because everyone is used to do: > > struct nlattr *attrs[XXX_DIAG_MAX+1]; > > nla_parse([...], XXX_DIAG_MAX, [...] > > Report

Re: [GIT PULL tip/core/urgent] Fix for hlist_entry_safe() regression

2013-03-21 Thread Linus Torvalds
On Thu, Mar 21, 2013 at 7:22 AM, Paul E. McKenney wrote: > [Reposting with corrected subject line.] > > Hello, Ingo, > > This series contains a single commit that fixes a regression in > hlist_entry_safe(). .. You do realize that I already merged this a week ago directly? (Merge commit f4846e52c

Re: [BUG] bisected: PandaBoard smsc95xx ethernet driver error from USB timeout

2013-03-21 Thread Alan Stern
On Wed, 20 Mar 2013, Frank Rowand wrote: > Hi All, > > Not quite sure quite where the problem is (USB, OMAP, smsc95xx driver, > other???), > so casting the nets wide... > > The PandaBoard frequently fails to boot with an eth0 error when mounting > the root file system via NFS (ethernet driver f

Re: [PATCH 2/2] netlink: Diag core and basic socket info dumping

2013-03-21 Thread Thomas Graf
On 03/21/13 at 06:31pm, Andrew Vagin wrote: > The code in ss looks like you described: > struct rtattr *tb[UNIX_DIAG_MAX+1]; > ... > parse_rtattr(tb, UNIX_DIAG_MAX, (struct rtattr*)(r+1), > nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); > > > struct rtatt

Re: [PATCH v3 17/21] vmcore: check NT_VMCORE_PAD as a mark indicating the end of ELF note buffer

2013-03-21 Thread Vivek Goyal
On Wed, Mar 20, 2013 at 08:54:25PM -0700, Eric W. Biederman wrote: [..] > > Also, it's possible to get size of a whole part of ELF note segments > > from p_memsz or p_filesz, and gdb and binutils are reading the note > > segments until reaching the size. > > Agreed. Except in our weird case wher

Re: [ 12/75] USB: EHCI: work around silicon bug in Intels EHCI controllers

2013-03-21 Thread Alan Stern
On Wed, 20 Mar 2013, Greg Kroah-Hartman wrote: > On Wed, Mar 20, 2013 at 04:41:21PM -0400, Alan Stern wrote: > > On Wed, 20 Mar 2013, Greg Kroah-Hartman wrote: > > > > > > > Ok, I'll postpone this patch for the next stable release, in time for > > > > > the fix to be put in at the same time. > >

[PATCH] rtc: palmas: add dt support

2013-03-21 Thread Laxman Dewangan
Add of_device_id table for Palma RTC to be enable the driver from DT file. The driver can be registered from DT file as: palmas: tps65913@58 { ::: palmas_rtc { compatible = "ti,palmas-rtc"; interrupt-pa

Re: [PATCH 2/2] netlink: Diag core and basic socket info dumping

2013-03-21 Thread Andrew Vagin
On Thu, Mar 21, 2013 at 12:52:30PM +, Thomas Graf wrote: > On 03/21/13 at 01:21pm, Andrey Vagin wrote: > > diff --git a/include/uapi/linux/netlink_diag.h > > b/include/uapi/linux/netlink_diag.h > > new file mode 100644 > > index 000..9328866 > > --- /dev/null > > +++ b/include/uapi/linux/n

Re: [PATCH] x86/microcode_intel_early.c: Get 32-bit physical address by __pa_nodebug()

2013-03-21 Thread H. Peter Anvin
On 03/21/2013 03:40 AM, Ingo Molnar wrote: > > * Fenghua Yu wrote: > >> +initrd_start_p = (unsigned long *)__pa_nodebug(&initrd_start); >> +initrd_start_addr = (unsigned long)__pa_nodebug(*initrd_start_p); > > We should probably use __pa_early() for that - aliased to __pa_nodebug(). >

[PATCH] gpio: palmas: add dt support

2013-03-21 Thread Laxman Dewangan
Add of_device_id table for Palma GPIO to be enable the driver from DT file. The driver can be registered from DT file as: palmas: tps65913@58 { ::: palmas_gpio: palmas_gpio { compatible = "ti,palmas-gpio";

Re: [PATCH 02/10] mm: vmscan: Obey proportional scanning requirements for kswapd

2013-03-21 Thread Mel Gorman
On Thu, Mar 21, 2013 at 03:01:54PM +0100, Michal Hocko wrote: > On Sun 17-03-13 13:04:08, Mel Gorman wrote: > > Simplistically, the anon and file LRU lists are scanned proportionally > > depending on the value of vm.swappiness although there are other factors > > taken into account by get_scan_coun

Re: [PATCH] stallion: final cleanup

2013-03-21 Thread Arnd Bergmann
On Thursday 21 March 2013, Paul Bolle wrote: > Support for the Stallion multiport serial drivers was removed in v3.1. > Clean up their last references in the tree: mainly an outdated Kconfig > entry and unneeded documentation. > > Signed-off-by: Paul Bolle Acked-by: Arnd Bergmann -- To unsubscr

Re: [PATCH] KVM: allow host header to be included even for !CONFIG_KVM

2013-03-21 Thread Kevin Hilman
Gleb Natapov writes: > On Wed, Mar 20, 2013 at 06:58:41PM -0500, Scott Wood wrote: >> On 03/14/2013 07:13:46 PM, Kevin Hilman wrote: >> >The new context tracking subsystem unconditionally includes kvm_host.h >> >headers for the guest enter/exit macros. This causes a compile >> >failure when KVM

Re: [PATCH 01/11] OF: add empty of_device_is_available for !OF

2013-03-21 Thread Rob Herring
On 03/21/2013 09:18 AM, Mark Rutland wrote: > On Wed, Mar 20, 2013 at 10:54:01PM +, Rob Herring wrote: >> From: Rob Herring >> >> Add an empty version of of_device_is_available. >> >> Signed-off-by: Rob Herring >> --- >> include/linux/of.h |5 + >> 1 file changed, 5 insertions(+) >>

[GIT PULL tip/core/urgent] Fix for hlist_entry_safe() regression

2013-03-21 Thread Paul E. McKenney
[Reposting with corrected subject line.] Hello, Ingo, This series contains a single commit that fixes a regression in hlist_entry_safe(). This macro references its argument twice, which can cause NULL-pointer errors. This commit applies a gcc statement expression, creating a temporary variable

[PATCH] net: fix *_DIAG_MAX constants

2013-03-21 Thread Andrey Vagin
Follow the common pattern and define *_DIAG_MAX like: [...] __XXX_DIAG_MAX, }; Because everyone is used to do: struct nlattr *attrs[XXX_DIAG_MAX+1]; nla_parse([...], XXX_DIAG_MAX, [...] Reported-by: Thomas Graf Cc: "David S. Miller" Cc: Pavel Emelyanov Cc: Er

Re: [PATCH 01/11] OF: add empty of_device_is_available for !OF

2013-03-21 Thread Mark Rutland
On Wed, Mar 20, 2013 at 10:54:01PM +, Rob Herring wrote: > From: Rob Herring > > Add an empty version of of_device_is_available. > > Signed-off-by: Rob Herring > --- > include/linux/of.h |5 + > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/of.h b/include/linux/of

Re: [BUG] staging: android: ashmem: Deadlock during ashmem_mmap and ashmem_read

2013-03-21 Thread Robert Love
On Thu, Mar 21, 2013 at 10:06 AM, Bjorn Bringert wrote: > I did implement ashmem_read, but I had no idea what I was doing. Calling the > VFS read function seemed like an obvious way to do it, but it might be > wrong. If that needs fixing, then the similar VFS call in ashmem_llseek > probably needs

Re: [PATCH] ARM: OMAP4: clock: Initialize USB DPLL

2013-03-21 Thread Roger Quadros
+Paul On 03/21/2013 03:48 PM, Roger Quadros wrote: > If the bootloader doesn't configure USB DPLL (e.g. in u-boot, > disable CONFIG_USB_EHCI_OMAP), then we get all sorts of problems > like > - division by zero errors at boot [1] > - USB DPLL fails to enter locked state > - USB EHCI Host is non fun

Re: [PATCH v3 01/21] vmcore: reference e_phoff member explicitly to get position of program header table

2013-03-21 Thread Vivek Goyal
On Thu, Mar 21, 2013 at 11:50:41AM +0900, HATAYAMA Daisuke wrote: > From: "Eric W. Biederman" > Subject: Re: [PATCH v3 01/21] vmcore: reference e_phoff member explicitly to > get position of program header table > Date: Tue, 19 Mar 2013 14:44:16 -0700 > > > HATAYAMA Daisuke writes: > > > >> Cu

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-03-21 Thread Roger Quadros
On 03/21/2013 04:04 PM, Rajendra Nayak wrote: > On Thursday 21 March 2013 07:24 PM, Roger Quadros wrote: >> On 03/21/2013 03:08 PM, Rajendra Nayak wrote: >>> [].. >>> diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 0274ff7..23f2064 100644

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-21 Thread Konrad Rzeszutek Wilk
On Wed, Mar 13, 2013 at 09:44:43AM -0400, Josh Boyer wrote: > On Wed, Mar 13, 2013 at 09:25:44AM -0400, Boris Ostrovsky wrote: > > On 03/01/2013 07:14 AM, Josh Boyer wrote: > > >On Thu, Feb 28, 2013 at 04:52:20PM -0800, H. Peter Anvin wrote: > > >>On 02/28/2013 04:42 PM, Josh Boyer wrote: > > >>>On

Re: [PATCH V2 1/4] ARM: tegra: dalmore: add cpu regulator node

2013-03-21 Thread Sergei Shtylyov
Hello. On 21-03-2013 17:47, Laxman Dewangan wrote: Dalmore uses the TPS51632 as CPU regulator. The device is connected on I2C5. Add DT node for TPS51632. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra114-dalmore.dts | 15 +++ 1 files changed, 15 insertions(+)

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-03-21 Thread Roger Quadros
+Paul & Nishant On 03/19/2013 04:26 PM, Roger Quadros wrote: > Register a device tree clock provider for AUX clocks > on the OMAP4 SoC. Also provide the binding information. > > Signed-off-by: Roger Quadros > --- > .../devicetree/bindings/clock/omap4-clock.txt | 32 ++ >

Re: [PATCHSET] idr: implement idr_alloc() and convert existing users

2013-03-21 Thread J. Bruce Fields
On Mon, Feb 04, 2013 at 09:11:28AM -0800, Tejun Heo wrote: > On Mon, Feb 04, 2013 at 09:10:31AM -0800, Tejun Heo wrote: > > Yeah, that should be easily convertable to the new interface. How > > should we route these changes? Your patch can go through the usual > > nfs channel and the conversion a

Re: [PATCH 00/11] sp804 and integrator timer CLKSRC_OF support

2013-03-21 Thread Rob Herring
On 03/21/2013 08:24 AM, Arnd Bergmann wrote: > On Wednesday 20 March 2013, Rob Herring wrote: >> This series is dependent on my CLKSRC_OF clean-up in arm-soc, my >> sched_clock selection series[1], and Arnd's default machine descriptor >> patch (for default clocksource_of_init call). The full serie

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-03-21 Thread Rajendra Nayak
On Thursday 21 March 2013 07:24 PM, Roger Quadros wrote: > On 03/21/2013 03:08 PM, Rajendra Nayak wrote: >> [].. >> >>> diff --git a/arch/arm/mach-omap2/board-generic.c >>> b/arch/arm/mach-omap2/board-generic.c >>> index 0274ff7..23f2064 100644 >>> --- a/arch/arm/mach-omap2/board-generic.c >>> +++

[PATCH 4/4] fuse: implement exclusive wakeup for blocked_waitq

2013-03-21 Thread Maxim V. Patlasov
The patch solves thundering herd problem. So far as previous patches ensured that only allocations for background may block, it's safe to wake up one waiter. Whoever it is, it will wake up another one in request_end() afterwards. Signed-off-by: Maxim Patlasov --- fs/fuse/dev.c | 20 +++

[PATCH 3/4] fuse: skip blocking on allocations of synchronous requests

2013-03-21 Thread Maxim V. Patlasov
Miklos wrote: > A task may have at most one synchronous request allocated. So these > requests need not be otherwise limited. The patch re-works fuse_get_req() to follow this idea. Signed-off-by: Maxim Patlasov --- fs/fuse/dev.c | 26 ++ 1 files changed, 18 insertions

[PATCH 1/4] fuse: make request allocations for background processing explicit

2013-03-21 Thread Maxim V. Patlasov
There are two types of processing requests in FUSE: synchronous (via fuse_request_send()) and asynchronous (via adding to fc->bg_queue). Fortunately, the type of processing is always known in advance, at the time of request allocation. This preparatory patch utilizes this fact making fuse_get_req(

[PATCH 2/4] fuse: add flag fc->uninitialized

2013-03-21 Thread Maxim V. Patlasov
Existing flag fc->blocked is used to suspend request allocation both in case of many background request submitted and period of time before init_reply arrives from userspace. Next patch will skip blocking allocations of synchronous request (disregarding fc->blocked). This is mostly OK, but we still

[PATCH 0/4] fuse: fix accounting background requests (v2)

2013-03-21 Thread Maxim V. Patlasov
Hi, The feature was added long time ago (commit 08a53cdc...) with the comment: > A task may have at most one synchronous request allocated. So these requests > need not be otherwise limited. > > However the number of background requests (release, forget, asynchronous > reads, interrupted request

Re: [PATCH 02/10] mm: vmscan: Obey proportional scanning requirements for kswapd

2013-03-21 Thread Michal Hocko
On Sun 17-03-13 13:04:08, Mel Gorman wrote: > Simplistically, the anon and file LRU lists are scanned proportionally > depending on the value of vm.swappiness although there are other factors > taken into account by get_scan_count(). The patch "mm: vmscan: Limit > the number of pages kswapd reclai

[GIT PULL] (xen) stable/for-jens-3.9

2013-03-21 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.9 which has a bunch of fixes. They vary from being able to deal with unknown requests, overflow in statistics, compile warnings, bug in the error path, removal of unne

Re: [PATCH] ARM: OMAP4: clock: Initialize USB DPLL

2013-03-21 Thread Roger Quadros
On 03/21/2013 03:48 PM, Roger Quadros wrote: > If the bootloader doesn't configure USB DPLL (e.g. in u-boot, > disable CONFIG_USB_EHCI_OMAP), then we get all sorts of problems > like > - division by zero errors at boot [1] > - USB DPLL fails to enter locked state > - USB EHCI Host is non functional

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-03-21 Thread Roger Quadros
On 03/21/2013 03:08 PM, Rajendra Nayak wrote: > [].. > >> diff --git a/arch/arm/mach-omap2/board-generic.c >> b/arch/arm/mach-omap2/board-generic.c >> index 0274ff7..23f2064 100644 >> --- a/arch/arm/mach-omap2/board-generic.c >> +++ b/arch/arm/mach-omap2/board-generic.c >> @@ -158,7 +158,7 @@ DT_

[PATCH V2 1/4] ARM: tegra: dalmore: add cpu regulator node

2013-03-21 Thread Laxman Dewangan
Dalmore uses the TPS51632 as CPU regulator. The device is connected on I2C5. Add DT node for TPS51632. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra114-dalmore.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra114-dal

[PATCH V2 4/4] ARM: tegra: enable Tegra114 based platform PMICs

2013-03-21 Thread Laxman Dewangan
NVIDIA's Tegra114 has two reference platforms, Dalmore and Pluto. Dalmore uses following PMICs: - TPS65913 as primary PMIC. - TPS65090 as secondary PMIC used for switch regulators and battery charging. - TPS51632 for CPU regulator. Pluto uses only TPS65913. Enable config variable for these PMICs

[PATCH V2 2/4] ARM: tegra: dalmore: add TPS65090 node

2013-03-21 Thread Laxman Dewangan
NVIDIA's Tegra114 reference platform, Dalmore, uses the TPS65090 as secondary PMICs which is mainly act as voltage switch regulator controlled by i2c communication. Add DT node for TPS65090. Signed-off-by: Laxman Dewangan --- Changes from V1: - Fix compilation error on this patch which was intro

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-21 Thread Vivek Goyal
On Wed, Mar 20, 2013 at 01:55:55PM -0700, Eric W. Biederman wrote: [..] > If core counts on the high end do more than double every 2 years we > might have a problem. Otherwise making everything mmapable seems easy > and sound. We already have mechanism to translate file offset into actual physic

[PATCH V2 3/4] ARM: tegra: dalmore: add fixed regulator node

2013-03-21 Thread Laxman Dewangan
NVIDIA's Tegra114 reference platform Dalmore has voltage switch regulators which are controlled by the Tegra GPIOs. Add DT node for fixed regulators. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra114-dalmore.dts | 57 +++- 1 files changed, 56 insertions

[PATCH V2 0/4] ARM: tegra: dalmore: add regulators

2013-03-21 Thread Laxman Dewangan
This series add the regulators for Dalmore platform. Dalmore also have the Palma PMIC as primary PMIC but dt population will be send later once DT documentation finalize. Changes from V1: - Rearrange patches so that config change will be last patch. - Correct some sentence and Caps. - fix compila

[PATCH] mfd: ab8500-core: Ignore masked out interrupts

2013-03-21 Thread Fabio Baltieri
AB8500 asserts LATCH bits for masked out interrupts. This patch explicitly masks those out using the cached mask value to prevent handle_nested_irq() being called for masked IRQ on the same register as unmasked ones. Acked-by: Linus Walleij Signed-off-by: Fabio Baltieri --- Hello Samuel, Anton

[PATCH] ARM: OMAP4: clock: Initialize USB DPLL

2013-03-21 Thread Roger Quadros
If the bootloader doesn't configure USB DPLL (e.g. in u-boot, disable CONFIG_USB_EHCI_OMAP), then we get all sorts of problems like - division by zero errors at boot [1] - USB DPLL fails to enter locked state - USB EHCI Host is non functional - Device can't enter OFF mode Initializing the USB DPLL

[ 3.5.y.z extended stable ] Patch "HID: clean up quirk for Sony RF receivers" has been added to staging queue

2013-03-21 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled HID: clean up quirk for Sony RF receivers to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-que

[ 3.5.y.z extended stable ] Patch "HID: add support for Sony RF receiver with USB product id" has been added to staging queue

2013-03-21 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled HID: add support for Sony RF receiver with USB product id to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-21 Thread Vivek Goyal
On Wed, Mar 20, 2013 at 09:18:10PM +, Matthew Garrett wrote: > On Wed, 2013-03-20 at 17:11 -0400, Mimi Zohar wrote: > > On Wed, 2013-03-20 at 20:37 +, Matthew Garrett wrote: > > > Right, that'd be the rough idea. Any further runtime policy updates > > > would presumably need to be signed wi

[PATCH 2/2] PM / devfreq: tie suspend/resume to runtime-pm

2013-03-21 Thread Rajagopal Venkat
Allow device devfreq to be suspend/resume automatically with runtime pm suspend/resume. The devfreq drivers should be least cared when to suspend/resume the devfreq. pm_runtime_suspend(dev) will first suspend device devfreq(if available) before device is suspended from runtime pm core. pm_runtime

[PATCH] arch: remove CONFIG_GENERIC_FIND_NEXT_BIT again

2013-03-21 Thread Paul Bolle
CONFIG_GENERIC_FIND_NEXT_BIT was removed in v3.0, but reappeared in two architectures. Remove it again. Signed-off-by: Paul Bolle --- 0) Untested. 1) See commit 63e424c84429903c92a0f1e9654c31ccaf6694d0 ("arch: remove CONFIG_GENERIC_FIND_{NEXT_BIT,BIT_LE,LAST_BIT}") for the removal of this Kconfi

[BONUS PATCH] dmaengine: dw_dmac: simplify master selection

2013-03-21 Thread Arnd Bergmann
The patch to add the common DMA binding added a dummy dw_dma_slave structure into the dw_dma_chan structure in order to configure the masters correctly. It turns out that this can be simplified if we pick the DMA masters in the dwc_alloc_chan_resources function instead and save them in the dw_dma_c

[PATCH 0/2] Add devfreq runtime pm support

2013-03-21 Thread Rajagopal Venkat
Patch to bind devfreq to runtime pm framework. The device devfreq is automatically suspended with pm_runtime_suspend() and resumed with pm_runtime_resume(). Discussed at http://comments.gmane.org/gmane.linux.linaro.devel/13787 Rajagopal Venkat (2): PM / devfreq: Fix compiler warnings PM / de

[PATCH 1/2] PM / devfreq: Fix compiler warnings

2013-03-21 Thread Rajagopal Venkat
Fix compiler warnings generated when devfreq is not enabled (CONFIG_PM_DEVFREQ is not set). Signed-off-by: Rajagopal Venkat --- include/linux/devfreq.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index 0

Re: [PATCH 00/11] sp804 and integrator timer CLKSRC_OF support

2013-03-21 Thread Arnd Bergmann
On Wednesday 20 March 2013, Rob Herring wrote: > This series is dependent on my CLKSRC_OF clean-up in arm-soc, my > sched_clock selection series[1], and Arnd's default machine descriptor > patch (for default clocksource_of_init call). The full series is > available here: All your patches look good

Re: [PATCH 2/2] serial: of_serial: Handle fifosize property

2013-03-21 Thread Heikki Krogerus
Hi, On Thu, Mar 21, 2013 at 07:41:39PM +0800, Ley Foon Tan wrote: > On Thu, 2013-03-21 at 12:48 +0200, Heikki Krogerus wrote: > > + /* Check for fifo size */ > > + if (of_property_read_u32(np, "fifosize", &prop) == 0) > > + port->fifosize = prop; > > + > Suggest to use "fifo-size" fo

Re: Re: Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section

2013-03-21 Thread Masami Hiramatsu
(2013/03/21 20:39), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> (2013/03/19 5:57), Timo Juhani Lindfors wrote: >>> Masami Hiramatsu writes: Thank you for reporting!! >>> >>> Thanks for fixing these! I spent some time trying to automate the >>> process of finding sensitive functio

Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

2013-03-21 Thread peterasplund
Hi! Sadly, I have to say that I'm totally oblivious to power-related stuff both in software and hardware, so I have no idea what you are asking or proposing.. :) I don't know if you have access to the files I've included in the bug report, so here are the links to them: https://launchpadlibra

[PATCH] stallion: final cleanup

2013-03-21 Thread Paul Bolle
Support for the Stallion multiport serial drivers was removed in v3.1. Clean up their last references in the tree: mainly an outdated Kconfig entry and unneeded documentation. Signed-off-by: Paul Bolle --- 0) Tested with git grep. 1) grepping the tree for "stallion" now only gives references to

[GIT PULL] EFI changes for v3.9-rc3

2013-03-21 Thread Matt Fleming
Hi guys, The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-for-3.9-rc3 for you to fetch changes up to e97131

Re: [PATCHv2 06/10] remoteproc: Code cleanup of resource parsing

2013-03-21 Thread Ohad Ben-Cohen
On Thu, Feb 21, 2013 at 7:15 PM, wrote: > From: Sjur Brændeland > > Combine the almost identical functions rproc_handle_virtio_rsc > and rproc_handle_boot_rsc. > > Signed-off-by: Sjur Brændeland Cool patch :) BTW I'm almost done. Doing very small changes here and there and briefly testing the

Re: [PATCH] dw_dmac: don't wait for FIFO_EMPTY endlessly in dwc_chan_pause

2013-03-21 Thread Vinod Koul
On Thu, Mar 21, 2013 at 11:49:17AM +0200, Andy Shevchenko wrote: > When we pause the channel after transfer is completed we might stuck in the > dwc_chan_pause() because the FIFO_EMPTY flag will never be asserted. To avoid > the endless loop we introduce a timeout here (*). The proper solution is t

<    1   2   3   4   5   6   7   8   9   >