Re: [PATCH] ARM: dts: imx5: Add dts files for USB armory.

2015-04-28 Thread Peter Chen
On Mon, Apr 27, 2015 at 03:37:08PM +0200, Andrej Rosano wrote: Hi Shawn, On Mon, Apr 27, 2015 at 07:57:48PM +0800, Shawn Guo wrote: +Peter On Fri, Mar 27, 2015 at 01:23:00PM -0700, Vagrant Cascadian wrote: Add support for the USB armory board by Inverse Path. This board features a

[PATCH 01/13] thermal: consistently use int for temperatures

2015-04-28 Thread Sascha Hauer
The thermal code uses int, long and unsigned long for temperatures in different places. Using an unsigned type limits the thermal framework to positive temperatures without need. 'long' is 64bit on several architectures which is not needed. Consistently use a plain 'int' for temperatures.

[PATCH 12/13] thermal: thermal: Add support for hardware-tracked trip points

2015-04-28 Thread Sascha Hauer
This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A .set_trips

[PATCH 13/13] thermal: of: implement .set_trips for device tree thermal zones

2015-04-28 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/thermal/of-thermal.c | 12 include/linux/thermal.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index bd3185e..f8dd847 100644 ---

[PATCH 03/13] thermal: trivial: Add missing whitespace in message

2015-04-28 Thread Sascha Hauer
Commas should be followed by a whitespace. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 244784f..cecebac 100644 ---

[PATCH 10/13] thermal: of: always set sensor related callbacks

2015-04-28 Thread Sascha Hauer
Now that the thermal core treats -ENOSYS like the callbacks were not present at all we no longer have to overwrite the ops during runtime but instead can always set them and return -ENOSYS if no sensor is registered. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de ---

[PATCH 09/13] thermal: Allow sensor ops to fail with -ENOSYS

2015-04-28 Thread Sascha Hauer
The thermal core uses the existence of the .get_temp, .get_trend and .set_emul_temp to detect whether this operation exists and should be used or whether it should be emulated in software. This makes problems for of-thermal which has to modify the struct thermal_zone_device_ops during runtime

[PATCH v6 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-04-28 Thread Eddie Huang
Add mediatek MT8173 I2C controller driver. Compare to I2C controller of earlier mediatek SoC, MT8173 fix write-then-read limitation, and also increase message size to 64kb. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Liguo Zhang liguo.zh...@mediatek.com Signed-off-by: Eddie

[PATCH v2] Thermal cleanups and hardware trip points

2015-04-28 Thread Sascha Hauer
This series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip points as part of the device tree support. It was suggested back then to move the functionality to the thermal core instead of putting more code into the device tree

[PATCH v6 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-04-28 Thread Eddie Huang
From: Xudong Chen xudong.c...@mediatek.com The mediatek SoCs have I2C controller that handle I2C transfer. This patch include common I2C bus driver. This driver is compatible with I2C controller on mt65xx/mt81xx. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Liguo Zhang

[PATCH v6 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-04-28 Thread Eddie Huang
This series is for Mediatek SoCs I2C controller common bus driver. Earlier MTK SoC ((for example, MT6589, MT8135)) I2C HW has some limitationes. New generation SoC like MT8173 fix following limitations: 1. Only support one i2c_msg number. One exception is WRRD (write then read) mode. WRRD can

[PATCH v6 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-04-28 Thread Eddie Huang
From: Xudong Chen xudong.c...@mediatek.com Add devicetree bindings for Mediatek Soc I2C driver. Signed-off-by: Xudong Chen xudong.c...@mediatek.com Signed-off-by: Eddie Huang eddie.hu...@mediatek.com --- .../devicetree/bindings/i2c/i2c-mt6577.txt | 41 ++ 1 file

Re: [PATCH 01/11] coresight-etm4x: Adding CoreSight ETM4x driver

2015-04-28 Thread Ivan T. Ivanov
On Mon, 2015-04-27 at 09:48 -0600, Mathieu Poirier wrote: On 24 April 2015 at 09:41, Ivan T. Ivanov iiva...@mm-sol.com wrote: On Wed, 2015-04-22 at 16:40 -0600, Mathieu Poirier wrote: +static struct amba_id etm4_ids[] = { + { /* ETM 4.0 - Hi6220 board */ +

[PATCH 2/2] i2c / ACPI: Assign IRQ for devices that have GpioInt automatically

2015-04-28 Thread Mika Westerberg
Following what DT already does. If the device does not have ACPI Interrupt resource but instead it has one or more GpioInt resources listed below it, we take the first GpioInt resource, convert it to suitable Linux IRQ number and pass it to the driver instead. This makes drivers simpler because

[PATCH v7 14/23] IB/Verbs: Reform rest part in IB-core cma

2015-04-28 Thread Michael Wang
Use raw management helpers to reform rest part in IB-core cma. Cc: Hal Rosenstock h...@dev.mellanox.co.il Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

[PATCH v7 10/23] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-28 Thread Michael Wang
Use raw management helpers to reform cm related part in IB-core cma/ucm. Few checks focus on the device cm type rather than the port capability, directly pass port 1 works currently, but can't support mixing cm type device in future. Cc: Hal Rosenstock h...@dev.mellanox.co.il Cc: Steve Wise

[PATCH v7 03/23] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-28 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Hal Rosenstock h...@dev.mellanox.co.il Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

Re: [PATCH v9 2/3] watchdog: add watchdog_cpumask sysctl to assist nohz

2015-04-28 Thread Don Zickus
cc'ing Andrew On Mon, Apr 27, 2015 at 04:27:16PM -0400, Chris Metcalf wrote: I've been out on vacation the last ten days, but picking this up again now. I'll wait a bit before putting out a v10, and also address Uli's additional emails. Meanwhile, who is the right person to eventually pick

[PATCH v7 02/23] IB/Verbs: Implement raw management helpers

2015-04-28 Thread Michael Wang
Add raw helpers: rdma_protocol_ib rdma_protocol_iboe rdma_protocol_iwarp rdma_ib_or_iboe To help us detect which technology the port supported. Cc: Hal Rosenstock h...@dev.mellanox.co.il Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc:

overlayfs: upperdir and workdir on same mount but different btrfs subvolume

2015-04-28 Thread Michael Göhler
Hi, think I found a small issue in overlayfs (kernel 4.0.0). If I mount an overlay and specify two different subvolumes from the same btrfs mount point, I don't get the expected: overlayfs: workdir and upperdir must reside under the same mount But any write operation on files from lowerdir

[PATCH] block: loop: avoiding too many pending per work I/O

2015-04-28 Thread Ming Lei
If there are too many pending per work I/O, too many high priority work thread can be generated so that system performance can be effected. This patch limits the max pending per work I/O as 16, and will fackback to single queue mode when the max number is reached. This patch fixes Fedora 22 live

Re: [PATCH v6 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2015-04-28 Thread Ben Shelton
Hi Punnaiah, On 04/13, Punnaiah Choudary Kalluri wrote: Add driver for arm pl353 static memory controller nand interface with HW ECC support. This controller is used in xilinx zynq soc for interfacing the nand flash memory. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com [...]

Re: [PATCH 0/9] mm: improve OOM mechanism v2

2015-04-28 Thread Tetsuo Handa
Michal Hocko wrote: On Tue 28-04-15 19:34:47, Tetsuo Handa wrote: [...] [PATCH 8/9] makes the speed of allocating __GFP_FS pages extremely slow (5 seconds / page) because out_of_memory() serialized by the oom_lock sleeps for 5 seconds before returning true when the OOM victim got stuck.

[PATCH 2/4] xen/xenbus: Update xenbus event channel on resume

2015-04-28 Thread Boris Ostrovsky
After a resume the hypervisor/tools may change xenbus event channel number. We should re-query it. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com --- drivers/xen/xenbus/xenbus_probe.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git

[PATCH 3/4] xen/console: Update console event channel on resume

2015-04-28 Thread Boris Ostrovsky
After a resume the hypervisor/tools may change console event channel number. We should re-query it. Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com --- drivers/tty/hvc/hvc_xen.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git

[PATCH 4/4] xen/events: Set irq_info-evtchn before binding the channel to CPU in __startup_pirq()

2015-04-28 Thread Boris Ostrovsky
.. because bind_evtchn_to_cpu(evtchn, cpu) will map evtchn to 'info' and pass 'info' down to xen_evtchn_port_bind_to_cpu(). Signed-off-by: Boris Ostrovsky boris.ostrov...@oracle.com Tested-by: Annie Li annie...@oracle.com --- drivers/xen/events/events_base.c |2 +- 1 files changed, 1

[PATCH 0/4] A few event channel-related fixes

2015-04-28 Thread Boris Ostrovsky
Fixes for issues that we discovered during live migration when source and target systems have different event channel assignments for guests. Boris Ostrovsky (4): xen/events: Clear cpu_evtchn_mask before resuming xen/xenbus: Update xenbus event channel on resume xen/console: Update console

Re: [PATCH v2 1/2] x86: introduce kaslr_offset()

2015-04-28 Thread Jiri Kosina
On Tue, 28 Apr 2015, Jiri Kosina wrote: Offset that has been chosen for kaslr during kernel decompression can be easily computed as a difference between _text and __START_KERNEL. We are already making use of this in dump_kernel_offset() notifier and in arch_crash_save_vmcoreinfo().

Re: [PATCH 01/10] block: make generic_make_request handle arbitrarily sized bios

2015-04-28 Thread Keith Busch
On Tue, 28 Apr 2015, Christoph Hellwig wrote: This seems to lack support for QUEUE_FLAG_SG_GAPS to work around the retarded PPR format in the NVMe driver. Might strong words, sir! I'm missing the context here, but I'll say PRP is much more efficient for h/w to process over SGL, and the

Re: Should mmap MAP_LOCKED fail if mm_poppulate fails?

2015-04-28 Thread Linus Torvalds
On Tue, Apr 28, 2015 at 5:11 AM, Michal Hocko mho...@suse.cz wrote: The first patch is dumb and straightforward. It should be safe as is and also good without the follow up 2 patches which try to handle potential allocation failures in the do_munmap path more gracefully. As we still do not

Re: [PATCH v10 0/9] ASoC: tda998x: add a codec to the HDMI transmitter

2015-04-28 Thread Jean-Francois Moine
On Mon, 27 Apr 2015 20:25:02 +0200 Jean-Francois Moine wrote: > Using i2s and s/pdif at the same time with the simple card asks for a > patch as the one I submitted in february 2014 (ASoC: simple-card: DT > fix and multi DAI links extension). Sorry, the patch was "ASoC: simple-card: Add

Re: Build regressions/improvements in v4.1-rc1

2015-04-28 Thread Geert Uytterhoeven
On Tue, Apr 28, 2015 at 6:39 AM, Rusty Russell wrote: >>> + /home/kisskb/slave/src/arch/mips/cavium-octeon/smp.c: error: passing >>> argument 2 of 'cpumask_clear_cpu' discards 'volatile' qualifier from >>> pointer target type [-Werror]: => 242:2 >>> +

Re: [PATCH 1/3] x86, ACPI: Constify irq_domain_ops

2015-04-28 Thread Pavel Machek
On Mon 2015-04-27 21:48:07, Krzysztof Kozlowski wrote: > The irq_domain_ops are not modified by the driver and the irqdomain core > code accepts pointer to a const data. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky,

Re: [PATCH v2] drm: fix a memleak on mutex failure path

2015-04-28 Thread Jani Nikula
On Mon, 27 Apr 2015, gr...@linuxhacker.ru wrote: > From: Oleg Drokin > > Need to free just allocated ctx allocation if we cannot > get our config mutex. > > This one has been flagged by kbuild bot all the way back in August, > but somehow nobody picked it up: >

Re: [PATCH v2] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap"

2015-04-28 Thread Vivek Gautam
Hi, -- From: "Alan Stern" Sent: Monday, April 27, 2015 8:14 PM To: "Ivan T. Ivanov" Cc: "Greg Kroah-Hartman" ; ; ; ; "Vivek Gautam" Subject: Re: [PATCH v2] Revert "usb: host: ehci-msm: Use devm_ioremap_resource instead of devm_ioremap" On

Re: [PATCH 1/4] mailbox: add support for System Control and Power Interface(SCPI) protocol

2015-04-28 Thread Paul Bolle
Just one nit: a license mismatch. On Mon, 2015-04-27 at 12:40 +0100, Sudeep Holla wrote: > --- /dev/null > +++ b/drivers/mailbox/scpi_protocol.c > + * This program is free software; you can redistribute it and/or modify it > + * under the terms and conditions of the GNU General Public License, >

[PATCH v3 0/3] Add Mediatek SoC RTC driver

2015-04-28 Thread Eddie Huang
RTC is one submodule of Mediatek MT6397 PMIC chip[1]. This series support RTC driver that work with Mediatek SoC like MT8135, MT8173. It implements second counter and also provide alarm function. This series base on 4.1-rc1, Test ok on MT8173 platform. [1] https://lkml.org/lkml/2015/1/23/325

[PATCH v3 1/3] mfd: provide RTC resource in MT6397 MFD

2015-04-28 Thread Eddie Huang
Provide MT6397 RTC interrupt, base address, and register in MT6397 MFD. Signed-off-by: Eddie Huang --- drivers/mfd/mt6397-core.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 09bc780..08cfbd1 100644 ---

[PATCH v3 3/3] MAINTAINERS: add Mediatek RTC driver

2015-04-28 Thread Eddie Huang
Add Mediatek RTC driver to maintainer entry. Signed-off-by: Eddie Huang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2e5bbc0..eb80610 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1223,6 +1223,13 @@ W:

[PATCH v3 2/3] rtc: mediatek: Add MT6397 RTC driver

2015-04-28 Thread Eddie Huang
From: Tianping Fang Add Mediatek MT6397 RTC driver Signed-off-by: Tianping Fang Signed-off-by: Eddie Huang --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-mt6397.c | 388 +++ 3 files changed, 399

Re: [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-04-28 Thread Christoph Hellwig
What happened to this patchset? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 5/6] toshiba_bluetooth: Change BT status message to debug

2015-04-28 Thread Bjørn Mork
Azael Avalos writes: > The function toshiba_bluetooth_status s currently printing the status > of the device whenever it is queried, but since the introduction of > the rfkill poll code, this value will get printed everytime the poll > occurs. > > This patch changes the level of the printed

Re: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader

2015-04-28 Thread Borislav Petkov
On Tue, Apr 28, 2015 at 02:24:16AM +, Zheng, Lv wrote: > > > #APP > > > # 177 "./arch/x86/include/asm/atomic.h" 1 > > > .pushsection .smp_locks,"a" > > > .balign 4 > > > .long 671f - . > > > .popsection > > > 671: > > > lock; cmpxchgl %edx,ghes_in_nmi(%rip) # D.37056, MEM[(volatile u32

Re: [PATCH 10/10] perf tools: Move TUI-specific fields out of map_symbol

2015-04-28 Thread Namhyung Kim
Hi Arnaldo, On Mon, Apr 27, 2015 at 02:20:36PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 22, 2015 at 04:18:21PM +0900, Namhyung Kim escreveu: > > > @@ -139,24 +139,19 @@ static char tree__folded_sign(bool unfolded) > > return unfolded ? '-' : '+'; > > } > > > > -static char

Re: [PATCH 0/3] Introduce SET_NOIRQ_SYSTEM_SLEEP_PM_OPS and use it

2015-04-28 Thread Ulf Hansson
On 27 April 2015 at 20:24, wrote: > From: Grygorii Strashko > > While working on suspend-to-disk functionality on TI dra7-evm (DRA7xx SoC) > i've found that the most common problem I have to dial with is absence > of corresponding PM callbacks in drivers and, in particular, noirq callbacks. >

[RFC PATCH] iommu: add ARM short descriptor page table allocator.

2015-04-28 Thread Yong Wu
This patch is for ARM Short Descriptor Format.It has 2-levels pagetable and the allocator supports 4K/64K/1M/16M. Signed-off-by: Yong Wu --- drivers/iommu/Kconfig| 7 + drivers/iommu/Makefile | 1 + drivers/iommu/io-pgtable-arm-short.c | 489

Re: [PATCH v4] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Paul Bolle
Only a license nit. On Tue, 2015-04-28 at 04:02 +0530, Ramakrishna Pallala wrote: > --- /dev/null > +++ b/drivers/extcon/extcon-axp288.c > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the

Re: [PATCH 01/13] thermal: Make temperatures consistently unsigned long

2015-04-28 Thread Sascha Hauer
On Mon, Apr 27, 2015 at 10:36:08PM +0200, Pavel Machek wrote: > On Thu 2015-03-26 16:53:48, Sascha Hauer wrote: > > The thermal framework uses int, long and unsigned long for temperatures > > in millicelsius. The majority of functions uses unsigned long, so change > > the remaining functions to

Re: [RFC PATCH 3/3] mm: support active anti-fragmentation algorithm

2015-04-28 Thread Joonsoo Kim
On Mon, Apr 27, 2015 at 09:29:23AM +0100, Mel Gorman wrote: > On Mon, Apr 27, 2015 at 04:23:41PM +0900, Joonsoo Kim wrote: > > We already have antifragmentation policy in page allocator. It works well > > when system memory is sufficient, but, it doesn't works well when system > > memory isn't

Re: [PATCH v3 1/3] mfd: provide RTC resource in MT6397 MFD

2015-04-28 Thread Uwe Kleine-König
Hello, On Tue, Apr 28, 2015 at 03:35:54PM +0800, Eddie Huang wrote: > Provide MT6397 RTC interrupt, base address, and register in > MT6397 MFD. > > Signed-off-by: Eddie Huang > --- > drivers/mfd/mt6397-core.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git

Re: [PATCH RFC v2 0/5] Multi-queue support for xen-blkfront and xen-blkback

2015-04-28 Thread Arianna Avanzini
Hello Christoph, Il 28/04/2015 09:36, Christoph Hellwig ha scritto: What happened to this patchset? It was passed on to Bob Liu, who published a follow-up patchset here: https://lkml.org/lkml/2015/2/15/46 Thanks, Arianna -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] usb: gadget: composite: enable BESL support

2015-04-28 Thread Du, Changbin
>From a6615937bcd9234e6d6bb817c3701fce44d0a84d Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Tue, 30 Sep 2014 16:08:03 -0500 Subject: [PATCH] usb: gadget: composite: enable BESL support According to USB 2.0 ECN Errata for Link Power Management (USB2-LPM-Errata-final.pdf), BESL must be

RE: [PATCH v4] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Pallala, Ramakrishna
> > Only a license nit. > > On Tue, 2015-04-28 at 04:02 +0530, Ramakrishna Pallala wrote: > > --- /dev/null > > +++ b/drivers/extcon/extcon-axp288.c > > > + * This program is free software; you can redistribute it and/or > > + modify > > + * it under the terms of the GNU General Public License

Re: [PATCH v9 13/17] h8300: configs

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 20:27:21 -0700, Guenter Roeck wrote: > > On Mon, Apr 27, 2015 at 02:35:20PM +0900, Yoshinori Sato wrote: > > h8300h-sim_defconfig: H8/300H simulator config. > > h8s-sim_defconfig:H8S simulator config. > > edosk2674_defconfig: EDOSK2674R evalution board config. > > Did

[PATCH v5] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Ramakrishna Pallala
This patch adds the extcon support for AXP288 PMIC which has the BC1.2 charger detection capability. Additionally it also adds the USB mux switching support b/w SOC and PMIC based on GPIO control. Signed-off-by: Ramakrishna Pallala --- drivers/extcon/Kconfig |7 +

Re: [PATCH 1/2] firmware: dmi_scan: Simplified displayed version

2015-04-28 Thread Jean Delvare
Hi Ivan, On Mon, 27 Apr 2015 19:10:05 +0300, subscivan wrote: > On 21.04.15 15:45, Jean Delvare wrote: > > The trailing .x adds no information for the reader, and if anyone > > tries to parse that line, this is more work as they have 3 different > > formats to handle instead of 2. Plus, this

Re: [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags

2015-04-28 Thread Paul Bolle
On Mon, 2015-04-27 at 12:00 +, sylvain.bertr...@gmail.com wrote: > The pkg-config file I use is straight from the ncurses distribution with the > lastest "rollup" patch. > > Either it's a fedora specific modification, either a genuine ncurses patch > released after the lastest "rollup" patch.

Re: [PATCH v2 2/2] cpufreq: powernv: Register for OCC related opal_message notification

2015-04-28 Thread Shilpasri G Bhat
Hi Viresh, On 04/28/2015 12:18 PM, Viresh Kumar wrote: > On 28 April 2015 at 11:53, Shilpasri G Bhat > wrote: > >> Changes from v1: >> - Add macros to define OCC_RESET, OCC_LOAD and OCC_THROTTLE >> - Define a structure to store chip id, chip mask which has bits set >> for cpus present in the

Re: [PATCH] ARM: dts: imx5: Add dts files for USB armory.

2015-04-28 Thread Peter Chen
On Mon, Apr 27, 2015 at 03:37:08PM +0200, Andrej Rosano wrote: > Hi Shawn, > > On Mon, Apr 27, 2015 at 07:57:48PM +0800, Shawn Guo wrote: > > +Peter > > > > On Fri, Mar 27, 2015 at 01:23:00PM -0700, Vagrant Cascadian wrote: > > > Add support for the USB armory board by Inverse Path. This board >

Re: [PATCH 1/1] drivers/usb/chipidea/debuc.c: avoid out of bound read

2015-04-28 Thread Peter Chen
On Mon, Apr 27, 2015 at 08:25:12PM +0200, Heinrich Schuchardt wrote: > On 22.04.2015 03:26, Peter Chen wrote: > > On Tue, Apr 21, 2015 at 09:25:41PM +0200, Heinrich Schuchardt wrote: > >> Hello Peter, > >> > >> thanks for reviewing. > >> > >> On 21.04.2015 03:32, Peter Chen wrote: > >>> On Fri,

[PATCH 07/13] thermal: inline only once used function

2015-04-28 Thread Sascha Hauer
Inline update_temperature into its only caller to make the code more readable. Signed-off-by: Sascha Hauer --- drivers/thermal/thermal_core.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c

[PATCH 01/13] thermal: consistently use int for temperatures

2015-04-28 Thread Sascha Hauer
The thermal code uses int, long and unsigned long for temperatures in different places. Using an unsigned type limits the thermal framework to positive temperatures without need. 'long' is 64bit on several architectures which is not needed. Consistently use a plain 'int' for temperatures.

[PATCH 12/13] thermal: thermal: Add support for hardware-tracked trip points

2015-04-28 Thread Sascha Hauer
This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A .set_trips

[PATCH 13/13] thermal: of: implement .set_trips for device tree thermal zones

2015-04-28 Thread Sascha Hauer
Signed-off-by: Sascha Hauer --- drivers/thermal/of-thermal.c | 12 include/linux/thermal.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c index bd3185e..f8dd847 100644 --- a/drivers/thermal/of-thermal.c +++

[PATCH 06/13] thermal: Add comment explaining test for critical temperature

2015-04-28 Thread Sascha Hauer
The code testing if a temperature should be emulated or not is not obvious. Add a comment explaining why this test is done. Signed-off-by: Sascha Hauer --- drivers/thermal/thermal_core.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/thermal/thermal_core.c

[PATCH 04/13] thermal: remove useless call to thermal_zone_device_set_polling

2015-04-28 Thread Sascha Hauer
When the thermal zone has no get_temp callback then thermal_zone_device_register() calls thermal_zone_device_set_polling() with a polling delay of 0. This only cancels the poll_queue. Since the poll_queue hasn't been scheduled this is a no-op. Remove it. Signed-off-by: Sascha Hauer Acked-by:

[PATCH kernel] commit 4fbdf9cb ("lpfc: Fix for lun discovery issue with saturn adapter.")

2015-04-28 Thread Alexey Kardashevskiy
This reverts 4fbdf9cb is breaks LPFC on POWER7 machine, big endian kernel. This is the hardware used for verification: 0005:01:00.0 Fibre Channel [0c04]: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter [10df:f100] (rev 03) 0005:01:00.1 Fibre Channel [0c04]: Emulex Corporation

Re: [PATCH 02/13] mm: meminit: Move page initialization into a separate function.

2015-04-28 Thread Mel Gorman
On Mon, Apr 27, 2015 at 03:46:33PM -0700, Andrew Morton wrote: > On Thu, 23 Apr 2015 11:33:05 +0100 Mel Gorman wrote: > > > From: Robin Holt > > : : host cuda-allmx.sgi.com[192.48.157.12] said: 550 cuda_nsu > 5.1.1 > :: Recipient address rejected: User unknown in virtual alias > :

[PATCH 05/13] thermal: Use IS_ENABLED instead of #ifdef

2015-04-28 Thread Sascha Hauer
Use IS_ENABLED(CONFIG_THERMAL_EMULATION) to make the code more readable and to get rid of the addtional #ifdef around the variable definitions in thermal_zone_get_temp(). Signed-off-by: Sascha Hauer --- drivers/thermal/thermal_core.c | 43 ++ 1 file

Re: [PATCH] ARM: gic: Document Power and Clock Domain optional properties

2015-04-28 Thread Geert Uytterhoeven
Hi Mark, On Mon, Apr 27, 2015 at 7:15 PM, Mark Rutland wrote: > On Mon, Apr 27, 2015 at 05:43:13PM +0100, Geert Uytterhoeven wrote: >> On Mon, Apr 27, 2015 at 5:54 PM, Mark Rutland wrote: >> > On Mon, Apr 27, 2015 at 04:00:11PM +0100, Geert Uytterhoeven wrote: >> >> On some SoCs, the GIC may be

[PATCH 02/13] thermal: trivial: fix typo in comment

2015-04-28 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Acked-by: Eduardo Valentin --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 62cc82a..244784f 100644 --- a/drivers/thermal/thermal_core.c +++

[PATCH 11/13] thermal: Make struct thermal_zone_device_ops const

2015-04-28 Thread Sascha Hauer
Now that the of thermal support no longer changes the thermal_zone_device_ops it can be const again. Signed-off-by: Sascha Hauer --- Documentation/thermal/sysfs-api.txt| 2 +- drivers/acpi/thermal.c | 2 +- drivers/platform/x86/acerhdf.c

[PATCH 08/13] thermal: streamline get_trend callbacks

2015-04-28 Thread Sascha Hauer
The .get_trend callback in struct thermal_zone_device_ops has the prototype: int (*get_trend) (struct thermal_zone_device *, int, enum thermal_trend *); whereas the .get_trend callback in struct thermal_zone_of_device_ops has: int (*get_trend)(void *,

[PATCH 10/13] thermal: of: always set sensor related callbacks

2015-04-28 Thread Sascha Hauer
Now that the thermal core treats -ENOSYS like the callbacks were not present at all we no longer have to overwrite the ops during runtime but instead can always set them and return -ENOSYS if no sensor is registered. Signed-off-by: Sascha Hauer --- drivers/thermal/of-thermal.c | 33

[PATCH 03/13] thermal: trivial: Add missing whitespace in message

2015-04-28 Thread Sascha Hauer
Commas should be followed by a whitespace. Signed-off-by: Sascha Hauer --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 244784f..cecebac 100644 ---

[PATCH 09/13] thermal: Allow sensor ops to fail with -ENOSYS

2015-04-28 Thread Sascha Hauer
The thermal core uses the existence of the .get_temp, .get_trend and .set_emul_temp to detect whether this operation exists and should be used or whether it should be emulated in software. This makes problems for of-thermal which has to modify the struct thermal_zone_device_ops during runtime

[PATCH v6 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2015-04-28 Thread Eddie Huang
From: Xudong Chen Add devicetree bindings for Mediatek Soc I2C driver. Signed-off-by: Xudong Chen Signed-off-by: Eddie Huang --- .../devicetree/bindings/i2c/i2c-mt6577.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644

Re: [PATCH 01/11] coresight-etm4x: Adding CoreSight ETM4x driver

2015-04-28 Thread Ivan T. Ivanov
On Mon, 2015-04-27 at 09:48 -0600, Mathieu Poirier wrote: > On 24 April 2015 at 09:41, Ivan T. Ivanov wrote: > > On Wed, 2015-04-22 at 16:40 -0600, Mathieu Poirier wrote: > > > > > +static struct amba_id etm4_ids[] = { > > > + { /* ETM 4.0 - Hi6220 board */ > > > + .id

[PATCH v6 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-04-28 Thread Eddie Huang
Add mediatek MT8173 I2C controller driver. Compare to I2C controller of earlier mediatek SoC, MT8173 fix write-then-read limitation, and also increase message size to 64kb. Signed-off-by: Xudong Chen Signed-off-by: Liguo Zhang Signed-off-by: Eddie Huang --- drivers/i2c/busses/i2c-mt65xx.c |

[PATCH v2] Thermal cleanups and hardware trip points

2015-04-28 Thread Sascha Hauer
This series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip points as part of the device tree support. It was suggested back then to move the functionality to the thermal core instead of putting more code into the device tree

[PATCH v6 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-04-28 Thread Eddie Huang
From: Xudong Chen The mediatek SoCs have I2C controller that handle I2C transfer. This patch include common I2C bus driver. This driver is compatible with I2C controller on mt65xx/mt81xx. Signed-off-by: Xudong Chen Signed-off-by: Liguo Zhang Signed-off-by: Eddie Huang ---

[PATCH v6 0/3] ARM: mediatek: Add driver for Mediatek I2C

2015-04-28 Thread Eddie Huang
This series is for Mediatek SoCs I2C controller common bus driver. Earlier MTK SoC ((for example, MT6589, MT8135)) I2C HW has some limitationes. New generation SoC like MT8173 fix following limitations: 1. Only support one i2c_msg number. One exception is WRRD (write then read) mode. WRRD can

Re: NFC: CONFIG_NFC_DEBUG not defined

2015-04-28 Thread Valentin Rothberg
Hi Clément, thanks for your answer. On Tue, Apr 28, 2015 at 10:23 AM, Clément Perrochaud wrote: > On Mon, Apr 27, 2015 at 9:03 AM, Valentin Rothberg wrote: >> Hi Clément, >> >> your commit dece45855a8b ("NFC: nxp-nci: Add support for NXP NCI >> chips") adds the Makefile

Re: [PATCH v6 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-04-28 Thread Marc Kleine-Budde
On 04/28/2015 10:31 AM, Eddie Huang wrote: > Add mediatek MT8173 I2C controller driver. Compare to I2C controller > of earlier mediatek SoC, MT8173 fix write-then-read limitation, and > also increase message size to 64kb. > > Signed-off-by: Xudong Chen > Signed-off-by: Liguo Zhang >

Re: [PATCH 1/2] package: Makefile: ensure $MAKE can use jobserver

2015-04-28 Thread Riku Voipio
On 24 April 2015 at 21:25, Chris J Arges wrote: > When using make deb-pkg, builddeb is called without proper MAKEFLAGS due to > the > script being invoked without '+'. This results in the following message when > building: > warning: jobserver unavailable: using -j1. Add `+' to parent make rule

Re: [PATCH 0/4] extcon: Modify the name of unused external connector

2015-04-28 Thread Chanwoo Choi
On Tue, Apr 28, 2015 at 12:43 PM, Krzysztof Kozlowski wrote: > On 27.04.2015 21:31, Chanwoo Choi wrote: >> >> This patchset alter the unused name of external connector (jig/dock/MHL) >> as >> following. The name of jig cable and dock device include the non-standard >> H/W >> information. On

Re: [PATCH 1/4] mailbox: add support for System Control and Power Interface(SCPI) protocol

2015-04-28 Thread Sudeep Holla
On 28/04/15 08:36, Paul Bolle wrote: Just one nit: a license mismatch. On Mon, 2015-04-27 at 12:40 +0100, Sudeep Holla wrote: --- /dev/null +++ b/drivers/mailbox/scpi_protocol.c + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-28 Thread Alex Bennée
Peter Maydell writes: > On 27 April 2015 at 21:04, Christoffer Dall > wrote: >> On Thu, Apr 23, 2015 at 03:26:53PM +0100, Alex Bennée wrote: >>> >>> Christoffer Dall writes: >>> >>> > On Tue, Mar 31, 2015 at 04:08:04PM +0100, Alex Bennée wrote: >>> >> + * just need to report the PC and the

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-28 Thread Baoquan He
On 04/10/15 at 12:49am, Naoya Horiguchi wrote: > On Thu, Apr 09, 2015 at 09:05:51PM +0200, Borislav Petkov wrote: > > On Thu, Apr 09, 2015 at 06:22:02PM +, Luck, Tony wrote: > > > > Why? Those CPUs are offlined and num_online_cpus() in mce_start() should > > > > account for that, no? > > > > >

Re: [PATCH v6 3/3] I2C: mediatek: Add driver for MediaTek MT8173 I2C controller

2015-04-28 Thread Eddie Huang
Hi Marc, On Tue, 2015-04-28 at 10:36 +0200, Marc Kleine-Budde wrote: > On 04/28/2015 10:31 AM, Eddie Huang wrote: > > Add mediatek MT8173 I2C controller driver. Compare to I2C controller > > of earlier mediatek SoC, MT8173 fix write-then-read limitation, and > > also increase message size to

Re: [PATCH]Add support for DS28AE00 sequence to w1-therm

2015-04-28 Thread Geert Uytterhoeven
On Mon, Apr 27, 2015 at 8:43 PM, Evgeniy Polyakov wrote: > 27.04.2015, 16:32, "Matt Campbell" : >> This patch provides support for the DS28AE00 digital thermometer. > > Greg, please pull it into you tree, everything looks good to me Except that the component name seems to be misspelled in all

[PATCH] tick-broadcast: Fix the printing of broadcast masks

2015-04-28 Thread Preeti U Murthy
Today the number of bits of the broadcast masks that is output into /proc/timer_list is sizeof(unsigned long). This means that on machines with larger number of CPUs, the bitmasks of CPUs beyond this range do not appear. Fix this by using bitmap printing through "%*pb" instead, so as to output

Re: [PATCH 0/4] ARM64: add SCPI mailbox protocol, clock and CPUFreq support

2015-04-28 Thread Sudeep Holla
Hi Tixy, On 27/04/15 19:11, Jon Medhurst (Tixy) wrote: On Mon, 2015-04-27 at 12:40 +0100, Sudeep Holla wrote: Hi, This patch series adds support for: 1. SCPI(System Control and Power Interface) mailbox protocol driver. Is there a public document with the final protocol

[PATCH] perf: probe: avoid segfault if passed with ''.

2015-04-28 Thread Wang Nan
Since parse_perf_probe_point() deals with a user passed argument, we should not assume it to be a valid string. Without this patch, if pass '' to perf probe, a segfault raises: $ perf probe -a '' Segmentation fault This patch checks argument of parse_perf_probe_point() before string

Re: [PATCH v2 2/2] cpufreq: powernv: Register for OCC related opal_message notification

2015-04-28 Thread Viresh Kumar
On 28 April 2015 at 13:48, Shilpasri G Bhat wrote: > My bad I haven't added explicit comment to state reason behind this change. > > I modified the definition of *throttle_check() to match the function > definition > to be called via smp_call() instead of adding an additional wrapper around >

Re: [PATCH 1/2] firmware: dmi_scan: Simplified displayed version

2015-04-28 Thread subscivan
On 28.04.15 11:15, Jean Delvare wrote: Hi Ivan, On Mon, 27 Apr 2015 19:10:05 +0300, subscivan wrote: On 21.04.15 15:45, Jean Delvare wrote: The trailing .x adds no information for the reader, and if anyone tries to parse that line, this is more work as they have 3 different formats to

Re: [PATCH v9 07/17] h8300: miscellaneous functions

2015-04-28 Thread Yoshinori Sato
At Mon, 27 Apr 2015 10:57:10 +0200, Arnd Bergmann wrote: > > On Monday 27 April 2015 14:35:14 Yoshinori Sato wrote: > > +void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, > > + size_t size, enum dma_data_direction dir) > > +{ > > +} > >

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-28 Thread Baoquan He
On 04/24/15 at 04:49pm, Dave Young wrote: > On 04/24/15 at 04:35pm, Baoquan He wrote: > > On 04/24/15 at 04:25pm, Dave Young wrote: > > > Hi, Baoquan > > > > > > > I support this patchset. > > > > > > > > We should not fear oldmem since reserved crashkernel region is similar. > > > > No one can

Re: [PATCH v2 0/3] leds: blink resolution improvements

2015-04-28 Thread Jacek Anaszewski
Hi Stas, Have you tested it? I tried it with Samsung M0 board and my leds-aat1290 driver. It didn't work well. And for small delay intervals it will not have a chance to work reliably with all drivers, especially the ones which use mutex in their brightness_set op, since mutex can sleep. I am

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Riku Voipio
On 27 April 2015 at 19:43, Chris J Arges wrote: > When building the dbg package, we use a large 'for module in $(find' loop that > can be easily parallelized by using 'find | xargs'. This patch modifies this > loop to use the later paradigm. > > In addition, ensure we add '-n1 -P0' to xargs to

<    5   6   7   8   9   10   11   12   13   14   >