Re: [PATCHv2] edd: support original Phoenix EDD 3.0 information

2015-05-21 Thread Hannes Reinecke
On 05/21/2015 09:39 AM, Hannes Reinecke wrote: The original Phoenix EDD 3.0 specification (as found in eg http://mbldr.sourceforge.net/specsedd30.pdf) has a device path length of 36, not 44. All the other fields are identical, so we can trivially support both formats. Cc: Paul Bolle

Re: [PATCH v8 07/16] drivers: reset: Add STM32 reset driver

2015-05-21 Thread Maxime Coquelin
2015-05-21 1:45 GMT+02:00 Andreas Färber afaer...@suse.de: Am 09.05.2015 um 09:53 schrieb Maxime Coquelin: +static const struct of_device_id stm32_reset_dt_ids[] = { + { .compatible = st,stm32-rcc, }, + { /* sentinel */ }, +}; +MODULE_DEVICE_TABLE(of, sstm32_reset_dt_ids); Typo.

Re: [PATCH 08/10] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-19 10:57 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: Add pinctrl and GPIO node to mt8135-evbp1.dts. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com Acked-by: Linus Walleij

Re: [PATCH 10/10] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
2015-05-19 11:02 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Yingjoe Chen yingjoe.c...@mediatek.com Add pinctrl,GPIO and EINT node to mt8127.dtsi. Signed-off-by: Yingjoe Chen

Re: [PATCH 4/5] phy: cygnus: pcie: Add Cygnus PCIe PHY support

2015-05-21 Thread Paul Bolle
On Tue, 2015-05-19 at 18:23 -0700, Ray Jui wrote: --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig +config PHY_CYGNUS_PCIE + bool Broadcom Cygnus PCIe PHY driver + depends on ARCH_BCM_CYGNUS + select GENERIC_PHY + select PHY_IPROC_MDIO + default ARCH_BCM_CYGNUS +

[PATCH] mtd: blktrans: change blktrans_getgeo return value

2015-05-21 Thread Wenlin Kang
Modify function blktrans_getgeo()'s return value to -EOPNOTSUPP when dev-tr-getgeo == NULL. We shouldn't make the return value to 0 when dev-tr-getgeo == NULL, because the function blktrans_getgeo() has an output value hd_geometry which is usually used by some application, if return 0, it will

Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-21 Thread Stephan Mueller
Am Donnerstag, 21. Mai 2015, 05:44:08 schrieb Herbert Xu: Hi Herbert, On Wed, May 20, 2015 at 10:03:45PM +0200, Stephan Mueller wrote: @@ -1487,6 +1514,7 @@ unlock: */ static int drbg_uninstantiate(struct drbg_state *drbg) { + cancel_work_sync(drbg-seed_work); This

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-21 Thread Richard Weinberger
On Wed, May 20, 2015 at 9:33 PM, Brian Norris computersforpe...@gmail.com wrote: Hi Wenlin, In the subject: s/rerurn/return/ On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s return value to -ENXIO when dev-tr-getgeo == NULL. We shouldn't

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-21 Thread Wenlin Kang
On 2015年05月21日 15:37, Brian Norris wrote: On Thu, May 21, 2015 at 02:49:38PM +0800, Wenlin Kang wrote: On 2015年05月21日 03:47, nick wrote: On 2015-05-20 03:33 PM, Brian Norris wrote: On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s return value

Re: [PATCH 08/10] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-21 9:53 GMT+02:00 Matthias Brugger matthias@gmail.com: 2015-05-19 10:57 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: Add pinctrl and GPIO node to mt8135-evbp1.dts. Signed-off-by: Hongzhou Yang

Re: [PATCH v2 10/11] arm64: dts: mt8173-evb: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-19 8:11 GMT+02:00 Hongzhou Yang hongzhou.y...@mediatek.com: Add pinctrl and GPIO node to mt8173-evb.dts. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts |8 1 file changed, 8 insertions(+) diff --git

[PATCH V2 0/2] clockevents: Add helpers to verify state of a clockevent device

2015-05-21 Thread Viresh Kumar
Hi Thomas, Some clockevent drivers, once migrated to use per-state callbacks, would need to verify 'state' of the clockevent device in their callbacks or interrupt handler. (Details of these drivers are posted by Thomas earlier: https://lkml.org/lkml/2015/5/20/454) In order to discourage

Re: [PATCH] Documentation: dt: mtd: replace nor-jedec binding with jedec,spi-nor

2015-05-21 Thread Brian Norris
On Thu, May 21, 2015 at 10:01:05AM +0200, Rafał Miłecki wrote: On 21 May 2015 at 09:25, Brian Norris computersforpe...@gmail.com wrote: (trim CC a bit, as this is no longer a DT binding question) On Thu, May 21, 2015 at 09:12:25AM +0200, Rafał Miłecki wrote: On 20 May 2015 at 23:35, Brian

random: Wake up all getrandom(2) callers when pool is ready

2015-05-21 Thread Herbert Xu
On Thu, May 21, 2015 at 09:55:17AM +0200, Stephan Mueller wrote: So, I will create a 2nd wait queue in random.c for uninterruptible waits, change the get_blocking_random_bytes back to void and use wait_event to wait for the initialization. Hold your horses. You don't need a second queue,

Re: [PATCH v6 0/2] kconfig: add xenconfig

2015-05-21 Thread Michal Marek
Dne 21.5.2015 v 02:53 Luis R. Rodriguez napsal(a): From: Luis R. Rodriguez mcg...@suse.com Michal Marek, Xen folks (David Vrabel, Konrad, Ian), which tree should these go through? Not kbuild, if I may ask :). Otherwise people will find me in get_maintainer.pl output and keep CCing me on

Re: [PATCH] pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

2015-05-21 Thread Thierry Reding
On Thu, May 14, 2015 at 02:32:31AM +0200, Javier Martinez Canillas wrote: If the pwm-samsung driver is built as a module, modalias information is not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE() macro to export the OF device ID so the module contains that information.

Re: [Intel-gfx] [RFC PATCH 00/11] drm/i915: Expose OA metrics via perf PMU

2015-05-21 Thread Daniel Vetter
On Thu, May 21, 2015 at 12:17:48AM +0100, Robert Bragg wrote: On Tue, May 19, 2015 at 3:53 PM, Peter Zijlstra pet...@infradead.org wrote: On Fri, May 15, 2015 at 02:07:29AM +0100, Robert Bragg wrote: On Fri, May 8, 2015 at 5:24 PM, Peter Zijlstra pet...@infradead.org wrote: On Thu, May

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-21 Thread Wenlin Kang
On 2015年05月21日 16:05, Brian Norris wrote: On Thu, May 21, 2015 at 09:56:21AM +0200, Richard Weinberger wrote: On Wed, May 20, 2015 at 9:33 PM, Brian Norris computersforpe...@gmail.com wrote: On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s

Re: [PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-21 Thread YH Huang
On Mon, 2015-05-18 at 11:42 +0800, Daniel Kurtz wrote: On Mon, May 11, 2015 at 5:26 PM, YH Huang yh.hu...@mediatek.com wrote: Add display PWM driver support to modify backlight for MT8173/MT6595. Signed-off-by: YH Huang yh.hu...@mediatek.com --- drivers/pwm/Kconfig | 9 ++

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-05-21 Thread Paul Bolle
On Wed, 2015-05-20 at 16:18 +0200, Sascha Hauer wrote: --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig +config MTK_SCPSYS + bool MediaTek SCPSYS Support + depends on ARCH_MEDIATEK || COMPILE_TEST + select REGMAP + select MTK_INFRACFG + help +

Re: [PATCH 1/1] usb: ulpi: ulpi_init should be used in subsys_initcall

2015-05-21 Thread Lu, Baolu
On 05/21/2015 03:33 PM, Heikki Krogerus wrote: On Thu, May 21, 2015 at 01:40:43PM +0800, Lu Baolu wrote: The intention of this change is to fix below kernel panic when USB_ULPI_BUS was configured as buildin. That is actually incorrect. Having the bus build-in does not cause this panic..

[PATCH] book3s_hv_rmhandlers:Pass the correct trap argument to kvmhv_commence_exit

2015-05-21 Thread Gautham R. Shenoy
In guest_exit_cont we call kvmhv_commence_exit which expects the trap number as the argument. However r3 doesn't contain the trap number at this point and as a result we would be calling the function with a spurious trap number. Fix this by copying r12 into r3 before calling kvmhv_commence_exit

Re: [PATCH defconfig] ARM: add ARM_SINGLE_ARMV7M in ARMv7-M defconfigs

2015-05-21 Thread Uwe Kleine-König
Hello, On Thu, May 21, 2015 at 12:38:21AM +0200, Stefan Agner wrote: Select ARM_SINGLE_ARMV7M in defconfigs of the converted ARMv7-M platforms. I assume this relates to your series that introduces this symbol. Should the defconfig update happen before? (Or what is the result if

[PATCH v2 6/7] Watchdog: introduce ARM SBSA watchdog driver

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org This driver bases on linux kernel watchdog framework, and use pretimeout in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout(WS0), the interrupt routine run panic to save system context.

[PATCH v2 2/7] Documentation: add sbsa-gwdt.txt documentation

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Signed-off-by: Fu Wei fu@linaro.org --- .../devicetree/bindings/watchdog/sbsa-gwdt.txt | 36

Re: [PATCH 2/3] MTD: spi-nor: check for short writes in spi_nor_write.

2015-05-21 Thread Michal Suchanek
On 21 May 2015 at 01:38, Brian Norris computersforpe...@gmail.com wrote: + linux-spi, Mark On Thu, Apr 30, 2015 at 03:38:50PM +0200, Michal Suchanek wrote: My SPI controller driver does not support DMA so writes are truncated to FIFO size. Which SPI master driver? I am using sunxi SPI

Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-21 Thread Li, ZhenHua
Hi Baoquan, During driver being loaded and initialized, when there is a new dma request, the function __get_valid_domain_for_dev is called, and then new page is mapped. Please check this: struct dma_map_ops intel_dma_ops = { .alloc = intel_alloc_coherent, .free =

Re: [PATCH v8 4/9] mfd: Add binding document for NVIDIA Tegra XUSB

2015-05-21 Thread Lee Jones
On Wed, 20 May 2015, Thierry Reding wrote: On Wed, May 20, 2015 at 07:35:51AM +0100, Lee Jones wrote: On Tue, 19 May 2015, Andrew Bresticker wrote: On Thu, May 14, 2015 at 10:38 AM, Andrew Bresticker abres...@chromium.org wrote: On Thu, May 14, 2015 at 12:40 AM, Lee Jones

Re: [PATCH v2 3/7] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-05-21 Thread Arnd Bergmann
On Thursday 21 May 2015 16:32:32 fu@linaro.org wrote: + watchdog0: watchdog@2a45 { + compatible = arm,sbsa-gwdt; + reg = 0x0 0x2a45 0 0x1, + 0x0 0x2a44 0 0x1; + reg-names = refresh, +

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-21 Thread Brian Norris
On Thu, May 21, 2015 at 02:49:38PM +0800, Wenlin Kang wrote: On 2015年05月21日 03:47, nick wrote: On 2015-05-20 03:33 PM, Brian Norris wrote: On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s return value to -ENXIO when dev-tr-getgeo == NULL. We

Re: [PATCH 2/5] phy: iproc-mdio: Initial iProc MDC/MDIO support

2015-05-21 Thread Paul Bolle
On Tue, 2015-05-19 at 18:23 -0700, Ray Jui wrote: --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig +config PHY_IPROC_MDIO + bool Broadcom iProc MDC/MDIO driver + depends on ARCH_BCM_IPROC + default ARCH_BCM_IPROC + help + Enable this to support the iProc generic

Re: 4.1-rc4 display-port on radeon not working

2015-05-21 Thread Malte Schröder
On 05/21/15 00:04, Alex Deucher wrote: On Wed, May 20, 2015 at 12:57 PM, Malte Schröder ma...@tnxip.de wrote: On 05/20/15 17:37, Alex Deucher wrote: On Tue, May 19, 2015 at 6:03 PM, Malte Schröder ma...@tnxip.de wrote: Hi, with 4.1-rc display-port on my Tahiti XT stopped working. I used the

Re: [PATCH v2 09/11] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
2015-05-19 8:11 GMT+02:00 Hongzhou Yang hongzhou.y...@mediatek.com: From: Yingjoe Chen yingjoe.c...@mediatek.com Add pinctrl,GPIO and EINT node to mt8127.dtsi. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com ---

linux-next: build failure after merge of the driver-core tree

2015-05-21 Thread Stephen Rothwell
Hi Greg, After merging the driver-core tree, today's linux-next build (powerpc allnoconfig) failed like this: drivers/base/dd.c: In function 'driver_allows_async_probing': drivers/base/dd.c:430:31: error: dereferencing pointer to incomplete type if (drv-owner drv-owner-async_probe_requested)

Re: [PATCH v4 0/3] Compile-time stack frame pointer validation

2015-05-21 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, May 20, 2015 at 9:25 AM, Josh Poimboeuf jpoim...@redhat.com wrote: On Wed, May 20, 2015 at 09:03:37AM -0700, Andy Lutomirski wrote: I've never quite understood what the '?' means. It basically means here's a function

Re: [PATCH v2 2/3] fbcon: use the cursor blink interval provided by vt

2015-05-21 Thread Thierry Reding
On Wed, May 20, 2015 at 09:26:38PM -0700, Greg Kroah-Hartman wrote: On Wed, May 20, 2015 at 02:36:17PM +0200, Thierry Reding wrote: On Tue, May 19, 2015 at 04:41:12PM -0700, Greg Kroah-Hartman wrote: On Tue, May 19, 2015 at 11:52:29PM +0200, Thierry Reding wrote: On Tue, May 19, 2015 at

Re: [PATCH] Documentation: dt: mtd: replace nor-jedec binding with jedec,spi-nor

2015-05-21 Thread Rafał Miłecki
On 21 May 2015 at 09:25, Brian Norris computersforpe...@gmail.com wrote: (trim CC a bit, as this is no longer a DT binding question) On Thu, May 21, 2015 at 09:12:25AM +0200, Rafał Miłecki wrote: On 20 May 2015 at 23:35, Brian Norris computersforpe...@gmail.com wrote: On Tue, May 19, 2015 at

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-21 Thread Brian Norris
On Thu, May 21, 2015 at 09:56:21AM +0200, Richard Weinberger wrote: On Wed, May 20, 2015 at 9:33 PM, Brian Norris computersforpe...@gmail.com wrote: On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s return value to -ENXIO when dev-tr-getgeo ==

Re: [PATCH v2 11/11] ARM: dts: mt8135-evbp1: Add pinctrl/GPIO node for mt6397.

2015-05-21 Thread Matthias Brugger
2015-05-19 8:11 GMT+02:00 Hongzhou Yang hongzhou.y...@mediatek.com: Add pinctrl and GPIO node to mt8135-evbp1.dts. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com --- arch/arm/boot/dts/mt8135-evbp1.dts |8 1 file changed, 8 insertions(+) diff --git

[PATCH V2 2/2] clockevents: Use helpers to verify state of a clockevent device

2015-05-21 Thread Viresh Kumar
Use accessor functions to verify state of clockevent devices in core code. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- kernel/time/clockevents.c| 24 kernel/time/tick-broadcast.c | 6 +++--- kernel/time/tick-common.c| 2 +-

[PATCH V2 1/2] clockevents: Add helpers to verify state of a clockevent device

2015-05-21 Thread Viresh Kumar
Some clockevent drivers, once migrated to use per-state callbacks, would need to verify 'state' of the clockevent device in their callbacks or interrupt handler. Add accessor functions clockevent_state_*() to get this information. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH 4/4] Staging: lustre: sparse lock warning fix

2015-05-21 Thread AdrianRemonda
On Tue, May 19, 2015 at 12:21:15AM +0300, Dan Carpenter wrote: On Mon, May 18, 2015 at 08:34:51PM +0200, Adrian Remonda wrote: Fixed sparse warning: context imbalance in 'nrs_resource_put_safe' - 'different lock contexts for basic block' by releasing the lock on each iteration of the for

Re: [PATCH] Documentation: dt: mtd: replace nor-jedec binding with jedec,spi-nor

2015-05-21 Thread Rafał Miłecki
On 21 May 2015 at 10:15, Brian Norris computersforpe...@gmail.com wrote: On Thu, May 21, 2015 at 10:01:05AM +0200, Rafał Miłecki wrote: On 21 May 2015 at 09:25, Brian Norris computersforpe...@gmail.com wrote: (trim CC a bit, as this is no longer a DT binding question) On Thu, May 21, 2015

Re: [Patch v6 2/2] dmaengine: Add ADM driver

2015-05-21 Thread Archit Taneja
Hi, On 03/17/2015 11:16 AM, Andy Gross wrote: Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA controller found in the MSM8x60 and IPQ/APQ8064 platforms. The ADM supports both memory to memory transactions and memory to/from peripheral device transactions. The

Re: [PATCH 1/3] MTD: m25p80: fix write return value.

2015-05-21 Thread Michal Suchanek
Hello, On 21 May 2015 at 01:45, Brian Norris computersforpe...@gmail.com wrote: On Thu, Apr 30, 2015 at 03:33:47PM +0200, Michal Suchanek wrote: The 'retlen' points to a variable representing the number of data bytes written/read (see include/linux/mtd/mtd.h) by the current invocation of the

[PATCH v2 4/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Signed-off-by: Fu Wei fu@linaro.org --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 11 +++ 1 file changed, 11

[PATCH v2 5/7] Watchdog: introduce pretimeout into framework

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API watchdog_init_timeouts. Reasons: (1)kernel already has two watchdog drivers are using pretimeout:

Re: [PATCH 4/4] arm64: gicv3: its: Increase FORCE_MAX_ZONEORDER for Cavium ThunderX

2015-05-21 Thread Marc Zyngier
On 20/05/15 17:48, Catalin Marinas wrote: On Wed, May 20, 2015 at 02:31:59PM +0200, Robert Richter wrote: On 20.05.15 13:22:13, Marc Zyngier wrote: On Tue, 12 May 2015 18:24:16 +0100 Will Deacon will.dea...@arm.com wrote: On Tue, May 12, 2015 at 05:20:49PM +0100, Robert Richter wrote: On

[PATCH v2 3/7] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Signed-off-by: Fu Wei fu@linaro.org --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++ 1 file changed, 10

Re: btrfs: kernel BUG at mm/page-writeback.c:2286!

2015-05-21 Thread Govindarajulu Varadarajan
On Tue, 19 May 2015, Josef Bacik wrote: On 05/19/2015 03:55 AM, Govindarajulu Varadarajan wrote: Hi all I am seeing the following crash on my btrfs filesystem with nfs export. If I disable the nfs share and reboot, I do not hit the crash. Look like the crash happens on btrfs with nfs export.

Re: [Linaro-acpi] [PATCH v2 0/7] Watchdog: introduce ARM SBSA watchdog driver

2015-05-21 Thread Arnd Bergmann
On Thursday 21 May 2015 16:32:29 fu@linaro.org wrote: This patchset: (1)Export arch_timer_get_rate in arm_arch_timer.c for the other drivers, like SBSA watchdog driver (2)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic

[PATCHv2] edd: support original Phoenix EDD 3.0 information

2015-05-21 Thread Hannes Reinecke
The original Phoenix EDD 3.0 specification (as found in eg http://mbldr.sourceforge.net/specsedd30.pdf) has a device path length of 36, not 44. All the other fields are identical, so we can trivially support both formats. Cc: Paul Bolle pebo...@tiscali.nl Signed-off-by: Hannes Reinecke

Re: [PATCH v2 4/6] soc: mediatek: Add SMI driver

2015-05-21 Thread Yong Wu
On Thu, 2015-05-21 at 09:30 +0200, Matthias Brugger wrote: 2015-05-21 8:16 GMT+02:00 Yong Wu yong...@mediatek.com: Hi Matthias, Thanks very much for your suggestion. Abort the smi clock name, Could you help check below. The others I will improve in next time. On Tue,

Re: [PATCH v8 01/16] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel

2015-05-21 Thread Maxime Coquelin
2015-05-21 7:40 GMT+02:00 Michal Marek mma...@suse.cz: Dne 21.5.2015 v 07:04 Andreas Färber napsal(a): Am 18.05.2015 um 13:47 schrieb Maxime Coquelin: But this is definitely an improvement for ARMv7-M debugging, Tested-by: Andreas Färber afaer...@suse.de [Hi Michal, ...] could you consider

RE: [PATCH v3] Fix endian issues and remove the board specific codes

2015-05-21 Thread Hn Chen
Hi, Dmitry, Thanks for your comments. Here are my replies for some comments. + fw_id = ((fw_chunk_info.chunk_info.version_number 12) 0xF); + chip_id = (((dev_wdt87xx-sys_param.fw_id) 12) 0xF); + + if (fw_id != chip_id) { + wdt87xx_get_sysparam(client,

[PATCHv3] edd: support original Phoenix EDD 3.0 information

2015-05-21 Thread Hannes Reinecke
The original Phoenix EDD 3.0 specification (as found in eg http://mbldr.sourceforge.net/specsedd30.pdf) has a device path length of 36, not 44. All the other fields are identical, so we can trivially support both formats. Cc: Paul Bolle pebo...@tiscali.nl Signed-off-by: Hannes Reinecke

Re: [PATCH] mtd: cfi: Deiline large functions

2015-05-21 Thread Denys Vlasenko
On 05/20/2015 08:56 PM, Brian Norris wrote: On Mon, May 18, 2015 at 12:58:40PM +0200, Denys Vlasenko wrote: With this .config: http://busybox.net/~vda/kernel_config, after uninlining these functions have sizes and callsite counts as follows: Most of this is probably good, thanks. But I'm

Re: [RFCv4 PATCH 22/34] sched: Calculate energy consumption of sched_group

2015-05-21 Thread Kamalesh Babulal
* Morten Rasmussen morten.rasmus...@arm.com [2015-05-12 20:38:57]: [...] +/* + * cpu_norm_usage() returns the cpu usage relative to a specific capacity, + * i.e. it's busy ratio, in the range [0..SCHED_LOAD_SCALE] which is useful for + * energy calculations. Using the scale-invariant usage

[PATCH] fbcon: Avoid deleting a timer in IRQ context

2015-05-21 Thread Thierry Reding
From: Thierry Reding tred...@nvidia.com Commit 27a4c827c34a (fbcon: use the cursor blink interval provided by vt) unconditionally removes the cursor blink timer. Unfortunately that wreaks havoc under some circumstances. An easily reproducible way is to use both the framebuffer console and a debug

[PATCH RFC] x86, tsc: Allow for high latency in quick_pit_calibrate()

2015-05-21 Thread Adrian Hunter
If it takes longer than 12us to read the PIT counter lsb/msb, then the error margin will never fall below 500ppm within 50ms, and Fast TSC calibration will always fail. This patch detects when that will happen and switches to using a slightly different algorithm that takes advantage of the PIT's

Re: [PATCH 10/10] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-21 Thread Matthias Brugger
2015-05-21 9:54 GMT+02:00 Matthias Brugger matthias@gmail.com: 2015-05-19 11:02 GMT+02:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 14, 2015 at 3:35 AM, Hongzhou Yang hongzhou.y...@mediatek.com wrote: From: Yingjoe Chen yingjoe.c...@mediatek.com Add pinctrl,GPIO and EINT node

Re: [PATCH v5 00/10] tracing: 'hist' triggers

2015-05-21 Thread Masami Hiramatsu
Hi Tom, On 2015/05/21 6:19, Tom Zanussi wrote: This is v5 of the 'hist triggers' patchset, following feedback from v4. Changes from v4: This version addresses some problems and suggestions made by Daniel Wagner - a lot of the code was reworked to get rid of the distinction between keys

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-21 Thread Paul Bolle
Just a nit: an unneeded macro. On Wed, 2015-05-20 at 16:18 +0200, Sascha Hauer wrote: --- a/drivers/soc/mediatek/Kconfig +++ b/drivers/soc/mediatek/Kconfig +config MTK_INFRACFG + bool MediaTek INFRACFG Support + depends on ARCH_MEDIATEK + select REGMAP + help + Say

Re: [PATCH] pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

2015-05-21 Thread Javier Martinez Canillas
Hello Thierry, On 05/14/2015 02:37 AM, Krzysztof Kozlowski wrote: On 14.05.2015 09:32, Javier Martinez Canillas wrote: If the pwm-samsung driver is built as a module, modalias information is not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE() macro to export the OF

WARNING: Software Raid 0 on SSD's and discard corrupts data

2015-05-21 Thread Holger Kiehl
Hello, all users using a Software Raid 0 on SSD's with discard should disable discard, if they use any recent kernel since mid-April 2015. The bug was introduced by commit 47d68979cc968535cb87f3e5f2e6a3533ea48fbd and the fix is not yet in Linus tree. The fix can be found here:

Re: linux-next: Tree for May 18 (mm/memory-failure.c)

2015-05-21 Thread Stephen Rothwell
Hi Andrew, On Thu, 21 May 2015 10:17:48 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Wed, 20 May 2015 13:03:20 -0700 Andrew Morton a...@linux-foundation.org wrote: I dropped memory-failure-export-page_type-and-action-result.patch

[PATCH v2 1/7] clocksource: export arch_timer_get_rate for the other drivers

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org Some devices get clock from system counter, like SBSA watchdog driver. They may need to get system counter rate. Signed-off-by: Fu Wei fu@linaro.org --- drivers/clocksource/arm_arch_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: btrfs: kernel BUG at mm/page-writeback.c:2286!

2015-05-21 Thread Govindarajulu Varadarajan
On Tue, 19 May 2015, Piotr Szymaniak wrote: On Tue, May 19, 2015 at 09:43:10AM -0400, Chris Mason wrote: On 05/19/2015 03:55 AM, Govindarajulu Varadarajan wrote: 2286---BUG_ON(!PageLocked(page)); [ 166.769868] BTRFS info (device sdf): no csum found for inode 1154 start 43192320 [

[PATCH v2 7/7] ACPI: import watchdog info of GTDT into platform device

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org Parse SBSA Generic Watchdog Structure in GTDT table of ACPI, and create a platform device with that information. This platform device can be used by the ARM SBSA Generic Watchdog driver. Signed-off-by: Fu Wei fu@linaro.org --- arch/arm64/kernel/acpi.c | 136

[PATCH v2 0/7] Watchdog: introduce ARM SBSA watchdog driver

2015-05-21 Thread fu . wei
From: Fu Wei fu@linaro.org This patchset: (1)Export arch_timer_get_rate in arm_arch_timer.c for the other drivers, like SBSA watchdog driver (2)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of

Re: btrfs: kernel BUG at mm/page-writeback.c:2286!

2015-05-21 Thread Govindarajulu Varadarajan
On Tue, 19 May 2015, Chris Mason wrote: On 05/19/2015 09:54 AM, Piotr Szymaniak wrote: On Tue, May 19, 2015 at 09:43:10AM -0400, Chris Mason wrote: On 05/19/2015 03:55 AM, Govindarajulu Varadarajan wrote: 2286---BUG_ON(!PageLocked(page)); [ 166.769868] BTRFS info (device sdf): no csum

Re: [PATCH] mtd: cfi: Deiline large functions

2015-05-21 Thread Brian Norris
On Thu, May 21, 2015 at 09:50:38AM +0200, Denys Vlasenko wrote: On 05/20/2015 08:56 PM, Brian Norris wrote: On Mon, May 18, 2015 at 12:58:40PM +0200, Denys Vlasenko wrote: With this .config: http://busybox.net/~vda/kernel_config, after uninlining these functions have sizes and callsite

Re: random: Wake up all getrandom(2) callers when pool is ready

2015-05-21 Thread Stephan Mueller
Am Donnerstag, 21. Mai 2015, 16:19:54 schrieb Herbert Xu: Hi Herbert, On Thu, May 21, 2015 at 09:55:17AM +0200, Stephan Mueller wrote: So, I will create a 2nd wait queue in random.c for uninterruptible waits, change the get_blocking_random_bytes back to void and use wait_event to wait for

Re: [PATCH] Documentation: dt: mtd: replace nor-jedec binding with jedec,spi-nor

2015-05-21 Thread Geert Uytterhoeven
Hi Rafal, Brian, On Thu, May 21, 2015 at 10:25 AM, Rafał Miłecki zaj...@gmail.com wrote: On 21 May 2015 at 10:15, Brian Norris computersforpe...@gmail.com wrote: On Thu, May 21, 2015 at 10:01:05AM +0200, Rafał Miłecki wrote: On 21 May 2015 at 09:25, Brian Norris computersforpe...@gmail.com

Re: [PATCH v2 3/7] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-05-21 Thread Fu Wei
Hi Arnd, yes, you are right , will delete it :-) On 21 May 2015 at 16:45, Arnd Bergmann a...@arndb.de wrote: On Thursday 21 May 2015 16:32:32 fu@linaro.org wrote: + watchdog0: watchdog@2a45 { + compatible = arm,sbsa-gwdt; + reg = 0x0 0x2a45 0

Re: [PATCH 7/7] time: Remove read_boot_clock()

2015-05-21 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: From: Xunlei Pang pang.xun...@linaro.org Now we have all the read_boot_clock64() for all implementations, it's time to remove read_boot_clock() completely from the kernel. This sentence does not parse for me. Did you want to say: Now that we

Re: [PATCH 2/2] misc: Add initial Digital Timing Engine (DTE) driver for cygnus

2015-05-21 Thread Richard Cochran
On Wed, May 20, 2015 at 04:38:02PM -0700, Jonathan Richardson wrote: Richard, this design isn't going to work. We need to have both kernel and user space consumers. But you did not implement even a single kernel consumer. We don't want all GPIO's in a common timestamp buffer either, as it

Re: [PATCH soc] ARM: use ARM_SINGLE_ARMV7M for ARMv7-M platforms

2015-05-21 Thread Uwe Kleine-König
On Thu, May 21, 2015 at 12:35:44AM +0200, Stefan Agner wrote: Use the new config symbol ARM_SINGLE_ARMV7M which groups config symbols used by modern ARMv7-M platforms. This allows supporting multiple ARMv7-M platforms in one kernel image. However, a common kernel image requires the combined

Re: Filesystem corruption MD (imsm) Raid0 via 2 SSD's + discard

2015-05-21 Thread Holger Kiehl
On Thu, 21 May 2015, NeilBrown wrote: On Thu, 21 May 2015 01:32:13 +0500 Roman Mamedov r...@romanrm.net wrote: On Wed, 20 May 2015 20:12:31 + (UTC) Holger Kiehl holger.ki...@dwd.de wrote: The kernel I was running when I discovered the problem was 4.0.2 from kernel.org. However, after

Re: [PATCH v2 2/3] perf tools: Get rid of dso__data_fd() from dso__data_size()

2015-05-21 Thread Adrian Hunter
On 20/05/15 19:03, Namhyung Kim wrote: It seems that the dso__data_fd() was needed to find a binary type since open in data_file_size() alone used to fail. But as it can open the dso fine now, the dso__data_fd() can go away. Cc: Adrian Hunter adrian.hun...@intel.com Signed-off-by: Namhyung

[PATCH 3/5] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-05-21 Thread James Liao
This adds the binding documentation for the mmsys, imgsys, vdecsys, vencsys and vencltsys controllers found on Mediatek SoCs. Signed-off-by: James Liao jamesjj.l...@mediatek.com --- .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++

[PATCH v3 2/2] mmc: sdhci-pxav3: use runtime_pm enabled pltfm suspend/resume

2015-05-21 Thread Stefan Agner
Use the runtime_pm enabled platform suspend/resume functions. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mmc/host/sdhci-pxav3.c | 30 +- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c

Re: [PATCH] edd: support original Phoenix EDD 3.0 information

2015-05-21 Thread Paul Bolle
On Thu, 2015-05-21 at 09:18 +0200, Hannes Reinecke wrote: - /* We support only T13 spec */ - if (info-params.device_path_info_length != 44) + /* We support T13 d1572 and the original Phoenix spec */ + if (info-params.device_path_info_length != 44 +

Re: [PATCH 1/2] ARM: dts: exynos4: Remove obsolete MIPI DPHY 'reg' property

2015-05-21 Thread Javier Martinez Canillas
Hello Krzysztof, On Thu, May 21, 2015 at 4:18 AM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: Since e4b3d38088df (phy: exynos-video-mipi: Fix regression by adding support for PMU regmap) the Exynos PMU driver provides regmap to access the MIPI DPHY registers. The MIPI DPHY node uses a

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-21 Thread Heikki Krogerus
ULPI registers it's bus at module_init so if the bus fails to register, the A minor comment: s/it's/its/ module will fail to load and all will be well in the world. However, if the ULPI code is built-in rather than a module, the bus initialization may fail but we'd still try to register

Re: [EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-21 Thread Ingo Molnar
* Maninder Singh maninder...@samsung.com wrote: EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi, From: Maninder Singh maninder...@samsung.com Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait returns non

Re: [PATCH] kvm:Return -ENOMEM directly for the function, kvm_create_lapic

2015-05-21 Thread Ingo Molnar
* Nicholas Krause xerofo...@gmail.com wrote: In order to make code paths easier to read in the function, kvm_create_lapic we return -ENOMEM when unable to allocate memory for a kvm_lapic structure pointer directly. This makes the code easier to read and cleaner then jumping to a goto label

Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-21 Thread Stephan Mueller
Am Donnerstag, 21. Mai 2015, 05:44:08 schrieb Herbert Xu: Hi Herbert, On Wed, May 20, 2015 at 10:03:45PM +0200, Stephan Mueller wrote: @@ -1487,6 +1514,7 @@ unlock: */ static int drbg_uninstantiate(struct drbg_state *drbg) { + cancel_work_sync(drbg-seed_work); This

Re: [PATCH 4/7] tracing: timer: Add deferrable flag to timer_start

2015-05-21 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: From: Badhri Jagan Sridharan bad...@google.com The timer_start event now shows whether the timer is deferrable in case of a low-res timer. The debug_activate function now includes deferrable flag while calling trace_timer_start event. s/now

Re: [PATCH v6 1/2] PCI/MSI: Don't disable MSI/MSI-X at shutdown

2015-05-21 Thread Fam Zheng
On Tue, 05/19 09:58, Bjorn Helgaas wrote: On Tue, May 12, 2015 at 03:03:32PM +0200, Michael S. Tsirkin wrote: d52877c7b1af (pci/irq: let pci_device_shutdown to call pci_msi_shutdown v2) disabled MSI/MSI-X at device shutdown to address a kexec problem. ... Hi Bjorn, I know you're trying

Re: [PATCH 5/7] time: include math64.h in time64.h

2015-05-21 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: From: Xunlei Pang pang.xun...@linaro.org On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem() which needs match64.h, and we want to include time64.h in some s/match64.h math64.h Also, missing comma. Thanks, Ingo -- To

Re: [PATCHv2] coccinelle: api: add vma_pages.cocci

2015-05-21 Thread Michal Marek
Dne 18.5.2015 v 04:25 Julia Lawall napsal(a): On Sun, 17 May 2015, Dmitry Kalinkin wrote: This semantic patch replaces explicit computations of vma page count with explicit function call. Signed-off-by: Dmitry Kalinkin dmitry.kalin...@gmail.com Acked-by: Julia Lawall julia.law...@lip6.fr

Re: [PATCH v3] Fix endian issues and remove the board specific codes

2015-05-21 Thread Dmitry Torokhov
Hi Hn, On Mon, May 11, 2015 at 01:11:39AM +0800, HungNien Chen wrote: Signed-off-by: HungNien Chen hn.c...@weidahitech.com Thank you for making the requested changes. Some more comments below. --- drivers/input/touchscreen/Kconfig | 12 + drivers/input/touchscreen/Makefile |

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-21 Thread Lu, Baolu
On 05/21/2015 05:22 AM, David Cohen wrote: Hi, On Wed, May 20, 2015 at 03:33:26PM -0400, Sasha Levin wrote: ULPI registers it's bus at module_init so if the bus fails to register, the A minor comment: s/it's/its/ module will fail to load and all will be well in the world. However, if the

Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-21 Thread Baoquan He
On 05/21/15 at 09:27am, Li, ZhenHua wrote: Hi Baoquan, In the early version of this patchset, old page tables are used by new kernel. But as discussed, we need to make kernel use new pages when there is a new dma request , so we need to unmap the pages which were mapped in old kernel, and

Re: [PATCH v2 1/3] perf tools: Fix dso__data_read_offset() file opening

2015-05-21 Thread Adrian Hunter
On 20/05/15 19:03, Namhyung Kim wrote: When dso__data_read_offset/addr() is called without prior dso__data_fd() (or other functions which call it internally), it failed to open dso in data_file_size() since its binary type was not identified. However calling dso__data_fd() in

[v6 3/8] iommu, x86: Implement irq_set_vcpu_affinity for intel_ir_chip

2015-05-21 Thread Feng Wu
Implement irq_set_vcpu_affinity for intel_ir_chip. Signed-off-by: Feng Wu feng...@intel.com Reviewed-by: Jiang Liu jiang@linux.intel.com Acked-by: David Woodhouse david.woodho...@intel.com --- arch/x86/include/asm/irq_remapping.h | 5 + drivers/iommu/intel_irq_remapping.c | 35

Re: [PATCH v2 3/3] perf tools: Add dso__data_get/put_fd()

2015-05-21 Thread Adrian Hunter
On 20/05/15 19:03, Namhyung Kim wrote: Using dso__data_fd() in multi-thread environment is not safe since returned fd can be closed and/or reused anytime. So convert it to the dso__data_get/put_fd() pair to protect the access with lock. The original dso__data_fd() is deprecated and kept

[v6 8/8] iommu, x86: Properly handler PI for IOMMU hotplug

2015-05-21 Thread Feng Wu
Return error when inserting a new IOMMU which doesn't support PI if PI is currently in use. Signed-off-by: Feng Wu feng...@intel.com --- drivers/iommu/intel_irq_remapping.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iommu/intel_irq_remapping.c

[v6 6/8] iommu, x86: Setup Posted-Interrupts capability for Intel iommu

2015-05-21 Thread Feng Wu
Set Posted-Interrupts capability for Intel iommu when IR is enabled, clear it when IR is disabled. Signed-off-by: Feng Wu feng...@intel.com --- drivers/iommu/intel_irq_remapping.c | 34 ++ drivers/iommu/irq_remapping.c | 2 ++ drivers/iommu/irq_remapping.h

  1   2   3   4   5   6   7   8   9   10   >