Re: [PATCH 5/6] usb: dwc3: dwc3-st: Update the DT example.

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin wrote: > There is a subtle type phys-names should be phy-names. Using the > current example means you don't have working usb. Also update > the example to use the generic phy type constants which are now > used for miphy28. > > Signed-off-by: Peter

[PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Michael S. Tsirkin
virtio balloon has this code: wait_event_interruptible(vb->config_change, (diff = towards_target(vb)) != 0 || vb->need_stats_update || kthread_should_stop()

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-02-25 Thread Benjamin Tissoires
On Mon, Feb 16, 2015 at 10:23 PM, Benjamin Tissoires wrote: > On Fri, Feb 6, 2015 at 3:04 PM, Benjamin Tissoires > wrote: >> Hi, >> >> This is the second episode of the Lenovo 2015 party :) >> >> Thanks to Andrew, we now have an idea within the driver of what are the extra >> buttons aimed for,

Re: [PATCH] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Michael S. Tsirkin
On Wed, Feb 25, 2015 at 03:32:08PM +0100, Cornelia Huck wrote: > On Wed, 25 Feb 2015 15:14:36 +0100 > "Michael S. Tsirkin" wrote: > > > virtio balloon has this code: > > wait_event_interruptible(vb->config_change, > > (diff = towards_target(vb)) != 0 > >

Re: [PATCH 3/3] HID: rmi: disable palm detect gesture when present

2015-02-25 Thread Jiri Kosina
On Wed, 25 Feb 2015, Gabriele Mazzotta wrote: > On Tuesday 24 February 2015 17:36:50 Andrew Duggan wrote: > > A touchpad may have firmware based palm detection code enabled which > > suppresses 2D data from being reported when the firmware believes a palm is > > on the touchpad. This

Re: [PATCH 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin wrote: > Now there are generic phy type constants declared in phy.h, migrate over to > using them rather than defining our own. This change has been done as one > atomic commit to be bisectable. You should note that the values of the defines are not

Re: [PATCH 1/2] drivers: cpuidle: remove stale irq disabling call in cpuidle_enter_freeze()

2015-02-25 Thread Lorenzo Pieralisi
On Wed, Feb 25, 2015 at 02:13:23PM +, Daniel Lezcano wrote: > On 02/24/2015 06:58 PM, Lorenzo Pieralisi wrote: > > On return from cpuidle_enter_freeze() irqs are re-enabled by the function > > caller (ie cpuidle_idle_call) in the idle loop. This patch removes a stale > > local_irq_disable()

Re: [PATCH 0/3 v2] e820: Fix handling of NvDIMM chips

2015-02-25 Thread Boaz Harrosh
On 02/25/2015 12:22 PM, Ingo Molnar wrote: > > * Boaz Harrosh wrote: > >> List of patches: >> [PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY >> The main fix >> >> [PATCH 2/3] resource: Add new flag IORESOURCE_WARN (64bit) >> Warn in request_resource >> >> [PATCH 3A/3]

Re: [PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Rob Herring
On Wed, Feb 25, 2015 at 8:09 AM, Charles Keepax wrote: > Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in > the dt-binding directory for use by device tree bindings. This also > makes gpio.h redundant so remove it in the process. > > Signed-off-by: Charles Keepax > Acked-by:

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 10:20:43 +0100 Ingo Molnar wrote: > But, if we do that, we can do even better, and also do an > optimization of the 64-bit entry path as well: we could > simply mask RAX with 0x3ff and not do a compare. Pad the > syscall table up to 0x400 (1024) entries and fill in the >

Re: [PATCH 2/2] drivers: cpuidle: add driver/device checks in cpuidle_enter_freeze()

2015-02-25 Thread Lorenzo Pieralisi
On Wed, Feb 25, 2015 at 02:30:49PM +, Daniel Lezcano wrote: > On 02/24/2015 06:58 PM, Lorenzo Pieralisi wrote: > > The changes in commit: > > > > 381063133246 ("PM / sleep: Re-implement suspend-to-idle handling") > > > > let suspend-to-idle code bypass the cpuidle_select() function to > >

Re: [PATCH v1 4/7] thermal: introduce the Power Allocator governor

2015-02-25 Thread Javi Merino
Hi Eduardo, On Tue, Feb 24, 2015 at 06:21:26PM +, Eduardo Valentin wrote: > On Wed, Jan 28, 2015 at 05:00:35PM +, Javi Merino wrote: > > + > > +k_d > > +--- > > + > > +`k_d` configures the PID loop's derivative term constant. It's > > +recommended to leave it as the default: 0. > > + >

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Sabrina Dubroca
nitializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Initializing cgroup subsys cpuacct [0.00] Linux version 4.0.0-rc1-next-20150225 (zappy@kria) (gcc version 4.9.2 20150204 (prerelease) (GCC) ) #636 SMP PREEMPT Wed Feb 25 13:45:23 CET 2015 [0.0

Re: [PATCH] i2c: i2c-bcm2835: match return type of wait_for_completion_timeout

2015-02-25 Thread Lee Jones
On Sun, 08 Feb 2015, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. as > time_left is used for wait_for_completion_timeout exclusively here its > type is simply changed to unsigned long. > > Signed-off-by: Nicholas Mc Guire > --- > > Patch was

Re: [PATCH v4] ARM: dts: add bcm2835-pwm bindings

2015-02-25 Thread Lee Jones
On Thu, 15 Jan 2015, Bart Tanghe wrote: > To probe the bcm2835-pwm driver properly, this dts bindings has to be added > to the bcm2835 dtsi file. > In expectation of a bcm2835 clock driver, I've added fixed-clock clock > binding. > --- > Changes in v4: > - node added by reg value > >

Re: [PATCH 2/2] drivers: cpuidle: add driver/device checks in cpuidle_enter_freeze()

2015-02-25 Thread Lorenzo Pieralisi
On Wed, Feb 25, 2015 at 02:30:49PM +, Daniel Lezcano wrote: [...] > > diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c > > index f47edc6c..344fe6c 100644 > > --- a/drivers/cpuidle/cpuidle.c > > +++ b/drivers/cpuidle/cpuidle.c > > @@ -44,6 +44,12 @@ void

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-02-25 Thread Hans de Goede
Hi, On 25-02-15 15:36, Benjamin Tissoires wrote: On Mon, Feb 16, 2015 at 10:23 PM, Benjamin Tissoires wrote: On Fri, Feb 6, 2015 at 3:04 PM, Benjamin Tissoires wrote: Hi, This is the second episode of the Lenovo 2015 party :) Thanks to Andrew, we now have an idea within the driver of what

Re: [PATCH v4 2/8] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-02-25 Thread Arnd Bergmann
On Tuesday 24 February 2015 20:04:17 Chanwoo Choi wrote: > On 02/24/2015 06:48 PM, Arnd Bergmann wrote: > > On Tuesday 24 February 2015 17:52:01 Chanwoo Choi wrote: > >> > >> But, I have a question. > >> If we put the aliases into the board dts file instaed of SoC dtsi, > >> each board dts file

RE: [PATCH] ACPI / EC: Remove non-standard log emphasis

2015-02-25 Thread Scot Doyle
On Wed, 25 Feb 2015, Zheng, Lv wrote: ... > > I was using "+"/"#"/"*" to filter different EC log entries > > which makes debugging easier. > > And, if we changed this from pr_info into pr_debug, then we will have > > nothing in the suspend/resume logs for the EC device. > > While

Re: [PATCH RFC 1/4] mm: throttle MADV_FREE

2015-02-25 Thread Michal Hocko
On Wed 25-02-15 16:11:18, Minchan Kim wrote: [...] > diff --git a/mm/madvise.c b/mm/madvise.c > index 6d0fcb8921c2..d41ae76d3e54 100644 > --- a/mm/madvise.c > +++ b/mm/madvise.c > @@ -274,7 +274,9 @@ static int madvise_free_pte_range(pmd_t *pmd, unsigned > long addr, > spinlock_t *ptl; >

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 13:02, Roger Quadros wrote: This creates platform devices for the children of child, but what about platform device for the child itself? It seems my first try in the other patch set wasn't so wrong after all. Maybe unconditionally call

Re: [PATCH 6/6] MAINTAINERS: Add phy-miphy28lp.c to ARCH/STI architecture

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > This patch adds the phy-miphy28lp.c phy driver found on STMicroelectronics > stih407 family SoC's into the STI arch section of the maintainers file. > > Signed-off-by: Peter Griffin > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > Now that both usb2 and usb3 phy drivers, and also the ST dwc3 glue code > are all present upstream, we can add the dwc3 DT node and have a working > usb3 controller on stih407-b2120 and stih410-b2020. > > Signed-off-by: Peter Griffin > --- >

Re: [PATCH 2/6] ahci: st: Update the DT example for how to obtain the PHY.

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Rob Herring wrote: > On Wed, Feb 25, 2015 at 7:36 AM, Peter Griffin > wrote: > > The example is wrong in that the phys property should take a > > phandle to the phy port. > > > > Also with the changing over to generic PHY type constants we also > > update this as well. > >

Re: [PATCH 2/6] ahci: st: Update the DT example for how to obtain the PHY.

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > The example is wrong in that the phys property should take a > phandle to the phy port. > > Also with the changing over to generic PHY type constants we also > update this as well. > > Signed-off-by: Peter Griffin > --- >

RE: [PATCH V7 1/1] perf tool:perf diff support for different binaries

2015-02-25 Thread Liang, Kan
Hi Arnaldo, Could you please review the patch? I've already updated the patch description to try to address your concern. Please let me know if you have any questions. Thanks, Kan > > From: Kan Liang > > Currently, the perf diff only works with same binaries. That's because it > compares the

Re: [PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Cornelia Huck
On Wed, 25 Feb 2015 15:36:02 +0100 "Michael S. Tsirkin" wrote: > virtio balloon has this code: > wait_event_interruptible(vb->config_change, > (diff = towards_target(vb)) != 0 > || vb->need_stats_update >

Re: [PATCH] perf, tools, record: Support recording running/enabled time

2015-02-25 Thread Jiri Olsa
On Tue, Feb 24, 2015 at 03:13:40PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Add an option to perf record to record running/enabled time > for read events, similar to what stat does. > > This is useful to understand multiplexing problems. > > Right now the report support is not great,

Re: [PATCH 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > Now there are generic phy type constants declared in phy.h, migrate over to > using them rather than defining our own. This change has been done as one > atomic commit to be bisectable. > > Signed-off-by: Peter Griffin > --- >

[PATCH] phy: Find the right match in devm_phy_destroy()

2015-02-25 Thread Thierry Reding
From: Thierry Reding devm_phy_create() stores the pointer to the new PHY at the address returned by devres_alloc(). The res parameter passed to devm_phy_match() is therefore the location where the pointer to the PHY is stored, hence it needs to be dereferenced before comparing to the match data

Re: [PATCH RFC 3/4] mm: move lazy free pages to inactive list

2015-02-25 Thread Michal Hocko
On Wed 25-02-15 09:27:28, Minchan Kim wrote: > On Tue, Feb 24, 2015 at 05:14:08PM +0100, Michal Hocko wrote: > > On Tue 24-02-15 17:18:16, Minchan Kim wrote: > > > MADV_FREE is hint that it's okay to discard pages if memory is > > > pressure and we uses reclaimers(ie, kswapd and direct reclaim) >

Re: [PATCH v2] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Charles Keepax wrote: > Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in > the dt-binding directory for use by device tree bindings. This also > makes gpio.h redundant so remove it in the process. > > Signed-off-by: Charles Keepax > Acked-by: Mark Brown

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Tue, Feb 24, 2015 at 04:48:08PM +, Stathis Voukelatos wrote: > This patch adds support for the Ethernet Packet Sniffer H/W module > developed by Linn Products Ltd and found in the IMG Pistachio SoC. > The module allows Ethernet packets to be parsed, matched against > a user-defined pattern

Re: perf: fuzzer causes lockup in x86_pmu_event_init()

2015-02-25 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 10:56:10PM -0500, Vince Weaver wrote: > On Tue, 17 Feb 2015, Vince Weaver wrote: > > > This is on a Haswell machine, current git as of this past Friday. > > > > I let the perf_fuzzer run and it took 4 days to find this. > > Sadly it doesn't seem to be reproducible so I am

Re: [PATCH v3 8/9] mfd: rtsx: add support for rts525A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts525A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 103 > +++ > drivers/mfd/rtsx_pcr.c | 13 -- >

Re: [PATCH] genirq: better describe IRQF_NO_SUSPEND semantics

2015-02-25 Thread Peter Zijlstra
On Tue, Feb 24, 2015 at 01:26:05AM +0100, Rafael J. Wysocki wrote: > On Friday, February 20, 2015 02:53:46 PM Mark Rutland wrote: > > The IRQF_NO_SUSPEND flag is intended to be used for interrupts required > > to be enabled during the suspend-resume cycle. This mostly consists of > > IPIs and

Re: [PATCH 9/8 v2] ARM OMAP2+ GPMC: fix programming/showing reserved timing parameters

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 11:44, Roger Quadros wrote: typo ATTCHEDDEVICEPAGELENGTH->ATTACHEDDEVICEPAGELENGTH Yep. +/** DEVICESIZE Max Value */ +#define GPMC_CONFIG1_DEVICESIZE_MAX GPMC_CONFIG1_DEVICESIZE_16 Shouldn't this be 1 instead? I'm hoping max value is without the shift based on

Re: [PATCH v8 7/7] x86, mm: Add set_memory_wt() for WT

2015-02-25 Thread Toshi Kani
On Wed, 2015-02-25 at 08:22 +0100, Ingo Molnar wrote: > * Toshi Kani wrote: > > > +int set_pages_array_wt(struct page **pages, int addrinarray) > > +{ > > + return _set_pages_array(pages, addrinarray, _PAGE_CACHE_MODE_WT); > > +} > > +EXPORT_SYMBOL(set_pages_array_wt); > > So by default we

Re: [PATCH v3 7/9] mfd: rtsx: add support for rts524A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts524A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 186 > --- > drivers/mfd/rtsx_pcr.c | 25 +- >

Re: [PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-02-25 Thread Peter Griffin
Hi Lee, On Wed, 25 Feb 2015, Lee Jones wrote: > > + resets = < STIH407_USB3_POWERDOWN>, > > + < STIH407_MIPHY2_SOFTRESET>; > > + reset-names = "powerdown", > > + "softreset";

Re: [PATCH v3 5/9] mfd: rtsx: update phy register

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Update some phy register name and value for rts5249, > the updated value makes chip more stable on some platform. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 29 +++- >

Re: [PATCH 3/6] ARM: DT: STi: STiH407: Update picophyreset for the usb3 controllers usb2 phy

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > Ths picophyreset is incorrectly defined, which stops the usb2 phy being > taken out of reset. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Lee Jones

Re: [PATCH v3 1/9] mfd: rtsx: replace TAB by SPC after #define

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Re-format coding-style, using uniform SPC after "#define" keyword > instead of mixing using TAB and SPC. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > include/linux/mfd/rtsx_pci.h | 254 >

Re: [PATCH v3 2/9] mfd: rtsx: place register address and values togather

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > It is more readable to place register address and values define > togather. The values define add two leading space indicate belong > to the register address defined above. > > Signed-off-by: Micky Ching >

Re: [PATCH v3 3/9] mfd: rtsx: update PETXCFG address

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rts5227.c| 6 ++ > drivers/mfd/rts5249.c| 6 ++ >

Re: [PATCH v3 5/9] mfd: rtsx: update phy register

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Update some phy register name and value for rts5249, > the updated value makes chip more stable on some platform. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 29 +++- >

Re: [PATCH v3 4/9] mfd: rtsx: update driving settings

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > update card drive settings, This setting can be used for rts5249 > rts524A and rts525A. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rts5249.c | 12 ++-- > 1 file changed, 6

Re: [PATCH v3 9/9] mfd: rtsx: using pcr_dbg replace dev_dbg

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > pcr_dbg is a wrapper of dev_dbg, which can save some code, > and help to enable/disable debug message static. > > Signed-off-by: Micky Ching > Acked-by: Lee Jones > --- > drivers/mfd/rtl8411.c | 11 +-- >

Re: [PATCH v3 8/9] mfd: rtsx: add support for rts525A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts525A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 103 > +++ > drivers/mfd/rtsx_pcr.c | 13 -- >

Re: [PATCH v3 6/9] mfd: rtsx: remove LCTLR defination

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > To enable/disable ASPM we should find LINK CONTROL register > in PCI config space. All old chip use 0x80 address, but new > chip may use another address, so we using pci_find_capability() > to get LINK CONTROL

Re: [PATCH 0/7] New eFuse subsystem

2015-02-25 Thread Maxime Ripard
Hi, On Wed, Feb 25, 2015 at 01:12:01PM +, James Hartley wrote: > Hi Maxime, > > > -Original Message- > > From: Ezequiel Garcia > > Sent: 25 February 2015 12:30 > > To: Maxime Ripard > > Cc: Thierry Reding; Stephen Warren; Arnd Bergmann; Andrew Bresticker; > > James Hartley;

Re: [PATCH v3 7/9] mfd: rtsx: add support for rts524A

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > add support for new chip rts524A. > > Signed-off-by: Micky Ching > --- > drivers/mfd/rts5249.c| 186 > --- > drivers/mfd/rtsx_pcr.c | 25 +- >

Re: [PATCH 2/2] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL

2015-02-25 Thread Lee Jones
On Fri, 06 Feb 2015, Krzysztof Kozlowski wrote: > The WTSR (Watchdog Timer Software Reset) and SMPL (Sudden Momentary > Power Loss) were removed from rtc-s5m driver because they were not used. > Remove them (and on/off interrupt) from main MFD driver and header. > > Additionally remove ENOMEM

Re: [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-25 Thread Rob Herring
On Mon, Feb 23, 2015 at 11:23 AM, Mike Turquette wrote: > Quoting Lee Jones (2015-02-18 08:15:00) >> Much h/w contain clocks which if turned off would prove fatal. The >> only way to recover is to restart the board(s). This driver takes >> references to clocks which are required to be always-on

Re: [PATCH 2/2] mfd: sec: Cleanup unused RTC fields: ono, WTSR and SMPL

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Lee Jones wrote: > On Fri, 06 Feb 2015, Krzysztof Kozlowski wrote: > > > The WTSR (Watchdog Timer Software Reset) and SMPL (Sudden Momentary > > Power Loss) were removed from rtc-s5m driver because they were not used. > > Remove them (and on/off interrupt) from main MFD

Re: [PATCH V7 1/1] perf tool:perf diff support for different binaries

2015-02-25 Thread a...@kernel.org
Em Wed, Feb 25, 2015 at 03:14:06PM +, Liang, Kan escreveu: > Hi Arnaldo, > > Could you please review the patch? > I've already updated the patch description to try to address your concern. > Please let me know if you have any questions. Just out of time, sorry, will get to it eventually. -

Re: [PATCH] mfd: da9150: Constify struct regmap_config

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/da9150-core.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH v5 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-25 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. This driver also supports devices without DTS specified. To provide correct functionality, new

[PATCH v5 2/6] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2015-02-25 Thread Lukasz Majewski
From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski Signed-off-by: Lukasz Majewski --- Changes since v1: - added pwm label to the

[PATCH v5 1/6] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-25 Thread Lukasz Majewski
Explanation of several properties, which allow PWM fan working as a cooling device, have been embraced in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove default-pulse-width property and stick to default hwmon policy Changes

[PATCH v5 5/6] hwmon: pwm-fan: Read PWM FAN configuration from device tree

2015-02-25 Thread Lukasz Majewski
This patch provides code for reading PWM FAN configuration data via device tree. The pwm-fan can work with full speed when configuration is not provided. However, errors are propagated when wrong DT bindings are found. Additionally the struct pwm_fan_ctx has been extended. Signed-off-by: Lukasz

[PATCH v5 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-25 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Replace pwm_fan_cooling_states with pwm_fan_cooling_levels - Update ctx->pwm_fan_state when correct data from device tree

[PATCH v5 4/6] hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty cycle

2015-02-25 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3:

Re: doubt about sm7xxfb

2015-02-25 Thread Greg Kroah-Hartman
On Wed, Feb 25, 2015 at 06:00:02PM +0530, Sudip Mukherjee wrote: > On Wed, Feb 11, 2015 at 02:33:51PM +0800, Greg Kroah-Hartman wrote: > > On Wed, Feb 11, 2015 at 11:58:18AM +0530, Sudip Mukherjee wrote: > > > > Ok, that makes sense, I was thinking this was a "new" driver, instead of > > a vendor

Re: [PATCH] phy: armada375-usb2: Set drvdata for phy and use it

2015-02-25 Thread Kishon Vijay Abraham I
On Tuesday 24 February 2015 07:42 PM, Axel Lin wrote: Signed-off-by: Axel Lin need a commit msg pls. -Kishon --- drivers/phy/phy-armada375-usb2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/phy-armada375-usb2.c b/drivers/phy/phy-armada375-usb2.c

[PATCH v3] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Charles Keepax
Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: Charles Keepax Acked-by: Mark Brown Acked-by: Rob Herring --- Changes since v2: -

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Denys Vlasenko
On Wed, Feb 25, 2015 at 3:43 PM, Steven Rostedt wrote: > On Wed, 25 Feb 2015 10:20:43 +0100 Ingo Molnar wrote: >> But, if we do that, we can do even better, and also do an >> optimization of the 64-bit entry path as well: we could >> simply mask RAX with 0x3ff and not do a compare. Pad the >>

Re: [PATCH] perf, tools, record: Support recording running/enabled time

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 25, 2015 at 04:13:06PM +0100, Jiri Olsa escreveu: > On Tue, Feb 24, 2015 at 03:13:40PM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > Add an option to perf record to record running/enabled time > > for read events, similar to what stat does. > > > > This is useful to

Re: [PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Thomas Huth
On Wed, 25 Feb 2015 16:11:27 +0100 Cornelia Huck wrote: > On Wed, 25 Feb 2015 15:36:02 +0100 > "Michael S. Tsirkin" wrote: > > > virtio balloon has this code: > > wait_event_interruptible(vb->config_change, > > (diff = towards_target(vb)) != 0 > >

[RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
This patch adds support for a half-word xchg() for ARM using ldrexh/strexh instructions. It also fixes an asm comment for __cmpxchg2. Currently using a half-word xchg() results in the following splat on an ARMv7 machine. [ 45.833303] xchg: bad data size: pc 0xbe806020, ptr 0xeb18deee, size 2

Re: [PATCH 5/8 v2] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-25 Thread Tony Lindgren
* Roger Quadros [150225 05:28]: > On 24/02/15 22:05, Robert ABEL wrote: > > DTS output was formatted to require additional work when copy-pasting into > > DTS. > > Nano-second timings were removed, because they were not a confidence > > interval nor > > an indication what timing values would

RE: [PATCH] thermal: intel Quark SoC X1000 DTS thermal driver

2015-02-25 Thread Ong, Boon Leong
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >ow...@vger.kernel.org] On Behalf Of Ong, Boon Leong >Sent: Monday, February 23, 2015 9:39 AM >To: Kweh, Hock Leong; Zhang, Rui; edubez...@gmail.com >Cc: linux...@vger.kernel.org; LKML; Bryan O'Donoghue

Re: [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-25 Thread Michal Marek
On 2015-02-10 23:32, Paul Bolle wrote: > On Tue, 2015-02-10 at 14:21 -0800, David Rientjes wrote: >> We need an update to the MAINTAINERS file if "Yann E. MORIN" >> isn't the active Kconfig maintainer anymore. > > Yes, we do. Michal, what update would you suggest? I'll revert the patch that

Re: [PATCH v2 2/2] epoll: introduce EPOLLEXCLUSIVE and EPOLLROUNDROBIN

2015-02-25 Thread Jason Baron
On 02/21/2015 07:24 PM, Eric Wong wrote: > Jason Baron wrote: >> On 02/18/2015 12:51 PM, Ingo Molnar wrote: >>> * Ingo Molnar wrote: >>> > [...] However, I think the userspace API change is less > clear since epoll_wait() doesn't currently have an > 'input' events argument as

[PATCH v5 3/6] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-25 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels Changes for v3: - Change patch's topic to "ARM dts" - Reduce maximal cooling-level to 230

Re: [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Rob Herring wrote: > On Mon, Feb 23, 2015 at 11:23 AM, Mike Turquette > wrote: > > Quoting Lee Jones (2015-02-18 08:15:00) > >> Much h/w contain clocks which if turned off would prove fatal. The > >> only way to recover is to restart the board(s). This driver takes > >>

Re: [PATCH v3] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Charles Keepax wrote: > Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in > the dt-binding directory for use by device tree bindings. This also > makes gpio.h redundant so remove it in the process. > > Signed-off-by: Charles Keepax > Acked-by: Mark Brown

Re: [PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > Hi Lee, > > On Wed, 25 Feb 2015, Lee Jones wrote: > > > > + resets = < STIH407_USB3_POWERDOWN>, > > > + < STIH407_MIPHY2_SOFTRESET>; > > > + reset-names = "powerdown", > >

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 11:35:35 +0100 Peter Zijlstra wrote: > On Tue, Feb 24, 2015 at 01:39:46PM -0500, Steven Rostedt wrote: > > Index: linux-rt.git/kernel/sched/rt.c > > === > > --- linux-rt.git.orig/kernel/sched/rt.c 2015-02-24

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: > This patch adds support for a half-word xchg() for ARM using ldrexh/strexh > instructions. It also fixes an asm comment for __cmpxchg2. > > Currently using a half-word xchg() results in the following splat on an ARMv7 > machine. > >

Re: [Xen-devel] [PATCH 06/13] xen: detect pre-allocated memory interfering with e820 map

2015-02-25 Thread Juergen Gross
On 02/25/2015 03:24 PM, David Vrabel wrote: On 24/02/15 06:27, Juergen Gross wrote: On 02/19/2015 07:07 PM, David Vrabel wrote: On 18/02/2015 06:51, Juergen Gross wrote: +{ +unsigned long pfn; +unsigned long area_start, area_end; +unsigned i; + +for (i = 0; i <

Re: [PATCH V6 00/12] Tegra xHCI support

2015-02-25 Thread Thierry Reding
On Mon, Nov 24, 2014 at 04:17:12PM -0800, Andrew Bresticker wrote: > This series adds support for xHCI on NVIDIA Tegra SoCs. This includes: > - patches 1, 2, and 3: minor cleanups for mailbox framework and xHCI, > - patches 4 and 5: adding a driver for the mailbox used to communicate >with

b4eef9b36db4 ("kvm: x86: vmx: NULL out hwapic_isr_update() in case of !enable_apicv")

2015-02-25 Thread Borislav Petkov
Hi, commit in $Subject breaks my kvm guest on AMD host, causing it to do the following below. Mouse doesn't work anymore in the guest, network is gone too. Reverting it fixes the issue. --- ... [4.849095] Freeing unused kernel memory: 2972K (81aee000 - 81dd5000) [

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 16:40:49 +0100 Denys Vlasenko wrote: > >> The downside would be that if we ever grow past 1024 > >> syscall entries we'll be in trouble if new userspace calls > >> syscall 513 on an old kernel and gets syscall 1. > > > > What if we test against ~0x3ff and jump to sys_ni if

[RFC V2 05/12] i2c: qup: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-qup.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 4dad23bdffbe90..fdcbdab808e9fc 100644 ---

[RFC V2 06/12] i2c: cpm: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-cpm.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 2d466538b2e2c9..714bdc837769fd 100644 ---

[RFC V2 10/12] i2c: viperboard: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-viperboard.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c index 7533fa34d73711..47e88adf2011e1 100644 ---

[RFC V2 09/12] i2c: powermac: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-powermac.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 60a53c169ed2b3..6abcf696e3594b 100644 ---

Re: [PATCH v6 6/7] PCI: update dma configuration from DT

2015-02-25 Thread Murali Karicheri
On 02/24/2015 08:53 PM, Bjorn Helgaas wrote: On Thu, Feb 05, 2015 at 04:52:58PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to

[RFC V2 11/12] i2c: pmcmsp: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-pmcmsp.c | 42 - 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c index

[RFC V2 12/12] i2c: bcm-iproc: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-bcm-iproc.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm-iproc.c b/drivers/i2c/busses/i2c-bcm-iproc.c index d3c89157b33774..f9f2c2082151e2 100644 ---

[RFC V2 07/12] i2c: axxia: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-axxia.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c index 768a598d8d03ad..488c5d3bf9dba7 100644 ---

[RFC V2 02/12] i2c: add quirk checks to core

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang --- drivers/i2c/i2c-core.c | 62 ++ 1 file changed, 62 insertions(+) diff --git

[RFC V2 01/12] i2c: add quirk structure to describe adapter flaws

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang The number of I2C adapters which are not fully I2C compatible is rising, sadly. Drivers usually do handle the flaws, still the user receives only some errno for a transfer which normally can be expected to work. This patch introduces a formal description of flaws. One

[RFC V2 00/12] i2c: describe adapter quirks in a generic way

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Here is the second version of the patch series to describe i2c adapter quirks in a generic way. For the motivation, please read description of patch 1. This is still RFC because I would like to do some more tests on my own, but I need to write a tool for that. However, I'd

[RFC V2 08/12] i2c: dln2: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-dln2.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-dln2.c b/drivers/i2c/busses/i2c-dln2.c index b3fb86af4cbb14..b6f9ba7eb17564 100644 ---

[RFC V2 03/12] i2c: at91: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-at91.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 636fd2efad8850..b3a70e8fc653c5 100644 ---

[RFC V2 04/12] i2c: opal: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-opal.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-opal.c b/drivers/i2c/busses/i2c-opal.c index 16f90b1a750894..b2788ecad5b3cb 100644 ---

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Borislav Petkov
On Wed, Feb 25, 2015 at 11:01:29AM -0500, Steven Rostedt wrote: > I'm just curious, do all these micro optimizations have any real impact > on real use cases? > > That is, if we are going to make the system less robust, shouldn't we > show that it has real benefit? I'm wondering the same thing

Re: RFC: (almost) getting rid of FIXUP/RESTORE_TOP_OF_STACK?

2015-02-25 Thread Andy Lutomirski
On Tue, Feb 24, 2015 at 3:45 AM, Denys Vlasenko wrote: > On 02/24/2015 12:58 AM, Andy Lutomirski wrote: >>> - Next possible change is to use PUSH insns to build the stack. Something >>> along the lines of >>> swapgs >>> mov %rsp,%gs:old_rsp >>> mov

<    7   8   9   10   11   12   13   14   15   16   >