RE: [PATCH v3 2/2] therma: exynos: Supports thermal tripping

2012-11-22 Thread Jonghwan Choi
Hi~ > >> data->base + EXYNOS_THD_TEMP_RISE); > >> @@ -665,6 +672,8 @@ static void exynos_tmu_control(struct > platform_device > >> *pdev, bool on) > >> con &= ~(EXYNOS_TMU_TRIP_MODE_MASK | EXYNOS_MUX_ADDR_MASK); > >> con |= pdata->no

[PATCH v2 3/3] CLK: add more managed APIs

2012-11-22 Thread Dmitry Torokhov
When converting a driver to managed resources it is desirable to be able to manage all resources in the same fashion. This change allows managing clocks in the same way we manage all other resources. This adds the following managed APIs: - devm_clk_prepare()/devm_clk_unprepare(); - devm_clk_enabl

i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
Hi, since Linux 3.1 I'm having some problems with i915 driver on HP nc6120 with 915GM chipset. The display goes black after the kernel tries to blank screen while LID is closed (see steps to reproduce to more detailed description). Currently I'm using Linux 3.7-rc6 with KMS enabled and disabled A

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

2012-11-22 Thread devendra.aaru
Hi, the commit message got a typo, its gdm72xx. thanks, -- 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 at http://www.tux.org/lk

[PATCH] clk: mxs: Remove unneeded NULL pointer check

2012-11-22 Thread Fabio Estevam
From: Fabio Estevam mxs platform has been converted to device tree. There is no need to check if np is NULL after doing: np = of_find_compatible_node(NULL, NULL, "fsl,imx[23/28]-clkctrl"); ,as it will always be non-NULL. Signed-off-by: Fabio Estevam --- drivers/clk/mxs/clk-imx23.c |8 ++

[PATCH v4 13/31] aio: add aio_kernel_() interface

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This adds an interface that lets kernel callers submit aio iocbs without going through the user space syscalls. This lets kernel callers avoid the management limits and overhead of the context. It will also let us integrate aio operations with other kernel apis that the user sp

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

2012-11-22 Thread Viresh Kumar
Hi Russell, On 22 November 2012 15:00, Russell King - ARM Linux wrote: > Err, no you haven't, not with that grep. What you've found are the places > which enable this, and say "yes, I have clk_prepare". > > What HAVE_CLK_PREPARE is about though is providing a transition path between > drivers us

Re: [PATCH v7-1 1/5] ACPI: Add acpi_handle_() interfaces

2012-11-22 Thread Toshi Kani
> > Signed-off-by: Toshi Kani > > Tested-by: Vijay Mohan Pandarathil > > --- > > > > Hi Rafael, > > This patch replaces the [PATCH v7 1/5] below in the v7 series. > > https://lkml.org/lkml/2012/11/20/719 > > I've applied the entire v7 series to linux-pm.git/linux-next as v3.8 material. Great!

Re: [PATCH 23/42] sh-pfc: Add sh7377 pinmux support

2012-11-22 Thread Laurent Pinchart
Hi Nobuhiro-san, On Thursday 22 November 2012 13:55:19 Nobuhiro Iwamatsu wrote: > Hi, Laurent. > > This patch is unnecessary. > Because support of this CPU is deleted from kernel. > > Best regards, > Nobuhiro Good point, thank you. I'll drop this patch (as well as 21/42) from the series. --

Re: [PATCH 2/2] input: gpio-keys: Add runtime support

2012-11-22 Thread Lee Jones
Ignore this. I've just rebased and the API has changed slightly. Will fixup and resend. > From: Jonas Aaberg > > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org > Signed-off-by: Lee Jones > Signed-off-by: Jonas Aaberg > Signed-off-by: Philippe Langlais > Reviewed-by: Bengt Jonsson >

[GIT PULL] ARM: SoC fixes for 3.7

2012-11-22 Thread Olof Johansson
Hi Linus, The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-for-linus for you to fetch changes up to 65546a

[PATCH V1 2/3] mfd: stmpe-i2c: Move .driver structure fields inside {} in stmpe_i2c_driver

2012-11-22 Thread Viresh Kumar
Currently, few fields in stmpe_i2c_driver are initialized as: .driver.owner = THIS_MODULE, Group them under {}, like: .driver = { .owner = THIS_MODULE, ... }, Signed-off-by: Viresh Kumar --- drivers/mfd/stmpe-i2c.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) d

Re: [PATCH v4 0/3] ACPI 5 support for GPIO, SPI and I2C

2012-11-22 Thread Rafael J. Wysocki
On Thursday, November 22, 2012 10:43:28 AM Linus Walleij wrote: > On Wed, Nov 21, 2012 at 10:31 PM, Rafael J. Wysocki wrote: > > > This patchset has been around for quite a while and went through a few > > iterations, so I think it's as good as it gets at this point. > > > > I wonder if the GPIO

Re: [PATCH v7-1 1/5] ACPI: Add acpi_handle_() interfaces

2012-11-22 Thread Rafael J. Wysocki
On Tuesday, November 20, 2012 06:36:28 PM Toshi Kani wrote: > This patch introduces acpi_handle_(), where is > a kernel message level such as err/warn/info, to support improved > logging messages for ACPI, esp. hot-plug operations. > acpi_handle_() appends "ACPI" prefix and ACPI object path > to t

Re: [Pv-drivers] [PATCH 01/12] VMCI: context implementation.

2012-11-22 Thread Dmitry Torokhov
Hi Joe, On Wed, Nov 21, 2012 at 01:04:46PM -0800, Joe Perches wrote: > On Wed, 2012-11-21 at 12:31 -0800, George Zhang wrote: > > + context = kzalloc(sizeof(*context), GFP_KERNEL); > > + if (!context) { > > + pr_warn("Failed to allocate memory for VMCI context.\n"); > > OOM logging

Re: [PATCH v3] cpufreq: ondemand: handle SW coordinated CPUs

2012-11-22 Thread Rafael J. Wysocki
On Tuesday, November 20, 2012 01:06:16 PM Fabio Baltieri wrote: > From: Rickard Andersson > > This patch fixes a bug that occurred when we had load on a secondary CPU > and the primary CPU was sleeping. Only one sampling timer was spawned > and it was spawned as a deferred timer on the primary CP

RE: PROBLEM: compilation issue, inline assembly arch/x86/kvm/emulate.c fails at -O0

2012-11-22 Thread Blower, Melanie
Thank you so much, this patch solves the compilation errors that I was seeing in the Intel compiler, and with gcc -O0 BTW, my charter is to compile the kernel with the Intel compiler, and my testing stops short of verifying that the kernel build actually works. Best regards, Melanie Blower -

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

2012-11-22 Thread Mike Turquette
Quoting Dmitry Torokhov (2012-11-21 19:11:17) > 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

[PATCH 1/2] fs/buffer.c: do not inline exported function

2012-11-22 Thread Yan Hong
It makes no sense to inlines exported function. Signed-off-by: Yan Hong --- init_buffer() is trivial and only get two module users. Maybe we can move it to buffer_head.h. Remove inline is much more simple to make it clean though. fs/buffer.c |3 +-- 1 file changed, 1 insertion(+), 2 del

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-22 Thread H. Peter Anvin
The other thing that should be considered here is how utterly preposterous the notion of doing in-guest crash dumping is in a system that contains a hypervisor. The reason for kdump is that on bare metal there are no other options, but in a hypervisor system the right thing should be for the h

[tip:x86/mm2] x86, mm: Move min_pfn_mapped back to mm/init.c

2012-11-22 Thread tip-bot for Yinghai Lu
Commit-ID: 9985b4c6fa7d660f685918a58282275e9e35d8e0 Gitweb: http://git.kernel.org/tip/9985b4c6fa7d660f685918a58282275e9e35d8e0 Author: Yinghai Lu AuthorDate: Fri, 16 Nov 2012 19:39:02 -0800 Committer: H. Peter Anvin CommitDate: Sat, 17 Nov 2012 11:59:24 -0800 x86, mm: Move min_pfn_mapp

[tip:x86/mm2] x86, mm: Add global page_size_mask and probe one time only

2012-11-22 Thread tip-bot for Yinghai Lu
Commit-ID: fa62aafea9e415cd1efd8c4054106112fe809f19 Gitweb: http://git.kernel.org/tip/fa62aafea9e415cd1efd8c4054106112fe809f19 Author: Yinghai Lu AuthorDate: Fri, 16 Nov 2012 19:38:38 -0800 Committer: H. Peter Anvin CommitDate: Sat, 17 Nov 2012 11:59:00 -0800 x86, mm: Add global page_s

[tip:x86/mm2] x86, mm: Separate out calculate_table_space_size()

2012-11-22 Thread tip-bot for Yinghai Lu
Commit-ID: ab9519376e86fbbf3c64e5a2b8b005958ea3e9cc Gitweb: http://git.kernel.org/tip/ab9519376e86fbbf3c64e5a2b8b005958ea3e9cc Author: Yinghai Lu AuthorDate: Fri, 16 Nov 2012 19:38:45 -0800 Committer: H. Peter Anvin CommitDate: Sat, 17 Nov 2012 11:59:07 -0800 x86, mm: Separate out calc

[tip:x86/mm2] x86, mm: Only direct map addresses that are marked as E820_RAM

2012-11-22 Thread tip-bot for Jacob Shin
Commit-ID: 66520ebc2df3fe52eb4792f8101fac573b766baf Gitweb: http://git.kernel.org/tip/66520ebc2df3fe52eb4792f8101fac573b766baf Author: Jacob Shin AuthorDate: Fri, 16 Nov 2012 19:38:52 -0800 Committer: H. Peter Anvin CommitDate: Sat, 17 Nov 2012 11:59:14 -0800 x86, mm: Only direct map a

[PATCH 4/4] staging/rtl8187se: Use dev_ or pr_ printks in r8180_core.c

2012-11-22 Thread YAMANE Toshiaki
The following warnings fixed. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... - WARNING: Prefer netdev_warn(netdev, ... then dev_war

Re: [PATCH v2] dmatest: Fix NULL pointer dereference on ioat

2012-11-22 Thread viresh kumar
On Wed, Nov 14, 2012 at 8:17 AM, viresh kumar wrote: > On Mon, Nov 12, 2012 at 4:33 AM, Jon Mason wrote: >> device_control is an optional and not implemented in all DMA drivers. >> Any calls to these will result in a NULL pointer dereference. dmatest >> makes two of these calls when completing t

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

2012-11-22 Thread Ilya Zykov
On 22.11.2012 9:25, andrew mcgregor wrote: On 11/22/2012 at 05:29 PM, in message <50adaa26.7080...@ilyx.ru>, Ilya Zykov wrote: On 22.11.2012 4:47, andrew mcgregor wrote: 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 w

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

2012-11-22 Thread Ilya Zykov
On 22.11.2012 8:29, Ilya Zykov wrote: On 22.11.2012 4:47, andrew mcgregor wrote: 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

Re: [PATCH 1/1] ARM: cache-l2x0: Fix compile time warnings when !CONFIG_OF

2012-11-22 Thread Lee Jones
On Thu, 22 Nov 2012, Russell King - ARM Linux wrote: > I assume you're working with an old kernel... this has already been > fixed. If by 'old' you mean a few -rc's, then yes. I've rebased and the issue has gone away, thanks. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open

RE: [PATCH v2] ARM: exynos: add UART3 to DEBUG_LL ports

2012-11-22 Thread Kukjin Kim
Doug Anderson wrote: > > From: Olof Johansson > > Add support for using UART3 for DEBUG_LL on exynos. > > [dianders: added depend on ARCH_EXYNOS.] > > Signed-off-by: Olof Johansson > Signed-off-by: Doug Anderson > > --- > Changes in v2: > - Matched Olof's commit message. > - Added ARCH_EXYN

/proc/kmsg giving eof on blocking read

2012-11-22 Thread Jan Schmidt
Hi, 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, syslog-ng won't reopen it, effectively stopping logging kernel messages silently). I'm using kernel 3.6.0+ from cmason's tre

[GIT PULL] extcon for Linux 3.8

2012-11-22 Thread MyungJoo Ham
Please pull extcon patches for Linux 3.8. Cheers, MyungJoo -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at: git://git.kernel.org/pub

Re: [PATCH] futex: Avoid wake_futex for a PI futex_q

2012-11-22 Thread Darren Hart
On 11/21/2012 02:34 PM, Andrew Morton wrote: > On Tue, 20 Nov 2012 23:36:45 -0800 > Darren Hart wrote: > >> Dave Jones reported a bug with futex_lock_pi() that his trinity test >> exposed. Sometime between queue_me() and taking the q.lock_ptr, the >> lock_ptr became NULL, resulting in a crash.

[PATCH 1/2 v2] wait: add wait_event_lock_irq() interface

2012-11-22 Thread Lukas Czerner
New wait_event{_interruptible}_lock_irq{_cmd} macros added. This commit moves the private wait_event_lock_irq() macro from MD to regular wait includes, introduces new macro wait_event_lock_irq_cmd() instead of using the old method with omitting cmd parameter which is ugly and makes a use of new mac

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

2012-11-22 Thread Lee Jones
On Thu, 22 Nov 2012, Viresh Kumar wrote: > This patch frees stmpe driver from tension of freeing resources :) > devm_* derivatives of multiple routines are used while allocating resources, > which would be freed automatically by kernel. > > Signed-off-by: Viresh Kumar > --- > > V1->V2: > --

Re: [PATCH 14/14] mm: Account for WRITEBACK_TEMP in balance_dirty_pages

2012-11-22 Thread Maxim V. Patlasov
Hi, 11/22/2012 05:27 PM, Jaegeuk Hanse пишет: On 11/21/2012 08:01 PM, Maxim Patlasov wrote: Added linux-mm@ to cc:. The patch can stand on it's own. Make balance_dirty_pages start the throttling when the WRITEBACK_TEMP counter is high enough. This prevents us from having too many dirty pages

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

2012-11-22 Thread Rafael Aquini
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 17, 2012 at 01:01:30PM -0500, Sasha Levin wrote:

[PATCH 2/2] autofs4: translate pids to the right namespace for the daemon

2012-11-22 Thread Miklos Szeredi
From: Miklos Szeredi The PID and the TGID of the process tringgering the mount are sent to the daemon. Currently the global pid values are sent (ones valid in the initial pid namespace) but this is wrong if the autofs daemon itself is not running in the initial pid namespace. So send the pid va

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

2012-11-22 Thread NeilBrown
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: > > > > ext3 doesn't properly isolate pages from changes during writeback. >

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

2012-11-22 Thread Mike Turquette
Quoting Viresh Kumar (2012-11-21 19:34:18) > 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 > > 93ab

[PATCH 3/3] mmc: sdhci-acpi: add SDHCI ACPI driver

2012-11-22 Thread Adrian Hunter
Signed-off-by: Adrian Hunter --- drivers/mmc/host/Kconfig | 12 ++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-acpi.c | 304 ++ 3 files changed, 317 insertions(+) create mode 100644 drivers/mmc/host/sdhci-acpi.c diff --git a/driver

Re: [RFC PATCH] mm: trace filemap add and del

2012-11-22 Thread Robert Jarzmik
Dave Chinner writes: > We actually have an informal convention for formating filesystem > trace events, and that is to use the device number > >> >> > + ), >> > + >> > + TP_printk("page=%p pfn=%lu blk=%d:%d inode+ofs=%lu+%lu", > > ... and to prefix messages like: > > TP_printk("dev %

Re: [PATCH v2] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2012-11-22 Thread Marek Szyprowski
On 11/21/2012 8:17 PM, Andrew Morton wrote: On Wed, 21 Nov 2012 10:20:07 +0100 Marek Szyprowski wrote: > On 11/21/2012 9:36 AM, Andrew Morton wrote: > > On Wed, 21 Nov 2012 09:08:52 +0100 Marek Szyprowski wrote: > > > On 11/20/2012 8:33 PM, Andrew Morton wrote: > > > > On Tue, 20 Nov 2012 15:

[PATCH 1/3] PNPACPI: exclude SDHCI devices

2012-11-22 Thread Adrian Hunter
These devices will be handled by a ACPI Platform driver. Signed-off-by: Adrian Hunter --- drivers/pnp/pnpacpi/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pnp/pnpacpi/core.c b/drivers/pnp/pnpacpi/core.c index 26b5d4b..5b17cc8 100644 --- a/drivers/pnp/pnpacpi/core.c +++ b/dr

[PATCH 1/1] ARM: cache-l2x0: Fix compile time warnings when !CONFIG_OF

2012-11-22 Thread Lee Jones
Introduced by: 07bd005ed2457876f653fda12981708d737543df ARM: 7547/1: cache-l2x0: add support for Aurora L2 cache ctrl arch/arm/mm/cache-l2x0.c:37:12: warning: ‘l2_wt_override’ defined but not used arch/arm/mm/cache-l2x0.c:292:22: warning: ‘calc_range_end’ defined but not used arch/arm/mm/cache-l2x

Re: Problem in Page Cache Replacement

2012-11-22 Thread Fengguang Wu
On Wed, Nov 21, 2012 at 12:07:22PM +0200, Metin Döşlü wrote: > On Wed, Nov 21, 2012 at 12:00 PM, Jaegeuk Hanse > wrote: > > > > On 11/21/2012 05:58 PM, metin d wrote: > > > > Hi Fengguang, > > > > I run tests and attached the results. The line below I guess shows the > > data-1 page caches. > >

Re: [PATCH v6 8/9] compiler.h, bug.h: Prevent double error messages with BUILD_BUG{,_ON}

2012-11-22 Thread Borislav Petkov
On Tue, Nov 20, 2012 at 03:05:06PM -0600, danielfsan...@att.net wrote: > Prior to the introduction of __attribute__((error("msg"))) in gcc 4.3, > creating compile-time errors required a little trickery. > BUILD_BUG{,_ON} uses this attribute when available to generate > compile-time errors, but also

Re: [PATCH v6 6/9] bug.h: Prevent double evaulation of in BUILD_BUG_ON

2012-11-22 Thread Borislav Petkov
On Tue, Nov 20, 2012 at 03:05:04PM -0600, danielfsan...@att.net wrote: > When calling BUILD_BUG_ON in an optimized build using gcc 4.3 and later, > the condition will be evaulated twice, possibily with side-effects. > This patch eliminates that error. > > Signed-off-by: Daniel Santos Acked-by: B

[PATCH 0/3] Add SDHCI ACPI driver

2012-11-22 Thread Adrian Hunter
Hi Here is SDHCI ACPI driver. It is dependent on new ACPI Platform support so I suggest Rafael takes the patches with Chris' Ack. Please note that I would prefer this to be queued for 3.8 Adrian Hunter (3): PNPACPI: exclude SDHCI devices ACPI: add SDHCI to ACPI platform devices

[PATCH 1/8] aoe: copy fallback timing information on destination failover

2012-11-22 Thread Ed Cashin
The commit f3b8e07af7744cbb, "aoe: commands in retransmit queue use new destination on failure", omits the copying of the coarse-grained time when an AoE command was sent during the failover from one destination MAC address on the AoE target to another. The coarse-grained timing is only used when

[PATCH 0/8] aoe: miscellaneous fixes follow-up recent patch submissions

2012-11-22 Thread Ed Cashin
This patch series applies to today's linux-next/akpm, commit d3faae60d84f586ff8937b77c8476bca1b5f8ec6. Ed L. Cashin (8): aoe: copy fallback timing information on destination failover aoe: remove vestigial request queue allocation aoe: increase default cap on outstanding AoE commands in the n

[PATCH 2/3] ACPI: add SDHCI to ACPI platform devices

2012-11-22 Thread Adrian Hunter
Signed-off-by: Adrian Hunter --- drivers/acpi/scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 8c4ac6d..67a7fa6 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -35,6 +35,8 @@ static const char *dummy_hid = "device"; */ s

Re: [RFT PATCH v1 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-11-22 Thread Jiang Liu
On 11/22/2012 03:35 AM, Andrew Morton wrote: > On Wed, 21 Nov 2012 22:52:29 +0800 > Jiang Liu wrote: > >> On 11/21/2012 03:19 AM, Andrew Morton wrote: >>> On Tue, 20 Nov 2012 23:18:34 +0800 >>> Jiang Liu wrote: >>> >> +static unsigned long calc_memmap_size(unsigned long spanned_pages, >>

[PATCH v4 14/31] aio: add aio support for iov_iter arguments

2012-11-22 Thread Dave Kleikamp
From: Zach Brown This adds iocb cmds which specify that memory is held in iov_iter structures. This lets kernel callers specify memory that can be expressed in an iov_iter, which includes pages in bio_vec arrays. Only kernel callers can provide an iov_iter so it doesn't make a lot of sense to e

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

2012-11-22 Thread Dave Kleikamp
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/file.c index e056b4c..bcea69e 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c @

[PATCH 2/8] aoe: remove vestigial request queue allocation

2012-11-22 Thread Ed Cashin
Before the aoe driver was an I/O request handler, it was a make_request-style block driver. Even so, there was a problem where sysfs expected a request queue to exist, so one was provided in commit 7135a71b19be1fa, "aoe: allocate unused request_queue for sysfs". During the transition to the reque

Re: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-22 Thread Artem Bityutskiy
On Wed, 2012-11-21 at 07:01 +, Philip, Avinash wrote: > > I am not sure how this dependency has to be handled for this series, > > let me know whether you still want it to be made over l2-mtd? > > Artem, > > Is it possible for you to give ack for these patches so that these patches > can go i

Re: [PATCH 3/4] ARM: dts: exynos4: add node for PL330 MDMA1 controller

2012-11-22 Thread Bartlomiej Zolnierkiewicz
Hi Kukjin, Could you also apply this patch? Best regards, -- Bartlomiej Zolnierkiewicz Samsung Poland R&D Center From: Bartlomiej Zolnierkiewicz Subject: [PATCH v2] ARM: dts: exynos4: add node for PL330 MDMA1 controller Add missing PL330 MDMA1 controller node to the device tree (DT). [ Curr

Re: [PATCH 0/3] Add SDHCI ACPI driver

2012-11-22 Thread Adrian Hunter
On 22/11/12 15:55, Chris Ball wrote: > Hi, > > On Thu, Nov 22 2012, Adrian Hunter wrote: >> Here is SDHCI ACPI driver. It is dependent on new ACPI Platform support >> so I suggest Rafael takes the patches with Chris' Ack. >> >> Please note that I would prefer this to be queued for 3.8 > > Looks

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

2012-11-22 Thread Laurent Pinchart
On Thursday 22 November 2012 14:22:23 Felipe Balbi wrote: > On Thu, Nov 22, 2012 at 09:09:57AM +0100, walter harms wrote: > > Am 19.11.2012 22:34, schrieb Cyril Roelandt: > > > Found using the following semantic patch: > > > > > > @@ > > > @@ > > > spin_lock_irqsave(...); > > > ... when != spin_un

[PATCH 4/8] aoe: cleanup: correct comment for aoetgt nout

2012-11-22 Thread Ed Cashin
A misplaced comment was attached to the nout member of the aoetgt. This change corrects the comment. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 9655ce3..bf

[PATCH 2/2] input: gpio-keys: Add runtime support

2012-11-22 Thread Lee Jones
From: Jonas Aaberg Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Jonas Aaberg Signed-off-by: Philippe Langlais Reviewed-by: Bengt Jonsson --- drivers/input/keyboard/gpio_keys.c | 17 + 1 file changed, 13 insertions(+), 4 deleti

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

2012-11-22 Thread Doug Anderson
On some SoCs (like exynos5250) you need to use an external GPIO for write protect. Add support for wp-gpios to the core dw_mmc driver since it could be useful across multiple SoCs. With this change I am able to make use of the write protect for the external SD slot on exynos5250-snow. Signed-off

[PATCH] watchdog: optimizing the hrtimer interval for power saving

2012-11-22 Thread Chuansheng Liu
By default, the watchdog threshold is 10, it means every 4s every CPU will receive one hrtimer interrupt, for low power device, it will cause 4-5mV power impact when device is deep sleep. So here want to optimize it as below: 4s + 4s + 4s + 4s + 4s == > 12s + 2s + 2s + 2s + 2s 3/5 1/10 1/10 1/1

Re: [PATCH] regulator: max8973: Fix callback setting for max8973_dcdc_ops.enable

2012-11-22 Thread Mark Brown
On Thu, Nov 22, 2012 at 09:47:08AM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin Applied, thanks. signature.asc Description: Digital signature

[PATCH 1/1] ARM: ux500: Rename dbx500 cpufreq code to be more generic

2012-11-22 Thread Lee Jones
The cpufreq driver doesn't only handle the db8500 anymore. There are new variants which rely on it too, so we've renamed the driver to be more generic. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ar

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

2012-11-22 Thread Mark Brown
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 things into drivers, then callback functions > are going to se

[Suggestion] drivers/char: in hpet.c, check for hdp->hd_nirqs

2012-11-22 Thread Chen Gang
Hello Arnd Bergmann, Greg Kroah-Hartman in drivers/char/hpet.c:1009 I suggest to add check for hdp->hd_nirqs whether equal or larger than 32 (HPET_MAX_TIMERS) the type of irqp->interrupt_count is u8 (include/acpi/acrestyp.h:349) the type of hdp->hd_irq is "unsigned int hd_irq[HP

[PATCH v4 26/31] xfs: add support for read_iter and write_iter

2012-11-22 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp Cc: Ben Myers Cc: Alex Elder Cc: x...@oss.sgi.com --- fs/xfs/xfs_file.c | 51 --- 1 file changed, 20 insertions(+), 31 deletions(-) diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index aa473fa..df9bc1a 100644 ---

[PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-22 Thread Miklos Szeredi
Patches were tested by the customer. Ian, Eric, do these patches look OK? Thanks, Miklos From: Sukadev Bhattiprolu This patch enables autofs4 to work in a "container". oz_pgrp is converted from pid_t to struct pid and this is stored at mount time based on the "pgrp=" option or if the opti

[PATCH] x86, kvm: Remove incorrect redundant assembly constraint

2012-11-22 Thread H. Peter Anvin
From: "H. Peter Anvin" In __emulate_1op_rax_rdx, we use "+a" and "+d" which are input/output constraints, and *then* use "a" and "d" as input constraints. This is incorrect, but happens to work on some versions of gcc. However, it breaks gcc with -O0 and icc, and may break on future versions of

Re: [POC] recoverable fault injection

2012-11-22 Thread Akinobu Mita
2012/11/22 Johannes Berg : > I thought about something like that, I actually initially played with > macros like this: > > #define FAULT_RECOVERABLE_START(ids)\ > /* set up the task state */ \ > fault_recovery_retry: > > #define FAULT_RECOVERABLE_END(ids) \ > if (curr

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

2012-11-22 Thread Jan Kara
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: > > > ext3 doesn't properly isolate pages from changes during writeback. Since > > > the > > > recommended fix is to use ext4, for now

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

2012-11-22 Thread Cyril Roelandt
The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Also drop the LEN variable, since the COUNT parameter can be used instead. Signed-off-by: Cyril Roelandt --- drivers/acpi/proc.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git

[PATCH 1/2] vfs: new super block feature flags attribute

2012-11-22 Thread Dmitry Kasatkin
This patch introduces new super block attribute flag s_feature_flags and SF_IMA_DISABLED flag. This flag will be used by Integrity Measurement Architecture (IMA). Name suggested by Bruce Fields. Certain file system types and partitions will never be measured or appraised by IMA depending on the po

[PATCH 5/8] aoe: remove call to request handler from I/O completion

2012-11-22 Thread Ed Cashin
There is no need to call the request handler function in the I/O completion routine. The user impact of not doing it is a more "nice" aoe driver that is less susceptible to causing soft lockups. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoecmd.c |2 -- 1 files changed, 0 insertions(+),

Re: Lockdep complain for zram

2012-11-22 Thread Nitin Gupta
On 11/22/2012 12:31 AM, Minchan Kim wrote: Hi Nitin, On Wed, Nov 21, 2012 at 10:06:33AM -0800, Nitin Gupta wrote: On 11/21/2012 12:37 AM, Minchan Kim wrote: Hi alls, Today, I saw below complain of lockdep. As a matter of fact, I knew it long time ago but forgot that. The reason lockdep compla

[PATCH 1/2] ASoC: davinci-mcasp: Add pinctrl support

2012-11-22 Thread Hebbar, Gururaja
From: "Hebbar, Gururaja" Signed-off-by: Hebbar, Gururaja --- :100644 100644 5715595... 76c05d9... M sound/soc/davinci/davinci-mcasp.c sound/soc/davinci/davinci-mcasp.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-m

[PATCH v4 30/31] ecrpytfs: Convert aio_read/write ops to read/write_iter

2012-11-22 Thread Dave Kleikamp
Signed-off-by: Dave Kleikamp Cc: Tyler Hicks Cc: Dustin Kirkland Cc: ecryp...@vger.kernel.org --- fs/ecryptfs/file.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index d45ba45..5aaa180 100644 --- a/fs/ecryptfs/file.c

Re: Lockdep complain for zram

2012-11-22 Thread Jerome Marchand
On 11/21/2012 09:37 AM, Minchan Kim wrote: > Hi alls, > > Today, I saw below complain of lockdep. > As a matter of fact, I knew it long time ago but forgot that. > The reason lockdep complains is that now zram uses GFP_KERNEL > in reclaim path(ex, __zram_make_request) :( > I can fix it via replaci

Re: [RFC] driver-core: Remove dummy 'platform_bus'

2012-11-22 Thread Kay Sievers
On Wed, Nov 21, 2012 at 3:52 PM, Greg Kroah-Hartman wrote: > On Wed, Nov 21, 2012 at 02:44:31PM +, Grant Likely wrote: >> The "platform_bus" (note: not platform_bus_type) only exists as an empty >> directory to put platform devices into. However, it really doesn't make >> sense to segregate al

[PATCH v4 07/31] iov_iter: add a shorten call

2012-11-22 Thread Dave Kleikamp
From: Zach Brown The generic direct write path wants to shorten its memory vector. It does this when it finds that it has to perform a partial write due to LIMIT_FSIZE. .direct_IO() always performs IO on all of the referenced memory because it doesn't have an argument to specify the length of t

[PATCH v4 12/31] fs: pull iov_iter use higher up the stack

2012-11-22 Thread Dave Kleikamp
From: Zach Brown Right now only callers of generic_perform_write() pack their iovec arguments into an iov_iter structure. All the callers higher up in the stack work on raw iovec arguments. This patch introduces the use of the iov_iter abstraction higher up the stack. Private generic path func

Re: Problem in Page Cache Replacement

2012-11-22 Thread Fengguang Wu
On Thu, Nov 22, 2012 at 11:41:07PM +0800, Fengguang Wu wrote: > On Wed, Nov 21, 2012 at 12:07:22PM +0200, Metin Döşlü wrote: > > On Wed, Nov 21, 2012 at 12:00 PM, Jaegeuk Hanse > > wrote: > > > > > > On 11/21/2012 05:58 PM, metin d wrote: > > > > > > Hi Fengguang, > > > > > > I run tests and atta

[PATCH] gpio: New driver for GPO emulation using PWM generators

2012-11-22 Thread Peter Ujfalusi
There seams to be board designs using PWM generators as enable/disable signals. For these boards we used to have custom code as hacks to deal with such a situations. With the gpio-pwm driver we can emulate the GPIO functionality using PWM generators via standard interfaces. The PWM will be configur

[RFC PATCH 1/2] mm: Introduce page flag to indicate stable page status

2012-11-22 Thread Darrick J. Wong
This patch adds yet another page flag, PG_stable, to indicate that the page's contents must not be changed because the page is undergoing some sort of integrity operation (checksumming, digest calculation, etc.) This change should enable us to reduce page write latency in userspace apps, particula

[PATCH 6/8] aoe: make error messages more specific in static minor allocation

2012-11-22 Thread Ed Cashin
For some special-purpose systems where udev isn't present, static allocation of minor numbers is desirable. This update distinguishes different failure scenarios, to help the user understand what went wrong. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoedev.c | 31

[PATCH 7/8] aoe: initialize sysminor to avoid compiler warning

2012-11-22 Thread Ed Cashin
Because the minor_get and related functions use the return values for errors, the compiler doesn't know that sysminor will always either 1) be initialized in aoedev_by_aoeaddr by the call to minor_get, or 2) be unused as the "goto out" is executed. This patch avoids the compiler warning. Signed-o

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

2012-11-22 Thread Cyril Roelandt
On 11/22/2012 01:23 AM, Rafael J. Wysocki wrote: 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 les

[PATCH] block: Don't access request after it might be freed

2012-11-22 Thread Roland Dreier
From: Roland Dreier After we've done __elv_add_request() and __blk_run_queue() in blk_execute_rq_nowait(), the request might finish and be freed immediately. Therefore checking if the type is REQ_TYPE_PM_RESUME isn't safe afterwards, because if it isn't, rq might be gone. Instead, check beforeha

[PATCH] staging: zram: Prevent use of unmapped buffer

2012-11-22 Thread Nitin Gupta
The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") introduced a bug which caused a kunmap()'ed buffer to be used in case of partial writes where the data was found to be incompressible. This fixes bug 50081: https://bugzilla.kernel.org/show_bug.cgi?id=50081 Signed-off-by: Nitin G

Re: Recent kernel "mount" slow

2012-11-22 Thread Linus Torvalds
Doesn't sound like a fsdevel issue since it seems to be independent of filesystems. More like some generic block layer thing. Adding Jens (and quoting the whole thing) Jens, any ideas? Most of your stuff came in after -rc2, which would fit with the fact that most of the slowdown seems to be after

Re: [PATCH] vhost-blk: Add vhost-blk support v5

2012-11-22 Thread Asias He
On 11/21/2012 07:57 PM, Michael S. Tsirkin wrote: > On Wed, Nov 21, 2012 at 12:24:55PM +0800, Asias He wrote: >> On 11/20/2012 09:37 PM, Michael S. Tsirkin wrote: >>> On Tue, Nov 20, 2012 at 02:39:40PM +0800, Asias He wrote: On 11/20/2012 04:26 AM, Michael S. Tsirkin wrote: > On Mon, Nov 1

[PATCH v4 24/31] btrfs: add support for read_iter and write_iter

2012-11-22 Thread Dave Kleikamp
btrfs can use generic_file_read_iter(). Base btrfs_file_write_iter() on btrfs_file_aio_write(), then have the latter call the former. Signed-off-by: Dave Kleikamp Cc: Zach Brown Cc: Chris Mason Cc: linux-bt...@vger.kernel.org --- fs/btrfs/file.c | 42 ++

[PATCH v2 1/3] CLK: get rid of HAVE_CLK_PREPARE

2012-11-22 Thread 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, so we can delete this option now. As part of this change we move declarations of clk_prepare() and clk_unprepare() under H

[PATCH v4 23/31] nfs: simplify swap

2012-11-22 Thread Dave Kleikamp
swap_writepage can now call nfs's write_iter f_op, eliminating the need to implement for the special-case direct_IO a_op. There is no longer a need to pass the uio flag through the direct write path. Signed-off-by: Dave Kleikamp Cc: Mel Gorman Cc: Trond Myklebust Cc: linux-...@vger.kernel.org C

[PATCH] usb: gadget: s3c-hsotg: Fix invalid free of devm_ allocated data

2012-11-22 Thread Tushar Behera
Since hsotg object is allocated using devm_kzalloc() API, there is no need to free this explicitly. But we need to keep the release API to prevent warnings. Signed-off-by: Tushar Behera --- drivers/usb/gadget/s3c-hsotg.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 8/8] aoe: return real minor number for static minors

2012-11-22 Thread Ed Cashin
The value returned by the static minor device number number allocator is the real minor number, so it must be multiplied by the supported number of partitions per aoedev. Without this fix the support for systems without udev is incomplete, and the few users of aoe on such systems will have surpris

Re: [PATCH] of: Have of_device_add call platform_device_add rather than device_add

2012-11-22 Thread Grant Likely
On Wed, 21 Nov 2012 11:14:30 -0700, Jason Gunthorpe wrote: > On Wed, Nov 21, 2012 at 06:07:46PM +, Grant Likely wrote: > > > > Which is nesting the generic gpio driver under a larger region.. > > > > Try two sibling nodes with overlapping addresses. There are powerpc > > device trees doing

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

2012-11-22 Thread Ilya Zykov
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 we don't unthrottle driver, we can get forever throttled driver, because after request, we will have empty b

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