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 pointer

[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 caused

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 mistakes

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 a...@linux-foundation.org wrote: On Wed, 21 Nov 2012 16:31:11 +0200 Andy Shevchenko andriy.shevche...@linux.intel.com wrote: When build a kernel with make W=1 we will get a warning about missing initializer. It comes from kfifo usage style. The

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 vipulkumar.sa...@st.com 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

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 vipulkumar.sa...@st.com 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 -

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 and

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 lee.jo...@linaro.org wrote: From: Vipul Kumar Samar vipulkumar.sa...@st.com + /* + * 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

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

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

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 wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- 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 +++

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 tbergst...@nvidia.com 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

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 lee.jo...@linaro.org 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

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

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

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 first

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 guesses at a

[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 bitspieces all over: - Leftover Haswell patches and some fixes from Paulo - LyncPoint PCH support (for hsw) - OOM handling improvements from Chris Wilson - connector property and

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. This means

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 manjunath.ha...@ti.com 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

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

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 jasow...@redhat.com wrote: On 11/28/2012 12:49 AM, Stephen Hemminger wrote: On Tue, 27 Nov 2012 14:45:13 +0800 Jason Wang jasow...@redhat.com wrote: On 11/27/2012

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 separate

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 hd...@nvidia.com 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.

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 bitspieces all over: - Leftover Haswell patches and some fixes from Paulo - LyncPoint PCH support (for hsw) - OOM handling

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/rtc0 to

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 alarm.

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 da...@fromorbit.com wrote:

Re: [PATCH] context_tracking: New context tracking susbsystem

2012-11-29 Thread Frederic Weisbecker
2012/11/29 Li Zhong zh...@linux.vnet.ibm.com: 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) { -

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

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 mi...@elte.hu Signed-off-by: Yinghai Lu ying...@kernel.org Reviewed-by: Pekka Enberg

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); + +ret =

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 liu...@gmail.com 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

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 possible

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 So while

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- From: Kukjin Kim

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 never

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 v...@zeniv.linux.org.uk 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 v...@zeniv.linux.org.uk wrote: Note that sync_blockdev() a few lines prior to that is good only if we have no

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 pick good values

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 case:

[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 armando.visco...@st.com --- arch/arm/kernel/head-nommu.S |2 +- 1 files changed, 1 insertions(+), 1

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 Affinity

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 g...@redhat.com: 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

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 leaves

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 jo...@redhat.com Cc: Arnaldo Carvalho

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 jo...@redhat.com Cc: Arnaldo Carvalho

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 broo...@opensource.wolfsonmicro.com --- 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

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. For one

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

2012-11-29 Thread Laurent Navet [Mali]
From: Laurent Navet [Mali] laurent.na...@gmail.com 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] laurent.na...@gmail.com --- drivers/staging/line6/pcm.c |8 1

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

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 the WM

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 jasow...@redhat.com wrote: On 11/28/2012 12:49 AM, Stephen Hemminger wrote: On Tue, 27 Nov 2012 14:45:13

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:48 PM

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 hverk...@xs4all.nl 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

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 display

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

2012-11-29 Thread Mark Brown
On Thu, Nov 29, 2012 at 11:18:27AM +, Charles Keepax wrote: On Wed, Nov 28, 2012 at 06:47:28PM +, Mark Brown wrote: + { 0x0212, 0x0001 }, /* R530 - LDO1 Control 2 */ The default for this register is changed in the register patch to zero should we not leave this setting at

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

2012-11-29 Thread Thierry Reding
On Thu, Nov 29, 2012 at 12:21:04PM +0200, Terje Bergström wrote: 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

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

2012-11-29 Thread Philip, Avinash
bit support is added. BCH 4 8 bit error detection support is already available in mainline kernel and works with software error correction. This series is based on [1] and tested with RFC: OMAP GPMC bindings patch series 1. linux-next/20121129 Tested on am335x-evm for BCH 4 and 8 bit error

[PATCH v3 1/3] mtd: nand: omap2: Update nerrors using ecc.strength

2012-11-29 Thread Philip, Avinash
Update number of errors using nand ecc strength. Also add macro definitions BCH8_ERROR_MAX BCH4_ERROR_MAX Signed-off-by: Philip, Avinash avinashphi...@ti.com --- :100644 100644 359293e... 7e61dac... M drivers/mtd/nand/omap2.c drivers/mtd/nand/omap2.c | 12 1 files changed, 8

[PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory freeing issues

2012-11-29 Thread Vitalii Demianets
1. uioinfo was kfreed based on the presence of pdev-dev.of_node, which was obviously wrong and unrelated to the fact if uioinfo was allocated statically or dynamically. This patch introduces new flag which clearly shows if uioinfo was allocated dynamically and kfrees uioinfo based on that flag; 2.

[PATCH v3 2/3] mtd: devices: elm: Add support for ELM error correction

2012-11-29 Thread Philip, Avinash
The ELM hardware module can be used to speedup BCH 4/8/16 ECC scheme error correction. For now only 4 8 bit support is added Signed-off-by: Philip, Avinash avinashphi...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net ---

[PATCH v3 3/3] mtd: nand: omap2: Support for hardware BCH error correction.

2012-11-29 Thread Philip, Avinash
ELM module can be used for hardware error correction of BCH 4 8 bit. Also support read write page in one shot by adding custom read_page write_page methods. This helps in optimizing code for NAND flashes with page size less than 4 KB. New structure member is added to omap_nand_info 1.

Re: [PATCH 09/14] perf diff: Update perf diff documentation for multiple data comparison

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:44 +0100, Jiri Olsa wrote: +COMPARISON +-- +The comparison is governed by the baseline file. The baseline perf.data +file is iterated for samples. All other perf.data files specified on +the command line are searched for the baseline sample pair. If the pair

[PATCH 2/5] ACPI video: remove unnecessary newline from error messages

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com ACPI_ERROR() already appends a newline, so there is no need for the error messages to include one too. Signed-off-by: Colin Ian King colin.k...@canonical.com --- drivers/acpi/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 3/5] ACPI sysfs: remove unnecessary newline from exception

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com ACPI_EXCEPTION() already appends a newline, so there is no need for the invalid GPE message to include one too. Signed-off-by: Colin Ian King colin.k...@canonical.com --- drivers/acpi/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 5/5] ACPI thermal: remove unnecessary newline from exception message

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com ACPI_EXCEPTION() already appends a newline, so there is no need for the thermal trip point message to include one too. Signed-off-by: Colin Ian King colin.k...@canonical.com --- drivers/acpi/thermal.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 4/5] ACPICA: GPE support: remove unnecessary newline from error messages

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com ACPI_ERROR() already appends a newline, so there is no need for the error messages to include one too. Signed-off-by: Colin Ian King colin.k...@canonical.com --- drivers/acpi/acpica/hwgpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 08:37:50PM +0900, Namhyung Kim wrote: 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

[PATCH 0/5] remove some unnecessary newline from error messages

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com The ACPI_EXCEPTION and ACPI_ERROR macros already emit a newline after the message, so remove the unnecessary newlines from a bunch of messages. Colin Ian King (5): ACPI dock: remove unnecessary newline from exception message ACPI video: remove

Re: [PATCH 03/14] perf tool: Fix period symbol_conf.field_sep display

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 04:56:04PM +0900, Namhyung Kim wrote: On Wed, 28 Nov 2012 14:52:38 +0100, Jiri Olsa wrote: Currently we don't properly display hist data with symbol_conf.field_sep separator. We need to display either space or separator. Signed-off-by: Jiri Olsa jo...@redhat.com

[PATCH 1/5] ACPI dock: remove unnecessary newline from exception message

2012-11-29 Thread Colin King
From: Colin Ian King colin.k...@canonical.com ACPI_EXCEPTION() already appends a newline, so there is no need for the failed _DCK messaged to include one too. Signed-off-by: Colin Ian King colin.k...@canonical.com --- drivers/acpi/dock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 10/14] perf tool: Centralize default columns init in perf_hpp__init

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:45 +0100, Jiri Olsa wrote: Now when diff command is separated from other standard outputs, we can use perf_hpp__init to initialize all standard columns. Moving PERF_HPP__OVERHEAD column init back to perf_hpp__init, and removing extra enable calls. Why was this

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

2012-11-29 Thread David Woodhouse
On Thu, 2012-11-29 at 11:57 +0100, Krzysztof Mazur wrote: do we really need to wait here? Why don't just do something like that: tasklet_disable(card-tlet); spin_lock(card-tx_queue_lock); for each skb in queue SKB_CB(skb)-vcc = NULL;

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

2012-11-29 Thread Lee Jones
On Thu, 29 Nov 2012, Mark Brown wrote: 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

Re: [PATCH 14/14] perf diff: Add generic order option for compute sorting

2012-11-29 Thread Namhyung Kim
On Wed, 28 Nov 2012 14:52:49 +0100, Jiri Olsa wrote: Adding option 'o' to allow sorting based on the input file number. [snip] hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, int c) { - int i; + struct hist_entry **pairs_left =

Re: [PATCH 09/14] perf diff: Update perf diff documentation for multiple data comparison

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 08:52:18PM +0900, Namhyung Kim wrote: On Wed, 28 Nov 2012 14:52:44 +0100, Jiri Olsa wrote: +COMPARISON +-- +The comparison is governed by the baseline file. The baseline perf.data +file is iterated for samples. All other perf.data files specified on +the

Re: [PATCH 10/14] perf tool: Centralize default columns init in perf_hpp__init

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 08:55:47PM +0900, Namhyung Kim wrote: On Wed, 28 Nov 2012 14:52:45 +0100, Jiri Olsa wrote: Now when diff command is separated from other standard outputs, we can use perf_hpp__init to initialize all standard columns. Moving PERF_HPP__OVERHEAD column init back to

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

2012-11-29 Thread Thierry Reding
On Thu, Nov 29, 2012 at 10:09:13AM +0100, Lucas Stach wrote: 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

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-29 Thread Gleb Natapov
On Wed, Nov 28, 2012 at 10:40:56AM +0530, Raghavendra K T wrote: On 11/28/2012 06:42 AM, Marcelo Tosatti wrote: Don't understand the reasoning behind why 3 is a good choice. Here is where I came from. (explaining from scratch for completeness, forgive me :)) In moderate overcommits, we

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

2012-11-29 Thread Peter Ujfalusi
On 11/28/2012 08:30 PM, Thierry Reding wrote: I must say I'm not terribly thrilled to integrate something like this into the PWM subsystem. I agree. I would not really want to add my name to something like this either... I wish hardware engineers wouldn't come up with such designs. I have

Re: [PATCH 14/14] perf diff: Add generic order option for compute sorting

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 09:02:01PM +0900, Namhyung Kim wrote: On Wed, 28 Nov 2012 14:52:49 +0100, Jiri Olsa wrote: Adding option 'o' to allow sorting based on the input file number. [snip] hist_entry__cmp_compute(struct hist_entry *left, struct hist_entry *right, int

Re: [PATCH 00/18] perf report: Add support for event group view (v6)

2012-11-29 Thread Jiri Olsa
On Thu, Nov 29, 2012 at 03:38:28PM +0900, Namhyung Kim wrote: Hi all, This is my 6th iteration of event group view patchset. For basic idea and usage example, please see my original post [1]. The largest change in this version is using 'pairs' list of hist_entry instead of allocating

Re: Acpi deadlocks with 3.7.0-rc4

2012-11-29 Thread Zdenek Kabelac
Dne 29.11.2012 11:59, Rafael J. Wysocki napsal(a): 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:

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

2012-11-29 Thread Ian Kumlien
On Thu, Nov 29, 2012 at 10:26:21AM +0100, Borislav Petkov wrote: 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.

Re: [PATCH v3] mmc: core: Add support for idle time BKOPS

2012-11-29 Thread Jaehoon Chung
Hi Maya, Thank you a lot for working idle time BKOPS. I tested with this patch. It's working fine.(Suspend/resume is also working well.) Test controller is sdhci controller. When i tested the performance with iozone, i didn't find that performance is decreased. Well, as Chris is mentioned, do

[PATCH] solos-pci: don't call vcc-pop() after pclose()

2012-11-29 Thread Krzysztof Mazur
On Thu, Nov 29, 2012 at 11:55:43AM +, David Woodhouse wrote: On Thu, 2012-11-29 at 11:57 +0100, Krzysztof Mazur wrote: do we really need to wait here? Why don't just do something like that: tasklet_disable(card-tlet); spin_lock(card-tx_queue_lock); for each skb in

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

2012-11-29 Thread Manjunath Hadli
Hi Mauro, On Thursday 29 November 2012 04:09 PM, Mauro Carvalho Chehab wrote: Em Thu, 29 Nov 2012 08:43:36 +0100 Hans Verkuil hverk...@xs4all.nl 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

Re: [PATCH] solos-pci: don't call vcc-pop() after pclose()

2012-11-29 Thread David Woodhouse
On Thu, 2012-11-29 at 13:43 +0100, Krzysztof Mazur wrote: Removing packets from tx_queue is not needed. We can transmit packets also after close. We just can't call vcc-pop() after close, so we can just set SKB_CB(skb)-vcc of such packets to NULL so fpga_tx() won't call vcc-pop(). Your

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

2012-11-29 Thread Andy Shevchenko
On Thu, Nov 29, 2012 at 11:21 AM, Andy Shevchenko andy.shevche...@gmail.com wrote: On Thu, Nov 29, 2012 at 1:56 AM, Andrew Morton a...@linux-foundation.org wrote: On Wed, 21 Nov 2012 16:31:11 +0200 Andy Shevchenko andriy.shevche...@linux.intel.com wrote: When build a kernel with make W=1 we

Re: [PATCH 1/4 v2] iommu/fsl: Store iommu domain information pointer in archdata.

2012-11-29 Thread Kumar Gala
On Nov 25, 2012, at 11:33 PM, Sethi Varun-B16395 wrote: Hi Kumar, Can you please apply this patch. Regards Varun Was waiting on the others to apply this all together. (ie getting an Ack from Joerg, and follow comments from Timur to be resolved) - k -Original Message- From:

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

2012-11-29 Thread Andy Shevchenko
On Thu, Nov 29, 2012 at 3:51 AM, Andrew Morton a...@linux-foundation.org wrote: On Wed, 21 Nov 2012 16:31:11 +0200 Andy Shevchenko andriy.shevche...@linux.intel.com wrote: When build a kernel with make W=1 we will get a warning about missing initializer. It comes from kfifo usage style. The

Re: [PATCH] backlight: corgi_lcd: Fix WARN_ON() when calling corgi_bl_set_intensity.

2012-11-29 Thread Marko Katić
On Thu, Nov 29, 2012 at 6:30 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, November 29, 2012 6:47 AM, Marko Katic wrote Subject: [PATCH] backlight: corgi_lcd: Fix WARN_ON() when calling corgi_bl_set_intensity. CC'ed Andrew Morton. Hi Marko Katic, The commit subject and commit

Re: [PATCH] ARM: Fix page counting in mem_init and show_mem

2012-11-29 Thread Russell King - ARM Linux
On Mon, Oct 22, 2012 at 09:34:51PM -0400, Michael Spang wrote: for_each_bank (i, mi) { struct membank *bank = mi-bank[i]; - unsigned int pfn1, pfn2; - struct page *page, *end; + unsigned int start, end, pfn; - pfn1 =

  1   2   3   4   5   6   7   8   9   10   >