[PATCH v2] gpio: stmpe: pass DT node to irqdomain

2013-03-18 Thread Linus Walleij
From: Gabriel Fernandez The irq domain was implemented but the device tree node was not transmitted to irq_domain_add_simple(). Cc: sta...@vger.kernel.org Signed-off-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- drivers/gpio/gpio-stmpe.c | 15 +++ 1 file changed, 11

[tip:perf/urgent] perf annotate: Fix build with NO_NEWT=1

2013-03-18 Thread tip-bot for Michael Ellerman
Commit-ID: 1e825efb571a87d039cb3fe7ca833a25f11c7cb9 Gitweb: http://git.kernel.org/tip/1e825efb571a87d039cb3fe7ca833a25f11c7cb9 Author: Michael Ellerman AuthorDate: Tue, 26 Feb 2013 16:02:02 +1100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 16:54:49 -0300 perf

[tip:perf/urgent] perf report: Fix build with NO_NEWT=1

2013-03-18 Thread tip-bot for Michael Ellerman
Commit-ID: 5f7439e07822942f32b9e0a66f4a3cc9c3e29e67 Gitweb: http://git.kernel.org/tip/5f7439e07822942f32b9e0a66f4a3cc9c3e29e67 Author: Michael Ellerman AuthorDate: Tue, 26 Feb 2013 16:02:03 +1100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 16:55:17 -0300 perf

Re: [PATCH 2/2] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-18 Thread Michal Hocko
On Sat 16-03-13 14:42:05, K. Y. Srinivasan wrote: > While ballooning memory out of the guest, attempt 2M allocations first. > If 2M allocations fail, then go for 4K allocations. In cases where we > have performed 2M allocations, split this 2M page so that we can free this > page at 4K granularity

[tip:perf/urgent] perf tools: check if -DFORTIFY_SOURCE= 2 is allowed

2013-03-18 Thread tip-bot for Marcin Slusarz
Commit-ID: d2f32479e5526a1ab3b4e43910fcb279871524ce Gitweb: http://git.kernel.org/tip/d2f32479e5526a1ab3b4e43910fcb279871524ce Author: Marcin Slusarz AuthorDate: Sun, 17 Feb 2013 16:03:36 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 16:57:27 -0300 perf tools:

[PATCH 0/2] omap serial fix.

2013-03-18 Thread Sourav Poddar
The first patch is a rearrangement of a macro "OMAP_MAX_HSUART_PORTS" to a header file so that it can be used in other file. The second patch fixes the wakeup from uart issue while using "no_console_suspend" in the bootargs. These patches are developed on 3.8 custom kernel containing omap5

[tip:perf/urgent] perf record: Fix -C option

2013-03-18 Thread tip-bot for Jiri Olsa
Commit-ID: e4dd45fe7add0de09e0e5b2b511732d9c86b6ee7 Gitweb: http://git.kernel.org/tip/e4dd45fe7add0de09e0e5b2b511732d9c86b6ee7 Author: Jiri Olsa AuthorDate: Mon, 25 Feb 2013 10:52:48 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 16:58:28 -0300 perf record: Fix

[PATCH 1/2] driver: serial-omap: move max uart count into generic header file.

2013-03-18 Thread Sourav Poddar
OMAP_MAX_HSUART_PORTS is moved to omap_serial header file. Cc: Santosh Shilimkar Cc: Felipe Balbi Cc: Rajendra nayak Signed-off-by: Sourav Poddar --- drivers/tty/serial/omap-serial.c |2 -- include/linux/platform_data/serial-omap.h |1 + 2 files changed, 1 insertions(+), 2

[tip:perf/urgent] perf probe: Fix segfault

2013-03-18 Thread tip-bot for Ananth N Mavinakayanahalli
Commit-ID: 79146a69c8bc3f28e51c5267633abc6babf47a31 Gitweb: http://git.kernel.org/tip/79146a69c8bc3f28e51c5267633abc6babf47a31 Author: Ananth N Mavinakayanahalli AuthorDate: Tue, 12 Mar 2013 14:32:17 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 17:00:33 -0300

[PATCH 2/2] arm: mach-omap2: prevent UART console idle on suspend while using "no_console_suspend"

2013-03-18 Thread Sourav Poddar
With dt boot on omap5, uart wakeup after suspend is non functional while using "no_console_suspend" in the bootargs. With "no_console_suspend" used, od->flags should be ORed with "OMAP_DEVICE_NO_IDLE_ON_SUSPEND", thereby not allowing the console to idle in the suspend path. For non-dt case, this

Re: [PATCH V4 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-18 Thread amit kachhap
Hi Viresh, On Tue, Mar 12, 2013 at 4:19 PM, Viresh Kumar wrote: > This is what Russell told me a long time back: > "Don't use Adding, Fixing, etc words as this work is not something, which is > already done." > > So your subject should have been: "cpufreq: exynos: Add cpufreq driver > for

[tip:perf/urgent] perf/POWER7: Create a sysfs format entry for Power7 events

2013-03-18 Thread tip-bot for Sukadev Bhattiprolu
Commit-ID: 3bf7b07ece6e00747602938f68c1db8001b9925f Gitweb: http://git.kernel.org/tip/3bf7b07ece6e00747602938f68c1db8001b9925f Author: Sukadev Bhattiprolu AuthorDate: Tue, 5 Mar 2013 21:48:26 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Mar 2013 17:01:04 -0300

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Fabio Porcedda wrote: > Since by using platform_driver_probe() the function > ep93xx_pwm_probe() is freed after initialization, > is better to use module_platform_drive_probe(). > IMHO i don't see any good reason to use module_platform_driver() for > this driver. As I

[tip:sched/core] sched: Fix variable name misnomer, add comments

2013-03-18 Thread tip-bot for Andrei Epure
Commit-ID: 1bf08230f745e48fea9c18ee34a73581631fe7c9 Gitweb: http://git.kernel.org/tip/1bf08230f745e48fea9c18ee34a73581631fe7c9 Author: Andrei Epure AuthorDate: Tue, 12 Mar 2013 21:12:24 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Mar 2013 08:22:29 +0100 sched: Fix variable name

[PATCH] ARM: ux500: select WATCHDOG and MUSB for ux500

2013-03-18 Thread Fabio Baltieri
Enable ux500 specific USB and watchdog drivers by default on u8500_defconfig. Signed-off-by: Fabio Baltieri --- Hello Linus, ux500 watchdog support was introduced during this merge window and USB was fixed too, so I'm sending a defconfig update to enable those two drivers by default, so that

Re: [PATCH 2/2] Drivers: hv: balloon: Support 2M page allocations for ballooning

2013-03-18 Thread Michal Hocko
On Mon 18-03-13 11:52:57, Michal Hocko wrote: > On Sat 16-03-13 14:42:05, K. Y. Srinivasan wrote: > > While ballooning memory out of the guest, attempt 2M allocations first. > > If 2M allocations fail, then go for 4K allocations. In cases where we > > have performed 2M allocations, split this 2M

[tip:perf/core] watchdog: Add comments to explain the watchdog_disabled variable

2013-03-18 Thread tip-bot for anish kumar
Commit-ID: b66a2356d7108a15b8b5c9b8e6213e05ead22cd6 Gitweb: http://git.kernel.org/tip/b66a2356d7108a15b8b5c9b8e6213e05ead22cd6 Author: anish kumar AuthorDate: Tue, 12 Mar 2013 14:44:08 -0400 Committer: Ingo Molnar CommitDate: Thu, 14 Mar 2013 08:24:05 +0100 watchdog: Add comments to

[tip:perf/urgent] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-18 Thread tip-bot for Vinson Lee
Commit-ID: d1398ccfec56e54010476efd6a316427d29045a6 Gitweb: http://git.kernel.org/tip/d1398ccfec56e54010476efd6a316427d29045a6 Author: Vinson Lee AuthorDate: Wed, 13 Mar 2013 15:34:24 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 14 Mar 2013 08:06:21 -0300 perf tools: Fix

Re: [PATCH 1/2] mm: Export split_page()

2013-03-18 Thread Michal Hocko
On Sat 16-03-13 14:42:04, K. Y. Srinivasan wrote: > The split_page() function will be very useful for balloon drivers. On Hyper-V, > it will be very efficient to use 2M allocations in the guest as this (a) makes > the ballooning protocol with the host that much more efficient and (b) moving >

Re: sctp: hang in sctp_remaddr_seq_show

2013-03-18 Thread Neil Horman
On Fri, Mar 15, 2013 at 12:34:00PM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next > kernel, > I've stumbled on an interesting hang related to sctp. > > After some fuzzing, I get a hang message about procfs not able to grab a hold

Re: [PATCH] microblaze: intc: set the default irq_domain

2013-03-18 Thread Michal Simek
2013/3/17 Dan Christensen : > Register the irq_domain created during initialization as the default so > that device drivers can pass NULL to irq_create_mapping and get a > virtual irq to pass to request_irq. > > Signed-off-by: Dan Christensen > --- > arch/microblaze/kernel/intc.c |2 ++ > 1

[RFC v2] epoll: avoid spinlock contention with wfcqueue

2013-03-18 Thread Eric Wong
here: > (should apply cleanly to 3.9-rc* since there's no epoll changes in that) http://yhbt.net/epoll-wfcqueue-v3.8.3-20130318.mbox 8<-- >From 20b3ecae2551d1e5327496a6ed726b24772c909b Mon Sep 17 00:00:00 2001 From: Eri

[tip:perf/urgent] perf: Reset hwc->last_period on sw clock events

2013-03-18 Thread tip-bot for Namhyung Kim
Commit-ID: 778141e3cf0bf29f91cd3cb5c314ea477b9402a7 Gitweb: http://git.kernel.org/tip/778141e3cf0bf29f91cd3cb5c314ea477b9402a7 Author: Namhyung Kim AuthorDate: Mon, 18 Mar 2013 11:41:46 +0900 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 09:15:18 +0100 perf: Reset

[tip:perf/urgent] perf: Generate EXIT event only once per task context

2013-03-18 Thread tip-bot for Namhyung Kim
Commit-ID: d610d98b5de6860feb21539726e9af7c9094151c Gitweb: http://git.kernel.org/tip/d610d98b5de6860feb21539726e9af7c9094151c Author: Namhyung Kim AuthorDate: Fri, 15 Mar 2013 16:27:13 +0900 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 09:47:33 +0100 perf: Generate EXIT event

[tip:sched/core] sched/tracing: Allow tracing the preemption decision on wakeup

2013-03-18 Thread tip-bot for Peter Zijlstra
Commit-ID: a8d7ad52a7befbde896276d05c75c90fed48b5bf Gitweb: http://git.kernel.org/tip/a8d7ad52a7befbde896276d05c75c90fed48b5bf Author: Peter Zijlstra AuthorDate: Thu, 14 Mar 2013 10:48:39 +0100 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 10:18:08 +0100 sched/tracing: Allow

[PATCH] x86: mm: add_pfn_range_mapped: use meaningful index to teach clean_sort_range()

2013-03-18 Thread Lin Feng
Since add_range_with_merge() return the max none zero element of the array, it's suffice to use it to instruct clean_sort_range() to do the sort. Or the former assignment by add_range_with_merge() is nonsense because clean_sort_range() will produce a accurate number of the sorted array and it

[PATCH] kernel/range.c: subtract_range: return instead of continue to save some loops

2013-03-18 Thread Lin Feng
If we fall into that branch it means that there is a range fully covering the subtract range, so it's suffice to return there if there isn't any other overlapping ranges. Also fix the broken phrase issued by printk. Cc: Yinghai Lu Signed-off-by: Lin Feng --- kernel/range.c | 4 ++-- 1 file

Re: [PATCH v1 part1 0/9] Introduce movablemem_map boot option.

2013-03-18 Thread Tang Chen
Hi Will, On 03/17/2013 08:25 AM, Will Huck wrote: http://marc.info/?l=linux-mm=136014458829566=2 It seems that Mel don't like this idea. Thank you for reminding me this. And yes, I have read that email. :) And about this boot option, we have had a long discussion before. Please refer to:

[PATCH] x86: mm: accurate the comments for STEP_SIZE_SHIFT macro

2013-03-18 Thread Lin Feng
For x86 PUD_SHIFT is 30 and PMD_SHIFT is 21, so the consequence of (PUD_SHIFT-PMD_SHIFT)/2 is 4. Update the comments to the code. Cc: Yinghai Lu Signed-off-by: Lin Feng --- arch/x86/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/mm/init.c

[tip:perf/urgent] kprobes/x86: Check Interrupt Flag modifier when registering probe

2013-03-18 Thread tip-bot for Masami Hiramatsu
Commit-ID: 9a556ab998071457e79b319f2527642dd6e50617 Gitweb: http://git.kernel.org/tip/9a556ab998071457e79b319f2527642dd6e50617 Author: Masami Hiramatsu AuthorDate: Thu, 14 Mar 2013 20:52:43 +0900 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 10:21:23 +0100 kprobes/x86: Check

[PATCH] drm/i915: Flush writes to GMBUS registers

2013-03-18 Thread Chris Wilson
If we do not complete the writes to the GMBUS registers, they remain active for an indefinite period of time afterwards, even causing spurious interrupts on gm45. Signed-off-by: Chris Wilson Link: http://lkml.kernel.org/r/alpine.lnx.2.00.1303151424140.9...@pobox.suse.cz Cc: Shawn Starr Cc: Jiri

[tip:perf/urgent] kprobes: Make hash_64() as always inlined

2013-03-18 Thread tip-bot for Masami Hiramatsu
Commit-ID: 65c10553552b487a71bf5e4676743435046fae6f Gitweb: http://git.kernel.org/tip/65c10553552b487a71bf5e4676743435046fae6f Author: Masami Hiramatsu AuthorDate: Thu, 14 Mar 2013 20:52:30 +0900 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 10:21:23 +0100 kprobes: Make

[tip:perf/urgent] perf/x86: Add SNB/ SNB-EP scheduling constraints for cycle_activity event

2013-03-18 Thread tip-bot for Stephane Eranian
Commit-ID: fd4a5aef002bb57e8a35ed34d8a878034b9bde94 Gitweb: http://git.kernel.org/tip/fd4a5aef002bb57e8a35ed34d8a878034b9bde94 Author: Stephane Eranian AuthorDate: Sun, 17 Mar 2013 14:49:57 +0100 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 10:23:13 +0100 perf/x86: Add

[tip:perf/core] perf/cgroup: Add __percpu annotation to perf_cgroup->info

2013-03-18 Thread tip-bot for Namhyung Kim
Commit-ID: 86e213e1d901fbeaf6e57d13c5edd925fadddcbe Gitweb: http://git.kernel.org/tip/86e213e1d901fbeaf6e57d13c5edd925fadddcbe Author: Namhyung Kim AuthorDate: Mon, 18 Mar 2013 18:56:34 +0900 Committer: Ingo Molnar CommitDate: Mon, 18 Mar 2013 11:02:06 +0100 perf/cgroup: Add __percpu

[PATCH v2] ARM: tegra114: add speedo-based process identification

2013-03-18 Thread Danny Huang
Add speedo-based process identifictaion for Tegra114. Based on the work by: Alex Frid Signed-off-by: Danny Huang --- arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/fuse.c| 4 ++ arch/arm/mach-tegra/fuse.h| 7 +++

Re: [PATCHv2, RFC 00/30] Transparent huge page cache

2013-03-18 Thread Kirill A. Shutemov
Simon Jeons wrote: > On 03/18/2013 12:03 PM, Simon Jeons wrote: > > Hi Kirill, > > On 03/15/2013 01:50 AM, Kirill A. Shutemov wrote: > >> From: "Kirill A. Shutemov" > >> > >> Here's the second version of the patchset. > >> > >> The intend of the work is get code ready to enable transparent huge

Re: [PATCH 4/5] KVM: MMU: store generation-number into mmio spte

2013-03-18 Thread Paolo Bonzini
Il 15/03/2013 16:29, Xiao Guangrong ha scritto: > +/* > + * spte bits of bit 3 ~ bit 11 are used as low 9 bits of > + * generation, the bits of bits 52 ~ bit 61 are used as > + * high 12 bits of generation. > + */ High 10 bits. How often does the generation number change? Especially with

[PULL] vhost: tcm_vhost fixes for 3.9

2013-03-18 Thread Michael S. Tsirkin
The following changes since commit 8c6216d7f118a128678270824b6a1286a63863ca: Revert "ip_gre: make ipgre_tunnel_xmit() not parse network header as IP unconditionally" (2013-03-16 23:00:41 -0400) are available in the git repository at:

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-18 Thread Fabio Porcedda
On Mon, Mar 18, 2013 at 11:58 AM, Arnd Bergmann wrote: > On Monday 18 March 2013, Fabio Porcedda wrote: >> Since by using platform_driver_probe() the function >> ep93xx_pwm_probe() is freed after initialization, >> is better to use module_platform_drive_probe(). >> IMHO i don't see any good

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-18 Thread Miklos Szeredi
On Thu, Mar 14, 2013 at 11:59 PM, Al Viro wrote: > Huh? > * from st_mode point of view, it's not going to conflict with > anything; FFS "entry type" matches bits 12..15 of mode_t, and the value > picked by whoever had first implemented whiteouts had been chosen so > that it would not

[PATCH v2] perf: Check all MSRs before passing hw check

2013-03-18 Thread George Dunlap
check_hw_exists has a number of checks which go to two exit paths: msr_fail and bios_fail. Checks classified as msr_fail will cause check_hw_exists() to return false, causing the PMU not to be used; bios_fail checks will only cause a warning to be printed, but will return true. The problem is

Re: [PATCH] f2fs: fix not to allocate max_nid

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > 2013-03-18 (월), 18:29 +0900, Namjae Jeon: >> 2013/3/18, Jaegeuk Kim : >> > The build_free_nid should not add free nids over nm_i->max_nid. >> > But, there was a hole that invalid free nid was added by the following >> > scenario. >> > >> > Let's suppose nm_i->max_nid =

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Fabio Porcedda wrote: > > On Mon, Mar 18, 2013 at 11:58 AM, Arnd Bergmann wrote: > > On Monday 18 March 2013, Fabio Porcedda wrote: > >> Since by using platform_driver_probe() the function > >> ep93xx_pwm_probe() is freed after initialization, > >> is better to use

Re: [PATCHv2, RFC 00/30] Transparent huge page cache

2013-03-18 Thread Simon Jeons
Hi Kirill, On 03/18/2013 07:19 PM, Kirill A. Shutemov wrote: Simon Jeons wrote: On 03/18/2013 12:03 PM, Simon Jeons wrote: Hi Kirill, On 03/15/2013 01:50 AM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" Here's the second version of the patchset. The intend of the work is get code

Re: [PATCH] f2fs: fix to call WRITE_FLUSH at the end of fsync

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > The fsync call should be ended after flushing the in-device caches. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Namjae Jeon Looks good! Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] f2fs: fix to unlock node page when it was truncated

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > If the node page was truncated, its block address became zero. > This means that we don't need to write the node page, but have to unlock > NODE_WRITE, decrease the number of dirty node pages, and then unlock_page > before returning the f2fs_write_node_page with zero. >

Re: [PATCH 04/10] mm: vmscan: Decide whether to compact the pgdat based on reclaim progress

2013-03-18 Thread Hillf Danton
On Sun, Mar 17, 2013 at 9:04 PM, Mel Gorman wrote: > In the past, kswapd makes a decision on whether to compact memory after the > pgdat was considered balanced. This more or less worked but it is late to > make such a decision and does not fit well now that kswapd makes a decision > whether to

Re: [PATCH 07/10] mm: vmscan: Block kswapd if it is encountering pages under writeback

2013-03-18 Thread Simon Jeons
On 03/17/2013 09:04 PM, Mel Gorman wrote: Historically, kswapd used to congestion_wait() at higher priorities if it was not making forward progress. This made no sense as the failure to make progress could be completely independent of IO. It was later replaced by wait_iff_congested() and removed

Re: [PATCH v3] clk: add si5351 i2c common clock driver

2013-03-18 Thread Daniel Mack
On 18.03.2013 11:43, Sebastian Hesselbarth wrote: > This patch adds a common clock driver for Silicon Labs Si5351a/b/c > i2c programmable clock generators. Currently, the driver supports > DT kernels only and VXCO feature of si5351b is not implemented. DT > bindings selectively allow to overwrite

Re: [PATCH 13/19] f2fs: fix return value of releasepage for node and data

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > If the return value of releasepage is equal to zero, the page cannot be > reclaimed. > Instead, we should return 1 in order to reclaim clean pages. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/data.c | 4 +++- > fs/f2fs/node.c | 13 +++-- > 2 files changed,

Re: [PATCHv2, RFC 00/30] Transparent huge page cache

2013-03-18 Thread Kirill A. Shutemov
Simon Jeons wrote: > Hi Kirill, > On 03/18/2013 07:19 PM, Kirill A. Shutemov wrote: > > Simon Jeons wrote: > >> On 03/18/2013 12:03 PM, Simon Jeons wrote: > >>> Hi Kirill, > >>> On 03/15/2013 01:50 AM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > Here's the second

Re: [PATCHv2, RFC 00/30] Transparent huge page cache

2013-03-18 Thread Ric Mason
On 03/18/2013 07:42 PM, Kirill A. Shutemov wrote: Simon Jeons wrote: Hi Kirill, On 03/18/2013 07:19 PM, Kirill A. Shutemov wrote: Simon Jeons wrote: On 03/18/2013 12:03 PM, Simon Jeons wrote: Hi Kirill, On 03/15/2013 01:50 AM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" Here's

Re: [PATCH] drm/i915: Flush writes to GMBUS registers

2013-03-18 Thread Jiri Kosina
On Mon, 18 Mar 2013, Chris Wilson wrote: > If we do not complete the writes to the GMBUS registers, they remain > active for an indefinite period of time afterwards, even causing > spurious interrupts on gm45. > > Signed-off-by: Chris Wilson > Link: >

Re: [PATCH] [SCSI]: print the msgbytes and statusbyte from scsi result

2013-03-18 Thread Namjae Jeon
2013/3/18, James Bottomley : > On Sun, 2013-03-17 at 17:29 +0900, Namjae Jeon wrote: >> From: Namjae Jeon >> >> Introduce msgbyte and statusbyte in the prints as part of the >> result which is returned by the lower layer driver in response to >> SCSI command issued, in case of any error

Re: [PATCH 13/19] f2fs: fix return value of releasepage for node and data

2013-03-18 Thread Jaegeuk Kim
2013-03-18 (월), 20:39 +0900, Namjae Jeon: > 2013/3/18, Jaegeuk Kim : > > If the return value of releasepage is equal to zero, the page cannot be > > reclaimed. > > Instead, we should return 1 in order to reclaim clean pages. > > > > Signed-off-by: Jaegeuk Kim > > --- > > fs/f2fs/data.c | 4 +++-

Re: [PATCH 4/5] f2fs: remove nid_free from f2fs_new_inode

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > 2013-03-17 (일), 17:27 +0900, Namjae Jeon: >> From: Namjae Jeon >> >> we can remove nid_free from new inode allocation part. >> Since, nid_free is used to check if we need to free alloced nid >> in case of failure. >> Instead we can directly call alloc_nid_failed from

Re: [PATCH 13/19] f2fs: fix return value of releasepage for node and data

2013-03-18 Thread Namjae Jeon
2013/3/18, Jaegeuk Kim : > 2013-03-18 (월), 20:39 +0900, Namjae Jeon: >> 2013/3/18, Jaegeuk Kim : >> > If the return value of releasepage is equal to zero, the page cannot be >> > reclaimed. >> > Instead, we should return 1 in order to reclaim clean pages. >> > >> > Signed-off-by: Jaegeuk Kim >> >

Re: [PATCH] ath: changed kmalloc to kmemdup

2013-03-18 Thread Kalle Valo
Andrei Epure writes: > Signed-off-by: Andrei Epure > --- > drivers/net/wireless/ath/ath6kl/usb.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath6kl/usb.c > b/drivers/net/wireless/ath/ath6kl/usb.c > index 5fcd342..ffa1daa 100644 > ---

Re: [RFC PATCH 2/3] perf: Add persistent event facilities

2013-03-18 Thread Borislav Petkov
Hi, On Mon, Mar 18, 2013 at 06:13:58PM +0900, Namhyung Kim wrote: > > -static void ring_buffer_put(struct ring_buffer *rb) > > +void perf_ring_buffer_put(struct ring_buffer *rb) > > Why did you rename this function? Yeah, actually that's not needed. However, the perf ring buffer function

Re: [PATCH] hpet, allow user controlled mmap for user processes

2013-03-18 Thread Prarit Bhargava
The CONFIG_HPET_MMAP Kconfig option exposes the memory map of the HPET registers to userspace. The Kconfig help points out that in some cases this can be a security risk as some systems may erroneously configure the map such that additional data is exposed to userspace. This is a problem for

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Xiao Guangrong
On 03/18/2013 05:13 PM, Gleb Natapov wrote: > On Mon, Mar 18, 2013 at 04:08:50PM +0800, Xiao Guangrong wrote: >> On 03/17/2013 11:02 PM, Gleb Natapov wrote: >>> On Fri, Mar 15, 2013 at 11:29:53PM +0800, Xiao Guangrong wrote: This patch tries to introduce a very simple and scale way to invalid

[PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-18 Thread Venu Byravarasu
The existing Tegra USB bindings have a few issues: 1) Many properties are documented as being part of the EHCI controller node, yet they apply more to the PHY device. They should be moved. 2) Some registers in PHY1 are shared with PHY3, and hence PHY3 needs a reg entry to point at PHY1's

[PATCH 3/7] usb: phy: tegra: Get PHY mode using DT

2013-03-18 Thread Venu Byravarasu
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci-tegra.c |3 +-- drivers/usb/phy/tegra_usb_phy.c | 13 +++-- include/linux/usb/tegra_usb_phy.h |3 ++- 3 files changed, 14

[PATCH 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-03-18 Thread Venu Byravarasu
As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 25 +++-- include/linux/usb/tegra_usb_phy.h |

[PATCH 6/7] usb: phy: tegra: Add error handling & clean up.

2013-03-18 Thread Venu Byravarasu
Check return values from all GPIO APIs and handle errors accordingly. Remove clk_disable_unprepare which is no more needed. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 50 ++ 1 files changed, 39 insertions(+), 11 deletions(-) diff

[PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-18 Thread Venu Byravarasu
This patch updates all Tegra board files so that they contain all the properties required by the updated USB DT binding. Note that this patch only adds the new properties and does not yet remove the old properties, in order to maintain bisectability. The old properties will be removed once the

[PATCH 7/7] usb: phy: registering tegra USB PHY as platform driver

2013-03-18 Thread Venu Byravarasu
Registered tegra USB PHY as a separate platform driver. To synchronize host controller and PHY initialization, used deferred probe mechanism. As PHY should be initialized before EHCI starts running, deferred probe of Tegra EHCI driver till PHY probe gets completed. Got rid of instance number

[PATCH 4/7] usb: phy: tegra: Return correct error value provided by clk_get_sys

2013-03-18 Thread Venu Byravarasu
In case if clk_get_sys fails, return correct error value provided by the API. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/phy/tegra_usb_phy.c b/drivers/usb/phy/tegra_usb_phy.c index

[PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-18 Thread Venu Byravarasu
As part of this series, apart from patch containing changes to register TEGRA USB PHY driver as platform driver, prepared below patches: 1. Re-arranging & adding new DT properties. 2. Getting various params from DT properties added. 3. code clean up. Venu Byravarasu (7): ARM: tegra: finalize

Re: [PATCH v2 06/23] ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes

2013-03-18 Thread Roger Quadros
On 03/15/2013 06:12 PM, Tony Lindgren wrote: > Hi, > > I think you can get rid of quite a bit more of the repeated data for > most boards, see below. > > * Roger Quadros [130315 08:21]: >> Add 2 platform devices for 'nop-usb-xceiv'. These will be used >> as PHYs for HS USB ports 1 and 2 so

Re: [PATCH 4/5] KVM: MMU: store generation-number into mmio spte

2013-03-18 Thread Xiao Guangrong
On 03/18/2013 07:19 PM, Paolo Bonzini wrote: > Il 15/03/2013 16:29, Xiao Guangrong ha scritto: >> +/* >> + * spte bits of bit 3 ~ bit 11 are used as low 9 bits of >> + * generation, the bits of bits 52 ~ bit 61 are used as >> + * high 12 bits of generation. >> + */ > > High 10 bits. Yes, i

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Gleb Natapov
On Mon, Mar 18, 2013 at 08:29:29PM +0800, Xiao Guangrong wrote: > On 03/18/2013 05:13 PM, Gleb Natapov wrote: > > On Mon, Mar 18, 2013 at 04:08:50PM +0800, Xiao Guangrong wrote: > >> On 03/17/2013 11:02 PM, Gleb Natapov wrote: > >>> On Fri, Mar 15, 2013 at 11:29:53PM +0800, Xiao Guangrong wrote: >

[PATCH] perf: fix ring_buffer perf_output_space() boundary calculation

2013-03-18 Thread Stephane Eranian
This patch fixes a flaw in perf_output_space(). In case the size of the space needed is bigger than the actual buffer size, there may be situations where the function would return true (i.e., there is space) when it should not. head > offset due to rounding of the masking logic. The problem can

Re: [PATCH 4/5] KVM: MMU: store generation-number into mmio spte

2013-03-18 Thread Gleb Natapov
On Mon, Mar 18, 2013 at 08:42:09PM +0800, Xiao Guangrong wrote: > On 03/18/2013 07:19 PM, Paolo Bonzini wrote: > > Il 15/03/2013 16:29, Xiao Guangrong ha scritto: > >> +/* > >> + * spte bits of bit 3 ~ bit 11 are used as low 9 bits of > >> + * generation, the bits of bits 52 ~ bit 61 are used as >

Re: [PATCH] drm/i915: Flush writes to GMBUS registers

2013-03-18 Thread Chris Wilson
On Mon, Mar 18, 2013 at 12:51:45PM +0100, Jiri Kosina wrote: > On Mon, 18 Mar 2013, Chris Wilson wrote: > > > If we do not complete the writes to the GMBUS registers, they remain > > active for an indefinite period of time afterwards, even causing > > spurious interrupts on gm45. > > > >

[PATCH v3 0/4] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-18 Thread Roger Quadros
Hi Tony, I've revised the patches based on your comments. For now I've just adapted Panda and Beagleboard. If this looks OK then I can adapt the other boards as well. cheers, -roger Roger Quadros (4): usb: phy: nop: Add some parameters to platform data ARM: OMAP2+: omap-usb-host: Add

[PATCH v3 3/4] ARM: OMAP2+: omap4panda: Adapt to ehci-omap changes

2013-03-18 Thread Roger Quadros
Use usbhs_init_phys() to register the PHY's VCC and RESET regulators and the NOP PHY device. Get rid of managing the PHY clock as it will be done by the PHY driver. For that to work we create a clock alias that links the PHY clock name to the PHY device name. Signed-off-by: Roger Quadros ---

[PATCH v3 4/4] ARM: OMAP3: Beagle: Adapt to ehci-omap changes

2013-03-18 Thread Roger Quadros
Use usbhs_init_phys() to register the PHY's VCC and RESET regulators and the NOP PHY device. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/board-omap3beagle.c | 32 +- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git

[PATCH v3 2/4] ARM: OMAP2+: omap-usb-host: Add usbhs_init_phys()

2013-03-18 Thread Roger Quadros
This helper allows board support code to add the PHY's VCC and RESET regulators which are GPIO controlled as well as the NOP PHY device. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/usb-host.c | 177 +++- arch/arm/mach-omap2/usb.h |9 ++ 2

[PATCH v3 1/4] usb: phy: nop: Add some parameters to platform data

2013-03-18 Thread Roger Quadros
Add clk_rate parameter to platform data. If supplied, the NOP phy driver will program the clock to that rate during probe. Also add 2 flags, needs_vcc and needs_reset. If the flag is set and the regulator couldn't be found then the driver will bail out with -EPROBE_DEFER. Signed-off-by: Roger

Re: [PATCH] perf: fix ring_buffer perf_output_space() boundary calculation

2013-03-18 Thread Peter Zijlstra
On Mon, 2013-03-18 at 13:48 +0100, Stephane Eranian wrote: > if (!rb->writable) > - return true; > + return false; writable means user writable (VM_WRITE); the difference is that a !VM_WRITE buffer will simply over-write its own tail whereas a VM_WRITE buffer

Re: [PATCH 5/7] usb: phy: tegra: get ULPI reset GPIO info using DT.

2013-03-18 Thread Sergei Shtylyov
Hello. On 18-03-2013 16:29, Venu Byravarasu wrote: As GPIO information is avail through DT, used it to get Tegra ULPI reset GPIO number. Added a new member to tegra_usb_phy structure to store this number. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 25

Re: [PATCH] perf: fix ring_buffer perf_output_space() boundary calculation

2013-03-18 Thread Stephane Eranian
On Mon, Mar 18, 2013 at 1:59 PM, Peter Zijlstra wrote: > On Mon, 2013-03-18 at 13:48 +0100, Stephane Eranian wrote: >> if (!rb->writable) >> - return true; >> + return false; > > > writable means user writable (VM_WRITE); the difference is that a > !VM_WRITE

Re: [RFC v2] epoll: avoid spinlock contention with wfcqueue

2013-03-18 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Eric Wong wrote: > > I'm posting this lightly tested version since I may not be able to do > > more testing/benchmarking until the weekend. > > Still lightly tested (on an initramfs KVM, no real applications, yet). > > > Davide's totalmess is still

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Xiao Guangrong
On 03/18/2013 08:46 PM, Gleb Natapov wrote: > On Mon, Mar 18, 2013 at 08:29:29PM +0800, Xiao Guangrong wrote: >> On 03/18/2013 05:13 PM, Gleb Natapov wrote: >>> On Mon, Mar 18, 2013 at 04:08:50PM +0800, Xiao Guangrong wrote: On 03/17/2013 11:02 PM, Gleb Natapov wrote: > On Fri, Mar 15,

[PATCH] net: Fix a comment typo

2013-03-18 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi --- net/core/dev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index dffbef7..69f696a 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3326,7 +3326,7 @@ EXPORT_SYMBOL_GPL(netdev_rx_handler_register);

Re: [PATCH] perf: fix ring_buffer perf_output_space() boundary calculation

2013-03-18 Thread Peter Zijlstra
On Mon, 2013-03-18 at 14:03 +0100, Stephane Eranian wrote: > On Mon, Mar 18, 2013 at 1:59 PM, Peter Zijlstra wrote: > > On Mon, 2013-03-18 at 13:48 +0100, Stephane Eranian wrote: > >> if (!rb->writable) > >> - return true; > >> + return false; > > > > > >

[PATCH] macvlan: Remove an unnecessary goto

2013-03-18 Thread Kusanagi Kouichi
Use else instead. Signed-off-by: Kusanagi Kouichi --- drivers/net/macvlan.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 73abbc1..92d16ad 100644 --- a/drivers/net/macvlan.c +++

request line field in the generic slave config structure

2013-03-18 Thread Shevchenko, Andriy
Hello! It seems the one (as I think good) question was left unanswered: http://www.spinics.net/lists/arm-kernel/msg186120.html What is your opinions, comments? -- Andy Shevchenko Intel Finland Oy - Intel Finland Oy Registered

Re: [PATCH] perf: fix ring_buffer perf_output_space() boundary calculation

2013-03-18 Thread Stephane Eranian
On Mon, Mar 18, 2013 at 2:11 PM, Peter Zijlstra wrote: > On Mon, 2013-03-18 at 14:03 +0100, Stephane Eranian wrote: >> On Mon, Mar 18, 2013 at 1:59 PM, Peter Zijlstra wrote: >> > On Mon, 2013-03-18 at 13:48 +0100, Stephane Eranian wrote: >> >> if (!rb->writable) >> >> -

Re: [for-next][PATCH 9/9] tracing: Update debugfs README file

2013-03-18 Thread Steven Rostedt
On Mon, 2013-03-18 at 17:22 +0900, Namhyung Kim wrote: > > + " example: echo do_fault:traceoff > set_ftrace_filter\n" > > + " echo do_trap:traceoff:3 > set_ftrace_filter\n" > > + " The first one will disable tracing everytime do_fault is > >

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Gleb Natapov
On Mon, Mar 18, 2013 at 09:09:43PM +0800, Xiao Guangrong wrote: > On 03/18/2013 08:46 PM, Gleb Natapov wrote: > > On Mon, Mar 18, 2013 at 08:29:29PM +0800, Xiao Guangrong wrote: > >> On 03/18/2013 05:13 PM, Gleb Natapov wrote: > >>> On Mon, Mar 18, 2013 at 04:08:50PM +0800, Xiao Guangrong wrote: >

Re: [for-next][PATCH 9/9] tracing: Update debugfs README file

2013-03-18 Thread Steven Rostedt
On Mon, 2013-03-18 at 18:03 +0900, Keun-O Park wrote: > >> +#endif > >> +#ifdef CONFIG_TRACER_SNAPSHOT > >> + "\n snashot\t\t- Like 'trace' but shows the content of the static > >> snapshot buffer\n" > >> + "\t\t\t Read the contents for more infromation\n" > >> +#endif > > There're

Re: [PATCH] drivers: char: ipmi: Replaced kmalloc and strcpy with kstrdup

2013-03-18 Thread Corey Minyard
On 03/16/2013 09:16 AM, Alexandru Gheorghiu wrote: Replaced calls to kmalloc followed by strcpy with a sincle call to kstrdup. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu --- drivers/char/ipmi/ipmi_msghandler.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH v2] irqchip: Add support for ARMv7-M's NVIC

2013-03-18 Thread Uwe Kleine-König
This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. Support for this controller appeared in Catalin's Cortex tree based on 2.6.33 but was nearly completely rewritten. Signed-off-by: Catalin Marinas Signed-off-by: Uwe Kleine-König --- Hello, changes since v1: - fixed base

Re: [PATCH 0/2] omap serial fix.

2013-03-18 Thread Sourav Poddar
Hi, On Monday 18 March 2013 04:24 PM, Sourav Poddar wrote: The first patch is a rearrangement of a macro "OMAP_MAX_HSUART_PORTS" to a header file so that it can be used in other file. The second patch fixes the wakeup from uart issue while using "no_console_suspend" in the bootargs. These

[PATCH/Resend 2/2] arm: mach-omap2: prevent UART console idle on suspend while using "no_console_suspend"

2013-03-18 Thread Sourav Poddar
With dt boot, uart wakeup after suspend is non functional on omap4/5 while using "no_console_suspend" in the bootargs. With "no_console_suspend" used, od->flags should be ORed with "OMAP_DEVICE_NO_IDLE_ON_SUSPEND", thereby not allowing the console to idle in the suspend path. For non-dt case,

Re: [PATCH 5/5] KVM: MMU: fast invalid all mmio sptes

2013-03-18 Thread Xiao Guangrong
On 03/18/2013 09:19 PM, Gleb Natapov wrote: > On Mon, Mar 18, 2013 at 09:09:43PM +0800, Xiao Guangrong wrote: >> On 03/18/2013 08:46 PM, Gleb Natapov wrote: >>> On Mon, Mar 18, 2013 at 08:29:29PM +0800, Xiao Guangrong wrote: On 03/18/2013 05:13 PM, Gleb Natapov wrote: > On Mon, Mar 18,

Re: [PATCH] drivers: cpuidle: Use devm_ioremap_resource function

2013-03-18 Thread Jason Cooper
On Sat, Mar 16, 2013 at 04:39:21PM +0200, Alexandru Gheorghiu wrote: > Use devm_ioremap_resource function, which provides better error handling, > instead of devm_request_and_ioremap. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- >

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

2013-03-18 Thread Steven Rostedt
On Mon, 2013-03-18 at 13:00 +1100, Stephen Rothwell wrote: > Hi Steven, > > Today's linux-next merge of the ftrace tree got a conflict in > kernel/trace/ftrace.c between commit b67bfe0d42ca ("hlist: drop the node > parameter from iterators") from Linus' tree and commit e1df4cb682ab > ("ftrace:

<    6   7   8   9   10   11   12   13   14   15   >