[PATCH 0/2] nfsd: containerise NFSv4 recovery state

2012-11-26 Thread Stanislav Kinsbursky
This patch set makes rec_file and in_grace global static variables allocated per network namespace. Both of them are a part of client tracking engine, which is containerised already. The following series implements... --- Stanislav Kinsbursky (2): nfsd: recovery - make rec_file per net

[PATCH 1/2] nfsd: recovery - make rec_file per net

2012-11-26 Thread Stanislav Kinsbursky
Opening and closing of this file is done in client tracking init and exit operations. Client tracking is done in network namespace context already. So let's make this file opened and closed per network context - this will simlify it's management. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/n

[PATCH 2/2] nfsd: recovery - make in_grace per net

2012-11-26 Thread Stanislav Kinsbursky
Flag in_grace is a part of client tracking state, which is network namesapce aware. So let'a replace global static variable with per-net one. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |1 + fs/nfsd/nfs4recover.c |9 - 2 files changed, 5 insertions(+), 5 deleti

Re: [PATCH] ARM: OMAP: Conditionally compile counter_32k

2012-11-26 Thread Alessio Igor Bogani
Hi Igor, On 26/11/2012 13:02, Igor Grinberg wrote: On 11/26/12 11:28, Alessio Igor Bogani wrote: [...] # Common support -obj-y := sram.o dma.o fb.o counter_32k.o +obj-y := sram.o dma.o fb.o obj-m := obj-n := obj- := +obj-$(CONFIG_OMAP_32K_TIMER) += counter_32k.o We are moving away

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread Tang Chen
On 11/26/2012 08:40 PM, wujianguo wrote: Hi Tang, I tested this patchset in x86_64, and I found that this patch didn't work as expected. For example, if node2's memory pfn range is [0x68-0x98), I boot kernel with movablecore_map=4G@0x68000, all memory in node2 will be

[RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-26 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait uses interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/chip_support.h | 17 ++ drivers/video/tegra/host/dev.c

[RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch removes the redundant host1x driver from tegradrm and makes necessary bindings to the separate host driver. This modification introduces a regression: Because there is no general framework for attaching separate devices into the same address space, this patch rem

[RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 231 +++- drivers/gpu/drm/tegra/drm.h| 42 ++-- drivers/gpu/drm/tegra/gr2d

[RFC v2 7/8] gpu: drm: tegra: Prime support

2012-11-26 Thread Terje Bergstrom
From: Arto Merilainen This patch introduces support for exporting allocated memory as dmabuf objects. Exported buffers are used for delivering data to nvhost driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/teg

[RFC v2 0/8] Support for Tegra 2D hardware

2012-11-26 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on Thierry Reding's tegra/next branch. We still have unresolved issues, so I don't expect these patches to be merged, but act as a way to get the code out for public review. The first version was sent only to linux

[RFC v2 4/8] video: tegra: Add debug support

2012-11-26 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck submit. Signed-off-by: Terje Bergstrom --- drivers/video/tegra/host/Makefile |1 + drivers/video/tegra/host/bus_client.c |3 + drivers/video/tegra/host/chip_su

[RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergstrom
Add SoC specific auxiliary data to host1x and gr2d. nvhost uses this data. Signed-off-by: Terje Bergstrom Signed-off-by: Arto Merilainen --- arch/arm/mach-tegra/board-dt-tegra20.c| 38 - arch/arm/mach-tegra/board-dt-tegra30.c| 38 +

[PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-26 Thread Michal Hocko
[CCing also Johannes - the thread started here: https://lkml.org/lkml/2012/11/21/497] On Mon 26-11-12 01:38:55, azurIt wrote: > >This is hackish but it should help you in this case. Kamezawa, what do > >you think about that? Should we generalize this and prepare something > >like mem_cgroup_cache_

Re: [PATCH] HID: hidraw: fix nonblock read return EAGAIN after device removed

2012-11-26 Thread Jiri Kosina
On Mon, 26 Nov 2012, Dmitry Torokhov wrote: > > Hi Linux-Input, Jiri, Dmitry, > > this patch is related to nonblock read on hidraw device. > > when nonblock read the condition check (file->f_flags & O_NONBLOCK) > > always be true, > > signal_pending and device exist checking never get a chance to

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-26 Thread Michal Nazarewicz
On Mon, Nov 26 2012, Andrzej Pietrasiewicz wrote: > In some parts of the kernel (e.g. planned configfs integration into usb > gadget) there is a need to programmatically create config groups > (directories) but it would be preferable to disallow creating them by > the user. This is more or less wh

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-26 Thread Michal Hocko
Here we go with the patch for 3.2.34. Could you test with this one, please? --- >From 0d2d915c16f93918051b7ab8039d30b5a922049c Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Mon, 26 Nov 2012 11:47:57 +0100 Subject: [PATCH] memcg: do not trigger OOM from add_to_page_cache_locked memcg oom kille

Re: [PATCH] Remove unnecessary declarations from Documentation/accounting/getdelays.c

2012-11-26 Thread Jiri Kosina
On Sat, 24 Nov 2012, Anthony G. Basile wrote: > From: "Anthony G. Basile" > > stime and utime are declared __u64 but are never used. On a glibc system > this is harmless lint, but on a uClibc system, because of the difference > in they way header files stack, including stdio.h brings in time.h

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

2012-11-26 Thread Xiaotian Feng
On Mon, Nov 26, 2012 at 8:48 PM, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm tree got a conflict in > drivers/net/ethernet/jme.c between commit 71c6c837a0fe ("drivers/net: fix > tasklet misuse issue") from Linus' tree and commit "tasklet: ignore > disabled taskle

Re: [PATCH V1 1/3] mfd: stmpe: Arrange #include in alphabetical order

2012-11-26 Thread Lee Jones
On Mon, 26 Nov 2012, Viresh Kumar wrote: > On 26 November 2012 16:46, Samuel Ortiz wrote: > > Hi Viresh, > > > > On Fri, Nov 23, 2012 at 12:26:18AM +0530, Viresh Kumar wrote: > >> This helps managing them better and also reduces chances of adding an > >> header > >> file twice. > > The aim is t

Re: [PATCH] HID: hid-input: battery quirk for Apple keyboard

2012-11-26 Thread Jiri Kosina
On Sun, 25 Nov 2012, Ortwin Glück wrote: > Support battery capacity on another Apple wireless > keyboard. Your patch has been whitespace damaged. I have fixed it by hand and applied, but please fix your process for any future patch submissions. Thanks. > NB: most likely all other APPLE_ALU_WIR

Re: util-linux bug: was Re: [PATCH 00/16 v3] f2fs: introduce flash-friendly file system

2012-11-26 Thread Karel Zak
On Fri, Nov 23, 2012 at 11:23:09AM +1100, NeilBrown wrote: > This is a bug in util-linux. > > If 'blkid' doesn't recognise the filesystem, mount reads /etc/filesystems > and tries everything listed there. If that file ends with a '*', it should > read /proc/filesystems and try everything else lis

[PATCH] clocksource: use clockevents_config_and_register() where possible

2012-11-26 Thread Shawn Guo
The clockevent core is able to figure out the best mult and shift, calculate min_delta_ns and max_delta_ns, with the necessary info passed into clockevents_config_and_register(). Use this combined configure and register function where possible to make the codes less error prone and gain some posit

Re: Comparison between three trees (was: Latest numa/core release, v17)

2012-11-26 Thread Mel Gorman
On Fri, Nov 23, 2012 at 05:32:05PM +, Mel Gorman wrote: > SPECJBB: Single JVMs (one per node, 4 nodes), THP is disabled > > 3.7.0 3.7.0 3.7.0 > 3.7.0 3.7.0 3.7.0 >rc6-stats-

Re: [PATCH V3 RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2012-11-26 Thread Andrew Jones
On Mon, Nov 26, 2012 at 05:37:54PM +0530, Raghavendra K T wrote: > From: Peter Zijlstra > > In case of undercomitted scenarios, especially in large guests > yield_to overhead is significantly high. when run queue length of > source and target is one, take an opportunity to bail out and return > -

[PATCH] dma-mapping: fix dma_common_get_sgtable() conditional compilation

2012-11-26 Thread Marek Szyprowski
dma_common_get_sgtable() function doesn't depend on ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY, so it must not be compiled conditionally. Reported-by: Stephen Rothwell Signed-off-by: Marek Szyprowski --- drivers/base/dma-mapping.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-26 Thread Andrew Jones
On Mon, Nov 26, 2012 at 05:38:04PM +0530, Raghavendra K T wrote: > From: Raghavendra K T > > yield_to returns -ESRCH, When source and target of yield_to > run queue length is one. When we see three successive failures of > yield_to we assume we are in potential undercommit case and abort > from P

Re: linux-next: build failure after merge of the v4l-dvb tree

2012-11-26 Thread Marek Szyprowski
Hi Stephen, On 11/26/2012 3:31 AM, Stephen Rothwell wrote: Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "dma_common_get_sgtable" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined! Caused by commit 9ef2cbeb8192 ("[

Re: [PATCH 1/2] regulator: as3711: Fix valid min_uV/max_UV checking in as3711_bound_check

2012-11-26 Thread Guennadi Liakhovetski
On Sat, 24 Nov 2012, Axel Lin wrote: > Below cases are supposed to be valid: > > min_uV == max_uV == info->max_uV > min_uV == max_uV == rdev->desc->min_uV > > Don't return -EINVAL for above cases. > > This patch also includes below cleanups: > - Use rdev_get_drvdata(rdev) instead of rdev->reg_d

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-26 Thread Thomas Abraham
On 26 November 2012 15:21, Mark Brown wrote: > On Sat, Nov 24, 2012 at 11:46:51PM +0530, Thomas Abraham wrote: > >> The max8997 driver is mainlined. I actually meant to say that, this v6 >> version of dt support patch for max8997, is similar in functionality >> to the v5 version of this patch. I d

Re: [PATCH 2/2] regulator: as3711: Fix the logic in as3711_sel_check

2012-11-26 Thread Guennadi Liakhovetski
On Sat, 24 Nov 2012, Axel Lin wrote: > Below equation means the "voltage" is the "smallest" voltage within specific > range. > > ret = DIV_ROUND_UP(min - bottom) / step; > voltage = ret * step + bottom; > > If we do try 1 down when (voltage > max), new voltage is then less than min > voltage. Wh

[PATCH V2 0/3] thermal: Add support for interrupt based notification to thermal layer

2012-11-26 Thread Amit Daniel Kachhap
Changes since V1: Used the new thermal trend type macro The patch submitted by Jonghwa Lee (https://patchwork.kernel.org/patch/1683441/) adds support for interrupt based notification to thermal layer. This is a good feature but the current code need more fixes to support that feature so using 2 n

[PATCH V2 2/3] thermal: exynos: Miscellaneous fixes to support falling threshold interrupt

2012-11-26 Thread Amit Daniel Kachhap
Below fixes are done to support falling threshold interrupt, * Falling interrupt status macro corrected according to exynos5 data sheet. * The get trend function modified to calculate trip temperature correctly. * The clearing of interrupt status in the isr is now done after handling the event th

[PATCH V2 3/3] thermal: exynos: Use the new thermal trend type for quick cooling action.

2012-11-26 Thread Amit Daniel Kachhap
This patch uses the quick thermal cooling trend type macros. This is needed as exynos5 and other thermal sensors now supports only interrupt method for thresold temperature check. Signed-off-by: Amit Daniel Kachhap Signed-off-by: Amit Daniel Kachhap --- drivers/thermal/exynos_thermal.c |6 +

Re: [PATCH 0/4] [GIT PULL][3.8] tracing: Updated patches

2012-11-26 Thread Steven Rostedt
Ping -- Steve On Wed, 2012-11-14 at 13:53 -0500, Steven Rostedt wrote: > Ingo, > > This includes the updates to the formating issues to the patches > that were in the original patch set, and which I had dropped from > my last pull request. I added this on top of my last git pull request. > > I

[PATCH V2 1/3] Thermal: exynos: Add support for temperature falling interrupt.

2012-11-26 Thread Amit Daniel Kachhap
From: Jonghwa Lee This patch introduces using temperature falling interrupt in exynos thermal driver. Former patch, it only use polling way to check whether if system themperature is fallen. However, exynos SOC also provides temperature falling interrupt way to do same things by hw. This feature

linux-next: build failure after merge of the final tree (tty tree related)

2012-11-26 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/staging/sb105x/sb_pci_mp.c:1:0: drivers/staging/sb105x/sb_pci_mp.h:22:25: fatal error: asm/segment.h: No such file or directory Caused by commit 68a81291ff66 ("s

Re: [PATCH 3/6 v4] cpufreq: tolerate inexact values when collecting stats

2012-11-26 Thread Mark Langsdorf
On 11/24/2012 04:05 AM, Rafael J. Wysocki wrote: > On Saturday, November 17, 2012 03:50:48 PM Borislav Petkov wrote: >> On Tue, Nov 13, 2012 at 02:13:38PM -0500, Mark Langsdorf wrote: >>> Although cpufreq_driver has a flag field, no part of cpufreq_driver >>> is directly passed to the cpufreq_stat

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-26 Thread Andrew Jones
On Mon, Nov 26, 2012 at 02:43:02PM +0100, Andrew Jones wrote: > On Mon, Nov 26, 2012 at 05:38:04PM +0530, Raghavendra K T wrote: > > From: Raghavendra K T > > > > yield_to returns -ESRCH, When source and target of yield_to > > run queue length is one. When we see three successive failures of > >

Re: [PATCH] ARM: OMAP: Conditionally compile counter_32k

2012-11-26 Thread Igor Grinberg
On 11/26/12 15:15, Alessio Igor Bogani wrote: > Hi Igor, > > On 26/11/2012 13:02, Igor Grinberg wrote: >> On 11/26/12 11:28, Alessio Igor Bogani wrote: > [...] >>> # Common support >>> -obj-y := sram.o dma.o fb.o counter_32k.o >>> +obj-y := sram.o dma.o fb.o >>> obj-m := >>> obj-n := >>> o

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-26 Thread Mark Brown
On Mon, Nov 26, 2012 at 07:16:04PM +0530, Thomas Abraham wrote: > and this patch applied cleanly. Could you please let me know if there > is anything I need to be doing differently for this. Hrm, try applying it on the relevant topic branch. Your comments about rebasing on top of MFD changes did

Re: [PATCH] audit: create explicit AUDIT_SECCOMP event type

2012-11-26 Thread Steve Grubb
On Monday, November 19, 2012 01:56:53 PM Kees Cook wrote: > The seccomp path was using AUDIT_ANOM_ABEND from when seccomp mode 1 > could only kill a process. While we still want to make sure an audit > record is forced on a kill, this should use a separate record type since > seccomp mode 2 introdu

linux-next: Tree for Nov 26

2012-11-26 Thread Stephen Rothwell
Hi all, Changes since 20121115: The ia64 tree gained a conflict against Linus' tree. The powerpc tree still had its build failure for which I applied a patch. The v4l-dvb tree lost its build failure but gained another so I used the version from next-20121026. The modules tree gained a build fa

<    5   6   7   8   9   10