Re: [PATCH] mm: mmu_notifier: fix inconsistent memory between secondary MMU and host

2012-08-21 Thread Xiao Guangrong
On 08/22/2012 12:12 PM, Hugh Dickins wrote: On Wed, 22 Aug 2012, Xiao Guangrong wrote: On 08/21/2012 11:06 PM, Andrea Arcangeli wrote: The KSM usage of it looks safe because it will only establish readonly ptes with it. Hmm, in KSM code, i found this code in replace_page:

Re: [PATCH] task_work: add a scheduling point in task_work_run()

2012-08-21 Thread Al Viro
On Wed, Aug 22, 2012 at 01:27:21PM +0800, Michael Wang wrote: And can we make sure that it is safe to sleep(schedule) at this point? It may need some totally testing to cover all the situation... task_work callback can bloody well block, so yes, it is safe. Hell, we are doing final close from

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-21 Thread Mike Galbraith
On Tue, 2012-08-21 at 17:02 +0100, Alan Cox wrote: I'd like to see actual numbers and evidence on a wide range of workloads the spread/don't spread thing is even measurable given that you've also got to factor in effects like completing faster and turning everything off. I'd *really* like to

Re: [PATCH] drivers/dma/sirf-dma.c: fix usage of devm functions

2012-08-21 Thread Barry Song
2012/8/22 Julia Lawall julia.law...@lip6.fr: On Wed, 22 Aug 2012, Barry Song wrote: 2012/8/22 Vinod Koul vinod.k...@linux.intel.com: On Sat, 2012-08-04 at 10:35 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Fix some problems with the use of devm_ functions. Applied,

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Thierry Reding
On Tue, Aug 21, 2012 at 05:57:38PM +0100, Mark Brown wrote: On Tue, Aug 21, 2012 at 12:54:20PM +0300, Tomi Valkeinen wrote: However, if we already have a generic driver for that type of panel, (which we would need anyway for the DT based approach), the developer only needs to add the name

[PATCH 0/2] OMAP: hwmod: fix hardreset handling

2012-08-21 Thread Omar Ramirez Luna
From: Omar Ramirez Luna omar.rami...@ti.com The patch to expose hwmod assert/deassert functions through omap_device has been accepted and queued for 3.7[1], however these two patches are needed to make the API functional. Hence a revised version is being sent according to previous comments: -

[PATCH 2/2] ARM: OMAP: hwmod: revise deassert sequence

2012-08-21 Thread Omar Ramirez Luna
For a reset sequence to complete cleanly, a module needs its associated clocks to be enabled, otherwise the timeout check in prcm code can print a false failure (failed to hardreset) that occurs because the clocks aren't powered ON and the status bit checked can't transition without them.

[PATCH 1/2] ARM: OMAP: hwmod: partially un-reset hwmods might not be properly enabled

2012-08-21 Thread Omar Ramirez Luna
Some IP blocks might not be using/controlling more than one reset line, this check loosens the restriction to fully use hwmod framework for those drivers. E.g.: ipu has reset lines: mmu_cache, cpu0 and cpu1. - As of now cpu1 is not used and hence (with previous check) the IP block isn't fully

RE: [PATCH 1/4] leds-lp5523: add channel name in the platform data

2012-08-21 Thread Kim, Milo
LP5523 can drive up to 9 channels. Leds can be controlled directly via -the led class control interface. Channels have generic names: +the led class control interface. +The name of each channel is configurable in the platform data. +If the name is NULL, channels have generic names:

RE: [PATCH 2/4] leds-lp5523: set the brightness to 0 forcely on removing the driver

2012-08-21 Thread Kim, Milo
Hmmm, I think we still should use cancel_work() here based on your idea. Please find the patch from Tejun and add him to this loop [PATCH 4/6] workqueue: deprecate flush[_delayed]_work_sync() --- Before this patchset, flush_work() flush the last queued instance of the work

Re: [PATCH] Input: Let the FT5x06 driver build without debugfs

2012-08-21 Thread Dmitry Torokhov
On Mon, Aug 20, 2012 at 06:53:03AM -0700, Guenter Roeck wrote: On Fri, Aug 17, 2012 at 12:21:34PM -0700, Eric W. Biederman wrote: Simon Budig simon.bu...@kernelconcepts.de writes: On 08/17/2012 02:15 AM, Eric W. Biederman wrote: When testing to make certain my user namespace code works

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-21 Thread Aneesh Kumar K.V
Pavel Emelyanov xe...@parallels.com writes: On 08/21/2012 02:42 PM, Aneesh Kumar K.V wrote: Pavel Emelyanov xe...@parallels.com writes: On 08/20/2012 11:32 PM, J. Bruce Fields wrote: On Mon, Aug 20, 2012 at 11:06:06PM +0400, Cyrill Gorcunov wrote: On Mon, Aug 20, 2012 at 02:32:25PM -0400,

Re: [git pull] drm fixes + one fbcon one

2012-08-21 Thread Dave Airlie
On Wed, Aug 22, 2012 at 2:06 PM, Dave Airlie airl...@linux.ie wrote: Hi Linus, Intel: edid fixes, power consumption fix, s/r fix, haswell fix radeon: BIOS loading fixes for UEFI and Thunderbolt machines, better MSAA validation, lockup timeout fixes, modesetting fixes one udl dpms fix, one

Re: [PATCH 2/3] spi: omap2-mcspi: Remove the macro MOD_REG_BIT

2012-08-21 Thread Shubhrajyoti
Hi Felipe, Thanks for the review On Tuesday 21 August 2012 02:35 PM, Felipe Balbi wrote: On Tue, Aug 21, 2012 at 11:47:43AM +0530, Shubhrajyoti D wrote: Remove the macro MOD_REG_BIT instead make the bit field modifications directly. This deletes a branch operation in cases where the the set

[PATCH 0/5] perf tools: Cleanup hist printing code (v4)

2012-08-21 Thread Namhyung Kim
Hi, This is a cleanup and refactoring patchset for the hist printing code by adding perf_hpp__format functions and perf_hpp. I believe it makes the code easy to maintain and to add new features like upcoming group viewing and callchain accumulation. Any comments are welcome, thanks. Namhyung

[PATCH 2/5] perf hists: Handle field separator properly

2012-08-21 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When a field separator is given, the output format doesn't need to be fancy like aligning to column length, coloring the percent value and so on. And since there's a slight difference to normal format, fix it not to break backward compatibility.

[PATCH 4/5] perf ui/browser: Use perf_hpp__format functions

2012-08-21 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Override hpp-color functions for TUI. Because line coloring is done outside of the function, it just sets the percent value and pass it. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 94

[PATCH 3/5] perf hists: Use perf_hpp__format-width to calculate the column widths

2012-08-21 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 27 +++ tools/perf/util/hist.c | 33 - 2 files changed, 27 insertions(+), 33 deletions(-) diff --git

[PATCH 5/5] perf gtk/browser: Use perf_hpp__format functions

2012-08-21 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Now we can support color using pango markup with this change. Acked-by: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/browser.c | 101 +---

[PATCH 1/5] perf hists: Introduce perf_hpp for hist period printing

2012-08-21 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current hist print functions are messy because it has to consider many of command line options and the code doing that is scattered around to places. So when someone wants to add an option to manipulate the hist output it'd very easy to miss to update all

Re: [PATCH 3/3] writeback: add dirty_ratio_time per bdi variable (NFS write performance)

2012-08-21 Thread Namjae Jeon
2012/8/20, Fengguang Wu fengguang...@intel.com: On Mon, Aug 20, 2012 at 09:48:42AM +0900, Namjae Jeon wrote: 2012/8/19, Fengguang Wu fengguang...@intel.com: On Sat, Aug 18, 2012 at 05:50:02AM -0400, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com This patch is based on

inux-next: Tree for Aug 21

2012-08-21 Thread Stephen Rothwell
Hi all, Changes since 20120820: The rr tree gained a conflict against Linus' tree. The tip tree still has its build failure so I used the version from next-20120814. The workqueues tree gained a conflict against the hid tree. The drivers-x86 tree still has its build failure so I used the

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-21 Thread Vyacheslav Dubeyko
Hi, On Sun, 2012-08-19 at 01:38 +0200, Dan Luedtke wrote: This patch introduces the Lanyard Filesystem (LanyFS), a filesystem for highly mobile and removable storage devices. Did you have any performance comparison of your file system with others? Have you any benchmark results? I think that

[PATCH 0/2] mfd: MAX77693: Fix bug

2012-08-21 Thread Chanwoo Choi
This patchset fix bug of Maxim MAX77693 chip. First patch unmask interrupt masking bit for charger/flas/muic device of Maxim MAX77693 and second patch remove NULL pointer error when mfd-max77693 driver initialize irqs of Maxim MAX77693 devices. Chanwoo Choi (2): mfd: MAX77693: Fix bug of

[RESEND PATCH 1/2] mfd: MAX77693: Fix bug of interrupt handlding for MAX77693 devices

2012-08-21 Thread Chanwoo Choi
This patch fix bug related to interrupt handling for MAX77693 devices. - Unmask interrupt masking bit for charger/flash/muic to revolve that interrupt isn't happened when external connector is attached. - Fix wrong regmap instance when muic interrupt is happened. This patch were discussed and

[PATCH 2/2] mfd: MAX77693: Fix NULL pointer error when initialize irqs of Maxim MAX77693

2012-08-21 Thread Chanwoo Choi
This patch initialize register map of MUIC device because mfd driver of Maxim MAX77693 use regmap-muic instance of MUIC device when irqs of Maxim MAX77693 is initialized before call max77693-muic probe() function. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham

[PATCH 2/3] spi: omap2-mcspi: Remove the macro MOD_REG_BIT

2012-08-21 Thread Shubhrajyoti D
Remove the macro MOD_REG_BIT instead make the bit field modifications directly. This deletes a branch operation in cases where the the set is predecided.While at it optimise two sequential bit clear in one step. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/spi/spi-omap2-mcspi.c

[PATCH 3/3] spi: omap2-mcspi: At remove dont use the runtime_autosuspend calls

2012-08-21 Thread Shubhrajyoti D
At remove we shouldnt be using the autosuspend timeout as we are calling pm_runtime_disable immediately after. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/spi/spi-omap2-mcspi.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 0/3] spi: omap2-mcspi: spi cleanups

2012-08-21 Thread Shubhrajyoti D
This patch does the following Calls the pm_runtime_* functions directly. Remove the MOD_REG_BIT macro usage thereby removiing un-needed branch. At remove dont use the autosuspend runtime calls. Shubhrajyoti D (3): spi: omap2-mcspi: Call pm_runtime_* functions directly spi: omap2-mcspi:

[PATCH 1/3] spi: omap2-mcspi: Call pm_runtime_* functions directly

2012-08-21 Thread Shubhrajyoti D
Call the pm_runtime functions directly making room for possible pm optimisations. Also the runtime functions aren't just about enabling and disabling of clocks though it does enable clocks also. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 28

[GIT PULL] pinctrl fixes for v3.6-rc series

2012-08-21 Thread Linus Walleij
Hi Linus, here are some accumulated pinctrl fixes for the v3.6 series. Details are in the tag, and all have boiled in -next for testing some days. Please pull them in! The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are

Re: [PATCH] microblaze: uartlite: avoid NULL pointer exception

2012-08-21 Thread Peter Crosthwaite
On Thu, Aug 9, 2012 at 4:44 AM, Stephan Linz l...@li-pro.net wrote: 'prop' is an pointer and can only be unset (NULL) after prop = of_get_property() when it goes wrong. Kernel oops in ulite_probe(): [1.016645] uartlite 8fff.debug: failed to get alias id, errno -19 [1.024246]

Re: root=PARTUUID for MBR/NT disk signatures?

2012-08-21 Thread Michael Tokarev
On 21.08.2012 08:47, Will Drewry wrote: [] Functionally, I suspect this will work fine, but I am concerned that it is a bad move from an efficiency perspective (not unfixable though). Right now, the user-supplied value is converted from string-uuid to packed-uuid. This is then memcmp'd

[PATCH] fbcon: fix race condition between console lock and cursor timer

2012-08-21 Thread Dave Airlie
So we've had a fair few reports of fbcon handover breakage between efi/vesafb and i915 surface recently, so I dedicated a couple of days to finding the problem. Essentially the last thing we saw was the conflicting framebuffer message and that was all. So after much tracing with direct

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-21 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: And.. Hi Ogawa. I checked other filesystem about unlink - inode issue. but I found Ext4 have same issue. Although other filesysm is having this issue, Can we think It could be only FAT issue ? (I assume this issue == orphaned inode issue). ext*

Re: [ 04/16] drm/i915: correctly order the ring init sequence

2012-08-21 Thread Daniel Vetter
On Tue, Aug 21, 2012 at 7:13 AM, Herton Ronaldo Krzesinski herton.krzesin...@canonical.com wrote: On Sun, Aug 19, 2012 at 08:56:03PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know.

[PATCH] memory hotplug: reset pgdat-kswapd to NULL if creating kernel thread fails

2012-08-21 Thread Wen Congyang
If kthread_run() fails, pgdat-kswapd contains errno. When we stop this thread, we only check whether pgdat-kswapd is NULL and access it. If it contains errno, it will cause page fault. Reset pgdat-kswapd to NULL when creating kernel thread fails can avoid this problem. Signed-off-by: Wen Congyang

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Hein Tibosch
Hi Viresh, On 8/21/2012 12:42 PM, viresh kumar wrote: I have added linux-kernel list in cc as there might be other users of this patch. Also, please try to keep spear-devel list in cc for dw_dmac as we are using this driver for SPEAr. Yes sure, I didn't want to bother the lists with the

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Hiroshi Doyu
Antti Palosaari cr...@iki.fi wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari cr...@iki.fi wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: dev_dbg_reatelimited() without DEBUG printed

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-21 Thread Peter Zijlstra
On Mon, 2012-08-20 at 15:17 -0700, Shirley Ma wrote: On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: Add/Export a new API for per-cpu thread model networking device driver to choose a preferred idlest cpu within allowed

Re: regression with poll(2)

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 09:54:59AM -0700, Sage Weil wrote: SNIP I've retested several times and confirmed that this change leads to the breakage, and also confirmed that reverting it on top of -rc1 also fixes the problem. I've also added some additional instrumentation to my

Re: [PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-08-21 Thread Gregory CLEMENT
On 08/20/2012 07:36 PM, Thomas Petazzoni wrote: Le Mon, 20 Aug 2012 18:48:32 +0200, Sebastian Hesselbarth sebastian.hesselba...@gmail.com a écrit : this is really difficult here ;) I thought I could just add PINCTRL_DOVE to MACH_DOVE inside ARCH_MVEBU, PINCTRL_KIRKWOOD to MACH_KIRKWOOD, aso.

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-21 Thread Andreas Schwab
John Stultz john.stu...@linaro.org writes: @@ -115,6 +115,7 @@ static void tk_xtime_add(struct timekeeper *tk, const struct timespec *ts) { tk-xtime_sec += ts-tv_sec; tk-xtime_nsec += (u64)ts-tv_nsec tk-shift; + tk_normalize_xtime(tk); } Yes, that does it. Failure to

[PATCHv2] fs/9p: avoid debug OOPS when reading a long symlink

2012-08-21 Thread Jim Meyering
Reading a symlink longer than the given buffer, a p9_debug use would try to print the link name (not NUL-terminated) using a %s format. Use %.*s instead, and replace the strncpy+strnlen with functionally equivalent strlen+memcpy. Signed-off-by: Jim Meyering meyer...@redhat.com --- V1 provoked a

Re: [PATCH 4/5] mempolicy: fix refcount leak in mpol_set_shared_policy()

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 07:46:09PM +, Christoph Lameter wrote: On Mon, 20 Aug 2012, Mel Gorman wrote: @@ -2318,9 +2323,7 @@ void mpol_free_shared_policy(struct shared_policy *p) while (next) { n = rb_entry(next, struct sp_node, nd); next = rb_next(n-nd);

Re: [Qemu-devel] x86, nops settings result in kernel crash

2012-08-21 Thread Michael Tokarev
On 20.08.2012 21:13, Tomas Racek wrote: [] Can we trim the old, large and now not-so-relevant discussion please? ;) I can provide you with more different traces if it can help. But I thought that maybe it will be more useful for you to try it on your own. So I've prepared some minimal debian

Question about page_size of x86_64

2012-08-21 Thread gaoqiang
I found that my machine has a feature 'page size extension=true ' with 'cpuid' command but I don't know now to use it with linux.. anyone can give some help ? -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 07:51:10PM +, Christoph Lameter wrote: On Mon, 20 Aug 2012, Mel Gorman wrote: diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 45f9825..82e872f 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -1545,15 +1545,28 @@ struct mempolicy

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Hein Tibosch
On 8/21/2012 2:35 PM, Viresh Kumar wrote: On 21 August 2012 11:42, Hein Tibosch hein_tibo...@yahoo.es mailto:hein_tibo...@yahoo.es wrote: On 8/21/2012 12:42 PM, viresh kumar wrote: A!! Firstly we can't use __raw* for architectures = ARMv6. It is not only for endianess

Re: [PATCH 0/5] Memory policy corruption fixes V2

2012-08-21 Thread Mel Gorman
On Mon, Aug 20, 2012 at 05:36:29PM +0100, Mel Gorman wrote: This is a rebase with some small changes to Kosaki's mempolicy memory corruption fixlet series. I had expected that Kosaki would have revised the series by now but it's been waiting a long time. Changelog since V1 o Rebase to

Re: [PATCH] memory hotplug: reset pgdat-kswapd to NULL if creating kernel thread fails

2012-08-21 Thread Minchan Kim
On Tue, Aug 21, 2012 at 02:31:19PM +0800, Wen Congyang wrote: If kthread_run() fails, pgdat-kswapd contains errno. When we stop this thread, we only check whether pgdat-kswapd is NULL and access it. If it contains errno, it will cause page fault. Reset pgdat-kswapd to NULL when creating kernel

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Tomi Valkeinen
Hi, On Thu, 2012-08-16 at 15:08 +0900, Alexandre Courbot wrote: +Problem +--- +One very common board-dependent code is the out-of-driver code that is used to +turn a device on or off. For instance, SoC boards very commonly use a GPIO +(abstracted to a regulator or not) to control the

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: On 21 August 2012 11:42, Hein Tibosch hein_tibo...@yahoo.es wrote: On 8/21/2012 12:42 PM, viresh kumar wrote: A!! Firstly we can't use __raw* for architectures = ARMv6. It is not only for endianess but for memory barriers. Why are they

Re: RFC: Link Time Optimization support for the kernel

2012-08-21 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: On Mon, Aug 20, 2012 at 09:48:35AM +0200, Ingo Molnar wrote: * Andi Kleen a...@firstfloor.org wrote: This rather large patchkit enables gcc Link Time Optimization (LTO) support for the kernel. With LTO gcc will do whole program

Re: [PATCH 1/3] drivers-platform-x86: remove useless #ifdef CONFIG_ACPI_VIDEO

2012-08-21 Thread joeyli
於 一,2012-08-20 於 23:01 +0200,Corentin Chary 提到: Signed-off-by: Corentin Chary corentin.ch...@gmail.com --- drivers/platform/x86/acer-wmi.c |2 -- drivers/platform/x86/apple-gmux.c |4 drivers/platform/x86/asus-wmi.c |4

[PATCH] staging: octeon: Add prevent NAPI from scheduling IN-REPLY-TO:

2012-08-21 Thread Marina Makienko
There are netif_napi_add() and napi_enable() in for_each_possible_cpu loop in function cvm_oct_rx_initialize(). So it's logical to add napi_disable() in for_each_possible_cpu loop in function cvm_oct_rx_shutdown(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by:

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-21 Thread Michal Hocko
On Fri 17-08-12 14:36:00, Glauber Costa wrote: On 08/17/2012 02:35 PM, Michal Hocko wrote: But I never said that can't happen. I said (ok, I meant) the static branches can't be disabled. Ok, then I misunderstood that because the comment was there even before static branches were

Re: [GIT PULL] scheduler fixes

2012-08-21 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Aug 20, 2012 at 2:12 AM, Ingo Molnar mi...@kernel.org wrote: Please pull the latest sched-urgent-for-linus git tree from: Ingo, *please* get into the habit of writing a short explanation for your pull request so that my merge

Re: [GIT PULL] perf fixes

2012-08-21 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: 26a4f3c08de49c1437a7b7f97693cf22d8c31656 perf/x86: disable PEBS on a guest entry.

Re: [PATCH] perf/x86: fix SNB-EP CBO and PCU uncore PMU filter management

2012-08-21 Thread Yan, Zheng
On 08/21/2012 12:22 AM, Stephane Eranian wrote: The existing code had a bug whereby it would refuse to measure two events in a group for either CBO or PCU PMUs, if one of the events was using a filter. This was due to the fact that the kernel assumed all CBO and PCU events were using filters,

Re: [GIT PULL] x86 fixes

2012-08-21 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus HEAD: 515c7af85ed92696c311c53d53cb4898ff32d784 x32: Use compat shims for {g,s}etsockopt

Re: [alsa-devel] [PATCH] snd-als100: fix suspend/resume

2012-08-21 Thread Takashi Iwai
At Mon, 20 Aug 2012 21:50:13 +0200, Ondrej Zary wrote: snd_card_als100_probe() does not set pcm field in struct snd_sb. As a result, PCM is not suspended and applications don't know that they need to resume the playback. Tested with Labway A381-F20 card (ALS120). Signed-off-by: Ondrej

Re: [alsa-devel] [PATCH] introduce snd-cmi8328: C-Media CMI8328 driver

2012-08-21 Thread Takashi Iwai
At Mon, 20 Aug 2012 22:39:51 +0200, Ondrej Zary wrote: Introduce snd-cmi8328 driver for C-Media CMI8328-based sound cards, such as AudioExcel AV500. It supports PCM playback and capture (full-duplex) through wss_lib, gameport, OPL3 and MPU401. The AV500 card has onboard Dream wavetable

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-21 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 06:49:52PM -0700, John Stultz wrote: On 08/20/2012 06:40 PM, Fengguang Wu wrote: On Mon, Aug 20, 2012 at 06:15:00PM -0700, John Stultz wrote: On 08/20/2012 06:10 PM, John Stultz wrote: On 08/20/2012 06:04 PM, Fengguang Wu wrote: Hi John, The below oops happens in

[PATCH v2 2/2] x86: reimplement mem boot option

2012-08-21 Thread Wen Congyang
Current mem boot option only can work for non efi environment. If the user specifies add_efi_memmap, it cannot work for efi environment. In the efi environment, we call e820_add_region() to add the memory map. So we can modify __e820_add_region() and the mem boot option can work for efi

[PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions

2012-08-21 Thread Chanwoo Choi
This patchset add new feature related to charging battery to complement necessary feature for charging. This patchset include following new feature for charging battery. Explain implemented feature of this patchset: - Code clean on first and second patch. - Add support sysfs entry for

[PATCH 3/5] charger-manager: Add support sysfs entry for charger

2012-08-21 Thread Chanwoo Choi
This patch add support sysfs entry for each charger(regulator). Charger-manager use one or more chargers for charging battery but some charger isn't necessary on specific scenario. So, if some charger isn't needed, can disable specific charger through 'externally_control' entry while system is on

[PATCH 5/5] charger-manager: Support limit of maximum possible duration for charging/discharging

2012-08-21 Thread Chanwoo Choi
This patch check maximum possible duration of charging/discharging. If whole charging duration exceed 'desc-charging_max_duration_ms', cm stop charging to prevent overcharge/overheat. And if discharging duration exceed, charger cable is attached, after full-batt, cm start charging to maintain

[PATCH 1/5] charger-manager: Disable battery charging when charger cable is detached

2012-08-21 Thread Chanwoo Choi
This patch disable before stop chargint forcibly when charger cable is detached and check return value of regulator_enable/disable() fucntion to confirm correct opertion of enabling/disabling charger(regulator). Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham

[PATCH 4/5] charger-manager: Check fully charged state of battery periodically

2012-08-21 Thread Chanwoo Choi
This patch check periodically fully charged state of battery to protect overcharge and overheat. If battery is fully charged, stop charging and check droped voltage with 'fullbatt_vchkdrop_ms' period. When voltage of battery is more droped than 'fullbatt_vchkdrop_uV' voltage, charger-manager will

[PATCH 2/5] charger-manager: Use replacement variable to check state of battery

2012-08-21 Thread Chanwoo Choi
This patch remove unnecessary variable(cm-fullbatt_vchk_uV) by using 'desc-fullbatt_uV' field directly in fullbatt_handler() function to check the state of battery. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Myungjoo Ham myungjoo@samsung.com Signed-off-by: Kyungmin Park

Re: [PATCH 3/7] perf hists: Introduce hist_period_print functions

2012-08-21 Thread Namhyung Kim
On Mon, 20 Aug 2012 10:08:26 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 20, 2012 at 01:52:07PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com Current hist print functions are messy. Refactor them using the hpp Why? I'm not saying they aren't, just curious

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Antti Palosaari
Hello Hiroshi, On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: Antti Palosaari cr...@iki.fi wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari cr...@iki.fi wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu

RE: [RFC 0/2] USB gadget - configfs

2012-08-21 Thread Andrzej Pietrasiewicz
Hello Sebastian, On Monday, August 20, 2012 1:01 PM Sebastian Andrzej Siewior wrote snip That would be something like $ ln -s /cfg/usb-function-gadget/G1 \ /cfg/usb-function-gadget/udcs/udc1/ Where we bind the complete gadget (G1) including the mass storage configuration

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Alex Courbot
Hi Tomi, On Tuesday 21 August 2012 15:44:29 Tomi Valkeinen wrote: +Problem +--- +One very common board-dependent code is the out-of-driver code that is used to +turn a device on or off. For instance, SoC boards very commonly use a GPIO +(abstracted to a regulator or not) to control

Re: [PATCH v2 10/11] memcg: allow a memcg with kmem charges to be destructed.

2012-08-21 Thread Michal Hocko
On Thu 09-08-12 17:01:18, Glauber Costa wrote: Because the ultimate goal of the kmem tracking in memcg is to track slab pages as well, we can't guarantee that we'll always be able to point a page to a particular process, and migrate the charges along with it - since in the common case, a page

[PATCH v1] virtio-scsi: get and set the queue limits for sg device

2012-08-21 Thread Cong Meng
Each virtio scsi HBA has global request queue limits. But the passthrough LUNs (scsi-generic) come from different host HBAs may have different request queue limits. If the guest sends commands that exceed the host limits, the commands will be rejected by host HAB. This patch addresses this issue

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: Is AVR32 a big-endian system? Probably big-endian, that's why values are getting swapped. And dw_dmac is the standard one, can call it little endian for the time being. @Arnd: What should we do here? Yes, AVR32 is big-endian. I

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Thierry Reding
On Tue, Aug 21, 2012 at 05:22:12PM +0900, Alex Courbot wrote: Hi Tomi, On Tuesday 21 August 2012 15:44:29 Tomi Valkeinen wrote: +Problem +--- +One very common board-dependent code is the out-of-driver code that is used to +turn a device on or off. For instance, SoC boards very

Re: [PATCH v2 09/11] memcg: propagate kmem limiting information to children

2012-08-21 Thread Michal Hocko
On Tue 21-08-12 09:54:30, Michal Hocko wrote: E.g. how do you handle charges you left behind? Say you charged some pages for stack? I got to the last patch and see how you do it. You are relying on free_accounted_pages directly which doesn't check kmem_accounted and uses PageUsed bit instead.

Re: [PATCH] i2c-i801: Add device tree support

2012-08-21 Thread Wolfram Sang
On Wed, Aug 08, 2012 at 09:06:47AM +0200, Thierry Reding wrote: This commit adds support for probing slave devices parsed from the device tree. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Acked-by: Wolfram Sang w.s...@pengutronix.de Jean, this one is for you, I guess?

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: On 21 August 2012 13:02, Hein Tibosch hein_tibo...@yahoo.es wrote: On 8/21/2012 2:35 PM, Viresh Kumar wrote: It got swapped as 0xAABB.CCDD = 0xCCDD.AABB @Arnd: How do we explain this? shouldn't it be DD CC BB AA?? Yes, this is very

[PATCH] staging: rtl8187se: using random_ether_addr() to generate random MAC

2012-08-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using random_ether_addr() to generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem.

[PATCH] staging: rtl8192e: using random_ether_addr() to generate random MAC

2012-08-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using random_ether_addr() to generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem.

[PATCH] Staging: rtl8192u: using random_ether_addr() to generate random MAC

2012-08-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Using random_ether_addr() to generate a random Ethernet address (MAC) that is not multicast and has the local assigned bit set. Not need to duplicating its implementation. spatch with a semantic match is used to found this problem.

Re: [PATCH 17/19] x86, msi: Introduce x86_msi.compose_msi_msg call-back

2012-08-21 Thread Joerg Roedel
On Mon, Aug 20, 2012 at 10:08:44AM -0400, Konrad Rzeszutek Wilk wrote: On Mon, Aug 20, 2012 at 03:56:03PM +0200, Joerg Roedel wrote: This call-back points to the right function for initializing the msi_msg structure. What is the 'hpet_id' purpose in this? The VT-d implementation uses it.

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: On 21 August 2012 14:04, Arnd Bergmann arnd.bergm...@linaro.org wrote: Yes, this is very strange. Maybe the compiler already splits the access into two 16-byte loads and that confuses the device? @Arnd: Is compiler allowed to do that even when

[PATCH] scripts/coccinelle: ptr_ret: Add ternary operator version

2012-08-21 Thread Lars-Peter Clausen
Add a ternary operator version of the open-coded PTR_RET(). Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- scripts/coccinelle/api/ptr_ret.cocci | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/scripts/coccinelle/api/ptr_ret.cocci

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Alex Courbot
On Tuesday 21 August 2012 16:33:30 Thierry Reding wrote: I suppose power sequences aren't needed if you have a specific driver for every panel out there. However that also means that you'd have to write drivers for literally every panel that requires support. In the end this will just result

Re: [PATCH v1] virtio-scsi: get and set the queue limits for sg device

2012-08-21 Thread Stefan Hajnoczi
On Tue, Aug 21, 2012 at 9:26 AM, Cong Meng m...@linux.vnet.ibm.com wrote: Each virtio scsi HBA has global request queue limits. But the passthrough LUNs (scsi-generic) come from different host HBAs may have different request queue limits. If the guest sends commands that exceed the host limits,

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-21 Thread Lee Jones
If they don't have linear domains there's no point, if they support DT then they can use it as it is. All this stuff just works for any IRQ domain type, there's no requirement for a particular one. It's not urgently exciting for legacy domains but it's not harmful either and pushes all

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-21 Thread Tomi Valkeinen
On Tue, 2012-08-21 at 10:33 +0200, Thierry Reding wrote: I suppose power sequences aren't needed if you have a specific driver for every panel out there. However that also means that you'd have to write drivers for literally every panel that requires support. In the end this will just result

[PATCH 1/4] leds-lp5523: add channel name in the platform data

2012-08-21 Thread Kim, Milo
The name of each led channel is configurable. If the name is NULL, just use the channel id for making the channel name Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- Documentation/leds/leds-lp5523.txt |7 +-- drivers/leds/leds-lp5523.c | 10 +++---

Re: [PATCH v2 23/31] arm64: Debugging support

2012-08-21 Thread Will Deacon
On Mon, Aug 20, 2012 at 09:10:59PM +0100, Arnd Bergmann wrote: On Monday 20 August 2012, Will Deacon wrote: On Mon, Aug 20, 2012 at 10:07:54AM +0100, Will Deacon wrote: On Fri, Aug 17, 2012 at 08:06:07AM +0100, Arnd Bergmann wrote: Sorry for the dumb question, but why do you even need

[PATCH 2/4] leds-lp5523: set the brightness to 0 forcely on removing the driver

2012-08-21 Thread Kim, Milo
Turning off the brightness of each channel is required when removing the driver. So use flush_work_sync() rather than cancel_work_sync() to wait for unhandled brightness works. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/leds/leds-lp5523.c |4 ++-- 1 files changed, 2

[PATCH 3/4] leds-lp5523: change the return type of lp5523_set_mode()

2012-08-21 Thread Kim, Milo
The return value of this function is not handled any place, so make it as void type. And three if-statements are replaced with switch-statements. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 24 +--- 1 files changed, 13 insertions(+),

[PATCH 4/4] leds-lp5523: minor code style fixes

2012-08-21 Thread Kim, Milo
(a) use LP5523_ENABLE rather than magic number 0x40 (b) use min_t() in lp5523_mux_parse() (c) skip while loop and just return if invalid command Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/leds/leds-lp5523.c | 15 +++ 1 files changed, 7 insertions(+), 8

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-21 Thread Arnd Bergmann
On Tuesday 21 August 2012, Viresh Kumar wrote: On 21 August 2012 14:17, Arnd Bergmann arnd.bergm...@linaro.org wrote: On Tuesday 21 August 2012, Viresh Kumar wrote: On 21 August 2012 14:04, Arnd Bergmann arnd.bergm...@linaro.org wrote: Yes, this is very strange. Maybe the compiler

Re: [Cocci] [PATCH] scripts/coccinelle: ptr_ret: Add ternary operator version

2012-08-21 Thread Julia Lawall
On Tue, 21 Aug 2012, Lars-Peter Clausen wrote: Add a ternary operator version of the open-coded PTR_RET(). Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- scripts/coccinelle/api/ptr_ret.cocci | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-)

Re: [PATCH 1/3] spi: omap2-mcspi: Call pm_runtime_* functions directly

2012-08-21 Thread Felipe Balbi
On Tue, Aug 21, 2012 at 11:47:42AM +0530, Shubhrajyoti D wrote: Call the pm_runtime functions directly making room for possible pm optimisations. Also the runtime functions aren't just about enabling and disabling of clocks though it does enable clocks also. Signed-off-by: Shubhrajyoti D

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