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

2013-03-22 Thread HATAYAMA Daisuke
From: Vivek Goyal Subject: Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement Date: Thu, 21 Mar 2013 10:49:29 -0400 > On Thu, Mar 21, 2013 at 12:22:59AM -0700, Eric W. Biederman wrote: >> HATAYAMA Daisuke writes: >> >> > OK, rigorously, suceess

Re: [PATCH v2 linux-next] cpufreq: governors: Calculate iowait time only when necessary

2013-03-22 Thread Stratos Karafotis
On 03/22/2013 01:54 AM, Rafael J. Wysocki wrote: > > Applied to linux-pm.git/bleeding-edge and will be moved to linux-next if there > are no build problems in the bleeding-edge branch. > > Thanks, > Rafael Hi Rafael, I just noticed a regression with this patch with the calculation of wall time

[PATCH linux-pm] cpufreq: governors: Fix calculation of wall time in get_cpu_idle_time

2013-03-22 Thread Stratos Karafotis
With commit 8755a8ae31ba213db196324011a0da2a85807f25 the wall in get_cpu_idle_time is not calculated, when we use ondemand with io_is_busy = 1, preventing the CPU to increase to max frequency. Properly, calculate wall time when we use io_is_busy. Signed-off-by: Stratos Karafotis --- drivers/cpu

[PATCH v3] memcg: Add memory.pressure_level events

2013-03-22 Thread Anton Vorontsov
With this patch userland applications that want to maintain the interactivity/memory allocation cost can use the pressure level notifications. The levels are defined like this: The "low" level means that the system is reclaiming memory for new allocations. Monitoring this reclaiming activity might

Re: [PATCH] KVM: fix powerpc build error for !CONFIG_KVM

2013-03-22 Thread Gleb Natapov
On Fri, Mar 22, 2013 at 02:35:50PM +1100, Stephen Rothwell wrote: > Fixes these build error when CONFIG_KVM is not defined: > > In file included from arch/powerpc/include/asm/kvm_ppc.h:33:0, > from arch/powerpc/kernel/setup_64.c:67: > arch/powerpc/include/asm/kvm_book3s.h:65:20: e

Re: [patch] mm: speedup in __early_pfn_to_nid

2013-03-22 Thread Ingo Molnar
* David Rientjes wrote: > On Thu, 21 Mar 2013, Ingo Molnar wrote: > > > > Index: linux/mm/page_alloc.c > > > === > > > --- linux.orig/mm/page_alloc.c2013-03-18 10:52:11.510988843 -0500 > > > +++ linux/mm/page_alloc.c 2013-03-18

Re: ipc,sem: sysv semaphore scalability

2013-03-22 Thread Mike Galbraith
On Wed, 2013-03-20 at 15:55 -0400, Rik van Riel wrote: > Include lkml in the CC: this time... *sigh* > ---8<--- > > This series makes the sysv semaphore code more scalable, > by reducing the time the semaphore lock is held, and making > the locking more scalable for semaphore arrays with multiple

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

2013-03-22 Thread Heikki Krogerus
On Fri, Mar 22, 2013 at 11:32:18AM +0800, Ley Foon Tan wrote: > On Thu, 2013-03-21 at 15:24 +0200, Heikki Krogerus wrote: > > On Thu, Mar 21, 2013 at 07:41:39PM +0800, Ley Foon Tan wrote: > > > Suggest to use "fifo-size" for the device tree property, to align with > > > other DT properties. > > >

[PATCH 0/2] davinci: vpss: clock cleanup

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar This patch series cleanup's the VPSS clock enabling. The first patch removes vpss clock enabling from the capture drivers and moves it to the VPSS driver itself. The second patch moves the venc_enable_vpss_clock() to the driver which was being done in platform code. Lad, Pra

[PATCH 1/2] media: davinci: vpss: enable vpss clocks

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar By default the VPSS clocks are only enabled in capture driver for davinci family which creates duplicates. This patch adds support to enable the VPSS clocks in VPSS driver. This avoids duplication of code and also adding clock aliases. This patch cleanups the VPSS clock enabl

[PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar The vpss clocks were enabled by calling a exported function from a driver in a machine code. calling driver code from platform code is incorrect way. This patch fixes this issue and calls the function from driver code itself. Signed-off-by: Lad, Prabhakar --- Note: This p

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

2013-03-22 Thread Michal Hocko
On Thu 21-03-13 15:34:42, Mel Gorman wrote: > 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: > > > >

Re: [PATCH] gpio: palmas: add in GPIO support for palmas charger

2013-03-22 Thread Linus Walleij
On Tue, Feb 26, 2013 at 3:14 PM, Laxman Dewangan wrote: > On Tuesday 26 February 2013 07:43 PM, Ian Lartey wrote: > On 26/02/13 13:58, Laxman Dewangan wrote: > > On Tuesday 26 February 2013 06:51 PM, Ian Lartey wrote: > > this patch depenfs on [PATCH] mfd: palmas: is_palmas_charger needed by > mu

Re: [PATCH 3/3 linux-next] cpufreq: conservative: Use an inline function to evaluate freq_target

2013-03-22 Thread Stratos Karafotis
Hi Rafael, On 03/22/2013 01:51 AM, Rafael J. Wysocki wrote: > This one didn't apply for me to linux-pm.git/bleeding-edge. Care to rebase? > > Rafael Yes, of course. Bellow the rebased patched against latest linux-pm.git/bleeding-edge. Thanks, Stratos --8<-

[PATCH v7 0/2] ARM: davinci: add support for dm365 vpbe display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM365. This patch is work on on following pull request from Hans http://davinci-linux-open-source.1494791.n2.nabble.com/GIT-PULL-FOR-v3-10-tvp7002-davinci-blackfin-legacy-cleanups-td7582451.html + http://www.mail-archive.com

[PATCH v7 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c |4 +- arch/arm/mach-davinci/davinci.h |2 +- arch/arm/mach-davinci/dm365.c

[PATCH v7 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm365-evm.c | 164 ++- 1 files changed, 163 inse

[PATCHv2 2/2] serial: of_serial: Handle fifo-size property

2013-03-22 Thread Heikki Krogerus
This will reduce the need for extra types in 8250.c just in case the fifo size differs from the standard. Signed-off-by: Heikki Krogerus --- Documentation/devicetree/bindings/tty/serial/of-serial.txt |1 + drivers/tty/serial/of_serial.c |4 2 files change

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Michal Hocko
On Fri 22-03-13 09:22:06, Li Zefan wrote: > On 2013/3/21 18:22, Michal Hocko wrote: > > On Thu 21-03-13 10:08:49, Michal Hocko wrote: > >> On Thu 21-03-13 09:22:21, Li Zefan wrote: > >>> As cgroup supports rename, it's unsafe to dereference dentry->d_name > >>> without proper vfs locks. Fix this by

[PATCH v6 0/2] ARM: davinci: dm355: add support for vpbe display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar This patch series enables VPBE display driver on DM355. This patch series is dependent on VPSS clock cleanup patches (http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg25499.html) posted. Chnages for v6: 1: Fixed nits pointed by Sekhar. Changes

[PATCH v6 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm355-evm.c |4 +- arch/arm/mach-davinci/davinci.h |2 +- arch/arm/mach-davinci/dm355.c

[PATCH v6 2/2] ARM: davinci: dm355 EVM: add support for VPBE display

2013-03-22 Thread Prabhakar lad
From: Lad, Prabhakar add support for V4L2 video display to DM355 EVM. Support for SD modes is provided, along with Composite output Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/board-dm355-evm.c | 69 ++- 1 files changed, 68 insertions(+), 1 deletions(-

Re: remap kernel static memory to user space

2013-03-22 Thread Clemens Ladisch
Eduardo Cruz wrote: > Please, anyone knows how to solve this problem? > > 2013/3/20 Eduardo Cruz : >> I'm trying to remap some kernel static memory to user space using >> remap_pfn_range. Well, don't do that. What is the actual problem you're trying to solve? Regards, Clemens -- To unsubscribe

RE: [PATCH v2 3/3] ARM: davinci: da850: add EHRPWM & ECAP DT node

2013-03-22 Thread Philip, Avinash
On Fri, Mar 22, 2013 at 11:23:32, Nori, Sekhar wrote: > On 3/21/2013 1:31 PM, Philip, Avinash wrote: > > On Wed, Mar 20, 2013 at 18:17:59, Peter Korsgaard wrote: > >>> "Sekhar" == Sekhar Nori writes: > >> > >> Sekhar> On 3/20/2013 12:11 PM, Philip Avinash wrote: > >> >> Add da850 EHRPWM & EC

Re: [PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-03-22 Thread Linus Walleij
On Fri, Mar 1, 2013 at 1:07 PM, Linus Walleij wrote: > From: Gabriel Fernandez > > If there is no interrupt property into stmpe node > then activate the no-irq mode by setting the irq > value to -1. > > Cc: devicetree-disc...@lists.ozlabs.org > Signed-off-by: Gabriel Fernandez > Signed-off-by:

Re: [PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-03-22 Thread Linus Walleij
On Fri, Mar 1, 2013 at 1:07 PM, Linus Walleij wrote: > From: Gabriel Fernandez > > This patch augments the STMP driver to read the device id > from the stmpe-i2c dt alias if present. > > Cc: devicetree-disc...@lists.ozlabs.org > Signed-off-by: Gabriel Fernandez > Signed-off-by: Linus Walleij

Re: [PATCHv2 2/2] serial: of_serial: Handle fifo-size property

2013-03-22 Thread Ley Foon Tan
On Fri, 2013-03-22 at 10:05 +0200, Heikki Krogerus wrote: > This will reduce the need for extra types in 8250.c just > in case the fifo size differs from the standard. Besides the fifo size, we need to have hardware flow control setting from device tree as well. Thanks. > > Signed-off-by: Heikki K

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Li Zefan
> @@ -3217,17 +3217,16 @@ void mem_cgroup_destroy_cache(struct kmem_cache > *cachep) > static char *memcg_cache_name(struct mem_cgroup *memcg, struct > kmem_cache *s) > { > char *name; > - struct dentry *dentry; > + > + name = (char *)__get_free_page(GFP_TE

Re: [PATCH 07/10] mm: vmscan: Block kswapd if it is encountering pages under writeback

2013-03-22 Thread Mel Gorman
On Thu, Mar 21, 2013 at 02:42:26PM -0400, Rik van Riel wrote: > On 03/17/2013 09:04 AM, Mel Gorman wrote: > >Historically, kswapd used to congestion_wait() at higher priorities if it > >was not making forward progress. This made no sense as the failure to make > >progress could be completely indepe

[PATCHv8 0/9] Support for Tegra 2D hardware

2013-03-22 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next-20130322 with RTC fixes applied. Changes in this version: * Own version of framebuffer driver due to move to own allocator * Thanks to Thierry Reding for help * Miscellaneous variable name

[PATCHv8 5/9] drm: tegra: Move drm to live under host1x

2013-03-22 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 --- drivers/gpu/host1x/

[PATCHv8 4/9] gpu: host1x: Add debug support

2013-03-22 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |4 + drivers/gpu

[PATCHv8 1/9] gpu: host1x: Add host1x driver

2013-03-22 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. The Tegra host1x module is the DMA engine for register access to Tegra's graphics- and multimedia-related modules. The modules served by host1x are referred to as clients. host1x includes some other functionality, such as synchronization. S

[PATCHv8 2/9] gpu: host1x: Add syncpoint wait and interrupts

2013-03-22 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++ drivers/gpu/h

[PATCHv8 6/9] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++-- drivers/gpu/host1x/drm/drm.c

Re: [PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-22 Thread Linus Walleij
Hi Lars, sorry for taking eternities to review stuff :-( I recommend that you include SPI co-maintainer Mark Brown on subsequent postings. On Mon, Mar 4, 2013 at 5:34 PM, Lars Poeschel wrote: > This converts the mcp23s08 driver to be able to be used with device > tree. OK! > +++ b/Documentat

[PATCHv8 8/9] gpu: host1x: drm: Add memory manager and fb

2013-03-22 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces a memory manager for tegra drm and moves existing parts to use it. As cma framebuffer helpers can no more be used, this patch adds also a separate framebuffer driver for tegra. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- driver

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Glauber Costa
On 03/22/2013 12:17 PM, Li Zefan wrote: >> GFP_TEMPORARY groups short lived allocations but the mem cache is not >> > an ideal candidate of this type of allocations.. >> > > I'm not sure I'm following you... > > char *memcg_cache_name() > { > char *name = alloc(); > return name; > } >

[PATCHv8 9/9] drm: tegra: Add gr2d device

2013-03-22 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|1 + drivers/gpu/host1x/dev.c |

[PATCHv8 7/9] gpu: host1x: Remove second host1x driver

2013-03-22 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c | 58

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

2013-03-22 Thread Mel Gorman
On Fri, Mar 22, 2013 at 08:54:27AM +0100, Michal Hocko wrote: > On Thu 21-03-13 15:34:42, Mel Gorman wrote: > > 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 >

Re: [PATCH] gpio: palmas: add in GPIO support for palmas charger

2013-03-22 Thread Ian Lartey
On 22/03/13 07:55, Linus Walleij wrote: On Tue, Feb 26, 2013 at 3:14 PM, Laxman Dewangan wrote: On Tuesday 26 February 2013 07:43 PM, Ian Lartey wrote: On 26/02/13 13:58, Laxman Dewangan wrote: On Tuesday 26 February 2013 06:51 PM, Ian Lartey wrote: this patch depenfs on [PATCH] mfd: palmas:

Re: [PATCH v2] Adds support for Open Firmware in MAX730x GPIO Driver

2013-03-22 Thread Linus Walleij
On Tue, Mar 5, 2013 at 4:26 PM, Christophe Leroy wrote: > This patch allows the use of the MAX730x Driver on systems using > the Open Firmware platform format. > The bit_per_word can be set in the OF Device tree, so no need to force it as > with > the platform_data. > > Signed-off-by: Patrick Va

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

2013-03-22 Thread Roger Quadros
Hi Frank, On 03/22/2013 04:45 AM, Frank Rowand wrote: > On 03/21/13 07:41, Alan Stern wrote: >> 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 PandaBo

Re: [patch v5 06/15] sched: log the cpu utilization at rq

2013-03-22 Thread Alex Shi
On 02/20/2013 11:22 PM, Peter Zijlstra wrote: > On Wed, 2013-02-20 at 22:33 +0800, Alex Shi wrote: >>> You don't actually compute the rq utilization, you only compute the >>> utilization as per the fair class, so if there's significant RT >> activity >>> it'll think the cpu is under-utilized, whihc

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

2013-03-22 Thread Axel Lin
2013/3/22 Stephen Rothwell : > Hi Axel, > > On Thu, 21 Mar 2013 22:50:18 +0800 Axel Lin wrote: >> >> 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/ > > It seems to have

[RFC 0/2] PCI: Introduce MSI chip infrastructure

2013-03-22 Thread Thierry Reding
This pair of patches introduces a new MSI chip infrastructure aimed at replacing the current per-architecture implementation of the MSI support functions. The rationale being that for multi-platform support on ARM (and of course other architectures as well) per-architecture hooks no longer work, gi

[RFC 2/2] PCI: tegra: Use new MSI chip infrastructure

2013-03-22 Thread Thierry Reding
Implement an MSI chip that uses the Tegra PCIe controller's built-in support to provide MSI services to the root bus and its children. Signed-off-by: Thierry Reding --- drivers/pci/host/pci-tegra.c | 105 --- 1 file changed, 60 insertions(+), 45 deletions(

[RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Thierry Reding
The new struct msi_chip is used to associated an MSI controller with a PCI bus. It is automatically handed down from the root to its children during bus enumeration. This patch provides default (weak) implementations for the architecture- specific MSI functions (arch_setup_msi_irq(), arch_teardown

Re: [patch 06/34] arc: Use generic idle loop

2013-03-22 Thread Vineet Gupta
Hi Thomas, > On 03/22/2013 03:23 AM, Thomas Gleixner wrote: While the ARC specific changes look simple enough, do you have the series put up somewhere which I can merge to give a quick build/run test. Are you planning to add this to linux-next at some point as that will make it really trivial to

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

2013-03-22 Thread Rajagopal Venkat
On 21 March 2013 20:32, Alan Stern wrote: > 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) wi

Re: [Intel-gfx] Regression: HSW eDP broken on 3.9-rc[12]

2013-03-22 Thread Daniel Vetter
On Thu, Mar 14, 2013 at 4:15 PM, Takashi Iwai wrote: > I noticed that a Haswell desktop machine with eDP gets only the blank > screen on the latest Linus tree. It works fine with 3.8, so it's a > regression since 3.9-rc1. Actually, it's not a regression. It's > three regressions in a shot! (I h

Re: [PATCH] ath9k : Fix ieee80211 work while going to suspend

2013-03-22 Thread Stanislaw Gruszka
On Thu, Mar 21, 2013 at 12:33:31PM -0700, Luis R. Rodriguez wrote: > So when does this work get called? > > Given the trace this is hit when the timer rx_poll_timer runs, > which in turn calls ath_rx_poll() to schedule hw_check_work work. > The rx_poll_timer however was originally only set at the

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

2013-03-22 Thread Kirill A. Shutemov
Dave Hansen wrote: > 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

Re: [PATCH v3 5/6] ARM: dts: omap: update usb_otg_hs data

2013-03-22 Thread Kishon Vijay Abraham I
Hi, On Thursday 21 March 2013 10:40 PM, Stephen Warren wrote: On 03/21/2013 12:23 AM, kishon wrote: Hi, On Thursday 21 March 2013 02:29 AM, Stephen Warren wrote: On 03/20/2013 03:12 AM, Kishon Vijay Abraham I wrote: Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding

Re: [PATCHv2 2/2] serial: of_serial: Handle fifo-size property

2013-03-22 Thread Heikki Krogerus
Hi, On Fri, Mar 22, 2013 at 04:16:48PM +0800, Ley Foon Tan wrote: > On Fri, 2013-03-22 at 10:05 +0200, Heikki Krogerus wrote: > > This will reduce the need for extra types in 8250.c just > > in case the fifo size differs from the standard. > Besides the fifo size, we need to have hardware flow con

Re: [patch 02/34] arch: Consolidate tsk_is_polling()

2013-03-22 Thread Thomas Gleixner
On Fri, 22 Mar 2013, Tony Breeds wrote: > On Thu, Mar 21, 2013 at 09:52:57PM -, Thomas Gleixner wrote: > > > +/* > > + * Idle thread specific functions to determine the need_resched > > + * polling state. We have two versions, one based on TS_POLLING in > > + * thread_info.status and one bas

Re: PREEMPT_RT vs 'hrtimer: Prevent hrtimer_enqueue_reprogram race'

2013-03-22 Thread Thomas Gleixner
On Thu, 21 Mar 2013, Steven Rostedt wrote: > On Fri, 2013-03-22 at 03:24 +, Ben Hutchings wrote: > > > > Note, I posted a fix on Tuesday: > > > > > > https://lkml.org/lkml/2013/3/19/369 > > > > Thanks. I did search GMANE with some obvious terms but I think its > > index is lagging. > > It

Re: [RFC 0/2] PCI: Introduce MSI chip infrastructure

2013-03-22 Thread Andrew Murray
On Fri, Mar 22, 2013 at 08:51:45AM +, Thierry Reding wrote: > It > is the responsibility of the PCI host bridge driver to setup the MSI > chip for the root bus. I think this could work well. In the future if the use of an independent MSI controller is required, then new DT bindings for host-br

Re: [PATCH] i2c: tegra: check the clk_prepare_enable() return value

2013-03-22 Thread Wolfram Sang
On Fri, Mar 15, 2013 at 09:04:08PM +0530, Laxman Dewangan wrote: > NVIDIA's Tegra SoC allows read/write of controller register only > if controller clock is enabled. System hangs if read/write happens > to registers without enabling clock. > > clk_prepare_enable() can be fail due to unknown reason

Re: [PATCH 1/2] sysfs: fix race between readdir and lseek

2013-03-22 Thread Ming Lei
On Fri, Mar 22, 2013 at 1:48 PM, Li Zefan wrote: > On 2013/3/21 12:48, Ming Lei wrote: > > Yes, it can...As I said, it's irrelevant, because it's vfs that changes > file->f_pos. > > SYSCALL_DEFINE3(read, unsigned int, fd, char __user *, buf, size_t, count) > { > struct fd f = fdget(fd); >

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Michal Hocko
On Fri 22-03-13 12:22:23, Glauber Costa wrote: > On 03/22/2013 12:17 PM, Li Zefan wrote: > >> GFP_TEMPORARY groups short lived allocations but the mem cache is not > >> > an ideal candidate of this type of allocations.. > >> > > > I'm not sure I'm following you... > > > > char *memcg_cache_name()

Re: BUG at kmem_cache_alloc

2013-03-22 Thread David Rientjes
On Fri, 22 Mar 2013, CAI Qian wrote: > Starting to see those on 3.8.4 (never saw in 3.8.2) stable kernel on a few > systems > during LTP run, > > [11297.597242] BUG: unable to handle kernel paging request at > fffe > [11297.598022] IP: [] kmem_cache_alloc+0x68/0x1e0 Is this repea

Re: [RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Andrew Murray
On Fri, Mar 22, 2013 at 08:51:46AM +, Thierry Reding wrote: > index ce93a34..ea4a5be 100644 > --- a/include/linux/msi.h > +++ b/include/linux/msi.h > @@ -58,5 +58,15 @@ extern int arch_setup_msi_irqs(struct pci_dev *dev, int > nvec, int type); > extern void arch_teardown_msi_irqs(struct pci_d

Re: [patch 03/34] idle: Implement set/clr functions for need_resched poll

2013-03-22 Thread James Hogan
On 21/03/13 21:52, Thomas Gleixner wrote: > Implement set/clear functions for the idle need_resched poll > implementation. > > Signed-off-by: Thomas Gleixner > --- > include/linux/sched.h | 23 ++- > 1 file changed, 22 insertions(+), 1 deletion(-) > > Index: linux-2.6/incl

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-22 Thread Andrew Murray
On Thu, Mar 21, 2013 at 04:06:25PM +, Thomas Petazzoni wrote: > Dear Andrew Murray, > > On Fri, 1 Mar 2013 12:23:36 +, Andrew Murray wrote: > > This patch factors out common implementations patterns to reduce overall > > kernel > > code and provide a means for host bridge drivers to dire

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Glauber Costa
On 03/22/2013 01:31 PM, Michal Hocko wrote: > On Fri 22-03-13 12:22:23, Glauber Costa wrote: >> On 03/22/2013 12:17 PM, Li Zefan wrote: GFP_TEMPORARY groups short lived allocations but the mem cache is not > an ideal candidate of this type of allocations.. > >>> I'm not sure I'm follow

Re: [PATCH] hwrng: exynos - add CONFIG_PM_RUNTIME to suspend/resume functions

2013-03-22 Thread David Rientjes
On Fri, 22 Mar 2013, Jingoo Han wrote: > Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build > error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both > CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. > > drivers/char/hw_random/exynos-rng.c:167:8: error: > 'exynos_rng_runtime_su

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

2013-03-22 Thread Kirill A. Shutemov
Dave Hansen wrote: > 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 int

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Michal Hocko
On Fri 22-03-13 13:41:40, Glauber Costa wrote: > On 03/22/2013 01:31 PM, Michal Hocko wrote: > > On Fri 22-03-13 12:22:23, Glauber Costa wrote: > >> On 03/22/2013 12:17 PM, Li Zefan wrote: > GFP_TEMPORARY groups short lived allocations but the mem cache is not > > an ideal candidate of thi

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-22 Thread Thomas Petazzoni
Andrew, On Fri, 22 Mar 2013 09:39:36 +, Andrew Murray wrote: > > Thanks, I've tested this successfully with the Marvell PCIe driver. I'm > > about to send a new version of the Marvell PCIe patch set that includes > > this RFC proposal. > > > > I only made two small changes compared to your v

Re: [PATCH] nohz1: Documentation

2013-03-22 Thread Mats Liljegren
Christoph Lameter wrote: > On Thu, 21 Mar 2013, Paul E. McKenney wrote: > > > > Yeah doing that right now but I'd like to see it handled without manual > > > intervention. > > > > Given that RCU has no idea where you want them to run, some manual > > intervention would most likely be required even

Re: [RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Thierry Reding
On Fri, Mar 22, 2013 at 09:37:50AM +, Andrew Murray wrote: > On Fri, Mar 22, 2013 at 08:51:46AM +, Thierry Reding wrote: > > index ce93a34..ea4a5be 100644 > > --- a/include/linux/msi.h > > +++ b/include/linux/msi.h > > @@ -58,5 +58,15 @@ extern int arch_setup_msi_irqs(struct pci_dev *dev, i

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Glauber Costa
On 03/22/2013 01:48 PM, Michal Hocko wrote: > On Fri 22-03-13 13:41:40, Glauber Costa wrote: >> On 03/22/2013 01:31 PM, Michal Hocko wrote: >>> On Fri 22-03-13 12:22:23, Glauber Costa wrote: On 03/22/2013 12:17 PM, Li Zefan wrote: >> GFP_TEMPORARY groups short lived allocations but the mem

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

2013-03-22 Thread Mats Liljegren
Frank Rowand wrote: > On 03/21/13 07:41, Alan Stern wrote: > > 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 b

Re: [PATCH v2 0/7] KVM: MMU: fast zap all shadow pages

2013-03-22 Thread Xiao Guangrong
On 03/22/2013 10:11 AM, Xiao Guangrong wrote: >> The modifications should be contained to kvm_mmu_get_page() mostly, >> correct? (would also have to keep counters to increase SLAB freeing >> ratio, relative to number of outdated shadow pages). > > Yes. > >> >> And then have codepaths that nuke

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

2013-03-22 Thread Michal Hocko
On Fri 22-03-13 08:37:04, Mel Gorman wrote: > On Fri, Mar 22, 2013 at 08:54:27AM +0100, Michal Hocko wrote: > > On Thu 21-03-13 15:34:42, Mel Gorman wrote: > > > On Thu, Mar 21, 2013 at 04:07:55PM +0100, Michal Hocko wrote: > > > > > > > diff --git a/mm/vmscan.c b/mm/vmscan.c > > > > > > > index 48

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Michal Hocko
On Fri 22-03-13 14:03:30, Glauber Costa wrote: > On 03/22/2013 01:48 PM, Michal Hocko wrote: > > On Fri 22-03-13 13:41:40, Glauber Costa wrote: > >> On 03/22/2013 01:31 PM, Michal Hocko wrote: > >>> On Fri 22-03-13 12:22:23, Glauber Costa wrote: > On 03/22/2013 12:17 PM, Li Zefan wrote: >

Re: [PATCHv2, RFC 05/30] thp, mm: avoid PageUnevictable on active/inactive lru lists

2013-03-22 Thread Kirill A. Shutemov
Dave Hansen wrote: > On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > > active/inactive lru lists can contain unevicable pages (i.e. ramfs pages > > that have been placed on the LRU lists when first allocated), but these > > pages must not have PageUnevictable set - otherwise shrink_active_list

Re: [PATCHv2, RFC 07/30] thp, mm: introduce mapping_can_have_hugepages() predicate

2013-03-22 Thread Kirill A. Shutemov
Dave Hansen wrote: > On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > > +static inline bool mapping_can_have_hugepages(struct address_space *m) > > +{ > > + if (IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE)) { > > + gfp_t gfp_mask = mapping_gfp_mask(m); > > + return !!(gfp_mask &

[PATCH] cpufreq: stats: do cpufreq_cpu_put() corresponding to cpufreq_cpu_get

2013-03-22 Thread Viresh Kumar
In cpufreq_stats_free_sysfs() we aren't balancing calls to cpufreq_cpu_get() with cpufreq_cpu_put(). This will never let us have ref count to policy->kobj as zero. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_stats.c | 12 1 file changed, 8 insertions(+), 4 deletions(-)

[PATCH 1/2] deb-pkg: split debug symbols in their own package

2013-03-22 Thread Anisse Astier
This can reduce almost 3 times the size of the linux-image package, while keeping the debug symbols available for this particular build, in their own package. This mimics the way kernels are built in debian, ubuntu, or with make-kpkg, and comes at the price of a small slowdown in the building of p

Re: [PATCH] hwrng: exynos - add CONFIG_PM_RUNTIME to suspend/resume functions

2013-03-22 Thread Herbert Xu
On Fri, Mar 22, 2013 at 02:38:53AM -0700, David Rientjes wrote: > On Fri, 22 Mar 2013, Jingoo Han wrote: > > > Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build > > error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both > > CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. > > >

Re: [PATCH 1/1] i2c: iSMT SMBus patch for Intel Avoton DeviceIDs

2013-03-22 Thread Wolfram Sang
On Thu, Feb 21, 2013 at 02:30:43PM -0800, Seth Heasley wrote: > This patch adds the iSMT SMBus Controller DeviceIDs for the Intel Avoton SOC. > > Signed-off-by: Seth Heasley Applied to for-current, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH] register_console: prevent adding the same console twice

2013-03-22 Thread Andreas Bießmann
This patch guards the console_drivers list to be corrupted. The for_each_console() macro insist on a strictly forward list ended by NULL: con0->next->con1->next->NULL Without this patch it may happen easily to destroy this list for example by adding 'earlyprintk' twice. This will result in the f

Re: [patch 20/34] metag: Use generic idle loop

2013-03-22 Thread James Hogan
On 21/03/13 21:53, Thomas Gleixner wrote: > Signed-off-by: Thomas Gleixner > Cc: James Hogan > --- > arch/metag/Kconfig |1 + > arch/metag/kernel/process.c | 32 +++- > arch/metag/kernel/smp.c |2 +- > 3 files changed, 5 insertions(+), 30 deleti

Re: [PATCH] MAINTAINERS: add maintainer entry for atmel i2c driver

2013-03-22 Thread Wolfram Sang
On Fri, Mar 15, 2013 at 04:32:57PM +0100, ludovic.desroc...@atmel.com wrote: > From: Ludovic Desroches > > Create an entry for atmel i2c driver: i2c-at91.c > > Signed-off-by: Ludovic Desroches Applied to for-current, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-k

[PATCH 2/2] deb-pkg: add a hook argument to match debian hooks parameters

2013-03-22 Thread Anisse Astier
This should allow the package to better integrate with debian hooks, and should not be too disruptive of hooks supporting only one parameter. Signed-off-by: Anisse Astier --- scripts/package/builddeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/builddeb b/s

[GIT PULL] EDAC fixes for 3.9

2013-03-22 Thread Borislav Petkov
Hi Linus, please pull the fixes below. Thanks. The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/for_linus for you to

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-03-22 Thread Glauber Costa
On 03/22/2013 02:06 PM, Michal Hocko wrote: > On Fri 22-03-13 14:03:30, Glauber Costa wrote: >> On 03/22/2013 01:48 PM, Michal Hocko wrote: >>> On Fri 22-03-13 13:41:40, Glauber Costa wrote: On 03/22/2013 01:31 PM, Michal Hocko wrote: > On Fri 22-03-13 12:22:23, Glauber Costa wrote: >>

Re: [PATCH 3/3 linux-next] cpufreq: conservative: Use an inline function to evaluate freq_target

2013-03-22 Thread Viresh Kumar
On 22 March 2013 13:33, Stratos Karafotis wrote: > Use an inline function to evaluate freq_target to avoid duplicate code. > > Also, define a macro for the default frequency step. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/cpufreq_conservative.c | 28 ---

Re: [PATCH V2 2/2] of: remove /proc/device-tree

2013-03-22 Thread Grant Likely
On Thu, Mar 21, 2013 at 8:07 PM, Grant Likely wrote: > On Thu, Mar 21, 2013 at 12:52 PM, Benjamin Herrenschmidt > wrote: >> On Thu, 2013-03-21 at 11:24 +, Grant Likely wrote: >> kexec comes to mind (all 4 variants of fs2dt.c (yuck !)), dtc, various >> powerpc-utils (bootloader configuration e

Re: [RFC v3 1/2] epoll: avoid spinlock contention with wfcqueue

2013-03-22 Thread Eric Wong
Arve Hjønnevåg wrote: > On Thu, Mar 21, 2013 at 8:24 PM, Eric Wong wrote: > > > > With EPOLLET and improper usage (not hitting EAGAIN), the event now > > has a larger window to be lost (as mentioned in my changelog). > > > > What about the case where EPOLLET is not set? The old code did not > dr

Re: [PATCH] wfcqueue: functions for local append and enqueue

2013-03-22 Thread Eric Wong
Mathieu Desnoyers wrote: > * Eric Wong (normalper...@yhbt.net) wrote: > > /* > > + * __wfcq_append_local: append one local queue to another local queue > > + * > > + * No memory barriers are issued. Mutual exclusion is the responsibility > > + * of the caller. > > + * > > + * Returns false if th

Re: [PATCHv2, RFC 08/30] thp, mm: rewrite add_to_page_cache_locked() to support huge pages

2013-03-22 Thread Kirill A. Shutemov
Dave Hansen wrote: > On 03/14/2013 10:50 AM, Kirill A. Shutemov wrote: > > From: "Kirill A. Shutemov" > > > > For huge page we add to radix tree HPAGE_CACHE_NR pages at once: head > > page for the specified index and HPAGE_CACHE_NR-1 tail pages for > > following indexes. > > > > Signed-off-by: K

[GIT PULL] AMD RAS improvements for v3.10

2013-03-22 Thread Borislav Petkov
Hi Ingo, please pull the two improvements below; not urgent stuff, can go into tip/x86/ras for 3.10. Thanks. The following changes since commit a937536b868b8369b98967929045f1df54234323: Linux 3.9-rc3 (2013-03-17 15:59:32 -0700) are available in the git repository at: git://git.kernel.org/

Re: [PATCH 1/3] pwm: pwm-tiecap: add CONFIG_PM_SLEEP to suspend/resume functions

2013-03-22 Thread Thierry Reding
On Mon, Mar 11, 2013 at 11:12:58AM +0900, Jingoo Han wrote: > This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix > the following build warning when CONFIG_PM_SLEEP is not selected. > > drivers/pwm/pwm-tiecap.c:314:12: warning: 'ecap_pwm_suspend' defined but not > used [-Wunused-fu

Re: [PATCH] pwm: ab8500: use devm_kzalloc()

2013-03-22 Thread Thierry Reding
On Fri, Mar 08, 2013 at 12:45:58PM +0900, Jingoo Han wrote: > Use devm_kzalloc() to make cleanup paths more simple. > > Signed-off-by: Jingoo Han > --- > drivers/pwm/pwm-ab8500.c |7 ++- > 1 files changed, 2 insertions(+), 5 deletions(-) Applied, thanks. Thierry pgphhRKGKlY4a.pgp Des

Re: [PATCH] pwm: samsung: convert s3c_pwm to dev_pm_ops

2013-03-22 Thread Thierry Reding
On Fri, Mar 08, 2013 at 01:03:31PM +0900, Jingoo Han wrote: > Instead of using legacy suspend/resume methods, using newer dev_pm_ops > structure allows better control over power management. > > Signed-off-by: Jingoo Han > --- > drivers/pwm/pwm-samsung.c | 20 +--- > 1 files cha

Re: I2C: Fix i2c fail problem when a process is terminated by a signal on octeon in 3.8

2013-03-22 Thread Wolfram Sang
On Tue, Feb 26, 2013 at 09:08:43PM +, 송은봉 wrote: > > I've been debugging the abnormal operation of i2c on octeon. > If a process is terminated by signal in the middle of i2c operation, > next i2c read operation which is done by another process was failed. > So i changed to ignore signal in t

  1   2   3   4   5   6   7   >