RE: [PATCH] dmaengine: vdma: Add 64 bit addressing support to the driver

2015-08-18 Thread Anurag Kumar Vulisha
Ping? -Original Message- From: Anurag Kumar Vulisha [mailto:anurag.kumar.vuli...@xilinx.com] Sent: Wednesday, August 05, 2015 5:18 PM To: dan.j.willi...@intel.com; vinod.k...@intel.com; Michal Simek; Soren Brinkmann; srikanth.thok...@xilinx.com; maxime.ripard@free- electrons.com;

Re: provide more common DMA API functions V2

2015-08-18 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Tue, 18 Aug 2015 07:38:25 +0200 Christoph Hellwig h...@lst.de wrote: On Mon, Aug 17, 2015 at 02:24:29PM -0700, Andrew Morton wrote: 110254 bytes saved, shrinking the kernel by a whopping 0.17%. Thoughts? Sounds fine to me.

Re: [PATCH] ARM: exynos_defconfig: Enable CROS_EC_PROTO for ChromeOS EC mfd driver

2015-08-18 Thread Krzysztof Kozlowski
On 18.08.2015 16:01, Javier Martinez Canillas wrote: The ChromeOS mfd driver (MFD_CROS_EC) select the CROS_EC_PROTO config symbol because the driver uses some communication helper functions in drivers/platform/chrome/cros_ec_proto.c but other drivers depends on CROS_EC_PROTO instead. Mixing

[PATCH] arm: Adding support for atomic half word exchange

2015-08-18 Thread Sarbojit Ganguly
Ping Since 16 bit half word exchange was not there and MCS based qspinlock by Waiman's xchg_tail() requires an atomic exchange on a half word, here is a small modification to __xchg() code to support the exchange. ARMv6 and lower does not have support for LDREXH, so we need to make sure

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-18 Thread Lucas Stach
Am Dienstag, den 18.08.2015, 09:13 +0100 schrieb Russell King - ARM Linux: On Mon, Aug 17, 2015 at 08:09:17PM -0700, santosh.shilim...@oracle.com wrote: From the logs this seems to be mostly clock related issue for some peripheral. If the bootloader clock enable all hack still exists, may

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-18 Thread Yu Chen
Hi! On 08/18/2015 04:02 PM, Pavel Machek wrote: Hi! A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) Access denied :-( Might need to register for accessing. What HW is this on? Intel Braswell and Broadwell, detail for Broadwell: Platform: MayanCity Processor: 2x

[PATCHi v2] ARM: dts: Fix bootup issue on smdk5250

2015-08-18 Thread Pankaj Dubey
From: Yadwinder Singh Brar yadi.bra...@gmail.com With default config on smdk5250 latest tree throws below message : [2.226049] thermal thermal_zone0: critical temperature reached(224 C),shutting down [2.227840] reboot: Failed to start orderly shutdown: forcing the issue and hangs

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

2015-08-18 Thread Stephen Rothwell
Hi Linus, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/media/i2c/tc358743.c: In function 'tc358743_probe_of': drivers/media/i2c/tc358743.c:1786:22: error: too few arguments to function 'devm_gpiod_get' state-reset_gpio =

Re: [PATCH v2 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-08-18 Thread Huang Shijie
On Mon, Aug 17, 2015 at 10:25:01PM -0500, Han Xu wrote: i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to gf/2 and if bitflip detected, GPMI driver will correct the data to all 0xFF.

[PATCH] platform/chrome: Make CROS_EC_PROTO a user selectable option

2015-08-18 Thread Javier Martinez Canillas
The boolean CROS_EC_PROTO symbol is selected by MFD_CROS_EC but that can cause Kconfig circular dependencies so is better to change the select to a depends on. But in order to be able to change that, the CROS_EC_PROTO symbol has to be one that can be selected by the user. Signed-off-by: Javier

Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register

2015-08-18 Thread Jacek Anaszewski
Hi Vaishali, On 08/18/2015 07:46 AM, Vaishali Thakkar wrote: On Mon, Aug 17, 2015 at 2:02 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: On 17 Aug 2015 13:57, Jacek Anaszewski j.anaszew...@samsung.com wrote: Hi Vaishali, Thanks for the patch. Unfortunately it causes build break. Please

[PATCH] elf-em.h: move EM_MICROBLAZE to the common header

2015-08-18 Thread Mike Frysinger
The linux/audit.h header uses EM_MICROBLAZE in order to define AUDIT_ARCH_MICROBLAZE, but it's only available in the microblaze asm headers. Move it to the common elf-em.h header so that the define can be used on non-microblaze systems. Otherwise we get build errors that EM_MICROBLAZE isn't

[PATCH v7 0/3] Add MediaTek display PWM driver

2015-08-18 Thread YH Huang
This patch series add the use of display PWM driver, documentation and device tree for Mediatek SoCs. The driver is used to support the backlight of the panel. This is based on v4.2-rc1. The clock definitions (CLK_MM_DISP_PWM*) are added by James Liao's patch: clk: mediatek: Add subsystem

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-18 Thread Pavel Machek
Hi! A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) Access denied :-( Might need to register for accessing. What HW is this on? Intel Braswell and Broadwell, detail for Broadwell: Platform: MayanCity Processor: 2x BROADWELL BDX_EP A0 QHPR Chipset: Wellsburg

Re: [PATCH] ARM: exynos_defconfig: Enable CROS_EC_PROTO for ChromeOS EC mfd driver

2015-08-18 Thread Krzysztof Kozlowski
On 18.08.2015 17:05, Javier Martinez Canillas wrote: Hello Krzysztof, On 08/18/2015 09:57 AM, Krzysztof Kozlowski wrote: On 18.08.2015 16:01, Javier Martinez Canillas wrote: The ChromeOS mfd driver (MFD_CROS_EC) select the CROS_EC_PROTO config symbol because the driver uses some

neues Update

2015-08-18 Thread Post Bank
Sehr geehrter Post Bank Kunde, Bitte beachten Sie, dass Ihr online-Banking-Zugang bald ablaeuft. Um diesen Dienst weiterhin nutzen zu koennen, klicken Sie bitte auf den untenstehenden Link um Ihren Zugang manuell mit unserem Sicherheits-Update zu aktualisieren.

Re: [PATCH] acpi, apei, arm64: APEI initial support for aarch64.

2015-08-18 Thread Will Deacon
On Tue, Aug 18, 2015 at 12:19:13AM +0100, Zhang, Jonathan Zhixiong wrote: On 8/17/2015 3:01 AM, Will Deacon wrote: On Fri, Aug 14, 2015 at 01:35:53PM +0100, fu@linaro.org wrote: diff --git a/arch/arm64/include/asm/acpi.h b/arch/arm64/include/asm/acpi.h index a17b623..ced6e25 100644

Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection

2015-08-18 Thread Thomas Gleixner
On Mon, 17 Aug 2015, John Stultz wrote: On Mon, Aug 17, 2015 at 3:04 PM, Thomas Gleixner t...@linutronix.de wrote: On Mon, 17 Aug 2015, John Stultz wrote: From: Shaohua Li s...@fb.com From time to time we saw TSC is marked as unstable in our systems, while Stray '' the CPUs

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-18 Thread Will Deacon
On Tue, Aug 18, 2015 at 02:50:55AM +0100, Michael Ellerman wrote: On Mon, 2015-08-17 at 09:57 +0100, Will Deacon wrote: On Mon, Aug 17, 2015 at 07:15:01AM +0100, Paul E. McKenney wrote: On Mon, Aug 17, 2015 at 02:06:07PM +1000, Michael Ellerman wrote: On Wed, 2015-08-12 at 08:43 -0700,

Re: [BUG/RFC] perf test fails on AMD CPUs

2015-08-18 Thread Borislav Petkov
On Mon, Aug 17, 2015 at 09:06:59AM -0700, Andy Lutomirski wrote: expected course of actions is: 1) CPU hits 'test_function' 2) DB exception is triggered, with RFLAGS.RF=0 3) DB exception handler sets regs-RFLAGS.RF=1 and perf handler triggers irq_work pending work 4) DB

Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug

2015-08-18 Thread Tang Chen
Hi Liu, On 08/17/2015 11:19 AM, Jiang Liu wrote: .. diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b3a1a5d77d92..5d7ad70ace0d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2069,6 +2069,9 @@ config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-18 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 02:02:49AM -0400, Raphaël Beamonte wrote: 2015-08-18 1:44 GMT-04:00 Sudip Mukherjee sudipm.mukher...@gmail.com: I think that will be better, since you are sending the patch for consistent spacing. Actually, going through the bunch of patches, it seems that the

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-18 Thread Alexandre Courbot
On Mon, Aug 17, 2015 at 6:32 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: On Mon, Aug 17, 2015 at 12:47 PM, Alexandre Courbot gnu...@gmail.com wrote: On Thu, Aug 13, 2015 at 4:29 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: Use managed resource functions devm_clk_put and

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-18 Thread Russell King - ARM Linux
On Mon, Aug 17, 2015 at 08:09:17PM -0700, santosh.shilim...@oracle.com wrote: From the logs this seems to be mostly clock related issue for some peripheral. If the bootloader clock enable all hack still exists, may be you can try that out. Another way to debug this is to start disabling

Re: [PATCH] ARM: exynos_defconfig: Enable CROS_EC_PROTO for ChromeOS EC mfd driver

2015-08-18 Thread Javier Martinez Canillas
Hello Krzysztof, On 08/18/2015 10:09 AM, Krzysztof Kozlowski wrote: On 18.08.2015 17:05, Javier Martinez Canillas wrote: Hello Krzysztof, On 08/18/2015 09:57 AM, Krzysztof Kozlowski wrote: On 18.08.2015 16:01, Javier Martinez Canillas wrote: The ChromeOS mfd driver (MFD_CROS_EC) select the

[PATCH v3] mmc: sdhci: also get preset value and driver type for MMC_DDR52

2015-08-18 Thread Jisheng Zhang
commit bb8175a8aa42 (mmc: sdhci: clarify DDR timing mode between SD-UHS and eMMC) added MMC_DDR52 as eMMC's DDR mode to be distinguished from SD-UHS, but it missed setting driver type for MMC_DDR52 timing mode. So sometimes we get the following error on Marvell BG2Q DMP board: [1.559598]

Re: kexec, x86: Need a new e820 type support for kexec

2015-08-18 Thread Baoquan He
Hi Toshi, Sorry for replying late. On 08/06/15 at 07:13pm, Toshi Kani wrote: On Thu, 2015-08-06 at 16:12 +0800, Baoquan He wrote: Hi Toshi, Does this patch work for you? Hi Baoquan, I have tested the patch with both E820_PMEM and E820_PRAM setups, and confirmed it works fine for

[PATCH 2/5] f2fs: fix to cover lock_op for update_inode_page

2015-08-18 Thread Jaegeuk Kim
Previously, update_inode_page is not called under f2fs_lock_op. Instead we should call with f2fs_write_inode. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index

[RFC PATCH 6/7] gpio: omap: move pm runtime in irq_chip.irq_bus_lock/sync_unlock

2015-08-18 Thread Grygorii Strashko
The PM runtime API can't be used in atomic contex on -RT even if it's configured as irqsafe. As result, below error report can be seen when PM runtime API called from IRQ chip's callbacks irq_startup/irq_shutdown/irq_set_type, because they are protected by RAW spinlock: BUG: sleeping function

[PATCH 0/7] gpio: omap: fixes and improvements

2015-08-18 Thread Grygorii Strashko
Hi, This patch series contains set of trivial fixes and improvements, and also patches which fixes wrong APIs usage in atomic context as for -RT as for non-RT kernel. The final goal of this series is to make TI OMAP GPIO driver compatible with -RT kernel as much as possible. Patch 1-4: trivial

[PATCH v3 0/3] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-18 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not

Re: [PATCHv2 4/4] mm: make compound_head() robust

2015-08-18 Thread Michal Hocko
On Mon 17-08-15 18:09:05, Kirill A. Shutemov wrote: Hugh has pointed that compound_head() call can be unsafe in some context. There's one example: CPU0CPU1 isolate_migratepages_block() page_count() compound_head() !!PageTail() ==

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-18 Thread Vaishali Thakkar
On Tue, Aug 18, 2015 at 12:48 PM, Alexandre Courbot gnu...@gmail.com wrote: On Mon, Aug 17, 2015 at 6:32 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: On Mon, Aug 17, 2015 at 12:47 PM, Alexandre Courbot gnu...@gmail.com wrote: On Thu, Aug 13, 2015 at 4:29 PM, Vaishali Thakkar

[PATCH] Revert part of ASoC: tegra: Convert to managed resources

2015-08-18 Thread Vaishali Thakkar
Revert the problematic part of commit 470805eb9f31 (ASoC: tegra: Convert to managed resources). Before this commit, PM cleanup was performed after the component was unregistered. But returning directly will skip PM cleanup. So, to be on safe side it is better to use snd_soc_register_component

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-18 Thread Afzal Mohammed
Hi Murali, On Tue, Aug 18, 2015 at 10:28:20AM +0200, Lucas Stach wrote: Am Dienstag, den 18.08.2015, 09:13 +0100 schrieb Russell King - ARM Linux: It seems to be pointing towards something in the boot loader... Normally, uboot will hook itself into the vectors to report errors, but I

Re: [PATCH v4 1/5] pwm: add the Berlin pwm controller driver

2015-08-18 Thread Russell King - ARM Linux
On Tue, Aug 18, 2015 at 01:53:27PM +0200, Sebastian Hesselbarth wrote: On 08/18/2015 01:38 PM, Antoine Tenart wrote: +val = berlin_pwm_readl(pwm, pwm_dev-hwpwm, BERLIN_PWM_CONTROL); +val = ~BERLIN_PWM_PRESCALE_MASK; +val |= prescale; +berlin_pwm_writel(val, pwm, pwm_dev-hwpwm,

Re: [PATCH 4/5] usb: xhci: stop everything on the first call to xhci_stop

2015-08-18 Thread Mathias Nyman
On 18.08.2015 13:39, Roger Quadros wrote: xhci_stop will be called twice, once for the shared hcd and again for the primary hcd. We stop the XHCI controller in any case so clean up everything on the first call else we can timeout waiting for pending requests to complete. Signed-off-by: Roger

Re: [PATCH] spi: mediatek: fix spi incorrect endian usage and remove redundant clock

2015-08-18 Thread Jonas Gorski
Hi, On Tue, Aug 18, 2015 at 12:53 PM, Leilk Liu leilk@mediatek.com wrote: This patch fixes incorrect endian usage, removes redundant clock in prepare_hardware/unprepare_hardware and revises coding styles. Signed-off-by: Leilk Liu leilk@mediatek.com --- Change in this patch: 1.

[PATCH] Staging: iio: Move evgen interrupt generation to irq_work

2015-08-18 Thread Cristina Opriceana
A more abstract way of handling interrupt generation in the dummy driver is represented by irq_work which substitutes the irq_chip, used to provide an IRQ line number. irq_work runs tasks from hardirq context, but in a NMI-safe environment and deals better with synchronization problems. An

Re: [PATCH v2] HID: gembird: add new driver to fix Gembird JPD-DualForce 2

2015-08-18 Thread Jiri Kosina
On Thu, 13 Aug 2015, Benjamin Tissoires wrote: This gamepad advertise 5 absolute axis while 4 are actually used. The second Z axis shows some garbage, so it has to be ignored by HID. The first Z axis and the Rz one are actually Rx and Ry. Remap them. We could also just remap and ignore the

[PATCH v2 4/6] ARM: dts: qs600: remove unnecessary i2c pinctrl nodes in board file.

2015-08-18 Thread Srinivas Kandagatla
This patch removes unnecessary i2c pinctrl nodes in board file, these are already defined in the soc specific file qcom-apq8064.dtsi. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 9 - 1 file changed, 9 deletions(-)

[PATCH v2 6/6] ARM: dts: qs600: Add SD card detect support.

2015-08-18 Thread Srinivas Kandagatla
This patch adds SD card detect support. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

Re: [PATCH] drivers/hid: Fix debugfs_create_dir's error checking method for hid-core

2015-08-18 Thread Jiri Kosina
On Sat, 15 Aug 2015, Alexander Kuleshov wrote: The debugfs_create_dir() function returns NULL if an error occurs. This patch adds check of the result of the debufs_create_dir() execution in the hid_debug_register(). Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com ---

[PATCH 3/7] gpio: omap: fix omap2_set_gpio_debounce

2015-08-18 Thread Grygorii Strashko
According to TRMs: Required input line stable = (the value of the GPIO_DEBOUNCINGTIME[7:0].DEBOUNCETIME + 1) × 31, where the value of the GPIO_DEBOUNCINGTIME[7:0].DEBOUNCETIME bit field is from 0 to 255. But now omap2_set_gpio_debounce() will calculate debounce time and behave incorrectly in

[RFC PATCH 7/7] gpio: omap: convert to use generic irq handler

2015-08-18 Thread Grygorii Strashko
This patch converts TI OMAP GPIO driver to use generic irq handler instead of chained IRQ handler. This way OMAP GPIO driver will be compatible with RT kernel where it will be forced thread IRQ handler while in non-RT kernel it still will be executed in HW IRQ context. As part of this change the

[PATCH 5/7] gpio: omap: fix clk_prepare/unprepare usage

2015-08-18 Thread Grygorii Strashko
As per CCF documentation (clk.txt) the clk_prepare/unprepare APIs are not allowed in atomic context. But now OMAP GPIO driver uses them while applying debounce settings and as part of PM runtime irqsafe operations: - omap_gpio_debounce() is holding the lock with IRQs off. +

Re: [PATCH v4] iio: magnetometer: add mmc34160 magnetometer driver

2015-08-18 Thread Teodora Baluta
On Mon, Aug 17, 2015 at 09:28:41PM +0200, Peter Meerwald wrote: On Mon, 17 Aug 2015, Teodora Baluta wrote: This patch adds support for the MMC34160 3-axis magnetometer driver. The MMC31460 magnetometer driver uses the same register map as MMC35240 with different specifications for

Re: [PATCH v3 1/5] pwm: add the Berlin pwm controller driver

2015-08-18 Thread Antoine Tenart
Sebastian, On Wed, Aug 12, 2015 at 04:21:16PM +0200, Sebastian Hesselbarth wrote: On 08/12/2015 03:51 PM, Antoine Tenart wrote: Add a PWM controller driver for the Marvell Berlin SoCs. This PWM controller has 4 channels. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com

Re: [PATCH 3/5] usb: xhci: Clear XHCI_STATE_DYING on start

2015-08-18 Thread Mathias Nyman
On 18.08.2015 13:39, Roger Quadros wrote: For whatever reason if XHCI died in the previous instant then it will never recover on the next xhci_start unless we clear the DYING flag. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/usb/host/xhci.c | 3 ++- 1 file changed, 2

[PATCH v4 3/5] ARM: berlin: add a PWM node on the BG2Q

2015-08-18 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2Q device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi

[PATCH v4 1/5] pwm: add the Berlin pwm controller driver

2015-08-18 Thread Antoine Tenart
Add a PWM controller driver for the Marvell Berlin SoCs. This PWM controller has 4 channels. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile | 1 +

[PATCH v4 0/5] ARM: berlin: PWM support

2015-08-18 Thread Antoine Tenart
Hi all, This series adds a driver for the Marvell Berlin PWM controller, which has 4 channels. This has been tested on a BG2Q DMP. Thanks, Antoine Changes since v3: - Use readl_relaxed - Reworked the clk enable / clk disable calls - Removed BERLIN_PWM_DISABLE Changes

[PATCH v2 2/6] clk: berlin: add cpuclk

2015-08-18 Thread Antoine Tenart
Add cpuclk in the Berlin BG2Q clock driver. This clk has a divider fixed to 1. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Acked-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/berlin/bg2q.c| 12 ++-- include/dt-bindings/clock/berlin2q.h | 3 ++- 2

Re: [PATCH v4 1/5] pwm: add the Berlin pwm controller driver

2015-08-18 Thread Sebastian Hesselbarth
On 08/18/2015 01:38 PM, Antoine Tenart wrote: Add a PWM controller driver for the Marvell Berlin SoCs. This PWM controller has 4 channels. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- [...] diff --git

Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register

2015-08-18 Thread Jacek Anaszewski
On 08/18/2015 02:14 PM, Vaishali Thakkar wrote: On Tue, Aug 18, 2015 at 12:57 PM, Jacek Anaszewski j.anaszew...@samsung.com wrote: Hi Vaishali, On 08/18/2015 07:46 AM, Vaishali Thakkar wrote: On Mon, Aug 17, 2015 at 2:02 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: On 17 Aug 2015

Re: [PATCH v2 0/6] ARM: berlin: add cpufreq support

2015-08-18 Thread Viresh Kumar
On Tue, Aug 18, 2015 at 5:16 PM, Antoine Tenart antoine.ten...@free-electrons.com wrote: Hi, This series adds the cpufreq support to the Berlin SoCs, using cpufreq-dt. First, the cpuclk clock is added to the BG2Q clock driver. This clock has a divider fixed to 1, so we use a fixed factor

Re: [PATCH] platform/chrome: Make CROS_EC_PROTO a user selectable option

2015-08-18 Thread Javier Martinez Canillas
Hello Bartlomiej, Thanks a lot for your feedback. On 08/18/2015 02:40 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Tuesday, August 18, 2015 09:15:06 AM Javier Martinez Canillas wrote: The boolean CROS_EC_PROTO symbol is selected by MFD_CROS_EC but that can cause Kconfig circular

[PATCH v4 5/5] ARM: berlin: add a PWM node on the BG2CD

2015-08-18 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2CD device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi

[PATCH v4 4/5] ARM: berlin: add a PWM node on the BG2

2015-08-18 Thread Antoine Tenart
This patch adds a PWM node in the Berlin BG2 device tree, using the newly added Berlin PWM driver. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/berlin2.dtsi

Re: [PATCH] perf: fix confusing messages when not able to read trace events files

2015-08-18 Thread Matt Fleming
On Sun, 16 Aug, at 09:39:12PM, Raphaël Beamonte wrote: If a non-root user tries to specify a trace event and the tracefs files can't be read, it will tell about it in a somewhat cryptic way and as well say that the tracepoint is unknown, which is obvious, since the tracefs files were not read.

[PATCH v2 1/6] clk: berlin: move MAX_CLKS out of drivers/clk/berlin

2015-08-18 Thread Antoine Tenart
Move the MAX_CLKS definition used in the Berlin clock driver outside the driver. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- drivers/clk/berlin/bg2.c | 1 - drivers/clk/berlin/bg2q.c| 1 - include/dt-bindings/clock/berlin2.h | 2 ++

[PATCH v2 6/6] ARM: berlin: register cpufreq-dt

2015-08-18 Thread Antoine Tenart
The Berlin SoCs use cpufreq-dt for cpufreq. Register a platform device. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/mach-berlin/berlin.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-berlin/berlin.c b/arch/arm/mach-berlin/berlin.c index

[PATCH v2 0/6] ARM: berlin: add cpufreq support

2015-08-18 Thread Antoine Tenart
Hi, This series adds the cpufreq support to the Berlin SoCs, using cpufreq-dt. First, the cpuclk clock is added to the BG2Q clock driver. This clock has a divider fixed to 1, so we use a fixed factor clock here. Then register a platform device for cpufreq-dt. I also added the OPP table

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

2015-08-18 Thread Linus Walleij
On Tue, Aug 18, 2015 at 8:57 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Linus, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/media/i2c/tc358743.c: In function 'tc358743_probe_of': drivers/media/i2c/tc358743.c:1786:22: error:

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

2015-08-18 Thread Uwe Kleine-König
Hello Linus, I forgot to add you (and also Stephen) to Cc for my slightly different patch. You can find it at https://patchwork.linuxtv.org/patch/30908/. I just sent you and Stephen a bounce if you want to comment. Best regards Uwe -- Pengutronix e.K. | Uwe

c8sectpfe: Kconfig: select on undefined LIBELF_32

2015-08-18 Thread Valentin Rothberg
Hi Peter, your commit 850a3f7d5911 ([media] c8sectpfe: Add Kconfig and Makefile for the driver) showed up in today's Linux next tree (i.e., next-20150818) adding the following lines of Kconfig code: --- /dev/null +++ b/drivers/media/platform/sti/c8sectpfe/Kconfig @@ -0,0 +1,28 @@ +config

[PATCH v2 3/6] ARM: dts: apq8064-ifc6410: add notify led support.

2015-08-18 Thread Srinivas Kandagatla
This patch adds notify led support on IFC6410, whose trigger can be configured from userspace. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH 2/7] gpio: omap: switch to use platform_get_irq

2015-08-18 Thread Grygorii Strashko
Switch OMAP GPIO driver to use platform_get_irq(), because it is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ, ..) for requesting IRQ resources any more, as they can be not ready yet in case of DT-boot. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com ---

[PATCH 4/7] gpio: omap: protect regs access in omap_gpio_irq_handler

2015-08-18 Thread Grygorii Strashko
The access to HW registers has to be be protected in omap_gpio_irq_handler(), as it may race with code executed on another CPUs. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/gpio/gpio-omap.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH 1/7] gpio: omap: remove wrong irq_domain_remove usage in probe

2015-08-18 Thread Grygorii Strashko
The bank-chip.irqdomain is uninitialized at the moment when irq_domain_remove() is called, so remove this call. Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/gpio/gpio-omap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-omap.c

Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug

2015-08-18 Thread Tang Chen
On 08/18/2015 02:59 PM, Jiang Liu wrote: ... } @@ -739,6 +746,22 @@ void __init init_cpu_to_node(void) if (!node_online(node)) node = find_near_online_node(node); Hi Liu, If cpu-less, memory-less and normal node will all be online anyway, I think we don't

Re: [PATCH 1/5] usb: xhci: lock mutex on xhci_stop

2015-08-18 Thread Mathias Nyman
On 18.08.2015 13:39, Roger Quadros wrote: Else it races with xhci_setup_device Signed-off-by: Roger Quadros rog...@ti.com --- Thanks. Applied, will send forward after 4.3-rc1 -Mathias -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

linux-next: Tree for Aug 18

2015-08-18 Thread Stephen Rothwell
Hi all, Changes since 20150817: Undropped tree: drm-exynos The nfs tree gained a build failure for which I reverted a commit. The v4l-dvb tree lost its build failure. The net-next tree gained a conflict against the net tree and a build failure for which I reverted a commit. The block tree

[PATCH v4 2/5] Documentation: bindings: document the Berlin PWM driver

2015-08-18 Thread Antoine Tenart
Following the addition of a Berlin PWM driver, this patch adds the corresponding documentation. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Documentation/devicetree/bindings/pwm/pwm-berlin.txt | 19

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-18 Thread Lee Jones
On Tue, 18 Aug 2015, Baolin Wang wrote: Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more

[PATCH] net: ipv4: inlining ip_send_check()

2015-08-18 Thread Christophe Leroy
ip_send_check() is a function that does nothing but calling ip_fast_csum() after having zeroed iph-check We get (on PPC) a quite long function for just that, as it requires setting the stack frame, saving volatile regs, restoring them after the call, etc ... c02d3e3c ip_send_check: c02d3e3c:

Re: [Bugfix] x86, irq: Fix a regression caused by commit b5dc8e6c21e7

2015-08-18 Thread Thomas Gleixner
On Mon, 17 Aug 2015, Alex Deucher wrote: On Sun, Aug 9, 2015 at 4:15 AM, Jiang Liu jiang@linux.intel.com wrote: Alex Deucher, Mark Rustad and Alexander Holler reported a regression with the latest v4.2-rc4 kernel, which breaks some SATA controllers. With multi-MSI capable SATA

Re: [PATCH] spi: mediatek: fix spi incorrect endian usage and remove redundant clock

2015-08-18 Thread lei liu
On Tue, 2015-08-18 at 14:19 +0200, Jonas Gorski wrote: Hi, On Tue, Aug 18, 2015 at 12:53 PM, Leilk Liu leilk@mediatek.com wrote: This patch fixes incorrect endian usage, removes redundant clock in prepare_hardware/unprepare_hardware and revises coding styles. Signed-off-by: Leilk

[PATCH v2 5/6] ARM: berlin: dts: add the cpufreq-dt bindings on the BG2CD

2015-08-18 Thread Antoine Tenart
The BG2CD uses cpugreq-dt. Add the corresponding bindings. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index

[PATCH v2 3/6] ARM: berlin: dts: add the cpufreq-dt bindings on the BG2Q

2015-08-18 Thread Antoine Tenart
The BG2Q uses cpugreq-dt. Add the corresponding bindings. The operating points can be updated by the bootloader. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v2 4/6] ARM: berlin: dts: add the cpufreq-dt bindings on the BG2

2015-08-18 Thread Antoine Tenart
The BG2 uses cpugreq-dt. Add the corresponding bindings. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2.dtsi index

Re: [PATCH 5/5] usb: xhci: exit early in xhci_setup_device() if we're halted or dying

2015-08-18 Thread Mathias Nyman
On 18.08.2015 13:39, Roger Quadros wrote: During quick plug/removal of OTG adapter during dual-role testing it can happen that xhci_alloc_device() is called for the newly detected device after the DRD library has called xhci_stop to remove the HCD. If that is the case, just fail early to

Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register

2015-08-18 Thread Vaishali Thakkar
On Tue, Aug 18, 2015 at 12:57 PM, Jacek Anaszewski j.anaszew...@samsung.com wrote: Hi Vaishali, On 08/18/2015 07:46 AM, Vaishali Thakkar wrote: On Mon, Aug 17, 2015 at 2:02 PM, Vaishali Thakkar vthakkar1...@gmail.com wrote: On 17 Aug 2015 13:57, Jacek Anaszewski j.anaszew...@samsung.com

Re: [PATCH v4 0/3] mtd: nand: jz4780: Add NAND and BCH drivers

2015-08-18 Thread Alex Smith
On 27/07/2015 14:50, Alex Smith wrote: Hi, This series adds support for the BCH controller and NAND devices on the Ingenic JZ4780 SoC. Tested on the MIPS Creator Ci20 board. All dependencies are now in mainline so it should be possible to compile test now. This version of the series

Re: [PATCH v5] Report interrupt(s) that caused system wakeup

2015-08-18 Thread Thomas Gleixner
On Tue, 18 Aug 2015, Rafael J. Wysocki wrote: The original point was that if two wakeup interrupts happened at the same time, it would be kind of moot which one was the real wakeup, but now that I think about it, reporting the first one should be enough to catch suprious wakeups anyway. So

[PATCH v2 1/6] ARM: dts: ifc6410: Add pwrseq support for WLAN

2015-08-18 Thread Srinivas Kandagatla
This patch adds pwrseq for WLAN which resets the WLAN just before the SDIO bus is up. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 31 ++ 1 file changed, 31 insertions(+) diff --git

[PATCH v2 2/6] ARM: dts: qs600: add pwrseq support to WLAN

2015-08-18 Thread Srinivas Kandagatla
Add pwrseq support to sdcc4 which would enable a proper reset of WLAN without ugly hacks in the board support file. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 32 + 1 file changed, 32

[PATCH v2 5/6] ARM: dts: qs600: add alias to serial0

2015-08-18 Thread Srinivas Kandagatla
This patch add alias node with serial0. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

[PATCH v3 2/3] gadget: Introduce the usb charger framework

2015-08-18 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from

[PATCH v3 1/3] gadget: Support for the usb charger framework

2015-08-18 Thread Baolin Wang
The usb charger framework is based on usb gadget, and each usb gadget can be one usb charger to set the current limitation. This patch adds a notifier mechanism for usb charger to report to usb charger when the usb gadget state is changed. Also we introduce a callback 'get_charger_type' which

[PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-18 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.

Re: [RFT PATCH] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-08-18 Thread Keerthy
On Tuesday 18 August 2015 03:40 PM, Keerthy wrote: Currently apart from dra7, omap5 and amx3 all the other SoCs are identified using cpu_is_* functions which is not right since they are all SoCs(System on Chips). Hence changing the SoC identificätion code to use soc_is instead of cpu_is and

Re: [PATCH v3 0/3] qcom: Add SMEM MTD parser

2015-08-18 Thread Jonas Gorski
Hi, On Tue, Aug 18, 2015 at 1:47 AM, Mathieu Olivari math...@codeaurora.org wrote: QCOM platforms such as IPQ806x are using SMEM to store their flash layout. This patch set adds the DT nodes required to instanciate SMEM on IPQ806x and add an MTD parser using it. This change is based on the

Re: [PATCH] platform/chrome: Make CROS_EC_PROTO a user selectable option

2015-08-18 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, August 18, 2015 09:15:06 AM Javier Martinez Canillas wrote: The boolean CROS_EC_PROTO symbol is selected by MFD_CROS_EC but that can cause Kconfig circular dependencies so is better to change the select to Could you please give a reference to the problem or error message that

[PATCH v2 0/6] DT: APQ8064 for qcom-dt-next

2015-08-18 Thread Srinivas Kandagatla
Hi Andy, Apologies for the long delay in sending new version of the patches. Here are the new patches with fixes and dropping the MDP and panel related changes. Some dt patches which depend on pmic header dt-bindings/pinctrl/qcom,pmic-gpio.h which is availble in linux-next. Changes since

[PATCHv2 01/19] staging: rtl8192u: r8192U_core: fix switch and case indent code style error

2015-08-18 Thread Raphaël Beamonte
Some switch and case were not be at the same indent level. Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c | 190 - 1 file changed, 95 insertions(+), 95 deletions(-) diff --git

[PATCHv2 07/19] staging: rtl8192u: r8192U_core: clean C99 // comments

2015-08-18 Thread Raphaël Beamonte
Replace C99 // comments by /* comments */ to follow the kernel code style. Remove some unuseful comments. Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c | 636 - 1 file changed, 316 insertions(+), 320

[PATCHv2 05/19] staging: rtl8192u: r8192U_core: fix missing struct leading to consistent spacing code style error

2015-08-18 Thread Raphaël Beamonte
A missing struct keyword in variable declaration triggered a need consistent spacing around '*' code style error. The struct keyword thus has been added everywhere for the rtl8192_rx_info struct, and therefore its typedef removed as not needed anymore. Signed-off-by: Raphaël Beamonte

[PATCH] staging: wilc1000: Set all options in region debugfs file

2015-08-18 Thread Chandra S Gorentla
This patch allows setting all options in the module's debug region options file 'wilc_debug_region'. This functionality allows the user to enable logging from all regions (initialization, locks, firmware etc.) of the driver. Logging from the following regions is enabled during the driver

[PATCHv2 09/19] staging: rtl8192u: r8192U_core: remove return statement of void function

2015-08-18 Thread Raphaël Beamonte
void function return statement was not useful in this case. Signed-off-by: Raphaël Beamonte raphael.beamo...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c

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