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

2012-10-17 Thread Joe Perches
On Wed, 2012-10-17 at 11:25 +0530, Viresh Kumar wrote: On 17 October 2012 11:09, Joe Perches j...@perches.com 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

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

2012-10-17 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 Wangjasow...@redhat.com for reporting the issues. K. Y. Srinivasan (3):

[PATCH 00/23] printk: refactoring

2012-10-17 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

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

2012-10-17 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 j...@perches.com --- kernel/Makefile |3 ++- kernel/printk/Makefile |1 + kernel/{ = printk}/printk.c |2 -- 3 files changed, 3

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

2012-10-17 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 j...@perches.com --- kernel/printk/console_cmdline.h | 14 ++ kernel/printk/printk.c | 13 - 2 files changed, 18 insertions(+),

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

2012-10-17 Thread Joe Perches
Create files with prototypes and static inlines for braille support. Make braille_console functions return 1 on success. cc: Samuel Thibault samuel.thiba...@ens-lyon.org Signed-off-by: Joe Perches j...@perches.com --- drivers/accessibility/braille/braille_console.c |9 -

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 49 +--- 1 file changed, 26

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 80 1 file changed, 40 insertions(+), 40

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 76

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

2012-10-17 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.

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

2012-10-17 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

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

2012-10-17 Thread Joe Perches
Make this generic enum more specific to the printk subsystem. Signed-off-by: Joe Perches j...@perches.com --- 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

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

2012-10-17 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 j...@perches.com --- fs/proc/kmsg.c |4 ++-- kernel/printk/printk.c | 12

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

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

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

2012-10-17 Thread Joe Perches
Make the #define more specific to the printk subsystem. Signed-off-by: Joe Perches j...@perches.com --- 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 ---

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

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

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

2012-10-17 Thread Joe Perches
Move print_log variables and functions into a separate file. Signed-off-by: Joe Perches j...@perches.com --- kernel/printk/Makefile |1 + kernel/printk/printk.c | 128 - kernel/printk/printk_log.c | 149

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

2012-10-17 Thread Joe Perches
Move the variable to the .h file too. Signed-off-by: Joe Perches j...@perches.com --- 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 +++

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 24 ++-- kernel/printk/printk_log.h |3 +++ 2 files changed,

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

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

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 43 --- kernel/printk/printk_log.h |4 2 files

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

2012-10-17 Thread Joe Perches
Move these functions to printk_log. Move the static function print_prefix too. Add #include linux/moduleparam.h to printk_log.c. Signed-off-by: Joe Perches j...@perches.com --- kernel/printk/printk.c | 112 --- kernel/printk/printk_log.c | 114

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

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

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

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 102 1 file changed, 51 insertions(+), 51 deletions(-) diff --git

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

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

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

2012-10-17 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 12/23] printk: Rename clear_seq and clear_idx variables

2012-10-17 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 j...@perches.com --- kernel/printk/printk.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-)

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

2012-10-17 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

discrepancy while save and restore of debounce registers

2012-10-17 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

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

2012-10-17 Thread Viresh Kumar
On 17 October 2012 11:34, Joe Perches j...@perches.com wrote: I believe you are quoting KBUILD_MODNAME Yes. :( Far better output with this. Thanks. @Rafael: Please consider below patch instead: From: Viresh Kumar viresh.ku...@linaro.org Date: Wed, 17 Oct 2012 10:38:31 +0530 Subject: [PATCH]

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

2012-10-17 Thread Wen Congyang
At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When calling unregister_node(), the function shows following message at device_release(). Device 'node2' does not have a release() function, it is broken

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

2012-10-17 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 inderpal.si...@linaro.org --- It is based on

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

2012-10-17 Thread Pritesh Raithatha
Signed-off-by: Pritesh Raithatha praitha...@nvidia.com --- 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 ---

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

2012-10-17 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

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

2012-10-17 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

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

2012-10-17 Thread Takao Indoh
This patch resets PCIe devices at boot time by hot reset when reset_devices is specified. Signed-off-by: Takao Indoh indou.ta...@jp.fujitsu.com --- arch/x86/include/asm/pci-direct.h |1 arch/x86/kernel/setup.c |3 arch/x86/pci/early.c | 353

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

2012-10-17 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: unexpected, valid vectoring

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

2012-10-17 Thread Joe Perches
On Wed, 2012-10-17 at 11:47 +0530, Viresh Kumar wrote: On 17 October 2012 11:34, Joe Perches j...@perches.com 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

[PATCH] qla3xxx: Ensure req_q_phy_addr writes to the register

2012-10-17 Thread Joe Jin
Make sure req_q_phy_addr write to the register. Signed-off-by: Joe Jin joe@oracle.com Cc: Ron Mercer ron.mer...@qlogic.com Cc: Jitendra Kalsaria jitendra.kalsa...@qlogic.com --- drivers/net/ethernet/qlogic/qla3xxx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

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

2012-10-17 Thread Viresh Kumar
On 17 October 2012 11:56, Joe Perches j...@perches.com 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 :)

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

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

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

2012-10-17 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 is up to

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

2012-10-17 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, The

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

2012-10-17 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

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

2012-10-17 Thread Joe Perches
On Wed, 2012-10-17 at 12:03 +0530, Viresh Kumar wrote: On 17 October 2012 11:56, Joe Perches j...@perches.com 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

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

2012-10-17 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 are

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

2012-10-17 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, *n; +

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

2012-10-17 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 two of them

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

2012-10-17 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 of AHCI

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

2012-10-17 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: [PATCH v5 12/14] execute the whole memcg freeing in free_worker

2012-10-17 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 mechanism that

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

2012-10-17 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 li...@rainbow-software.org This

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

2012-10-17 Thread Xiao Guangrong
On 10/17/2012 02:43 PM, Fengguang Wu wrote: 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

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

2012-10-17 Thread MyungJoo Ham
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

[PATCH] rcu: restore correct batch limiting

2012-10-17 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com Commit 29c00b4a1d9e27 (rcu: Add event-tracing for RCU callback invocation) added a regression in rcu_do_batch() Under stress, RCU is supposed to allow to process all items in queue, instead of a batch of 10 items (blimit), but an integer overflow makes the

How can I get the latest generic thermal framework

2012-10-17 Thread Wei Ni
Hi, all Several months ago, I tried to use the generic thermal framework to work with the lm90 driver on our SOC, but this work was not completed, and it was pended. Now I want to start it again. I noticed that many new patches of this framework were submitted, I checked linux-next.git, but it

[PATCH RESEND] Take over futex of dead task only if FUTEX_WAITERS is not set

2012-10-17 Thread Siddhesh Poyarekar
In futex_lock_pi_atomic, we consider that if the value in the futex variable is 0 with additional flags, then it is safe for takeover since the owner of the futex is dead. However, when FUTEX_WAITERS is set in the futex value, handle_futex_death calls futex_wake to wake up one task. Hence the

Re: [PATCH 6/7] gpio/langwell: find the irq domain mapping

2012-10-17 Thread Mika Westerberg
On Tue, Oct 16, 2012 at 09:23:23PM +0200, Linus Walleij wrote: Switch from creating the IRQ domain mapping to finding it. In this case we know very well that the driver has created the apropriate mapping, we just need to locate it, no need to create any on-the-fly mappings. I may be missing

Re: [PATCH 1/1] spi: omap2-mcspi: add option to configure output line for McSPI driver

2012-10-17 Thread Mark Brown
On Mon, Oct 08, 2012 at 04:39:40PM -0600, Stan Hu wrote: McSPI driver previously assumed that D0 was input (MISO) and D1 was output (MOSI). This forces the hardware designer to wire all SPI peripherals in this way when it should be a software configuration option. I applied a similar patch

Re: [PATCH v4 14/14] Add documentation about the kmem controller

2012-10-17 Thread Kamezawa Hiroyuki
(2012/10/08 19:06), Glauber Costa wrote: Signed-off-by: Glauber Costa glom...@parallels.com --- Documentation/cgroups/memory.txt | 55 +++- 1 file changed, 54 insertions(+), 1 deletion(-) Acked-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com --

Re: Strange crash on Dell R720xd

2012-10-17 Thread Laurent CARON
On Tue, Oct 16, 2012 at 10:58:49AM -0700, Dan Williams wrote: I think this may be a bug in __raid_run_ops that is only possible when raid offload and CONFIG_MULTICORE_RAID456 are enabled. I'm thinking the descriptor is completed and recycled to another requester in the space between these two

Re: [PATCH] regulator: vexpress: Add terminating entry for vexpress_regulator_of_match table

2012-10-17 Thread Mark Brown
On Wed, Oct 17, 2012 at 09:00:20AM +0800, Axel Lin wrote: The of_device_id table is supposed to be zero-terminated. Applied, thanks. signature.asc Description: Digital signature

[PATCH] ramoops: Fixup section annotations

2012-10-17 Thread Hannes Reinecke
The compiler complained about missing section annotations. Fix it. Signed-off-by: Hannes Reinecke h...@suse.de Cc: Anton Vorontsov cbouatmai...@gmail.com Cc: Colin Cross ccr...@android.com Cc: Kees Cook keesc...@chromium.org Cc: Tony Luck tony.l...@intel.com --- fs/pstore/ram.c | 12

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

2012-10-17 Thread Tang Chen
On 10/17/2012 01:18 PM, Yinghai Lu wrote: no, we don't need that. after closely looking, it seems we can dump acpi_root_bridge. please check if attached patch could work with container path. Hi Yinghai, Your patch seems working well. BTW, I actually found that the two lists,

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-17 Thread Mark Brown
On Tue, Oct 16, 2012 at 09:01:09AM +0100, Lee Jones wrote: I'm assuming it's just the documentation patch you're missing. Let me resend it as a single patch. This should really be part of the patch adding the bindings... signature.asc Description: Digital signature

Re: [PATCH 6/7] usb: core: reuse kbasename()

2012-10-17 Thread Andy Shevchenko
On Wed, Oct 3, 2012 at 6:08 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Oct 03, 2012 at 11:27:27AM +0300, Andy Shevchenko wrote: On Tue, Oct 2, 2012 at 6:00 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: --- a/drivers/usb/core/file.c +++

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

2012-10-17 Thread Tang Chen
On 10/17/2012 03:39 PM, Tang Chen wrote: On 10/17/2012 01:18 PM, Yinghai Lu wrote: no, we don't need that. after closely looking, it seems we can dump acpi_root_bridge. please check if attached patch could work with container path. Hi Yinghai, Your patch seems working well. BTW, I

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

2012-10-17 Thread Marek Vasut
Dear 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 jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net Cc: Marek Vasut

Re: [PATCH 00/40] PCI, ACPI, x86: pci root bus hotplug support

2012-10-17 Thread Yijing Wang
On 2012/9/20 2:54, Yinghai Lu wrote: Hi Yinghai, I applied this series patches to the latest pci-next, but git am fail occured. When I try to pull from for-pci-root-bus-hotplug branch, I found some patches missed(eg. SCI_EMULATE). Where can I get the newest pci root bus hotplug patches?

Re: [PATCH v2] regmap : make lock/unlock functions customizable.

2012-10-17 Thread Mark Brown
On Tue, Oct 16, 2012 at 03:56:59PM +0200, cimina...@gnudd.com wrote: From: Davide Ciminaghi cimina...@gnudd.com It is sometimes convenient for a regmap user to override the standard regmap lock/unlock functions with custom functions. Applied, thanks. Please use changelog entries matching

RE: [PATCHv5 1/4] modem_shm: Add Modem Access Framework

2012-10-17 Thread Arun MURTHY
On Mon, Oct 15, 2012 at 10:58:37AM +0530, Arun Murthy wrote: I'm going to ignore your .c logic, as there are things in it that I don't think is correct. But it all comes down to your data structures, if you fix them, then the .c logic will become correct: --- /dev/null +++

RE: [PATCH v2 v2 v2 8/8] spi/s3c64xx: use correct dma_transfer_direction type

2012-10-17 Thread Kukjin Kim
Arnd Bergmann wrote: There is a subtle difference between dma_transfer_direction and dma_data_direction: the former is used by the dmaengine framework, while the latter is used by the dma-mapping API. Although the purpose is comparable, the actual values are different and must not be mixed.

Re: [PATCH 09/12] perf kvm: split out tracepoints from record args

2012-10-17 Thread Xiao Guangrong
On 10/09/2012 01:17 AM, David Ahern wrote: unsigned int rec_argc, i, j; const char **rec_argv; + const char * const record_args[] = { + record, + -R, + -f, + -m, 1024, + -c, 1, + }; - rec_argc =

[Q] reprobe deferred-probing drivers

2012-10-17 Thread Guennadi Liakhovetski
Hi I've got a situation, for which I currently don't have a (good) solution. Let's say device A depends on device B and as long as B hasn't probed, A requests deferred probing. Now B probes, which causes A to also succeed its probing. Next we want to remove B, say, by unloading its driver. A

[PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffers for names

2012-10-17 Thread Hyeoncheol Lee
The function allocated wrong size buffers for names Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by: Hyeoncheol Lee hyc@gmail.com --- tools/perf/util/probe-event.c | 11 +++ 1 file changed, 7 insertions(+), 4

Re: [PATCH 1/7] cgroup: cgroup_subsys-fork() should be called after the task is added to css_set

2012-10-17 Thread Li Zefan
On 2012/10/17 6:28, Tejun Heo wrote: cgroup core has a bug which violates a basic rule about event notifications - when a new entity needs to be added, you add that to the notification list first and then make the new entity conform to the current state. If done in the reverse order, an event

Re: [PATCH] uprobes tracer: Add stack/memory/retval access support

2012-10-17 Thread Hyeoncheol Lee
2012/10/16 Masami Hiramatsu masami.hiramatsu...@hitachi.com: (2012/10/16 18:02), Hyeoncheol Lee wrote: Event arguments except @SYM are supported. They are @ADDR, $stack, $stackN, $retval, and offs(arguments). Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju

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

2012-10-17 Thread Arnd Bergmann
On Tuesday 16 October 2012, Jaegeuk Kim wrote: 2012-10-16 (화), 16:14 +, Arnd Bergmann: On Tuesday 16 October 2012, Jaegeuk Kim wrote: For the lower bound, being able to support as little as 2 logs for cheap hardware would be nice, but 4 logs is the important one. 5 logs is probably

RE: How can I get the latest generic thermal framework

2012-10-17 Thread R, Durgadoss
Hi Wei, You can pull the latest changes from Rui's -next tree here: git clone git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git (use -next branch) Thanks, Durga -Original Message- From: Wei Ni [mailto:w...@nvidia.com] Sent: Wednesday, October 17, 2012 12:46 PM To:

[PATCH 00/10] xen: build fixes and interface tweaks

2012-10-17 Thread Ian Campbell
The following is based on v3.7-rc1 and fixes various build fallout which I discovered when build for Xen on ARM. It also cleans up a final few s/unsigned long/xen_{pfn,ulong}_t/ changes. These have no impact on x86 (since those types are typedefs of unsigned long) but change the ARM port to use

Re: [PATCH RFC 02/11 v4] gpio: Add sysfs support to block GPIO API

2012-10-17 Thread Roland Stigge
On 10/16/2012 06:43 PM, Greg KH wrote: On Tue, Oct 16, 2012 at 02:53:45PM +0200, Roland Stigge wrote: On 10/16/2012 01:57 AM, Greg KH wrote: On Tue, Oct 16, 2012 at 01:31:18AM +0200, Roland Stigge wrote: +int gpio_block_export(struct gpio_block *block) +{ + int status; +

Re: [GIT PULL] User API Disintegrate: Preparatory patches

2012-10-17 Thread James Hogan
On 2 October 2012 19:36, David Howells dhowe...@redhat.com wrote: The patches herein prepare for the extraction of the Userspace API bits from the various header files named in the Kbuild files. [IMPORTANT NOTE! These patches may need regenerating if the header files change too much. This

Re: [Q] reprobe deferred-probing drivers

2012-10-17 Thread Guennadi Liakhovetski
On Wed, 17 Oct 2012, Guennadi Liakhovetski wrote: Hi I've got a situation, for which I currently don't have a (good) solution. Ok, right, would it be acceptable to just do something like if (dev-parent) device_lock(dev-parent);

[PATCH] blkcg: Fix use-after-free of q-root_blkg and q-root_rl.blkg

2012-10-17 Thread Jun'ichi Nomura
blk_put_rl() does not call blkg_put() for q-root_rl because we don't take request list reference on q-root_blkg. However, if root_blkg is once attached then detached (freed), blk_put_rl() is confused by the bogus pointer in q-root_blkg. For example, with !CONFIG_BLK_DEV_THROTTLING

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

2012-10-17 Thread KOSAKI Motohiro
On Wed, Oct 17, 2012 at 1:42 AM, Kamezawa Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: (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,

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

2012-10-17 Thread KOSAKI Motohiro
On Wed, Oct 17, 2012 at 2:24 AM, Wen Congyang we...@cn.fujitsu.com wrote: At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When calling unregister_node(), the function shows following message at

Re: [PATCH] HID: roccat: Added support for Roccat Lua

2012-10-17 Thread Jiri Kosina
On Tue, 16 Oct 2012, Stefan Achatz wrote: This patch adds support for Roccat Lua gaming mouse. Userland tools can soon be found at http://sourceforge.net/projects/roccat Applied, thanks Stefan. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC v3 00/13] vfs: hot data tracking

2012-10-17 Thread Zhi Yong Wu
On Tue, Oct 16, 2012 at 4:42 AM, Dave Chinner da...@fromorbit.com wrote: On Wed, Oct 10, 2012 at 06:07:22PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com NOTE: The patchset is currently post out mainly to make sure it is going in the correct direction and

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

2012-10-17 Thread KOSAKI Motohiro
On Wed, Oct 17, 2012 at 2:48 AM, Wen Congyang we...@cn.fujitsu.com wrote: 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) {

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

2012-10-17 Thread Wen Congyang
At 10/17/2012 04:59 PM, KOSAKI Motohiro Wrote: On Wed, Oct 17, 2012 at 2:48 AM, Wen Congyang we...@cn.fujitsu.com wrote: 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

Re: [PATCH] dw_mmc: fix multiple drv_data NULL dereferences

2012-10-17 Thread Will Newton
Looks good to me too. Acked-by: Will Newton will.new...@imgtec.com On Wed, Oct 17, 2012 at 3:06 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Looks good to me. Acked-by: Jaehoon Chung jh80.ch...@samsung.com On 10/16/2012 05:43 PM, James Hogan wrote: Commit

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

2012-10-17 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, *n; +

Re: [PATCH RFC V2 0/5] Separate consigned (expected steal) from steal time.

2012-10-17 Thread Glauber Costa
On 10/17/2012 06:23 AM, Michael Wolf wrote: In the case of where you have a system that is running in a capped or overcommitted environment the user may see steal time being reported in accounting tools such as top or vmstat. This can cause confusion for the end user. To ease the confusion

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

2012-10-17 Thread Fengguang Wu
On Wed, Oct 17, 2012 at 03:04:49PM +0800, Xiao Guangrong wrote: On 10/17/2012 02:43 PM, Fengguang Wu wrote: 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,

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

2012-10-17 Thread KOSAKI Motohiro
Hmm, it doesn't move the code. It just reuse the code in acpi_memory_powerdown_device(). Even if reuse or not reuse, you changed the behavior. If any changes has no good rational, you cannot get an ack. I don't understand this? IIRC, the behavior isn't changed. Heh, please explain why do

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

2012-10-17 Thread Sudeep KarkadaNagesha
On 17/10/12 06:20, Viresh Kumar wrote: 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. You can easily overcome

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

2012-10-17 Thread Sudeep KarkadaNagesha
On 17/10/12 06:20, Viresh Kumar wrote: With debug options on, it is difficult to locate cpufreq core's debug prints. Fix this by prefixing debug prints with: cpufreq: With CONFIG_DYNAMIC_DEBUG, you can control(enable/disable) debug prints at different levels (file, module, line, function)

Re: [PATCH v2] regmap : make lock/unlock functions customizable.

2012-10-17 Thread Davide Ciminaghi
On Wed, Oct 17, 2012 at 04:56:35PM +0900, Mark Brown wrote: On Tue, Oct 16, 2012 at 03:56:59PM +0200, cimina...@gnudd.com wrote: From: Davide Ciminaghi cimina...@gnudd.com It is sometimes convenient for a regmap user to override the standard regmap lock/unlock functions with custom

Re: [Xen-devel] [PATCH V2 6/7]: PVH: balloon and grant changes

2012-10-17 Thread Ian Campbell
On Wed, 2012-10-17 at 01:09 +0100, Mukesh Rathor wrote: gsv.version = 1; else gsv.version = 2; @@ -1083,12 +1088,24 @@ static void gnttab_request_version(void) int gnttab_resume(void) { unsigned int max_nr_gframes; + char *kmsg = Failed to kmalloc

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

2012-10-17 Thread Viresh Kumar
On 17 October 2012 14:55, Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com wrote: With CONFIG_DYNAMIC_DEBUG, you can control(enable/disable) debug prints at different levels (file, module, line, function) Quickly went through this :) http://www.kernel.org/doc/ols/2009/ols2009-pages-39-46.pdf

  1   2   3   4   5   6   7   8   9   10   >