Re: [PATCH v4] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-17 Thread David Miller
From: Neil Horman nhor...@tuxdriver.com Date: Thu, 12 Jul 2012 06:56:11 -0400 On Thu, Jul 12, 2012 at 03:50:15PM +0800, Gao feng wrote: there are some out of bound accesses in netprio cgroup. ... Signed-off-by: Gao feng gaof...@cn.fujitsu.com Acked-by: Neil Horman nhor...@tuxdriver.com

Re: [PATCH 2/2] gpio/omap: add *remove* callback in platform_driver

2012-07-17 Thread Shilimkar, Santosh
On Mon, Jul 16, 2012 at 10:40 PM, Kevin Hilman khil...@ti.com wrote: Linus Walleij linus.wall...@linaro.org writes: On Thu, Jul 12, 2012 at 7:48 PM, Kevin Hilman khil...@ti.com wrote: In the case of OMAP GPIO, unless it's an obvious fix, I would recommend you wait at least until you see

Re: [PATCH V2 3/4] [SCSI] ufs: Add Platform glue driver for ufshcd

2012-07-17 Thread vinayak holikatti
On Mon, Jul 16, 2012 at 7:19 PM, Namjae Jeon linkinj...@gmail.com wrote: Hi Vinayak. + * ufshcd_pltfrm_remove - remove platform driver routine + * @pdev: pointer to platform device handle + * + * Returns 0 on success, non-zero value on failure + */ +static int __devexit

[PATCH REBASE] regulator: tps65910: set input_supply on desc unconditionally

2012-07-17 Thread Laxman Dewangan
Set the supply_name in the regulator descriptor unconditionally and make this parameter as required parameter in the device node for successfully registration of the regulator. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- The changes are based on on discussion on patch [PATCH 1/3] ARM:

Re: [PATCH 1/3] tmpfs: revert SEEK_DATA and SEEK_HOLE

2012-07-17 Thread Jeff Liu
On 07/16/2012 05:28 PM, Hugh Dickins wrote: On Thu, 12 Jul 2012, Jeff Liu wrote: On 07/12/2012 07:01 AM, Dave Chinner wrote: On Wed, Jul 11, 2012 at 11:55:34AM -0700, Hugh Dickins wrote: But your vote would count for a lot more if you know of some app which would really benefit from this

[GIT PULL] CMA and DMA-mapping fixes for v3.5-rc7

2012-07-17 Thread Marek Szyprowski
Hi Linus, I woukd like to ask you again for pulling another set of minor fixups for recently merged Contiguous Memory Allocator and ARM DMA-mapping changes. Those patches fix mysterious crashes on systems with CMA and Himem enabled as well as some corner cases caused by typical off-by-one bug.

Re: [PATCH] MAINTAINERS: reflect actual changes in IEEE 802.15.4 maintainership

2012-07-17 Thread David Miller
From: Dmitry Eremin-Solenikov dbarysh...@gmail.com Date: Sat, 14 Jul 2012 10:15:34 +0400 As the life flows, developers priorities shifts a bit. Reflect actual changes in the maintainership of IEEE 802.15.4 code: Sergey mostly stopped cared about this piece of code. Most of the work recently

Re: [PATCH] irda: Fix typo in irda

2012-07-17 Thread David Miller
From: Masanari Iida standby2...@gmail.com Date: Sat, 14 Jul 2012 02:22:47 +0900 Correct spelling typo in irda. Signed-off-by: Masanari Iida standby2...@gmail.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] gigaset: silence GCC warning for unused 'format_ie'

2012-07-17 Thread David Miller
From: Paul Bolle pebo...@tiscali.nl Date: Sun, 15 Jul 2012 11:11:55 +0200 Building Gigaset's CAPI support without Gigaset's debugging enabled triggers this GCC warning: 'format_ie' defined but not used [-Wunused-function] Silence this warning by wrapping format_ie() in an #ifdef

Re: [PATCH 6/8] vfs: Make sys_sync writeout also block device inodes

2012-07-17 Thread Fengguang Wu
Hi Jan, I got this error for !CONFIG_BLOCK builds: fs/sync.c:110:2: error: implicit declaration of function 'iterate_bdevs' [-Werror=implicit-function-declaration] Thanks, Fengguang On Tue, Jul 03, 2012 at 04:45:32PM +0200, Jan Kara wrote: In case block device does not have filesystem

[patch -next] ext4: locking issue on error path

2012-07-17 Thread Dan Carpenter
We recently changed how the locking worked here, but this error path was missed. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 8c84070..2728fb7 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -3031,8 +3031,10 @@ static ssize_t

Re: [PATCH mmotm] memcg: further prevent OOM with too many dirty pages

2012-07-17 Thread Michal Hocko
On Mon 16-07-12 21:52:51, Hugh Dickins wrote: On Mon, 16 Jul 2012, Michal Hocko wrote: On Mon 16-07-12 01:35:34, Hugh Dickins wrote: But even so, the test still OOMs sometimes: when originally testing on 3.5-rc6, it OOMed about one time in five or ten; when testing just now on

Re: [alsa-devel] [PATCH 1/2] MFD: twl6040: Fix revision information

2012-07-17 Thread Rajeev kumar
Hello Peter, On 7/16/2012 3:19 PM, Peter Ujfalusi wrote: twl6040 ES1.1 and ES1.2 have the same revid (0x01). ES1.3 of twl6040 REVID is 0x02. Signed-off-by: Peter Ujfalusipeter.ujfal...@ti.com --- include/linux/mfd/twl6040.h |4 ++-- sound/soc/codecs/twl6040.c |2 +- 2 files

[PATCH 2/7] 3.4.x: timekeeping: Fix leapsecond triggered load spike issue

2012-07-17 Thread John Stultz
This is a backport of 4873fa070ae84a4115f0b3c9dfabc224f1bc7c51 The timekeeping code misses an update of the hrtimer subsystem after a leap second happened. Due to that timers based on CLOCK_REALTIME are either expiring a second early or late depending on whether a leap second has been inserted or

[PATCH 5/7] 3.4.x: timekeeping: Provide hrtimer update function

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of f6c06abfb3972ad4914cef57d8348fcb2932bc3b To finally fix the infamous leap second issue and other race windows caused by functions which change the offsets between the various time bases (CLOCK_MONOTONIC, CLOCK_REALTIME and

[PATCH 0/7] 3.4-stable: Fix for leapsecond caused hrtimer/futex issue

2012-07-17 Thread John Stultz
Here is backport of the leapsecond fixes to 3.4-stable. These are very straight forward, and backported to 3.4.x with no collisions or changes. This patchset resolve the early hrtimer/futex expiration issue widely seen after the June 30th leapsecond. I've booted and tested this patchset on two

[PATCH 7/7] 3.4.x: timekeeping: Add missing update call in timekeeping_resume()

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 3e997130bd2e8c6f5aaa49d6e3161d4d29b43ab0 The leap second rework unearthed another issue of inconsistent data. On timekeeping_resume() the timekeeper data is updated, but nothing calls timekeeping_update(), so now the update code in

[PATCH 3/7] 3.4.x: timekeeping: Maintain ktime_t based offsets for hrtimers

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 5b9fe759a678e05be4937ddf03d50e950207c1c0 We need to update the hrtimer clock offsets from the hrtimer interrupt context. To avoid conversions from timespec to ktime_t maintain a ktime_t based representation of those offsets in the

[PATCH 1/7] 3.4.x: hrtimer: Provide clock_was_set_delayed()

2012-07-17 Thread John Stultz
This is a backport of f55a6faa384304c89cfef162768e88374d3312cb clock_was_set() cannot be called from hard interrupt context because it calls on_each_cpu(). For fixing the widely reported leap seconds issue it is necessary to call it from hard interrupt context, i.e. the timer tick code, which

[PATCH 4/7] 3.4.x: hrtimers: Move lock held region in hrtimer_interrupt()

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 196951e91262fccda81147d2bcf7fdab08668b40 We need to update the base offsets from this code and we need to do that under base-lock. Move the lock held region around the ktime_get() calls. The ktime_get() calls are going to be replaced

Re: Kerneloops.org defunct?

2012-07-17 Thread Anton Arapov
On Tue, 2012-06-26 at 09:14 +0200, Anton Arapov wrote: On Mon, Jun 25, 2012 at 12:12:33PM -0700, Guenter Roeck wrote: On Mon, Jun 25, 2012 at 11:11:12AM -0700, Arjan van de Ven wrote: On 6/25/2012 11:05 AM, Guenter Roeck wrote: Did anyone ever get access to the kerneloops code and/or is

[PATCH 6/7] 3.4.x: hrtimer: Update hrtimer base offsets each hrtimer_interrupt

2012-07-17 Thread John Stultz
This is a backport of 5baefd6d84163443215f4a99f6a20f054ef11236 The update of the hrtimer base offsets on all cpus cannot be made atomically from the timekeeper.lock held and interrupt disabled region as smp function calls are not allowed there. clock_was_set(), which enforces the update on all

[PATCH RFT] regulator: s2mps11: Fix ramp_delay settings for s2mps11_buck_ops

2012-07-17 Thread Axel Lin
The ramp_delay settings were missing while converting to regulator_set_voltage_time_sel(). Fix it. There is no ramp_delay setting for s2mps11_ldo_ops, thus remove setting set_voltage_sel callback for s2mps11_ldo_ops. Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/s2mps11.c |

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-17 Thread Jovi Zhang
From cea5f76c3ad9f42b85a1a71b75035fe96317187a Mon Sep 17 00:00:00 2001 From: Jovi Zhang bookj...@gmail.com Date: Tue, 17 Jul 2012 22:43:11 +0800 Subject: [PATCH] ftrace: using pr_fmt for better printk output There don't have subsystem name output in front ot ftrace related log entry, so use

Re: linux-next: Tree for July 12 (v4l2-ioctl.c)

2012-07-17 Thread Hans Verkuil
On Tue July 17 2012 04:25:35 Ming Lei wrote: On Thu, Jul 12, 2012 at 11:49 PM, Randy Dunlap rdun...@xenotime.net wrote: On 07/11/2012 11:03 PM, Stephen Rothwell wrote: Hi all, Changes since 20120710: on i386 and/or x86_64, drivers/media/video/v4l2-ioctl.c has too many errors

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Christoph Hellwig
On Sun, Jul 15, 2012 at 07:43:07PM +, Arnd Bergmann wrote: Yes, I agree that's the best way to handle this. Compared to other architectures, I think x86 is the only that allows booting either a 32 or 64 bit kernel on the same system. We used to support 32 bit kernels on 64 bit PowerMac,

[RFC 0/3] memory-hotplug: handle page race between allocation and isolation

2012-07-17 Thread Minchan Kim
Memory hotplug has a subtle race problem so this patchset fixes the problem (Look at [3/3] for detail and please confirm the problem before review other patches in this series.) [1/3] is just clean up and help for [2/3]. [2/3] keeps the migratetype information to freed page's index field

[RFC 1/3] mm: use get_page_migratetype instead of page_private

2012-07-17 Thread Minchan Kim
page allocator uses set_page_private and page_private for handling migratetype when it frees page. Let's replace them with [set|get] _page_migratetype to make it more clear. Signed-off-by: Minchan Kim minc...@kernel.org --- include/linux/mm.h | 10 ++ mm/page_alloc.c | 11

[RFC 2/3] mm: remain migratetype in freed page

2012-07-17 Thread Minchan Kim
Page allocator doesn't keep migratetype information to page when the page is freed. This patch remains the information to freed page's index field which isn't used by free/alloc preparing so it shouldn't change any behavir except below one. This patch adds a new call site in __free_pages_ok so it

[RFC 3/3] memory-hotplug: bug fix race between isolation and allocation

2012-07-17 Thread Minchan Kim
Like below, memory-hotplug makes race between page-isolation and page-allocation so it can hit BUG_ON in __offline_isolated_pages. CPU A CPU B start_isolate_page_range set_migratetype_isolate spin_lock_irqsave(zone-lock)

[PATCH] sched/rt: Avoid updating RT entry timeout twice within one tick period

2012-07-17 Thread Ying Xue
Firstly please pay attention to below issue which is found in a lower version(2.6.34-rt) rather than mainline rt kernel. Although some big changes have happened from that point to now, especially every softirq does not run as one thread any more, we believe in the latest upstream version the issue

[PATCH 06/11] 3.2.x: timekeeping: Fix leapsecond triggered load spike issue

2012-07-17 Thread John Stultz
This is a backport of 4873fa070ae84a4115f0b3c9dfabc224f1bc7c51 The timekeeping code misses an update of the hrtimer subsystem after a leap second happened. Due to that timers based on CLOCK_REALTIME are either expiring a second early or late depending on whether a leap second has been inserted or

[PATCH 08/11] 3.2.x: hrtimers: Move lock held region in hrtimer_interrupt()

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 196951e91262fccda81147d2bcf7fdab08668b40 We need to update the base offsets from this code and we need to do that under base-lock. Move the lock held region around the ktime_get() calls. The ktime_get() calls are going to be replaced

[PATCH 07/11] 3.2.x: timekeeping: Maintain ktime_t based offsets for hrtimers

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 5b9fe759a678e05be4937ddf03d50e950207c1c0 We need to update the hrtimer clock offsets from the hrtimer interrupt context. To avoid conversions from timespec to ktime_t maintain a ktime_t based representation of those offsets in the

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Jon Masters
On 07/16/2012 08:16 AM, Pavel Machek wrote: If an implementation supports AArch32 at EL3 there could be some physical (or some FPGA config) switch to choose between the two. But since AArch64 is mandated, I don't see why one would force AArch32 at EL3 and therefore all lower exception levels

[PATCH 10/11] 3.2.x: hrtimer: Update hrtimer base offsets each hrtimer_interrupt

2012-07-17 Thread John Stultz
This is a backport of 5baefd6d84163443215f4a99f6a20f054ef11236 The update of the hrtimer base offsets on all cpus cannot be made atomically from the timekeeper.lock held and interrupt disabled region as smp function calls are not allowed there. clock_was_set(), which enforces the update on all

[PATCH 00/11] 3.2-stable: Fix for leapsecond caused hrtimer/futex issue

2012-07-17 Thread John Stultz
Here is backport of the leapsecond fixes to 3.2-stable. These are less straight forward, and should get closer review. This patch set addresses two issues: 1) Deadlock leapsecond issue that a few reports described. I spent some time over the weekend trying to find a way to reproduce the

[PATCH 04/11] 3.2.x: time: Move common updates to a function

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of cc06268c6a87db156af2daed6e96a936b955cc82 While not a bugfix itself, it allows following fixes to backport in a more straightforward manner. CC: Thomas Gleixner t...@linutronix.de CC: Eric Dumazet eric.duma...@gmail.com CC: Richard

[PATCH 02/11] 3.2.x: ntp: Correct TAI offset during leap second

2012-07-17 Thread John Stultz
From: Richard Cochran richardcoch...@gmail.com This is a backport of dd48d708ff3e917f6d6b6c2b696c3f18c019feed When repeating a UTC time value during a leap second (when the UTC time should be 23:59:60), the TAI timescale should not stop. The kernel NTP code increments the TAI offset one second

[PATCH 01/11] 3.2.x: ntp: Fix leap-second hrtimer livelock

2012-07-17 Thread John Stultz
From: John Stultz john.stu...@linaro.org This is a backport of 6b43ae8a619d17c4935c3320d2ef9e92bdeed05d This should have been backported when it was commited, but I mistook the problem as requiring the ntp_lock changes that landed in 3.4 in order for it to occur. Unfortunately the same issue

Re: [PATCH] xfs: fix comment typo of struct xfs_da_blkinfo.

2012-07-17 Thread Christoph Hellwig
On Tue, Jul 17, 2012 at 11:33:33AM +0800, Chen Baozi wrote: I'd really love to. Right now, I am working on syslinux to support booting on xfs partition (under pcacjr's mentoring)??? which I thought would be a nice start to get familiar with xfs (and I did learn a lot from it). So I think

[PATCH 03/11] 3.2.x: timekeeping: Fix CLOCK_MONOTONIC inconsistency during leapsecond

2012-07-17 Thread John Stultz
From: John Stultz john.stu...@linaro.org This is a backport of fad0c66c4bb836d57a5f125ecd38bed653ca863a which resolves a bug the previous commit. Commit 6b43ae8a61 (ntp: Fix leap-second hrtimer livelock) broke the leapsecond update of CLOCK_MONOTONIC. The missing leapsecond update to

[PATCH 11/11] 3.2.x: timekeeping: Add missing update call in timekeeping_resume()

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of 3e997130bd2e8c6f5aaa49d6e3161d4d29b43ab0 The leap second rework unearthed another issue of inconsistent data. On timekeeping_resume() the timekeeper data is updated, but nothing calls timekeeping_update(), so now the update code in

[PATCH 05/11] 3.2.x: hrtimer: Provide clock_was_set_delayed()

2012-07-17 Thread John Stultz
This is a backport of f55a6faa384304c89cfef162768e88374d3312cb clock_was_set() cannot be called from hard interrupt context because it calls on_each_cpu(). For fixing the widely reported leap seconds issue it is necessary to call it from hard interrupt context, i.e. the timer tick code, which

[PATCH 09/11] 3.2.x: timekeeping: Provide hrtimer update function

2012-07-17 Thread John Stultz
From: Thomas Gleixner t...@linutronix.de This is a backport of f6c06abfb3972ad4914cef57d8348fcb2932bc3b To finally fix the infamous leap second issue and other race windows caused by functions which change the offsets between the various time bases (CLOCK_MONOTONIC, CLOCK_REALTIME and

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Jon Masters
On 07/16/2012 04:24 AM, Avi Kivity wrote: Can the same kernel image run in both EL1 and EL2? I noticed some .if ELs in the assembler files. I guess they could be compiled multiple times and the correct version chosen at runtime, or patched up like x86 does with alternative(). One of the

Re: [PATCH 00/11] 3.2-stable: Fix for leapsecond caused hrtimer/futex issue

2012-07-17 Thread John Stultz
On 07/17/2012 12:05 AM, John Stultz wrote: 1) Deadlock leapsecond issue that a few reports described. I spent some time over the weekend trying to find a way to reproduce the hard-hang issue some folks were reporting after the leapsecond. Initially I didn't think the 6b43ae8a619d17 leap-second

Re: [PATCHv3 0/3] perf tool: Add new event group management

2012-07-17 Thread Stephane Eranian
On Mon, Jul 9, 2012 at 1:05 PM, Jiri Olsa jo...@redhat.com wrote: On Fri, Jul 06, 2012 at 03:42:54AM +0200, Stephane Eranian wrote: On Fri, Jul 6, 2012 at 3:32 AM, Ulrich Drepper drep...@gmail.com wrote: On Thu, Jul 5, 2012 at 12:15 PM, Stephane Eranian eran...@google.com wrote: I

[PATCH] snd-opti9xx: Implement suspend/resume

2012-07-17 Thread Ondrej Zary
Implement suspend/resume support for Opti 92x and 93x chips. Tested with Opti 929A+AD1848 and Opti 931. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c @@ -136,8 +136,8 @@ struct snd_opti9xx { #ifdef OPTi93X

[PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-17 Thread Tony Prisk
From 756ae5c2f475d679649adff99058679b651af8d9 Mon Sep 17 00:00:00 2001 From: Tony Prisk li...@prisktech.co.nz Date: Tue, 17 Jul 2012 19:09:31 +1200 Subject: [PATCH] Add Wondermedia Technologies (wmt) to vendor-prefixes.txt Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

Re: [PATCH v3 2/2] block: split discard into aligned requests

2012-07-17 Thread Christoph Hellwig
Looks good. Any chance we can get this into the 3.6 queue (and possibly -stable)? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 0/5] ubi: Fix bad PEBs reserve caclulation

2012-07-17 Thread Shmulik Ladkani
Hi Artem, On Mon, 16 Jul 2012 18:33:57 +0300 Artem Bityutskiy dedeki...@gmail.com wrote: But one more think is the mtd web-site. I've grepped for '1%' and there are plenty of them. I've changed them all to 2% more or less mechanically - only cleaned up one section by removing out-of-date

Re: [PATCH RESEND 0/3] scsi: fix internal write cache issue on usb hdd.

2012-07-17 Thread James Bottomley
On Mon, 2012-07-16 at 16:48 -0700, Greg KH wrote: On Sat, Jul 07, 2012 at 11:04:45PM -0400, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com The numbers of USB HDDs(All USB HDD I checked) does not respond correctly to scsi mode sense command for retrieving the write cache

Re: [PATCH V2] [SCSI] async: Fixup arguments of async_synchronize_full_domain in alsa-soc

2012-07-17 Thread James Bottomley
On Mon, 2012-07-16 at 15:56 -0700, Dan Williams wrote: On Mon, Jul 16, 2012 at 3:17 PM, Marek Vasut ma...@denx.de wrote: [..] sound/soc/soc-dapm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) V2: CC proper people, hopefully proper mailing list Adjust the patch subject

Re: linux-next: Tree for July 12 (v4l2-ioctl.c)

2012-07-17 Thread Stephen Rothwell
Hi all, On Tue, 17 Jul 2012 08:48:37 +0200 Hans Verkuil hverk...@xs4all.nl wrote: On Tue July 17 2012 04:25:35 Ming Lei wrote: On Thu, Jul 12, 2012 at 11:49 PM, Randy Dunlap rdun...@xenotime.net wrote: on i386 and/or x86_64, drivers/media/video/v4l2-ioctl.c has too many errors to be

Re: [PATCH RESEND] gpio: of_get_named_gpio_flags() return -EPROBE_DEFER if GPIO not yet available

2012-07-17 Thread Mark Brown
On Tue, Jul 17, 2012 at 12:16:48AM +0200, Linus Walleij wrote: On Sun, Jul 15, 2012 at 11:11 PM, Mark Brown I had thought a version of this had been submitted already and was in a similar place to the one for gpio_request(). Me to... Greg just merged the driver core patch for pushing

[PATCH] gpiolib: arizona: Add WM5110 support

2012-07-17 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-arizona.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c index 0c1becf..8740d2e 100644 --- a/drivers/gpio/gpio-arizona.c +++

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread James Bottomley
On Mon, 2012-07-16 at 19:20 +0200, Paolo Bonzini wrote: Il 16/07/2012 18:18, James Bottomley ha scritto: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index b583277..6d8ca08 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -843,8 +843,11 @@

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-17 Thread Geert Uytterhoeven
On Mon, Jul 16, 2012 at 10:56 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Jul 16, 2012 at 12:26 PM, da...@lang.hm wrote: Some of the proposed ways to implement the minimum distro kernel would not allow you to override the distro defaults because they would be implemented

Re: [patch -next] ext4: locking issue on error path

2012-07-17 Thread Zheng Liu
On Tue, Jul 17, 2012 at 09:31:06AM +0300, Dan Carpenter wrote: We recently changed how the locking worked here, but this error path was missed. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Sorry, it is my fault. Thanks for pointing out this bug. Regards, Zheng diff --git

[PATCH v2 00/11] omap: musb: Add device tree support

2012-07-17 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030,

[PATCH v2 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-07-17 Thread Kishon Vijay Abraham I
Add omap-usb2 data node in omap4 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index bda5df3..4d2dcc1

[PATCH v2 06/11] arm/dts: Add twl6030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl6030-usb data node in twl6030 device tree file Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap4-panda.dts |4 arch/arm/boot/dts/omap4-sdp.dts |4 arch/arm/boot/dts/twl6030.dtsi|6 ++ 3 files changed, 14 insertions(+), 0

[PATCH v2 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-07-17 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes

[PATCH v2 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 22 +++ drivers/usb/otg/twl6030-usb.c | 39

[PATCH v2 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-17 Thread Kishon Vijay Abraham I
Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boot/dts/omap3-evm.dts|6 ++

[PATCH v2 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-17 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_phy_internal.c | 138

[PATCH v2 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-07-17 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Writing to control module which is now handled in omap2430.c should be

[PATCH v2 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-17 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c |

[PATCH v2 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-17 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c|

[PATCH v2 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-17 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH v2 08/11] arm/dts: Add twl4030-usb data

2012-07-17 Thread Kishon Vijay Abraham I
Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/twl4030.dtsi

Re: mm,numad,rcu: hang on OOM

2012-07-17 Thread Sasha Levin
Hi Paul, I've been running with your patch below for a while now, and haven't encountered the issue again. On 07/01/2012 03:15 AM, Paul E. McKenney wrote: On Fri, Jun 29, 2012 at 06:44:41PM +0200, Sasha Levin wrote: Hi all, While fuzzing using trinity on a KVM tools guest with todays

sched, debug: INFO: possible irq lock inversion dependency detected

2012-07-17 Thread Sasha Levin
Hi all, While fuzzing using trinity inside a KVM tools guest using the latest linux-next, I've encountered a hang within the guest. When I've tried dumping tasks using sysrq-t I got the following: [ 138.777386] = [ 138.777386] [ INFO:

Re: [PATCH] timekeeping: Add missing update call in timekeeping_resume()

2012-07-17 Thread Konstantin Khlebnikov
I run into the same regression in s2ram between v3.5-rc6 and v3.5-rc7. This patch helps. Thanks. Tested-by: Konstantin Khlebnikov khlebni...@openvz.org John Stultz wrote: From: Thomas Gleixnert...@linutronix.de Linus, Since Thomas is on vacation I wanted to send you his fix to resolve

Re: [PATCH RFC V4 2/3] kvm: Note down when cpu relax intercepted or pause loop exited

2012-07-17 Thread Avi Kivity
On 07/16/2012 08:24 PM, Raghavendra K T wrote: So are you saying allow vcpu to spin in non over-commit scenarios? So that we avoid all yield_to etc... ( Or even in some other place where it is useful). When is yielding useful, if you're not overcommitted? -- error compiling committee.c:

[char-misc-next] mei: use module_pci_driver

2012-07-17 Thread Tomas Winkler
Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/main.c | 39 +-- 1 files changed, 1 insertions(+), 38 deletions(-) diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 0d98c2e..0923302 100644 ---

[char-misc-next] mei: use module_pci_driver

2012-07-17 Thread Tomas Winkler
Change-Id: I960feed4157ad1b178f68f4a0b3968e185ed0b36 Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/main.c | 39 +-- 1 files changed, 1 insertions(+), 38 deletions(-) diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Asias He
On 07/16/2012 07:58 PM, Stefan Hajnoczi wrote: On Thu, Jul 12, 2012 at 4:35 PM, Asias He as...@redhat.com wrote: This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15%

Re: [PATCH RFC V4 3/3] kvm: Choose better candidate for directed yield

2012-07-17 Thread Avi Kivity
On 07/16/2012 07:10 PM, Rik van Riel wrote: On 07/16/2012 06:07 AM, Avi Kivity wrote: +{ +bool eligible; + +eligible = !vcpu-ple.cpu_relax_intercepted || +(vcpu-ple.cpu_relax_intercepted + vcpu-ple.dy_eligible); + +if (vcpu-ple.cpu_relax_intercepted)

Re: [PATCH RFC V4 2/3] kvm: Note down when cpu relax intercepted or pause loop exited

2012-07-17 Thread Raghavendra K T
On 07/17/2012 01:52 PM, Avi Kivity wrote: On 07/16/2012 08:24 PM, Raghavendra K T wrote: So are you saying allow vcpu to spin in non over-commit scenarios? So that we avoid all yield_to etc... ( Or even in some other place where it is useful). When is yielding useful, if you're not

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 09:45, James Bottomley ha scritto: On Mon, 2012-07-16 at 19:20 +0200, Paolo Bonzini wrote: Il 16/07/2012 18:18, James Bottomley ha scritto: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index b583277..6d8ca08 100644 --- a/drivers/scsi/scsi_lib.c +++

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-17 Thread Catalin Marinas
On Mon, Jul 16, 2012 at 09:24:26AM +0100, Avi Kivity wrote: On 07/15/2012 03:16 PM, Catalin Marinas wrote: The AArch32 execution mode is optional, so it depends on the actual CPU implementation (while AArch64 is mandatory). If the implementation supports it, the most likely scenario for

Re: [alsa-devel] [PATCH] snd-opti9xx: Implement suspend/resume

2012-07-17 Thread Rajeev kumar
Hello Ondrej, On 7/17/2012 12:46 PM, Ondrej Zary wrote: Implement suspend/resume support for Opti 92x and 93x chips. Tested with Opti 929A+AD1848 and Opti 931. Signed-off-by: Ondrej Zaryli...@rainbow-software.org snip... +#ifdef CONFIG_PM +static int snd_opti9xx_suspend(struct snd_card

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread James Bottomley
On Tue, 2012-07-17 at 10:34 +0200, Paolo Bonzini wrote: Il 17/07/2012 09:45, James Bottomley ha scritto: On Mon, 2012-07-16 at 19:20 +0200, Paolo Bonzini wrote: Il 16/07/2012 18:18, James Bottomley ha scritto: diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index

Re: [PATCH] driver core: move uevent call to driver_register

2012-07-17 Thread Sebastian Ott
Hi, On Mon, 16 Jul 2012, Greg Kroah-Hartman wrote: On Tue, Jul 17, 2012 at 09:35:02AM +0800, Ming Lei wrote: On Tue, Jul 3, 2012 at 1:08 AM, Sebastian Ott seb...@linux.vnet.ibm.com wrote: --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -187,6 +187,9 @@ int

Re: [PATCH RFT] regulator: palmas: Fix calcuating selector in palmas_map_voltage_smps

2012-07-17 Thread Graeme Gregory
Good catch, thanks I totally forgot about the range bit in that function. Acked-by: Graeme Gregory g...@slimlogic.co.uk On 17/07/12 04:29, Axel Lin wrote: The logic of calculating selector in palmas_map_voltage_smps() does not match the logic to list voltage in palmas_list_voltage_smps(). We

Re: [alsa-devel] [PATCH] snd-opti9xx: Implement suspend/resume

2012-07-17 Thread Ondrej Zary
On Tuesday 17 July 2012, Rajeev kumar wrote: Hello Ondrej, On 7/17/2012 12:46 PM, Ondrej Zary wrote: Implement suspend/resume support for Opti 92x and 93x chips. Tested with Opti 929A+AD1848 and Opti 931. Signed-off-by: Ondrej Zaryli...@rainbow-software.org snip... +#ifdef

Re: [PATCH] driver core: move uevent call to driver_register

2012-07-17 Thread Sebastian Ott
Hi, On Tue, 17 Jul 2012, Ming Lei wrote: On Tue, Jul 3, 2012 at 1:08 AM, Sebastian Ott seb...@linux.vnet.ibm.com wrote: --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -187,6 +187,9 @@ int driver_register(struct device_driver ret = driver_add_groups(drv,

Re: [PATCH 0/5] Add vhost-blk support

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 10:29, Asias He ha scritto: So, vhost-blk at least saves ~6 syscalls for us in each request. Are they really 6? If I/O is coalesced by a factor of 3, for example (i.e. each exit processes 3 requests), it's really 2 syscalls per request. Also, is there anything we can improve?

Re: [PATCH V2] [SCSI] async: Fixup arguments of async_synchronize_full_domain in alsa-soc

2012-07-17 Thread Marek Vasut
Dear James Bottomley, On Mon, 2012-07-16 at 15:56 -0700, Dan Williams wrote: On Mon, Jul 16, 2012 at 3:17 PM, Marek Vasut ma...@denx.de wrote: [..] sound/soc/soc-dapm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) V2: CC proper people, hopefully proper mailing

Re: [PATCH] sd: do not set changed flag on all unit attention conditions

2012-07-17 Thread Paolo Bonzini
Il 17/07/2012 10:40, James Bottomley ha scritto: It's not specific to virtio-scsi, in fact I expect that virtio-scsi will be almost always used with non-removable disks. However, QEMU's SCSI target is not used just for virtio-scsi (for example it can be used for USB storage), and it

Re: [alsa-devel] [PATCH] snd-opti9xx: Implement suspend/resume

2012-07-17 Thread Takashi Iwai
At Tue, 17 Jul 2012 09:16:44 +0200, Ondrej Zary wrote: Implement suspend/resume support for Opti 92x and 93x chips. Tested with Opti 929A+AD1848 and Opti 931. Signed-off-by: Ondrej Zary li...@rainbow-software.org Applied now. Thanks. Takashi --- a/sound/isa/opti9xx/opti92x-ad1848.c

Re: [alsa-devel] [PATCH] snd-opti9xx: Implement suspend/resume

2012-07-17 Thread Rajeev kumar
On 7/17/2012 2:21 PM, Ondrej Zary wrote: static struct pnp_card_driver opti9xx_pnpc_driver = { .flags = PNP_DRIVER_RES_DISABLE, .name = opti9xx, Why this is opti why not OPTi It's not my code. This patch is just adding suspend/resume and not changing

[PATCH 0/5] cpusets: dynamical scheduler domain flags

2012-07-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com This patch set provide a way for user to dynamically configure the scheduler domain flags, which usually to be static. We can do the configuration through cpuset cgroup, new file will be found under each hierarchy: sched_smt_domain_flag --

[PATCH 1/5] cpusets: add basic variables

2012-07-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Add the variables we need for the implementation of dynamical domain flags. Signed-off-by: Michael Wang wang...@linux.vnet.ibm.com --- include/linux/sched.h | 22 ++ kernel/cpuset.c |7 +++ 2 files changed, 29

[PATCH 2/5] cpusets: add functions and code for initialization

2012-07-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Add the functions and code which will do initialization for dynamical domain flags. Signed-off-by: Michael Wang wang...@linux.vnet.ibm.com --- include/linux/sched.h | 10 -- kernel/cpuset.c |8 ++-- kernel/sched/core.c |

[PATCH 3/5] cpusets: enable the dynamical domain flags

2012-07-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com We will record the domain flags for cpuset in update_domain_attr and use it to replace the static domain flags in set_domain_attribute. Signed-off-by: Michael Wang wang...@linux.vnet.ibm.com --- kernel/cpuset.c |7 +++

[PATCH 5/5] cpusets: add the configuration facility

2012-07-17 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com Add the facility for user to configure the dynamical domain flags and enable/disable it. Signed-off-by: Michael Wang wang...@linux.vnet.ibm.com --- kernel/cpuset.c | 85 +++ 1 files changed, 85

Re: [PATCH RFC V4 3/3] kvm: Choose better candidate for directed yield

2012-07-17 Thread Raghavendra K T
On 07/17/2012 01:59 PM, Avi Kivity wrote: On 07/16/2012 07:10 PM, Rik van Riel wrote: On 07/16/2012 06:07 AM, Avi Kivity wrote: +{ +bool eligible; + +eligible = !vcpu-ple.cpu_relax_intercepted || +(vcpu-ple.cpu_relax_intercepted + vcpu-ple.dy_eligible); + +

  1   2   3   4   5   6   7   8   9   10   >