[PATCH RESEND 3/4] usb: ohci: fix goto wrong tag in err case

2013-05-09 Thread Libo Chen
fix goto wrong tag in usb_hcd_nxp_probe Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/host/ohci-nxp.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c index f4988fb..eb294a9 100644 ---

[PATCH RESEND 1/4] usb: ehci-s5p: fix memleak when devm_usb_get_phy fail

2013-05-09 Thread Libo Chen
When devm_usb_get_phy fail, we should free hcd Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/host/ehci-s5p.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 6357752..3fbab58 100644 ---

[PATCH RESEND 2/4] usb: isp1760-if: fix memleak when platform_get_resource fail

2013-05-09 Thread Libo Chen
When platform_get_resource fail, we should release_mem_region Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/host/isp1760-if.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index

[page fault tracepoint 2/2] x86:Instruments page fault trace event

2013-05-09 Thread Francis Deslauriers
Signed-off-by: Francis Deslauriers fdesl...@gmail.com Reviewed-by: Raphaël Beamonte raphael.beamo...@gmail.com --- arch/x86/mm/fault.c | 11 +++ mm/memory.c |5 + 2 files changed, 16 insertions(+) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index

[PATCH RESEND 0/4] usb: fix four memleak

2013-05-09 Thread Libo Chen
change address from Libo Chen chenlib...@gmail.com to Libo Chen libo.c...@huawei.com fix four goto wrong tag, avoid memleak Libo Chen (4): usb: ehci-s5p: fix memleak when devm_usb_get_phy fail usb: isp1760-if: fix memleak when platform_get_resource fail usb: ohci: fix goto wrong tag in

[PATCH RESEND 4/4] usb: tilegx: fix memleak when create hcd fail

2013-05-09 Thread Libo Chen
When usb_create_hcd fail, we should call gxio_usb_host_destroy Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/usb/host/ohci-tilegx.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-tilegx.c b/drivers/usb/host/ohci-tilegx.c index

[PATCH v3] TTY: Fix tty miss restart after we turn off flow-control

2013-05-09 Thread Wang YanQing
I meet emacs hang in start if I do the operation below: 1: echo 3 /proc/sys/vm/drop_caches 2: emacs BigFile 3: Press CTRL-S follow 2 immediately Then emacs hang on, CTRL-Q can't resume, the terminal hang on, you can do nothing with this terminal except close it. The reason is before emacs

[GIT PULL REQUEST] watchdog - v3.10-rc1 patches

2013-05-09 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://www.linux-watchdog.org/linux-watchdog.git It will fix a kdump issue in hpwdt and a possible NULL dereference. This will update the following files: ath79_wdt.c|8 +++- davinci_wdt.c |9 - s3c2410_wdt.c |

Re: [PATCH V2] scsi: ufs: Add fDeviceInit set flag during initialization

2013-05-09 Thread Dolev Raviv
+ */ +int ufshcd_query_request(struct ufs_hba *hba, + struct ufs_query_req *query, + u8 *descriptor, + struct ufs_query_res *response, + int timeout, + int retries) +{ +

Re: [page fault tracepoint 1/2] Add page fault trace event definitions

2013-05-09 Thread zhangwei(Jovi)
On 2013/5/9 14:05, Francis Deslauriers wrote: Add page_fault_entry and page_fault_exit event definitions. It will allow each architecture to instrument their page faults. I'm wondering if this tracepoint could handle other page faults, like faults in kernel memory(vmalloc, kmmio, etc...) And

Re: linux-next: manual merge of the microblaze tree with Linus' tree

2013-05-09 Thread Michal Simek
Hi Stephen On 05/09/2013 02:35 AM, Stephen Rothwell wrote: Hi Michal, Today's linux-next merge of the microblaze tree got a conflict in arch/microblaze/mm/init.c between commit 7beb5987875b (mm/microblaze: use common help functions to free reserved pages) from Linus' tree and commits

Re: SHM oops in newseg()

2013-05-09 Thread Li Zefan
Cc: Naoya Horiguchi n-horigu...@ah.jp.nec.com On 2013/5/9 12:35, Dave Jones wrote: Just saw this on v3.9-11789-ge0fd9af while fuzz-testing. [ 163.917836] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 163.918984] IP: [812c48ed] newseg+0x10d/0x390 The

Re: [linux-pm] [PATCH] cpuidle: don't wakeup processor when set a longer latency

2013-05-09 Thread Lianwei Wang
Thank you very much. I have a quick updated patch based on your comments. diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 2f0083a..cd1af4b 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -18,6 +18,7 @@ #include linux/ktime.h #include

[PATCH v5 6/7] mm: Support address range reclaim

2013-05-09 Thread Minchan Kim
This patch adds address range reclaim of a process. The requirement is following as, Like webkit1, it uses a address space for handling multi tabs. IOW, it uses *one* process model so all tabs shares address space of the process. In such scenario, per-process reclaim is rather coarse-grained so

[PATCH v5 5/7] mm: Enhance per process reclaim to consider shared pages

2013-05-09 Thread Minchan Kim
Some pages could be shared by several processes. (ex, libc) In case of that, it's too bad to reclaim them from the beginnig. This patch causes VM to keep them on memory until last task try to reclaim them so shared pages will be reclaimed only if all of task has gone swapping out. This feature

[PATCH v5 7/7] add documentation about reclaim knob on proc.txt

2013-05-09 Thread Minchan Kim
This patch adds stuff about new reclaim field in proc.txt Acked-by: Rob Landley r...@landley.net Signed-off-by: Minchan Kim minc...@kernel.org --- Documentation/filesystems/proc.txt | 20 1 file changed, 20 insertions(+) diff --git a/Documentation/filesystems/proc.txt

[PATCH v5 1/7] mm: prevent to write out dirty page in CMA by may_writepage

2013-05-09 Thread Minchan Kim
Now, local variable references in shrink_page_list is PAGEREF_RECLAIM_CLEAN as default. It is for preventing to reclaim dirty pages when CMA try to migrate pages. Strictly speaking, we don't need it because CMA already didn't allow to write out by .may_writepage = 0 in

[PATCH v5 2/7] mm: Per process reclaim

2013-05-09 Thread Minchan Kim
These day, there are many platforms avaiable in the embedded market and they are smarter than kernel which has very limited information about working set so they want to involve memory management more heavily like android's lowmemory killer and ashmem or recent many lowmemory notifier(there was

[PATCH v5 4/7] mm: Remove shrink_page

2013-05-09 Thread Minchan Kim
By previous patch, shrink_page_list can handle pages from multiple zone so let's remove shrink_page. Signed-off-by: Minchan Kim minc...@kernel.org --- mm/vmscan.c | 47 ++- 1 file changed, 14 insertions(+), 33 deletions(-) diff --git a/mm/vmscan.c

[PATCH v5 0/7] Per process reclaim

2013-05-09 Thread Minchan Kim
These day, there are many platforms avaiable in the embedded market and they are smarter than kernel which has very limited information about working set so they want to involve memory management more heavily like android's lowmemory killer and ashmem or recent many lowmemory notifier(there was

[PATCH v5 3/7] mm: make shrink_page_list with pages work from multiple zones

2013-05-09 Thread Minchan Kim
Shrink_page_list expects all pages come from a same zone but it's too limited to use. This patch removes the dependency so next patch can use shrink_page_list with pages from multiple zones. Signed-off-by: Minchan Kim minc...@kernel.org --- mm/vmscan.c | 5 +++-- 1 file changed, 3

Re: [PATCH 0/3] firmware: Fix usermodehelper deadlock at shutdown

2013-05-09 Thread Takashi Iwai
At Wed, 8 May 2013 20:46:43 +0200, Kay Sievers wrote: On Wed, May 8, 2013 at 6:26 PM, Takashi Iwai ti...@suse.de wrote: At Thu, 9 May 2013 00:07:17 +0800, Ming Lei wrote: On Wed, May 8, 2013 at 2:56 PM, Takashi Iwai ti...@suse.de wrote: Hi, this is a series of patches for the

Re: [PATCH v2] iio: dac: Fix build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m

2013-05-09 Thread Jonathan Cameron
On 08/05/13 15:46, Axel Lin wrote: This patch fixes below build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m: drivers/built-in.o: In function `ad5064_i2c_write': drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' drivers/built-in.o: In function `ad5064_i2c_register_driver':

Re: [PATCH 1/3] firmware: Avoid superfluous usermodehelper lock

2013-05-09 Thread Takashi Iwai
At Thu, 9 May 2013 09:25:35 +0800, Ming Lei wrote: On Thu, May 9, 2013 at 1:51 AM, Takashi Iwai ti...@suse.de wrote: In other words, the first patch is no essential part of the fix. I can revisit the second patch without this one and resend if preferred. FWIW, below is the revised

Re: [PATCH 2/3] firmware: Avoid deadlock of usermodehelper lock at shutdown

2013-05-09 Thread Takashi Iwai
At Thu, 9 May 2013 09:19:47 +0800, Ming Lei wrote: On Thu, May 9, 2013 at 12:15 AM, Takashi Iwai ti...@suse.de wrote: At Wed, 8 May 2013 23:56:51 +0800, Ming Lei wrote: On Wed, May 8, 2013 at 2:56 PM, Takashi Iwai ti...@suse.de wrote: When a system goes to reboot/shutdown, it tries

RE: [PATCH V2 1/2] tps6507x-ts: Add DT support

2013-05-09 Thread Vishwanathrao Badarkhe, Manish
Hi Prabhakar, On Tue, May 07, 2013 at 11:11:21, Prabhakar Lad wrote: Hi Manish, Thanks for the patch, below are few nits. On Sat, May 4, 2013 at 4:42 PM, Vishwanathrao Badarkhe, Manish manish...@ti.com wrote: Add device tree based support for TI's tps6507x touchscreen. [Snip] +-

[PATCH v3] iio: dac: Fix build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m

2013-05-09 Thread Axel Lin
This patch fixes below build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m: drivers/built-in.o: In function `ad5064_i2c_write': drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' drivers/built-in.o: In function `ad5064_i2c_register_driver': drivers/iio/dac/ad5064.c:646:

[PATCH 00/21] Exported funtions that are marked inline

2013-05-09 Thread Denis Efremov
Hello everyone, this is a patchset to remove inline marking of exported functions. Patchset is motivated by https://lkml.org/lkml/2012/5/10/545 (af3b56289) I run some tests and inspect the binaries. (You can find the tests here: https://bitbucket.org/evdenis/tests/src) And it seems (at least on

[PATCH 01/21] [SCSI] libiscsi: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/scsi/libiscsi.c | 2 +- drivers/scsi/libiscsi_tcp.c | 8

EXT4 panic at jbd2_journal_put_journal_head() in 3.9+

2013-05-09 Thread EUNBONG SONG
Hello. In my board, i ran the iozone with multi-thread option. My board has 8 cores and i enabled CONFIG_SMP. the iozone command as follow: iozone -l 20 -u 20 -r 64k -s 5m -o -F /user/f1 /user/f2 /user/f3 /user/f4 /user/f5 /user/f6 /user/f7 /user/f8 /user/f9 /user/f10 /user/f11 /user/f12

[PATCH 02/21] fs: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- fs/bio.c | 2 +- fs/block_dev.c | 2 +- fs/buffer.c| 2 +-

[PATCH 03/21] x86: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- arch/x86/lib/delay.c | 2 +- arch/x86/um/delay.c | 2 +- 2 files

[PATCH 04/21] NFC: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- net/nfc/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 05/21] 9p: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- net/9p/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: 3.9.0: WARNING: at drivers/base/core.c:575

2013-05-09 Thread CAI Qian
- Original Message - From: Borislav Petkov b...@alien8.de To: CAI Qian caiq...@redhat.com Cc: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com, LKML linux-kernel@vger.kernel.org, mche...@redhat.com, Greg KH gre...@linuxfoundation.org, ba...@ti.com Sent: Tuesday, May 7, 2013

RE: [PATCH 3/4] driver: provide sysfs interfaces to access TXT log

2013-05-09 Thread Ren, Qiaowei
On 2013-05-08, Matthew Garrett wrote: On Tue, 2013-05-07 at 22:55 +0800, Qiaowei Ren wrote: +What: /sys/devices/platform/intel_txt/log/log_header +Date: May 2013 +KernelVersion: 3.9 How different are these logs to the TPM measurements exported via

Re: [PATCH 02/21] fs: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Al Viro
On Thu, May 09, 2013 at 11:58:24AM +0400, Denis Efremov wrote: EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. What makes them contradictory, in your opinion? With references to relevant parts of C99, please. -- To unsubscribe from this

Masked MSIs expectations

2013-05-09 Thread Benjamin Herrenschmidt
Hi folks ! Do we provide drivers any guarantee to what happen if an MSI is shot while masked with disable_irq() or while not yet request_irq()'ed ? Do we guarantee delivery (latched while masked), non-delivery, or undefined ? I'm bringing up a piece of HW where if it happened, it won't be

Re: [Xen-devel] [PATCH v3 4/4] xen/arm: account for stolen ticks

2013-05-09 Thread Ian Campbell
On Wed, 2013-05-08 at 18:03 +0100, Stefano Stabellini wrote: What if we have Xen support enabled but don't run as a Xen guest? That's fine as long as the Xen runstate_memory_area interface is available. Usually I am a great fun of feature flags, so that every feature can be dynamically

Re: [Xen-devel] [PATCH v3 1/4] xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c

2013-05-09 Thread Ian Campbell
On Wed, 2013-05-08 at 19:13 +0100, Stefano Stabellini wrote: On Wed, 8 May 2013, Konrad Rzeszutek Wilk wrote: On Wed, May 08, 2013 at 04:41:51PM +0100, Stefano Stabellini wrote: Changes in v2: - leave do_stolen_accounting in arch/x86/xen/time.c; - use the new common functions in

RE: [PATCH 0/4] Intel TXT driver

2013-05-09 Thread Ren, Qiaowei
On 2013-05-08, Matthew Garrett wrote: On Tue, 2013-05-07 at 22:55 +0800, Qiaowei Ren wrote: This module is expected to be a better tool to access below resources - TXT config space - Tboot log mem - SMX parameter What's SMX? Safer Mode Extensions (SMX) provide a programming

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-09 Thread Alex Shi
On 05/08/2013 07:34 PM, Peter Zijlstra wrote: If we wanted to be more exacting about it we could just give them a sched_slice() worth; this would have a few obvious nice properties (pun intended). Oh I see I misunderstood again :/ Its not about the effective load but weight of the initial

[merged] Re: [PATCH 3/3] xtensa: Switch to asm-generic/linkage.h

2013-05-09 Thread Chris Zankel
Should make it to Linus' tree shortly. Thanks, -Chris On 05/07/2013 02:57 AM, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/xtensa/include/asm/Kbuild|1 + arch/xtensa/include/asm/linkage.h | 16 2 files changed, 1

[PATCH v2 0/2] i2c: fix two wrong mem release

2013-05-09 Thread Libo Chen
fix two wrong mem release * Changelog from v1: * exchange out_error_no_irq and out_error_pin_mux suggested by Sonic sonic.zh...@analog.com * add some new tag , make code cleanly Libo Chen (2): i2c: i2c-bfin-twi: don`t free peripheral before it init successful i2c: pxa: no need

[PATCH v2 2/2] i2c: pxa: no need release_mem_region before request_mem_region successful

2013-05-09 Thread Libo Chen
When kzalloc fail, there is no reason to release_mem_region fix confuse tag, add new tag: emem, eirq, edt and make it cleanly Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/i2c/busses/i2c-pxa.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH v2 1/2] i2c: i2c-bfin-twi: don`t free peripheral before it init successful

2013-05-09 Thread Libo Chen
down out_error_no_irq. When platform_get_irq fail, no need to free peripheral Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/i2c/busses/i2c-bfin-twi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-bfin-twi.c

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-09 Thread Alex Shi
Here is the patch according to Paul's opinions. just refer the __update_task_entity_contrib in sched.h looks ugly. comments are appreciated! Paul, With sched_slice, we need to set the runnable avg sum/period after new task assigned to a specific CPU. So, set them __sched_fork is

RE: [PATCH v2 1/2] i2c: i2c-bfin-twi: don`t free peripheral before it init successful

2013-05-09 Thread Zhang, Sonic
Acked-by: Sonic Zhang sonic.zh...@analog.com -Original Message- From: Libo Chen [mailto:libo.c...@huawei.com] Sent: Thursday, May 09, 2013 4:27 PM To: Zhang, Sonic; w...@the-dreams.de Cc: uclinux-dist-de...@blackfin.uclinux.org; linux-kernel@vger.kernel.org; linux- i...@vger.kernel.org;

RE: [PATCH v2 1/2] i2c: i2c-bfin-twi: don`t free peripheral before it init successful

2013-05-09 Thread Zhang, Sonic
Hi Libo, -Original Message- From: Libo Chen [mailto:libo.c...@huawei.com] Sent: Thursday, May 09, 2013 4:27 PM To: Zhang, Sonic; w...@the-dreams.de Cc: uclinux-dist-de...@blackfin.uclinux.org; linux-kernel@vger.kernel.org; linux- i...@vger.kernel.org; lize...@huawei.com; Libo Chen

Re: [PATCH v3] iio: dac: Fix build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m

2013-05-09 Thread Lars-Peter Clausen
On 05/09/2013 09:49 AM, Axel Lin wrote: This patch fixes below build error when CONFIG_SPI_MASTER=y CONFIG_I2C=m: drivers/built-in.o: In function `ad5064_i2c_write': drivers/iio/dac/ad5064.c:608: undefined reference to `i2c_master_send' drivers/built-in.o: In function

RE: [PATCH v2 1/2] i2c: i2c-bfin-twi: don`t free peripheral before it init successful

2013-05-09 Thread Zhang, Sonic
Please ignore my Ack. Sonic -Original Message- From: Zhang, Sonic Sent: Thursday, May 09, 2013 4:31 PM To: 'Libo Chen'; w...@the-dreams.de Cc: uclinux-dist-de...@blackfin.uclinux.org; linux-kernel@vger.kernel.org; linux- i...@vger.kernel.org; lize...@huawei.com Subject: RE: [PATCH v2

Re: [PATCH 03/13] perf evlist: add initialzation function for tracepoints

2013-05-09 Thread Namhyung Kim
Hi David, On Wed, 8 May 2013 22:31:39 -0600, David Ahern wrote: Handles initializations typically done as part of processing the file header and HEADER_TRACING_DATA event. [SNIP] +int perf_evlist__trace_init(struct perf_evlist *evlist, + struct perf_session *session)

Re: [PATCH 02/21] fs: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis
On 09.05.2013 12:07, Al Viro wrote: On Thu, May 09, 2013 at 11:58:24AM +0400, Denis Efremov wrote: EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. What makes them contradictory, in your opinion? With references to relevant parts of C99,

Re: [PATCH 1/3] firmware: Avoid superfluous usermodehelper lock

2013-05-09 Thread Ming Lei
On Thu, May 9, 2013 at 3:31 PM, Takashi Iwai ti...@suse.de wrote: At Thu, 9 May 2013 09:25:35 +0800, Ming Lei wrote: On Thu, May 9, 2013 at 1:51 AM, Takashi Iwai ti...@suse.de wrote: In other words, the first patch is no essential part of the fix. I can revisit the second patch without

Re: [PATCH 10/13] perf kvm: add live mode

2013-05-09 Thread Namhyung Kim
On Wed, 8 May 2013 22:31:46 -0600, David Ahern wrote: [SNIP] +static int perf_kvm__timerfd_create(struct perf_kvm_stat *kvm) +{ + struct itimerspec new_value; + struct timespec now; + int rc = -1; + + kvm-timerfd = timerfd_create(CLOCK_MONOTONIC, TFD_NONBLOCK); + if

Re: HID: protect hid_debug_list

2013-05-09 Thread Jiri Kosina
On Wed, 8 May 2013, Parag Warudkar wrote: Hi Jiri Commit 2353f2bea307390e015493118e425152b8a5a431 HID: protect hid_debug_list causes the below BUG due to mutex_lock being called in atomic context - does this need to be converted to a spin lock? Hi Parag, I already have fix for that

Re: [PATCH 10/13] perf kvm: add live mode

2013-05-09 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: perf kvm stat currently requires back to back record and report commands to see stats. e.g,. perf kvm stat record -p $pid -- sleep 1 perf kvm stat report This is inconvenvient for on box monitoring of a VM. This patch introduces a 'live' mode

Re: [PATCH v4 00/22] x86, ACPI, numa: Parse numa info early

2013-05-09 Thread Tang Chen
Hi Yinghai, On 04/30/2013 03:21 PM, Tang Chen wrote: So I suggest to separate the job into 2 parts: 1. Push Yinghai's patch1 ~ patch20, without putting pagetable in local node. And push my work to use SRAT to arrange ZONE_MOVABLE. In this case, we can enable memory hotplug in the kernel first.

Re: [PATCH v2 0/9] liblockdep: userspace lockdep

2013-05-09 Thread Peter Zijlstra
On Thu, May 09, 2013 at 12:19:07AM -0400, Sasha Levin wrote: liblockdep is a tiny wrapper built around kernel/lockdep.c. The aim is to provide the same functionality the kernel gets from lockdep to userspace. The bulk of the code here is the LD_PRELOAD support which provides users an easy

Re: Fwd: [GIT PULL] timer changes for v3.10

2013-05-09 Thread Ingo Molnar
* Pavel Machek pa...@ucw.cz wrote: [I still wonder how adjtime is going to work in TSC(runtime)+RTC(s2disk) case; surely TSC has different drift than RTC, and so adjtime will have fun trying to estimate the drift... but that's not new problem and not affected by that patch.] NTP, once it

Re: [GIT] Networking

2013-05-09 Thread Pavel Simerda
- Original Message - From: Pavel Simerda psime...@redhat.com To: Michał Mirosław mir...@gmail.com Cc: Bjørn Mork bj...@mork.no, Ben Hutchings bhutchi...@solarflare.com, David Miller da...@davemloft.net, ka...@trash.net, torva...@linux-foundation.org, hayesw...@realtek.com,

Re: [PATCH v2 0/3] clk: implement remuxing during set_rate

2013-05-09 Thread James Hogan
On 09/05/13 00:36, Stephen Boyd wrote: On 04/19/13 09:28, James Hogan wrote: This patchset adds support for automatic selection of the best parent for a clock mux, i.e. the one which can provide the closest clock rate to that requested. It can be controlled by a new CLK_SET_RATE_REMUX flag so

Re: rcu_preempt running flat out on idle desktop.

2013-05-09 Thread Frederic Weisbecker
2013/5/8 Dave Jones da...@redhat.com: On Wed, May 08, 2013 at 01:52:58PM -0700, Paul E. McKenney wrote: On Wed, May 08, 2013 at 04:30:42PM -0400, Dave Jones wrote: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 10 root 20 0 000 S 200.0 0.0

[PATCH 0/3] KVM: emulate AAM, XLAT, SALC

2013-05-09 Thread Paolo Bonzini
These three instructions are not emulated, but can be found in real mode code. These are also good for stable, but they conflict before 3.9 and are not really useful since emulate_invalid_guest_state defaulted to false. So I'm not marking them for earlier releases. Paolo Bonzini (3): KVM:

Re: rcu_preempt running flat out on idle desktop.

2013-05-09 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: 2013/5/8 Dave Jones da...@redhat.com: On Wed, May 08, 2013 at 01:52:58PM -0700, Paul E. McKenney wrote: On Wed, May 08, 2013 at 04:30:42PM -0400, Dave Jones wrote: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND

[PATCH 06/21] staging: nvec: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/staging/nvec/nvec.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 07/21] netfilter: nf_nat: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- net/netfilter/nf_nat_core.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 08/21] iwlegacy: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/net/wireless/iwlegacy/common.c | 2 +- 1 file changed, 1

[PATCH 09/21] dw_dmac: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/dma/dw_dmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 10/21] mm: filemap: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- mm/filemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 11/21] ipv4: ip_output: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread Denis Efremov
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- net/ipv4/ip_output.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] perf: detect loops processing events

2013-05-09 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: Recovery algorithm in __perf_session__process_events attempts to remap a perf.data file with a different file_offset and try again at a new head position. Both of these adjustment rely on page_offset. If page_offset is 0 then file_offset and head never

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-09 Thread Paul Turner
On Thu, May 9, 2013 at 1:22 AM, Alex Shi alex@intel.com wrote: On 05/08/2013 07:34 PM, Peter Zijlstra wrote: If we wanted to be more exacting about it we could just give them a sched_slice() worth; this would have a few obvious nice properties (pun intended). Oh I see I misunderstood

Re: [PATCH 3/3] KVM: emulator: emulate SALC

2013-05-09 Thread Gleb Natapov
On Thu, May 09, 2013 at 11:16:07AM +0200, Paolo Bonzini wrote: This is an almost-undocumented instruction available in 32-bit mode. I say almost undocumented because AMD documents it in their opcode maps just to say that it is unavailable in 64-bit mode (sections A.2.1 One-Byte Opcodes and B.3

[PATCH resend 0/3] KVM: emulate AAM, XLAT, SALC

2013-05-09 Thread Paolo Bonzini
These three instructions are not emulated, but can be found in real mode code. These are also good for stable, but they conflict before 3.9 and are not really useful since emulate_invalid_guest_state defaulted to false. So I'm not marking them for earlier releases. Paolo Bonzini (3): KVM:

Re: [PATCH v2 2/6] ASoC: ux500: Do not clear state if already idle

2013-05-09 Thread Mark Brown
On Wed, May 08, 2013 at 03:06:18PM +0100, Lee Jones wrote: Bringing this back on subject, whilst trying not to drag this out for longer than we have to. I think replying to one's first patch with a subsequent version has its merits. And as long as the thread hasn't become too overgrown I see

Re: [PATCH] perf: detect loops processing events

2013-05-09 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * David Ahern dsah...@gmail.com wrote: Recovery algorithm in __perf_session__process_events attempts to remap a perf.data file with a different file_offset and try again at a new head position. Both of these adjustment rely on page_offset. If

Re: [PATCH 3/3] KVM: emulator: emulate SALC

2013-05-09 Thread Paolo Bonzini
Il 09/05/2013 11:25, Gleb Natapov ha scritto: On Thu, May 09, 2013 at 11:16:07AM +0200, Paolo Bonzini wrote: This is an almost-undocumented instruction available in 32-bit mode. I say almost undocumented because AMD documents it in their opcode maps just to say that it is unavailable in 64-bit

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-09 Thread Paul Turner
On Thu, May 9, 2013 at 1:31 AM, Alex Shi alex@intel.com wrote: Here is the patch according to Paul's opinions. just refer the __update_task_entity_contrib in sched.h looks ugly. comments are appreciated! Paul, With sched_slice, we need to set the runnable avg sum/period after new

Re: [PATCH 3/3] KVM: emulator: emulate SALC

2013-05-09 Thread Gleb Natapov
On Thu, May 09, 2013 at 11:30:27AM +0200, Paolo Bonzini wrote: Il 09/05/2013 11:25, Gleb Natapov ha scritto: On Thu, May 09, 2013 at 11:16:07AM +0200, Paolo Bonzini wrote: This is an almost-undocumented instruction available in 32-bit mode. I say almost undocumented because AMD documents it

[PATCH v2 0/3] KVM: emulate AAM, XLAT, SALC

2013-05-09 Thread Paolo Bonzini
These three instructions are not emulated, but can be found in real mode code. These are also good for stable, but they conflict before 3.9 and are not really useful since emulate_invalid_guest_state defaulted to false. So I'm not marking them for earlier releases. Paolo Bonzini (3): KVM:

Re: [PATCH] perf: detect when perf.data file not closed out properly

2013-05-09 Thread Ingo Molnar
* David Ahern dsah...@gmail.com wrote: + pr_err(data size is 0. +Was the record command properly terminated?\n); Btw., a small stylistic request: please put user-visible strings into a single line - even if it technically turns into an overlong line.

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-09 Thread Mark Brown
On Wed, May 08, 2013 at 04:07:29PM +0100, Lee Jones wrote: Why don't we wait and see what LinusW says? If anyone would know, it's him. This stuff is all kind of off the point now... signature.asc Description: Digital signature

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-09 Thread Paul Turner
On Mon, May 6, 2013 at 8:24 PM, Alex Shi alex@intel.com wrote: On 05/07/2013 11:06 AM, Paul Turner wrote: Thanks Paul! It seems work with this change if new __sched_fork move after the p-sched_reset_on_fork setting. But why we initial avg sum to 1024? new task may goes to sleep, the

Re: [PATCH 3/6] ASoC: ux500: Drop pinctrl sleep support

2013-05-09 Thread Mark Brown
On Wed, May 08, 2013 at 05:48:05PM +0200, Fabio Baltieri wrote: On Wed, May 08, 2013 at 03:29:38PM +0100, Mark Brown wrote: So if these pins are being shared between the instances then surely there are other interdependencies that need to be taken care of Is that happening? For example if

Re: [PATCH] ARM: exynos: Select PINCTRL_EXYNOS for exynos5

2013-05-09 Thread Tomasz Figa
Hi Doug, Olof, On Wednesday 08 of May 2013 12:33:34 Olof Johansson wrote: Hi, On Wed, May 8, 2013 at 11:48 AM, Doug Anderson diand...@chromium.org wrote: Olof, On Wed, May 8, 2013 at 11:19 AM, Olof Johansson o...@lixom.net wrote: Seems like this should be selected by the SoC

RE: [PATCH 07/21] netfilter: nf_nat: remove inline marking of EXPORT_SYMBOL functions

2013-05-09 Thread David Laight
EXPORT_SYMBOL and inline directives are contradictory to each other. The patch fixes this inconsistency. ... -inline const struct nf_nat_l4proto * +const struct nf_nat_l4proto * __nf_nat_l4proto_find(u8 family, u8 protonum) { return

Re: [RFC 3/8] mfd:syscon: Introduce claim/read/write/release APIs

2013-05-09 Thread Mark Brown
On Wed, May 08, 2013 at 06:42:04PM +0100, Srinivas KANDAGATLA wrote: Fix your mailer to word wrap within paragraphs. Ultimately the syscon_write use the regmap_update_bits, however we really want is the flexibility in using/referring the syscon registers/bits in both device-trees and

[BUG 3.9.x] kernel BUG at kernel/timer.c:909 triggered by divertctl

2013-05-09 Thread Knut Petersen
After compiling kernel 3.9.1 I found that a script containing a number of divertctrl commands triggered a kernel bug: (MSNs edited) divertctrl wait interrogate HiSax cfu 123456 0 divertctrl wait interrogate HiSax cfu 1234567 0 [...] I tried the script with kernel 3.9.0 and found the

[PATCH] x86: Extend #DF debugging aid to 64-bit

2013-05-09 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de It is sometimes very helpful to be able to pinpoint the location which causes a double fault before it turns into a triple fault and the machine reboots. We have this for 32-bit already so extend it to 64-bit. On 64-bit we get the register snapshot at #DF time

Re: linux-next: manual merge of the regmap tree with Linus' tree

2013-05-09 Thread Mark Brown
On Thu, May 09, 2013 at 11:56:59AM +1000, Stephen Rothwell wrote: Today's linux-next merge of the regmap tree got a conflict in drivers/base/regmap/regmap-debugfs.c between commit 480738de0e07 (regmap: debugfs: Simplify calculation of `c-max_reg') from Linus' tree and commit 5e3f5901ac6c

Re: [PATCH v2 2/3] KVM: emulator: emulate XLAT

2013-05-09 Thread Gleb Natapov
On Thu, May 09, 2013 at 11:32:50AM +0200, Paolo Bonzini wrote: This is used by SGABIOS, KVM breaks with emulate_invalid_guest_state=1. It is just a MOV in disguise, with a funny source address. Reported-by: Jun'ichi Nomura j-nom...@ce.jp.nec.com Cc: sta...@vger.kernel.org # 3.9

[PATCH V4] scsi: ufs: Set fDeviceInit flag to initiate device initialization

2013-05-09 Thread Dolev Raviv
Allow UFS device to complete its initialization and accept SCSI commands by setting fDeviceInit flag. The device may take time for this operation and hence the host should poll until fDeviceInit flag is toggled to zero. This step is mandated by UFS device specification for device initialization

Re: [PATCH 1/3] driver core: Add API to wait for deferred probe to complete during init

2013-05-09 Thread Ming Lei
On Thu, May 9, 2013 at 1:18 PM, Saravana Kannan skan...@codeaurora.org wrote: The most obvious fallback of using late_initcall_sync() also doesn't work since the deferred probing work initated during late_initcall() is done in a workqueue. So, frameworks that want to wait for all devices to

Re: 3.9.0: WARNING: at drivers/base/core.c:575

2013-05-09 Thread Borislav Petkov
On Thu, May 09, 2013 at 04:01:11AM -0400, CAI Qian wrote: Sure, and the system is allocated to someone else at the moment, so I'll test it out as soon as possible. Nevermind, I was able to trigger it here too so I took it. Thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my

Re: [PATCH] perf: fix symbol processing bug and greatly improve performance

2013-05-09 Thread Jiri Olsa
On Wed, May 08, 2013 at 11:44:35AM -0400, Waiman Long wrote: On 05/07/2013 05:30 AM, Jiri Olsa wrote: On Mon, May 06, 2013 at 09:43:53AM -0400, Waiman Long wrote: When perf record was used on a large machine with a lot of CPUs, the perf post-processing time could take a lot of minutes and even

Re: [RFC 3/8] mfd:syscon: Introduce claim/read/write/release APIs

2013-05-09 Thread Srinivas KANDAGATLA
Hi Arnd, Thankyou for extending the discussion. On 08/05/13 20:48, Arnd Bergmann wrote: On Wednesday 08 May 2013, Srinivas KANDAGATLA wrote: the pinctrl driver calls syconf_claim(np, st,alt-control) to get a field and then do a read/write on the field. Just in pinctrl driver we use around

Re: 3.9.0: WARNING: at drivers/base/core.c:575

2013-05-09 Thread Dave Young
On Tue, May 07, 2013 at 03:25:58AM -0400, CAI Qian wrote: Never saw any of those messages were floating in any of the RC testing, but now happened in 3.9 GA on Power 7 systems. [0.329753] EEH: devices created [0.340203] atomic64 test passed [0.340407] NET: Registered protocol

[PATCH] serial: 8250_dw: set clock rate

2013-05-09 Thread James Hogan
If the uart clock provided to the 8250_dw driver is adjustable it may not be set to the desired rate. Therefore if both a uart clock and a clock frequency is specified (e.g. via device tree), try and update the clock to match the frequency. Unfortunately if the resulting frequency is rounded down

Re: 3.9.0: WARNING: at drivers/base/core.c:575

2013-05-09 Thread Srivatsa S. Bhat
On 05/07/2013 12:55 PM, CAI Qian wrote: Never saw any of those messages were floating in any of the RC testing, but now happened in 3.9 GA on Power 7 systems. Can you check if the patch posted here fixes it? http://marc.info/?l=linux-kernelm=136791823608013w=2 Regards, Srivatsa S. Bhat [

  1   2   3   4   5   6   7   8   9   10   >