Re: [PATCH v2] staging: dgrp: dgrp_tty.c: return an -EFAULT if put_user fails

2012-11-14 Thread Dan Carpenter
On Wed, Nov 14, 2012 at 05:07:37PM +0530, Kumar Amit Mehta wrote: > Inspect the return value of put_user() and return -EFAULT on error. > > Signed-off-by: Kumar Amit Mehta > --- > drivers/staging/dgrp/dgrp_tty.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff

Re: drivers/char/random.c: variable type mismatch

2012-11-14 Thread H. Peter Anvin
On 11/14/2012 08:15 AM, Stephan Mueller wrote: I agree with the argument of correlation. So, if the reduction of values with a known lack of entropy is of interest, why not change the jiffies variable type too? There we know that only the lower 32 bits are really relevant. Therefore, wouldn't

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-14 Thread Johan Hovold
On Wed, Nov 14, 2012 at 12:12:01PM -0500, Richard Retanubun wrote: > On 10/11/12 09:30 AM, Johan Hovold wrote: > Hi Johan, > > > There was a reference-count fix for the probe error path that went in to > > v3.5. Haven't read all the details on how you trigger your leak, but at > > the face of it,

Re: [PATCH v4 09/14] Input: introduce EV_MSC Timestamp

2012-11-14 Thread Henrik Rydberg
On Wed, Nov 14, 2012 at 04:59:21PM +0100, Benjamin Tissoires wrote: > Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones) > computed by the hardware itself. This value is global to the frame and is > not specific to the multitouch protocol. > > Signed-off-by: Benjamin

[RFC] staging: ste_rmi4: merge into the main kernel tree

2012-11-14 Thread Alexandra Chin
Hi Henrik and all, As I know, currently there is no synaptics RMI4 touchscreen driver in the main tree. In order to support our customers effectively, is it able to merge staging ste_rmi4 driver into the main kernel.org tree? If it is accepted, should I send a patch for this change? Any advice

Re: [RFC PATCH 0/3] introduce static_vm for ARM-specific static mapped area

2012-11-14 Thread Russell King - ARM Linux
On Thu, Nov 15, 2012 at 01:55:51AM +0900, Joonsoo Kim wrote: > In current implementation, we used ARM-specific flag, that is, > VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. > The purpose of static mapped area is to re-use static mapped area when > entire physical

Re: [patch 6/7] fs, exportfs: Add exportfs_encode_inode_fh helper

2012-11-14 Thread J. Bruce Fields
On Wed, Nov 14, 2012 at 07:19:43PM +0400, Cyrill Gorcunov wrote: > We will need this helper in the next patch to > provide a file handle for inotify marks in > /proc/pid/fdinfo output. > > The patch is rather providing the way to use inodes > directly when dentry is not available (like in case >

Re: [PATCH 6/9] uprobes: flush cache after xol write

2012-11-14 Thread Oleg Nesterov
On 11/04, Ananth N Mavinakayanahalli wrote: > > On Sat, Nov 03, 2012 at 05:33:01PM +0100, Oleg Nesterov wrote: > > > > [PATCH] uprobes: flush cache after xol write > > > > From: Rabin Vincent > > > > Flush the cache so that the instructions written to the XOL area are > > visible. > > > >

Re: ACPI errors with 3.7-rc3

2012-11-14 Thread Azat Khuzhin
Robert, thanks. I have such message again, and load avg up to 30, and the increase up to 40, after to 50. I found this https://bugzilla.kernel.org/show_bug.cgi?id=14733 and I after I compile kernel with this patch write message about results. Also I want to note that after I suspend laptop to

RE: [PATCH v6] staging: ste_rmi4: Convert to Type-B support

2012-11-14 Thread Alexandra Chin
Hi Henrik, > > @@ -367,50 +371,33 @@ static int synpatics_rmi4_touchpad_report(struct > synaptics_rmi4_data *pdata, > > data_offset, data, > > data_reg_blk_size); > > if (retval !=

[RFC PATCH] mm: WARN_ON_ONCE if f_op->mmap() change vma's start address

2012-11-14 Thread Joonsoo Kim
During reviewing the source code, I found a comment which mention that after f_op->mmap(), vma's start address can be changed. I didn't verify that it is really possible, because there are so many f_op->mmap() implementation. But if there are some mmap() which change vma's start address, it is

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-14 Thread Vladimir Kondratiev
On Wednesday, November 14, 2012 09:08:52 AM Joe Perches wrote: > On Wed, 2012-11-14 at 18:18 +0200, Vladimir Kondratiev wrote: > > And, here it goes (can I call it PATCH?): > Don't see why not. > > > From: Vladimir Kondratiev > > [] > > > Introduce debug_hex_dump() that can be dynamically

Re: [tip:numa/core] mm: Count the number of pages affected in change_protection()

2012-11-14 Thread Andrew Morton
On Wed, 14 Nov 2012 06:25:56 -0800 tip-bot for Peter Zijlstra wrote: > mm: Count the number of pages affected in change_protection() > > This will be used by three kinds of purposes: > > - to optimize mprotect() > > - to speed up working set scanning for working set areas that >have

Re: [PATCH 18/31] mm: sched: numa: Implement constant, per task Working Set Sampling (WSS) rate

2012-11-14 Thread Andrew Theurer
> From: Peter Zijlstra > > Note: The scan period is much larger than it was in the original patch. > The reason was because the system CPU usage went through the roof > with a sample period of 500ms but it was unsuitable to have a > situation where a large process could stall

Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Grant Likely
On Wed, Nov 14, 2012 at 5:10 PM, Rob Herring wrote: > On 11/14/2012 10:11 AM, Grant Likely wrote: >> On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin >> wrote: >>> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added >>> empty stubs into of_mdio.h which were not static, this

Re: linux-next: Tree for Nov 14

2012-11-14 Thread Linus Torvalds
On Tue, Nov 13, 2012 at 10:56 PM, Andrew Morton wrote: > > That solves one problem, but I still need to route around the numa > stuff when preparing the 3.8-rc1 merge. Again! Btw - and this is tangential/unrelated - I really think that your should strive to *not* base -mm on top of next, but

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-14 Thread Julius Werner
> Maybe you can remove all these computations and set the flag > en_core_tk_irqen for the driver ? That will be handled by the cpuidle > framework, no ? > > Same comment for the intel_idle driver. Yeah, I thought about that, too. I was a little too afraid of touching the

Re: [PATCH 07/31] mm: numa: split_huge_page: transfer the NUMA type from the pmd to the pte

2012-11-14 Thread Rik van Riel
On 11/13/2012 06:12 AM, Mel Gorman wrote: From: Andrea Arcangeli When we split a transparent hugepage, transfer the NUMA type from the pmd to the pte if needed. Signed-off-by: Andrea Arcangeli Signed-off-by: Mel Gorman Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe

Re: KMS Framebuffer on Intel N2600 (GMA3600)

2012-11-14 Thread Alan Cox
> This backlight problem appears only when I run linux with KMS framebuffer, > when I run linux without KMS framebuffer, the backlight is always on. > > Yes, I have ACPI enabled and ACPI backlight enabled, but running: > echo 100 > /sys/class/backlight/psb-bl/brightness psb-bl/backlight willbe

Re: kmemleak report on isp1763 and sierra MC8705

2012-11-14 Thread Richard Retanubun
On 10/11/12 09:30 AM, Johan Hovold wrote: Hi Johan, There was a reference-count fix for the probe error path that went in to v3.5. Haven't read all the details on how you trigger your leak, but at the face of it, it could be related. Have a look at 0658a3366db7e27fa ("usb: use usb_serial_put

Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Rob Herring
On 11/14/2012 10:11 AM, Grant Likely wrote: > On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin > wrote: >> Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added >> empty stubs into of_mdio.h which were not static, this causes build errors >> when these symbols were defined

Re: [PATCH v4 10/14] Input: mt: add input_mt_is_used

2012-11-14 Thread Henrik Rydberg
On Wed, Nov 14, 2012 at 04:59:22PM +0100, Benjamin Tissoires wrote: > This patch extracts the test (slot->frame == mt->frame) so that it can > be used in third party drivers. > > Signed-off-by: Benjamin Tissoires > --- > drivers/input/input-mt.c | 2 +- > include/linux/input/mt.h | 6 ++ >

Re: [PATCH v2 4/5] mm, highmem: makes flush_all_zero_pkmaps() return index of first flushed entry

2012-11-14 Thread JoonSoo Kim
Hi, Minchan. 2012/11/14 Minchan Kim : > On Tue, Nov 13, 2012 at 11:12:28PM +0900, JoonSoo Kim wrote: >> 2012/11/13 Minchan Kim : >> > On Tue, Nov 13, 2012 at 09:30:57AM +0900, JoonSoo Kim wrote: >> >> 2012/11/3 Minchan Kim : >> >> > Hi Joonsoo, >> >> > >> >> > On Sat, Nov 03, 2012 at 04:07:25AM

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-14 Thread Joe Perches
On Wed, 2012-11-14 at 18:18 +0200, Vladimir Kondratiev wrote: > And, here it goes (can I call it PATCH?): Don't see why not. > From: Vladimir Kondratiev [] > Introduce debug_hex_dump() that can be dynamically controlled, similar to > pr_debug. > > Also, make print_hex_dump_bytes() dynamically

Re: linux-next: Tree for Nov 14

2012-11-14 Thread Rik van Riel
On 11/14/2012 03:13 AM, Hugh Dickins wrote: Please, Ingo, stop trying to force this in ahead of time, yet again. People are still reviewing and comparing competing solutions. Maybe this latest will prove to be closest to the right answer, maybe it will not. It's, what, about two days old

[PATCH 1/1] powerpc: dts: virtex440: add ethernet phy to virtex440-ml507

2012-11-14 Thread Gernot Vormayr
This adds the marvel phy which is present on the ml507 board. Without this ethtool causes kernel-oopses. Tested on ml507 board. Signed-off-by: Gernot Vormayr --- arch/powerpc/boot/dts/virtex440-ml507.dts |6 ++ 1 file changed, 6 insertions(+) diff --git

[RFC PATCH 3/3] ARM: mm: use static_vm for managing static mapped areas

2012-11-14 Thread Joonsoo Kim
A static mapped area is ARM-specific, so it is better not to use generic vmalloc data structure, that is, vmlist and vmlist_lock for managing static mapped area. And it causes some needless overhead and reducing this overhead is better idea. Now, we have newly introduced static_vm infrastructure.

[RFC PATCH 2/3] ARM: static_vm: introduce an infrastructure for static mapped area

2012-11-14 Thread Joonsoo Kim
In current implementation, we used ARM-specific flag, that is, VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. The purpose of static mapped area is to re-use static mapped area when entire physical address range of the ioremap request can be covered by this area. This

[RFC PATCH 1/3] ARM: vmregion: remove vmregion code entirely

2012-11-14 Thread Joonsoo Kim
Now, there is no user for vmregion. So remove it. Signed-off-by: Joonsoo Kim diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index 8a9c4cb..4e333fa 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile @@ -6,7 +6,7 @@ obj-y := dma-mapping.o extable.o

[RFC PATCH 0/3] introduce static_vm for ARM-specific static mapped area

2012-11-14 Thread Joonsoo Kim
In current implementation, we used ARM-specific flag, that is, VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. The purpose of static mapped area is to re-use static mapped area when entire physical address range of the ioremap request can be covered by this area. This

Re: [PATCH 1/4] vtime: Remove the underscore prefix invasion

2012-11-14 Thread Steven Rostedt
On Wed, 2012-11-14 at 17:48 +0100, Frederic Weisbecker wrote: > 2012/11/14 Steven Rostedt : > > On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote: > >> Prepending irq-unsafe vtime APIs with underscores was actually > >> a bad idea as the result is a big mess in the API namespace that >

[PATCH] HID: usbhid: add quirk HID_QUIRK_NOGET to TPV optical touchscreen

2012-11-14 Thread Benjamin Tissoires
Without this, the device is blocked in dmesg at: hid-multitouch 0003:25AA:8883.000X: usb_submit_urb(ctrl) failed: -1 hid-multitouch 0003:25AA:8883.000X: timeout initializing reports Signed-off-by: Benjamin Tissoires --- Hi guys, Even if Chris did not answered, I had the confirmation that this

[RFC 0/5] perf ui/gtk: Separate out GTK codes to a shared object

2012-11-14 Thread Namhyung Kim
Hi, This is an RFC patchset to separate GTK GUI codes to a shared object, called libperf-gtk.so and use it with libdl. It's in an early-stage so probably has some rough edges, but I'd like to get some comments. For now, the libperf-gtk.so (I'm open to a better name suggestion) contains whole

[PATCH 3/5] perf tools: Separate out GTK codes to libperf-gtk.so

2012-11-14 Thread Namhyung Kim
Separate out GTK codes to a shared object called libperf-gtk.so. In order to do that all objects are compiled as PIC like libtraceevent. For now whole libperf and libtraceevent are built into it. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/Makefile | 36

[PATCH 5/5] perf report: Run dynamic loaded GTK browser

2012-11-14 Thread Namhyung Kim
Run GTK hist browser using libdl. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/Makefile |3 ++- tools/perf/builtin-report.c | 16 +--- tools/perf/ui/gtk/gtk.h |5 + tools/perf/util/hist.h | 13 - 4 files

[PATCH 4/5] perf tools: Setup GTK browser dynamically

2012-11-14 Thread Namhyung Kim
Call setup/exit GTK browser function using libdl. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/gtk.h |3 +++ tools/perf/ui/setup.c | 51 +-- tools/perf/ui/ui.h | 12 +-- 3 files changed, 53

[PATCH 2/5] perf ui/helpline: Introduce ui_helpline__vshow()

2012-11-14 Thread Namhyung Kim
From: Namhyung Kim The ui_helpline__vshow() will be used for pr_* functions. Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/helpline.c | 23 --- tools/perf/ui/helpline.c | 12 tools/perf/ui/helpline.h | 22 ++

[PATCH 1/5] perf ui: Always compile error printing code

2012-11-14 Thread Namhyung Kim
From: Namhyung Kim It is used everywhere so always build it regardless of ui engine. Signed-off-by: Namhyung Kim --- tools/perf/Makefile | 14 +- tools/perf/ui/util.c| 10 ++ tools/perf/util/debug.c | 22 -- tools/perf/util/debug.h | 33

Re: [PATCH 1/4] vtime: Remove the underscore prefix invasion

2012-11-14 Thread Frederic Weisbecker
2012/11/14 Steven Rostedt : > On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote: >> Prepending irq-unsafe vtime APIs with underscores was actually >> a bad idea as the result is a big mess in the API namespace that >> is even waiting to be further extended. Also these helpers >> are

Re: KMS Framebuffer on Intel N2600 (GMA3600)

2012-11-14 Thread Forconi
Hi Alan, first of all, thanks for your support. > So the panel backlight register is set to indicate that the > brightness > will be handled by the firmware in some other way and not by the > graphics. > Do you have ACPI backlight support in your kernel ? Do you have the > LVDS > panel enabled in

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Terje Bergström
On 14.11.2012 18:19, Stephen Warren wrote: > I'd rather initialize it explicitly. If setting it to 216MHz works > fine as Terje indicated, we may as well just do that. I'd prefer explicit setting, too. > I suspect the issue with the original code: > >> { "host1x", "pll_c",14400,

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-14 Thread Andy King
Hi Sasha, Thanks for taking a look. > So all the documentation I see in the VMCI Socket Programming Guide > is about userspace programming, and the documentation in af_vsock.c > is all around implementation considerations. Agreed, we're sorely lacking in proper documentation for the internal

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-14 Thread Alan Stern
On Wed, 14 Nov 2012, Rafael J. Wysocki wrote: > On Thursday, November 08, 2012 12:07:54 PM Alan Stern wrote: > > On Thu, 8 Nov 2012, Rafael J. Wysocki wrote: > > [...] > > I'd like to revisit this for a while if you don't mind. Not at all. > > Your revised patch does do the job, except for a

Re: [PATCH 1/4] vtime: Remove the underscore prefix invasion

2012-11-14 Thread Steven Rostedt
On Wed, 2012-11-14 at 17:26 +0100, Frederic Weisbecker wrote: > Prepending irq-unsafe vtime APIs with underscores was actually > a bad idea as the result is a big mess in the API namespace that > is even waiting to be further extended. Also these helpers > are always called from irq safe callers

Re: [PATCH v4 09/14] Input: introduce EV_MSC Timestamp

2012-11-14 Thread Dmitry Torokhov
On Wed, Nov 14, 2012 at 04:59:21PM +0100, Benjamin Tissoires wrote: > Some devices provides the actual timestamp (hid_dg_scan_time in win8 ones) > computed by the hardware itself. This value is global to the frame and is > not specific to the multitouch protocol. > > Signed-off-by: Benjamin

Re: [arc-linux-dev] Re: UAPI for new arches (was Re: [GIT PULL] User API Disintegrate: Preparatory patches)

2012-11-14 Thread David Howells
James Hogan wrote: > The disintegration scripts strip out the #ifdef __KERNEL__ from the > headers in both uapi/ and the old directories. However there are still a > bunch of unexported headers through the tree which have #ifdef > __KERNEL__ in them, usually guarding the entire file (just grep >

[PATCH 1/1] block: Fix id of xsysace with missing port-number

2012-11-14 Thread Gernot Vormayr
Since id is u32 the comparsion < 0 will fail. The right way would be to check the return value of of_property_read_u32 Tested on ml507 board. Signed-off-by: Gernot Vormayr --- drivers/block/xsysace.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 0/4] cputime: Even more cleanups

2012-11-14 Thread Frederic Weisbecker
Hi, While working on full dynticks, I realized some more cleanups needed to be done. Here is it. If no comment arise, I'll send a pull request to Ingo in a week. Thanks. Frederic Weisbecker (4): vtime: Remove the underscore prefix invasion vtime: Explicitly account pending user time on

[PATCH 3/4] vtime: Consolidate a bit the ctx switch code

2012-11-14 Thread Frederic Weisbecker
On ia64 and powerpc, vtime context switch only consists in flushing system and user pending time, plus a few arch housekeeping. Consolidate that into a generic implementation. s390 is a special case because pending user and system time accounting there is hard to dissociate. So it's keeping its

[PATCH 4/4] vtime: No need to disable irqs on vtime_account()

2012-11-14 Thread Frederic Weisbecker
vtime_account() is only called from irq entry. irqs are always disabled at this point so we can safely remove the irq disabling guards on that function. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Thomas Gleixner Cc: Steven Rostedt Cc: Paul Gortmaker Cc: Tony

[PATCH 2/4] vtime: Explicitly account pending user time on process tick

2012-11-14 Thread Frederic Weisbecker
All vtime implementations just flush the user time on process tick. Consolidate that in generic code by calling a user time accounting helper. This avoids an indirect call in ia64 and prepare to also consolidate vtime context switch code. Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra

[PATCH 1/4] vtime: Remove the underscore prefix invasion

2012-11-14 Thread Frederic Weisbecker
Prepending irq-unsafe vtime APIs with underscores was actually a bad idea as the result is a big mess in the API namespace that is even waiting to be further extended. Also these helpers are always called from irq safe callers except kvm. Just provide a vtime_account_system_irqsafe() for this

Re: new architectures, time_t __kernel_long_t

2012-11-14 Thread H. Peter Anvin
On 11/14/2012 04:18 AM, Arnd Bergmann wrote: Since we are in the review phase for two new architectures that we should be merging into the mainline kernel, I think we need to come up with a solution for making them use a proper 64-bit time_t. Right now, the only 32-bit user space interface we

Re: [PATCH 2/5] mm: frontswap: lazy initialization to allow tmem backends to build/run as modules

2012-11-14 Thread Konrad Rzeszutek Wilk
> On Sat, Nov 3, 2012 at 2:27 AM, Konrad Rzeszutek Wilk > wrote: > > On Wed, Oct 31, 2012 at 12:05:32PM -0500, Seth Jennings wrote: > >> On 10/31/2012 10:07 AM, Dan Magenheimer wrote: > >> > With the goal of allowing tmem backends (zcache, ramster, Xen tmem) to be > >> > built/loaded as modules

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Stephen Warren
On 11/14/2012 03:54 AM, Thierry Reding wrote: > On Wed, Nov 14, 2012 at 12:23:42PM +0200, Terje Bergström wrote: >> On 14.11.2012 10:49, Thierry Reding wrote: >>> Can you find out how the host1x clock is setup without this >>> change? I was told that freezes can occur when you try to >>> access

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-14 Thread Vladimir Kondratiev
On Wednesday, November 14, 2012 05:41:08 AM Joe Perches wrote: > On Wed, 2012-11-14 at 14:17 +0200, Vladimir Kondratiev wrote: > > Introduce debug_hex_dump() that can be dynamically controlled, similar to > > pr_debug. > > (added Jason Baron, Jim Cromie, GregKH and lkml to cc's) > > [] > > >

Re: drivers/char/random.c: variable type mismatch

2012-11-14 Thread Stephan Mueller
On 08.11.2012 12:47:08, +0100, Theodore Ts'o wrote: Hi Theodore, > On Thu, Nov 08, 2012 at 01:32:38AM +0100, Stephan Mueller wrote: >> >> However, due to the fact that jiffies provides very few entropy, the >> event value provides (almost) none, the majority of entropy comes from >> the

Re: [PATCH] of/mdio: fix build errors when CONFIG_OF isn't set

2012-11-14 Thread Grant Likely
On Wed, 10 Oct 2012 12:31:23 -0400, Sasha Levin wrote: > Commit f9dc9ac5 ("of/mdio: Add dummy functions in of_mdio.h.") has added > empty stubs into of_mdio.h which were not static, this causes build errors > when these symbols were defined across several objects. > > Fix it by marking those

Re: [BUGFIX] PM: Fix active child counting when disabled and forbidden

2012-11-14 Thread Alan Stern
On Wed, 14 Nov 2012, Huang Ying wrote: > > What changes specifically do you mean to be precise? > > I mean the following changes from Alan's email. > > pm_runtime_set_suspended should fail if dev->power.runtime_auto > is clear. > > pm_runtime_forbid should call

Re: [PATCH] ARM: tegra: Implement 6395/1 for Tegra

2012-11-14 Thread Sergei Shtylyov
Hello. On 11/14/2012 05:27 PM, Peter De Schrijver wrote: > This patch implements ARM linux patch 6395/1 for Tegra. See commit > 1a8e41cd672f894bbd74874eac601e6cedf838fb for details. You should give some details in this commit too, like specifying that commit summary in parens. >

Re: [PATCH 03/11] intel-iommu: Fix AB-BA lockdep report

2012-11-14 Thread Shuah Khan
On Tue, 2012-11-13 at 19:34 -0800, Greg Kroah-Hartman wrote: > On Tue, Nov 13, 2012 at 10:04:53PM -0500, Steven Rostedt wrote: > > On Tue, 2012-11-13 at 19:25 -0700, Shuah Khan wrote: > > > On Sun, 2011-12-04 at 13:54 -0500, Steven Rostedt wrote: > > > > From: Roland Dreier > > > > > > > > When

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

2012-11-14 Thread Martin Steigerwald
Am Montag, 12. November 2012 schrieb Arnd Bergmann: > On Monday 12 November 2012, Martin Steigerwald wrote: > > Am Samstag, 10. November 2012 schrieb Arnd Bergmann: > > > > I would also recommend using flashbench to find out the optimum parameters > > > for your device. You can download it from >

Re: [PATCH] spi: omap2-mcspi: remove duplicated include from spi-omap2-mcspi.c

2012-11-14 Thread Grant Likely
On Sun, 7 Oct 2012 21:29:21 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. Applied, thanks. > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) Since I have to manually remove the above cruft from commit logs, can you please

Re: [PATCH 1/2] cgroup: s/CGRP_CLONE_CHILDREN/CGRP_CPUSET_CLONE_CHILDREN/

2012-11-14 Thread Serge Hallyn
Quoting Tejun Heo (t...@kernel.org): > From 6e405c1ae4018d813e8ed9e0bd463d6976aebfa8 Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Tue, 13 Nov 2012 12:21:50 -0800 > > clone_children is only meaningful for cpuset and will stay that way. > Rename the flag to reflect that and update

Re: [PATCH RESEND 0/3] mfd: tps6586x: Convert to irq domain

2012-11-14 Thread Laxman Dewangan
On Wednesday 14 November 2012 12:34 AM, Samuel Ortiz wrote: Hi Laxman, On Tue, Nov 13, 2012 at 07:18:04PM +0530, Laxman Dewangan wrote: This patch series convert the irq implementation to use the irq domain. Accordingly, gpio driver and rtc registration is updated. Reposting the series and

[PATCH V4 1/2] mfd: add TI TPS80031 mfd core driver

2012-11-14 Thread Laxman Dewangan
TPS80031/ TPS80032 Fully Integrated Power Management with Power Path and Battery Charger. The device provides five configurable step-down converters, 11 general purpose LDOs, USB OTG Module, ADC, RTC, 2 PWM, System Voltage Regulator/Battery Charger with Power Path from USB, 32K clock generator.

[PATCH 2/2] regulator: tps80031: add prefix TPS80031 on common defines.

2012-11-14 Thread Laxman Dewangan
Pefix "TPS80031" is added on all defines of tps80031 header to avoid conflict with other header definitions. Update the regualtor driver of tps80031 to use the same name. Signed-off-by: Laxman Dewangan --- Guennadi suggested to have the names of register and its field prefix by TPS80031 to avoid

Re: mtip32xx: Fix padding issue

2012-11-14 Thread Jens Axboe
On 2012-11-14 06:16, Selvan Mani wrote: > Hi Jens, > > Another tiny patch. > > Removed __packed before the struct smart_attr and added __packed at end of > the structure to fix padding issue. Thanks, applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC/PATCH] mtd_blkdevs: Replace request handler kthread with a workqueue

2012-11-14 Thread Ezequiel Garcia
On Sat, Nov 10, 2012 at 1:08 PM, Ezequiel Garcia wrote: > By replacing a kthread with a workqueue, the code is now a bit clearer. > There's also a slight reduction of code size (numbers apply for x86): > Before: >textdata bss dec hex filename >3248 36 03284

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Thierry Reding
On Wed, Nov 14, 2012 at 05:29:33PM +0200, Terje Bergström wrote: > On 14.11.2012 17:01, Thierry Reding wrote: > > Funny. I just tested with this line removed and I also get the freeze. > > With the line I don't get the freeze. Does the freeze only occur with > > additional patches on top? If so I

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Terje Bergström
On 14.11.2012 17:01, Thierry Reding wrote: > Funny. I just tested with this line removed and I also get the freeze. > With the line I don't get the freeze. Does the freeze only occur with > additional patches on top? If so I think we should keep the line in for > now because it is what most people

[patch 3/7] fs, epoll: Add procfs fdinfo helper v2

2012-11-14 Thread Cyrill Gorcunov
This allow us to print out eventpoll target file descriptor, events and data, the /proc/pid/fdinfo/fd consists of | pos: 0 | flags: 02 | tfd:5 events: 1d data: enabled: 1 [avagin@: fix for unitialized ret variable] Signed-off-by: Cyrill Gorcunov CC:

[patch 4/7] fdinfo: Show sigmask for signalfd fd v3

2012-11-14 Thread Cyrill Gorcunov
The sigmask is read in lockless manner for a sake of code simplicity, thus if precise data needed here the tasks which refer to the signalfd should be stopped before read. Signed-off-by: Cyrill Gorcunov CC: Pavel Emelyanov CC: Oleg Nesterov CC: Andrey Vagin CC: Al Viro CC: Alexey Dobriyan

[patch 2/7] fs, eventfd: Add procfs fdinfo helper

2012-11-14 Thread Cyrill Gorcunov
This allow us to print out raw counter value. The /proc/pid/fdinfo/fd output is | pos: 0 | flags: 04002 | eventfd-count: 5a Signed-off-by: Cyrill Gorcunov CC: Pavel Emelyanov CC: Oleg Nesterov CC: Andrey Vagin CC: Al Viro CC: Alexey Dobriyan CC: Andrew Morton CC:

[patch 5/7] fs, exportfs: Escape nil dereference if no s_export_op present

2012-11-14 Thread Cyrill Gorcunov
This routine will be used to generate a file handle in fdinfo output for inotify subsystem, where if no s_export_op present the general export_encode_fh should be used. Thus add a test if s_export_op present inside exportfs_encode_fh itself. Signed-off-by: Cyrill Gorcunov CC: Pavel Emelyanov

[patch 6/7] fs, exportfs: Add exportfs_encode_inode_fh helper

2012-11-14 Thread Cyrill Gorcunov
We will need this helper in the next patch to provide a file handle for inotify marks in /proc/pid/fdinfo output. The patch is rather providing the way to use inodes directly when dentry is not available (like in case of inotify system). Signed-off-by: Cyrill Gorcunov CC: Pavel Emelyanov CC:

[patch 7/7] fs, notify: Add procfs fdinfo helper v6

2012-11-14 Thread Cyrill Gorcunov
This allow us to print out fsnotify details such as watchee inode, device, mask and optionally a file handle. For inotify objects if kernel compiled with exportfs support the output will be | pos: 0 | flags: 0200 | inotify wd:3 ino: 9e7e sdev: 800013 mask:

[patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers

2012-11-14 Thread Cyrill Gorcunov
This patch brings ability to print out auxiliary data associated with file in procfs interface /proc/pid/fdinfo/fd. In particular further patches make eventfd, evenpoll, signalfd and fsnotify to print additional information complete enough to restore these objects after checkpoint. To simplify

[patch 0/7] Providing additional information in fdinfo sufficient for c/r, v3

2012-11-14 Thread Cyrill Gorcunov
Hello guys, here is updated series for fdinfo via procfs. The main change is that we've dropped carrying fhandle with inotify mark but provide it on demand. This is achieved by adding a small helper into exportfs code. Please review, thanks a lot for all earlier comments! Cyrill -- To

[PATCH v2 04/15] nfsd: make conf_id_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't waste resources if server is not running.

Re: [PATCH v3] loop: Limit the number of requests in the bio list

2012-11-14 Thread Jens Axboe
On 2012-11-14 02:02, Lukáš Czerner wrote: > On Tue, 13 Nov 2012, Jens Axboe wrote: > >> Date: Tue, 13 Nov 2012 09:42:58 -0700 >> From: Jens Axboe >> To: Lukas Czerner >> Cc: linux-kernel@vger.kernel.org, linux-fsde...@vger.kernel.org, >> jmo...@redhat.com, a...@linux-foundation.org >>

[PATCH v2 10/15] nfsd: make sessionid_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds established sessions state and closely associated with nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace too. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and

[PATCH v2 09/15] nfsd: make lockowner_ino_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds file lock owners and closely associated with nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace too. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't

[PATCH v2 01/15] nfsd: use service net instead of hard-coded net where possible

2012-11-14 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4state.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 37b19f7..743c622 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2281,7 +2281,7 @@

[PATCH v2 15/15] nfsd: make laundromat network namespace aware

2012-11-14 Thread Stanislav Kinsbursky
This patch moves laundromat_work to nfsd per-net context, thus allowing to run multiple laundries. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |2 ++ fs/nfsd/nfs4state.c | 21 + 2 files changed, 15 insertions(+), 8 deletions(-) diff --git

[PATCH v2 12/15] nfsd: make close_lru list per net

2012-11-14 Thread Stanislav Kinsbursky
This list holds nfs4 clients (open) stateowner queue for last close replay, which are network namespace aware. So let's make this list per network namespace too. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |6 ++ fs/nfsd/nfs4state.c | 20 +++- 2 files

[PATCH v2 14/15] nfsd: pass nfsd_net instead of net to grace enders

2012-11-14 Thread Stanislav Kinsbursky
Passing net context looks as overkill. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4recover.c | 14 ++ fs/nfsd/nfs4state.c |8 +++- fs/nfsd/state.h |2 +- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/fs/nfsd/nfs4recover.c

[PATCH v2 13/15] nfsd: use service net instead of hard-coded init_net

2012-11-14 Thread Stanislav Kinsbursky
This patch replaces init_net by SVC_NET(), where possible and also passes proper context to nested functions where required. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4proc.c | 13 +++ fs/nfsd/nfs4state.c | 63 +++

[PATCH v2 11/15] nfsd: make client_lru list per net

2012-11-14 Thread Stanislav Kinsbursky
This list holds nfs4 clients queue for lease renewal, which are network namespace aware. So let's make this list per network namespace too. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |5 + fs/nfsd/nfs4state.c | 16 2 files changed, 13 insertions(+), 8

[PATCH v2 07/15] nfsd: make unconf_name_tree per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |4 fs/nfsd/nfs4state.c | 42 +++--- 2 files changed, 23

[PATCH v2 08/15] nfsd: make ownerstr_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds open owner state and closely associated with nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace too. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't

[PATCH v2 06/15] nfsd: make unconf_id_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace. Note: this hash can be allocated in per-net operations. But it looks better to allocate it on nfsd state start and thus don't waste resources if server is not running.

[PATCH v2 05/15] nfsd: make conf_name_tree per net

2012-11-14 Thread Stanislav Kinsbursky
This tree holds nfs4_clients info, which are network namespace aware. So let's make it per network namespace. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |4 fs/nfsd/nfs4state.c | 31 --- 2 files changed, 20 insertions(+), 15 deletions(-)

[PATCH v2 03/15] nfsd: make reclaim_str_hashtbl allocated per net

2012-11-14 Thread Stanislav Kinsbursky
This hash holds nfs4_clients info, which are network namespace aware. So let's make it allocated per network namespace. Note: this hash is used only by legacy tracker. So let's allocate hash in tracker init. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h | 12 ++

[PATCH v2 02/15] nfsd: make nfs4_client network namespace dependent

2012-11-14 Thread Stanislav Kinsbursky
And use it's net where possible. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4callback.c |2 +- fs/nfsd/nfs4recover.c |9 +++-- fs/nfsd/nfs4state.c| 15 +-- fs/nfsd/state.h|1 + 4 files changed, 14 insertions(+), 13 deletions(-) diff --git

[RFC PATCH v2 00/15] NFSd state containerization

2012-11-14 Thread Stanislav Kinsbursky
This patch set is my first attempt to containerize NFSv4 state - i.e. make it works in networks namespace context. I admit, that some of this new code could be partially rewritten during future NFSd containerization. But the overall idea look more or less correct to me. So, the main things here

RE: [PATCH v3] clk: Add support for fundamental zynq clks

2012-11-14 Thread Michal Simek
> -Original Message- > From: Mike Turquette [mailto:mturque...@ti.com] > Sent: Wednesday, November 14, 2012 12:55 AM > To: Josh Cartwright; Michal Simek > Cc: Soren Brinkmann; Rob Herring; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; John Linn; a...@kernel.org >

RE: [PATCH v2 2/5] clk: Add support for fundamental zynq clks

2012-11-14 Thread Michal Simek
> -Original Message- > From: Josh Cartwright [mailto:josh.cartwri...@ni.com] > Sent: Tuesday, November 13, 2012 11:03 PM > To: Soren Brinkmann; Michal Simek > Cc: Mike Turquette; Rob Herring; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; John Linn;

Re: [PATCH] Yama: add RCU to drop read locking

2012-11-14 Thread Serge Hallyn
Quoting Kees Cook (keesc...@chromium.org): > Stop using spinlocks in the read path. Add RCU list to handle the readers. Looks good to me. BTW, kfree_rcu is neat :) Reviewed-by: Serge E. Hallyn > Signed-off-by: Kees Cook > --- > security/yama/yama_lsm.c | 43

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Thierry Reding
On Wed, Nov 14, 2012 at 10:35:31AM +0200, Terje Bergström wrote: > On 09.11.2012 15:20, Thierry Reding wrote: > > This commit adds the host1x node along with its children to the Tegra20 > > DTSI. Furthermore the OF auxiliary data table is updated to have proper > > names assigned to the platform

<    1   2   3   4   5   6   7   8   9   10   >