Re: [PATCHv4 0/6] media: convert to c99 format

2012-09-24 Thread Shubhrajyoti
On Tuesday 18 September 2012 05:52 PM, Shubhrajyoti D wrote: The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add an element to the structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to

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 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 05:31:02PM +0800, Guo Chao wrote: This patchset optimizes several places which

Re: [PATCH v3] USB: PHY: Re-organize Tegra USB PHY driver

2012-09-24 Thread ABRAHAM, KISHON VIJAY
Hi, On Sat, Sep 22, 2012 at 2:08 PM, Venu Byravarasu vbyravar...@nvidia.com wrote: -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, September 21, 2012 9:45 PM To: ABRAHAM, KISHON VIJAY Cc: Venu Byravarasu; ba...@ti.com; gre...@linuxfoundation.org;

[PATCH v2] Powerpc 8xx CPM_UART desynchronisation

2012-09-24 Thread Christophe Leroy
This patch fixes a desynchronisation problem with CPM UART driver on Powerpc MPC8xx. The problem happens if data is received before the device is open by the user application. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr ---

RE: [PATCH] rtc: tps65910: Use platform_get_irq to get RTC irq details

2012-09-24 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, September 21, 2012 9:21 PM To: Venu Byravarasu Cc: a...@linux-foundation.org; a.zu...@towertech.it; linux- ker...@vger.kernel.org; rtc-li...@googlegroups.com Subject: Re: [PATCH] rtc: tps65910: Use

[PATCH] Powerpc 8xx CPM_UART too many interrupts

2012-09-24 Thread Christophe Leroy
Setting the fifo to only 1 byte generates one interrupt every 1ms at 9600 bauds. This is too much. This patch reduces the threshold to speeds below 2400 bauds like in the 8250 UART driver. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr ---

RE: [PATCH v3] USB: PHY: Re-organize Tegra USB PHY driver

2012-09-24 Thread Venu Byravarasu
-Original Message- From: ABRAHAM, KISHON VIJAY [mailto:kis...@ti.com] Sent: Monday, September 24, 2012 11:48 AM To: Venu Byravarasu Cc: Stephen Warren; ba...@ti.com; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH v3] USB:

[PATCH] Powerpc 8xx CPM_UART maxidl should not depend on fifo size

2012-09-24 Thread Christophe Leroy
maxidl register was set to fifo size. There is no reason to set this register to same value as fifo size. Setting it now to 0x10 by default as in the UCC UART driver. Signed-off-by: Christophe Leroy christophe.le...@c-s.fr --- linux-3.5-vanilla/drivers/tty/serial/cpm_uart/cpm_uart_core.c

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 05:31:02PM +0800,

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: [PATCH v3 2/5] fat: allocate persistent inode numbers

2012-09-24 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com 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

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) from

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

2012-09-24 Thread OGAWA Hirofumi
OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com 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

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

[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: [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 up to

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 removed

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 memory

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 s...@canb.auug.org.au 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

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

2012-09-24 Thread Namjae Jeon
2012/9/24, OGAWA Hirofumi hirof...@mail.parknet.co.jp: OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: Namjae Jeon linkinj...@gmail.com 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

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 function.

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 Bergmann

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: [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 +1000, Dave

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 irina.tir...@intel.com 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

[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 haicheng...@linux.intel.com 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

[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 haicheng...@linux.intel.com 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 haicheng@gmail.com ---

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 peterhu...@gmx.de ---

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 peterhu...@gmx.de --- Applied, thank you.

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];

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

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 definitions)

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 checking

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: 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, from

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

[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 ---

[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 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 peter.ujfal...@ti.com --- 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

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 use

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 sti...@antcom.de Applied as it doesn't make sense

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

[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 haicheng...@linux.intel.com 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:

[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 sa...@linux.intel.com Signed-off-by: Lee Jones lee.jo...@linaro.org ---

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

2012-09-24 Thread Glauber Costa
+ +#ifdef CONFIG_MEMCG_KMEM +WARN_ON(cgroup_add_cftypes(mem_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 line unsubscribe

[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 haicheng...@linux.intel.com 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:

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 = ida_simple_get(cache_types,

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 on ARM

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 can do a

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-base

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) +{ ... +

[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 for

[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 eran...@google.com Cc: Robert Richter robert.rich...@amd.com Signed-off-by:

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

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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 namhy...@kernel.org --- tools/perf/util/header.h | 24

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

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com As the @feat arg is not used anywhere, get rid of it from the signature. Cc: Stephane Eranian eran...@google.com Cc: Robert Richter robert.rich...@amd.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/header.c | 70

[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 eran...@google.com Cc: Robert Richter robert.rich...@amd.com Signed-off-by: Namhyung

[PATCH 6/6] perf header: Remove perf_header__read_feature

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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 dsah...@gmail.com Cc: Xiao Guangrong

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

2012-09-24 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com We have processed and saved cpuid information to perf_session_env so reuse it for get_cpu_isa(). Cc: David Ahern dsah...@gmail.com Cc: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Cc: Dong Hao haod...@linux.vnet.ibm.com Signed-off-by: Namhyung Kim

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) from

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, they are such

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; } +/* + * Because the cache is

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 platform_data

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 mismatches

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] 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 you

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 ARM

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 CONFIG_INET

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 anymore?

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 mgor...@suse.de 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

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 about bad

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. Signed-off-by:

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 interface

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, Durga

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 dc...@diasemi.com

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 dc...@diasemi.com

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 be

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 li...@horizon.com 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 li...@horizon.com --- lib/vsprintf.c | 60

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 pretty crazy -

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 vdu...@nvidia.com 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

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 li...@horizon.com wrote: Shrink the reciprocal approximations used in put_dec_full4 based on the comments in put_dec_full9. Signed-off-by: George Spelvin li...@horizon.com Cc: Denys Vlasenko vda.li...@googlemail.com Cc: Michal Nazarewicz

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 can not be

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

[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 peter.se...@gmail.com 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/) // smpl ( if@p1 (\(ret 0\|ret !=

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 Chen

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: 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 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; + ret

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 large

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: [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 peter.se...@gmail.com 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:

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

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

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 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 can

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

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 linux/slab.h #include linux/pm_runtime.h +#include

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

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. I

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: Just noticed

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

  1   2   3   4   5   6   7   8   9   10   >