linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/spi/spi-davinci.c between commit 048177ce3b39 ("spi: spi-davinci: convert to DMA engine API") from the slave-dma tree and commit ec2a0833e515 ("ARM: davinci: move platform_data definitions") from the arm-soc tree. I

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-09-24 Thread Shilimkar, Santosh
On Sun, Sep 23, 2012 at 3:29 AM, Paul E. McKenney wrote: > On Sat, Sep 22, 2012 at 01:10:43PM -0700, Paul E. McKenney wrote: >> On Sat, Sep 22, 2012 at 06:42:08PM +, Paul Walmsley wrote: >> > On Fri, 21 Sep 2012, Paul E. McKenney wrote: [...] > > And here is a patch. I am still having

Re: [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated

2012-09-24 Thread Mel Gorman
On Fri, Sep 21, 2012 at 02:36:56PM -0700, Andrew Morton wrote: > On Fri, 21 Sep 2012 11:46:22 +0100 > Mel Gorman wrote: > > > When compaction was implemented it was known that scanning could potentially > > be excessive. The ideal was that a counter be maintained for each pageblock > > but

linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/mtd/nand/orion_nand.c between commit 11a3910e730e ("mtd: orion_nand: remove include") from the l2-mtd tree and commit c02cecb92ed4 ("ARM: orion: move platform_data definitions") from the arm-soc tree. I fixed it up

Re: [patch 00/16] sched: per-entity load-tracking

2012-09-24 Thread Jan H. Schönherr
Hi Paul. Am 23.08.2012 16:14, schrieb p...@google.com: > Please find attached the latest version for CFS load-tracking. Originally, I thought, this series also takes care of the leaf-cfs-runqueue ordering issue described here: http://lkml.org/lkml/2011/7/18/86 Now, that I had a closer look, I

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-24 Thread Peter Zijlstra
Why are you cc'ing x86 and numa folks but not a single scheduler person when you're patching scheduler stuff? On Tue, 2012-09-18 at 18:12 +0800, Tang Chen wrote: > Once array sched_domains_numa_masks is defined, it is never updated. > When a new cpu on a new node is onlined, Hmm, so there's

[PATCH] No need to call irq_domain_legacy_revmap() for twice

2012-09-24 Thread Mike Qiu
Function irq_create_mapping() calls irq_find_mapping(). The later function has checked if the indicated IRQ domain has hw IRQ mapped to virtual IRQ through legacy mode or not and return the value of the legacy irq number by call irq_domain_legacy_revmap(). We needn't to call

linux-next: manual merge of the arm-soc tree with the mmc tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/mmc/host/omap.c between commit 2976837c6ea8 ("mmc: omap: remove unused variables and includes") from the mmc tree and commits cf3a6ec2c0a4 ("ARM: OMAP: remove plat/board.h file") and 70c494c3122f ("ARM: OMAP1: Make

Re: hot-added cpu is not asiggned to the correct node

2012-09-24 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 02:33:11PM +0900, Yasuaki Ishimatsu wrote: > When I hot-added CPUs and memories simultaneously using container driver, > all the hot-added CPUs were mistakenly assigned to node0. > Is this something which used to work correctly? If so which was the most recent working

Re: [PATCH scsi] Add NULL checking of return value from scsi_cmd_to_driver()

2012-09-24 Thread James Bottomley
On Mon, 2012-09-24 at 17:25 +0800, Li Zhong wrote: > On Mon, 2012-09-24 at 11:35 +0400, James Bottomley wrote: > > On Mon, 2012-09-24 at 15:03 +0800, Li Zhong wrote: > > > On Mon, 2012-09-24 at 09:44 +0400, James Bottomley wrote: > > > > On Mon, 2012-09-24 at 13:30 +0800, Li Zhong wrote: > > > > >

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/mmc/host/davinci_mmc.c between commit b5daabbd3d18 ("mmc: davinci_mmc: convert to DMA engine API") from the slave-dma tree and commit ec2a0833e515 ("ARM: davinci: move platform_data definitions") from the arm-soc tree.

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/dma/mmp_tdma.c between commit f1a7757008b8 ("dmaengine: mmp_tdma: add dt support") from the slave-dma tree and commit 293b2da1b611 ("ARM: pxa: move platform_data definitions") from the arm-soc tree. I fixed it up (see

Re: How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread James Bottomley
On Mon, 2012-09-24 at 12:04 +0300, Hiroshi Doyu wrote: > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > index a1a7225..9eae3be 100644 > --- a/drivers/base/platform.c > +++ b/drivers/base/platform.c > @@ -21,6 +21,8 @@ > #include > #include > > +#include > + > #include

Re: [PATCH scsi] Add NULL checking of return value from scsi_cmd_to_driver()

2012-09-24 Thread Li Zhong
On Mon, 2012-09-24 at 11:35 +0400, James Bottomley wrote: > On Mon, 2012-09-24 at 15:03 +0800, Li Zhong wrote: > > On Mon, 2012-09-24 at 09:44 +0400, James Bottomley wrote: > > > On Mon, 2012-09-24 at 13:30 +0800, Li Zhong wrote: > > > > Just noticed that after commit 919f797, it is possible that

linux-next: manual merge of the arm-soc tree with the arm64 tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/clocksource/Makefile between commit 985c0679dfa4 ("arm64: Generic timers support") from the arm64 tree and commit ee4af5696720 ("ARM: bcm2835: add system timer") from the arm-soc tree. I fixed it up (see below) and

linux-next: manual merge of the arm-soc tree with the pm tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-shmobile/include/mach/common.h between commit 35f2b0bd5911 ("ARM: shmobile: Move definition of shmobile_init_late() to header") from the pm tree and commit a62580e58065 ("ARM: SoC: convert shmobile SMP to SMP

linux-next: manual merge of the arm-soc tree with the fbdev tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-s3c64xx/mach-real6410.c between commit 5a213a55c6d3 ("include/video: move fimd register headers from platform to include/video") from the fbdev tree and commit 436d42c61c3e ("ARM: samsung: move platform_data

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-24 Thread Alan Cox
> The issue is/was, that root can inject code at runtime which is then > executed in kernel environment. Yes there are lots of other ways to do this too. The constraint we use for it is CAP_SYS_RAWIO. With that capability you can totally do raw hardware access and the like so requiring it for

Re: [PATCH v2] drivers/media/platform/s5p-tv/sdo_drv.c: fix error return code

2012-09-24 Thread Tomasz Stanislawski
Hi. On 09/06/2012 10:38 AM, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows:

linux-next: manual merge of the arm-soc tree with the fbdev tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-s3c64xx/mach-mini6410.c between commit 5a213a55c6d3 ("include/video: move fimd register headers from platform to include/video") from the fbdev tree and commit 436d42c61c3e ("ARM: samsung: move platform_data

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-24 Thread Johannes Berg
On Mon, 2012-09-24 at 12:03 +0300, Dan Carpenter wrote: > > > > iwl_alloc_ucode() -> iwl_alloc_fw_desc() -> dma_alloc_coherent() > > I'm filing bugzilla entries for regressions. What's the status on > this? It looks like a VM change caused it, but I merged a patch for -next to not require such

Re: [PATCH 3/4] uprobes: Kill set_orig_insn()->is_swbp_at_addr()

2012-09-24 Thread Peter Zijlstra
On Sun, 2012-09-23 at 22:19 +0200, Oleg Nesterov wrote: > @@ -226,6 +245,10 @@ retry: Could you use: $ cat ~/.gitconfig [diff "default"] xfuncname = "^[[:alpha:]$_].*[^:]$" This avoids git-diff it using labels as function names. > if (ret <= 0) > return ret; > >

Re: Suspend on Thinkpad x220: Hangs during resume

2012-09-24 Thread Dan Carpenter
Hi, I have created a bug for this: https://bugzilla.kernel.org/show_bug.cgi?id=47901 Please add the following information: *) Last known good kernel version *) Current broken kernel version *) Complete dmesg regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v3 07/16] memcg: skip memcg kmem allocations in specified code regions

2012-09-24 Thread Glauber Costa
On 09/21/2012 11:59 PM, Tejun Heo wrote: > Hello, > > On Tue, Sep 18, 2012 at 06:12:01PM +0400, Glauber Costa wrote: >> +static void memcg_stop_kmem_account(void) >> +{ >> +if (!current->mm) >> +return; >> + >> +current->memcg_kmem_skip_account++; >> +} >> + >> +static void

Re: [Patch v1 6/7] DA9055 Watchdog driver

2012-09-24 Thread Wim Van Sebroeck
Hi Ashish > Any update on this patch? > On Fri, 2012-09-14 at 19:03 +0530, Ashish Jangam wrote: > > This is the Watchdog patch for the DA9055 PMIC. This patch has got > > dependency on the DA9055 MFD core. > > > > This patch is functionally tested on SMDK6410 > > > > Signed-off-by: David Dajun

[PATCH V2 2/14] drivers/media/platform/soc_camera/mx2_camera.c: fix error return code

2012-09-24 Thread Peter Senna Tschudin
From: Peter Senna Tschudin Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } |

linux-next: manual merge of the arm-soc tree with the v4l-dvb tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/board-rx51-peripherals.c between commit 322c183cdc5f ("[media] ARM: mach-omap2: board-rx51-peripherals: Add lirc-rx51 data") from the v4l-dvb tree and commits 2203747c9771 ("ARM: omap: move platform_data

Re: [PATCH 1/4] uprobes: Kill set_swbp()->is_swbp_at_addr()

2012-09-24 Thread Ananth N Mavinakayanahalli
On Sun, Sep 23, 2012 at 10:19:45PM +0200, Oleg Nesterov wrote: > A separate patch for better documentation. > > set_swbp()->is_swbp_at_addr() is not needed for correctness, it is > harmless to do the unnecessary __replace_page(old_page, new_page) > when these 2 pages are identical. > > And it

Re: [PATCH 1/4] lib: vsprintf: Optimize division by 10 for small integers.

2012-09-24 Thread Denys Vlasenko
On Fri, Aug 3, 2012 at 7:21 AM, George Spelvin wrote: > Shrink the reciprocal approximations used in put_dec_full4 > based on the comments in put_dec_full9. > > Signed-off-by: George Spelvin > Cc: Denys Vlasenko > Cc: Michal Nazarewicz > --- > lib/vsprintf.c |5 +++-- > 1 file changed, 3

How to specify IOMMU'able devices in DT (was: [RFC 0/5] ARM: dma-mapping: New dma_map_ops to control IOVA more precisely)

2012-09-24 Thread Hiroshi Doyu
On Fri, 21 Sep 2012 20:16:00 +0200 Krishna Reddy wrote: > > > The device(H/W controller) need to access few special memory > > > blocks(IOVA==PA) and DRAM as well. > > > > OK, so only /some/ of the VA space is VA==PA, and some is remapped; that's a > > little different that what you originally

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-24 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 08:54:06AM +0200, Johannes Berg wrote: > On Tue, 2012-09-11 at 22:57 -0700, Marc MERLIN wrote: > > On Wed, Sep 12, 2012 at 07:16:28AM +0200, Eric Dumazet wrote: > > > On Tue, 2012-09-11 at 16:25 -0700, Andrew Morton wrote: > > > > > > > Asking for a 256k allocation is

Re: [PATCH 2/4] lib: vsprintf: Optimize division by 10000

2012-09-24 Thread Denys Vlasenko
On Fri, Aug 3, 2012 at 7:21 AM, George Spelvin wrote: > The same multiply-by-inverse technique can be used to > convert division by 1 to a 32x32->64-bit multiply. > > Signed-off-by: George Spelvin > --- > lib/vsprintf.c | 60 > +++- > 1

Re: [PATCH 1/4] uprobes: Kill set_swbp()->is_swbp_at_addr()

2012-09-24 Thread Peter Zijlstra
On Sun, 2012-09-23 at 22:19 +0200, Oleg Nesterov wrote: > A separate patch for better documentation. > > set_swbp()->is_swbp_at_addr() is not needed for correctness, it is > harmless to do the unnecessary __replace_page(old_page, new_page) > when these 2 pages are identical. > > And it can not

Re: [Patch v1 6/7] DA9055 Watchdog driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 19:03 +0530, Ashish Jangam wrote: > This is the Watchdog patch for the DA9055 PMIC. This patch has got > dependency on the DA9055 MFD core. > > This patch is functionally tested on SMDK6410 > > Signed-off-by: David Dajun Chen > Signed-off-by:

Re: [Patch v1 3/7] DA9055 RTC driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:58 +0530, Ashish Jangam wrote: > This is the RTC patch for the DA9055 PMIC. This patch has got dependency > on the DA9055 MFD core. > > This patch is functionally tested on Samsung SMDKV6410. > > Signed-off-by: David Dajun Chen > Signed-off-by:

RE: [PATCH] Thermal: Fix bug on generic thermal framework.

2012-09-24 Thread Zhang Rui
On 一, 2012-09-24 at 02:08 -0600, R, Durgadoss wrote: > Hi, > > Patch is fine, but I think you have to re-base on top of > Rui's -next branch here: > git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git > > Also, adding Rui to this mail, not sure whether he is in LKML/pm. > > Thanks, >

Re: [Patch v1 2/7] DA9055 Regulator driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:57 +0530, Ashish Jangam wrote: > This is the Regulator patch for the DA9055 PMIC and has got dependency > on the DA9055 MFD core. > > This patch support all of the DA9055 regulators. The output voltages are > fully programmable through I2C

Re: [Patch v1 1/7] DA9055 MFD core driver

2012-09-24 Thread Ashish Jangam
Any update on this patch? On Fri, 2012-09-14 at 18:54 +0530, Ashish Jangam wrote: > This is the DA9055 MFD core driver that instantiate all the dependent > component > drivers and provides them the device access via I2C. > > This patch is functionally tested on Samsung SMDK6410. > >

Re: Freeze or Oops on recent kernels

2012-09-24 Thread Dan Carpenter
On Mon, Sep 24, 2012 at 04:52:32PM +1000, yvahk-xre...@zacglen.net wrote: > > > >HINT: We only care about the very most recent kernel. If you can > >take a photo of the stack trace, then file a bug report and attach > >the .jpg. > > > > After a bit of experimentation my guess is that is is all >

Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible

2012-09-24 Thread Mel Gorman
On Fri, Sep 21, 2012 at 02:35:57PM -0700, Andrew Morton wrote: > On Fri, 21 Sep 2012 11:46:20 +0100 > Mel Gorman wrote: > > > Compactions free scanner acquires the zone->lock when checking for PageBuddy > > pages and isolating them. It does this even if there are no PageBuddy pages > > in the

Re: [PATCH v3 12/13] execute the whole memcg freeing in rcu callback

2012-09-24 Thread Glauber Costa
> And the above description too makes me scratch my head quite a bit. I > can see what the patch is doing but can't understand the why. > > * Why was it punting the freeing to workqueue anyway? ISTR something > about static_keys but my memory fails. What changed? Why don't we > need it

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-24 Thread Glauber Costa
On 09/21/2012 10:32 PM, Tejun Heo wrote: > On Tue, Sep 18, 2012 at 06:12:00PM +0400, Glauber Costa wrote: >> diff --git a/mm/memcontrol.c b/mm/memcontrol.c >> index 04851bb..1cce5c3 100644 >> --- a/mm/memcontrol.c >> +++ b/mm/memcontrol.c >> @@ -339,6 +339,11 @@ struct mem_cgroup { >> #ifdef

Re: [PATCH 0/2] dmaengine: Fix compillation issues in device_prep_dma_cyclic()

2012-09-24 Thread Vinod Koul
On Mon, 2012-09-24 at 10:58 +0300, Peter Ujfalusi wrote: > Hello, > > The reason for the breakage is the patch 1 got lost somewhere in the process. > I also greped the whole tree for device_prep_dma_cyclic() and the second patch > is the result of that. > > PS: I did build tested the series on

Re: [PATCH] block: makes bio_split support bio without data

2012-09-24 Thread Namhyung Kim
Hi, On Mon, 24 Sep 2012 14:56:39 +1000, NeilBrown wrote: > Hi Jens, > this patch has been sitting in my -next tree for a little while and I was > hoping for it to go in for the next merge window. > It simply allows bio_split() to be used on bios without a payload, such as > 'discard'. > Are

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-09-24 Thread Dor Laor
In order to help PLE and pvticketlock converge I thought that a small test code should be developed to test this in a predictable, deterministic way. The idea is to have a guest kernel module that spawn a new thread each time you write to a /sys/ entry. Each such a thread spins over a

Re: [PATCH] ARM: gic: fix irq affinity mismatch.

2012-09-24 Thread Russell King - ARM Linux
On Mon, Sep 24, 2012 at 12:06:19PM +0900, Chanho Min wrote: > Even if we set affinity to multiple cpus via procfs, gic_set_affinity > allows to set one target only. But, '/proc/irq/xxx/smp_affinity' shows > as we are successful in the setting of multiple affinity. Thus irq_data-> > affinity

linux-next: manual merge of the arm-soc tree with the sound tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-davinci/include/mach/da8xx.h between commit 896f66b7de29 (ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific"") from the sound tree and commit ec2a0833e515 ("ARM: davinci: move

Re: [PATCH v3 15/16] memcg/sl[au]b: shrink dead caches

2012-09-24 Thread Glauber Costa
On 09/22/2012 12:40 AM, Tejun Heo wrote: > Hello, Glauber. > > On Tue, Sep 18, 2012 at 06:12:09PM +0400, Glauber Costa wrote: >> @@ -764,10 +777,21 @@ static struct kmem_cache >> *memcg_create_kmem_cache(struct mem_cgroup *memcg, >> goto out; >> } >> >> +/* >> + *

Re: [RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage

2012-09-24 Thread Dave Chinner
On Mon, Sep 24, 2012 at 03:08:52PM +0800, Guo Chao wrote: > On Mon, Sep 24, 2012 at 04:28:12PM +1000, Dave Chinner wrote: > > > Ah, this is intended to be a code clean patchset actually. I thought these > > > locks are redundant in an obvious and trivial manner. If, on the > > > contrary, > > >

linux-next: manual merge of the arm-soc tree with the sound tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-davinci/dm365.c between commit 896f66b7de29 ("ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific") from the tree and commit ec2a0833e515 ("ARM: davinci: move platform_data definitions")

[PATCH 5/6] perf kvm: Use perf_session_env for reading cpuid

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim We have processed and saved cpuid information to perf_session_env so reuse it for get_cpu_isa(). Cc: David Ahern Cc: Xiao Guangrong Cc: Dong Hao Signed-off-by: Namhyung Kim --- tools/perf/builtin-kvm.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff

[PATCH 6/6] perf header: Remove perf_header__read_feature

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim Because its only user builtin-kvm::get_cpu_isa() has gone, It can be removed safely. In general, we have the feature information in perf_session_env already, no need to read it again. Cc: David Ahern Cc: Xiao Guangrong Cc: Dong Hao Signed-off-by: Namhyung Kim ---

[PATCH 2/6] perf header: Add ->process callbacks to most of features

2012-09-24 Thread Namhyung Kim
>From now on each feature information is processed and saved in perf header so that it can be used wherever needed. The BRANCH_STACK feature is an exception since it needs nothing to be done. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c |

[PATCH 4/6] perf header: Remove unused @feat arg from ->process callback

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim As the @feat arg is not used anywhere, get rid of it from the signature. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c | 70 1 file changed, 35 insertions(+), 35

[PATCH 1/6] perf header: Add struct perf_session_env

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim The struct perf_session_env will preserve environment information at the time of perf record. It can be accessed anytime after parsing a perf.data file if needed. Signed-off-by: Namhyung Kim --- tools/perf/util/header.h | 24 1 file changed, 24

[PATCH 3/6] perf header: Use pre-processed session env when printing

2012-09-24 Thread Namhyung Kim
>From now on each feature information is processed and saved in perf header so that it can be used for printing. The event desc and branch stack features are not touched since they're not saved. Cc: Stephane Eranian Cc: Robert Richter Signed-off-by: Namhyung Kim --- tools/perf/util/header.c

[PATCH 0/6] perf header: Save and reuse feature information in header (v5)

2012-09-24 Thread Namhyung Kim
Hi, Currently the perf header information is used only at initial setup time and discarded. If it's saved we could reuse the information for various purpose - for instance, perf kvm stat needs to know cpuid so it had to invent an accessor. Thanks, Namhyung v4 -> v5: * Use saved cpuid info

Re: [PATCH v3 06/16] memcg: infrastructure to match an allocation to the right cache

2012-09-24 Thread Glauber Costa
On 09/22/2012 12:52 AM, Tejun Heo wrote: > Missed some stuff. > > On Tue, Sep 18, 2012 at 06:12:00PM +0400, Glauber Costa wrote: >> +static struct kmem_cache *memcg_create_kmem_cache(struct mem_cgroup *memcg, >> + struct kmem_cache *cachep) >> +{ > ...

Re: [PATCH] Thermal: Fix bug on generic thermal framework.

2012-09-24 Thread jonghwa3 . lee
On 2012년 09월 24일 17:08, R, Durgadoss wrote: > Hi, > > Patch is fine, but I think you have to re-base on top of > Rui's -next branch here: > git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git > > Also, adding Rui to this mail, not sure whether he is in LKML/pm. > > Thanks, > Durga I'll

Re: [PATCH v3 00/16] slab accounting for memcg

2012-09-24 Thread Glauber Costa
On 09/22/2012 12:46 AM, Tejun Heo wrote: > Hello, > > On Tue, Sep 18, 2012 at 06:11:54PM +0400, Glauber Costa wrote: >> This is a followup to the previous kmem series. I divided them logically >> so it gets easier for reviewers. But I believe they are ready to be merged >> together (although we

Re: [PATCH 0/2] dmaengine: Fix compillation issues in device_prep_dma_cyclic()

2012-09-24 Thread Takashi Iwai
At Mon, 24 Sep 2012 10:58:03 +0300, Peter Ujfalusi wrote: > > Hello, > > The reason for the breakage is the patch 1 got lost somewhere in the process. > I also greped the whole tree for device_prep_dma_cyclic() and the second patch > is the result of that. > > PS: I did build tested the series

Re: [PATCH v3 05/16] consider a memcg parameter in kmem_create_cache

2012-09-24 Thread Glauber Costa
On 09/21/2012 10:14 PM, Tejun Heo wrote: > Hello, Glauber. > > On Tue, Sep 18, 2012 at 06:11:59PM +0400, Glauber Costa wrote: >> +void memcg_register_cache(struct mem_cgroup *memcg, struct kmem_cache >> *cachep) >> +{ >> +int id = -1; >> + >> +if (!memcg) >> +id =

[Updated PATCH 2/2] Fix a typo in PTP_1588_CLOCK_PCH Kconfig help info.

2012-09-24 Thread Haicheng Li
pls. ignore original one, and use this instead: From 5911413366d37aafcc19ddfc9c0f2db31855431e Mon Sep 17 00:00:00 2001 From: Haicheng Li Date: Mon, 24 Sep 2012 15:55:27 +0800 Subject: [PATCH 2/2] Fix a typo in PTP_1588_CLOCK_PCH Kconfig help info. Signed-off-by: Haicheng Li ---

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-09-24 Thread Glauber Costa
>> + >> +#ifdef CONFIG_MEMCG_KMEM >> +WARN_ON(cgroup_add_cftypes(_cgroup_subsys, >> + kmem_cgroup_files)); >> +#endif >> + > > Why not just make it part of mem_cgroup_files[]? > > Thanks. > Done. -- To unsubscribe from this list: send the

[PATCH 1/1] mfd: Provide the PRCMU with its own IRQ domain

2012-09-24 Thread Lee Jones
The PRCMU has its own USB, Thermal, GPIO, Modem, HSI and RTC drivers, amongst other things. This patch allows those subordinate devices to use it as an interrupt controller as and when they are DT enabled. CC: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/db8500-prcmu.c | 48

[Updated PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-09-24 Thread Haicheng Li
this version would be more clean: From 898e3214b3406c620571cedf704719784b0df049 Mon Sep 17 00:00:00 2001 From: Haicheng Li Date: Mon, 24 Sep 2012 15:52:30 +0800 Subject: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency. The .config is: CONFIG_PCH_GBE=y

RE: [PATCH] Thermal: Fix bug on generic thermal framework.

2012-09-24 Thread R, Durgadoss
Hi, Patch is fine, but I think you have to re-base on top of Rui's -next branch here: git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git Also, adding Rui to this mail, not sure whether he is in LKML/pm. Thanks, Durga > -Original Message- > From: Jonghwa Lee

Re: [PATCH] video: Remove pnx4008 driver

2012-09-24 Thread Roland Stigge
Hi! On 09/23/2012 09:34 PM, Florian Tobias Schandinat wrote: > On 08/26/2012 02:23 PM, Roland Stigge wrote: >> This patch removes the video driver for pnx4008. The architecture is being >> removed via the arm-soc tree. >> >> Signed-off-by: Roland Stigge > > Applied as it doesn't make sense to

Re: arch/x86/lib/inat.c Error

2012-09-24 Thread Borislav Petkov
On Sun, Sep 23, 2012 at 04:34:24PM -0400, Franklin Wei wrote: > Something wrong with lines 29-86 > Error message when compiling: > CC arch/x86/lib/inat.o > arch/x86/lib/inat.c: In function ‘inat_get_opcode_attribute’: > arch/x86/lib/inat.c:29: error: ‘inat_primary_table’ undeclared (first >

[PATCH 2/2] ARM: SAMSUNG: dma-ops: Fix dmaengine_prep_dma_cyclic() parameter list

2012-09-24 Thread Peter Ujfalusi
There is a new flags parameter for the function. Signed-off-by: Peter Ujfalusi --- arch/arm/plat-samsung/dma-ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c index c38d754..d088afa 100644 ---

[PATCH 1/2] dmaengine: Add flags parameter to dmaengine_prep_dma_cyclic()

2012-09-24 Thread Peter Ujfalusi
With this parameter added to dmaengine_prep_dma_cyclic() the API will be in sync with other dmaengine_prep_*() functions. The dmaengine_prep_dma_cyclic() function primarily used by audio for cyclic transfer required by ALSA, we use the from audio to ask dma drivers to suppress interrupts (if

[PATCH 0/2] dmaengine: Fix compillation issues in device_prep_dma_cyclic()

2012-09-24 Thread Peter Ujfalusi
Hello, The reason for the breakage is the patch 1 got lost somewhere in the process. I also greped the whole tree for device_prep_dma_cyclic() and the second patch is the result of that. PS: I did build tested the series on ARM (OMAP), x86_32, x86_64 but not for ppc for sure. Regards, Peter ---

TEQL Developer Needed

2012-09-24 Thread Brian Brandon
Need some full time help with TEQL and kernel mods. Remote or office in Los Angeles ok. We’re doing some interesting bonding stuff, most will be released back as open source. Salary up to 100k/yr + Equity. ☺ Cheers, -Brian j...@vunity.com http://www.vUnity.com

Re: linux-next: build failure after merge of the sound and sound-asoc trees

2012-09-24 Thread Peter Ujfalusi
On 09/24/2012 10:48 AM, Takashi Iwai wrote: > At Mon, 24 Sep 2012 13:39:23 +1000, > Stephen Rothwell wrote: >> >> Hi all, >> >> After merging the sound tree, today's linux-next build (powerpc >> ppc64_defconfig) failed like this: >> >> In file included from include/linux/skbuff.h:31:0, >>

Re: linux-next: build failure after merge of the sound and sound-asoc trees

2012-09-24 Thread Takashi Iwai
At Mon, 24 Sep 2012 13:39:23 +1000, Stephen Rothwell wrote: > > Hi all, > > After merging the sound tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from include/linux/skbuff.h:31:0, > from include/linux/if_ether.h:135, >

Re: [PATCH scsi] Add NULL checking of return value from scsi_cmd_to_driver()

2012-09-24 Thread James Bottomley
On Mon, 2012-09-24 at 15:03 +0800, Li Zhong wrote: > On Mon, 2012-09-24 at 09:44 +0400, James Bottomley wrote: > > On Mon, 2012-09-24 at 13:30 +0800, Li Zhong wrote: > > > Just noticed that after commit 919f797, it is possible that > > > scsi_cmd_to_driver() returns NULL. This patch adds the NULL

linux-next: manual merge of the arm-soc tree with the sound tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-davinci/dm355.c between commit 896f66b7de29 ("ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific") from the sound tree and commit ec2a0833e515 ("ARM: davinci: move platform_data

linux-next: manual merge of the arm-soc tree with the sound tree

2012-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-davinci/davinci.h between commit 896f66b7de29 ("ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific") from the sound tree and commit ec2a0833e515 ("ARM: davinci: move platform_data

Re: Work queue questions

2012-09-24 Thread Deepawali Verma
Hi Tejun, Here are some code snippets from my device driver: #defind NUMBER_OF_SUBTASKS 3 struct my_driver_object { struct workqueue_struct *sub_task_wq; struct work_struct sub_task_work; char my_obj_wq_name[80]; int task_id; }; struct my_driver_object obj[3];

Re: [PATCH 2/2] extcon: unregister compat link on cleanup

2012-09-24 Thread Chanwoo Choi
On 09/22/2012 10:41 AM, Peter Huewe wrote: > Since extcon registers this compat link at device registration > (extcon_dev_register), we should probably remove them at > deregistration/cleanup. > > Cc: sta...@vger.kernel.org > Signed-off-by: Peter Huewe > --- Applied, thank you. Also, there

Re: [PATCH 1/2] extcon: Unregister compat class at module unload to fix oops

2012-09-24 Thread Chanwoo Choi
[...] > > ---[ end trace dd512cc03fe1c369 ]--- > FATAL: Error inserting extcon_class > (/lib/modules/3.6.0-rc6-00178-g811315f/kernel/drivers/extcon/extcon_class.ko): > Cannot allocate memory > > This patch fixes this. > > Cc: sta...@vger.kernel.org > Signed-off-by: Peter Huewe > ---

[PATCH 2/2] Fix wrong description in PTP_1588_CLOCK_PCH help info.

2012-09-24 Thread Haicheng Li
From a206a006d82c327ba308674c608fbd6c9ce1e702 Mon Sep 17 00:00:00 2001 From: Haicheng Li Date: Mon, 24 Sep 2012 15:02:41 +0800 Subject: [PATCH 2/2] Fix wrong description in PTP_1588_CLOCK_PCH help info. Signed-off-by: Haicheng Li --- drivers/ptp/Kconfig |3 +-- 1 files changed, 1

[PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency.

2012-09-24 Thread Haicheng Li
From 1b4ae11bacfd2eedda1fd0e1ce1d37b678e2f009 Mon Sep 17 00:00:00 2001 From: Haicheng Li Date: Mon, 24 Sep 2012 15:01:33 +0800 Subject: [PATCH 1/2] Fix build error caused by broken PCH_PTP module dependency. The .config is: CONFIG_PCH_GBE=y CONFIG_PCH_PTP=y

Re: [PATCH v2 1/1] perf tools: remove sscanf extension %as

2012-09-24 Thread Masami Hiramatsu
(2012/09/21 5:37), irina.tir...@gmail.com wrote: > From: Irina Tirdea > > perf uses sscanf extension %as to read and allocate a > string in the same step. This is a non-standard extension > only present in new versions of glibc. > > Replacing the use of sscanf and %as with strtok_r calls > in

Re: [RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage

2012-09-24 Thread Guo Chao
On Mon, Sep 24, 2012 at 04:28:12PM +1000, Dave Chinner wrote: > On Mon, Sep 24, 2012 at 02:12:05PM +0800, Guo Chao wrote: > > On Mon, Sep 24, 2012 at 02:23:43PM +1000, Dave Chinner wrote: > > > On Mon, Sep 24, 2012 at 10:42:21AM +0800, Guo Chao wrote: > > > > On Sat, Sep 22, 2012 at 08:49:12AM

linux-next: manual merge of the staging tree with the vfs tree

2012-09-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/android/binder.c between commit 004223461eee ("new helper: __alloc_fd()") from the vfs tree and commits efde99cd281a ("Staging: android: binder: Make task_get_unused_fd_flags function static") and bf2023614201

RE: [PATCH] ARM: dma-mapping: Fix potential memory leak in atomic_pool_init()

2012-09-24 Thread Marek Szyprowski
Hello, On Monday, September 17, 2012 7:10 AM Sachin Kamat wrote: > When either of __alloc_from_contiguous or __alloc_remap_buffer fails > to provide a valid pointer, allocated memory is freed up and an error > is returned. 'pages' was however not freed before returning error. > > Cc: Arnd

Re: [PATCH scsi] Add NULL checking of return value from scsi_cmd_to_driver()

2012-09-24 Thread Li Zhong
On Mon, 2012-09-24 at 09:44 +0400, James Bottomley wrote: > On Mon, 2012-09-24 at 13:30 +0800, Li Zhong wrote: > > Just noticed that after commit 919f797, it is possible that > > scsi_cmd_to_driver() returns NULL. This patch adds the NULL checking for > > drv > > returned from the above

Re: [PATCH v3 2/5] fat: allocate persistent inode numbers

2012-09-24 Thread Namjae Jeon
2012/9/24, OGAWA Hirofumi : > OGAWA Hirofumi writes: > >> Namjae Jeon writes: >> What is problem if i_ino + i_generation is not match? I think, even if those didn't match, i_pos in FH should resolve issue, no? >>> No, It can not resolve issue. >>> in NFS file handle, there is a

Re: linux-next: manual merge of the usb tree with the acpi tree

2012-09-24 Thread Stephen Rothwell
Hi Greg, On Mon, 24 Sep 2012 16:49:16 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the usb tree got a conflict in > drivers/usb/core/usb-acpi.c between commit 59e6423ba8aa ("usb-acpi: > Comply with the ACPI API change") from the acpi tree and commit > 05f916894a69 ("usb/acpi:

Re: Freeze or Oops on recent kernels

2012-09-24 Thread yvahk-xreary
> >HINT: We only care about the very most recent kernel. If you can >take a photo of the stack trace, then file a bug report and attach >the .jpg. > After a bit of experimentation my guess is that is is all about bad Intel DX58SO2 motherboard. And my guess is that it has something to do with

linux-next: manual merge of the usb tree with the acpi tree

2012-09-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/usb/core/usb-acpi.c between commit 59e6423ba8aa ("usb-acpi: Comply with the ACPI API change") from the acpi tree and commit 05f916894a69 ("usb/acpi: Store info on device removability") from the usb tree. The latter

Re: [PATCH 2/2] ACPI: Override arbitrary ACPI tables via initrd for debugging

2012-09-24 Thread Thomas Renninger
On Sunday 23 September 2012 06:25:40 Len Brown wrote: > > +config ACPI_INITRD_TABLE_OVERRIDE > > + bool > > + default y > > Do distros in addition to SuSE concur they want to ship this way? Whether distros ship this in their enterprise, community or just in a -debug kernel flavor is

[PATCH] Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate

2012-09-24 Thread Christophe Leroy
MAXIDL is the timeout after which a receive buffer is closed when not full if no more characters are received. We calculate it from the baudrate so that the duration is always the same at standard rates: about 4ms. At 9600 bauds it gives a timeout of 4 characters, which is the timeout on the 8250

Re: Freeze or Oops on recent kernels

2012-09-24 Thread Dan Carpenter
I'm not going to file a bug for this on bugzilla because it's ancient and not a new bug. But I can forward it to linux-media and the get_maintainer.pl people for cx23885_video. HINT: We only care about the very most recent kernel. If you can take a photo of the stack trace, then file a bug

Re: [PATCH v3 2/5] fat: allocate persistent inode numbers

2012-09-24 Thread OGAWA Hirofumi
OGAWA Hirofumi writes: > Namjae Jeon writes: > >>> What is problem if i_ino + i_generation is not match? I think, even if >>> those didn't match, i_pos in FH should resolve issue, no? >> No, It can not resolve issue. >> in NFS file handle, there is a reference to the current inode number. >>

linux-next: manual merge of the tty tree with the workqueues tree

2012-09-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in drivers/tty/serial/omap-serial.c between commit 43829731dd37 ("workqueue: deprecate flush[_delayed]_work_sync()") from the workqueues tree and commit ac57e7f38ea6 ("serial: omap: Remove unnecessary checks from suspend/resume")

Re: [PATCH v3 2/5] fat: allocate persistent inode numbers

2012-09-24 Thread OGAWA Hirofumi
Namjae Jeon writes: >> What is problem if i_ino + i_generation is not match? I think, even if >> those didn't match, i_pos in FH should resolve issue, no? > No, It can not resolve issue. > in NFS file handle, there is a reference to the current inode number. > So, if by eviction that is changed

Re: Linux 3.6-rc7

2012-09-24 Thread Tarkan Erimer
On 09/24/2012 05:01 AM, Stephen Rothwell wrote: And pigs might fly :-) Perhaps; pigs cannot fly, but penguins can fly! :-P Unless, you didn't see this already : http://laughingsquid.com/flying-penguins-documentary-prank-on-bbc/ http://en.wikipedia.org/wiki/Flying_penguins Have fun! ;-)

Re: [RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage

2012-09-24 Thread Dave Chinner
On Mon, Sep 24, 2012 at 02:12:05PM +0800, Guo Chao wrote: > On Mon, Sep 24, 2012 at 02:23:43PM +1000, Dave Chinner wrote: > > On Mon, Sep 24, 2012 at 10:42:21AM +0800, Guo Chao wrote: > > > On Sat, Sep 22, 2012 at 08:49:12AM +1000, Dave Chinner wrote: > > > > > > > On Fri, Sep 21, 2012 at

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