[PATCH] staging: tidspbridge: move the dereference below the NULL test

2012-09-06 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- drivers/staging/tidspbridge/core/chnl_sm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[RFCv2 2/2] virtio_console: Add feature to disable console port

2012-09-06 Thread sjur . brandeland
From: Sjur Brændeland Add the feature VIRTIO_CONSOLE_F_NO_HVC. With this bit set only port-devices are created. The console port and port control virtio-queues are not created. The console port is not suited for communicating to a remote processor because of it's blocking behavior. But the port-

[RFCv2 1/2] virtio_console: Add support for DMA memory allocation

2012-09-06 Thread sjur . brandeland
From: Sjur Brændeland Add feature VIRTIO_CONSOLE_F_DMA_MEM. If the architecture has DMA support and this feature bit is set, the virtio data buffers will be allocated from DMA memory. If the device requests the feature VIRTIO_CONSOLE_F_DMA_MEM, but the architecture don't support DMA the driver's

[PATCHv2] virtio: Don't access device data after unregistration.

2012-09-06 Thread sjur . brandeland
From: Sjur Brændeland Fix panic in virtio.c when CONFIG_DEBUG_SLAB is set. device_unregister() drops reference to device so put_device() could invoke release callback. In this case the release callback will free the device. Make sure we don't access device after unregister by fetching the device

Re: [PATCH] dma: tegra: use list_move_tail instead of list_del/list_add_tail

2012-09-06 Thread Laxman Dewangan
On Wednesday 05 September 2012 12:38 PM, Wei Yongjun wrote: From: Wei Yongjun Using list_move_tail() instead of list_del() + list_add_tail(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- Acked-by: Laxman Dewangan Look

Re: [PATCH tip/core/rcu 01/15] rcu: Add PROVE_RCU_DELAY to provoke difficult races

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-09-06 at 13:51 -0700, Paul E. McKenney wrote: > On Thu, Sep 06, 2012 at 04:38:32PM +0200, Peter Zijlstra wrote: > > On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > > > +#ifdef CONFIG_PROVE_RCU_DELAY > > > + udelay(10); /* Make preemption more probable. */ > >

[PATCH] x86: fix range check in tlbflush debugfs interface

2012-09-06 Thread Jan Beulich
Since the shift count settable there is used for shifting values of type "unsigned long", its value must not match or exceed BITS_PER_LONG (otherwise the shift operations are undefined). Similarly, the value must not be negative (but -1 must be permitted, as that's the value used to distinguish the

Re: Content Of Files May Be Changed After One Disk Is Failed In RAID5

2012-09-06 Thread NeilBrown
On Fri, 7 Sep 2012 14:30:56 +0800 clplayer wrote: > > --assume-clean is not safe with RAID5 unless the array actually is clean. > > It is safe with RAID1 and RAID6 due to details of the specific > > implementation. > > So I suspect that is the cause of the corruption. > > > > NeilBrown > > > >

Re: [PATCH] ARM: ep93xx: Fix build error due to 'SZ_32M' undeclared

2012-09-06 Thread Ryan Mallon
On 07/09/12 15:48, Axel Lin wrote: >> Hi Axel, >> >> The patch looks fine. I notice that the other ep93xx boards are also >> using the SZ_ defines, but are indirectly including linux/sizes.h via >> asm/memory.h, which in turn is indirectly included via asm/io.h. That > Seems this is also true for o

[PATCH] ix86: improve determination of X86_MINIMUM_CPU_FAMILY

2012-09-06 Thread Jan Beulich
This was quite a bit off: While I never build for anything older than i686 (other than for specifically trying certain things out), one of my 32-bit configs (tailor made for a VIA system) ended up having this set to 4. Others, customized for more mainstream systems, had this set to 5. Once at it,

[PATCH] powerpc/powernv: move the dereference below the NULL test

2012-09-06 Thread Wei Yongjun
From: Wei Yongjun The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun --- arch/powerpc/platforms/powernv/pci.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] DMA: PL330: Remove redundant runtime_suspend/resume functions

2012-09-06 Thread Inderpal Singh
The driver's runtime_suspend/resume functions just disable/enable the clock which is already being managed at AMBA bus level runtime_suspend/resume functions. Hence, remove the driver's runtime_suspend/resume functions. Signed-off-by: Inderpal Singh --- drivers/dma/pl330.c | 61 +

[PATCH 1/2] DMA: PL330: Remove controller clock enable/disable

2012-09-06 Thread Inderpal Singh
The controller clock is being enabled/disabled in AMBA bus infrastructre in probe/remove functions. Hence, its not required at driver level probe/remove. Signed-off-by: Inderpal Singh --- drivers/dma/pl330.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/dma/pl330.c b

[PATCH 0/2] DMA: PL330: Clock and runtime cleanup

2012-09-06 Thread Inderpal Singh
The controller clock is being managed at AMBA bus level probe/remove and pm_runtime/suspend functions. The existing driver does the clock enable/disable again in the same code paths, which unneccessarily increments the usage count of the clock for the same device. The following patches remove the

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-06 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Fri, Sep 07, 2012 at 09:15:46AM +0930, Rusty Russell wrote: >> Paolo Bonzini writes: >> > Instead, VIRTIO_NET_F_HOST_MUST_SEND_GARP would be a "negative" feature: >> > if set, the host _may not_ rely on the guest to send a gARP. Similarly >> > if VIRTIO_BALLOON

Re: [RFC PATCH 0/2] issues with NFS filesystems as lower layer

2012-09-06 Thread Miklos Szeredi
On Thu, Sep 6, 2012 at 5:56 PM, Andy Whitcroft wrote: > During some testing here we discovered that we could not successfully > use a NFS as the lower layer for overlayfs. There are two separate issues: > > Firstly when using an NFSv4 lower layer we tickle an issue when copying > up the xattrs fo

Re: [PATCH v2] A trivial memory leak fix while calling system_path

2012-09-06 Thread Namhyung Kim
Hi, liang On Fri, 7 Sep 2012 11:34:49 +0800, liang xie wrote: > A trivial memory leak fix while calling system_path > > Since v1: Remove an unnecessary null pointer check per Felipe's comments > > Signed-off-by: Liang Xie > --- > tools/perf/util/exec_cmd.c |4 +++- > tools/perf/util/help.c

Re: Content Of Files May Be Changed After One Disk Is Failed In RAID5

2012-09-06 Thread clplayer
> --assume-clean is not safe with RAID5 unless the array actually is clean. > It is safe with RAID1 and RAID6 due to details of the specific implementation. > So I suspect that is the cause of the corruption. > > NeilBrown > Thank you for the information. I have removed --assume-clean in the scri

Re: [PATCH 00/21] drop vmtruncate

2012-09-06 Thread Marco Stornelli
2012/9/6 Lukáš Czerner : > On Fri, 31 Aug 2012, Marco Stornelli wrote: > >> Date: Fri, 31 Aug 2012 15:50:20 +0200 >> From: Marco Stornelli >> To: Linux FS Devel , linux...@kvack.org >> Cc: Linux Kernel >> Subject: [PATCH 00/21] drop vmtruncate >> >> Hi all, >> >> with this patch series I try to c

Re: [PATCH 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-09-06 Thread jencce zhou
2012/9/5 Minchan Kim : > Like below, memory-hotplug makes race between page-isolation > and page-allocation so it can hit BUG_ON in __offline_isolated_pages. > > CPU A CPU B > > start_isolate_page_range > set_migratetype_isolate > spin_lock_irqsave(zone->lo

[tip:perf/core] perf test: Add roundtrip test for hardware cache events

2012-09-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 49f20d723e25a221fbcf1cbf4e51bb2942326e4f Gitweb: http://git.kernel.org/tip/49f20d723e25a221fbcf1cbf4e51bb2942326e4f Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 6 Sep 2012 14:55:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 14:55:44 -0300 perf

[PATCH v2] KVM: trace the events of mmu_notifier

2012-09-06 Thread Xiao Guangrong
mmu_notifier is the interface to broadcast the mm events to KVM, the tracepoints introduced in this patch can trace all these events, it is very helpful for us to notice and fix the bug caused by mm Signed-off-by: Xiao Guangrong --- include/trace/events/kvm.h | 129 +

[tip:perf/core] perf evlist: Add fprintf method

2012-09-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 78f067b38bed1adce6a2fa7868cf8ea37d61f537 Gitweb: http://git.kernel.org/tip/78f067b38bed1adce6a2fa7868cf8ea37d61f537 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 6 Sep 2012 14:54:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 14:54:11 -0300 perf

[PATCH 3/3] KVM: MMU: remove unnecessary check

2012-09-06 Thread Xiao Guangrong
Checking the return of kvm_mmu_get_page is unnecessary since it is guaranteed by memory cache Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 3c10bca..98cf4bf 100644 --

[tip:perf/core] perf tools: Remove extraneous newline when parsing hardware cache events

2012-09-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 42e1fb776087713b5482cd7cf6cac998fbdd6544 Gitweb: http://git.kernel.org/tip/42e1fb776087713b5482cd7cf6cac998fbdd6544 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 6 Sep 2012 14:43:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 14:43:28 -0300 perf

[PATCH 2/3] KVM: fix release error page

2012-09-06 Thread Xiao Guangrong
This bug was triggered: [ 4220.198458] BUG: unable to handle kernel paging request at fffe [ 4220.203907] IP: [] put_page+0xf/0x34 .. [ 4220.237326] Call Trace: [ 4220.237361] [] kvm_arch_destroy_vm+0xf9/0x101 [kvm] [ 4220.237382] [] kvm_put_kvm+0xcc/0x127 [kvm] [ 4220.237401] []

[tip:perf/core] perf test: Add round trip test for sw and hw event names

2012-09-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8ad7013b252ba683055df19e657eb03d98f4f312 Gitweb: http://git.kernel.org/tip/8ad7013b252ba683055df19e657eb03d98f4f312 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 6 Sep 2012 13:11:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 13:11:18 -0300 perf

[PATCH 1/3] KVM: MMU: release noslot pfn on the fail path properly

2012-09-06 Thread Xiao Guangrong
We can not directly call kvm_release_pfn_clean to release the pfn since we can meet noslot pfn which is used to cache mmio info into spte Introduce mmu_release_pfn_clean to do this kind of thing Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 19 ++- arch/x86/kv

linux-next: Tree for Sept 7

2012-09-06 Thread Stephen Rothwell
Hi all, Changes since 20120906: The powerpc tree still had its build failure for which I applied a supplied patch. The crypto tree gained a conflict against the sparc-next tree. The omap_dss2 tree gained a conflict against Linus' tree. The spi-mb tree still had its build failure so I use

[tip:perf/core] perf header: Prepare tracepoint events regardless of name

2012-09-06 Thread tip-bot for Namhyung Kim
Commit-ID: 831394bdd9dd3ac1661336505c7cbdfd786d8cd4 Gitweb: http://git.kernel.org/tip/831394bdd9dd3ac1661336505c7cbdfd786d8cd4 Author: Namhyung Kim AuthorDate: Thu, 6 Sep 2012 11:10:46 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 10:51:02 -0300 perf header: Pre

[tip:perf/core] perf header: Fix a typo on evsel

2012-09-06 Thread tip-bot for Namhyung Kim
Commit-ID: ae42c6bb9300cf25990bd15f1bd6ee38598f7483 Gitweb: http://git.kernel.org/tip/ae42c6bb9300cf25990bd15f1bd6ee38598f7483 Author: Namhyung Kim AuthorDate: Thu, 6 Sep 2012 11:10:45 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 6 Sep 2012 10:49:03 -0300 perf header: Fix

Re: [PATCH 11/12] perf diff: Add -F option to display formula for computation

2012-09-06 Thread Namhyung Kim
On Thu, 6 Sep 2012 17:47:05 +0200, Jiri Olsa wrote: > Adding -F option to display the formula for specified computation. > This is mainly to facilitate debuging, but can be usefull anyway. > > Adding this support for weighted diff computation. > > Cc: Arnaldo Carvalho de Melo > Cc: Peter Zijlstra

Re: [PATCH tip/core/rcu 04/15] rcu: Permit RCU_NONIDLE() to be used from interrupt context

2012-09-06 Thread Josh Triplett
On Thu, Sep 06, 2012 at 03:54:04PM -0400, Steven Rostedt wrote: > On Thu, 2012-09-06 at 11:54 -0700, Josh Triplett wrote: > > Not sure I see much difference in aesthetics between the three approaches, > > > but am willing to switch over to a generally agreed-upon scheme. > > > > Steve, could I get

[tip:perf/core] perf header: Swap pmu mapping numbers if needed

2012-09-06 Thread tip-bot for Namhyung Kim
Commit-ID: be4a2dedf6816871349fbddd018f266e93e3c22d Gitweb: http://git.kernel.org/tip/be4a2dedf6816871349fbddd018f266e93e3c22d Author: Namhyung Kim AuthorDate: Wed, 5 Sep 2012 14:02:49 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:47:11 -0300 perf header: Swa

[PATCH] rtc/pxa: fix set wrong data to RTC register issue

2012-09-06 Thread wzch
From: Wenzeng Chen Pxa rtc Day Count Register(RDCR) have 5 fields: Senconds, Minutes, Hour, Day-of-week(DOW) and Week-of-month(WOM). If someone wants to set the register, they can call rtc_writel(pxa_rtc, RDCR, rdxr_calc(tm)). But currently in function rdxr_calc(), we only get the value of minute

[tip:perf/core] perf header: Set tracepoint event name only if not set

2012-09-06 Thread tip-bot for Namhyung Kim
Commit-ID: 618a3f1d30ea0ee2ff3a88661b8d6a4035123211 Gitweb: http://git.kernel.org/tip/618a3f1d30ea0ee2ff3a88661b8d6a4035123211 Author: Namhyung Kim AuthorDate: Wed, 5 Sep 2012 14:02:48 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:46:34 -0300 perf header: Set

[tip:perf/core] perf header: Use evlist-> nr_entries on write_event_desc()

2012-09-06 Thread tip-bot for Namhyung Kim
Commit-ID: 74ba9e11f02a4ce0c7708dc77d1756b93065e440 Gitweb: http://git.kernel.org/tip/74ba9e11f02a4ce0c7708dc77d1756b93065e440 Author: Namhyung Kim AuthorDate: Wed, 5 Sep 2012 14:02:47 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:46:03 -0300 perf header: Use

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-06 Thread Shawn Guo
Copy a few more lists to get wider audience ... Regards, Shawn On Thu, Sep 06, 2012 at 10:03:35PM -0700, Mike Thompson wrote: > Hi, > > I'm working on adding power management support for the imx233 on > 3.6-rc2. In general I'm working on porting the pm.c file from the > Freescale 2.6.35 kernel

[tip:perf/core] perf tools: remove unneeded include of network header files

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: 12046099160e65cddb639f8b3dda2bd0701c09d6 Gitweb: http://git.kernel.org/tip/12046099160e65cddb639f8b3dda2bd0701c09d6 Author: David Ahern AuthorDate: Wed, 29 Aug 2012 09:55:32 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:45:12 -0300 perf tools: remo

Re: [PATCH 09/12] perf diff: Add weighted diff computation way to compare hist entries

2012-09-06 Thread Namhyung Kim
On Thu, 6 Sep 2012 17:47:03 +0200, Jiri Olsa wrote: > Adding 'wdiff' as new computation way to compare hist entries. > > If specified the 'Weighted diff' column is displayed with value 'd' > computed as: > >d = B->period * WEIGHT-A - A->period * WEIGHT-B > > - A/B being matching hist entry f

[tip:perf/core] perf tools: Remove the node from rblist in strlist__remove

2012-09-06 Thread tip-bot for Suzuki K. Poulose
Commit-ID: 4592281403e74dc4401d5803ec9948d43bbee7ae Gitweb: http://git.kernel.org/tip/4592281403e74dc4401d5803ec9948d43bbee7ae Author: Suzuki K. Poulose AuthorDate: Wed, 29 Aug 2012 11:30:07 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:36:42 -0300 perf tools

[tip:perf/core] perf tools: Fix intlist node removal

2012-09-06 Thread tip-bot for Suzuki K. Poulose
Commit-ID: 60ebf328762914b80d3e4e5f07bda599043c8eda Gitweb: http://git.kernel.org/tip/60ebf328762914b80d3e4e5f07bda599043c8eda Author: Suzuki K. Poulose AuthorDate: Fri, 31 Aug 2012 12:28:47 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:35:24 -0300 perf tools

[tip:perf/core] perf record: Remove use of die/exit

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: 8d3eca20b9f31cf10088e283d704f6a71b9a4ee2 Gitweb: http://git.kernel.org/tip/8d3eca20b9f31cf10088e283d704f6a71b9a4ee2 Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:47 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:22:41 -0300 perf record: Rem

[tip:perf/core] perf script: Remove use of die/exit

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: d54b1a9e0eaca92cde678d19bd82b9594ed00450 Gitweb: http://git.kernel.org/tip/d54b1a9e0eaca92cde678d19bd82b9594ed00450 Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:46 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:21:39 -0300 perf script: Rem

[tip:perf/core] perf help: Remove use of die and handle errors

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: cc58482133296f52873be909a2795f6d934ecec9 Gitweb: http://git.kernel.org/tip/cc58482133296f52873be909a2795f6d934ecec9 Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:45 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:21:10 -0300 perf help: Remov

[tip:perf/core] perf lock: Remove use of die and handle errors

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: 33d6aef5136075930f7e9a05175bf4f772d8428e Gitweb: http://git.kernel.org/tip/33d6aef5136075930f7e9a05175bf4f772d8428e Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:43 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:19:38 -0300 perf lock: Remov

Re: [PATCH 2/2] mm: support MIGRATE_DISCARD

2012-09-06 Thread Kyungmin Park
Hi Minchan, I tested Mel patch again with ClearPageActive(page). but after some testing, it's stall and can't return from reclaim_clean_pages_from_list(&cc.migratepages). Maybe it's related with unmap feature from yours? stall is not happened from your codes until now. I'll test it more and repo

[tip:perf/core] perf tool: handle errors in synthesized event functions

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: 1e6d53223884225f0c3f9f1a3ac54a224d97ab24 Gitweb: http://git.kernel.org/tip/1e6d53223884225f0c3f9f1a3ac54a224d97ab24 Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:42 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:17:30 -0300 perf tool: handl

[tip:perf/core] perf session: flush_sample_queue needs to handle errors from handlers

2012-09-06 Thread tip-bot for David Ahern
Commit-ID: d25380cd3be38baff4ab31935b9d19b7f58ba7ac Gitweb: http://git.kernel.org/tip/d25380cd3be38baff4ab31935b9d19b7f58ba7ac Author: David Ahern AuthorDate: Sun, 26 Aug 2012 12:24:41 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:17:30 -0300 perf session: fl

[tip:perf/core] tools lib traceevent: Modify header to work in C++ programs

2012-09-06 Thread tip-bot for Steven Rostedt
Commit-ID: ff1a70e75fd005821ab5f2211312a8aa13bbf959 Gitweb: http://git.kernel.org/tip/ff1a70e75fd005821ab5f2211312a8aa13bbf959 Author: Steven Rostedt AuthorDate: Thu, 23 Aug 2012 11:22:01 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 5 Sep 2012 17:17:30 -0300 tools lib tra

Re: [PATCH v4 00/21] OMAP UART Patches

2012-09-06 Thread Felipe Balbi
Hi, On Thu, Sep 06, 2012 at 03:44:13PM -0700, Kevin Hilman wrote: > Felipe Balbi writes: > > > Hi guys, > > > > here's v4 of the omap uart patchset. No changes other than a rebase on top > > of > > Greg's tty-next branch and Tony's Acked-by being added to a couple patches > > > > Note: I'm rese

Re: [PATCH 07/12] perf diff: Add ratio computation way to compare hist entries

2012-09-06 Thread Namhyung Kim
On Thu, 6 Sep 2012 17:47:01 +0200, Jiri Olsa wrote: > Adding -c option to select computation method with the current > 'Delta' computation as default. Current posible values are of > this option are: 'delta' and 'ratio'. > > Adding 'ratio' as new computation way to compare hist entries. > If speci

Re: [PATCH] ARM: ep93xx: Fix build error due to 'SZ_32M' undeclared

2012-09-06 Thread Axel Lin
> Hi Axel, > > The patch looks fine. I notice that the other ep93xx boards are also > using the SZ_ defines, but are indirectly including linux/sizes.h via > asm/memory.h, which in turn is indirectly included via asm/io.h. That Seems this is also true for other platforms ( e.g. mach-pxa, mach-ux500

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-06 Thread Michael S. Tsirkin
On Fri, Sep 07, 2012 at 09:15:46AM +0930, Rusty Russell wrote: > Paolo Bonzini writes: > > Instead, VIRTIO_NET_F_HOST_MUST_SEND_GARP would be a "negative" feature: > > if set, the host _may not_ rely on the guest to send a gARP. Similarly > > if VIRTIO_BALLOON_F_MUST_TELL_HOST is set, the guest _

Re: [GIT PULL 0/8] perf/core improvements and fixes

2012-09-06 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 7a4ec938857cf534270b23545495300fbac7f5de: > > perf tools: Allow user to indicate path to objdump in command line > (2012-09-05 19:41:55 -0300) > > are avai

Re: [PATCH] UV: fix incorrect tlb flush all issue

2012-09-06 Thread Alex Shi
On 09/07/2012 07:11 AM, Andrew Morton wrote: > On Fri, 24 Aug 2012 16:57:35 +0800 > Alex Shi wrote: > >> The flush tlb optimization code has logical issue on UV platform. >> It doesn't flush the full range at all, since it simply >> ignores its 'end' parameter (and hence also the "all" indicator

RE: [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE

2012-09-06 Thread Kukjin Kim
Vinod Koul wrote: > > On Wed, 2012-08-29 at 10:16 +0530, Tushar Behera wrote: > > DMA clients pdma0 and pdma1 are internal to the SoC and are used only > > by dedicated peripherals. Since they cannot be used for generic > > purpose, their capability should be set as DMA_PRIVATE. > > > > The patche

Re: [PATCH] x86, 32-bit: Fix invalid stack address while in softirq

2012-09-06 Thread wyang1
On 09/06/2012 11:54 PM, Steven Rostedt wrote: On Thu, 2012-09-06 at 17:36 +0200, Robert Richter wrote: I meant: unsigned long kernel_stack_pointer(struct pt_regs *regs) { unsigned long context = (unsigned long)regs& ~(THREAD_SIZE - 1); unsigned long sp = (unsigned long)®s->sp;

RE: [PATCH 1/3] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-09-06 Thread Hiremath, Vaibhav
On Thu, Sep 06, 2012 at 22:43:03, Balbi, Felipe wrote: > Hi, > > On Thu, Sep 06, 2012 at 09:04:58PM +0530, Vaibhav Hiremath wrote: > > > > > > On 9/6/2012 8:25 PM, Kishon Vijay Abraham I wrote: > > > The mailbox register for usb otg in omap is present in control module. > > > On detection of any

Re: [PATCH] drm/exynos: fix double call of drm_prime_(init/destroy)_file_private

2012-09-06 Thread Inki Dae
Applied. Thanks, Inki Dae 2012/9/7 Mandeep Singh Baines : > The double invocations are incorrect but seem to be safe so I don't > think this will fix any bugs. > > Before: > > [7.639366] drm_prime_init_file ee3675d0 > [7.639377] drm_prime_init_file ee3675d0 > [7.639507] drm_prime_dest

[PATCH 57/57] staging/rts_pstor: remove braces {} in sd.c (release_sd_card)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rt

[PATCH 56/57] staging/rts_pstor: remove braces {} in sd.c (sd_power_off_card3v3)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rt

[PATCH 55/57] staging/rts_pstor: remove braces {} in sd.c (sd_hw_rst)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 54/57] staging/rts_pstor: remove braces {} in sd.c (sd_execute_write_data)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 90 1 file changed

[PATCH 53/57] staging/rts_pstor: remove braces {} in sd.c (sd_execute_read_data)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 71 +++- 1 file changed

[PATCH 52/57] staging/rts_pstor: remove braces {} in sd.c (sd_execute_no_data)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 41 +++- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/drivers/staging/rt

[PATCH 51/57] staging/rts_pstor: remove braces {} in sd.c (get_rsp_type)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 50/57] staging/rts_pstor: remove braces {} in sd.c (sd_pass_thru_mode)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 49/57] staging/rts_pstor: remove braces {} in sd.c (ext_sd_get_rsp)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/stagi

[PATCH 48/57] staging/rts_pstor: remove braces {} in sd.c (ext_sd_send_cmd_get_rsp)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rts_pstor

[PATCH 47/57] staging/rts_pstor: remove braces {} in sd.c (sd_rw)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 26 ++ 1 file changed, 10 insertion

[PATCH 46/57] staging/rts_pstor: remove braces {} in sd.c (sd_auto_tune_clock)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_p

[PATCH 45/57] staging/rts_pstor: remove braces {} in sd.c (sd_stop_seq_mode)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/

[PATCH 44/57] staging/rts_pstor: remove braces {} in sd.c (wait_data_buf_ready)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 43/57] staging/rts_pstor: remove braces {} in sd.c (reset_mmc_only)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/st

[PATCH 42/57] staging/rts_pstor: remove braces {} in sd.c (reset_sd_card)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/driv

[PATCH 41/57] staging/rts_pstor: remove braces {} in sd.c (reset_mmc)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 52 +++- 1 file changed

[PATCH 40/57] staging/rts_pstor: remove braces {} in sd.c (mmc_switch_timing_bus)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 16 ++-- 1 file changed, 6 insertions(+), 10 de

[PATCH 39/57] staging/rts_pstor: remove braces {} in sd.c (mmc_test_switch_bus)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 32 +--- 1 file changed, 13 ins

[PATCH 38/57] staging/rts_pstor: remove braces {} in sd.c (reset_sd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 114 1 file changed

[PATCH 37/57] staging/rts_pstor: remove braces {} in sd.c (sd_check_wp_state)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_p

[PATCH 36/57] staging/rts_pstor: remove braces {} in sd.c (sd_read_lba0)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rt

[PATCH 35/57] staging/rts_pstor: remove braces {} in sd.c (sd_init_power)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/dri

[PATCH 34/57] staging/rts_pstor: remove braces {} in sd.c (sd_pull_ctl_enable)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 33/57] staging/rts_pstor: remove braces {} in sd.c (sd_prepare_reset)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 11 --- 1 file changed, 4 insertions(+), 7 deletion

[PATCH 32/57] staging/rts_pstor: remove braces {} in sd.c (sd_switch_clock)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 17 ++--- 1 file changed, 6 insertions(+), 11 d

[PATCH 31/57] staging/rts_pstor: remove braces {} in sd.c (mmc_ddr_tuning)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging

[PATCH 30/57] staging/rts_pstor: remove braces {} in sd.c (sd_ddr_tuning)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging

[PATCH 29/57] staging/rts_pstor: remove braces {} in sd.c (sd_sdr_tuning)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_p

[PATCH 28/57] staging/rts_pstor: remove braces {} in sd.c (sd_tuning_tx)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 24 ++-- 1 file changed, 10 insertions(

[PATCH 27/57] staging/rts_pstor: remove braces {} in sd.c (sd_ddr_pre_tuning_tx)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging

linux-next: boot problems due to the slab tree

2012-09-06 Thread Stephen Rothwell
Hi all, Due to the reported boot problems in next-20120906, I have used the slab tree from next-20120905 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpxhjhI8TAFW.pgp Description: PGP signature

[PATCH 26/57] staging/rts_pstor: remove braces {} in sd.c (sd_tuning_rx)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 24 ++-- 1 file changed, 10 insertions(

[PATCH 25/57] staging/rts_pstor: remove braces {} in sd.c (sd_search_final_phase)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 19 --- 1 file changed, 8 insertions(+), 11

[PATCH 24/57] staging/rts_pstor: remove braces {} in sd.c (sd_ddr_tuning_tx_cmd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 13 + 1 file changed, 5 insertions(+), 8 deleti

[PATCH 23/57] staging/rts_pstor: remove braces {} in sd.c (sd_sdr_tuning_tx_cmd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 22/57] staging/rts_pstor: remove braces {} in sd.c (mmc_ddr_tunning_rx_cmd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions

[PATCH 21/57] staging/rts_pstor: remove braces {} in sd.c (sd_ddr_tuning_rx_cmd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_p

[PATCH 20/57] staging/rts_pstor: remove braces {} in sd.c (sd_sdr_tuning_rx_cmd)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rts_pstor/sd.c b/drivers/staging/rts_pstor

[PATCH 19/57] staging/rts_pstor: remove braces {} in sd.c (sd_switch_function)

2012-09-06 Thread Toshiaki Yamane
fixed below checkpatch warnings. -WARNING: braces {} are not necessary for any arm of this statement -WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Toshiaki Yamane --- drivers/staging/rts_pstor/sd.c | 48 ++-- 1 file changed

  1   2   3   4   5   6   7   8   >