Re: [alsa-devel] [PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-10-16 Thread Takashi Iwai
At Sun, 14 Oct 2012 21:09:23 +0200, Ondrej Zary wrote: > > set_pro_rate() is called from hw_params() but not from prepare(), breaking > running PCM on suspend/resume. > Call it from prepare() if PCM was suspended to fix the problem. > > Signed-off-by: Ondrej Zary This should be fixed in the re

Re: [PATCH v5 12/14] execute the whole memcg freeing in free_worker

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/16 19:16), Glauber Costa wrote: > A lot of the initialization we do in mem_cgroup_create() is done with > softirqs enabled. This include grabbing a css id, which holds > &ss->id_lock->rlock, and the per-zone trees, which holds > rtpz->lock->rlock. All of those signal to the lockdep mechani

Re: [alsa-devel] [PATCH 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-10-16 Thread Takashi Iwai
At Sun, 14 Oct 2012 21:09:18 +0200, Ondrej Zary wrote: > > Hello, > this patch series adds full support for Philips PSC724 Ultimate Edge sound > card to snd-ice1712 driver. Unlike other snd-ice1712 subdrivers, the codec > code is splitted into separate files, reusable by other ice1712 subdrivers.

Re: ata4.00: failed to get Identify Device Data, Emask 0x1

2012-10-16 Thread Aaron Lu
On 10/17/2012 12:50 PM, Robert Hancock wrote: > On 10/16/2012 07:38 PM, Aaron Lu wrote: >> On 10/16/2012 11:18 PM, Borislav Petkov wrote: >>> On Tue, Oct 16, 2012 at 03:58:24PM +0100, Alan Cox wrote: Can you check whether 3.6 works on them. I know 3.6 is horribly broken on several brands

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-10-16 Thread Fengguang Wu
On Wed, Oct 17, 2012 at 02:26:22PM +0800, Xiao Guangrong wrote: > On 09/14/2012 01:57 PM, Xiao Guangrong wrote: > > On 09/12/2012 04:15 PM, Avi Kivity wrote: > >> On 09/12/2012 07:40 AM, Fengguang Wu wrote: > >>> Hi, > >>> > >>> 3 of my test boxes running v3.5 kernel become unaccessible and I find

Re: [PATCH 1/4] acpi,memory-hotplug : add memory offline code to acpi_memory_device_remove()

2012-10-16 Thread Wen Congyang
At 10/13/2012 03:10 AM, KOSAKI Motohiro Wrote: -static int acpi_memory_disable_device(struct acpi_memory_device *mem_device) +static int acpi_memory_remove_memory(struct acpi_memory_device *mem_device) { int result; struct acpi_memory_info *info

Re: [PATCH v5 06/14] memcg: kmem controller infrastructure

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/16 19:16), Glauber Costa wrote: > This patch introduces infrastructure for tracking kernel memory pages to > a given memcg. This will happen whenever the caller includes the flag > __GFP_KMEMCG flag, and the task belong to a memcg other than the root. > > In memcontrol.h those functions a

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Joe Perches
On Wed, 2012-10-17 at 12:03 +0530, Viresh Kumar wrote: > On 17 October 2012 11:56, Joe Perches wrote: > > Oh good, but please use a space between KBUILD_MODNAME > > and the quoted ": ". > > Anything technical behind it or just for code formatting? Just code formatting though it makes it easier t

[PATCH V2] extcon : register for cable interest by cable name

2012-10-16 Thread Jenny TC
There are some scnearios where a driver/framework needs to register interest for a particular cable without specifying the extcon device name. One such scenario is charger notifications. The platform will have charger cabel which will be bound to any extcon device. It's not mandatory for the charge

Re: [PATCH] CAN: sja1000: Add support for Connect Tech Inc's Canpro/104-Plus Opto CAN board

2012-10-16 Thread Wolfgang Grandegger
On 10/16/2012 11:03 PM, Muhammad Ghias wrote: > Patch adds support for CANpro/104-Plus Opto CAN board. Board uses PLX9030 > bridge and two NXP SJA1000 CAN controllers. Patch is generated and tested > with kernel 3.6.1. > > If you have any questions or any feedback please let me know. > > Thanks,

RE: [PATCH] extcon : callback function to read cable property

2012-10-16 Thread Tc, Jenny
Myunjoo/Chanwoo Ping... Could you please review this patch? -jtc > > > Subject: Re: [PATCH] extcon : callback function to read cable > > > property > > > > > > I think the reason why we have extcon is in first place is to only > > > notify the clients of cable connection and disconnection and it

Re: [RFC v3 09/13] vfs: add one wq to update map info periodically

2012-10-16 Thread Zhi Yong Wu
On Tue, Oct 16, 2012 at 8:27 AM, Dave Chinner wrote: > On Wed, Oct 10, 2012 at 06:07:31PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add a per-superblock workqueue and a work_struct >> to run periodic work to update map info on each superblock. >> >> Signed-off-by: Zhi Yong

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Viresh Kumar
On 17 October 2012 11:56, Joe Perches wrote: > Oh good, but please use a space between KBUILD_MODNAME > and the quoted ": ". Anything technical behind it or just for code formatting? As output is same in both cases :) 8<--8<--- From: V

[PATCH] qla3xxx: Ensure req_q_phy_addr writes to the register

2012-10-16 Thread Joe Jin
Make sure req_q_phy_addr write to the register. Signed-off-by: Joe Jin Cc: Ron Mercer Cc: Jitendra Kalsaria --- drivers/net/ethernet/qlogic/qla3xxx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethernet/qlogic/qla3xxx.c index d

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Joe Perches
On Wed, 2012-10-17 at 11:47 +0530, Viresh Kumar wrote: > On 17 October 2012 11:34, Joe Perches wrote: > > I believe you are quoting KBUILD_MODNAME > > Yes. :( > Far better output with this. Thanks. Oh good, but please use a space between KBUILD_MODNAME and the quoted ": ". #define pr_fmt(fmt) K

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-10-16 Thread Xiao Guangrong
On 09/14/2012 01:57 PM, Xiao Guangrong wrote: > On 09/12/2012 04:15 PM, Avi Kivity wrote: >> On 09/12/2012 07:40 AM, Fengguang Wu wrote: >>> Hi, >>> >>> 3 of my test boxes running v3.5 kernel become unaccessible and I find >>> two of them kept emitting this dmesg: >>> >>> vmx_handle_exit: unexpecte

[PATCH v5 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-16 Thread Takao Indoh
This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. Signed-off-by: Takao Indoh --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 353 include/linux/pc

[PATCH v5 2/2] x86, pci: Enable PCI INTx when MSI is disabled

2012-10-16 Thread Takao Indoh
This patch enables INTx if MSI is disabled in pcibios_enable_device(). In normal case interrupt disable bit in command register is 0b on boot time, but in case of kdump, this bit may be 1b. It causes problems of some drivers. At leaset I confirmed mptsas driver does not work in such a case. This pa

[PATCH v5 0/2] Reset PCIe devices to address DMA problem on kdump with iommu

2012-10-16 Thread Takao Indoh
These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When "reset_devices" is specified, a hot reset is triggered on each PCIe root port and downstream port to reset its downstream endpoint. Background: A kdump problem about DMA has been discussed for a long tim

[PATCH] pinctrl: tegra: correct bank for pingroup and drv pingroup

2012-10-16 Thread Pritesh Raithatha
Signed-off-by: Pritesh Raithatha --- drivers/pinctrl/pinctrl-tegra30.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/pinctrl/pinctrl-tegra30.c b/drivers/pinctrl/pinctrl-tegra30.c index 0386fdf..7894f14 100644 --- a/drivers/pinctrl/pinct

[PATCH] MFD: SEC: Fix reg_offset for interrupt registers

2012-10-16 Thread Inderpal Singh
reg_offset is offset of the status/mask registers. Now, since status_base and mask_base are pointing to corresponding first registers, reg_offset should start from 0 otheriwse regmap_add_irq_chip will fail during probe. Signed-off-by: Inderpal Singh --- It is based on Samuel's for-next-merge bran

Re: [PATCH 2/2]suppress "Device nodeX does not have a release() function" warning

2012-10-16 Thread Wen Congyang
At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: > On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu > wrote: >> When calling unregister_node(), the function shows following message at >> device_release(). >> >> "Device 'node2' does not have a release() function, it is broken and must >> be fixed."

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Viresh Kumar
On 17 October 2012 11:34, Joe Perches wrote: > I believe you are quoting KBUILD_MODNAME Yes. :( Far better output with this. Thanks. @Rafael: Please consider below patch instead: From: Viresh Kumar Date: Wed, 17 Oct 2012 10:38:31 +0530 Subject: [PATCH] cpufreq: Improve debug prints With debug

discrepancy while save and restore of debounce registers

2012-10-16 Thread Hebbar, Gururaja
Hi, I came across a peculiar issue while updating GPIO debounce registers on OMAP platform. According to mainline commit ae547354a8ed59f19b57f7e1de9c7816edfc3537 gpio/omap: save and restore debounce registers GPIO debounce registers need to be saved and restored for proper functioning of driver

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-16 Thread Greg Ungerer
Hi Al, On 15/10/12 11:30, Al Viro wrote: On Mon, Oct 01, 2012 at 10:38:09PM +0100, Al Viro wrote: [with apologies for folks Cc'd, resent due to mis-autoexpanded l-k address on the original posting ;-/ Mea culpa...] There's an interesting ongoing project around kernel_thread() and frie

[PATCH 12/23] printk: Rename clear_seq and clear_idx variables

2012-10-16 Thread Joe Perches
Make these variables more specific to the printk log subsystem adding prefix printk_log_. This allows them to become non-static. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/kerne

RE: [PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-16 Thread Patil, Rachna
Hi Samuel, I have got an ACK from Jonathan and Dmitry on this patch series. Can you please pull in if there are no further review comments. Regards, Rachna. On Tue, Oct 16, 2012 at 23:12:07, Dmitry Torokhov wrote: > Hi Rachna, > > On Tue, Oct 16, 2012 at 12:55:37PM +0530, Patil, Rachna wrote: >

[PATCH 23/23] printk: Move kmsg_dump functions to separate file

2012-10-16 Thread Joe Perches
Generic restructuring. Create kmsg_dump.c, add to Makefile and remove from printk.c Signed-off-by: Joe Perches --- kernel/printk/Makefile|1 + kernel/printk/kmsg_dump.c | 328 + kernel/printk/printk.c| 318 ---

[PATCH 11/23] printk: Rename logbuf_lock to printk_logbuf_lock

2012-10-16 Thread Joe Perches
Make this generic name more specific to the printk subsystem and allow it to become non-static. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 102 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/kernel/printk/printk.c b/

[PATCH 22/23] printk: Add printk_syslog.c and .h

2012-10-16 Thread Joe Perches
Move syslog functions to a separate file. Add compilation unit to Makefile. Signed-off-by: Joe Perches --- kernel/printk/Makefile|1 + kernel/printk/printk.c| 351 +--- kernel/printk/printk_syslog.c | 354 +

[PATCH 21/23] printk: Move functions printk_print_time and printk_msg_print_text

2012-10-16 Thread Joe Perches
Move these functions to printk_log. Move the static function print_prefix too. Add "#include " to printk_log.c. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 112 --- kernel/printk/printk_log.c | 114

[PATCH 20/23] printk: Prefix print_time and msg_print_text with printk_

2012-10-16 Thread Joe Perches
Make these static functions global and prefix them with printk_. Create declarations for these functions in printk_log.h Signed-off-by: Joe Perches --- kernel/printk/printk.c | 43 --- kernel/printk/printk_log.h |4 2 files changed, 28 inser

[PATCH 19/23] printk: Move devkmsg bits to separate file

2012-10-16 Thread Joe Perches
Move the devkmsg_ functions and kmsg_fops declaration to devkmsg.c. Add devkmsg.o to Makefile. Signed-off-by: Joe Perches --- kernel/printk/Makefile |1 + kernel/printk/devkmsg.c | 309 +++ kernel/printk/printk.c | 296

[PATCH 18/23] printk: Rename and move 2 #defines to printk_log.h

2012-10-16 Thread Joe Perches
Rename the LOG_LINE_MAX and PREFIX_MAX #defines with PRINTK_ prefixes. Move the defines to printk_log.h Remove duplicate define too. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 24 ++-- kernel/printk/printk_log.h |3 +++ 2 files changed, 13 insertions(+)

[PATCH 17/23] printk: Make wait_queue_head_t printk_log_wait extern

2012-10-16 Thread Joe Perches
Move the variable to the .h file too. Signed-off-by: Joe Perches --- kernel/printk/printk_log.h |1 + 1 file changed, 1 insertion(+) diff --git a/kernel/printk/printk_log.h b/kernel/printk/printk_log.h index 0327f8d..e846f1d 100644 --- a/kernel/printk/printk_log.h +++ b/kernel/printk/printk

[PATCH 16/23] printk: Add printk_log.c

2012-10-16 Thread Joe Perches
Move print_log variables and functions into a separate file. Signed-off-by: Joe Perches --- kernel/printk/Makefile |1 + kernel/printk/printk.c | 128 - kernel/printk/printk_log.c | 149 3 files change

[PATCH 15/23] printk: Add and use printk_log.h

2012-10-16 Thread Joe Perches
Create a header file for printk_log functions and variables. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 91 +-- kernel/printk/printk_log.h | 115 2 files changed, 116 insertions(+), 90 deletions(-)

[PATCH 14/23] printk: Rename LOG_ALIGN to PRINTK_LOG_ALIGN

2012-10-16 Thread Joe Perches
Make the #define more specific to the printk subsystem. Signed-off-by: Joe Perches --- kernel/printk/printk.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 0134b2e..bc0b4ed 100644 --- a/kernel/printk/printk.c

[PATCH 13/23] printk: Remove static from printk_ variables

2012-10-16 Thread Joe Perches
Allow a separation of functions and variables into multiple files. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 46 +++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 37

[PATCH 10/23] printk: Rename log_wait to printk_log_wait

2012-10-16 Thread Joe Perches
Make this generic variable more specific to the printk subsystem to allow this variable to be used without a specific extern. Also update fs/proc/kmsg.c as it uses log_wait. Signed-off-by: Joe Perches --- fs/proc/kmsg.c |4 ++-- kernel/printk/printk.c | 12 ++-- 2 files ch

[PATCH 09/23] printk: Rename enum log_flags to printk_log_flags

2012-10-16 Thread Joe Perches
Make this generic enum more specific to the printk subsystem. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 992c064..341f2d9 1006

[PATCH 08/23] printk: Rename log_ variables and functions

2012-10-16 Thread Joe Perches
Make these generic names more specific to the printk subsystem and allow these variables and functions to become non-static. Rename log_text to printk_log_text. Rename log_dict to printk_log_dict. Rename log_from_idx to printk_log_from_idx. Rename log_next to printk_log_next. Rename log_store to p

[PATCH 07/23] printk: Rename log_first and log_next variables

2012-10-16 Thread Joe Perches
Make these generic names more specific to the printk subsystem and allow these variables to become non-static. Rename log_first_idx to printk_log_first_idx. Rename log_first_seq to printk_log_first_seq. Rename log_next_idx to printk_log_next_idx. Rename log_next_seq to printk_log_next_seq. Signed

[PATCH 06/23] printk: Rename log_buf and __LOG_BUF_LEN

2012-10-16 Thread Joe Perches
Make these generic names more specific to the printk subsystem and allow these variables to become non-static. Rename log_buf to printk_log_buf. Rename __LOG_BUF_LEN define to __PRINTK_LOG_BUF_LEN. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 76

[PATCH 05/23] printk: rename struct log to struct printk_log

2012-10-16 Thread Joe Perches
Rename the struct to enable moving portions of printk.c to separate files. The rename changes output of /proc/vmcoreinfo. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 80 1 file changed, 40 insertions(+), 40 deletions(-) diff --git

[PATCH 04/23] printk: Use pointer for console_cmdline indexing

2012-10-16 Thread Joe Perches
Make the code a bit more compact by always using a pointer for the active console_cmdline. Move overly indented code to correct indent level. Signed-off-by: Joe Perches --- kernel/printk/printk.c | 49 +--- 1 file changed, 26 insertions(+), 23 delet

[PATCH 03/23] printk: Move braille console support into separate braille.[ch] files

2012-10-16 Thread Joe Perches
Create files with prototypes and static inlines for braille support. Make braille_console functions return 1 on success. cc: Samuel Thibault Signed-off-by: Joe Perches --- drivers/accessibility/braille/braille_console.c |9 - kernel/printk/Makefile |1 + ke

[PATCH 02/23] printk: Add console_cmdline.h

2012-10-16 Thread Joe Perches
Add an include file for the console_cmdline struct so that the braille console driver can be separated. Signed-off-by: Joe Perches --- kernel/printk/console_cmdline.h | 14 ++ kernel/printk/printk.c | 13 - 2 files changed, 18 insertions(+), 9 deletions(-) c

[PATCH 01/23] printk: Move to separate directory for easier modification

2012-10-16 Thread Joe Perches
Make it easier to break up printk into bite-sized chunks. Remove printk path/filename from comment. Signed-off-by: Joe Perches --- kernel/Makefile |3 ++- kernel/printk/Makefile |1 + kernel/{ => printk}/printk.c |2 -- 3 files changed, 3 insertions(+), 3 deletion

[PATCH 00/23] printk: refactoring

2012-10-16 Thread Joe Perches
Make printk a bit more readable. Joe Perches (23): printk: Move to separate directory for easier modification printk: Add console_cmdline.h printk: Move braille console support into separate braille.[ch] files printk: Use pointer for console_cmdline indexing printk: rename struct log to

Re: [PATCH 0/3] Drivers: hv: vmbus

2012-10-16 Thread Jason Wang
On 10/13/2012 04:22 AM, K. Y. Srinivasan wrote: Fix a bug in the error path of vmbus_open(). As part of this also get rid of some unnecessary forward declarations as well as empty functions. I would like to thank Jason Wang for reporting the issues. K. Y. Srinivasan (3): Drivers: hv: Get rid

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Joe Perches
On Wed, 2012-10-17 at 11:25 +0530, Viresh Kumar wrote: > On 17 October 2012 11:09, Joe Perches wrote: > > On Wed, 2012-10-17 at 10:50 +0530, Viresh Kumar wrote: > >> With debug options on, it is difficult to locate cpufreq core's debug > >> prints. > > [] > >> diff --git a/drivers/cpufreq/cpufreq

Re: [PATCH] percpu-rwsem: use barrier in unlock path

2012-10-16 Thread Lai Jiangshan
On 10/17/2012 10:23 AM, Linus Torvalds wrote: > [ Architecture people, note the potential new SMP barrier! ] > > On Tue, Oct 16, 2012 at 4:30 PM, Mikulas Patocka wrote: >> + /* >> +* The lock is considered unlocked when p->locked is set to false. >> +* Use barrier prevent re

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Viresh Kumar
On 17 October 2012 11:09, Joe Perches wrote: > On Wed, 2012-10-17 at 10:50 +0530, Viresh Kumar wrote: >> With debug options on, it is difficult to locate cpufreq core's debug prints. > [] >> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > [] >> @@ -15,6 +15,8 @@ >> +#define pr

[PATCH 2/2] backlight: tosa: use devm_gpio_request_one

2012-10-16 Thread Jingoo Han
By using devm_gpio_request_one it is possible to set the direction and initial value in one shot. Thus, using devm_gpio_request_one can make the code simpler. Signed-off-by: Jingoo Han Cc: Richard Purdie Cc: Dmitry Baryshkov --- drivers/video/backlight/tosa_bl.c |6 ++ drivers/video/b

[PATCH 1/2] backlight: lms283gf05: use devm_gpio_request_one

2012-10-16 Thread Jingoo Han
By using devm_gpio_request_one it is possible to set the direction and initial value in one shot. Thus, using devm_gpio_request_one can make the code simpler. Signed-off-by: Jingoo Han Cc: Richard Purdie Cc: Marek Vasut --- drivers/video/backlight/lms283gf05.c | 10 +++--- 1 files change

[PATCH 2/2] KVM: VMX: report internal error for MMIO #PF due to delivery event

2012-10-16 Thread Xiao Guangrong
The #PF with PFEC.RSV = 1 indicates that the guest is accessing MMIO, we can not fix it if it is caused by delivery event. Reporting internal error for this case Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 26 -- 1 files changed, 16 insertions(+), 10 deletion

[PATCH 1/2] KVM: VMX: report internal error for the unhandleable event

2012-10-16 Thread Xiao Guangrong
VM exits during Event Delivery is really unexpected if it is not caused by Exceptions/EPT-VIOLATION/TASK_SWITCH, we'd better to report an internal and freeze the guest, the VMM has the chance to check the guest Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 19 +++ inc

Re: new execve/kernel_thread design

2012-10-16 Thread Al Viro
On Wed, Oct 17, 2012 at 09:32:34AM +0400, Max Filippov wrote: > On Wed, Oct 17, 2012 at 2:35 AM, Al Viro wrote: > > [apologies for enormous Cc; I've talked to some of you in private mail > > and after being politely asked to explain WTF was all that thing for > > and how was it supposed to work, w

Re: [patch for-3.7] mm, mempolicy: fix printing stack contents in numa_maps

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/17 14:24), David Rientjes wrote: On Wed, 17 Oct 2012, Dave Jones wrote: BUG: sleeping function called from invalid context at kernel/mutex.c:269 in_atomic(): 1, irqs_disabled(): 0, pid: 8558, name: trinity-child2 3 locks on stack by trinity-child2/8558: #0: held: (&p->lock){+.+.+

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

2012-10-16 Thread Pallala, Ramakrishna
Hi Anton, Please ignore the following patch. > This patch adds a helper function in the power supply core to get the power > supply object from supplied_to list based on power supply attribute. > > Signed-off-by: Ramakrishna Pallala > --- > drivers/power/power_supply_core.c | 19 +++

Re: [PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Joe Perches
On Wed, 2012-10-17 at 10:50 +0530, Viresh Kumar wrote: > With debug options on, it is difficult to locate cpufreq core's debug prints. [] > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c [] > @@ -15,6 +15,8 @@ > +#define pr_fmt(fmt) "cpufreq: " fmt I'd prefer that #define pr_f

Re: [RFC PATCH v1 2/3] PM / Runtime: force memory allocation with no I/O during runtime_resume callbcack

2012-10-16 Thread Rafael J. Wysocki
On Tuesday 16 of October 2012 23:59:42 Ming Lei wrote: > This patch applies the introduced memalloc_noio_save() and > memalloc_noio_restore() to force memory allocation with no I/O > during runtime_resume callback. > > Cc: Alan Stern > Cc: Oliver Neukum > Cc: Rafael J. Wysocki > Signed-off-by:

Re: new execve/kernel_thread design

2012-10-16 Thread Max Filippov
On Wed, Oct 17, 2012 at 2:35 AM, Al Viro wrote: > [apologies for enormous Cc; I've talked to some of you in private mail > and after being politely asked to explain WTF was all that thing for > and how was it supposed to work, well...] [...] > Not even a tentative patchset: hexagon, openrisc, ti

Re: [patch for-3.7] mm, mempolicy: fix printing stack contents in numa_maps

2012-10-16 Thread David Rientjes
On Wed, 17 Oct 2012, Dave Jones wrote: > BUG: sleeping function called from invalid context at kernel/mutex.c:269 > in_atomic(): 1, irqs_disabled(): 0, pid: 8558, name: trinity-child2 > 3 locks on stack by trinity-child2/8558: > #0: held: (&p->lock){+.+.+.}, instance: 88010c9a00b0, at: >

[PATCH 2/2] cpufreq: Debugging options for the cpufreq subsystem

2012-10-16 Thread Viresh Kumar
This adds Kconfig options for DEBUG and VERBOSE_DEBUG to the cpufreq subsystem, This is pretty useful for developers who want to debug cpufreq subsystem and don't want to editing the Makefile manually each time they want to debug. Signed-off-by: Viresh Kumar --- drivers/cpufreq/Kconfig | 14 +++

[PATCH 1/2] cpufreq: Improve debug prints

2012-10-16 Thread Viresh Kumar
With debug options on, it is difficult to locate cpufreq core's debug prints. Fix this by prefixing debug prints with: "cpufreq: " Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 ++ drivers/cpufreq/cpufreq_performance.c | 2 ++ drivers/cpufreq/cpufreq_powersave.c |

Re: [PATCH 1/1] Update acpi_root_bridge_list in container hotplug path.

2012-10-16 Thread Yinghai Lu
On Tue, Oct 16, 2012 at 8:25 PM, Tang Chen wrote: > Hi Yinghai, > > List acpi_root_bridge_list is only updated when kernel is booting, > or in _handle_hotplug_event_root() when handling ACPI_NOTIFY_DEVICE_CHECK > event on a pci root bridge device. But when we hotplug a container, which > contains

Re: [PATCH v9 05/12] x86, hotplug, suspend: Online CPU0 for suspend or hibernate

2012-10-16 Thread Rafael J. Wysocki
On Tuesday 16 of October 2012 22:12:27 Yu, Fenghua wrote: > > On 10/16/2012 09:47 PM, Rafael J. Wysocki wrote: > > > On Tuesday 16 of October 2012 11:05:18 Srivatsa S. Bhat wrote: > > >> On 10/16/2012 02:20 AM, Rafael J. Wysocki wrote: > > >>> On Friday 12 of October 2012 09:09:42 Fenghua Yu wrote:

Re: [RFC PATCH v1 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/17 0:59), Ming Lei wrote: > This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of > 'struct task_struct'), so that the flag can be set by one task > to avoid doing I/O inside memory allocation in the task's context. > > The patch trys to solve one deadlock problem caused

[PATCH] Fix 'perf' build on sparc.

2012-10-16 Thread David Miller
More UAPI stuff. Signed-off-by: David S. Miller diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 2762877..c50985e 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -57,7 +57,7 @@ void get_term_dimensions(struct winsize *ws); #endif #ifdef __sparc__ -#include "../../arch/spar

[GIT] Networking

2012-10-16 Thread David Miller
1) Fix regression in /proc/net/if_inet6, sometimes devices do not get listed. From Eric Dumazet. 2) Add IPSEC networking sub-section to MAINTAINERS. 3) S390 networking fixes from Hendrik Brueckner and Stefan Raspl. 4) Fix enslavement of devices that can't do VLAN properly, from Jiri P

[GIT] Sparc

2012-10-16 Thread David Miller
Two sparc64 perf bug fixes and add a sysrq facility so I can diagnose these kinds of problems more quickly in the future. Please pull, thanks a lot. The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git

Re: [PATCH 1/2] PM / devfreq: fix sscanf handling for writable sysfs entries

2012-10-16 Thread MyungJoo Ham
> sscanf returns 0 when an invalid parameter like: > echo -n "a">min_freq > is attempted. Returning back the return result(0) will > cause the command not to return back to command > prompt. > > Instead, just return -EINVAL when sscanf does not > return 1. > > This is done for min_freq, max_freq

Re: [PATCH] PM / devfreq: kernel-doc typo corrections

2012-10-16 Thread MyungJoo Ham
> Parameter documentation needs a ':' for scripts/kernel-doc > to parse properly. > > Minor fixes for ones warned by: > ./scripts/kernel-doc -text drivers/devfreq/devfreq.c>/dev/null > > Cc: "Rafael J. Wysocki" > Cc: Kevin Hilman > Cc: MyungJoo Ham > Cc: Kyungmin Park > Cc: linux-kernel@vger.

[PATCH] backlight: ili9320: add missing SPI dependency

2012-10-16 Thread Jingoo Han
This patch adds this missing SPI dependency and prevents the driver from buiding without SPI, because funtion of spi driver is used in this driver. Signed-off-by: Jingoo Han Cc: Richard Purdie Cc: Ben Dooks --- drivers/video/backlight/Kconfig |3 ++- 1 files changed, 2 insertions(+), 1 del

Re: ata4.00: failed to get Identify Device Data, Emask 0x1

2012-10-16 Thread Robert Hancock
On 10/16/2012 07:38 PM, Aaron Lu wrote: On 10/16/2012 11:18 PM, Borislav Petkov wrote: On Tue, Oct 16, 2012 at 03:58:24PM +0100, Alan Cox wrote: Can you check whether 3.6 works on them. I know 3.6 is horribly broken on several brands of AHCI controller (Jmicron for example). Dunno where Jeff is

Re: [RESEND PATCH 1/2] perf, cpu hotplug: Run CPU_STARTING notifiers with irqs disabled

2012-10-16 Thread Srivatsa S. Bhat
On 10/17/2012 12:04 AM, Paul E. McKenney wrote: > On Tue, Oct 16, 2012 at 10:07:15PM +0530, Srivatsa S. Bhat wrote: >> On 10/16/2012 10:01 PM, Paul E. McKenney wrote: >>> On Tue, Oct 16, 2012 at 01:28:10PM +0530, Srivatsa S. Bhat wrote: The CPU_STARTING notifiers are supposed to be run with ir

Re: Initial report on F2FS filesystem performance

2012-10-16 Thread Sooman Jeong
Tue, 16 Oct 2012 15:58:59 +0900, Namjae Jeon wrote: >Hello. > >Would you share the result about random read ? > >Thanks. > >2012/10/16, Sooman Jeong <77sm...@hanyang.ac.kr>: >> >> This is a brief summary of our initial filesystem performance study of f2fs >> against existing two filesystems in lin

Re: [PATCH] x86/ioapic: fix the irq_2_pin mem leak when destroy_irq

2012-10-16 Thread Yinghai Lu
On Tue, Oct 16, 2012 at 8:36 PM, Liu, Chuansheng wrote: >> So we can use generic list helper function. > Does it really need the generic list with both prev and next pointers? > For irq_2_pin list, the next pointer seems be enough. generic version should be always better than home grown one. -- T

Re: [PATCH v4 4/6] perf tools: Try to find cross-built objdump path

2012-10-16 Thread Namhyung Kim
Hi Arnaldo and Irina, On Tue, 16 Oct 2012 08:26:19 -0700, Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 16, 2012 at 02:33:38AM +0300, Irina Tirdea escreveu: >> From: Namhyung Kim > > Well, by now it is not anymore from Namhyung, but based on a previous > patch by him, right? > > I'm ok with the p

[PATCH] DMA: PL330: Add runtime pm support

2012-10-16 Thread Inderpal Singh
At the pl330's probe point the device is already in runtime resume state. Hence to manage the device with runtime, the probe should do pm_runtime_put and remove should do pm_runtime_get to balance with probe. And in between, the device is being get/put at alloc_chan_resources and free_chan_resourc

Re: [patch for-3.7] mm, mempolicy: fix printing stack contents in numa_maps

2012-10-16 Thread Dave Jones
On Tue, Oct 16, 2012 at 05:31:23PM -0700, David Rientjes wrote: > -pol = get_vma_policy(proc_priv->task, vma, vma->vm_start); > +task_lock(task); > +pol = get_vma_policy(task, vma, vma->vm_start); > mpol_to_str(buffer, sizeof(buffer), pol, 0); > mpol_cond_put(pol); > +

RE: [PATCH 1/3] mmc: esdhc: enable polling to detect card by itself

2012-10-16 Thread Yong Ding
Shawn, Thanks for your comment. And sorry for my so late due to illness:-) SDHCI_QUIRK_BROKEN_CARD_DETECTION is used for notifying we don't use the host internal card detection method so that we don't need enable/disable those relevant interrupt bits of host(sdhci_set_card_detection in sdhci.c).

lots of suspicious RCU traces

2012-10-16 Thread Dave Jones
I just triggered this while fuzz testing. All traces happened in quick succession. Dave === [ INFO: suspicious RCU usage. ] 3.7.0-rc1+ #31 Not tainted --- include/linux/rcupdate.h:738 rcu_read_lock() used illegally while idle! other

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
> 2012-10-16 (화), 16:14 +, Arnd Bergmann: > > On Tuesday 16 October 2012, Jaegeuk Kim wrote: > > > Thank you for a lot of points to be addressed. :) > > > Maybe it's time to summarize them. > > > Please let me know what I misunderstood. > > > > > > [In v2] > > > - Extension list > > > : Mkfs

Re: [PATCH v2 3/6] Input: da9052_tsi.c: Fix interrupt handling

2012-10-16 Thread Fabio Estevam
Hi Dmitry, On Thu, Oct 4, 2012 at 1:21 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Currently da9062_tsi does not probe and it fails as follows: > > da9052 1-0048: Unable to determine device interrupts > > Use the new da9052 irq functions and allow the driver to probe and operate > correct

Re: [RFC PATCH v1 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-16 Thread Ming Lei
On Wed, Oct 17, 2012 at 4:19 AM, Andrew Morton wrote: > > The patch seems reasonable to me. I'd like to see some examples of > these resume-time callsite which are performing the GFP_KERNEL > allocations, please. You have found some kernel bugs, so those should > be fully described. OK, there a

Re: [PATCH 1/5] ata: suspend/resume callbacks should be conditionally compiled on CONFIG_PM_SLEEP

2012-10-16 Thread viresh kumar
On Tue, Oct 16, 2012 at 8:29 PM, Yuanhan Liu wrote: > This will fix warnings like following when CONFIG_PM_SLEEP is not set: > > warning: 'xxx_suspend' defined but not used [-Wunused-function] > warning: 'xxx_resume' defined but not used [-Wunused-function] > > Because > SE

Re: [PATCH] Make uapi/linux/irqnr.h non-empty

2012-10-16 Thread viresh kumar
On Wed, Oct 17, 2012 at 7:33 AM, Linus Torvalds wrote: > Some of the empty files seem pointless. The > > arch/arm/mach-spear13xx/include/mach/spear1310_misc_regs.h > > file, for example, has always been empty, and does not seem to be actually > used. > > Hmm? I added a few more people to the c

RE: [PATCH] x86/ioapic: fix the irq_2_pin mem leak when destroy_irq

2012-10-16 Thread Liu, Chuansheng
> -Original Message- > From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of > Yinghai Lu > Sent: Wednesday, October 17, 2012 10:03 AM > To: Liu, Chuansheng > Cc: t...@linutronix.de; mi...@redhat.com; Siddha, Suresh B; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH]

Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-16 Thread Arve Hjønnevåg
On Fri, Oct 5, 2012 at 12:48 PM, Mathieu Poirier wrote: > On 12-10-05 12:16 PM, Dmitry Torokhov wrote: >> On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote: >>> From: "Mathieu J. Poirier" >>> >>> Andrew, >>> >>> After requesting a number of changes that, to my understandi

Re: [PATCH v2] Fix a hard coding style when determining if a device is a container.

2012-10-16 Thread Tang Chen
Hi, Would anyone help to review this patch, and give some comments, please ? Thanks. :) On 10/12/2012 08:31 PM, Tang Chen wrote: "ACPI0004","PNP0A05" and "PNP0A06" are all defined in array container_device_ids[], so use it, but not the hard coding style. Also, introduce a new api is_container

[PATCH RFT] regulator: vexpress: Add missing n_voltages setting

2012-10-16 Thread Axel Lin
Signed-off-by: Axel Lin --- Hi Pawel, I don't have a chance to compile test this patch because I could not find VEXPRESS_CONFIG in current tree. Can you help testing this patch? Thanks, Axel drivers/regulator/vexpress.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH 1/1] Update acpi_root_bridge_list in container hotplug path.

2012-10-16 Thread Tang Chen
Hi Yinghai, List acpi_root_bridge_list is only updated when kernel is booting, or in _handle_hotplug_event_root() when handling ACPI_NOTIFY_DEVICE_CHECK event on a pci root bridge device. But when we hotplug a container, which contains one or more pci root bridges, container_notify_cb() will be ca

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-16 Thread Jaegeuk Kim
> On Wed, Oct 17, 2012 at 07:30:21AM +0900, Jaegeuk Kim wrote: > > > > > OTOH, I think xattr itself is for users, not for communicating > > > > > between file system and users. > > > > > > > > No, you are mistaken in that point, as Dave explained. > > > > > > e.g. selinux, IMA, ACLs, capabilities,

[PATCH v2] drivers-core: move the calling to device_pm_remove behind the calling to bus_remove_device

2012-10-16 Thread zhanglong
We hit an hang issue when removing a mmc device on Medfield Android phone by sysfs interface. device_pm_remove will call pm_runtime_remove which would disable runtime PM of the device. After that pm_runtime_get* or pm_runtime_put* will be ignored. So if we disable the runtime PM before device rea

Re: [PATCH -tip 2/4] tracing: add a resize function for making one buffer equivalent to the other buffer

2012-10-16 Thread Steven Rostedt
On Wed, 2012-10-17 at 11:47 +0900, Hiraku Toyooka wrote: > Steven, > > I'm sorry for my late reply. > (I was outside the office for business trip.) > No problem. I'm currently on a business trip now :-) -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH v2 -tip 2/4] tracing: add a resize function for making one buffer equivalent to the other buffer

2012-10-16 Thread Hiraku Toyooka
Trace buffer size is now per-cpu, so that there are following two patterns in resize of the buffers. (1) resize per-cpu buffers to same given size (2) resize per-cpu buffers to the other trace_array's buffer size for each CPU (such as preparing the max_tr which is equivalent to the

[PATCH v2 -tip 4/4] tracing: add description of snapshot to Documentation/trace/ftrace.txt

2012-10-16 Thread Hiraku Toyooka
This patch adds snapshot description in ftrace documentation. This description includes what the snapshot is and how to use it. Signed-off-by: Hiraku Toyooka Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Rob Landley Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.o

  1   2   3   4   5   6   7   >