[PATCH] drivers/pnp: fixed coding style on numerious lines.

2012-11-21 Thread Michael L. Hobbs
Fixed coding style on numerious lines. Signed-off-by: Michael L. Hobbs --- drivers/pnp/card.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c index bc00693..400568a 100644 --- a/drivers/pnp/card.c +++

Re: [PATCH 1/4] pinctrl: mvebu: fix iomem pointer for dove pinctrl

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 10:39 AM, Sebastian Hesselbarth wrote: > There has been a change in readl/writel to require registers > addresses marked as IOMEM(). This patch takes care of this and > also replaces ORing address offsets with adding them. > > Signed-off-by: Sebastian Hesselbarth

Re: [PATCH 2/4] pinctrl: mvebu: Fix dove_audio1_ctrl_set function

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 10:39 AM, Sebastian Hesselbarth wrote: > From: Axel Lin > > When setting audio1 pinmux the bits in the corresponding registers > are not cleared. This fix first clears all bits and then sets the > required bits according to the selected function. > > Signed-off-by: Axel

Re: [RFC/PATCH 0/1] ubi: Add ubiblock driver

2012-11-21 Thread Thomas Petazzoni
Dear Ezequiel Garcia, On Tue, 20 Nov 2012 19:39:38 -0300, Ezequiel Garcia wrote: > * Read/write support > > Yes, this implementation supports read/write access. While I think the original ubiblk that was read-only made sense to allow the usage of read-only filesystems like squashfs, I am not

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

2012-11-21 Thread Alex Courbot
On Wednesday 21 November 2012 16:48:45 Tomi Valkeinen wrote: > If the power-off sequence disables a regulator that was supposed to be > enabled by the power-on sequence (but wasn't enabled because of an > error), the regulator_disable is still called when the driver runs the > power-off sequence,

Re: Problem in Page Cache Replacement

2012-11-21 Thread metin d
Hi Fengguang, I run tests and attached the results. The line below I guess shows the data-1 page caches. 0x0008006c       6584051    25718  __RU_lA___P    referenced,uptodate,lru,active,private Metin From: Jaegeuk Hanse To:

Re: [PATCH 0/4] Dove pinctrl fixes and DT enabling

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 10:39 AM, Sebastian Hesselbarth wrote: > This patch relies on a patch set for mvebu pinctrl taken through > Linus' pinctrl branch. As there is no other platform than Dove > involved, I suggest to take it though Jason's tree to avoid any > further conflicts. Sounds like a

Re: opp_get_notifier() needs to be under rcu_lock?

2012-11-21 Thread MyungJoo Ham
> Hi, > > It looks like find_device_opp() (called from opp_get_notifier()) needs > to be under RCU read lock, but this doesn't seem to be happening in > drivers/devfreq/devfreq.c. Doesn't this run the risk of referencing a > freed variable? > > Thanks, > > -Kees Yes, that's an issue requiring

Re: [PATCH V4 1/3] of: introduce for_each_matching_node_and_match()

2012-11-21 Thread Arnd Bergmann
On Tuesday 20 November 2012, Stephen Warren wrote: > However, this results in iterating over table twice; the second time > inside of_match_node(). The implementation of for_each_matching_node() > already found the match, so this is redundant. Invent new function >

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

2012-11-21 Thread Kukjin Kim
Olof Johansson wrote: > > On Tue, Nov 20, 2012 at 02:48:58PM -0800, Doug Anderson wrote: > > From: Olof Johansson > > > > UART3 is used for debugging on exynos5250-snow. > > > > [dianders: cleaned commit message.] > > > > Signed-off-by: Olof Johansson > > Signed-off-by: Doug Anderson > > > >

[PATCH 2/2] powerpc/dma/raidengine: enable Freescale RaidEngine device

2012-11-21 Thread b29237
From: Xuelin Shi The RaidEngine is a new FSL hardware that used as hardware acceration for RAID5/6. This patch enables the RaidEngine functionality and provides hardware offloading capability for memcpy, xor and raid6 pq computation. It works under dmaengine control with async_layer interface.

[PATCH 1/2] powerpc/dma/raidengine: add raidengine device

2012-11-21 Thread b29237
From: Xuelin Shi The RaidEngine is a new Freescale hardware that used for parity computation offloading in RAID5/6. This patch adds the device node in device tree and related binding documentation. Signed-off-by: Harninder Rai Signed-off-by: Naveen Burmi Signed-off-by: Xuelin Shi ---

Re: [PATCH v3 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-11-21 Thread Amit Kachhap
On 20 November 2012 11:23, Zhang Rui wrote: > On Tue, 2012-11-20 at 10:39 +0900, Kyungmin Park wrote: >> On 11/20/12, Jonghwan Choi wrote: >> > [0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. >> > >> > Signed-off-by: Jonghwan Choi >> Acked-by: Kyungmin Park > > Amit and

Re: [PATCH] pkt_sched: QFQ Plus: fair-queueing service at DRR cost

2012-11-21 Thread Paolo Valente
Il 20/11/2012 19:54, David Miller ha scritto: From: Paolo Valente Date: Tue, 20 Nov 2012 18:45:13 +0100 - struct sk_buff *skb; + struct sk_buff *skb = NULL; This is not really an improvement, Sorry for trying this silly short cut now the compiler can think that NULL is passed

RE: [PATCH 2/2] ARM: dts: snow: Add board dts file for Snow board (ARM Chromebook)

2012-11-21 Thread Kukjin Kim
Kukjin Kim wrote: > > Olof Johansson wrote: > > [...] > > > > Acked-by: Olof Johansson > > > > Kukjin, since your pull requests came in today, can you ack this and > > I'll just apply it on top of your branches? > > > Hi Olof, yeah, I sent pull-request but there are some patches for dt and >

RE: [PATCH] ARM: exynos: dt: add all i2c busses to auxdata

2012-11-21 Thread Kukjin Kim
Doug Anderson wrote: > > From: Olof Johansson > > Needed to match device ids for clocks, etc. > > Signed-off-by: Olof Johansson > Signed-off-by: Doug Anderson > > --- > arch/arm/mach-exynos/mach-exynos5-dt.c | 10 ++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff

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

2012-11-21 Thread Kukjin Kim
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 of kernel messages much easier. > > [dianders: slight patch cleanup from Padmavathi's original.] > > Signed-off-by: Padmavathi

RE: [PATCH 1/2] ARM: EXYNOS: Add aliases for i2c controller for exynos4

2012-11-21 Thread Kukjin Kim
Doug Anderson wrote: > > This is similar to a recent commit for exynos5250 titled: > ARM: EXYNOS: Add aliases for i2c controller > > Adding aliases will be useful to prevent warnings in a future > change. See: > i2c: s3c2410: Get the i2c bus number from alias id > > Signed-off-by: Doug

Re: [PATCH v2] checkpatch: add double empty line check

2012-11-21 Thread Eilon Greenstein
On Tue, 2012-11-20 at 15:41 -0800, Joe Perches wrote: > On Tue, 2012-11-20 at 23:19 +, Andy Whitcroft wrote: > > On Tue, Nov 20, 2012 at 01:58:48PM -0800, Joe Perches wrote: > > > > > +# check for multiple blank lines, warn only on the second one in a block > > > + if ($rawline =~

Re: Problem in Page Cache Replacement

2012-11-21 Thread Jaegeuk Hanse
On 11/21/2012 05:02 PM, Fengguang Wu wrote: On Wed, Nov 21, 2012 at 04:34:40PM +0800, Jaegeuk Hanse wrote: Cc Fengguang Wu. On 11/21/2012 04:13 PM, metin d wrote: Curious. Added linux-mm list to CC to catch more attention. If you run echo 1 >/proc/sys/vm/drop_caches does it evict data-1

[PATCH V4 0/3] Add hardware I/O coherency support for Armada 370/XP

2012-11-21 Thread Gregory CLEMENT
The purpose of this patch set is to add hardware I/O Coherency support for Armada 370 and Armada XP. Theses SoCs come with an unit called coherency fabric. A beginning of the support for this unit have been introduced with the SMP patch set. This series extend this support: the coherency fabric

Re: Streamlining Developer's Certificate of Origin, Signed-off-by tag

2012-11-21 Thread Jiri Slaby
On 11/21/2012 02:13 AM, Luis R. Rodriguez wrote: > Ah so keep the original in place to let references to the original in > whatever way those may exist to keep pointing but promote new usage to > a copy and.. perhaps refer to the new copy in master, or just leave > that in place as is? It depends

[PATCH V4 2/3] arm: plat-orion: Add coherency attribute when setup mbus target

2012-11-21 Thread Gregory CLEMENT
Recent SoC such as Armada 370/XP came with the possibility to deal with the I/O coherency by hardware. In this case the transaction attribute of the window must be flagged as "Shared transaction". Once this flag is set, then the transactions will be forced to be sent through the coherency block,

[PATCH V4 3/3] arm: mvebu: Add hardware I/O Coherency support

2012-11-21 Thread Gregory CLEMENT
Armada 370 and XP come with an unit called coherency fabric. This unit allows to use the Armada 370/XP as a nearly coherent architecture. The coherency mechanism uses snoop filters to ensure the coherency between caches, DRAM and devices. This mechanism needs a synchronization barrier which

[PATCH V4 1/3] arm: dma mapping: Export a dma ops function arm_dma_set_mask

2012-11-21 Thread Gregory CLEMENT
Expose another DMA operations function: arm_dma_set_mask. This function will be added to a custom DMA ops for Armada 370/XP. Depending of its configuration Armada 370/XP can be set as a "nearly" coherent architecture. In this case the DMA ops is made of: - specific functions for this architecture

Re: [PATCH v11] kvm: notify host when the guest is panicked

2012-11-21 Thread Gleb Natapov
On Tue, Nov 20, 2012 at 07:33:49PM -0200, Marcelo Tosatti wrote: > On Tue, Nov 20, 2012 at 06:09:48PM +0800, Hu Tao wrote: > > Hi Marcelo, > > > > On Tue, Nov 13, 2012 at 12:19:08AM -0200, Marcelo Tosatti wrote: > > > On Fri, Nov 09, 2012 at 03:17:39PM -0500, Sasha Levin wrote: > > > > On Mon,

Re: numa/core regressions fixed - more testers wanted

2012-11-21 Thread Ingo Molnar
* David Rientjes wrote: > I started profiling on a new machine that is an exact > duplicate of the 16-way, 4 node, 32GB machine I was profiling > with earlier to rule out any machine-specific problems. I > pulled master and ran new comparisons with THP enabled at > c418de93e398 ("Merge

Re: [PATCH, v2] mm, numa: Turn 4K pte NUMA faults into effective hugepage ones

2012-11-21 Thread Ingo Molnar
* David Rientjes wrote: > Ok, this is significantly better, it almost cut the regression > in half on my system. [...] The other half still seems to be related to the emulation faults that I fixed in the other patch: > 0.49% [kernel] [k] page_fault

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-21 Thread Kirill A. Shutemov
On Tue, Nov 20, 2012 at 10:02:45AM -0800, David Rientjes wrote: > On Mon, 19 Nov 2012, Glauber Costa wrote: > > > >> In the case I outlined below, for backwards compatibility. What I > > >> actually mean is that memcg *currently* allows arbitrary notifications. > > >> One way to merge those,

[PATCH] of/i2c: support more interrupt specifiers

2012-11-21 Thread Bongkyu Kim
This patch supports more interrupt specifiers for i2c client. Signed-off-by: Bongkyu Kim --- drivers/of/of_i2c.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c index 3550f3b..c6d9b7e 100644 --- a/drivers/of/of_i2c.c +++

[PATCH] of/i2c: check status property for i2c client

2012-11-21 Thread Bongkyu Kim
Because of_i2c_register_devices() do not check status property, all i2c clients are registered. This patch add checking status property for i2c client. After this patch, if status property is absent or "okay" or "ok", i2c client will be registered. Signed-off-by: Bongkyu Kim ---

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-21 Thread Glauber Costa
On 11/21/2012 12:46 PM, Anton Vorontsov wrote: > On Wed, Nov 21, 2012 at 12:27:28PM +0400, Glauber Costa wrote: >> On 11/20/2012 10:23 PM, David Rientjes wrote: >>> Anton can correct me if I'm wrong, but I certainly don't think this is >>> where mempressure is headed: I don't think any accounting

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

2012-11-21 Thread Marek Szyprowski
Hello, On 11/21/2012 9:36 AM, Andrew Morton wrote: On Wed, 21 Nov 2012 09:08:52 +0100 Marek Szyprowski wrote: > Hello, > > On 11/20/2012 8:33 PM, Andrew Morton wrote: > > On Tue, 20 Nov 2012 15:31:45 +0100 > > Marek Szyprowski wrote: > > > > > dmapool always calls dma_alloc_coherent() with

Re: [GIT PULL] Calxeda cpuidle support

2012-11-21 Thread Olof Johansson
On Mon, Nov 19, 2012 at 08:45:53AM -0600, Rob Herring wrote: > Arnd, Olof, > > Please pull cpuidle support for highbank. This is the first driver in > drivers/cpuidle. All the existing drivers for ARM are in arch/arm. I'm > asking for you to pull since there seems to be a lack of maintainer for >

Re: Problem in Page Cache Replacement

2012-11-21 Thread Fengguang Wu
On Wed, Nov 21, 2012 at 05:02:04PM +0800, Fengguang Wu wrote: > On Wed, Nov 21, 2012 at 04:34:40PM +0800, Jaegeuk Hanse wrote: > > Cc Fengguang Wu. > > > > On 11/21/2012 04:13 PM, metin d wrote: > > >> Curious. Added linux-mm list to CC to catch more attention. If you run > > >>echo 1

Re: [PATCH 06/10] staging: cxt1e1: musycc.c: fixes placement of parentheses

2012-11-21 Thread Dan Carpenter
On Tue, Nov 20, 2012 at 07:28:48PM +0200, Johan Meiring wrote: > This commit fixes several incorrect placements of parantheses, as > identified by the checkpatch.pl tool. > This patch is fine, and all. Acked-by: Dan Carpenter But you could go beyond fixing just checkpatch.pl warnings. >

[regression] 3.7+ suspend to RAM/offline CPU fails with nmi_watchdog=0 (bisected)

2012-11-21 Thread Norbert Warmuth
3.7-rc6 booted with nmi_watchdog=0 fails to suspend to RAM or offline CPUs. It's reproducable with a KVM guest and physical system. git bisect identified (config used for bisecting attached): commit bcd951cf10f24e341defcd002c15a1f4eea13ddb Author: Thomas Gleixner Date: Mon Jul 16

[RFC PATCH] PM / devfreq: Add runtime-pm support

2012-11-21 Thread Rajagopal Venkat
Instead of devfreq device driver explicitly calling devfreq suspend and resume apis perhaps from runtime-pm suspend and resume callbacks, let devfreq core handle it automatically. Attach devfreq core to runtime-pm framework so that, devfreq device driver pm_runtime_suspend() will automatically

Re: [PATCH 10/10] staging: cxt1e1: sbecrc.c: fixes 80+ char line length issue

2012-11-21 Thread Dan Carpenter
On Tue, Nov 20, 2012 at 07:28:52PM +0200, Johan Meiring wrote: > This commit sorts out a single case where a line was longer than > 80 characters. > > Signed-off-by: Johan Meiring > --- > drivers/staging/cxt1e1/sbecrc.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff

RE: [PATCH 0/4] thermal: Add support for interrupt based notification to thermal layer

2012-11-21 Thread Zhang, Rui
Hi, Amit, As THERMAL_TREND_RAISE_FULL/THERMAL_TREND_DROP_FULL has been introduced to thermal next tree, I'd like to get your plan about this patch set? Thanks, Rui > -Original Message- > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of

Re: Problem in Page Cache Replacement

2012-11-21 Thread Fengguang Wu
On Wed, Nov 21, 2012 at 04:34:40PM +0800, Jaegeuk Hanse wrote: > Cc Fengguang Wu. > > On 11/21/2012 04:13 PM, metin d wrote: > >> Curious. Added linux-mm list to CC to catch more attention. If you run > >>echo 1 >/proc/sys/vm/drop_caches does it evict data-1 pages from memory? > >I'm guessing

RE: [PATCH resend] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-11-21 Thread Peter.Huewe
Hi Jason, Hi Kent, > >Discussion on this got a bit sidetracked talking about >suspend/resume.. To be clear, this fixes a real, serious, problem on >normal embedded cases where the kernel refuses to attach the TPM driver >at all. > >Key, are you happy with this as-is for the next merge window? >

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

2012-11-21 Thread Tomi Valkeinen
On 2012-11-21 10:32, Alex Courbot wrote: >> Ok. I'll need to dig up the conversation > > IIRC it was somewhere around here: > > https://lkml.org/lkml/2012/9/7/662 > > See the parent messages too. Thanks. >> Did you consider any examples >> of how some driver could handle the error cases? >

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-21 Thread Anton Vorontsov
On Wed, Nov 21, 2012 at 12:27:28PM +0400, Glauber Costa wrote: > On 11/20/2012 10:23 PM, David Rientjes wrote: > > Anton can correct me if I'm wrong, but I certainly don't think this is > > where mempressure is headed: I don't think any accounting needs to be done Yup, I'd rather not do any

[PATCH RESEND] Fix printing when no interrupt is allocated

2012-11-21 Thread Daniel J Blueman
Previously a new line is implicitly added in the no GSI case: [7.185182] pci 0001:00:12.0: can't derive routing for PCI INT A [7.191352] pci 0001:00:12.0: PCI INT A: no GSI [7.195956] - using ISA IRQ 10 The code thus prints a blank line where no legacy IRQ is available: [

[PATCHv2 1/2] dw_dmac: store direction in the custom channel structure

2012-11-21 Thread Andy Shevchenko
Currently the direction value comes from the generic slave configuration structure and explicitly as a preparation function parameter. The first one is kinda obsoleted. Thus, we have to store the value passed to the preparation function somewhere in our structures to be able to use it later. The

[PATCHv2 2/2] dw_dmac: make usage of dw_dma_slave optional

2012-11-21 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

[PATCH v2 RESEND] Add NumaChip remote PCI support

2012-11-21 Thread Daniel J Blueman
Add NumaChip-specific PCI access mechanism via MMCONFIG cycles, but preventing access to AMD Northbridges which shouldn't respond. v2: Use PCI_DEVFN in precomputed constant limit; drop unneeded includes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/numachip/numachip.h | 20 +

Re: numa/core regressions fixed - more testers wanted

2012-11-21 Thread Alex Shi
> > Those of you who would like to test all the latest patches are > welcome to pick up latest bits at tip:master: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master > I am wondering if it is a problem, but it still exists on HEAD: c418de93e39891

Lockdep complain for zram

2012-11-21 Thread Minchan Kim
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 replacing GFP_KERNEL with GFP_NOIO. But more big problem is

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

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 09:08:52 +0100 Marek Szyprowski wrote: > Hello, > > On 11/20/2012 8:33 PM, Andrew Morton wrote: > > On Tue, 20 Nov 2012 15:31:45 +0100 > > Marek Szyprowski wrote: > > > > > dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, > > > regardless the flags provided

Re: [patch] mm, memcg: avoid unnecessary function call when memcg is disabled

2012-11-21 Thread Michal Hocko
On Tue 20-11-12 13:49:32, Andrew Morton wrote: > On Mon, 19 Nov 2012 17:44:34 -0800 (PST) > David Rientjes wrote: > > > While profiling numa/core v16 with cgroup_disable=memory on the command > > line, I noticed mem_cgroup_count_vm_event() still showed up as high as > > 0.60% in perftop. > >

Re: Problem in Page Cache Replacement

2012-11-21 Thread Jaegeuk Hanse
Cc Fengguang Wu. On 11/21/2012 04:13 PM, metin d wrote: Curious. Added linux-mm list to CC to catch more attention. If you run echo 1 >/proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics

Re: [PATCH 8/8] staging: wlags49_h2: ap_h2.c: fixes inconsistent spacing around *

2012-11-21 Thread Dan Carpenter
On Tue, Nov 20, 2012 at 04:45:00PM +0200, Johan Meiring wrote: > This commit fixes an inconsistent spacing issue around * > The others are good, but this one is not right. > Signed-off-by: Johan Meiring > --- > drivers/staging/wlags49_h2/ap_h2.c |8 > 1 file changed, 4

Re: [PATCH RFT] regulator: da9055: Properly handle voltage range that doesn't start with 0 offset

2012-11-21 Thread Ashish Jangam
> This patch implements map_voltage and list_voltage callbacks to properly > handle > the case voltage range that doesn't start with 0 offset. > > Now we adjust the selector in map_voltage() before calling set_voltage_sel(). > And return 0 in list_voltage() for invalid selectors. > > With above

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

2012-11-21 Thread Alex Courbot
On Wednesday 21 November 2012 16:13:47 Tomi Valkeinen wrote: > * PGP Signed by an unknown key > > On 2012-11-21 03:56, Alex Courbot wrote: > > Hi Tomi, > > > > On Tuesday 20 November 2012 22:48:18 Tomi Valkeinen wrote: > >> I guess there's a reason, but the above looks a bit inconsistent. For >

Re: [PATCH v2 1/2] block: Remove deadlock in disk_clear_events

2012-11-21 Thread Andrew Morton
On Mon, 19 Nov 2012 18:07:01 -0800 Derek Basehore wrote: > In disk_clear_events, do not put work on system_nrt_freezable_wq. Instead, put > it on system_nrt_wq. > > There is a race between probing a usb and suspending the device. Since > probing a > usb calls disk_clear_events, which puts

Re: [PATCH] Revert "mm: remove __GFP_NO_KSWAPD"

2012-11-21 Thread Glauber Costa
On 11/21/2012 12:18 AM, Andrew Morton wrote: > On Tue, 20 Nov 2012 13:18:19 +0400 > Glauber Costa wrote: > >> On 11/12/2012 03:37 PM, Mel Gorman wrote: >>> diff --git a/include/linux/gfp.h b/include/linux/gfp.h >>> index 02c1c971..d0a7967 100644 >>> --- a/include/linux/gfp.h >>> +++

Re: [PATCH V3 10/11] ARM: remove struct sys_timer suspend and resume fields

2012-11-21 Thread Linus Walleij
Oh and there was this comment/TODO: On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren wrote: > @@ -17,15 +17,6 @@ > * Initialise the kernels jiffy timer source, claim interrupt > * using setup_irq. This is called early on during initialisation > * while interrupts are still disabled

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-21 Thread Glauber Costa
On 11/20/2012 10:23 PM, David Rientjes wrote: > Anton can correct me if I'm wrong, but I certainly don't think this is > where mempressure is headed: I don't think any accounting needs to be done > and, if it is, it's a design issue that should be addressed now rather > than later. I believe

Re: The bug of iput() removal from flusher thread?

2012-11-21 Thread Dave Chinner
On Wed, Nov 21, 2012 at 12:05:33AM -0800, Andrew Morton wrote: > On Wed, 21 Nov 2012 02:48:51 +0100 Jan Kara wrote: > > > +/* > > + * Add inode to LRU if needed (inode is unused and clean). > > + * > > + * Needs inode->i_lock held. > > + */ > > +void inode_add_lru(struct inode *inode) > > +{ > >

Re: [PATCH V3 10/11] ARM: remove struct sys_timer suspend and resume fields

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren wrote: > From: Stephen Warren > > These fields duplicate e.g. struct clock_event_device's suspend and > resume fields, so remove them now that nothing is using them. The aim > is to remove all fields from struct sys_timer except .init, then

Re: [Xen-devel] [PATCH] xen: tmem: selfballooning should be enabled when xen tmem is enabled

2012-11-21 Thread Jan Beulich
>>> On 20.11.12 at 23:42, Dan Magenheimer wrote: > Konrad: Any chance this can get in for the upcoming window? > (Or is it enough of a bug fix that it can go in at an -rcN?) > > It was just pointed out to me that some kernels have > cleancache and frontswap and xen_tmem enabled but NOT >

[PATCH] Add the values related to buddy system for filtering free pages

2012-11-21 Thread Atsushi Kumagai
This patch adds the values related to buddy system to vmcoreinfo data so that makedumpfile (dump filtering command) can filter out all free pages with the new logic. It's faster than the current logic because it can distinguish free page by analyzing page structure at the same time as filtering

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

2012-11-21 Thread Tomi Valkeinen
On 2012-11-21 03:56, Alex Courbot wrote: > Hi Tomi, > > On Tuesday 20 November 2012 22:48:18 Tomi Valkeinen wrote: >> I guess there's a reason, but the above looks a bit inconsistent. For >> gpio you define the gpio resource inside the step. For power and pwm the >> resource is defined before the

Re: [PATCH V3 08/11] ARM: ux500: convert timer suspend/resume to clock_event_device

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren wrote: > From: Stephen Warren > > Move ux500's timer suspend/resume functions from struct sys_timer > ux500_timer into struct clock_event_device nmdk_clkevt. This > will allow the sys_timer suspend/resume fields to be removed, and > eventually

Re: Problem in Page Cache Replacement

2012-11-21 Thread metin d
>  Curious. Added linux-mm list to CC to catch more attention. If you run > echo 1 >/proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics before trying this. We regularly use a setup where we

Re: [PATCH, v2] mm, numa: Turn 4K pte NUMA faults into effective hugepage ones

2012-11-21 Thread Ingo Molnar
* Rik van Riel wrote: > >+} > >+ > >+/* > >+ * Add a simple loop to also fetch ptes within the same pmd: > >+ */ > > That's not a very useful comment. How about something like: > > /* >* Also fault over nearby ptes from within the same pmd and vma, >* in order to minimize the

Re: Problem in Page Cache Replacement

2012-11-21 Thread metin d
>  Curious. Added linux-mm list to CC to catch more attention. If you run > echo 1 >/proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics before trying this. We regularly use a setup where

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

2012-11-21 Thread Marek Szyprowski
Hello, On 11/20/2012 8:33 PM, Andrew Morton wrote: On Tue, 20 Nov 2012 15:31:45 +0100 Marek Szyprowski wrote: > dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, > regardless the flags provided by the caller. This causes excessive > pruning of emergency memory pools without any

Re: The bug of iput() removal from flusher thread?

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 02:48:51 +0100 Jan Kara wrote: > +/* > + * Add inode to LRU if needed (inode is unused and clean). > + * > + * Needs inode->i_lock held. > + */ > +void inode_add_lru(struct inode *inode) > +{ > + if (!(inode->i_state & (I_DIRTY | I_FREEING | I_SYNC)) && > +

Re: [PATCH] gpiolib: rename pin range arguments

2012-11-21 Thread Viresh Kumar
On 21 November 2012 13:20, Linus Walleij wrote: > From: Linus Walleij > > To be crystal clear on what the arguments mean in this > funtion dealing with both GPIO and PIN ranges with confusing > naming, we now have gpio_offset and pin_offset and we are > on the clear that these are offsets into

Re: [PATCH] gpiolib: Fix use after free in gpiochip_add_pin_range

2012-11-21 Thread Linus Walleij
On Wed, Nov 21, 2012 at 7:33 AM, Axel Lin wrote: > This is introduced by commit 9ab6e988 > "gpiolib: return any error code from range creation". > > Signed-off-by: Axel Lin > --- > This patch is against LinusW's linux-pinctrl tree, for-next branch. > Axel Oops thanks a lot for catching this

Re: [PATCH] gpiolib: Fix use after free in gpiochip_add_pin_range

2012-11-21 Thread Linus Walleij
On Wed, Nov 21, 2012 at 7:33 AM, Axel Lin axel@ingics.com wrote: This is introduced by commit 9ab6e988 gpiolib: return any error code from range creation. Signed-off-by: Axel Lin axel@ingics.com --- This patch is against LinusW's linux-pinctrl tree, for-next branch. Axel Oops

Re: [PATCH] gpiolib: rename pin range arguments

2012-11-21 Thread Viresh Kumar
On 21 November 2012 13:20, Linus Walleij linus.wall...@stericsson.com wrote: From: Linus Walleij linus.wall...@linaro.org To be crystal clear on what the arguments mean in this funtion dealing with both GPIO and PIN ranges with confusing naming, we now have gpio_offset and pin_offset and we

Re: The bug of iput() removal from flusher thread?

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 02:48:51 +0100 Jan Kara j...@suse.cz wrote: +/* + * Add inode to LRU if needed (inode is unused and clean). + * + * Needs inode-i_lock held. + */ +void inode_add_lru(struct inode *inode) +{ + if (!(inode-i_state (I_DIRTY | I_FREEING | I_SYNC)) +

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

2012-11-21 Thread Marek Szyprowski
Hello, On 11/20/2012 8:33 PM, Andrew Morton wrote: On Tue, 20 Nov 2012 15:31:45 +0100 Marek Szyprowski m.szyprow...@samsung.com wrote: dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag, regardless the flags provided by the caller. This causes excessive pruning of emergency

Re: Problem in Page Cache Replacement

2012-11-21 Thread metin d
 Curious. Added linux-mm list to CC to catch more attention. If you run echo 1 /proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics before trying this. We regularly use a setup where we

Re: [PATCH, v2] mm, numa: Turn 4K pte NUMA faults into effective hugepage ones

2012-11-21 Thread Ingo Molnar
* Rik van Riel r...@redhat.com wrote: +} + +/* + * Add a simple loop to also fetch ptes within the same pmd: + */ That's not a very useful comment. How about something like: /* * Also fault over nearby ptes from within the same pmd and vma, * in order to minimize the

Re: Problem in Page Cache Replacement

2012-11-21 Thread metin d
  Curious. Added linux-mm list to CC to catch more attention. If you run echo 1 /proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics before trying this. We regularly use a setup where we have

Re: [PATCH V3 08/11] ARM: ux500: convert timer suspend/resume to clock_event_device

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Move ux500's timer suspend/resume functions from struct sys_timer ux500_timer into struct clock_event_device nmdk_clkevt. This will allow the sys_timer suspend/resume fields

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

2012-11-21 Thread Tomi Valkeinen
On 2012-11-21 03:56, Alex Courbot wrote: Hi Tomi, On Tuesday 20 November 2012 22:48:18 Tomi Valkeinen wrote: I guess there's a reason, but the above looks a bit inconsistent. For gpio you define the gpio resource inside the step. For power and pwm the resource is defined before the steps.

[PATCH] Add the values related to buddy system for filtering free pages

2012-11-21 Thread Atsushi Kumagai
This patch adds the values related to buddy system to vmcoreinfo data so that makedumpfile (dump filtering command) can filter out all free pages with the new logic. It's faster than the current logic because it can distinguish free page by analyzing page structure at the same time as filtering

Re: [Xen-devel] [PATCH] xen: tmem: selfballooning should be enabled when xen tmem is enabled

2012-11-21 Thread Jan Beulich
On 20.11.12 at 23:42, Dan Magenheimer dan.magenhei...@oracle.com wrote: Konrad: Any chance this can get in for the upcoming window? (Or is it enough of a bug fix that it can go in at an -rcN?) It was just pointed out to me that some kernels have cleancache and frontswap and xen_tmem enabled

Re: [PATCH V3 10/11] ARM: remove struct sys_timer suspend and resume fields

2012-11-21 Thread Linus Walleij
On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com These fields duplicate e.g. struct clock_event_device's suspend and resume fields, so remove them now that nothing is using them. The aim is to remove all fields from struct

Re: The bug of iput() removal from flusher thread?

2012-11-21 Thread Dave Chinner
On Wed, Nov 21, 2012 at 12:05:33AM -0800, Andrew Morton wrote: On Wed, 21 Nov 2012 02:48:51 +0100 Jan Kara j...@suse.cz wrote: +/* + * Add inode to LRU if needed (inode is unused and clean). + * + * Needs inode-i_lock held. + */ +void inode_add_lru(struct inode *inode) +{ + if

Re: [RFC v3 0/3] vmpressure_fd: Linux VM pressure notifications

2012-11-21 Thread Glauber Costa
On 11/20/2012 10:23 PM, David Rientjes wrote: Anton can correct me if I'm wrong, but I certainly don't think this is where mempressure is headed: I don't think any accounting needs to be done and, if it is, it's a design issue that should be addressed now rather than later. I believe

Re: [PATCH V3 10/11] ARM: remove struct sys_timer suspend and resume fields

2012-11-21 Thread Linus Walleij
Oh and there was this comment/TODO: On Mon, Nov 19, 2012 at 7:31 PM, Stephen Warren swar...@wwwdotorg.org wrote: @@ -17,15 +17,6 @@ * Initialise the kernels jiffy timer source, claim interrupt * using setup_irq. This is called early on during initialisation * while interrupts

Re: [PATCH] Revert mm: remove __GFP_NO_KSWAPD

2012-11-21 Thread Glauber Costa
On 11/21/2012 12:18 AM, Andrew Morton wrote: On Tue, 20 Nov 2012 13:18:19 +0400 Glauber Costa glom...@parallels.com wrote: On 11/12/2012 03:37 PM, Mel Gorman wrote: diff --git a/include/linux/gfp.h b/include/linux/gfp.h index 02c1c971..d0a7967 100644 --- a/include/linux/gfp.h +++

Re: [PATCH v2 1/2] block: Remove deadlock in disk_clear_events

2012-11-21 Thread Andrew Morton
On Mon, 19 Nov 2012 18:07:01 -0800 Derek Basehore dbaseh...@chromium.org wrote: In disk_clear_events, do not put work on system_nrt_freezable_wq. Instead, put it on system_nrt_wq. There is a race between probing a usb and suspending the device. Since probing a usb calls

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

2012-11-21 Thread Alex Courbot
On Wednesday 21 November 2012 16:13:47 Tomi Valkeinen wrote: * PGP Signed by an unknown key On 2012-11-21 03:56, Alex Courbot wrote: Hi Tomi, On Tuesday 20 November 2012 22:48:18 Tomi Valkeinen wrote: I guess there's a reason, but the above looks a bit inconsistent. For gpio you

Re: [PATCH RFT] regulator: da9055: Properly handle voltage range that doesn't start with 0 offset

2012-11-21 Thread Ashish Jangam
This patch implements map_voltage and list_voltage callbacks to properly handle the case voltage range that doesn't start with 0 offset. Now we adjust the selector in map_voltage() before calling set_voltage_sel(). And return 0 in list_voltage() for invalid selectors. With above change,

Re: [PATCH 8/8] staging: wlags49_h2: ap_h2.c: fixes inconsistent spacing around *

2012-11-21 Thread Dan Carpenter
On Tue, Nov 20, 2012 at 04:45:00PM +0200, Johan Meiring wrote: This commit fixes an inconsistent spacing issue around * The others are good, but this one is not right. Signed-off-by: Johan Meiring johanmeir...@gmail.com --- drivers/staging/wlags49_h2/ap_h2.c |8 1 file

Re: Problem in Page Cache Replacement

2012-11-21 Thread Jaegeuk Hanse
Cc Fengguang Wu. On 11/21/2012 04:13 PM, metin d wrote: Curious. Added linux-mm list to CC to catch more attention. If you run echo 1 /proc/sys/vm/drop_caches does it evict data-1 pages from memory? I'm guessing it'd evict the entries, but am wondering if we could run any more diagnostics

Re: [patch] mm, memcg: avoid unnecessary function call when memcg is disabled

2012-11-21 Thread Michal Hocko
On Tue 20-11-12 13:49:32, Andrew Morton wrote: On Mon, 19 Nov 2012 17:44:34 -0800 (PST) David Rientjes rient...@google.com wrote: While profiling numa/core v16 with cgroup_disable=memory on the command line, I noticed mem_cgroup_count_vm_event() still showed up as high as 0.60% in

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

2012-11-21 Thread Andrew Morton
On Wed, 21 Nov 2012 09:08:52 +0100 Marek Szyprowski m.szyprow...@samsung.com wrote: Hello, On 11/20/2012 8:33 PM, Andrew Morton wrote: On Tue, 20 Nov 2012 15:31:45 +0100 Marek Szyprowski m.szyprow...@samsung.com wrote: dmapool always calls dma_alloc_coherent() with GFP_ATOMIC flag,

Lockdep complain for zram

2012-11-21 Thread Minchan Kim
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 replacing GFP_KERNEL with GFP_NOIO. But more big problem is

Re: numa/core regressions fixed - more testers wanted

2012-11-21 Thread Alex Shi
Those of you who would like to test all the latest patches are welcome to pick up latest bits at tip:master: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master I am wondering if it is a problem, but it still exists on HEAD: c418de93e39891

[PATCH v2 RESEND] Add NumaChip remote PCI support

2012-11-21 Thread Daniel J Blueman
Add NumaChip-specific PCI access mechanism via MMCONFIG cycles, but preventing access to AMD Northbridges which shouldn't respond. v2: Use PCI_DEVFN in precomputed constant limit; drop unneeded includes Signed-off-by: Daniel J Blueman dan...@numascale-asia.com ---

[PATCHv2 2/2] dw_dmac: make usage of dw_dma_slave optional

2012-11-21 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

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