[PATCH 1/2 rebased] serial: imx: remove the DMA wait queue

2014-05-23 Thread Huang Shijie
The DMA wait queue makes the code very complicated: For RX, the @-stop_rx hook does not really stop the RX; For TX, the @-stop_tx hook does not really stop the TX. The above make the imx_shutdown has to wait the RX/TX DMA to be finished. In order to make code more simple, this patch removes

Re: [PATCH 3/4] drm/nouveau: hook up cache sync functions

2014-05-23 Thread Alexandre Courbot
On Mon, May 19, 2014 at 5:46 PM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, May 19, 2014 at 04:10:57PM +0900, Alexandre Courbot wrote: From: Lucas Stach d...@lynxeye.de Signed-off-by: Lucas Stach d...@lynxeye.de [acour...@nvidia.com: make conditional and platform-friendly]

Re: [PATCH 3/4] drm/nouveau: hook up cache sync functions

2014-05-23 Thread Alexandre Courbot
On Mon, May 19, 2014 at 6:31 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Montag, den 19.05.2014, 16:10 +0900 schrieb Alexandre Courbot: From: Lucas Stach d...@lynxeye.de Signed-off-by: Lucas Stach d...@lynxeye.de [acour...@nvidia.com: make conditional and platform-friendly]

Re: [PATCH 1/2] gpio: pcf857x: Avoid calling irq_domain_cleanup twice

2014-05-23 Thread Alexandre Courbot
On Fri, May 23, 2014 at 2:57 PM, George Cherian george.cher...@ti.com wrote: Currently irq_domain_cleanup is called twice if irq_domain_init fails. This causes the following crash. Unable to handle kernel paging request at virtual address 00100104 pgd = c0004000 [00100104] *pgd=

Re: [PATCH 1/8] mmc: sdhci-st: Intial support for ST SDHCI controller

2014-05-23 Thread Srinivas Kandagatla
Hi Pete, On 22/05/14 16:18, Peter Griffin wrote: ifeq ($(CONFIG_CB710_DEBUG),y) CFLAGS-cb710-mmc+= -DDEBUG diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c new file mode 100644 index 000..1790fa7 --- /dev/null +++ b/drivers/mmc/host/sdhci-st.c @@

Re: [PATCH 2/2] serial: imx: disable the receiver ready interrupt for imx_stop_rx

2014-05-23 Thread Dirk Behme
On 23.05.2014 06:32, Huang Shijie wrote: This patch disables the receiver ready interrupt for imx_stop_rx. It reduces the interrupt numbers when the uart is going to close or suspend. Signed-off-by: Huang Shijie b32...@freescale.com --- drivers/tty/serial/imx.c |4 1 files changed,

linux-next: manual merge of the tip tree with the arm64 tree

2014-05-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/arm64/include/asm/thread_info.h between commit 449f81a4da4d (arm64: make a single hook to syscall_trace() for all syscall features) from the arm64 tree and commit 842514849a61 (arm64: Remove TIF_POLLING_NRFLAG) from the tip

Re: [PATCH RFC v5 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-05-23 Thread Tero Kristo
On 05/23/2014 04:34 AM, Mike Turquette wrote: Quoting Sylwester Nawrocki (2014-04-11 05:25:49) +==Assigned clock parents and rates== + +Some platforms require static initial configuration of parts of the clocks +controller. Such a configuration can be specified in a clock consumer node +through

Re: [Lsf] Postgresql performance problems with IO latency, especially during fsync()

2014-05-23 Thread Dave Chinner
On Tue, Apr 29, 2014 at 01:57:14AM +0200, Andres Freund wrote: Hi Dave, On 2014-04-29 09:47:56 +1000, Dave Chinner wrote: ping? I'd replied at http://marc.info/?l=linux-mmm=139730910307321w=2 I missed it, sorry. I've had a bit more time to look at this behaviour now and tweaked it as

Re: [RFC ipsec-next] xfrm: make sha256 icv truncation length RFC-compliant

2014-05-23 Thread Horia Geantă
On 5/22/2014 7:03 PM, Nicolas Dichtel wrote: Le 22/05/2014 17:10, Horia Geanta a écrit : From: Lei Xu lei...@freescale.com Currently the sha256 icv truncation length is set to 96bit while the length is defined as 128bit in RFC4868. This may result in somer errors when working with other IPsec

linux-next: manual merge of the tip tree with the arm64 tree

2014-05-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/arm64/mm/mmu.c between commit a501e32430d4 (arm64: Clean up the default pgprot setting) and 206a2a73a62d (arm64: mm: Create gigabyte kernel logical mappings where possible) from the arm64 tree and commit d7ecbddf4cae (arm64:

Re: [PATCH] mmc: sdhci-dove: use mmc_of_parse() and remove card_tasklet CD handler

2014-05-23 Thread Ulf Hansson
On 23 May 2014 00:16, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: Commit f8ec589b86f6 mmc: sdhci-dove: allow GPIOs to be used for card detection on Dove added a gpio based card detect interrupt handler that was hooked up into card_tasket. Commit 3560db8e247a mmc: sdhci:

Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

2014-05-23 Thread Philippe Rétornaz
Hi Uwe Le 22/05/2014 20:10, Uwe Kleine-König a écrit : [...] Today all imx machines should get their devices from an oftree, so the various functions to add devices started to bitrot. Moreover there is no reason to remove a device once it was successfully added. Note that

Re: v4l2: circular locking between mmap_sem and device mutex

2014-05-23 Thread Hans Verkuil
On 05/23/2014 04:53 AM, Sasha Levin wrote: ping? I've reproduced it and plan to look at it soon. Regards, Hans On 05/05/2014 11:49 AM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel I've stumbled on the following: [

Re: [Patch V2 0/9] I2C ACPI operation region handler support

2014-05-23 Thread Rolf Eike Beer
Lan Tianyu wrote: On 05/20/2014 10:17 PM, Rolf Eike Beer wrote: It may be that I have taken the wrong ACPI files. This is the result of a fresh run of acpidump, together with the most recent dmesg.log, just in case I messed it up. I have check the log. I2C ACPI operation region

Re: [PATCH 2/8] mmc: sdhci-st: STMicroelectronics SDHCI binding documentation.

2014-05-23 Thread Ulf Hansson
On 22 May 2014 17:18, Peter Griffin peter.grif...@linaro.org wrote: This patch adds the device tree binding documentation for ST SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-st driver. Signed-off-by: Peter Griffin

Re: [PATCH 4/4] drm/nouveau: introduce CPU cache flushing macro

2014-05-23 Thread Alexandre Courbot
On Mon, May 19, 2014 at 7:03 PM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, May 19, 2014 at 11:22:11AM +0200, Lucas Stach wrote: Am Montag, den 19.05.2014, 11:02 +0200 schrieb Thierry Reding: On Mon, May 19, 2014 at 04:10:58PM +0900, Alexandre Courbot wrote: Some architectures

Re: [PATCH] arch: cris: arch-v32: drivers: axisflashmap.c: Cleaning up inconsistent NULL checks

2014-05-23 Thread Jesper Nilsson
On Fri, May 23, 2014 at 12:00:09AM +0200, Rickard Strandqvist wrote: Cleaning up inconsistent NULL checks. There is otherwise a risk of a possible null pointer dereference. Was largely found by using a static code analysis program called cppcheck. ... and is a false positive. We can't enter

Re: [PATCH v3 1/2] mmc: tegra: disable UHS modes

2014-05-23 Thread Ulf Hansson
On 22 May 2014 17:55, Andrew Bresticker abres...@chromium.org wrote: Program TEGRA_SDHCI_VENDOR_MISC_CTRL so that UHS modes aren't advertised in SDHCI_CAPABILITIES_1. While the Tegra SDHCI controller does support these modes, they require Tegra-specific tuning and calibration routines which

Re: [PATCH v3 2/2] mmc: tegra: fix reporting of base clock frequency

2014-05-23 Thread Ulf Hansson
On 22 May 2014 17:55, Andrew Bresticker abres...@chromium.org wrote: Tegra SDHCI controllers, by default, report a base clock frequency of 208Mhz in SDHCI_CAPABILTIES which may or may not be equal to the actual base clock frequency. This is because the clock rate is configured by the clock

Re: [PATCH] tools: perf: util: session.c: Cleaning up inconsistent NULL checks

2014-05-23 Thread Jiri Olsa
On Thu, May 22, 2014 at 11:58:36PM +0200, Rickard Strandqvist wrote: Cleaning up inconsistent NULL checks. There is otherwise a risk of a possible null pointer dereference. Was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist

Re: skbuff truesize incorrect.

2014-05-23 Thread Bjørn Mork
David Miller da...@davemloft.net writes: From: Eric Dumazet eric.duma...@gmail.com Date: Thu, 22 May 2014 14:03:21 -0700 On Thu, 2014-05-22 at 13:58 -0700, Eric Dumazet wrote: I would set rx_max (rx_urb_size) to SKB_MAX_HEAD(0) so that you do not use high order allocations. Correction,

Re: [PATCH] Staging: Media: sn9c102: Fixed a pointer declaration coding style issue

2014-05-23 Thread Dan Carpenter
On Thu, May 22, 2014 at 04:11:38PM -0700, Chaitanya wrote: Fixed the ERROR thrown off by checkpatch.pl. Put the error message here, or say what it was. Signed-off-by: Chaitanya Hazarey c...@24.io Could you change your email client so it has your last in the From: header? This patch doesn't

Re: [RFC] drm/nouveau: disable caching for VRAM BOs on ARM

2014-05-23 Thread Alexandre Courbot
On Mon, May 19, 2014 at 7:16 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot: On 05/19/2014 06:57 PM, Lucas Stach wrote: Am Montag, den 19.05.2014, 18:46 +0900 schrieb Alexandre Courbot: This patch is not meant to be merged, but

Re: [RFC PATCH 1/3] mfd: AXP22x: add support for APX221 PMIC

2014-05-23 Thread Boris BREZILLON
Hello Lee On 20/05/2014 09:48, Lee Jones wrote: This patch introduces preliminary support for the X-Powers AXP221 PMIC. The AXP221 is typically used on boards using Allwinner's A31 SoC. At the moment, this driver only exposes regulator devices, but other subdevices. Signed-off-by: Boris

Re: [PATCH v2 00/14] Add Qualcomm SD Card Controller support

2014-05-23 Thread Srinivas Kandagatla
Hi Ulf, I like to get this patches for v3.16, any chance of considering these patches to v3.16 ? --srini On 15/05/14 10:34, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Thankyou everyone for reviewing both RFC and v1 patches. This patch

Re: [PATCH] ASoC: Intel: avoid format string leak to thread name

2014-05-23 Thread Jarkko Nikula
On 05/22/2014 09:43 PM, Kees Cook wrote: This makes sure a format string can never get processed into the worker thread name from the device name. Signed-off-by: Kees Cook keesc...@chromium.org --- sound/soc/intel/sst-baytrail-ipc.c |2 +- sound/soc/intel/sst-haswell-ipc.c |2 +- 2

linux-next: build failure after merge of the tip tree

2014-05-23 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from arch/arm/include/asm/outercache.h:24:0, from arch/arm/include/asm/barrier.h:5, from arch/arm/include/asm/bitops.h:28,

Re: [PATCH 2/5] ARM: tegra: of: add GK20A device tree binding

2014-05-23 Thread Alexandre Courbot
On Tue, May 20, 2014 at 6:14 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 05/19/2014 03:24 AM, Alexandre Courbot wrote: Add the device tree binding documentation for the GK20A GPU used in Tegra K1 SoCs. A few minor nits, but otherwise, Acked-by: Stephen Warren swar...@nvidia.com diff

Re: [PATCH] clk: Neaten clk_summary output

2014-05-23 Thread Geert Uytterhoeven
Hi Mike, On Tue, May 13, 2014 at 2:17 AM, Mike Turquette mturque...@linaro.org wrote: Quoting Geert Uytterhoeven (2014-03-25 04:16:24) From: Geert Uytterhoeven geert+rene...@glider.be - Limit ruler to 80 characters (was: 81), - Widen rate column by 1 for nicer spacing, - Right-align

Re: [PATCH RESEND] mmc: dove: fix missing MACH_DOVE dependency

2014-05-23 Thread Olof Johansson
On Thu, May 22, 2014 at 2:09 AM, Ulf Hansson ulf.hans...@linaro.org wrote: On 19 May 2014 20:02, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: DT-enabled Dove moved over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add

Re: [PATCH 1/2] pinctrl: baytrail: Add back Baytrail-T ACPI ID

2014-05-23 Thread Mika Westerberg
On Thu, May 22, 2014 at 11:50:00PM +0200, Linus Walleij wrote: On Thu, May 15, 2014 at 5:28 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: From: Jin Yao yao@intel.com Now that the x86 dynamic IRQ allocation problem has been resolved with commmit 62a08ae2a576 (genirq:

Re: linux-next: manual merge of the pwm tree with the leds tree

2014-05-23 Thread Thierry Reding
On Thu, May 22, 2014 at 07:24:23PM +1000, Stephen Rothwell wrote: Hi Thierry, Today's linux-next merge of the pwm tree got a conflict in drivers/leds/leds-pwm.c between commit 5f7b03dc2ab5 (leds: leds-pwm: provide a common function to setup a single led-pwm device) from the leds tree and

Re: powerpc: remove checks for CONFIG_BOOK3E_MMU_TLB_STATS

2014-05-23 Thread Paul Bolle
Scott, On Thu, 2014-05-22 at 17:37 -0500, Scott Wood wrote: /home/scott/fsl/git/linux/upstream/arch/powerpc/mm/tlb_low_64e.S: Assembler messages: /home/scott/fsl/git/linux/upstream/arch/powerpc/mm/tlb_low_64e.S:89: Error: unrecognized opcode: `tlb_miss_prolog_stats'

Re: [PATCH 1/8] mmc: sdhci-st: Intial support for ST SDHCI controller

2014-05-23 Thread Ulf Hansson
On 22 May 2014 17:18, Peter Griffin peter.grif...@linaro.org wrote: This platform driver adds initial support for the SDHCI host controller found on STMicroelectronics SoCs. It has been tested on STiH41x b2020 platforms currently. Signed-off-by: Peter Griffin peter.grif...@linaro.org

Re: [PATCH v2] gpio: make of_get_named_gpiod_flags() private

2014-05-23 Thread Linus Walleij
On Fri, May 23, 2014 at 5:34 AM, Alexandre Courbot gnu...@gmail.com wrote: Looks like the world did not break this time. However I noticed that the commit in your tree (and -next) included the changes since v1 in its log. Is it intended? Yeah I copy that into the changelog sometimes. If I

Re: [PATCH 2/4] drm/ttm: introduce dma cache sync helpers

2014-05-23 Thread Thierry Reding
On Fri, May 23, 2014 at 02:49:40PM +0900, Alexandre Courbot wrote: On Mon, May 19, 2014 at 5:33 PM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, May 19, 2014 at 04:10:56PM +0900, Alexandre Courbot wrote: From: Lucas Stach d...@lynxeye.de On arches with non-coherent PCI, I

Re: [PATCH RESEND] mmc: dove: fix missing MACH_DOVE dependency

2014-05-23 Thread Ulf Hansson
On 23 May 2014 09:16, Olof Johansson o...@lixom.net wrote: On Thu, May 22, 2014 at 2:09 AM, Ulf Hansson ulf.hans...@linaro.org wrote: On 19 May 2014 20:02, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: DT-enabled Dove moved over from ARCH_DOVE in mach-dove to MACH_DOVE in

Re: [PATCH] drivers: staging: removing never #def'd BP_PROC_SUPPORT

2014-05-23 Thread Greg Kroah-Hartman
On Mon, Apr 07, 2014 at 01:00:57PM +0200, Jan Moskyto Matejka wrote: BP_PROC_SUPPORT was never defined so removing all the #ifdef'd code including the bp_proc_create() function. Signed-off-by: Jan Moskyto Matejka m...@suse.cz --- drivers/staging/silicom/bpctl_mod.c | 39

Re: [PATCH v2 00/14] Add Qualcomm SD Card Controller support

2014-05-23 Thread Ulf Hansson
On 23 May 2014 09:13, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: Hi Ulf, I like to get this patches for v3.16, any chance of considering these patches to v3.16 ? I promise to have them properly reviewed early next week, sorry for taking so long. Let's see where this leads us.

Re: [PATCH] DWC2: intializes the spin_lock earlier in the probe

2014-05-23 Thread Jean-Jacques Hiblot
My mistake. It actually comes not from the mainline but from the altera tree. Sorry for the noise 2014-05-22 20:48 GMT+02:00 Paul Zimmerman paul.zimmer...@synopsys.com: From: Jean-Jacques Hiblot [mailto:jjhib...@traphandler.com] Sent: Thursday, May 22, 2014 5:10 AM The spinlock hsotg-lock is

Re: [RFC ipsec-next] xfrm: make sha256 icv truncation length RFC-compliant

2014-05-23 Thread Nicolas Dichtel
Le 23/05/2014 08:28, Horia Geantă a écrit : On 5/22/2014 7:03 PM, Nicolas Dichtel wrote: Le 22/05/2014 17:10, Horia Geanta a écrit : From: Lei Xu lei...@freescale.com Currently the sha256 icv truncation length is set to 96bit while the length is defined as 128bit in RFC4868. This may result

Re: [PATCH v2 00/14] Add Qualcomm SD Card Controller support

2014-05-23 Thread Srinivas Kandagatla
On 23/05/14 08:50, Ulf Hansson wrote: On 23 May 2014 09:13, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: Hi Ulf, I like to get this patches for v3.16, any chance of considering these patches to v3.16 ? I promise to have them properly reviewed early next week, sorry for taking

Re: [PATCHv2 00/14] perf tools: Speedup DWARF unwind

2014-05-23 Thread Jiri Olsa
ping ;-) thanks, jirka On Thu, May 15, 2014 at 07:23:21PM +0200, Jiri Olsa wrote: hi, trying to speedup DWARF unwind report code by factoring related code: - caching sample's registers access - keep dso data file descriptor open for the life of the dso object - replace dso cache

Re: [RFC PATCH 00/16] OMAP: GPMC: Restructure OMAP GPMC driver (NAND) : DT binding change proposal

2014-05-23 Thread Roger Quadros
Ezequiel Javier, On 05/22/2014 05:46 PM, Ezequiel Garcia wrote: On 22 May 01:51 PM, Javier Martinez Canillas wrote: On Thu, May 22, 2014 at 10:12 AM, Roger Quadros rog...@ti.com wrote: On 21 May 02:20 PM, Roger Quadros wrote: For DT boot: - The GPMC controller node should have a chip

Re: [PATCH 01/22] serial: 8250_dw: Add optional reset control support

2014-05-23 Thread Arnd Bergmann
On Friday 23 May 2014 15:51:04 Chen-Yu Tsai wrote: p-regshift = val; + data-rst = devm_reset_control_get_optional(p-dev, NULL); + /* clock got configured through clk api, all done */ if (p-uartclk) return 0; @@ -362,6 +366,9 @@ static

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-23 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/20/2014 05:19 PM, Serge Hallyn wrote: Quoting Andy Lutomirski (l...@amacapital.net): On May 15, 2014 1:26 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Richard Weinberger (rich...@nod.at): Am 15.05.2014 21:50, schrieb Serge Hallyn:

Re: [RFC] Tux3 for review

2014-05-23 Thread Daniel Phillips
Hi Dongsu, On Thursday, May 22, 2014 2:52:27 AM PDT, Dongsu Park wrote: First of all, thank you for trying to merge it to mainline. Maybe I cannot say the code is clean enough, but basically the filesystem seems to work at least. Thank you for confirming that. We test Tux3 extensively so we

[PATCH] staging: usbip: use kcalloc instead of kzalloc for array allocations

2014-05-23 Thread Djordje Zekovic
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Djordje Zekovic d...@zeko.me --- drivers/staging/usbip/stub_tx.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support

2014-05-23 Thread Tomi Valkeinen
On 08/05/14 23:16, Marek Belisko wrote: This patch add support for lcd display on gta04 board. Display control is connected to spi (used spi bitbang driver). Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 87

[PATCH 14/22] clk: sunxi: Add A23 APB0 support to sun6i-a31-apb0-clk

2014-05-23 Thread Chen-Yu Tsai
The A23 has an almost identical PRCM clock tree. The difference in the APB0 clock is the smallest divisor is 1, instead of 2. This patch extends the sun6i-a31-apb0-clk driver to take divider tables associated to compatibles, and adds a compatible for the A23 variant. Signed-off-by: Chen-Yu Tsai

[PATCH 06/22] clk: sunxi: Support factor clocks with N multiplier factor starting from 1

2014-05-23 Thread Chen-Yu Tsai
The PLLs on newer Allwinner SoC's, such as the A31 and A23, have a N multiplier factor that starts from 1, not 0. This patch adds an option to the clock driver's config data structures to define the difference. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/clk/sunxi/clk-factors.c | 5

[PATCH 15/22] pinctrl: sunxi: Add A23 PIO controller support

2014-05-23 Thread Chen-Yu Tsai
The A23 uses the same pin controller as previous SoC's from Allwinner. Add support for the pins controlled by the main PIO controller. Signed-off-by: Chen-Yu Tsai w...@csie.org --- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 2 + drivers/pinctrl/sunxi/Kconfig |

[PATCH 13/22] clk: sunxi: Add A23 clocks support

2014-05-23 Thread Chen-Yu Tsai
The clock control unit on the A23 is similar to the one found on the A31. The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones on the A31, but some outputs are missing. The main CPU PLL (PLL1) however is like that on older Allwinner SoCs, such as the A10 or A20, but the N

[PATCH 00/21] ARM: sunxi: Introduce Allwinner A23 (sun8i) support

2014-05-23 Thread Chen-Yu Tsai
Hi everyone, This patch series introduces basic kernel support for Allwinner's A23 SoC, which we will call the sun8i platform. This includes basic clocks, timers, interrupts, pinctrl, and UARTs. The series can also be found here: https://github.com/wens/linux/tree/sunxi-a23 The A23 is a

[PATCH 03/22] clk: sunxi: add pll6 to sun6i protected clock list

2014-05-23 Thread Chen-Yu Tsai
PLL6 is used by some important but undocumented module, most likely memory related, such as mbus or the actual memory controller. As we do not have a driver for that, add pll6 to the list of protected clocks, so that it won't be disabled and leave us with a non-responsive system. Signed-off-by:

[PATCH 17/22] mfd: sun6i-prcm: Add support for Allwinner A23 PRCM

2014-05-23 Thread Chen-Yu Tsai
The Allwinner A23 SoC has a PRCM unit like the previous A31 SoC. The differences are the AR100 clock can no longer be modified, and the APB0 clock has different divisors. This patch adds a compatible with a modified subdevice list for the A23. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[PATCH 02/22] clk: sunxi: register clock gates with clkdev

2014-05-23 Thread Chen-Yu Tsai
The new important clock protect code requires the clocks be registered with clkdev. This was missing for sunxi_gates type clocks. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/clk/sunxi/clk-sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi/clk-sunxi.c

[PATCH 07/22] clk: sunxi: Fix PLL6 calculation on sun6i

2014-05-23 Thread Chen-Yu Tsai
The N factor for PLL6 counts from 1 to 32, as specified in the A23 manual, and shown in Allwinner's original code. This patch fixes the N factor in the clock driver, as well as the comment describing it. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/clk/sunxi/clk-sunxi.c | 5 +++-- 1

[PATCH 16/22] pinctrl: sunxi: Add A23 R_PIO controller support

2014-05-23 Thread Chen-Yu Tsai
The A23 has a R_PIO pin controller, similar to the one found on the A31 SoC. Add support for the pins controlled by the R_PIO controller. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/pinctrl/sunxi/Kconfig | 4 + drivers/pinctrl/sunxi/Makefile | 1 +

Re: [PATCH v5 00/49] DaVinci: vpif: upgrade with v4l helpers and v4l compliance fixes

2014-05-23 Thread Hans Verkuil
Hi Prabhakar, Thanks for this patch series, it looks good to me and I'll make a pull request for this. I did find a few issues, but they are all pre-existing problems, so they can be fixed in follow-up patches. I'll comment on those in the relevant patches. Since display and capture are so

Re: [PATCH] staging: usbip: use kcalloc instead of kzalloc for array allocations

2014-05-23 Thread Richard Weinberger
On Fri, May 23, 2014 at 12:17 PM, Djordje Zekovic d...@zeko.me wrote: The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Djordje Zekovic d...@zeko.me ---

Re: [GIT PULL] sound branch of STMPE cleanups

2014-05-23 Thread Lee Jones
as seen in linux-next something is screwed up on the immutable branch for STMPE cleanups, can you pull this instead, it is the known tested good version with no compilation regressions. I have no hurry to get this into the GPIO tree anymore, I will push additionall changes to the next merge

[PATCH 08/22] clk: sunxi: Specify number of child clocks for divs clocks

2014-05-23 Thread Chen-Yu Tsai
Currently sunxi_divs_clk_setup assumes the number of child clocks to be the same as the number of clock-output-names, and a maximum of SUNXI_DIVS_MAX_QTY child clocks. On sun6i, PLL6 only has 1 child clock, but the parent would be used as well, thereby also having it's own clock-output-names

[PATCH 10/22] clk: sunxi: Add support for PLL6 pre-divider on AHB1 clock

2014-05-23 Thread Chen-Yu Tsai
On the A31 and A23, the PLL6 input to the AHB1 clock has a 2 bit wide pre-divider. This was verified from the A23 user manual and A31/A23 SDK sources. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/clock/sunxi.txt | 2 ++ drivers/clk/sunxi/clk-sunxi.c

[PATCH 09/22] clk: sunxi: Implement A31 PLL6 as a divs clock for 2x output

2014-05-23 Thread Chen-Yu Tsai
Some clock modules on the A31 use PLL6x2 as one of their inputs. This patch changes the PLL6 implementation for A31 to a divs clock, i.e. clock with multiple outputs that have different dividers. This behavior is consistent with previous SoC's by Allwinner. Signed-off-by: Chen-Yu Tsai

[PATCH 18/22] ARM: sunxi: Introduce Allwinner A23 support

2014-05-23 Thread Chen-Yu Tsai
The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of the IPs found in previous SoCs, notably the A31. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/mach-sunxi/Kconfig | 8 arch/arm/mach-sunxi/sunxi.c | 12 2 files changed, 20 insertions(+)

[PATCH trivial] of: dma: Grammar s/requests/request/, s/used required/required/

2014-05-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- Documentation/devicetree/bindings/dma/dma.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/dma.txt b/Documentation/devicetree/bindings/dma/dma.txt index

[PATCH 22/22] ARM: sun8i: dt: Add Ippo-q8h v5 support

2014-05-23 Thread Chen-Yu Tsai
The Ippo-q8h is a tablet circiut board commonly found in cheap Android tablets with A23 SoCs. There are at least 2 versions of the board, with different peripherals, such as WiFi chips. This patch add supports for v5 of such boards, which has a ESP8089 WiFi chip (not supported) connected to mmc1.

[PATCH 12/22] ARM: sun6i: DT: Add PLL6 pre-divider clock for AHB1 mux input

2014-05-23 Thread Chen-Yu Tsai
On the A31, the PLL6 input to the AHB1 clock has a 2 bit wide pre-divider. This was verified from the A23 user manual and A31/A23 SDK sources. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

Re: [PATCH v2] mm, compaction: properly signal and act upon lock and need_sched() contention

2014-05-23 Thread Vlastimil Babka
On 05/23/2014 04:48 AM, Shawn Guo wrote: On 23 May 2014 07:49, Kevin Hilman khil...@linaro.org wrote: On Fri, May 16, 2014 at 2:47 AM, Vlastimil Babka vba...@suse.cz wrote: Compaction uses compact_checklock_irqsave() function to periodically check for lock contention and need_resched() to

Re: [PATCH v2 1/6] wdt: sunxi: Move restart code to the watchdog driver

2014-05-23 Thread Maxime Ripard
On Thu, May 22, 2014 at 02:12:07PM -0700, Guenter Roeck wrote: On Thu, May 22, 2014 at 10:34:44PM +0200, Maxime Ripard wrote: On Mon, May 19, 2014 at 05:04:22PM +0200, Maxime Ripard wrote: On Thu, May 15, 2014 at 11:11:23AM +0200, Maxime Ripard wrote: On Wed, May 07, 2014 at 02:33:18PM

Re: [PATCH v5 04/49] media: davinci: vpif_display: release buffers in case start_streaming() call back fails

2014-05-23 Thread Hans Verkuil
On 05/16/2014 03:33 PM, Lad, Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch adds support to release the buffer by calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar

[PATCH 04/22] clk: sunxi: move ahb_sdram to protected clock list

2014-05-23 Thread Chen-Yu Tsai
With sunxi_gates clocks registered with clkdev, we can use the protected clocks list to enable the ahb_sdram clock, instead of looking for it and adding CLK_IGNORE_UNUSED inline in the clock setup code. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/clk/sunxi/clk-sunxi.c | 10 --

[PATCH 21/22] ARM: sunxi: Add Allwinner A23 dtsi

2014-05-23 Thread Chen-Yu Tsai
The Allwinner A23 is a tablet oriented SoC with 2 Cortex-A7 cores and a Mali-400MP2 GPU. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun8i-a23.dtsi | 524 +++ 1 file changed, 524 insertions(+) create mode 100644

[PATCH 05/22] clk: sunxi: Fix gate indexing for sun6i-a31-apb0-gates

2014-05-23 Thread Chen-Yu Tsai
sun6i-a31-apb0-gates supports using clock-indices for holes between individual gates. However, the driver passes the number of gates registered in clk_data-clk_num, which of_clk_src_onecell_get uses to recognize the range of valid indices a consumer can use. This patch makes the driver pass the

[PATCH 01/22] serial: 8250_dw: Add optional reset control support

2014-05-23 Thread Chen-Yu Tsai
The Allwinner A31 and A23 SoCs have a reset controller maintaining the UART in reset by default. This patch adds optional reset support to the driver. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt | 1 +

[PATCH 11/22] ARM: sun6i: DT: Add PLL6 multiple outputs

2014-05-23 Thread Chen-Yu Tsai
PLL6 on sun6i has multiple outputs, just like the other sunxi platforms. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[PATCH 20/22] ARM: sun8i: Add SMP support for the Allwinner A23

2014-05-23 Thread Chen-Yu Tsai
The A23 is a dual Cortex-A7. Add the logic to use the IPs used to control the CPU configuration and the CPU power so that we can bring up secondary CPUs at boot. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/mach-sunxi/platsmp.c | 69 +++ 1 file

[PATCH 19/22] ARM: sunxi: Add earlyprintk support using R_UART (sun6i/sun8i)

2014-05-23 Thread Chen-Yu Tsai
sun6i/sun8i have a UART in the RTC block group, which can be used as an early console. This is most useful on sun8i as UART0 is muxed with MMC0, which is not available if we boot from MMC. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10

Re: [PATCH net] bridge: notify user space of fdb port change

2014-05-23 Thread Toshiaki Makita
(2014/05/23 13:59), Jon Maxwell wrote: ... Makita-san, I recoded this using your idea and ran it through a reproducer. It work fine. After some more consideration I agree that setting fdb-dst = source is only required when source != fdb-dst. Thanks for your suggestions. This is the

Re: linux-next: manual merge of the tip tree with the arm64 tree

2014-05-23 Thread Catalin Marinas
On Fri, May 23, 2014 at 07:28:44AM +0100, Stephen Rothwell wrote: diff --cc arch/arm64/include/asm/thread_info.h index 9c086c63f911,7b8e3a2a00fb.. --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@@ -103,12 -99,7 +102,11 @@@ static inline

Re: linux-next: manual merge of the pwm tree with the leds tree

2014-05-23 Thread Alexandre Belloni
On 23/05/2014 at 09:19:41 +0200, Thierry Reding wrote : On Thu, May 22, 2014 at 07:24:23PM +1000, Stephen Rothwell wrote: Hi Thierry, Today's linux-next merge of the pwm tree got a conflict in drivers/leds/leds-pwm.c between commit 5f7b03dc2ab5 (leds: leds-pwm: provide a common

Re: linux-next: build failure after merge of the mmc tree

2014-05-23 Thread Sebastian Hesselbarth
On 05/23/2014 07:32 AM, Stephen Rothwell wrote: After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/mmc/host/sdhci-dove.c: In function 'sdhci_dove_carddetect_irq': drivers/mmc/host/sdhci-dove.c:42:24: error: 'struct sdhci_host' has no member

Re: [PATCH v5 21/49] media: davinci: vpif_display: use SIMPLE_DEV_PM_OPS

2014-05-23 Thread Hans Verkuil
On 05/16/2014 03:33 PM, Lad, Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch uses SIMPLE_DEV_PM_OPS, and drops unneeded members from io_usrs, usrs and makes use of vb2 helepers instead. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

Re: [PATCH v5 3/6] seccomp: introduce writer locking

2014-05-23 Thread Peter Zijlstra
On Thu, May 22, 2014 at 04:05:33PM -0700, Kees Cook wrote: Normally, task_struct.seccomp.filter is only ever read or modified by the task that owns it (current). This property aids in fast access during system call filtering as read access is lockless. Updating the pointer from another task,

[GIT PULL v2] mfd/gpio: New pull request with irq_base removed

2014-05-23 Thread Lee Jones
drivers/mfd/stmpe.c: In function 'stmpe_irq_init': drivers/mfd/stmpe.c:1000:15: error: 'struct stmpe' has no member named 'irq_base' base = stmpe-irq_base; ^ Caused by commit 3ba1d516d5fe (mfd: stmpe: root out static GPIO and IRQ assignments). Some mishap in

RE: skbuff truesize incorrect.

2014-05-23 Thread David Laight
From: Eric Dumazet On Thu, 2014-05-22 at 20:07 +0100, Jim Baxter wrote: I have been investigating a network issue with bursts of network traffic over USB CDC-NCM, the issue is that the kernel is dropping packets because sk_rcvqueues_full() returns true due to skb2-truesize is always

[PATCH 4/4] tile: Update comments for generic idle conversion

2014-05-23 Thread Geert Uytterhoeven
As of commit 0dc8153cfebac68c9523b8852b14f10b31209f08 (tile: Use generic idle loop), this applies to arch_cpu_idle() instead of cpu_idle(). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Chris Metcalf cmetc...@tilera.com --- arch/tile/include/asm/thread_info.h | 2 +- 1 file

[PATCH 3/4] powerpc: Update comments for generic idle conversion

2014-05-23 Thread Geert Uytterhoeven
As of commit 799fef06123f86ff69cf754f996219e6ad1678f8 (powerpc: Use generic idle loop), this applies to arch_cpu_idle() instead of cpu_idle(). Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: linuxppc-...@lists.ozlabs.org ---

[PATCH 0/4] cpuidle: Remove remaining cpu_idle() references

2014-05-23 Thread Geert Uytterhoeven
Hi Thomas, After all architectures were converted to the generic idle framework, commit d190e8195b90bc1e65c494fe08e54e9e581bfd16 (idle: Remove GENERIC_IDLE_LOOP config switch) removed the last caller of cpu_idle(). This series removes the remaining references to the no-longer existing

[PATCH 1/4] idle: Remove cpu_idle() forward declarations

2014-05-23 Thread Geert Uytterhoeven
After all architectures were converted to the generic idle framework, commit d190e8195b90bc1e65c494fe08e54e9e581bfd16 (idle: Remove GENERIC_IDLE_LOOP config switch) removed the last caller of cpu_idle(). The forward declarations in header files were forgotten. Signed-off-by: Geert Uytterhoeven

[PATCH 2/4] cris: Update comments for generic idle conversion

2014-05-23 Thread Geert Uytterhoeven
As of commit 8dc7c5ecd8d0f739728d844ee794c4fae169f9c2 (cris: Use generic idle loop), cris no longer provides cpu_idle(). - On cris-v10, etrax_gpio_wake_up_check() is called from default_idle() instead of cpu_idle(), - On cris-v32, etrax_gpio_wake_up_check() is not called from

Re: [GIT PULL] sound branch of STMPE cleanups

2014-05-23 Thread Linus Walleij
On Fri, May 23, 2014 at 10:32 AM, Lee Jones lee.jo...@linaro.org wrote: Nope, this branch is broken too. I don't think this is a merge error, I think it's programmer error (even the greats make mistakes =:-) ). Yeah you're right :-( :-( Sorry for the mess. In the mean time, it might be

Re: skbuff truesize incorrect.

2014-05-23 Thread Jim Baxter
But although the problem is the same, I believe the driver in question isn't the one I have been looking at recently. The posted code snippet was from the NCM gadget driver (drivers/usb/gadget/f_ncm.c), isn't that right Jim? Yes this is the NCM Gadget driver. Yes, judging by this

Subject: Build regressions/improvements in v3.15-rc6

2014-05-23 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.15-rc6[1] compared to v3.14[2]. Summarized: - build errors: +5/-2 - build warnings: +109/-112 JFYI, when comparing v3.15-rc6[1] to v3.15-rc5[3], the summaries are: - build errors: +1/-3 - build warnings: +31/-37 As

[PATCH] extcon: palmas: Make of_device_id array const

2014-05-23 Thread Krzysztof Kozlowski
Array of struct of_device_id may be be const as expected by of_match_table field. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Graeme Gregory g...@slimlogic.co.uk --- drivers/extcon/extcon-palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: Subject: Build regressions/improvements in v3.15-rc6

2014-05-23 Thread Geert Uytterhoeven
On Fri, 23 May 2014, Geert Uytterhoeven wrote: JFYI, when comparing v3.15-rc6[1] to v3.15-rc5[3], the summaries are: - build errors: +1/-3 + error: initramfs.c: undefined reference to `__stack_chk_guard': = .init.text+0x1528) x86_64-randconfig [1]

Re: [PATCH v2 06/14] mmc: mmci: Qcomm: Add 3 clock cycle delay after register write

2014-05-23 Thread Linus Walleij
On Thu, May 15, 2014 at 11:37 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Most of the Qcomm SD card controller registers must be updated to the MCLK domain so subsequent writes to registers will be ignored until 3 clock cycles have

Re: [PATCH v2 05/14] mmc: mmci: Add register read/write wrappers.

2014-05-23 Thread Linus Walleij
On Thu, May 15, 2014 at 11:36 AM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla srinivas.kandaga...@linaro.org This patch adds wrappers for readl/writel functions used in the driver. The reason for this wrappers is to accommodate SOCs like Qualcomm which has requirement

  1   2   3   4   5   6   7   8   9   10   >