Re: [PATCH 1/7] uprobes: Move alloc_page() from xol_add_vma() to xol_alloc_area()

2013-01-07 Thread Anton Arapov
On Mon, Dec 31, 2012 at 06:52:12PM +0100, Oleg Nesterov wrote: Move alloc_page() from xol_add_vma() to xol_alloc_area() to cleanup the code. This separates the memory allocations and consolidates the -EALREADY cleanups and the error handling. Signed-off-by: Oleg Nesterov o...@redhat.com ---

Re: [PATCH v6 4/4] sd: change to auto suspend mode

2013-01-07 Thread Oliver Neukum
On Sunday 06 January 2013 16:41:37 Aaron Lu wrote: From: Lin Ming ming.m@intel.com Uses block layer runtime pm helper functions in scsi_runtime_suspend/resume. Remove scsi_autopm_* from sd open/release path and check_events path. And remove the quiesce call in runtime suspend path, as

RE: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-07 Thread Hebbar, Gururaja
On Fri, Jan 04, 2013 at 17:56:12, Mark Brown wrote: On Fri, Jan 04, 2013 at 03:24:37PM +0530, Hebbar Gururaja wrote: + MIC3L,Mic Bias 2V, + MIC3R,Mic Bias 2V, + Mic Bias 2V, Mic Jack, The CODEC driver biases should

RE: [PATCH 08/10] video: da8xx-fb: obtain fb_videomode info from dt

2013-01-07 Thread Mohammed, Afzal
Hi Steffen, On Mon, Jan 07, 2013 at 14:41:31, Steffen Trumtrar wrote: On Mon, Jan 07, 2013 at 10:41:30AM +0530, Afzal Mohammed wrote: Obtain fb_videomode details for the connected lcd panel using the display timing details present in DT. +- display-timings: list of different videomodes

Re: [PATCH 6/9] Thermal: Add Documentation to new APIs

2013-01-07 Thread Wei Ni
On 01/07/2013 04:53 PM, R, Durgadoss wrote: -Original Message- From: Wei Ni [mailto:w...@nvidia.com] Sent: Monday, January 07, 2013 2:10 PM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; eduardo.valen...@ti.com; hongbo.zh...@linaro.org

Re: [PATCH 00/18] AB8500 battery management series upgrade

2013-01-07 Thread Lee Jones
Hi Anton, I hope your studies are progressing well. Please find the next instalment of the AB8500 Power drivers upgrade. A lot of work has taken place on the internal development track, but little effort has gone into mainlining it. At last count there were around 70+ patches which are

Re: [PATCH v6 4/4] sd: change to auto suspend mode

2013-01-07 Thread Aaron Lu
On 01/07/2013 05:19 PM, Oliver Neukum wrote: On Sunday 06 January 2013 16:41:37 Aaron Lu wrote: From: Lin Ming ming.m@intel.com Uses block layer runtime pm helper functions in scsi_runtime_suspend/resume. Remove scsi_autopm_* from sd open/release path and check_events path. And remove

Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

2013-01-07 Thread Jiri Kosina
On Fri, 28 Dec 2012, Borislav Petkov wrote: http://thread.gmane.org/gmane.linux.kernel/1413953/focus=1415070 Cool, works fine here too. Is Linus on CC? (/me checks.. ) Yes he is, good. Linus, Alan's patch works at least in 2 cases, you might consider picking it up directly since the fb

Re: [3.8-rc2] stuck at reading CIFS mounted directory

2013-01-07 Thread Suresh Jayaraman
(Cc linux-c...@vger.kernel.org) On 01/04/2013 06:27 AM, Jongman Heo wrote: Hi, all, In 3.8-rc2, access to CIFS-mounted directory (df, ls, or similar) got stuck with following message. It's mounted with... mount -t cifs //win_host_ip_address/Share /mnt/window -o

Re: [PATCH V4 2/3] sta2x11_vip: convert to videobuf2 and control framework

2013-01-07 Thread Hans Verkuil
Hi Frederico! Just one comment, see below: On Sun January 6 2013 18:29:02 Federico Vaga wrote: This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Jan Beulich
On 04.01.13 at 18:25, Daniel Kiper daniel.ki...@oracle.com wrote: Right, so where is virtual mapping of control page established? I could not find relevant code in SLES kernel which does that. In the hypervisor (xen/arch/x86/machine_kexec.c:machine_kexec_load()).

Re: Fix test relying in wrong behavior of is_printable

2013-01-07 Thread Pantelis Antoniou
Err, I can rework and resubmit to remove the comment, but the test doesn't fail: $ make check | grep 'MyBoardName.*-t s.*compatible' fdtget-runtest.sh MyBoardName MyBoardFamilyName -t s label01.dts.fdtget.test.dtb / compatible:PASS As of today's pull. Regards -- Pantelis On

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Viresh Kumar
Hi Tejun, On 4 January 2013 20:39, Tejun Heo t...@kernel.org wrote: I don't know either. Changing behavior subtly like this is hard. I usually try to spot some problem cases and try to identify patterns there. Once you identify a few of them, understanding and detecting other problem cases

[PATCH 0/3 v3] add resync speed control for dm-raid1

2013-01-07 Thread Guangliang Zhao
Hi, These patches are used to add resync speed control for dm-raid1. The second and third patch provide support for user-space tool dmsetup. I have made some modifications by the comments. This is the third version. Guangliang Zhao (3): dm raid1: add resync speed control for dm-raid1 dm

[PATCH 1/3 v3] dm raid1: add resync speed control for dm-raid1

2013-01-07 Thread Guangliang Zhao
The IO performance on the already available lv is very bad during the initial sync when we create a mirror lv. This patch add the rate limit for every mirror target to control resync speed. This patch only limited the resync IO speed simply, and didn't care about user IO, because it is mainly

[PATCH 2/3 v3] dm raid1: add interface to set resync speed

2013-01-07 Thread Guangliang Zhao
Add ioctl to control resync speed, userspace tool is dmsetup message, message format is: dmsetup message $device 0 set-max-resync-speed $speed e.g. dmsetup message /dev/dm-2 0 set-max-resync-speed 12345 Signed-off-by: Guangliang Zhao gz...@suse.com --- drivers/md/dm-raid1.c |

[PATCH 3/3 v3] dm raid1: add interface to get resync speed

2013-01-07 Thread Guangliang Zhao
Add ioctl to get resync speed, userspace tool is dmsetup status: dmsetup status $device e.g. dmsetup status /dev/dm-2 Signed-off-by: Guangliang Zhao gz...@suse.com --- drivers/md/dm-raid1.c | 16 1 file changed, 16 insertions(+) diff --git

[PATCH] [media] coda: Fix build due to iram.h rename

2013-01-07 Thread Sascha Hauer
commit c045e3f13 (ARM: imx: include iram.h rather than mach/iram.h) changed the location of iram.h, which causes the following build error when building the coda driver: drivers/media/platform/coda.c:27:23: error: mach/iram.h: No such file or directory drivers/media/platform/coda.c: In function

Re: [PATCH v4 08/18] perf/x86: add memory profiling via PEBS Load Latency

2013-01-07 Thread Jiri Olsa
On Sun, Jan 06, 2013 at 09:37:25PM +0100, Stephane Eranian wrote: On Sat, Jan 5, 2013 at 7:43 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:38PM +0100, Stephane Eranian wrote: This patch adds support for memory profiling using the PEBS Load Latency facility. Load

Re: [PATCH] SPI: SSP SPI Controller driver v3

2013-01-07 Thread Linus Walleij
On Mon, Jan 7, 2013 at 9:05 AM, channing chao...@intel.com wrote: Frankly I'm currently not sure whether they share same IP.. per your reminds, I tried to find but get limited info about PXA SSP's IP, from the code, looks like they have part of registers the same. As far as I know,

Re: [PATCH] [media] coda: Fix build due to iram.h rename

2013-01-07 Thread Fabio Estevam
Hi Sascha, On Mon, Jan 7, 2013 at 8:03 AM, Sascha Hauer s.ha...@pengutronix.de wrote: commit c045e3f13 (ARM: imx: include iram.h rather than mach/iram.h) changed the location of iram.h, which causes the following build error when building the coda driver:

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Ian Campbell
On Fri, 2013-01-04 at 19:11 +, Konrad Rzeszutek Wilk wrote: On Fri, Jan 04, 2013 at 06:07:51PM +0100, Daniel Kiper wrote: On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote: On 04.01.13 at 15:22, Daniel Kiper daniel.ki...@oracle.com wrote: On Wed, Jan 02, 2013 at 11:26:43AM

[PATCH] uprobes/powerpc: Add dependency on single step emulation

2013-01-07 Thread Suzuki K. Poulose
From: Suzuki K. Poulose suz...@in.ibm.com Uprobes uses emulate_step in sstep.c, but we haven't explicitly specified the dependency. On pseries HAVE_HW_BREAKPOINT protects us, but 44x has no such luxury. Consolidate other users that depend on sstep and create a new config option. Signed-off-by:

Re: [PATCH] SPI: SSP SPI Controller driver v3

2013-01-07 Thread Mika Westerberg
On Mon, Jan 07, 2013 at 11:21:04AM +0100, Linus Walleij wrote: On Mon, Jan 7, 2013 at 9:05 AM, channing chao...@intel.com wrote: Frankly I'm currently not sure whether they share same IP.. per your reminds, I tried to find but get limited info about PXA SSP's IP, from the code, looks

[PATCH] drm/i915: Treat crtc-mode.clock == 0 as disabled

2013-01-07 Thread Chris Wilson
Prevent a divide-by-zero by consistently treating an 'active' CRTC without a mode set as actually disabled. This looks to have been first introduced with commit 24929352481f085c5f85d4d4cbc919ddf106d381 Author: Daniel Vetter daniel.vet...@ffwll.ch Date: Mon Jul 2 20:28:59 2012 +0200

Re: [PATCH] sched: remove redundant update_runtime notifier

2013-01-07 Thread Mike Galbraith
On Fri, 2012-12-28 at 18:00 +0800, Neil Zhang wrote: migration_call() will do all the things that update_runtime() does. So it seems update_runtime() is a redundant notifier, remove it. Furthermore, there is potential risk that the current code will catch BUG_ON at line 687 of rt.c when do

[PATCH 09/11] spi/pxa2xx: add support for SPI_LOOP

2013-01-07 Thread Mika Westerberg
This is useful when testing the functionality of the controller from userspace and there aren't any real SPI slave devices connected to the bus. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/spi/spi-pxa2xx.c |5 - 1 file changed, 4 insertions(+), 1

[PATCH 03/11] spi/pxa2xx-pci: switch to use pcim_* interfaces

2013-01-07 Thread Mika Westerberg
Instead of open-coding all the error management in the driver we can take advantage of the pcim_* interfaces that release the resources automatically. We also use platform_device_register_full() to register the platform device because it allows us to create and register the platform device at one

[PATCH 04/11] spi/pxa2xx: embed the ssp_device to platform data

2013-01-07 Thread Mika Westerberg
The spi-pxa2xx-pci glue driver had to implement pxa_ssp_request()/free() in order to support the spi-pxa2xx platform driver. Since the ACPI enabled platforms can use the same platform driver we would need to implement pxa_ssp_request()/free() in some central place that can be shared by the ACPI

[PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-07 Thread Mika Westerberg
If the architecture doesn't support clk framework (like x86) we need a way to pass the SSP clock rate to the driver. This patch adds a field in the platform data 'fixed_clk_rate' that allows passing the rate. Also include clk.h to make sure that the clk_* functions are properly stubbed out on

[PATCH 01/11] spi/pxa2xx: allow building on a 64-bit kernel

2013-01-07 Thread Mika Westerberg
In addition fix following warnings seen when compiling 64-bit: drivers/spi/spi-pxa2xx.c: In function ‘map_dma_buffers’: drivers/spi/spi-pxa2xx.c:384:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/spi/spi-pxa2xx.c:384:40: warning: cast from pointer to

[PATCH 08/11] spi/pxa2xx: add support for runtime PM

2013-01-07 Thread Mika Westerberg
Drivers should put the device into low power states proactively whenever the device is not in use. Thus implement support for runtime PM and use the autosuspend feature to make sure that we can still perform well in case we see lots of SPI traffic within short period of time. Signed-off-by: Mika

[PATCH 10/11] spi/pxa2xx: add support for Intel Low Power Subsystem SPI

2013-01-07 Thread Mika Westerberg
Intel LPSS SPI is pretty much the same as the PXA27xx SPI except that it has few additional features over the original: o FIFO depth is 256 entries o RX FIFO has one watermark o TX FIFO has two watermarks, low and high o chip select can be controlled by writing to

[PATCH 02/11] spi/pxa2xx: convert to the pump message infrastructure

2013-01-07 Thread Mika Westerberg
The SPI core provides infrastructure for standard message queueing so use that instead of handling everything in the driver. This simplifies the driver. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/spi/spi-pxa2xx.c | 212

[PATCH 00/11] spi/pxa2xx: add Intel Lynxpoint SPI controller support

2013-01-07 Thread Mika Westerberg
Hi all, On Intel Lynxpoint (the PCH used with Haswell) we have two SPI controllers that reside in the Low Power Subsystem of the PCH. The hardware is mostly compliant with PXA2xx SPI controller except that there are few additional registers. Those are described in patch [10/11]. The patches

[PATCH 11/11] spi/pxa2xx: add support for Lynxpoint SPI controllers

2013-01-07 Thread Mika Westerberg
Intel Lynxpoint PCH Low Power Subsystem has two general purpose SPI controllers that are LPSS_SSP compatible. These controllers are enumerated from ACPI namespace with ACPI IDs INT33C0 and INT33C1. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/spi/Kconfig |2

[PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-07 Thread Mika Westerberg
The PXA SPI driver uses PXA platform specific private DMA implementation which does not work on non-PXA platforms. In order to use this driver on other platforms we need to move the private DMA implementation into a separate functions that get stubbed out when !CONFIG_ARCH_PXA. While we are there

[PATCH 07/11] spi/pxa2xx: add support for DMA engine

2013-01-07 Thread Mika Westerberg
In order to use DMA with this driver on non-PXA platforms we implement support for the generic DMA engine API. This allows to use different DMA engines with little or no modification to the driver. Request lines and channel numbers can be passed to the driver from the platform specific data.

Re: [PATCH 6/6] OF: Introduce DT overlay support.

2013-01-07 Thread Pantelis Antoniou
Hi Rob, On Jan 6, 2013, at 4:24 AM, Rob Landley wrote: On 01/04/2013 01:31:10 PM, Pantelis Antoniou wrote: Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. It is also

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Andrew Cooper
On 07/01/13 10:25, Ian Campbell wrote: On Fri, 2013-01-04 at 19:11 +, Konrad Rzeszutek Wilk wrote: On Fri, Jan 04, 2013 at 06:07:51PM +0100, Daniel Kiper wrote: Because current KEXEC_CMD_kexec_load does not load kernel image and other things into Xen memory. It means that it should live

RE: [PATCH 02/25] ab8500_charger: don't use [delayed_]work_pending()

2013-01-07 Thread Arun MURTHY
There's no need to test whether a (delayed) work item in pending before queueing, flushing or cancelling it. Most uses are unnecessary and quite a few of them are buggy. Remove unnecessary pending tests from ab8500_charger. Only compile tested. Signed-off-by: Tejun Heo

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Ian Campbell
On Mon, 2013-01-07 at 10:46 +, Andrew Cooper wrote: Given that /sbin/kexec creates a binary blob in memory, surely the most simple thing is to get it to suitably mlock() the region and give a list of VAs to the hypervisor. More than likely. The DOMID_KEXEC thing was just a radon musing

Re: [PATCH RFT] regulator: lp8788-ldo: Use ldo-en_pin to check if regulator is enabled by external pin

2013-01-07 Thread Mark Brown
On Sat, Jan 05, 2013 at 03:33:43PM +0800, Axel Lin wrote: ldo-en_pin is set iff the regulator is enabled by external pin. This patch sets ldo-en_pin to NULL if lp8788_gpio_request_ldo_en() fails, then we can use it to determinate if the regulator is controlled by external pin or register.

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Guennadi Liakhovetski
(adding Robert to CC) Hi Julia Thanks for the patch. On Mon, 7 Jan 2013, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The data referenced by an interrupt handler should not be freed before the interrupt is ended. The handler is pxa_camera_irq. This handler may call

Re: [PATCH] regulator: da9055: Remove unused v_shift field from struct da9055_volt_reg

2013-01-07 Thread Mark Brown
On Sun, Jan 06, 2013 at 12:42:00PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Julia Lawall
On Mon, 7 Jan 2013, Guennadi Liakhovetski wrote: (adding Robert to CC) Hi Julia Thanks for the patch. On Mon, 7 Jan 2013, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The data referenced by an interrupt handler should not be freed before the interrupt is ended. The

[PATCH v2 00/16] various fixes and updates for ste_dma40

2013-01-07 Thread Fabio Baltieri
Hi all, this series contains many fixes and updates for the ste_dma40 driver. The first patches of the series were originally sent weeks ago but did not receive any feedback, so I'm also resending those, but I've rebased everything on top of v3.8-rc2 to avoid a (trivial) file rename conflict.

[PATCH 01/16] dmaengine: ste_dma40: reset priority bit for logical channels

2013-01-07 Thread Fabio Baltieri
From: Narayanan narayanan.gopalakrish...@stericsson.com This patch sets the SSCFG/SDCFG bit[7] PRI only for physical channel requests with high priority. For logical channels, this bit will be zero. Signed-off-by: Narayanan G narayanan.gopalakrish...@stericsson.com Reviewed-by: Rabin Vincent

[PATCH 02/16] dmaengine: ste_dma40: use writel_relaxed for lcxa

2013-01-07 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com lcpa and lcla are written often and the cache_sync() overhead in writel is costly, especially for wlan where every single network packet (in RX mode) corresponds to a separate DMA transfer. Signed-off-by: Per Forlin per.for...@stericsson.com

[PATCH 03/16] dmaengine: ste_dma40: set dma max seg size

2013-01-07 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com Maximum DMA seg size is (0x x data_width). If max seg size is not set it deafults to 64k. This results in failure if transferring 64k in byte mode. Large seg sizes may be supported by splitting large transfer. Signed-off-by: Per Forlin

[PATCH 04/16] dmaengine: ste_dma40: limit burst size to 16

2013-01-07 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com The client is not aware of the maximum burst size in the dma driver. If the size exceeds 16 set max to 16. Signed-off-by: Per Forlin per.for...@stericsson.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri

[PATCH 05/16] dmaengine: ste_dma40: don't check for pm_runtime_suspended()

2013-01-07 Thread Fabio Baltieri
From: Narayanan G narayanan.gopalakrish...@stericsson.com The check for runtime suspend is not needed during a regular suspend, as the framework takes care of this. This fixes the issue of DMA driver not letting the system to go to deepsleep in the first attempt. Signed-off-by: Narayanan G

[PATCH 06/16] dmaengine: ste_dma40: don't allow high priority dest event lines

2013-01-07 Thread Fabio Baltieri
From: Rabin Vincent rabin.vinc...@stericsson.com Hardware bug: when a logical channel is triggerred by a high priority destination event line, an extra packet transaction is generated in case of important data write response latency on previous logical channel A and if the source transfer of

[PATCH 07/16] dmaengine: ste_dma40: support fixed physical channel allocation

2013-01-07 Thread Fabio Baltieri
From: Gerald Baeza gerald.ba...@stericsson.com This patch makes existing use_fixed_channel field (of stedma40_chan_cfg structure) applicable to physical channels. Signed-off-by: Gerald Baeza gerald.ba...@stericsson.com Tested-by: Yannick Fertre yannick.fer...@stericsson.com Reviewed-by: Per

[PATCH 08/16] dmaengine: ste_dma40: physical channels number correction

2013-01-07 Thread Fabio Baltieri
From: Gerald Baeza gerald.ba...@stericsson.com DMAC_ICFG[0:2]=SCHNB only allows to count 'multiple of 4' physical channels so it was ok with platforms having 8 channels but cannot be used for next versions (with 10 or 14 channels). This patch allows to provide the number of physical channels for

[PATCH 09/16] dmaengine: ste_dma40: support more than 128 event lines

2013-01-07 Thread Fabio Baltieri
From: Tong Liu tong@stericsson.com U8540 DMA controller is different from u9540 we need define new registers and use them to support handling more than 128 event lines. Signed-off-by: Tong Liu tong@stericsson.com Reviewed-by: Per Forlin per.for...@stericsson.com Acked-by: Linus Walleij

[PATCH 10/16] dmaengine: ste_dma40: add a done queue for completed descriptors

2013-01-07 Thread Fabio Baltieri
This is to keep the active queue for only those transfers which are actually active in the hardware. Descriptors will be moved to the done queue after they are completed in the hardware (interrupt handler) but before all the cleanup work has been completed (tasklet). Mostly based on a previous

[PATCH 11/16] dmaengine: ste_dma40: add missing kernel-doc entry

2013-01-07 Thread Fabio Baltieri
Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- include/linux/platform_data/dma-ste-dma40.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/platform_data/dma-ste-dma40.h b/include/linux/platform_data/dma-ste-dma40.h

[PATCH 12/16] dmaengine: ste_dma40: minor cosmetic fixes

2013-01-07 Thread Fabio Baltieri
This patch contains various non functional cosmetic fixes. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- drivers/dma/ste_dma40.c| 33 - drivers/dma/ste_dma40_ll.c | 2 +- 2 files changed, 13

[PATCH 13/16] dmaengine: ste_dma40: minor code readability fixes

2013-01-07 Thread Fabio Baltieri
Use internal variables to the cycles to improve code readability, no functional changes. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- drivers/dma/ste_dma40.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-)

[PATCH 14/16] dmaengine: ste_dma40: add software lli support

2013-01-07 Thread Fabio Baltieri
This patch add support to manage LLI by SW for select phy channels. There is a HW issue in certain controllers due to which on certain occassions HW LLI cannot be used on some physical channels. To avoid the HW issue on a specific phy channel, the phy channel number can be added to the list of

[PATCH 15/16] dmaengine: set_dma40: ignore spurious interrupts

2013-01-07 Thread Fabio Baltieri
Some DMA channels may be used by other cores in the SoC. This patch modifies the dma interrupt handler to ignore interrupts from unknown channels. Cc: Rabin Vincent rabin.vinc...@stericsson.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri

[PATCH 16/16] dmaengine: set_dma40: balance clock in probe fail code

2013-01-07 Thread Fabio Baltieri
Clock code was changed to use clk_prepare_enable in: b707c65 dma/ste_dma40: Fixup clock usage during probe but clk_disable on probe fail path was not updated. This patch fix this by using clk_disable_unprepare in place of clk_disable. Acked-by: Ulf Hansson ulf.hans...@linaro.org Signed-off-by:

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-07 Thread James Hogan
Hi Alan, On 04/01/13 17:00, Alan Cox wrote: Agreed and done. I didn't realise the TTY layer was so prone to providing lots of itty bitty fragments (even with a single 4k write from userland). The thing that really hurt was not the allocations but that each one was written out to the DA

[PATCH v2 repost] sched: cputime: avoid multiplication overflow (in common cases)

2013-01-07 Thread Stanislaw Gruszka
We scale stime, utime values based on rtime (sum_exec_runtime converted to jiffies). During scaling we multiple rtime * utime, what seems to be fine, since both values are converted to u64, but is not. Let assume HZ is 1000 - 1ms tick. Process consist of 64 threads, run for 1 day, threads utilize

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Guennadi Liakhovetski
On Mon, 7 Jan 2013, Julia Lawall wrote: On Mon, 7 Jan 2013, Guennadi Liakhovetski wrote: (adding Robert to CC) Hi Julia Thanks for the patch. On Mon, 7 Jan 2013, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The data referenced by an interrupt handler

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-07 Thread Alan Cox
Yes. The case I tried was a large write (strace cat /etc/somefile /dev/ttyDA2) and strace showed a single large write, but it got to the driver in chunks of a dozen or so characters. Is that expected to happen? Yes it is - the tty mid layer code could do better on this but it's never been

[PATCH] drivers/media/platform/soc_camera/pxa_camera.c: use devm_ functions

2013-01-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr This patch uses various devm_ functions for data that is allocated in the probe function of a platform driver and is only freed in the remove function. This also fixes a checkpatch warning, removing a space before a \n in a string. Signed-off-by: Julia

Re: CoreSight framework and drivers

2013-01-07 Thread Will Deacon
On Thu, Jan 03, 2013 at 06:06:43PM +, Pratik Patel wrote: On Sun, Dec 23, 2012 at 11:32:39AM +, Will Deacon wrote: On Fri, Dec 21, 2012 at 10:18:28PM +, Pratik Patel wrote: What user interface do you plan to provide for the CTI? Maybe something consistent with other CoreSight

Re: [PATCH 1/2] i2c-s3c2410: Leave the bus disabled unless it is in use

2013-01-07 Thread Naveen Krishna Ch
On 29 November 2012 20:14, Kyungmin Park kmp...@infradead.org wrote: Acked-by: Kyungmin Park kyungmin.p...@samsung.com I don't see this patch landed any where in linux-i2c tree, Though it was acked. Was it missed or should i be doing something for this to be merged ?? On Thu, Nov 29, 2012 at

RE: [PATCH] da8xx: Allow use by am33xx based devices

2013-01-07 Thread Mohammed, Afzal
Hi, On Wed, Dec 12, 2012 at 13:30:56, Hiremath, Vaibhav wrote: On Wed, Dec 12, 2012 at 12:50:28, Manjunathappa, Prakash wrote: Agreed, should not result in build error. But is it ok to show this option on the platforms which do not have this IP? You can choose to put machine

Re: [PATCH v2 1/4] kprobes/powerpc: Do not disable External interrupts during single step

2013-01-07 Thread Sebastian Andrzej Siewior
On 01/04/2013 05:42 AM, Benjamin Herrenschmidt wrote: On Tue, 2012-12-11 at 11:18 +0530, Suzuki K. Poulose wrote: On 12/03/2012 08:37 PM, Suzuki K. Poulose wrote: From: Suzuki K. Poulosesuz...@in.ibm.com External/Decrement exceptions have lower priority than the Debug Exception. So, we don't

Re: [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C

2013-01-07 Thread Naveen Krishna Ch
On 28 December 2012 17:10, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c | 24 1 file

Re: [PATCH v2 01/11] clk: tegra: Add tegra specific clocks

2013-01-07 Thread Peter De Schrijver
On Thu, Dec 27, 2012 at 03:47:14PM +0100, Prashant Gaikwad wrote: Add tegra specific clocks, pll, pll_out, peripheral, frac_divider, super. ... diff --git a/drivers/clk/tegra/clk-pll-out.c b/drivers/clk/tegra/clk-pll-out.c new file mode 100644 index 000..60a117b --- /dev/null +++

Re: oops in copy_page_rep()

2013-01-07 Thread Hillf Danton
Hello Hugh On Mon, Jan 7, 2013 at 3:06 AM, Hugh Dickins hu...@google.com wrote: I don't entirely like your patch (or the original code): shouldn't there be a wait_split_huge_page(), rather than hammering back with repeated faults until the split has completed? I take another try with waiting

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-07 Thread Mel Gorman
On Sun, Jan 06, 2013 at 12:07:00PM +, Eric Wong wrote: Mel Gorman mgor...@suse.de wrote: Using a 3.7.1 or 3.8-rc2 kernel, can you reproduce the problem and then answer the following questions please? This is on my main machine running 3.8-rc2 1. What are the contents of

Re: [PATCH v4 1/2] mmc: core: Add support for idle time BKOPS

2013-01-07 Thread Ulf Hansson
Hi Maya, On 24 December 2012 14:51, Maya Erez me...@codeaurora.org wrote: Devices have various maintenance operations need to perform internally. In order to reduce latencies during time critical operations like read and write, it is better to execute maintenance operations in other times -

Re: linux-3.7.1: OOPS in page_lock_anon_vma

2013-01-07 Thread Hillf Danton
Hello Martin On Mon, Jan 7, 2013 at 6:59 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: time to time. With ondemand governor I had cores in C7 for 50-70% of the time, that was a bit better with performance governor but having the two hyperthreaded cores disabled reduced the context

Re: [PATCH v4 08/18] perf/x86: add memory profiling via PEBS Load Latency

2013-01-07 Thread Stephane Eranian
On Mon, Jan 7, 2013 at 11:11 AM, Jiri Olsa jo...@redhat.com wrote: On Sun, Jan 06, 2013 at 09:37:25PM +0100, Stephane Eranian wrote: On Sat, Jan 5, 2013 at 7:43 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:38PM +0100, Stephane Eranian wrote: This patch adds support for

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 02:11:46PM -0500, Konrad Rzeszutek Wilk wrote: On Fri, Jan 04, 2013 at 06:07:51PM +0100, Daniel Kiper wrote: On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote: On 04.01.13 at 15:22, Daniel Kiper daniel.ki...@oracle.com wrote: On Wed, Jan 02, 2013 at

Re: [PATCH v7u1 03/31] x86, realmode: set real_mode permissions early

2013-01-07 Thread Borislav Petkov
On Sat, Jan 05, 2013 at 02:25:46PM +0100, Borislav Petkov wrote: Or do you mean that the function naming is wrong? WTF? Ok, I think I can guess what you mean: that's setup_real_mode which allocates the real_mode_blob memory. Right? -- Regards/Gruss, Boris. Sent from a fat crate under my

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Daniel Kiper
On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: On 04.01.13 at 18:25, Daniel Kiper daniel.ki...@oracle.com wrote: Right, so where is virtual mapping of control page established? I could not find relevant code in SLES kernel which does that. In the hypervisor

dw_dmac patches

2013-01-07 Thread Andy Shevchenko
Hi, Vinod. I noticed you missed the 3.8 merge window and I can't see any of my recent patches [1] in your next branch. So, what is your plan regarding to them? [1] pick 9f2b870 dw_dmac: call .probe after we have a device in place pick 5bcd7fe dw_dmac: absence of pdata isn't critical when autocfg

Re: [PATCH v4] lib: cpu_rmap: avoid flushing all workqueues

2013-01-07 Thread Amir Vadai
On 02/01/2013 23:52, David Decotigny wrote: In some cases, free_irq_cpu_rmap() is called while holding a lock (eg. rtnl). This can lead to deadlocks, because it invokes flush_scheduled_work() which ends up waiting for whole system workqueue to flush, but some pending works might try to acquire

Re: [PATCH v4] lib: cpu_rmap: avoid flushing all workqueues

2013-01-07 Thread Amir Vadai
On 02/01/2013 23:52, David Decotigny wrote: In some cases, free_irq_cpu_rmap() is called while holding a lock (eg. rtnl). This can lead to deadlocks, because it invokes flush_scheduled_work() which ends up waiting for whole system workqueue to flush, but some pending works might try to acquire

Re: [PATCH v4 14/18] perf tools: add new mem command for memory access profiling

2013-01-07 Thread Stephane Eranian
On Wed, Jan 2, 2013 at 3:16 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:44PM +0100, Stephane Eranian wrote: This new command is a wrapper on top of perf record and perf report to make it easier to configure for memory access profiling. To record loads: $ perf mem -t

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Jan Beulich
On 07.01.13 at 13:52, Daniel Kiper daniel.ki...@oracle.com wrote: On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: On 04.01.13 at 18:25, Daniel Kiper daniel.ki...@oracle.com wrote: Right, so where is virtual mapping of control page established? I could not find relevant code in

Re: [ANNOUNCE] 3.7-nohz1

2013-01-07 Thread Paul E. McKenney
On Sat, Jan 05, 2013 at 12:42:53AM +0100, Frederic Weisbecker wrote: 2012/12/30 Paul E. McKenney paul...@linux.vnet.ibm.com: On Mon, Dec 24, 2012 at 12:43:25AM +0100, Frederic Weisbecker wrote: 2012/12/21 Steven Rostedt rost...@goodmis.org: On Thu, 2012-12-20 at 19:32 +0100, Frederic

Re: [PATCH v4 14/18] perf tools: add new mem command for memory access profiling

2013-01-07 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 02:04:58PM +0100, Stephane Eranian wrote: On Wed, Jan 2, 2013 at 3:16 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:44PM +0100, Stephane Eranian wrote: This new command is a wrapper on top of perf record and perf report to make it easier to

Re: [PATCH v4 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Stephane Eranian
On Wed, Jan 2, 2013 at 3:07 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:35PM +0100, Stephane Eranian wrote: Ensure we grab the weight from raw sample struct and that we can dump it via perf report -D. Signed-off-by: Stephane Eranian eran...@google.com ---

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Vineet Gupta
On Wednesday 07 November 2012 07:46 PM, Arnd Bergmann wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: +static struct platform_device arc_uart##n##_dev = {\ + .name = arc-uart, \ + .id = n,\ +

Re: linux-3.7.1: OOPS in page_lock_anon_vma

2013-01-07 Thread Martin Mokrejs
Hi Hilf, thank you for your answer on this albeit I am not sure I understood your point well. Hillf Danton wrote: Hello Martin On Mon, Jan 7, 2013 at 6:59 AM, Martin Mokrejs mmokr...@fold.natur.cuni.cz wrote: time to time. With ondemand governor I had cores in C7 for 50-70% of the

Re: [PATCH] [media] coda: Fix build due to iram.h rename

2013-01-07 Thread Uwe Kleine-König
Hello Fabio, On Mon, Jan 07, 2013 at 08:16:02AM -0200, Fabio Estevam wrote: Hi Sascha, On Mon, Jan 7, 2013 at 8:03 AM, Sascha Hauer s.ha...@pengutronix.de wrote: commit c045e3f13 (ARM: imx: include iram.h rather than mach/iram.h) changed the location of iram.h, which causes the

Re: [PATCH v4 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Jiri Olsa
On Mon, Jan 07, 2013 at 02:10:20PM +0100, Stephane Eranian wrote: On Wed, Jan 2, 2013 at 3:07 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:35PM +0100, Stephane Eranian wrote: Ensure we grab the weight from raw sample struct and that we can dump it via perf report -D.

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Steven Rostedt
On Mon, 2013-01-07 at 15:28 +0530, Viresh Kumar wrote: Hi Tejun, On 4 January 2013 20:39, Tejun Heo t...@kernel.org wrote: I don't know either. Changing behavior subtly like this is hard. I usually try to spot some problem cases and try to identify patterns there. Once you identify a

Re: [PATCH 01/17] ARM: shmobile: fix memory size for kota2_defconfig

2013-01-07 Thread Arnd Bergmann
On Monday 07 January 2013, Simon Horman wrote: I have my kota2 board up and running now and I believe that the correct value is 0x1e00. I will apply a patch to my defconfigs branch accordingly. Ok, thanks! Should we mark that patch for stable backports? Arnd -- To unsubscribe

Re: [PATCH 2/2] arm: make return_address available for ARM_UNWIND

2013-01-07 Thread Steven Rostedt
On Fri, 2013-01-04 at 17:45 +0900, Keun-O Park wrote: With CFLAGS_REMOVE_unwind.o = -pg and with CONFIG_PROVE_LOCKING turned on, I confirmed that there's no trace output like Steve mentioned. However, if I turn off CONFIG_PROVE_LOCKING, irqsoff and preemptirqsoff ftracer prints these lines :

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-07 Thread Arnd Bergmann
On Monday 07 January 2013, Vineet Gupta wrote: On Wednesday 07 November 2012 07:46 PM, Arnd Bergmann wrote: On Wednesday 07 November 2012, Vineet Gupta wrote: (1) Although I don't need the container fpga I'm forced to - because of_platform_populate( ) - of_match_node( ) expects the @match

Re: [PATCH RESEND v1 00/16] vfs: hot data tracking

2013-01-07 Thread Zhi Yong Wu
hi, any comments? Some graphs are generated based on the following benchmark data. 1. fs_mark test https://github.com/wuzhy/perf_report/commit/8dbc7a00d280d7d7e625e336aac57391fa3e422c 2. ffsb test 1.) large_file_create

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-07 Thread Ian Campbell
On Mon, 2013-01-07 at 12:34 +, Daniel Kiper wrote: I think that new kexec hypercall function should mimics kexec syscall. We want to have an interface can be used by non-Linux domains (both dom0 and domU) as well though, so please bear this in mind. Historically we've not always been good

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