Re: [PATCH] UVC: use GFP_ATOMIC under spin lock.

2012-11-22 Thread walter harms
Am 19.11.2012 22:34, schrieb Cyril Roelandt: > Found using the following semantic patch: > > @@ > @@ > spin_lock_irqsave(...); > ... when != spin_unlock_irqrestore(...); > * GFP_KERNEL > > > Signed-off-by: Cyril Roelandt > --- > drivers/usb/gadget/uvc_video.c |2 +- > 1 file changed, 1 i

[PATCH 06/40] mm: Count the number of pages affected in change_protection()

2012-11-22 Thread Mel Gorman
From: Peter Zijlstra This will be used for three kinds of purposes: - to optimize mprotect() - to speed up working set scanning for working set areas that have not been touched - to more accurately scan per real working set No change in functionality from this patch. Suggested-by: Ingo

[PATCH 09/40] mm: migrate: Add a tracepoint for migrate_pages

2012-11-22 Thread Mel Gorman
The pgmigrate_success and pgmigrate_fail vmstat counters tells the user about migration activity but not the type or the reason. This patch adds a tracepoint to identify the type of page migration and why the page is being migrated. Signed-off-by: Mel Gorman Reviewed-by: Rik van Riel --- includ

[PATCH 30/40] mm: numa: Migrate pages handled during a pmd_numa hinting fault

2012-11-22 Thread Mel Gorman
To say that the PMD handling code was incorrectly transferred from autonuma is an understatement. The intention was to handle a PMDs worth of pages in the same fault and effectively batch the taking of the PTL and page migration. The copied version instead has the impact of clearing a number of pte

[PATCH 33/40] mm: numa: Rate limit setting of pte_numa if node is saturated

2012-11-22 Thread Mel Gorman
If there are a large number of NUMA hinting faults and all of them are resulting in migrations it may indicate that memory is just bouncing uselessly around. NUMA balancing cost is likely exceeding any benefit from locality. Rate limit the PTE updates if the node is migration rate-limited. As noted

[PATCH 35/40] mm: numa: Introduce last_nid to the page frame

2012-11-22 Thread Mel Gorman
This patch introduces a last_nid field to the page struct. This is used to build a two-stage filter in the next patch that is aimed at mitigating a problem whereby pages migrate to the wrong node when referenced by a process that was running off its home node. Signed-off-by: Mel Gorman --- inclu

[PATCH 36/40] mm: numa: Use a two-stage filter to restrict pages being migrated for unlikely task<->node relationships

2012-11-22 Thread Mel Gorman
Note: This two-stage filter was taken directly from the sched/numa patch "sched, numa, mm: Add the scanning page fault machinery" but is only a partial extraction. As the end result is not necessarily recognisable, the signed-offs-by had to be removed. Will be added

Re: numa/core regressions fixed - more testers wanted

2012-11-22 Thread Andrew Theurer
On Wed, 2012-11-21 at 11:52 +, Mel Gorman wrote: > On Tue, Nov 20, 2012 at 07:54:13PM -0600, Andrew Theurer wrote: > > On Tue, 2012-11-20 at 18:56 +0100, Ingo Molnar wrote: > > > * Ingo Molnar wrote: > > > > > > > ( The 4x JVM regression is still an open bug I think - I'll > > > > re-check

Re: [RESENDING] [PATCH 07/22] ASoC: Ux500: Initialise PCM from MSP probe rather than as a device

2012-11-22 Thread Lee Jones
On Thu, 20 Sep 2012, Lee Jones wrote: > > > Can we have some closure on this patch please, as it's blocking the > > > patch-set? I'm fairly sure the patch is doing the correct thing, as > > > seconded by Mark. > > > > I still don't like this. It is the dai_link-struct that bothers me. We have > >

[PATCH 40/40] mm: sched: numa: Delay PTE scanning until a task is scheduled on a new node

2012-11-22 Thread Mel Gorman
Due to the fact that migrations are driven by the CPU a task is running on there is no point tracking NUMA faults until one task runs on a new node. This patch tracks the first node used by an address space. Until it changes, PTE scanning is disabled and no NUMA hinting faults are trapped. This sho

[PATCH 39/40] mm: sched: numa: Control enabling and disabling of NUMA balancing

2012-11-22 Thread Mel Gorman
This patch adds Kconfig options and kernel parameters to allow the enabling and disabling of automatic NUMA balancing. The existance of such a switch was and is very important when debugging problems related to transparent hugepages and we should have the same for automatic NUMA placement. Signed-

[PATCH 38/40] mm: sched: Adapt the scanning rate if a NUMA hinting fault does not migrate

2012-11-22 Thread Mel Gorman
The PTE scanning rate and fault rates are two of the biggest sources of system CPU overhead with automatic NUMA placement. Ideally a proper policy would detect if a workload was properly placed, schedule and adjust the PTE scanning rate accordingly. We do not track the necessary information to do

[PATCH 37/40] mm: numa: Add THP migration for the NUMA working set scanning fault case.

2012-11-22 Thread Mel Gorman
Note: This is very heavily based on a patch from Peter Zijlstra with fixes from Ingo Molnar, Hugh Dickins and Johannes Weiner. That patch put a lot of migration logic into mm/huge_memory.c where it does not belong. This version puts tries to share some of the migration

Re: memory-cgroup bug

2012-11-22 Thread Kamezawa Hiroyuki
(2012/11/22 4:02), azurIt wrote: Hi, i'm using memory cgroup for limiting our users and having a really strange problem when a cgroup gets out of its memory limit. It's very strange because it happens only sometimes (about once per week on random user), out of memory is usually handled ok. Th

[PATCH v4 31/31] ubifs: convert file ops from aio_read/write to read/write_iter

2012-11-22 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp Cc: Artem Bityutskiy Cc: Adrian Hunter Cc: linux-...@lists.infradead.org --- fs/ubifs/file.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index 5bc7781..cfe6210 100644 --- a/fs/ubifs/file.c +++ b/

Re: [PATCH v3 00/12] memory-hotplug: hot-remove physical memory

2012-11-22 Thread Yasuaki Ishimatsu
Hi Andrew, The patch-set aims to linux-3.8. So we would like you to merge the patch-set into your tree. The patch-set applied many comments. Currently there is no comment to the patch-set. Additionally, we have spent a lot of time on the verification of the patch-set. And we found many bugs, and

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Viresh Kumar
On 22 November 2012 02:13, Mike Turquette wrote: > HAVE_CLK logically wraps HAVE_CLK_PREPARE. There is no point in > selecting HAVE_CLK_PREPARE without HAVE_CLK. > > Looking through the code I see that this used to be the case. Commit > 93abe8e "clk: add non CONFIG_HAVE_CLK routines" moved the >

[PATCH 3/4] staging/rtl8187se: Fix spacing coding style in r8180_core.c

2012-11-22 Thread YAMANE Toshiaki
The following errors fixed. -ERROR: "foo * bar" should be "foo *bar" -ERROR: "(foo*)" should be "(foo *)" Signed-off-by: YAMANE Toshiaki --- drivers/staging/rtl8187se/r8180_core.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Dmitry Torokhov
On Wed, Nov 21, 2012 at 06:17:50PM -0800, Dmitry Torokhov wrote: > On Wed, Nov 21, 2012 at 10:38:59PM +, Russell King - ARM Linux wrote: > > On Wed, Nov 21, 2012 at 12:54:24PM -0800, Dmitry Torokhov wrote: > > > On Wed, Nov 21, 2012 at 12:43:24PM -0800, Mike Turquette wrote: > > > > Quoting Vir

Re: [PATCH v4 27/31] gfs2: Convert aio_read/write ops to read/write_iter

2012-11-22 Thread Steven Whitehouse
Hi, On Wed, 2012-11-21 at 16:41 -0600, Dave Kleikamp wrote: > Signed-off-by: Dave Kleikamp > Cc: Steven Whitehouse > Cc: cluster-de...@redhat.com > --- > fs/gfs2/file.c | 21 ++--- > 1 file changed, 10 insertions(+), 11 deletions(-) > > diff --git a/fs/gfs2/file.c b/fs/gfs2/fil

Re: [PATCH v5 1/2] x86/kexec: VMCLEAR vmcss on all cpus if necessary

2012-11-22 Thread Gleb Natapov
On Thu, Nov 22, 2012 at 08:59:15AM +0800, Zhang Yanfei wrote: > 于 2012年11月21日 18:33, Gleb Natapov 写道: > > On Wed, Nov 21, 2012 at 10:23:12AM +0800, Zhang Yanfei wrote: > >> This patch adds an atomic notifier list named crash_notifier_list. > >> When loading kvm-intel module, a notifier will be regi

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Viresh Kumar
On 22 November 2012 16:54, Lee Jones wrote: > Big fat NACK. > > You've just overwritten the current implementation with your own. > Please take time to understand the mechanisms in place before > you submit any changes or additions to it. :) My fault. Comments on all overwritten stuff accepted

Re: [PATCH v12 4/7] mm: introduce compaction and migration for ballooned pages

2012-11-22 Thread Sasha Levin
On 11/21/2012 07:01 PM, Rafael Aquini wrote: > On Tue, Nov 20, 2012 at 08:18:04PM -0500, Sasha Levin wrote: >> On 11/20/2012 09:14 AM, Rafael Aquini wrote: >>> On Sun, Nov 18, 2012 at 09:59:47AM -0500, Sasha Levin wrote: On Sat, Nov 17, 2012 at 4:54 PM, Rafael Aquini wrote: > On Sat, Nov

[PATCH v4 29/31] afs: add support for read_iter and write_iter

2012-11-22 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp Cc: David Howells Cc: linux-...@lists.infradead.org --- fs/afs/file.c | 4 ++-- fs/afs/internal.h | 3 +-- fs/afs/write.c| 9 - 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/fs/afs/file.c b/fs/afs/file.c index 8f6e923..27b9b66 100644

Re: [PATCH v6 2/2] KVM-INTEL: add a notifier and a bitmap to support VMCLEAR in kdump

2012-11-22 Thread Marcelo Tosatti
On Wed, Nov 21, 2012 at 11:27:19PM +0800, Zhang Yanfei wrote: > The notifier will be registered in vmclear_notifier_list when loading > kvm-intel module. And the bitmap indicates whether we should do > VMCLEAR operation in kdump. The bits in the bitmap are set/unset > according to different conditi

[PATCH v4 11/31] dio: add bio_vec support to __blockdev_direct_IO()

2012-11-22 Thread Dave Kleikamp
The trick here is to initialize the dio state so that do_direct_IO() consumes the pages we provide and never tries to map user pages. This is done by making sure that final_block_in_request covers the page that we set in the dio. do_direct_IO() will return before running out of pages. The caller

[PATCH v4 20/31] ocfs2: add support for read_iter, write_iter, and direct_IO_bvec

2012-11-22 Thread Dave Kleikamp
From: Zach Brown ocfs2's .aio_read and .aio_write methods are changed to take iov_iter and pass it to generic functions. Wrappers are made to pack the iovecs into iters and call these new functions. Signed-off-by: Dave Kleikamp Cc: Zach Brown Cc: Mark Fasheh Cc: Joel Becker Cc: ocfs2-de...@

[PATCH v4 00/31] loop: Issue O_DIRECT aio using bio_vec

2012-11-22 Thread Dave Kleikamp
This patchset was begun by Zach Brown and was originally submitted for review in October, 2009. Feedback was positive, and I have picked up where he left off, porting his patches to the latest mainline kernel and adding support more file systems. This patch series adds a kernel interface to fs/aio

Re: Linux 3.7-rc6

2012-11-22 Thread Henrik Rydberg
Hi Daniel, > My apologies for the long delay in answering, I've somehow mixed up > different bugreports and thought I've sent you a patch to test > already. Anyway, please test > > https://patchwork.kernel.org/patch/1728111/ Tested-by: Henrik Rydberg Thanks, Henrik -- To unsubscribe from t

Re: [PATCH] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-22 Thread andrew mcgregor
>>> On 11/22/2012 at 10:39 AM, in message <50ad4a01.7060...@ilyx.ru>, Ilya Zykov wrote: > On 22.11.2012 1:30, Alan Cox wrote: > >> Function reset_buffer_flags() also invoked during the > >> ioctl(...,TCFLSH,..). At the time of request we can have full buffers > >> and throttled driver too. If w

Re: memory-cgroup bug

2012-11-22 Thread Michal Hocko
On Wed 21-11-12 20:02:07, azurIt wrote: > Hi, > > i'm using memory cgroup for limiting our users and having a really > strange problem when a cgroup gets out of its memory limit. It's very > strange because it happens only sometimes (about once per week on > random user), out of memory is usually

RE: [PATCH 2/2] i2c: s3c2410: Get the i2c bus number from alias id

2012-11-22 Thread Kukjin Kim
Doug Anderson wrote: > > On Tue, Nov 20, 2012 at 8:09 PM, Mark Brown > wrote: > > On Tue, Nov 20, 2012 at 02:27:04PM -0800, Doug Anderson wrote: > >> From: Padmavathi Venna > >> > >> Get the i2c bus number that the device is connected to using the alias > >> id. This makes debugging / grokking

Re: Problem in Page Cache Replacement

2012-11-22 Thread Jaegeuk Hanse
On 11/22/2012 05:34 AM, Johannes Weiner wrote: Hi, On Tue, Nov 20, 2012 at 07:25:00PM +0100, Jan Kara wrote: On Tue 20-11-12 09:42:42, metin d wrote: I have two PostgreSQL databases named data-1 and data-2 that sit on the same machine. Both databases keep 40 GB of data, and the total memory av

[PATCH v4 17/31] fs: create file_readable() and file_writable() functions

2012-11-22 Thread Dave Kleikamp
Create functions to simplify if file_ops contain either a read or aio_read op, or likewise write or aio_write. We will be adding read_iter and write_iter and don't need to be complicating the code in multiple places. Signed-off-by: Dave Kleikamp --- drivers/mtd/nand/nandsim.c | 4 ++--

Re: [PATCH 1/2] mfd: add an AS3711 PMIC MFD driver

2012-11-22 Thread Mark Brown
On Wed, Nov 21, 2012 at 07:21:02PM +0100, Guennadi Liakhovetski wrote: > + regmap_read(as3711->regmap, AS3711_ASIC_ID_1, &id1); > + regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); > + dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); > + if (id1 != 0x8b) > +

[PATCH v4 16/31] loop: use aio to perform io on the underlying file

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This uses the new kernel aio interface to process loopback IO by submitting concurrent direct aio. Previously loop's IO was serialized by synchronous processing in a thread. The aio operations specify the memory for the IO with the bio_vec arrays directly instead of mappings of

Re: [PATCH V2 1/2] mfd: stmpe: Use devm_*() routines

2012-11-22 Thread Viresh Kumar
On 22 November 2012 15:57, Lee Jones wrote: > I'm assuming you've reversed the semantics here for >80 chars reasons? Not for 80 chars reason :) I did it to decrease nesting level of if/else statements :) -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH 04/10] ASoC: ak4104: Convert to use devm_regmap_init_spi()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- sound/soc/codecs/ak4104.c | 19 --- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c index eec086b..4b11b82 100644 --- a/sound/soc/codecs/ak4104.c +++ b/sound/soc/codecs/ak4104.

[RFC PATCH 2/2] jbd: Stabilize pages during writes when in ordered mode

2012-11-22 Thread Darrick J. Wong
When writing buffers out to disk ahead of committing a transaction, set the Stable bit on the page to prevent others from wandering in and modifying the page. Signed-off-by: Darrick J. Wong --- fs/jbd/commit.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git

Re: USB 2.0: No giveback comes for one submitted URB

2012-11-22 Thread Alan Stern
On Thu, 22 Nov 2012, naveen yadav wrote: > Hi, > > we are using 3.2.2 version of kernel. > > When Bluetooth(connected to USB 2.0) is suspended, urb->use_count > value does not become zero and eventually there is a continuous wait > in wait_event() of usb_kill_urb(). > wait_event(usb_ki

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-22 Thread Alexandre Courbot
On Thu, Nov 22, 2012 at 11:06 AM, Mark Brown wrote: > On Thu, Nov 22, 2012 at 11:01:34AM +0900, Alexandre Courbot wrote: > >> The thing I don't understand here is why would anyone want power >> sequences without the DT representation. Guys, that's the whole point! :) > >> If we are to implement th

Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high

2012-11-22 Thread Yinghai Lu
On Wed, Nov 21, 2012 at 11:18 AM, H. Peter Anvin wrote: > Then whatever loads vmlinux.elf is responsible for initializing those > fields to zero anyway. It is still an atrocious abuse. What we > probably need to do is to include the initialized header in a section in > vmlinux.elf containing th

[PATCH v2 0/3] CLK: add more devm_* APIs

2012-11-22 Thread Dmitry Torokhov
Here is the 2nd version of patchset adding more devm_* APIs to CLK subsystem, hopefully with all issues addressed. If this is acceptable then I wonder who will carry the patchset? I can volunteer :) as I have a couple of pending patches that need this functionality. Thanks! -- Dmitry -- To unsu

[PATCH 09/10] ASoC: wm8988: Convert to use devm_regmap_init_{spi,i2c}()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- sound/soc/codecs/wm8988.c | 14 ++ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c index 1d4c5cf..715788d 100644 --- a/sound/soc/codecs/wm8988.c +++ b/sound/soc/codecs/wm8988.c @@

[PATCH] drivers: ddm72xx: remove last usage of NIPQUAD and NIP6

2012-11-22 Thread Shan Wei
From: Shan Wei commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT, and NIP6 also is out of date. Because DEBUG_SDU is not defined in gdm_wimax.h, no error message when compiling this code. commit cf4ca4874fc45166198424384275f443a672d0b7 Author: Joe Perches Date: Mon Aug 9

[RESEND] Request f2fs filesystem inclusion in linux-next

2012-11-22 Thread Jaegeuk Kim
Hi, About two month ago, I submitted a new file system, namely flash-friendly file system (f2fs) to LKML. http://en.wikipedia.org/wiki/F2FS http://lkml.org/lkml/2012/10/5/205 http://lwn.net/Articles/518718/ In the mean time, many folks have pointed out several essential issues on f2fs, and now

Re: [PATCH 4/4] ext3: Warn if mounting rw on a disk requiring stable page writes

2012-11-22 Thread Darrick J. Wong
On Thu, Nov 22, 2012 at 08:47:13AM +1100, NeilBrown wrote: > On Wed, 21 Nov 2012 22:33:33 +0100 Jan Kara wrote: > > > On Wed 21-11-12 13:13:19, Darrick J. Wong wrote: > > > On Wed, Nov 21, 2012 at 03:15:43AM +0100, Jan Kara wrote: > > > > On Tue 20-11-12 18:00:56, Darrick J. Wong wrote: > > > > >

Re: Out of memory on 3.5 kernels

2012-11-22 Thread Dave Kleikamp
On 10/30/2012 05:35 AM, Nico Schottelius wrote: > Good morning, > > update: this problem still exists on 3.6.2-1-ARCH and it got worse: > > I reformatted the external disk to use xfs, but as the my > root filesystem is still jfs, it still appears: > > Active / Total Objects (% used): 642732

[PATCH 07/10] ASoC: wm8804: Convert to use devm_regmap_init_{spi,i2c}()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- sound/soc/codecs/wm8804.c | 17 ++--- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/sound/soc/codecs/wm8804.c b/sound/soc/codecs/wm8804.c index c088020..837bfb5 100644 --- a/sound/soc/codecs/wm8804.c +++ b/sound/soc/codecs/wm8804.c

[PATCH v4 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-11-22 Thread Cho KyongHo
The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate IOTLB in the System MMU when I/O

[PATCH 34/40] sched: numa: Slowly increase the scanning period as NUMA faults are handled

2012-11-22 Thread Mel Gorman
Currently the rate of scanning for an address space is controlled by the individual tasks. The next scan is simply determined by 2*p->numa_scan_period. The 2*p->numa_scan_period is arbitrary and never changes. At this point there is still no proper policy that decides if a task or process is prope

[PATCH v4 01/12] ARM: EXYNOS: Add clk_ops for gating clocks of System MMU

2012-11-22 Thread Cho KyongHo
Touching some System MMU needs its master devices' clock to be enabled before. This commit adds clk_ops.set_parent of gating clocks of System MMU to ensure gating clocks of System MMU's mater devices are enabled when enabling gating clocks of System MMU. Signed-off-by: KyongHo Cho --- arch/arm/m

[PATCH v4 06/12] iommu/exynos: allocate lv2 page table from own slab

2012-11-22 Thread Cho KyongHo
Since kmalloc() does not guarantee the alignment of 1KB when it allocates 1KB, it is required to allocate lv2 page table from own slab that guarantees alignment of 1KB. Signed-off-by: KyongHo Cho --- drivers/iommu/exynos-iommu.c | 24 1 file changed, 20 insertions(+), 4

[PATCH v4 04/12] iommu/exynos: support for device tree

2012-11-22 Thread Cho KyongHo
This commit adds device tree support for System MMU. Signed-off-by: KyongHo Cho --- drivers/iommu/Kconfig| 2 +- drivers/iommu/exynos-iommu.c | 289 ++- 2 files changed, 177 insertions(+), 114 deletions(-) diff --git a/drivers/iommu/Kconfig b/dr

Re: [PATCH] regulator: max8997: skip gpio dvs setup if not used

2012-11-22 Thread Thomas Abraham
Dear Mr. Ham, Thanks for your comments. On 21 November 2012 20:01, MyungJoo Ham wrote: > On Wed, Nov 21, 2012 at 11:23 PM, Thomas Abraham > wrote: >> If gpio based voltage selection for buck 1/2/5 are not used, then the >> execution >> of gpio dvs setup code during probe can be skipped complet

[PATCH v2 2/2] regulator: add a regulator driver for the AS3711 PMIC

2012-11-22 Thread Guennadi Liakhovetski
This driver supports the 4 DCDC and 8 LDO regulators on the AS3711 PMIC. Signed-off-by: Guennadi Liakhovetski --- v2: make platform data optional drivers/regulator/Kconfig|7 + drivers/regulator/Makefile |1 + drivers/regulator/as3711-regulator.c | 379 ++

[PATCH v2 1/2] mfd: add an AS3711 PMIC MFD driver

2012-11-22 Thread Guennadi Liakhovetski
AS3711 is a PMIC with multiple DCDC and LDO power supplies, GPIOs, an RTC, a battery charger and a general purpose ADC. This patch adds support for the MFD with support for a regulator driver and a backlight driver. Signed-off-by: Guennadi Liakhovetski --- v2: (Thanks to Mark for review) - Onl

[PATCH v4 05/12] iommu/exynos: pass version information from DT

2012-11-22 Thread Cho KyongHo
System MMUs in some implementation of Exynos core does not include correct version information in the System MMU. If the version information is not correct, exynos-iommu driver cannot take advantages of feature of higher versions of System MMu like prefetching page table entries prior to TLB miss.

[PATCH v4 08/12] iommu/exynos: set System MMU as the parent of client device

2012-11-22 Thread Cho KyongHo
[PATCH v4 08/12] iommu/exynos: set System MMU as the parent of client device This commit sets System MM as the parent of the client device for power management. If System MMU is the parent of a device, it is guaranteed that System MMU is suspended later than the device and resumed earlier. Runtime

[PATCH v4 07/12] iommu/exynos: change rwlock to spinlock

2012-11-22 Thread Cho KyongHo
Since acquiring read_lock is not more frequent than write_lock, it is not beneficial to use rwlock, this commit changes rwlock to spinlock. Signed-off-by: KyongHo Cho --- drivers/iommu/exynos-iommu.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff -

[PATCH v4 11/12] iommu/exynos: add literal name of System MMU for debugging

2012-11-22 Thread Cho KyongHo
This commit adds System MMU name to the driver data of each System MMU. It is used by fault information. Signed-off-by: KyongHo Cho --- drivers/iommu/exynos-iommu.c | 100 --- 1 file changed, 76 insertions(+), 24 deletions(-) diff --git a/drivers/iommu/ex

[PATCH v4 12/12] iommu/exynos: add debugfs entries for System MMU

2012-11-22 Thread Cho KyongHo
This commit adds debugfs directory and nodes for inspecting internal state of System MMU. Signed-off-by: KyongHo Cho --- drivers/iommu/exynos-iommu.c | 204 +-- 1 file changed, 198 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/

[PATCH 3/4] video: vt8500: Convert to use devm_request_mem_region()

2012-11-22 Thread Tushar Behera
While at it, fix the return statements. Signed-off-by: Tushar Behera --- drivers/video/vt8500lcdfb.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/video/vt8500lcdfb.c b/drivers/video/vt8500lcdfb.c index 2438368..c42f15d 100644 --- a/drivers/video/vt8

Re: [PATCH] acpi_system_write_wakeup_device(): fix error check for unsigned variable.

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 01:05:30 AM Cyril Roelandt wrote: > On 11/21/2012 01:44 AM, Rafael J. Wysocki wrote: > > On Saturday, November 17, 2012 02:54:23 AM Cyril Roelandt wrote: > >> The LEN variable is unsigned, therefore checking whether it is less than 0 > >> is > >> useless. > >> > >> S

[PATCH 0/2] staging/dgrp/dgrp_tty.c: audit function return values

2012-11-22 Thread Kumar Amit Mehta
This patch series fixes two issues in dgrp driver: i) Removes the TIOCSSOFTCAR ioctl handler from dgrp driver so as to allow the core tty layer to take care of this ioctl instead. ii) Audits the return value of get_user() and put_user() and return -EFAULT in case of error. -- 1.7.9.5 -- To unsu

[PATCH 2/2] staging: dgrp: dgrp_tty.c: Audit the return values of get/put_user()

2012-11-22 Thread Kumar Amit Mehta
fix for missing audits for return values of get_user() and put_user(). Inspecting the return values of get/put_user() would make the access_ok() redundant, hence removing calls to access_ok() in such scenarios. Signed-off-by: Kumar Amit Mehta --- drivers/staging/dgrp/dgrp_tty.c | 22 --

Re: [PATCH v4 00/31] loop: Issue O_DIRECT aio using bio_vec

2012-11-22 Thread Christoph Hellwig
On Wed, Nov 21, 2012 at 04:40:40PM -0600, Dave Kleikamp wrote: > It introduces new file ops, read_iter() and write_iter(), that replace the > aio_read() and aio_write() operations. The iov_iter structure can now contain > either a user-space iovec or a kernel-space bio_vec. Since it would be > over

[PATCH v4 02/12] ARM: EXYNOS: add System MMU definition to DT

2012-11-22 Thread Cho KyongHo
This commit adds System MMU nodes to DT of Exynos SoCs. Signed-off-by: KyongHo Cho --- .../devicetree/bindings/arm/exynos/system-mmu.txt | 86 arch/arm/boot/dts/exynos4210.dtsi | 96 ++ arch/arm/boot/dts/exynos4x12.dtsi | 124

[PATCH v4 03/12] ARM: EXYNOS: remove system mmu initialization from exynos tree

2012-11-22 Thread Cho KyongHo
This removes System MMU initialization from arch/arm/mach-exynos/ to move them to DT and the exynos-iommu driver except gating clock definitions. Signed-off-by: KyongHo Cho --- arch/arm/mach-exynos/Kconfig | 5 - arch/arm/mach-exynos/Makefile | 1 - arch/arm/mach-e

[PATCH v4 03/31] iov_iter: add copy_to_user support

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This adds iov_iter wrappers around copy_to_user() to match the existing wrappers around copy_from_user(). This will be used by the generic file system buffered read path. Signed-off-by: Dave Kleikamp Cc: Zach Brown --- include/linux/fs.h | 4 +++ mm/iov-iter.c | 80 +++

[PATCH 1/2] staging: dgrp: dgrp_tty.c: Remove the TIOCSSOFTCAR ioctl handler from dgrp driver

2012-11-22 Thread Kumar Amit Mehta
Remove the TIOCSSOFTCAR ioctl handler from dgrp driver and let the core tty layer to take care of this ioctl instead. Signed-off-by: Kumar Amit Mehta --- drivers/staging/dgrp/dgrp_tty.c |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/dgrp/dgrp_tty.c b/drivers/staging

Re: [git pull] drm fixes

2012-11-22 Thread Dave Airlie
On Thu, Nov 22, 2012 at 2:50 PM, Linus Torvalds wrote: > On Wed, Nov 21, 2012 at 6:34 PM, Dave Airlie wrote: >> >> its vmware/nouveua/radeon/intel/ttm scattered. > > Hmm. That's not what I see. I just see nouveau and soem PCI ID addition. > >> 21 files changed, 108 insertions(+), 31 deletions(-)

[PATCH 03/46] staging: line6: drop unused param_dirty bitmap

2012-11-22 Thread Stefan Hajnoczi
The param_dirty bitmap tracks which parameters have been modified since saving a preset. The bitmap is never used though so we can drop this deadcode. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 16 drivers/staging/line6/pod.h | 5 - 2 files changed, 2

[PATCH 05/46] staging: line6: drop dump sysfs attr

2012-11-22 Thread Stefan Hajnoczi
Once further sysfs attrs have been removed it will also be possible to drop prog_data and other pieces which we keep for now. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 60 +++-- 1 file changed, 3 insertions(+), 57 deletions(-) diff

[PATCH 09/46] staging: line6: drop name sysfs attr

2012-11-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index 165c7ad..76525c5 100644 --- a/drivers/staging/line6/pod.c +++ b/drivers/staging/line6/pod.c @@ -476,18

[PATCH 17/46] staging: line6: drop routing sysfs attr

2012-11-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 8 drivers/staging/line6/pod.h | 9 - 2 files changed, 17 deletions(-) diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index 949b8f7..f84a4ea 100644 --- a/drivers/staging/line6/pod.c +++ b/dr

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Viresh Kumar
On 22 November 2012 08:41, Dmitry Torokhov wrote: > CLK: get rid of HAVE_CLK_PREPARE > > From: Dmitry Torokhov > > HAVE_CLK_PREPARE is automatically selected by COMMON_CLK and the only > platform that explicitly selects HAVE_CLK_PREPARE is MXS which has been > switched to common clk framework, s

[PATCH 23/46] staging: line6: drop midi_postprocess sysfs attr

2012-11-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 36 1 file changed, 36 deletions(-) diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index 797f6e0..37b20d7 100644 --- a/drivers/staging/line6/pod.c +++ b/drivers/staging/l

[PATCH 26/46] staging: line6: drop midi_postprocess flag

2012-11-22 Thread Stefan Hajnoczi
It is no longer necessary to trigger on MIDI transmit messages that will change the state of the device since: 1. We've dropped the midi_postprocess sysfs attr in a previous commit so it is not possible to activate this feature anymore. 2. The other sysfs attrs that could inspect the state aft

[PATCH 27/46] staging: line6: drop pod.c raw sysfs attr

2012-11-22 Thread Stefan Hajnoczi
The raw sysfs attr transmits MIDI messages with less filtering. This was a useful debugging tool while the staging driver still had a lot of state and filtering. It is not useful anymore since the filtering is being dropped. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 13 -

[PATCH 25/46] staging: line6: drop midi_mask_transmit

2012-11-22 Thread Stefan Hajnoczi
The midi_mask_transmit sysfs attribute selects the MIDI channels on which to transmit messages. If ALSA wants to transmit a message that does not match an allowed channel, the message will be dropped. This driver feature is not really used and applications don't know how to take advantage of it.

[PATCH 28/46] staging: line6: drop tuner param filtering

2012-11-22 Thread Stefan Hajnoczi
The pod_set_system_param_int() helper function is only used to set the monitor level. Previously it was also used to control the tuner and has special checks. These checks can now be dropped, along with the tuner constants. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 21 --

[PATCH 36/46] staging: line6: drop variax guitar sysfs attr

2012-11-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/variax.c | 22 -- drivers/staging/line6/variax.h | 5 - 2 files changed, 27 deletions(-) diff --git a/drivers/staging/line6/variax.c b/drivers/staging/line6/variax.c index 4600d24..4db21a3 100644 --- a/drivers/stag

[PATCH 38/46] staging: line6: drop CONFIG_LINE6_USB_RAW

2012-11-22 Thread Stefan Hajnoczi
Now that both pod.c and variax.c have removed their raw sysfs attrs, the CONFIG_LINE6_USB_RAW config option can be dropped. The drivers are being stripped down to just PCM and MIDI I/O so there is less state and filtering. Therefore it's no longer necessary to have a special sysfs attr to bypass

[PATCH 41/46] staging: line6: drop pod prog_data buffers

2012-11-22 Thread Stefan Hajnoczi
The driver no longer keeps state of MIDI-accessible device parameters. Drop the buffers but be careful to keep the device startup procedure working even though we no longer store the contents of the dump request. The startup procedure will be simplified in a later patch. Signed-off-by: Stefan Hajn

[PATCH 42/46] staging: line6: drop unused pod atomic_flags field

2012-11-22 Thread Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 11 --- drivers/staging/line6/pod.h | 5 - 2 files changed, 16 deletions(-) diff --git a/drivers/staging/line6/pod.c b/drivers/staging/line6/pod.c index e892b4a..f8257be 100644 --- a/drivers/staging/line6/pod.c +++ b/d

[PATCH 46/46] staging: line6: drop unused dumprequest code

2012-11-22 Thread Stefan Hajnoczi
The line6 drive no longer requests MIDI dumps from the device so dumprequest.c is not needed. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/Makefile | 1 - drivers/staging/line6/dumprequest.c | 135 drivers/staging/line6/dumprequest.h | 76

[PATCH 45/46] staging: line6: drop dump requests from pod startup

2012-11-22 Thread Stefan Hajnoczi
The pod startup procedure dumps model data. This is no longer useful since the sysfs attrs which expose this information to userspace have been removed. The dump request wasn't been processed anymore. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 44 -

RE: [PATCH 2/2] mmc: dw_mmc: Handle wp-gpios from device tree

2012-11-22 Thread Seungwon Jeon
Hi, wp-gpios has been implemented in dw_mmc-exynos.c It can be reused for EXYNOS platform? We need to modify some though. Thanks, Seungwon Jeon On Thursday, November 22, 2012, Doug Anderson wrote: > On some SoCs (like exynos5250) you need to use an external GPIO for > write protect. Add suppor

Re: [PATCH 1/1] tty: vt: Remove redundant null check before kfree.

2012-11-22 Thread Jiri Slaby
On 11/21/2012 03:46 PM, Greg KH wrote: > On Wed, Nov 21, 2012 at 10:49:07AM +0530, Sachin Kamat wrote: >> --- a/drivers/tty/vt/consolemap.c >> +++ b/drivers/tty/vt/consolemap.c >> @@ -410,10 +410,8 @@ static void con_release_unimap(struct uni_pagedir *p) >> kfree(p->inverse_translation

[PATCH 44/46] staging: line6: drop dump requests from variax startup

2012-11-22 Thread Stefan Hajnoczi
The variax startup procedure dumps model data. This is no longer useful since the sysfs attrs which expose this information to userspace have been removed. The dump request wasn't been processed anymore. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/variax.c | 106 ++

[PATCH 43/46] staging: line6: drop variax model_data field

2012-11-22 Thread Stefan Hajnoczi
The sysfs attrs to access the model dump have been removed so it's safe to drop the model_data field. The next step will be to simplify the startup process since we no longer need to fetch this data via dump requests, but that will be done in a later patch. Signed-off-by: Stefan Hajnoczi --- dr

[PATCH 0/3] charger-manager: Bug fix and split _probe function

2012-11-22 Thread Chanwoo Choi
This patchset include bug fix patch and code clean to split _probe function because _probe function is longer than 400 line. Chanwoo Choi (3): charger-manager: Fix bug related to checking fully charged state of battery charger-manager: Fix bug when check dropped voltage after fullbatt

[PATCH 2/3] charger-manager: Fix bug when check dropped voltage after fullbatt event

2012-11-22 Thread y
From: Chanwoo Choi This patch check difference value between current voltage of battery and desc->fullbatt_uV whether positve or negative number. If difference value is negative number when current voltage of battery is larger than desc->fullbatt_uV, charger-manager return immediately because bat

[PATCH 3/3] charger-manager: Split _probe funtion for code clean

2012-11-22 Thread y
From: Chanwoo Choi This patch split _probe function for readability because _probe function is longer than 400 line. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park --- drivers/power/charger-manager.c | 279 +++ 1 file

[PATCH 1/4] video: vt8500: Fix memory leak in probe function

2012-11-22 Thread Tushar Behera
In case of error in probe function, there is a possibility of either iounmap not getting called or memory allocated for fb_mem_virt not getting freed. Signed-off-by: Tushar Behera --- drivers/video/vt8500lcdfb.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --g

[PATCH 1/3] charger-manager: Fix bug related to checking fully charged state of battery

2012-11-22 Thread Chanwoo Choi
This patch fix bug related to checking fully charged state of battery when charger-manager call is_full_charged() function. After reading property of charger/fuel-gauge through power_supply API, val.intval is more than 1. So, is_full_charged() function always return true. If true, battery means ful

Re: /proc/kmsg giving eof on blocking read

2012-11-22 Thread Jan Schmidt
On Thu, November 22, 2012 at 13:29 (+0100), Kay Sievers wrote: > On Thu, Nov 22, 2012 at 11:44 AM, Jan Schmidt wrote: >> I'm currently debugging something in btrfs in good old printk style, >> generating >> around 10MB/min. I'm seeing /proc/kmsg returning eof on a blocking read (and, >> side note

[PATCH 39/46] staging: line6: drop amp/effects dump request triggers

2012-11-22 Thread Stefan Hajnoczi
Since the driver no longer needs to keep state of device parameters it is no longer necessary to refresh state when messages that affect other parameters are sent. Drop the code to trigger a dump when amp/effects are changed. Signed-off-by: Stefan Hajnoczi --- drivers/staging/line6/pod.c | 9 --

[PATCH 01/10] ASoC: wm8510: remove invalid free of devm_ allocated data

2012-11-22 Thread Tushar Behera
Fixes following warning. sound/soc/codecs/wm8510.c:614:1-6: WARNING: invalid free of devm_ allocated data Signed-off-by: Tushar Behera --- sound/soc/codecs/wm8510.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/wm8510.c b/sound/soc/codecs/wm8510.c in

<    1   2   3   4   5   6   7   8   9   10   >