[PATCH 1/2] iommu: Include linux/types.h

2012-07-25 Thread Thierry Reding
The linux/iommu.h header uses types defined in linux/types.h but doesn't include it. Signed-off-by: Thierry Reding --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index a71df92..9cbcc6a 100644 ---

[PATCH RESEND] Ext4: No need to add inode to orphan list during hole punch

2012-07-25 Thread Ashish Sangwan
While performing punch hole for an inode, i_disksize is not changed. So, there is no need to add the inode to orphan list. Signed-off-by: Ashish Sangwan Signed-off-by: Namjae Jeon --- fs/ext4/extents.c |4 1 file changed, 4 deletions(-) diff --git a/fs/ext4/extents.c

Re: [Patch 4/7] softirq: Use hotplug thread infrastructure

2012-07-25 Thread JoonSoo Kim
2012/7/16 Thomas Gleixner : > - static const struct sched_param param = { > - .sched_priority = MAX_RT_PRIO-1 > - }; > - > - p = per_cpu(ksoftirqd, hotcpu); > - per_cpu(ksoftirqd, hotcpu) = NULL; > -

[PATCH] vfs: don't let do_last pass negative dentry to audit_inode

2012-07-25 Thread Jeff Layton
I can reliably reproduce the following panic by simply setting an audit rule on a recent 3.5.0+ kernel: BUG: unable to handle kernel NULL pointer dereference at 0040 IP: [] audit_copy_inode+0x10/0x90 PGD 7acd9067 PUD 7b8fb067 PMD 0 Oops: [#86] SMP Modules linked in: nfs

[PATCH] Ext4: No need to add inode to orphan list during hole punch

2012-07-25 Thread Ashish Sangwan
Signed-off-by: Ashish Sangwan Signed-off-by: Namjae Jeon --- fs/ext4/extents.c |4 1 file changed, 4 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 91341ec..3e902f9 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -4801,9 +4801,6 @@ int

Re: [Cocci] coccinelle hung on mini_lock.cocci

2012-07-25 Thread Fengguang Wu
Hi Julia, On Wed, Jul 25, 2012 at 04:15:19PM +0200, Julia Lawall wrote: > Do you use a timeout when you run Coccinelle You could put the argument > --timeout 120. Good to know that! I'll definitely try it. > The function has a goto from the very end to the very beginning, and there > are a lot

virtio(-scsi) vs. chained sg_lists (was Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list)

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 15:26, Boaz Harrosh ha scritto: >>> In SCSI land most LLDs should support chaining just by virtu of using the >>> for_each_sg macro. That all it takes. Your code above does support it. >> >> Yes, it supports it but still has to undo them before passing to virtio. >> >> What my LLD

RE: [PATCH 1/1] Drivers: hv: Cleanup the guest ID computation

2012-07-25 Thread KY Srinivasan
This is the patch I sent out yesterday for Linux to clean up the guest ID mess. For FreeBSD, you can use the following constant: HV_FREEBSD_VENDOR_ID0x8200 and use the function to generate the ID appropriately. Larry, I will forward you the proposal for guest ID in a separate

Re: [Cocci] coccinelle hung on mini_lock.cocci

2012-07-25 Thread Julia Lawall
Do you use a timeout when you run Coccinelle You could put the argument --timeout 120. The function has a goto from the very end to the very beginning, and there are a lot of ifs in between. It seems possible that there is too much information, and it gets too slow. I will look further. julia

Re: [PATCH 4/4] fbcon: optimize parameters parsing loop.

2012-07-25 Thread paul
From 67cecd09d850542e00a1d9a29567232d1224cf23 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Thu, 12 Jan 2012 19:40:24 +0100 Subject: [PATCH 4/4] fbcon: optimize parameters parsing loop. Signed-off-by: Paul Cercueil --- drivers/video/console/fbcon.c |8 +++- 1 file changed, 7

Re: [PATCH 2/2] cpu: intel, amd: mask cleared cpuid features

2012-07-25 Thread H. Peter Anvin
With the necessary infrastructure, yes. Trap and emulate is montrivial work. Vladimir Davydov wrote: >On 07/25/2012 04:57 AM, H. Peter Anvin wrote: >> On 07/24/2012 04:09 AM, Vladimir Davydov wrote: >>> We have not encountered this situation in our environments and I >hope we >>> won't :-) >>>

Re: [PATCH 4/4] fbcon: optimize parameters parsing loop.

2012-07-25 Thread paul
Oh, I'm really sorry, I truely am. It looks like that 4th patch is an old version, not the one that should have been sent. Next message will be the correct patch. My apologies about that. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

RE: [PATCH v2 6/6] arm/dts: am33xx rtc node

2012-07-25 Thread Mohammed, Afzal
Hi Sergei, On Wed, Jul 25, 2012 at 16:50:56, Sergei Shtylyov wrote: > > + rtc@44e3e000 { > > Address postfix in the node name without "reg" property? As per [1], "The unit-address is included if the node describes a device with an address". Here even though reg property is not

RE: [PATCH 08/17] Tools: hv: Gather subnet information

2012-07-25 Thread KY Srinivasan
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Tuesday, July 24, 2012 9:14 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; o...@aepfle.de; >

RE: [PATCH 03/17] Drivers: hv: kvp: Cleanup error handling in KVP

2012-07-25 Thread KY Srinivasan
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Tuesday, July 24, 2012 9:11 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; virtualizat...@lists.osdl.org; o...@aepfle.de; >

RE: [PATCH v2 1/6] rtc: omap: kicker mechanism support

2012-07-25 Thread Mohammed, Afzal
Hi Sergei, On Wed, Jul 25, 2012 at 16:45:29, Sergei Shtylyov wrote: > > +/* OMAP_RTC_KICKER values */ > > +#defineKICK0_VALUE (0x83e70b13) > > +#defineKICK1_VALUE (0x95a4f1e0) > > Parens not needed around simple literals. Thanks for catching

Re: [RFC PATCH 05/13] driver core: firmware loader: introduce firmware_buf

2012-07-25 Thread Borislav Petkov
On Wed, Jul 25, 2012 at 01:00:05AM +0800, Ming Lei wrote: > This patch introduces struct firmware_buf to describe the buffer > which holds the firmware data, which will make the following > cache_firmware/uncache_firmware implemented easily. > > Signed-off-by: Ming Lei > --- >

Re: [PATCH v2 1/2] lis3: add generic DT matching code

2012-07-25 Thread Daniel Mack
On 25.07.2012 14:45, Daniel Mack wrote: > This patch adds logic to parse lis3 properties from a device tree node > and store them in a freshly allocated lis3lv02d_platform_data. > > Note that the actual match tables are left out here. This part should > happen in the drivers that bind to the

Re: Attaching a process to cgroups

2012-07-25 Thread Mike Galbraith
On Wed, 2012-07-25 at 17:36 +0400, Alexey Vlasov wrote: > Hi. > > Now I've got almost 5k used groups and it got even worse. Now I've got > almost 5k used groups and it got even worse. > > If only write was working slower, now everything connected with cgroups > is hardly working. > > Could it

Re: [PATCH v2] staging: gdm72xx: fix reference counting in gdm_wimax_event_init

2012-07-25 Thread Ben Chan
Hi Devendra, Thanks for cleaning up the driver. If I understand the code correctly, the original author wanted to initialize wm_event once and reuse it for multiple devices, and thus reference counted it with ref_cnt. For instance, each time gdm_usb_probe() is called, it may call

FYI: Example [Re: [PATCH] scripts/kernel-doc: added support for html5]

2012-07-25 Thread Dan Luedtke
On Wed, 2012-07-25 at 15:38 +0200, Dan Luedtke wrote: > New output option html5 writes validating HTML5 and adds > CSS classes ready to be selected by third-party stylesheets. An example, generated with the patched version of kernel-doc: https://www.nonattached.net/lanyfs/doc-linux.php Uses CSS

Re: [PATCH] xc5000: Add MODULE_FIRMWARE statements

2012-07-25 Thread Antti Palosaari
On 07/25/2012 04:24 PM, Devin Heitmueller wrote: On Wed, Jul 25, 2012 at 9:15 AM, Tim Gardner wrote: This will make modinfo more useful with regard to discovering necessary firmware files. Cc: Mauro Carvalho Chehab Cc: Michael Krufky Cc: Eddi De Pieri Cc: linux-me...@vger.kernel.org

[PATCH] scripts/kernel-doc: added support for html5

2012-07-25 Thread Dan Luedtke
New output option html5 writes validating HTML5 and adds CSS classes ready to be selected by third-party stylesheets. Signed-off-by: Dan Luedtke --- scripts/kernel-doc | 255 ++-- 1 file changed, 249 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] xc5000: Add MODULE_FIRMWARE statements

2012-07-25 Thread Tim Gardner
On 07/25/2012 07:24 AM, Devin Heitmueller wrote: > On Wed, Jul 25, 2012 at 9:15 AM, Tim Gardner > wrote: >> This will make modinfo more useful with regard >> to discovering necessary firmware files. >> >> Cc: Mauro Carvalho Chehab >> Cc: Michael Krufky >> Cc: Eddi De Pieri >> Cc:

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 15:26, Boaz Harrosh ha scritto: > On 07/25/2012 03:49 PM, Paolo Bonzini wrote: > >> >> Except here the destination array has to be given to virtio, which >> doesn't (yet) understand chaining. I'm using for_each_sg rather than a >> simple memcpy exactly because I want to flatten the

Re: x86/mm: Limit 2/4M size calculation to x86_32

2012-07-25 Thread Avi Kivity
On 07/25/2012 04:24 PM, Stefan Bader wrote: >>> ... >>> ifdef CONFIG_X86_32 >>> /* >>> * Don't use a large page for the first 2/4MB of memory >>> * because there are often fixed size MTRRs in there >>> * and overlapping MTRRs into large pages can cause >>>

[PATCH] ia64: rename platform_* to ia64_platform_*

2012-07-25 Thread Fengguang Wu
On Wed, Jul 25, 2012 at 01:18:39AM -0700, Joe Perches wrote: > On Wed, 2012-07-25 at 16:06 +0800, Fengguang Wu wrote: > > The macro name is too generic and conflicts with > > snd_soc_dai_link.platform_name, which triggers lots of ALSA build errors. > > Is platform_name particularly special? > >

Re: [08/36] AArch64: Kernel booting and initialisation

2012-07-25 Thread Christopher Covington
On 07/25/2012 04:47 AM, Catalin Marinas wrote: > On Tue, Jul 24, 2012 at 08:42:28PM +0100, Christopher Covington wrote: >> On 01/-10/-28163 02:59 PM, Catalin Marinas wrote: >>> +- Architected timers >>> + CNTFRQ must be programmed with the timer frequency. >>> + If entering the kernel at EL1,

Re: Attaching a process to cgroups

2012-07-25 Thread Alexey Vlasov
Hi. Now I've got almost 5k used groups and it got even worse. Now I've got almost 5k used groups and it got even worse. If only write was working slower, now everything connected with cgroups is hardly working. Could it be connected with synchronize_rcu()? Hanging on read(): # strace -ttT cat

Re: [PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-25 Thread Arnd Bergmann
Hi Tomoya, On Tuesday 24 July 2012, Tomoya MORINAGA wrote: > Let me know this patch status. > If you have still any concern, let me know. Sorry for the late reply. > BTW, now I remember, Did you take part in LinuxConJapan last month ? > I also took part in this event as volunteer staff. >

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Boaz Harrosh
On 07/25/2012 03:49 PM, Paolo Bonzini wrote: > > Except here the destination array has to be given to virtio, which > doesn't (yet) understand chaining. I'm using for_each_sg rather than a > simple memcpy exactly because I want to flatten the input scatterlist > onto consecutive scatterlist

Re: coccinelle hung on mini_lock.cocci

2012-07-25 Thread Julia Lawall
Thanks for the report! I will look into it. julia On Wed, 25 Jul 2012, Fengguang Wu wrote: > Hi all, > > This command seem to hang for ever on the current linus/master. > It happens only on mini_lock.cocci _and_ mm/shmem.c > I've updated coccinelle to its git release, however it didn't help..

Re: x86/mm: Limit 2/4M size calculation to x86_32

2012-07-25 Thread Stefan Bader
On 25.07.2012 14:32, Avi Kivity wrote: > On 07/25/2012 02:14 PM, Stefan Bader wrote: >> On 25.07.2012 12:44, Avi Kivity wrote: >>> On 07/24/2012 06:52 PM, Cong Wang wrote: >>> > From 6b679d1af20656929c0e829f29eed60b0a86a74f Mon Sep 17 00:00:00 2001 > From: Stefan Bader > Date: Fri, 13

Re: [PATCH] xc5000: Add MODULE_FIRMWARE statements

2012-07-25 Thread Devin Heitmueller
On Wed, Jul 25, 2012 at 9:15 AM, Tim Gardner wrote: > This will make modinfo more useful with regard > to discovering necessary firmware files. > > Cc: Mauro Carvalho Chehab > Cc: Michael Krufky > Cc: Eddi De Pieri > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner > --- >

[PATCH] xc5000: Add MODULE_FIRMWARE statements

2012-07-25 Thread Tim Gardner
This will make modinfo more useful with regard to discovering necessary firmware files. Cc: Mauro Carvalho Chehab Cc: Michael Krufky Cc: Eddi De Pieri Cc: linux-me...@vger.kernel.org Signed-off-by: Tim Gardner --- drivers/media/common/tuners/xc5000.c |8 ++-- 1 file changed, 6

RE: [PATCH 1/1] Drivers: hv: Cleanup the guest ID computation

2012-07-25 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Wednesday, July 25, 2012 4:17 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com > Subject: Re: [PATCH 1/1] Drivers: hv: Cleanup

Re: [PATCH 48/52] tools/power: turbostat: fix large c1% issue

2012-07-25 Thread Konrad Rzeszutek Wilk
On Tue, Jul 24, 2012 at 11:41:44PM -0400, Len Brown wrote: > From: Len Brown > > Under some conditions, c1% was displayed as very large number, > much higher than 100%. > > c1% is not measured, it is derived as "that, which is left over" > from other counters. However, the other counters are

Re: [PATCH RESEND v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread merez
Looks good to me. Reviewed-by: Maya Erez On Wed, July 25, 2012 4:31 am, Yaniv Gardi wrote: > This feature delete the unmap memory region of the eMMC card, > by writing to a specific register in the EXT_CSD > unmap region is the memory region that were previously deleted > (by erase, trim or

Re: [PATCH RESEND v8 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-25 Thread merez
Looks good to me. Reviewed-by: Maya Erez On Wed, July 25, 2012 4:31 am, Yaniv Gardi wrote: > Adding a new ioctl to support sanitize operation in eMMC > cards version 4.5. > The sanitize ioctl support helps performing this operation > via user application. > > Signed-off-by: Yaniv Gardi > > ---

Re: [GIT PULL v2] Blackfin changes for 3.6-rc1

2012-07-25 Thread Bob Liu
On Wed, Jul 25, 2012 at 3:21 AM, Theodore Ts'o wrote: > On Tue, Jul 24, 2012 at 01:54:40PM +0800, Bob Liu wrote: >> >> This is the new pull request about blackfin changes for 3.6-rc1. >> I've rebased my tree to 3.5. > > To save Linus having to send you a chastising e-mail (and because I'll >

Re: [RFC][PATCH 0/14] PM / shmobile: Pass power domain information via DT (was: Re: [RFD] PM: Device tree representation of power domains)

2012-07-25 Thread Arnd Bergmann
On Tuesday 24 July 2012, Rafael J. Wysocki wrote: > On Tuesday, July 24, 2012, Arnd Bergmann wrote: > > On Tuesday 24 July 2012, Rafael J. Wysocki wrote: > > > On Tuesday, July 24, 2012, Arnd Bergmann wrote: > > > > On Saturday 21 July 2012, Rafael J. Wysocki wrote: > > > > > > > > > > Sorry for

[PATCH v2 09/15] NFSd: make nfsd4_manager allocated per network namespace context.

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |2 ++ fs/nfsd/nfs4state.c | 32 +++- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index 3936563..e99767d 100644 --- a/fs/nfsd/netns.h +++

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Ming Lei
On Wed, Jul 25, 2012 at 8:50 PM, Ming Lei wrote: > - no harm to thaw all user space tasks before thawing all kernel threads > (there isn't any dependency about the thawing order) Sorry, I mean there isn't any constraint about the order, but the 'dependency' may be just what the patch

[PATCH v2 15/15] NFSd: make boot_time variable per network namespace

2012-07-25 Thread Stanislav Kinsbursky
NFSd's boot_time represents grace period start point in time. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |1 + fs/nfsd/nfs4state.c | 39 +++ fs/nfsd/state.h |1 + 3 files changed, 25 insertions(+), 16 deletions(-) diff --git

[PATCH v2 14/15] NFSd: make grace end flag per network namespace

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |1 + fs/nfsd/nfs4state.c |8 +++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/nfsd/netns.h b/fs/nfsd/netns.h index e99767d..b6deebd 100644 --- a/fs/nfsd/netns.h +++ b/fs/nfsd/netns.h @@ -36,6 +36,7 @@

[PATCH v2 12/15] LockD: pass actual network namespace to grace period management functions

2012-07-25 Thread Stanislav Kinsbursky
Passed network namespace replaced hard-coded init_net Signed-off-by: Stanislav Kinsbursky --- fs/lockd/grace.c|6 ++ fs/lockd/svc.c | 16 +--- fs/lockd/svc4proc.c | 13 +++-- fs/lockd/svclock.c | 16

[PATCH v2 13/15] Lockd: move grace period management from lockd() to per-net functions

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/lockd/svc.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 68271c2..31a63f8 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -128,8 +128,6 @@ lockd(void *vrqstp) { int

[PATCH v2 11/15] LockD: manage grace list per network namespace

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/lockd/grace.c | 14 +++--- fs/lockd/netns.h |1 + fs/lockd/svc.c |1 + 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/fs/lockd/grace.c b/fs/lockd/grace.c index 183cc1f..8dbaff7 100644 --- a/fs/lockd/grace.c +++

[PATCH v2 10/15] SUNRPC: service request network namespace helper introduced

2012-07-25 Thread Stanislav Kinsbursky
This is a cleanup patch - makes code looks simplier. It replaces widely used rqstp->rq_xprt->xpt_net by introduced SVC_NET(rqstp). Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c|2 +- fs/nfs/callback_xdr.c |4 ++-- fs/nfsd/export.c |4 ++--

[PATCH v2 08/15] LockD: make lockd manager allocated per network namespace

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/lockd/netns.h |2 ++ fs/lockd/svc.c | 18 ++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/fs/lockd/netns.h b/fs/lockd/netns.h index 94653ae..e78650c 100644 --- a/fs/lockd/netns.h +++ b/fs/lockd/netns.h @@ -1,6

[PATCH v2 07/15] LockD: manage grace period per network namespace

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/lockd/netns.h |2 ++ fs/lockd/svc.c | 17 +++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/fs/lockd/netns.h b/fs/lockd/netns.h index 44c8f0b..94653ae 100644 --- a/fs/lockd/netns.h +++ b/fs/lockd/netns.h @@ -7,6

[PATCH v2 06/15] Lockd: add more debug to host shutdown functions

2012-07-25 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 8cbf53d..0084ab8 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c @@ -608,11 +608,10 @@ nlm_shutdown_hosts_net(struct net

[PATCH v2 05/15] Lockd: host complaining function introduced

2012-07-25 Thread Stanislav Kinsbursky
Just a small cleanup. Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c | 57 +-- 1 files changed, 30 insertions(+), 27 deletions(-) diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 6c56090..8cbf53d 100644 --- a/fs/lockd/host.c

[PATCH v2 04/15] LockD: manage used host count per networks namespace

2012-07-25 Thread Stanislav Kinsbursky
This patch introduces moves nrhosts in per-net data. It also adds kernel warning to nlm_shutdown_hosts_net() about remaining hosts in specified network namespace context. Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c | 18 ++ fs/lockd/netns.h |1 + 2 files

[PATCH v2 03/15] LockD: manage garbage collection timeout per networks namespace

2012-07-25 Thread Stanislav Kinsbursky
This patch moves next_gc to per-net data. Note: passed network can be NULL (when Lockd kthread is exiting of Lockd module is removing). Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c | 12 +--- fs/lockd/netns.h |1 + 2 files changed, 10 insertions(+), 3 deletions(-)

[PATCH v2 02/15] LockD: make garbage collector network namespace aware.

2012-07-25 Thread Stanislav Kinsbursky
--- fs/lockd/host.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/fs/lockd/host.c b/fs/lockd/host.c index 2c5f41b..991274a 100644 --- a/fs/lockd/host.c +++ b/fs/lockd/host.c @@ -45,7 +45,7 @@ static unsigned long next_gc; static unsigned

[PATCH v2 01/15] LockD: mark host per network namespace on garbage collect

2012-07-25 Thread Stanislav Kinsbursky
This is required for per-network NLM shutdown and cleanup. This patch passes init_net for a while. Signed-off-by: Stanislav Kinsbursky --- fs/lockd/host.c |3 ++- fs/lockd/svcsubs.c | 19 +-- include/linux/lockd/lockd.h |2 +- 3 files changed, 16

[PATCH v2 00/15] Lockd: grace period containerization

2012-07-25 Thread Stanislav Kinsbursky
Bruce, I feel this patch set is ready for inclusion. v2: 1) Rebase on Bruce's "for-3.6" branch. This patch set makes grace period and hosts reclaiming network namespace aware. Main ideas: 1) moving of unsigned long next_gc; unsigned long nrhosts; struct delayed_work

[GIT PULL] spi updates for 3.6

2012-07-25 Thread Mark Brown
The following changes since commit 6887a4131da3adaab011613776d865f4bcfb5678: Linux 3.5-rc5 (2012-06-30 16:08:57 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git tags/spi-3.6 for you to fetch changes up to

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Ming Lei
On Wed, Jul 25, 2012 at 8:43 PM, Oliver Neukum wrote: > This is likely unwise. You'd better introduce a special flag for kernel > threads > that should be thawed only after user space will have been thawed. IMO, it is not necessary to introduce one extra flag for the purpose since -

Re: [PATCH v2] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 14:47, Boaz Harrosh ha scritto: > > NACK-by: Boaz Harrosh > > > Apart from the HighMem pages problem, where in previous sg_set_buf() > code was the marker copied? It was not because it is not needed because > the allocation of sg took care of that. For example in 64bit the is no >

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 14:34, Boaz Harrosh ha scritto: >>> for_each_sg(table->sgl, sg_elem, table->nents, i) >>> - sg_set_buf([idx++], sg_virt(sg_elem), >>> sg_elem->length); >>> + sg_set_page([idx++], sg_page(sg_elem), >>> sg_elem->length, >>>

Re: [PATCH v2] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Boaz Harrosh
On 07/25/2012 03:34 PM, Paolo Bonzini wrote: > Il 25/07/2012 14:13, Wang Sen ha scritto: >> When using the commands below to write some data to a virtio-scsi LUN of the >> QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will >> crash. >> >> # sudo mkfs.ext4 /dev/sdb

[PATCH v2 1/2] lis3: add generic DT matching code

2012-07-25 Thread Daniel Mack
This patch adds logic to parse lis3 properties from a device tree node and store them in a freshly allocated lis3lv02d_platform_data. Note that the actual match tables are left out here. This part should happen in the drivers that bind to the individual busses (SPI/I2C/PCI). Also adds some DT

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Oliver Neukum
On Wednesday 25 July 2012 20:35:28 Ming Lei wrote: > CC usb guys and list > > On Wed, Jul 25, 2012 at 1:53 AM, Linus Torvalds > wrote: > > > > I really think the isight thing is a totally different thing entirely. > > > > And quite frankly, that's just a BUG in the USB implementation. If the > >

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Boaz Harrosh
On 07/25/2012 02:44 PM, Sen Wang wrote: > 2012/7/25 Paolo Bonzini : >> Il 25/07/2012 10:29, Wang Sen ha scritto: >>> When using the commands below to write some data to a virtio-scsi LUN of the >>> QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will >>> crash. >>> >>> #

[PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-07-25 Thread Philip, Avinash
Low Threshold Brightness should be configured to have a linear relation in brightness scale. This patch adds device tree support for low threshold brightness as optional one for pwm_backlight. Signed-off-by: Philip, Avinash --- :100644 100644 1e4fc72... 5c54380... M

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Ming Lei
CC usb guys and list On Wed, Jul 25, 2012 at 1:53 AM, Linus Torvalds wrote: > > I really think the isight thing is a totally different thing entirely. > > And quite frankly, that's just a BUG in the USB implementation. If the > USB ID changes, it shouldn't be considered a "resume" thing at all,

Re: [PATCH] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Boaz Harrosh
On 07/25/2012 12:41 PM, Paolo Bonzini wrote: > Il 25/07/2012 11:22, Boaz Harrosh ha scritto: >> for_each_sg(table->sgl, sg_elem, table->nents, i) >> -sg_set_buf([idx++], sg_virt(sg_elem), >> sg_elem->length); >> +sg_set_page([idx++],

Re: [PATCH v2] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Paolo Bonzini
Il 25/07/2012 14:13, Wang Sen ha scritto: > When using the commands below to write some data to a virtio-scsi LUN of the > QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. > > # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) > # sudo

Re: x86/mm: Limit 2/4M size calculation to x86_32

2012-07-25 Thread Avi Kivity
On 07/25/2012 02:14 PM, Stefan Bader wrote: > On 25.07.2012 12:44, Avi Kivity wrote: >> On 07/24/2012 06:52 PM, Cong Wang wrote: >> From 6b679d1af20656929c0e829f29eed60b0a86a74f Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Fri, 13 Jul 2012 15:16:33 +0200 Subject: [PATCH]

[PATCH v2] power_supply: Added helper function to get the ps object from supplied_to list

2012-07-25 Thread Ramakrishna Pallala
This patch adds a helper function in the power supply core to get the power supply object from supplied_to list based on power supply attribute. Signed-off-by: Ramakrishna Pallala --- drivers/power/power_supply_core.c | 19 +++ include/linux/power_supply.h |3 +++ 2

Re: [PATCH v2] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Ben Hutchings
On Wed, 2012-07-25 at 20:13 +0800, Wang Sen wrote: > When using the commands below to write some data to a virtio-scsi LUN of the > QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. > > # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) > #

Re: [PATCH v2 2/2] proc: do not allow negative offsets on /proc//environ

2012-07-25 Thread Oleg Nesterov
On 07/24, Djalal Harouni wrote: > > static int mem_open(struct inode *inode, struct file *file) > { > - return __mem_open(inode, file, PTRACE_MODE_ATTACH); > + int ret = __mem_open(inode, file, PTRACE_MODE_ATTACH); > + > + /* OK to pass negative loff_t, we can catch out-of-range */ >

[PATCH v2] scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-07-25 Thread Wang Sen
When using the commands below to write some data to a virtio-scsi LUN of the QEMU guest(32-bit) with 1G physical memory(qemu -m 1024), the qemu will crash. # sudo mkfs.ext4 /dev/sdb (/dev/sdb is the virtio-scsi LUN.) # sudo mount /dev/sdb /mnt # dd if=/dev/zero

Re: [PATCH 03/11] perf kvm: guest userspace samples should not be lumped with host uspace

2012-07-25 Thread Jiri Olsa
On Fri, Jul 20, 2012 at 05:25:48PM -0600, David Ahern wrote: > e.g., perf kvm --host --guest report -i perf.data --stdio -D > shows: > > 1 599127912065356 0x143b8 [0x48]: PERF_RECORD_SAMPLE(IP, 5): 5671/5676: > 0x7fdf95a061c0 period: 1 addr: 0 > ... chain: nr:2 > . 0: ff80 >

Re: [PATCH 02/11] perf kvm: set name for VM process in guest machine

2012-07-25 Thread Jiri Olsa
On Fri, Jul 20, 2012 at 05:25:47PM -0600, David Ahern wrote: > COMM events are not generated in the context of a guest machine, so the > thread name is never set for the VMM process. For example, the qemu-kvm > name applies to the process in the host machine, not the guest machine. > So, samples

Re: [PATCH 04/11] perf kvm: fix bug resolving guest kernel syms - v2

2012-07-25 Thread Jiri Olsa
On Fri, Jul 20, 2012 at 05:25:49PM -0600, David Ahern wrote: > Guest kernel symbols are not resolved despite passing the information > needed to resolve them. e.g., > > perf kvm --guest --guestmount=/tmp/guest-mount record -a -- sleep 1 > perf kvm --guest --guestmount=/tmp/guest-mount report

[PATCH 3/6] w1: omap-hdq: convert to module_platform_driver

2012-07-25 Thread Felipe Balbi
trivial patch, no functional changes. Signed-off-by: Felipe Balbi --- drivers/w1/masters/omap_hdq.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index 404a4de..1ebddcf 100644 ---

[PATCH 5/6] w1: omap-hdq: remove unnecessary return

2012-07-25 Thread Felipe Balbi
trivial patch, no functional changes. Signed-off-by: Felipe Balbi --- drivers/w1/masters/omap_hdq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index b6eb0ba..778a65d 100644 --- a/drivers/w1/masters/omap_hdq.c +++

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-25 Thread Hannes Reinecke
On 07/17/2012 11:11 AM, James Bottomley wrote: > On Tue, 2012-07-17 at 10:54 +0200, Paolo Bonzini wrote: >> Il 17/07/2012 10:40, James Bottomley ha scritto: > > It's not specific to virtio-scsi, in fact I expect that virtio-scsi will > be almost always used with non-removable disks.

[PATCH 6/6] w1: omap-hdq: drop ARCH dependency

2012-07-25 Thread Felipe Balbi
Let the driver compile everywhere while also removing unnecessary headers. Signed-off-by: Felipe Balbi --- drivers/w1/masters/Kconfig| 1 - drivers/w1/masters/omap_hdq.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/drivers/w1/masters/Kconfig b/drivers/w1/masters/Kconfig index

[PATCH 4/6] w1: omap-hdq: convert to devm_* functions

2012-07-25 Thread Felipe Balbi
this lets us remove a bit of boilerplate code. Signed-off-by: Felipe Balbi --- drivers/w1/masters/omap_hdq.c | 32 +--- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index 1ebddcf..b6eb0ba

[PATCH 2/6] w1: omap-hdq: don't hardcode resource size

2012-07-25 Thread Felipe Balbi
we have the helpful resource_size() macro to calculate the size of the memory resource for us, let's use it. Signed-off-by: Felipe Balbi --- drivers/w1/masters/omap_hdq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/masters/omap_hdq.c

[PATCH 1/6] w1: omap-hdq: add section annotation to remove

2012-07-25 Thread Felipe Balbi
trivial patch, no functional changes. Signed-off-by: Felipe Balbi --- drivers/w1/masters/omap_hdq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c index 291897c..46e1f6f 100644 ---

Re: [PATCH v4 10/12] block: Add bio_clone_kmalloc()

2012-07-25 Thread Boaz Harrosh
On 07/24/2012 11:11 PM, Kent Overstreet wrote: ACK-by: Boaz Harrosh > Signed-off-by: Kent Overstreet Thanks looks nice > --- > drivers/block/osdblk.c |3 +-- > fs/bio.c | 13 + > fs/exofs/ore.c |5 ++--- > include/linux/bio.h|1 + > 4

Re: [PATCH v4 09/12] block: Rework bio_pair_split()

2012-07-25 Thread Boaz Harrosh
On 07/24/2012 11:11 PM, Kent Overstreet wrote: > This changes bio_pair_split() to use the new bio_split() underneath, > which gets rid of the single page bio limitation. The various callers > are fixed up for the slightly different struct bio_pair, and to remove > the unnecessary checks. > >

[PATCH 2/2] lis3-spi: add DT matching table passthru code

2012-07-25 Thread Daniel Mack
If probed from a device tree, this driver now passes the node information to the generic part, so the runtime information can be derived. Successfully tested on a PXA3xx board. Signed-off-by: Daniel Mack --- drivers/misc/lis3lv02d/lis3lv02d_spi.c | 14 ++ 1 file changed, 14

[PATCH 1/2] lis3: add generic DT matching code

2012-07-25 Thread Daniel Mack
This patch adds logic to parse lis3 properties from a device tree node and store them in a freshly allocated lis3lv02d_platform_data. Note that the actual match tables are left out here. This part should happen in the drivers that bind to the individual busses (SPI/I2C/PCI). Signed-off-by:

[PATCH 1/1] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-07-25 Thread Alexander Gordeev
The MSI specification has several constraints in comparison with MSI-X, most notable of them is the inability to configure MSIs independently. As a result, it is impossible to dispatch interrupts from different queues to different CPUs. This is largely devalues the support of multiple MSIs in SMP

Re: [PATCH v4 08/12] block: Introduce new bio_split()

2012-07-25 Thread Boaz Harrosh
On 07/24/2012 11:11 PM, Kent Overstreet wrote: > The new bio_split() can split arbitrary bios - it's not restricted to > single page bios, like the old bio_split() (previously renamed to > bio_pair_split()). It also has different semantics - it doesn't allocate > a struct bio_pair, leaving it up

Re: [REGRESSION] [KMS] [INTEL] Wrong resolution in console and XWindow

2012-07-25 Thread Daniel Vetter
On Wed, Jul 25, 2012 at 12:57 PM, Maciej Rutecki wrote: > On środa, 25 lipca 2012 o 11:29:28 Daniel Vetter wrote: >> On Wed, Jul 25, 2012 at 10:54:25AM +0200, Maciej Rutecki wrote: >> > On środa, 25 lipca 2012 o 10:29:26 Daniel Vetter wrote: >> > > On Wed, Jul 25, 2012 at 10:20:47AM +0200, Maciej

[RFC PATCH 6/6] CPU hotplug: Invoke CPU offline notifiers in reverse order

2012-07-25 Thread Srivatsa S. Bhat
During CPU hotplug, we want to create the following effect: * During CPU online, the CPU incrementally grows the number of services it offers. * During CPU offline, the services are incrementally retired, in the reverse order of their growth during CPU online. To achieve the above, invoke

[RFC PATCH 5/6] sched, perf: Prepare migration and perf CPU hotplug callbacks for reverse invocation

2012-07-25 Thread Srivatsa S. Bhat
While dealing with reverse invocation of callbacks during CPU offline, we get an opportunity to revisit some of the reasons behind the existing callback invocation orders and how they would fit into the new reverse invocation model (which poses its own constraints and challenges). It is

[RFC PATCH 4/6] sched, cpuset: Prepare scheduler and cpuset CPU hotplug callbacks for reverse invocation

2012-07-25 Thread Srivatsa S. Bhat
Some of the CPU hotplug callbacks of the scheduler and cpuset infrastructure are intertwined in an interesting way. The scheduler's sched_cpu_[in]active() callbacks and cpuset's cpuset_cpu_[in]active() callbacks have the following documented dependency: The sched_cpu_active() callback must be the

[RFC PATCH 3/6] notifiers: Add support for reverse invocation of notifier chains

2012-07-25 Thread Srivatsa S. Bhat
In certain scenarios, it is useful to be able to invoke notifiers in the reverse order. One such example is CPU hotplug, where we would like to invoke the notifiers in one order during CPU online and in the reverse order during CPU offline. So add support for reverse invocation of notifier chains.

[RFC PATCH 2/6] notifiers: Convert notifier chain to circular doubly linked-list

2012-07-25 Thread Srivatsa S. Bhat
In order to support invoking the notifiers in the reverse order, we need to be able to traverse the callback chain in both directions. So convert the notifier list into a circular doubly linked list. Signed-off-by: Srivatsa S. Bhat --- arch/mips/powertv/powertv_setup.c|2

[PATCH] dma: mxs_dma: Add the missing entries for mx6

2012-07-25 Thread Fabio Estevam
From: Fabio Estevam Add the missing entries for mx6. Signed-off-by: Fabio Estevam --- Build tested only, as I currently do not have mx6 board handy. drivers/dma/mxs-dma.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mxs-dma.c

[RFC PATCH 0/6] CPU hotplug: Reverse invocation of notifiers during CPU hotplug

2012-07-25 Thread Srivatsa S. Bhat
Hi, This patchset implements the approach of invoking the CPU hotplug callbacks (notifiers) in one order during CPU online and in the reverse order during CPU offline. The rationale behind this is that services for a CPU are started in a particular order (perhaps, with implicit dependencies

[RFC PATCH 1/6] list, rcu: Introduce rcu version of reverse list traversal

2012-07-25 Thread Srivatsa S. Bhat
Provide a helper to traverse an RCU-protected doubly linked list in the reverse order. Also add a corresponding helper to delete entries from the linked list, which takes care to see that we don't poison either of the pointers (->prev and ->next), since it is legal to run an rcu list-traversal

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