Re: [PATCH 04/14] perf diff: Remove displacement from struct hist_entry_diff

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:39 +0100, Jiri Olsa wrote: > Removing displacement from struct hist_entry_diff, because > it's not used. Displacement is not used for sorting, so > there's no reason to pre-calculate it. > > Signed-off-by: Jiri Olsa > Cc: Arnaldo Carvalho de Melo > Cc: Peter Zijlstra >

[PATCH 01/11] platform-drivers-x86: change my mail

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- MAINTAINERS|4 ++-- drivers/platform/x86/asus-nb-wmi.c |2 +- drivers/platform/x86/asus-wmi.c|2 +- drivers/platform/x86/eeepc-wmi.c |2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/

[PATCH 02/11] asus-laptop: map some new keys

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |3 +++ drivers/platform/x86/asus-nb-wmi.c |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 4b568df..68257ed 100644 --- a

[PATCH 04/11] asus-laptop: correct a touchpad hotkey mapping

2012-11-29 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers

[PATCH 05/11] asus-laptop: add all video switch keys

2012-11-29 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 26 +++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c

[PATCH 06/11] asus-nb-wmi: correct a touchpad hotkey mapping

2012-11-29 Thread Corentin Chary
From: AceLan Kao 0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers

[PATCH 07/11] asus-nb-wmi: add all video switch keys

2012-11-29 Thread Corentin Chary
From: AceLan Kao Fill up all the video switch keys in the map. Signed-off-by: AceLan Kao Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/dr

[PATCH 10/11] asus-wmi: always report brightness key events

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-nb-wmi.c |2 ++ drivers/platform/x86/asus-wmi.c|8 drivers/platform/x86/asus-wmi.h|2 ++ drivers/platform/x86/eeepc-wmi.c |2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/p

[PATCH 11/11] asus-laptop: always report brightness key events

2012-11-29 Thread Corentin Chary
Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 24 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 0fc4e30..a8a7755 100644 --- a/drivers/platform/x86/a

[PATCH 09/11] asus-laptop: Do not call HWRS on init

2012-11-29 Thread Corentin Chary
From: Ben Hutchings Since commit 8871e99f89b7 ('asus-laptop: HRWS/HWRS typo'), module initialisation is very slow on the Asus UL30A. The HWRS method takes about 12 seconds to run, and subsequent initialisation also seems to be delayed. Since we don't really need the result, don't bother calling

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-29 Thread Terje Bergström
On 28.11.2012 20:46, Lucas Stach wrote: > Am Mittwoch, den 28.11.2012, 18:23 +0200 schrieb Terje Bergström: >> Sorry. I promised in another thread a write-up explaining the design. I >> still owe you guys that. > That would be really nice to have. I'm also particularly interested in > how you plan

[PATCH 08/11] asus-wmi: add display toggle quirk

2012-11-29 Thread Corentin Chary
From: AceLan Kao For machines with AMD graphic chips, it will send out WMI event and ACPI interrupt at the same time while hitting the hotkey. BIOS will notify the system the next display output mode throught WMI event code, so that windows' application can show an OSD to tell the user which mode

[PATCH 03/11] asus-{nb-wmi|laptop}.c: sync keymaps

2012-11-29 Thread Corentin Chary
Maybe this should be shared in another module... Signed-off-by: Corentin Chary --- drivers/platform/x86/asus-laptop.c | 36 ++-- drivers/platform/x86/asus-nb-wmi.c | 24 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/

Re: [PATCH] MAINTAINERS: TTY - Add linux-serial mailing list

2012-11-29 Thread Jiri Slaby
On 11/29/2012 07:14 AM, Joe Perches wrote: > Signed-off-by: Joe Perches > --- > MAINTAINERS |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index afc0b27..255dafb 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7658,6 +7658,7 @@ K:

Re: [RFC][PATCH 2/2] fix kvm's use of __pa() on percpu areas

2012-11-29 Thread Gleb Natapov
On Thu, Nov 29, 2012 at 09:47:30AM +0200, Gleb Natapov wrote: > On Thu, Nov 29, 2012 at 12:53:56AM +, Dave Hansen wrote: > > > > In short, it is illegal to call __pa() on an address holding > > a percpu variable. The times when this actually matters are > > pretty obscure (certain 32-bit NUMA

[GIT PULL] remoteproc: a single fix for 3.7

2012-11-29 Thread Ohad Ben-Cohen
Hi Linus, The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556: Linux 3.7-rc2 (2012-10-20 12:11:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git tags/rproc-3.7-fix for you to fetch changes up to dab55

Re: [PATCH v6] posix timers: allocate timer id per process

2012-11-29 Thread Stanislav Kinsbursky
Hello. I would like to know the status of this patch. Is it going to be commited? 24.10.2012 15:45, Stanislav Kinsbursky пишет: This patch is required CRIU project (www.criu.org). To migrate processes with posix timers we have to make sure, that we can restore posix timer with proper id. Current

[PATCH 1/8] srcu: simplify __srcu_read_unlock() via this_cpu_dec()

2012-11-29 Thread Lai Jiangshan
this_cpu_dec() can do the same thing and sometimes it is better. (avoid preempt_disable() and use more tiny instructions) Signed-off-by: Lai Jiangshan --- kernel/srcu.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/kernel/srcu.c b/kernel/srcu.c index b363b09..b2e4f3

[PATCH 7/8] srcu: update the comments of synchronize_srcu_expedited()

2012-11-29 Thread Lai Jiangshan
The new synchronize_srcu_expedited() does not use synchronize_rcu_sched_expedited(), it removed such lock dependence. This patch only removes this small piece of the comments: "it is illegal to call this function while holding any lock that is acquired by a CPU-hotplug notifier" Signed-off-by: L

[PATCH 8/8] srcu: use ACCESS_ONCE() to access sp->completed in srcu_read_lock()

2012-11-29 Thread Lai Jiangshan
Old srcu implement requires sp->completed is loaded in RCU-sched(preempt_disable()) section. The new srcu is now not RCU-sched based, it doesn't require the load of sp->completed and the access to counter must be in the same RCU-sched read site C.S., so we use ACCESS_ONCE() instead, and move it ou

[PATCH 6/8] srcu: update the comments of synchronize_srcu()

2012-11-29 Thread Lai Jiangshan
The core of srcu is changed, but the comments of synchronize_srcu() describe the old algorithm. Update it to match the new algorithm. Signed-off-by: Lai Jiangshan --- kernel/srcu.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/kernel/srcu.c b/kernel/srcu.c ind

[PATCH 4/8] srcu: srcu_read_lock() can be called from offline cpu

2012-11-29 Thread Lai Jiangshan
SRCU is based on its own statemachine and it doesn't relies on normal RCU now, its read critical section can be used in offline cpu, so we remove the check and the comments. It partially reverts c0d6d01b(the part for SRCU). It also makes the codes match the comments in whatisRCU.txt: g. Do

Re: [RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-29 Thread Thierry Reding
On Mon, Nov 26, 2012 at 03:19:08PM +0200, Terje Bergstrom wrote: [...] > diff --git a/drivers/video/tegra/host/chip_support.h > b/drivers/video/tegra/host/chip_support.h [...] > +struct nvhost_intr_ops { > + void (*init_host_sync)(struct nvhost_intr *); > + void (*set_host_clocks_per_usec)

Re: [PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-29 Thread Nitin Gupta
On 11/28/2012 11:55 PM, Minchan Kim wrote: Hi Nitin, On Wed, Nov 28, 2012 at 11:45:06PM -0800, Nitin Gupta wrote: Changelog v2 vs v1: - Changelog message now correctly explains the problem Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of incompressible pages") which caused

[PATCH 0/8] srcu: cleanup for 3.8

2012-11-29 Thread Lai Jiangshan
Hi, Paul These are tiny cleanups for srcu. PATCH 4~8 make the code or the comments match the new SRCU. Thanks, Lai Lai Jiangshan (8): srcu: simplify __srcu_read_unlock() via this_cpu_dec() srcu: add might_sleep() annotation to synchronize_srcu() srcu: simple cleanup for cleanup_srcu_struc

[PATCH 2/8] srcu: add might_sleep() annotation to synchronize_srcu()

2012-11-29 Thread Lai Jiangshan
synchronize_srcu() can sleep but it will not sleep if the fast path succeeds. This annotation will helps us to catch the problem early if it is called in a wrong contex which can't sleep. Signed-off-by: Lai Jiangshan --- kernel/srcu.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) d

[PATCH 5/8] srcu: srcu_read_lock() can be called from idle loop

2012-11-29 Thread Lai Jiangshan
SRCU is based on its own statemachine and it doesn't relies on normal RCU now, its read critical section can be used in idle loop, so we remove the check and the comments. It partially reverts ff195cb6(the part for SRCU). It also makes the codes match the comments in whatisRCU.txt: g. Do yo

[PATCH 3/8] srcu: simple cleanup for cleanup_srcu_struct()

2012-11-29 Thread Lai Jiangshan
Pack 6 lines of code into 2 lines. Signed-off-by: Lai Jiangshan --- kernel/srcu.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/srcu.c b/kernel/srcu.c index 48d0edb..ac08970 100644 --- a/kernel/srcu.c +++ b/kernel/srcu.c @@ -278,12 +278,8 @@ static int sr

Re: [PATCH v2] zram: Fix use-after-free bug in disk write case

2012-11-29 Thread Minchan Kim
On Thu, Nov 29, 2012 at 12:44:14AM -0800, Nitin Gupta wrote: > On 11/28/2012 11:55 PM, Minchan Kim wrote: > >Hi Nitin, > > > >On Wed, Nov 28, 2012 at 11:45:06PM -0800, Nitin Gupta wrote: > >>Changelog v2 vs v1: > >> - Changelog message now correctly explains the problem > >> > >>Fixes a bug introd

[PATCH 1/2] mfd: tps65910: remove unused data

2012-11-29 Thread Kim, Milo
The 'io_mutex' is not used anywhere. The regmap API supports the mutex internally, so no additional mutex required. And 'domain' private data is unnecessary because the irq domain is already registered by using regmap_add_irq_chip(). Signed-off-by: Milo(Woogyom) Kim --- drivers/mfd/tps65910

[PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-29 Thread Kim, Milo
Enabling RTC HW block depends on the default value of TPS65910 register. In some mode, RTC block is disabled by default.(eg. AM3517 Craneboard) In this case, RTC_PWDN(RTC power down) bit should be cleared to enable the RTC HW block. This patch also works in case that RTC block is active by de

RE: Supermicro X9SRL-F - channel enumeration error & ACPI/firmware bug question

2012-11-29 Thread Justin Piszcz
-Original Message- From: Robert Hancock [mailto:hancock...@gmail.com] Sent: Wednesday, November 28, 2012 7:55 PM To: Justin Piszcz Cc: Bjorn Helgaas; Bruno Prémont; supp...@supermicro.com; linux-kernel@vger.kernel.org; Dan Williams Subject: Re: Supermicro X9SRL-F - channel enumeration er

Re: Acpi deadlocks with 3.7.0-rc4

2012-11-29 Thread Zdenek Kabelac
Dne 28.11.2012 21:31, Rafael J. Wysocki napsal(a): On Wednesday, November 28, 2012 06:27:50 PM Zdenek Kabelac wrote: Dne 28.11.2012 18:02, Linus Torvalds napsal(a): On Wed, Nov 28, 2012 at 8:21 AM, Zdenek Kabelac wrote: I've opened https://bugzilla.kernel.org/show_bug.cgi?id=51071 and attac

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Li Zhong
On Tue, 2012-11-27 at 19:33 +0100, Frederic Weisbecker wrote: [] > - > - WARN_ON_ONCE(!current->mm); > - > - local_irq_save(flags); > - rdtp = &__get_cpu_var(rcu_dynticks); > - if (!rdtp->ignore_user_qs && !rdtp->in_user) { > - rdtp->in_user = true; > - r

RE: [PATCH 2/2] rtc-tps65910: enable RTC power domain on initialization

2012-11-29 Thread Venu Byravarasu
> -Original Message- > From: Kim, Milo [mailto:milo@ti.com] > Sent: Thursday, November 29, 2012 2:18 PM > To: Andrew Morton > Cc: Samuel Ortiz; a.zu...@towertech.it; swar...@wwwdotorg.org; Venu > Byravarasu; Sivaram Nair; linux-kernel@vger.kernel.org > Subject: [PATCH 2/2] rtc-tps65910:

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-29 Thread Lucas Stach
Am Donnerstag, den 29.11.2012, 10:17 +0200 schrieb Terje Bergström: > On 28.11.2012 20:46, Lucas Stach wrote: > > Am Mittwoch, den 28.11.2012, 18:23 +0200 schrieb Terje Bergström: > >> Sorry. I promised in another thread a write-up explaining the design. I > >> still owe you guys that. > > That wou

Re: [PATCH 1/2] zsmalloc: add function to query object size

2012-11-29 Thread Nitin Gupta
On 11/28/2012 11:45 PM, Minchan Kim wrote: On Mon, Nov 26, 2012 at 11:26:40PM -0800, Nitin Gupta wrote: Adds zs_get_object_size(handle) which provides the size of the given object. This is useful since the user (zram etc.) now do not have to maintain object sizes separately, saving on some metad

Re: [RFC,v2,1/8] video: tegra: Add nvhost driver

2012-11-29 Thread Mark Zhang
On 11/26/2012 09:19 PM, Terje Bergström wrote: > Add nvhost, the driver for host1x. This patch adds support for reading and > incrementing sync points and dynamic power management. > > Signed-off-by: Terje Bergstrom > > --- > drivers/video/Kconfig |2 + > driver

Re: [PATCH 8/8] x86, cleanups: Simplify sync_core() in the case of no CPUID

2012-11-29 Thread Borislav Petkov
On Wed, Nov 28, 2012 at 04:14:43PM -0800, H. Peter Anvin wrote: > Wrong barrier semantics. Let me try to understand what you mean by that :) Now, your version's asm output looks like this: .loc 2 95 0 movl$139, %esi #, tmp140 xorl%eax, %eax # tmp141

RE: [PATCH] rtc-tps65910: fix invalid pointer access on _remove()

2012-11-29 Thread Venu Byravarasu
> -Original Message- > From: Kim, Milo [mailto:milo@ti.com] > Sent: Thursday, November 29, 2012 7:36 AM > To: Andrew Morton > Cc: a.zu...@towertech.it; swar...@wwwdotorg.org; Venu Byravarasu; > Sivaram Nair; linux-kernel@vger.kernel.org > Subject: [PATCH] rtc-tps65910: fix invalid point

[PATCH v3] zram: fix invalid memory references during disk write

2012-11-29 Thread Nitin Gupta
Changelog v3 vs v2: - Further changes to changelog message to explain the bug case of incorrect use of kunmapped buffer Changelog v2 vs v1: - Changelog message now correctly explains the problem Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of incompressible pages") which cause

Re: [PATCH V4 Resend 1/3] mfd: stmpe: Get rid of irq_invert_polarity

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, Viresh Kumar wrote: > Since the very first patch, stmpe core driver is using irq_invert_polarity as > part of platform data. But, nobody is actually using it in kernel till now. > > Also, this is not something part of hardware specs, but is included to cater > some board mist

Re: [PATCH, resend] kfifo: initialize fifo accordingly to C99 standard

2012-11-29 Thread Andy Shevchenko
On Thu, Nov 29, 2012 at 1:56 AM, Andrew Morton wrote: > On Wed, 21 Nov 2012 16:31:11 +0200 > Andy Shevchenko wrote: > >> When build a kernel with "make W=1" we will get a warning about missing >> initializer. It comes from kfifo usage style. The DEFINE_KFIFO macro doesn't >> initialize the buf[]

Re: [PATCH V4 Resend 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, Viresh Kumar wrote: > From: Vipul Kumar Samar > > This patch extends existing DT support for stmpe devices. This updates: > - DT support from stmpe SPI and I2C drivers > - missing header files in stmpe.c > - stmpe_of_probe() with pwm, rotator and new bindings. > - Bindings a

Re: [PATCH V4 Resend 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, Lee Jones wrote: > On Thu, 29 Nov 2012, Viresh Kumar wrote: > > > From: Vipul Kumar Samar > > > > This patch extends existing DT support for stmpe devices. This updates: > > - DT support from stmpe SPI and I2C drivers > > - missing header files in stmpe.c > > - stmpe_of_pro

Re: [BUG] NULL pointer dereference in 3.7-rc7 (syscall_trace_enter)

2012-11-29 Thread Borislav Petkov
On Thu, Nov 29, 2012 at 12:20:02AM +0100, Ian Kumlien wrote: > Hi, > > Due to unexplained dns problems, I'll be using google plus to post the > photo of the bug output. > > https://plus.google.com/photos/110698868656495230656/albums/5816005854482735041 > > I'm sorry but my knowledge is limited

Re: [PATCH V4 Resend 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-29 Thread Viresh Kumar
On 29 November 2012 14:53, Lee Jones wrote: >> From: Vipul Kumar Samar >> + /* >> + * Distinct names of same cell-type within multiple instances of stmpe >> + * will be guaranteed by DT. >> + */ >> + pdata->id = -1; > > And what if we're not booting with DT? Then it is res

Re: [PATCH V4 Resend 2/3] mfd: stmpe: Remove irq_trigger from platform data

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, Viresh Kumar wrote: > STMPE can confige configure? > the way the device emits interrupts and till now this until? > information is passed as part of platform data. > > It would actually be good to ask the interrupt con

Re: [PATCH V3 RFC 0/2] kvm: Improving undercommit scenarios

2012-11-29 Thread Raghavendra K T
On 11/29/2012 07:37 AM, Chegu Vinod wrote: On 11/26/2012 4:07 AM, Raghavendra K T wrote: In some special scenarios like #vcpu <= #pcpu, PLE handler may prove very costly, because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. The first patch optimizes all t

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 06:15:42 PM Toshi Kani wrote: > On Wed, 2012-11-28 at 18:02 -0700, Toshi Kani wrote: > > On Thu, 2012-11-29 at 00:49 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, November 28, 2012 02:02:48 PM Toshi Kani wrote: > > > > > > > > > > > Consider the following case:

[PATCH] ext4: remove some unused code lines

2012-11-29 Thread zwu . kernel
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- fs/ext4/extents.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 7011ac9..43ec639 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c @@ -2156,7 +2156,6 @@ ext4_ext_in_cach

Re: [RFC,v2,3/8] video: tegra: host: Add channel and client support

2012-11-29 Thread Mark Zhang
On 11/26/2012 09:19 PM, Terje Bergström wrote: > Add support for host1x client modules, and host1x channels to submit > work to the clients. The work is submitted in dmabuf buffers, so add > support for dmabuf memory management, too. [...] > diff --git a/drivers/video/tegra/host/bus_client.c > b/

Re: [PATCH V4 Resend 2/3] mfd: stmpe: Remove irq_trigger from platform data

2012-11-29 Thread Viresh Kumar
On 29 November 2012 15:04, Lee Jones wrote: > On Thu, 29 Nov 2012, Viresh Kumar wrote: > >> STMPE can confige > > configure? > >> the way the device emits interrupts and till now this > > until? Ahh... Will fix them. This happens when you send

Re: [RFC v2 3/8] video: tegra: host: Add channel and client support

2012-11-29 Thread Thierry Reding
On Mon, Nov 26, 2012 at 03:19:09PM +0200, Terje Bergstrom wrote: I've skipped a lot of code here that I need more time to review. [...] > diff --git a/drivers/video/tegra/host/nvhost_intr.c > b/drivers/video/tegra/host/nvhost_intr.c [...] > +static void action_submit_complete(struct nvhost_waitl

Re: Acpi deadlocks with 3.7.0-rc4

2012-11-29 Thread Rafael J. Wysocki
On Thursday, November 29, 2012 10:03:53 AM Zdenek Kabelac wrote: > Dne 28.11.2012 21:31, Rafael J. Wysocki napsal(a): > > On Wednesday, November 28, 2012 06:27:50 PM Zdenek Kabelac wrote: > >> Dne 28.11.2012 18:02, Linus Torvalds napsal(a): > >>> On Wed, Nov 28, 2012 at 8:21 AM, Zdenek Kabelac >

[git pull] drm fixes

2012-11-29 Thread Dave Airlie
Hi Linus just driver fixes, nothing major, except maybe ilk rc6 disable. intel: revert ironlake rc6 - we still have one ilk regression, but this gets rid of one big one, turn off cloning, and a directed fix for Apple edp radeon: one modesetting fix exynos: minor fixes Dave. The following cha

Re: drivres/hv

2012-11-29 Thread Alan Cox
> All I know is that it is present and its size is known. If I have a way of > knowing > what range of mmio memory is unclaimed; I could grab that perhaps using > the request_mem_region() call, I know the size that is reserved for this > device. > So, is there a way to query the system for the fi

Re: [PATCH 3/3] Input: bu21013_ts - Add support for Device Tree booting

2012-11-29 Thread Lee Jones
On Wed, 28 Nov 2012, Mark Brown wrote: > On Wed, Nov 28, 2012 at 08:57:31AM +, Lee Jones wrote: > > > > I applied these 3 patches, but for DT we also need to specify compatible > > > ID and set up of_match_table pointer. > > > Why do you need a compatible string? > > The I2C subsystem gues

[PULL] last drm-intel-next for 3.8

2012-11-29 Thread Daniel Vetter
Hi Dave, Besides the big item of lifting the "preliminary hw support" tag from the Haswell code, just small bits&pieces all over: - Leftover Haswell patches and some fixes from Paulo - LyncPoint PCH support (for hsw) - OOM handling improvements from Chris Wilson - connector property and send_vblan

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-11-29 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 11:41:36 AM Toshi Kani wrote: > On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: > > On 2012/11/24 1:50, Vasilis Liaskovitis wrote: > > > As discussed in https://patchwork.kernel.org/patch/1581581/ > > > the driver core remove function needs to always succeed. Th

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-29 Thread Laurent Pinchart
On Wednesday 28 November 2012 16:12:00 Prabhakar Lad wrote: > From: Manjunath Hadli For staging, and provided that all parties involved understand that an API compatibility layer with the existing drivers/media/platform/davinci/ driver (called the "existing driver") will need to be provided whe

Re: Acpi deadlocks with 3.7.0-rc4

2012-11-29 Thread Zdenek Kabelac
Dne 28.11.2012 20:07, Linus Torvalds napsal(a): whole "prefix_node" pointer is bogus. It seems to have the value 0x1000. Tested also this patch with this result: https://bugzilla.kernel.org/show_bug.cgi?id=51071#c8 So while it's made it pass suspend/resume, it's not really usable as docking t

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-11-29 Thread Jason Wang
On Wednesday, November 28, 2012 08:53:05 AM Stephen Hemminger wrote: > On Wed, 28 Nov 2012 14:48:52 +0800 > > Jason Wang wrote: > > On 11/28/2012 12:49 AM, Stephen Hemminger wrote: > > > On Tue, 27 Nov 2012 14:45:13 +0800 > > > > > > Jason Wang wrote: > > >> On 11/27/2012 01:37 AM, Stephen Hemm

Re: Interrupt handling - Linux

2012-11-29 Thread anish kumar
On Wed, 2012-11-28 at 20:10 +0530, manty kuma wrote: > In linux interrupt programming, we do request_irq(...) in this > function, the first argument is irq number. If i am not wrong, this is > the interrupt line that we are requesting from kernel. For one Right. > particular hardware, is this IRQ

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-29 Thread Terje Bergström
On 28.11.2012 23:23, Thierry Reding wrote: > This could be problematic. Since drivers/video and drivers/gpu/drm are > separate trees, this would entail a continuous burden on keeping both > trees synchronized. While I realize that eventually it might be better > to put the host1x driver in a separa

Re: [PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices(was: How to specify IOMMU'able devices in DT)

2012-11-29 Thread Thierry Reding
On Wed, Nov 28, 2012 at 02:48:32PM +0100, Hiroshi Doyu wrote: [...] > From: Hiroshi Doyu > Date: Wed, 28 Nov 2012 14:47:04 +0200 > Subject: [PATCH 1/1] ARM: tegra: bus_notifier registers IOMMU devices > > platform_bus notifier registers IOMMU devices if dma-window is > specified. > > Its format

Re: [PULL] last drm-intel-next for 3.8

2012-11-29 Thread Daniel Vetter
On Thu, Nov 29, 2012 at 11:12:00AM +0100, Daniel Vetter wrote: > Besides the big item of lifting the "preliminary hw support" tag from the > Haswell code, just small bits&pieces all over: > - Leftover Haswell patches and some fixes from Paulo > - LyncPoint PCH support (for hsw) > - OOM handling imp

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-11-29 Thread Russell King - ARM Linux
On Wed, Nov 28, 2012 at 09:21:07PM -0500, Chao Xie wrote: > The original sa1100_rtc_open/sa1100_rtc_release will be called > when the /dev/rtc0 is opened or closed. > In fact, these two functions will enable/disable the clock, and > register/unregister the irqs. > User application will use /dev/rtc

Re: [PATCH 4/4] rtc: pxa: request rtc irqs when probe/remove the device

2012-11-29 Thread Russell King - ARM Linux
On Wed, Nov 28, 2012 at 09:21:10PM -0500, Chao Xie wrote: > The original pxa_rtc_open/pxa_rtc_release will be called > when the /dev/rtc0 is opened or closed. > In fact, these two functions will register/unregister the irqs. > User application will use /dev/rtc0 to read the rtc time or set > the al

Re: [PATCH 17/19] drivers: convert shrinkers to new count/scan API

2012-11-29 Thread Glauber Costa
On 11/29/2012 01:28 AM, Dave Chinner wrote: > On Wed, Nov 28, 2012 at 12:21:54PM +0400, Glauber Costa wrote: >> On 11/28/2012 07:17 AM, Dave Chinner wrote: >>> On Wed, Nov 28, 2012 at 01:13:11AM +, Chris Wilson wrote: On Wed, 28 Nov 2012 10:14:44 +1100, Dave Chinner wrote: > +/*

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Frederic Weisbecker
2012/11/29 Li Zhong : > On Tue, 2012-11-27 at 19:33 +0100, Frederic Weisbecker wrote: > [] >> - >> - WARN_ON_ONCE(!current->mm); >> - >> - local_irq_save(flags); >> - rdtp = &__get_cpu_var(rcu_dynticks); >> - if (!rdtp->ignore_user_qs && !rdtp->in_user) { >> - rdtp->

Re: [RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-29 Thread Terje Bergström
On 29.11.2012 10:44, Thierry Reding wrote: >> diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c >> index 98c9c9f..025a820 100644 >> --- a/drivers/video/tegra/host/dev.c >> +++ b/drivers/video/tegra/host/dev.c >> @@ -43,6 +43,13 @@ u32 host1x_syncpt_read(u32 id) >> } >>

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-29 Thread Yasuaki Ishimatsu
Hi Tony, 2012/11/29 6:34, Luck, Tony wrote: 1. use firmware information According to ACPI spec 5.0, SRAT table has memory affinity structure and the structure has Hot Pluggable Filed. See "5.2.16.2 Memory Affinity Structure". If we use the information, we might be able to specify mov

Re: [PATCH v9 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

2012-11-29 Thread Yasuaki Ishimatsu
2012/11/29 6:47, Yinghai Lu wrote: > So make init_memory_mapping smaller and readable. > > -v2: use 0 instead of nr_range as input parameter found by Yasuaki Ishimatsu. > > Suggested-by: Ingo Molnar > Signed-off-by: Yinghai Lu > Reviewed-by: Pekka Enberg > Reviewed-by: Konrad Rzeszutek Wilk >

Re: [RFC,v2,3/8] video: tegra: host: Add channel and client support

2012-11-29 Thread Terje Bergström
On 29.11.2012 12:01, Mark Zhang wrote: >> +fail: >> +/* Add clean-up */ > > Yes, add "nvhost_module_deinit" here? Sounds good. >> +int nvhost_client_device_suspend(struct platform_device *dev) >> +{ >> +int ret = 0; >> +struct nvhost_device_data *pdata = platform_get_drvdata(dev); >>

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

2012-11-29 Thread Chris Clayton
On 11/28/12 23:52, Andrew Morton wrote: On Wed, 21 Nov 2012 23:09:46 +0800 Jiang Liu wrote: Subject: Re: [RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap How are people to test this? "does it boot"? I've been running kernels with Gerry's 5 patches appl

Re: [PATCH 01/14] perf tool: Introduce perf_hpp__list for period related columns

2012-11-29 Thread Namhyung Kim
Hi, On Thu, 29 Nov 2012 16:44:59 +0900, Namhyung Kim wrote: > Hi Jiri, > > On Wed, 28 Nov 2012 14:52:36 +0100, Jiri Olsa wrote: >> Adding perf_hpp__list list to register and contain all period >> related columns the command is interested in. >> >> This way we get rid of static array holding all po

Re: Acpi deadlocks with 3.7.0-rc4

2012-11-29 Thread Rafael J. Wysocki
On Thursday, November 29, 2012 11:13:10 AM Zdenek Kabelac wrote: > Dne 28.11.2012 20:07, Linus Torvalds napsal(a): > > whole "prefix_node" pointer is bogus. It seems to have the value 0x1000. > > Tested also this patch with this result: > > https://bugzilla.kernel.org/show_bug.cgi?id=51071#c8 >

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

2012-11-29 Thread Cho KyongHo
> -Original Message- > From: Cho KyongHo [mailto:pullip@samsung.com] > Sent: Monday, November 26, 2012 10:54 AM > > -Original Message- > > From: Cho KyongHo [mailto:pullip@samsung.com] > > Sent: Monday, November 26, 2012 10:28 AM > > > > > -Original Message- > > > Fr

Re: [RFC v2 3/8] video: tegra: host: Add channel and client support

2012-11-29 Thread Terje Bergström
On 29.11.2012 12:04, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Mon, Nov 26, 2012 at 03:19:09PM +0200, Terje Bergstrom wrote: > > I've skipped a lot of code here that I need more time to review. Thanks already for the very good comments! It's great getting comments on the code

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-29 Thread Krzysztof Mazur
On Wed, Nov 28, 2012 at 10:18:35PM +, David Woodhouse wrote: > On Wed, 2012-11-28 at 09:21 +, David Laight wrote: > > Even when it might make sense to sleep in close until tx drains > > there needs to be a finite timeout before it become abortive. > > You are, of course, right. We should n

Re: [PATCH] Introduce a method to catch mmap_region (was: Recent kernel "mount" slow)

2012-11-29 Thread Jeff Chua
On Thu, Nov 29, 2012 at 2:45 PM, Al Viro wrote: > On Wed, Nov 28, 2012 at 10:37:27PM -0800, Linus Torvalds wrote: >> On Wed, Nov 28, 2012 at 10:30 PM, Al Viro wrote: >> > >> > Note that sync_blockdev() a few lines prior to that is good only if we >> > have no other processes doing write(2) (or di

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-29 Thread Mel Gorman
On Wed, Nov 28, 2012 at 01:38:47PM -0800, H. Peter Anvin wrote: > On 11/28/2012 01:34 PM, Luck, Tony wrote: > >> > >> 2. use boot option > >> This is our proposal. New boot option can specify memory range to use > >> as movable memory. > > > > Isn't this just moving the work to the user? To pi

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Vasilis Liaskovitis
Hi, On Wed, Nov 28, 2012 at 06:15:42PM -0700, Toshi Kani wrote: > On Wed, 2012-11-28 at 18:02 -0700, Toshi Kani wrote: > > On Thu, 2012-11-29 at 00:49 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, November 28, 2012 02:02:48 PM Toshi Kani wrote: > > > > > > > > > > > Consider the following ca

[PATCH] nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6

2012-11-29 Thread Armando Visconti
This patch keeps disabled the strict alignment CP15 bit for all armv6 and armv7 processor without the mmu. This behaviour is now same as in the mmu case. Signed-off-by: Armando Visconti --- arch/arm/kernel/head-nommu.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arc

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-29 Thread Mel Gorman
On Thu, Nov 29, 2012 at 07:38:26PM +0900, Yasuaki Ishimatsu wrote: > Hi Tony, > > 2012/11/29 6:34, Luck, Tony wrote: > >>1. use firmware information > >> According to ACPI spec 5.0, SRAT table has memory affinity structure > >> and the structure has Hot Pluggable Filed. See "5.2.16.2 Memory >

Re: [RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-29 Thread Gleb Natapov
On Wed, Nov 28, 2012 at 03:25:07PM +0100, Frederic Weisbecker wrote: > 2012/11/28 Gleb Natapov : > > On Wed, Nov 28, 2012 at 01:55:42PM +0100, Frederic Weisbecker wrote: > >> Yes but if rcu_irq_*() calls are fine to be called there, and I > >> believe they are because exception_enter() exits the us

Re: [PATCHSET cgroup/for-3.8] cpuset: decouple cpuset locking from cgroup core

2012-11-29 Thread Glauber Costa
On 11/29/2012 01:34 AM, Tejun Heo wrote: > This patchset decouples cpuset locking from cgroup_mutex. After the > patchset, cpuset uses cpuset-specific cpuset_mutex instead of > cgroup_mutex. This also removes the lockdep warning triggered during > cpu offlining (see 0009). > > Note that this lea

Re: [PATCH 05/14] perf diff: Change compute methods to work with pair directly

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:40 +0100, Jiri Olsa wrote: > Changing compute methods to operate over hist entry and its > pair directly. This makes the code more obvious and readable, > instead of all time checking for pair being != NULL. > > Signed-off-by: Jiri Olsa > Cc: Arnaldo Carvalho de Melo > C

Re: [PATCH 06/14] perf diff: Change formula methods to work with pair directly

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:41 +0100, Jiri Olsa wrote: > Changing formula methods to operate over hist entry and its > pair directly. This makes the code more obvious and readable, > instead of all time checking for pair being != NULL. > > Signed-off-by: Jiri Olsa > Cc: Arnaldo Carvalho de Melo > C

Re: [PATCH] mfd: wm5102: Correct default for LDO1_CONTROL_2

2012-11-29 Thread Charles Keepax
On Wed, Nov 28, 2012 at 06:47:28PM +, Mark Brown wrote: > Signed-off-by: Mark Brown > --- > drivers/mfd/wm5102-tables.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c > index 50bbe15..065ffd3 100644 > --- a/drivers/mfd/wm

Re: Interrupt handling - Linux

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, anish kumar wrote: > On Wed, 2012-11-28 at 20:10 +0530, manty kuma wrote: > > In linux interrupt programming, we do request_irq(...) in this > > function, the first argument is irq number. If i am not wrong, this is > > the interrupt line that we are requesting from kernel. Fo

[PATCH] staging: line6: Fix checkpatch.pl switch - case issue

2012-11-29 Thread Laurent Navet [Mali]
From: "Laurent Navet [Mali]" delete old commentted code to avoid this checkpatch error : line6/pcm.c:423: ERROR: switch and case should be at the same indent Signed-off-by: Laurent Navet [Mali] --- drivers/staging/line6/pcm.c |8 1 file changed, 8 deletions(-) diff --git a/drive

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

2012-11-29 Thread Rahul Sharma
Hi Mr. Cho, We have verified the above patchset for following usecases on exynos5. 1) MFC decoding using Sysmmu_L and R. (with the bit Inversion fix) 2) GSC operations. 3) FIMD and MIXER (HDMI) as displays. Thanks for your effort. regards, Rahul Sharma. On Thu, Nov 29, 2012 at 4:25 PM, Cho Kyo

Re: [PATCH 3/3] Input: bu21013_ts - Add support for Device Tree booting

2012-11-29 Thread Mark Brown
On Thu, Nov 29, 2012 at 10:08:08AM +, Lee Jones wrote: > On Wed, 28 Nov 2012, Mark Brown wrote: > > The I2C subsystem guesses at a compatible string by default but it's > > much better to explicitly set one as conflicts do arise from time to > > time (eg, Wolfson parts are called WM but th

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-11-29 Thread Michael S. Tsirkin
On Thu, Nov 29, 2012 at 06:13:13PM +0800, Jason Wang wrote: > On Wednesday, November 28, 2012 08:53:05 AM Stephen Hemminger wrote: > > On Wed, 28 Nov 2012 14:48:52 +0800 > > > > Jason Wang wrote: > > > On 11/28/2012 12:49 AM, Stephen Hemminger wrote: > > > > On Tue, 27 Nov 2012 14:45:13 +0800 > >

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-29 Thread Vasilis Liaskovitis
On Thu, Nov 29, 2012 at 11:03:05AM +0100, Rafael J. Wysocki wrote: > On Wednesday, November 28, 2012 06:15:42 PM Toshi Kani wrote: > > On Wed, 2012-11-28 at 18:02 -0700, Toshi Kani wrote: > > > On Thu, 2012-11-29 at 00:49 +0100, Rafael J. Wysocki wrote: > > > > On Wednesday, November 28, 2012 02:02

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-29 Thread Mauro Carvalho Chehab
Em Thu, 29 Nov 2012 08:43:36 +0100 Hans Verkuil escreveu: > On Wed November 28 2012 20:30:21 Greg Kroah-Hartman wrote: > > On Wed, Nov 28, 2012 at 08:18:20PM +0100, Hans Verkuil wrote: > > > On Wed November 28 2012 18:22:48 Greg Kroah-Hartman wrote: > > > > On Wed, Nov 28, 2012 at 10:18:02AM -020

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-11-29 Thread Vasilis Liaskovitis
On Thu, Nov 29, 2012 at 11:15:31AM +0100, Rafael J. Wysocki wrote: > On Wednesday, November 28, 2012 11:41:36 AM Toshi Kani wrote: > > On Wed, 2012-11-28 at 19:05 +0800, Hanjun Guo wrote: > > > We met the same problem when we doing computer node hotplug, It is a good > > > idea > > > to introduce

Re: [PATCH 08/14] perf diff: Change diff command to work over multiple data files

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:43 +0100, Jiri Olsa wrote: > Adding diff command the flexibility to specify multiple data > files on input. If not input file is given the standard behaviour > stands and diff inspects 'perf.data' and 'perf.data.old' files. > > Also changing the processing and output displ

  1   2   3   4   5   6   >