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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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] 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 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: 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 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: [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 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 > --- >

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,

[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 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 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 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 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 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 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] 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 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 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 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 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] 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 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 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 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 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 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 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 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 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] 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 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,

[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 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

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

2015-02-25 Thread Cornelia Huck
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 > || vb->need_stats_update >

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

2015-02-25 Thread Rob Herring
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. > > Signed-off-by: Peter Griffin We seem to have a variety

Re: [PATCH 3/4] arm-cci: Split the code for PMU vs driver support

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Suzuki K. Poulose wrote: > On 24/02/15 22:17, Nicolas Pitre wrote: > > On Tue, 24 Feb 2015, Suzuki K. Poulose wrote: > > > > > From: "Suzuki K. Poulose" > > > > > > This patch separates the PMU driver code from the low level > > > CCI driver code, and enables the CCI400-PMU

RE: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, February 19, 2015 8:27 AM > To: KY Srinivasan; de...@linuxdriverproject.org > Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui > Subject: [PATCH 1/2] Drivers: hv: hv_balloon: report

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

2015-02-25 Thread Daniel Lezcano
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 enter the deepest idle state. The sanity checks carried out in cpuidle_select() are

Re: [STLinux Kernel] [PATCH v3 7/8] rtc: st: add new driver for ST's LPC RTC

2015-02-25 Thread Peter Griffin
Hi Russell, On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: > On Mon, Feb 23, 2015 at 10:12:23AM +, Peter Griffin wrote: > > I think all the writel IO accessors in this driver can be replaced > > with the *_relaxed variant. This will avoid the overhead of taking a > > spinlock in the l2

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

2015-02-25 Thread David Vrabel
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 < XEN_N_RESERVED_AREAS; i++) { >>> +

Re: [PATCH] ARM64: Add new Xilinx ZynqMP SoC

2015-02-25 Thread Michal Simek
Hi Mark, On 02/24/2015 07:38 PM, Mark Rutland wrote: > Hi Michal, > > I have a few minor comments below, but generally this is looking like > one of the best dts submissions I've seen! thanks appreciate it. > > [...] > >> +/ { >> + model = "ZynqMP EP108"; >> + >> + aliases { >> +

Re: [PATCH v2 0/3] net: Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 10:53:11AM +, Stathis Voukelatos wrote: > On 25/02/15 09:50, Richard Cochran wrote: > > > >The Linux kernel already fully supports this kind of application via > >the SIOCSHWTSTAMP, SO_TIMESTAMPING, and PHC mechanisms. We certainly > >don't need another another

[PATCH] vhost: cleanup iterator update logic

2015-02-25 Thread Michael S. Tsirkin
Recent iterator-related changes in vhost made it harder to follow the logic fixing up the header. In fact, the fixup always happens at the same offset: sizeof(virtio_net_hdr): sometimes the fixup iterator is updated by copy_to_iter, sometimes-by iov_iter_advance. Rearrange code to make this

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread Michael S. Tsirkin
The 2 that we use for copy_to_iter comes from sizeof(u16), it used to be that way before the iov iter update. Fix it up, making it obvious the size of stack access is right. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] checkkconfigsymbols.py: filter reports for tools/

2015-02-25 Thread Valentin Rothberg
Recent changes to the build system of tools suggest to filter reports for the entire tools directory. Various C preprocessor identifiers are prefixed with CONFIG_ but are NOT defined in Kconfig but in Makefiles in the tools directory. Such identifiers are false positives for most static analysis

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

2015-02-25 Thread Lee Jones
Why are you using this address for MFD? > 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-3.18.7-rt1]sunrpc: make svc_xprt_do_enqueue() use get_cpu_light()

2015-02-25 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-02-18 16:05:28 [+0100]: >[ 37.667792] Installing knfsd (copyright (C) 1996 o...@monad.swb.de). >[ 37.720307] BUG: sleeping function called from invalid context at >kernel/locking/rtmutex.c:915 >[ 37.720307] in_atomic(): 1, irqs_disabled(): 0, pid: 3194, name:

[PATCH] 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()

[PATCH] phy: miphy28lp: Add missing .owner field in miphy28lp_ops

2015-02-25 Thread Axel Lin
Add missing .owner field in miphy28lp_ops, which is used for refcounting. Signed-off-by: Axel Lin --- drivers/phy/phy-miphy28lp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c index 9b2848e..44e2861 100644 ---

[PATCH v2] 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 --- Changes since v1: - Removed some defines that

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

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 14:54:01, Shaohua Li wrote: > On Tue, Feb 24, 2015 at 04:43:18PM +0100, Michal Hocko wrote: > > On Tue 24-02-15 17:18:14, Minchan Kim wrote: > > > Recently, Shaohua reported that MADV_FREE is much slower than > > > MADV_DONTNEED in his MADV_FREE bomb test. The reason is many of > >

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

2015-02-25 Thread Daniel Lezcano
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() call and its stale comment in cpuidle_enter_freeze(), since they disagree and

[PATCH] phy: xgene: Remove duplicate code to set ctx->dev

2015-02-25 Thread Axel Lin
Set it once is enough and it's done after devm_kzalloc(). Signed-off-by: Axel Lin --- drivers/phy/phy-xgene.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/phy-xgene.c b/drivers/phy/phy-xgene.c index 29214a3..2263cd0 100644 --- a/drivers/phy/phy-xgene.c +++

Re: [patch-3.18.7-rt1] snd/pcm: fix snd_pcm_stream_lock*() irqs_disabled() splats

2015-02-25 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-02-18 15:09:23 [+0100]: >Locking functions previously using read_lock_irq()/read_lock_irqsave() were >changed to local_irq_disable/save(), leading to gripes. Use nort variants. applied Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: nios2: is the ptrace ABI correct?

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 08:33:16 Ezequiel Garcia wrote: > > /me is more confused now > > In arch/nios2/include/asm/ucontext.h > > struct ucontext { > unsigned long uc_flags; > struct ucontext *uc_link; > stack_t uc_stack; > struct mcontext

[PATCH -v2] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 12:23:55, David Rientjes wrote: > On Tue, 24 Feb 2015, Johannes Weiner wrote: [...] > > I'm fine with keeping the allocation looping, but is that message > > helpful? It seems completely useless to the user encountering it. Is > > it going to help kernel developers when we get a

Re: [PATCH] mm, oom: do not fail __GFP_NOFAIL allocation if oom killer is disbaled

2015-02-25 Thread Michal Hocko
On Tue 24-02-15 14:11:27, Johannes Weiner wrote: [...] > I'm fine with keeping the allocation looping, but is that message > helpful? It seems completely useless to the user encountering it. Is > it going to help kernel developers when we get a bug report with it? It is better than a silent

[PATCH v2] 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 --- Changes since v1: - Removed some defines that

Re: [PATCH] kconfig: fix a misspelling in scripts/kconfig/merge_config.sh

2015-02-25 Thread Michal Marek
On 2014-12-03 07:55, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > scripts/kconfig/merge_config.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to kbuild.git#kconfig, sorry for the delay. Michal -- To unsubscribe from this list: send the line

[PATCH v4 0/9] mfd: watchdog: rtc: New driver for ST's LPC IP

2015-02-25 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time, which is enforced by the correlating MFD driver. This driver set provides everything you need to choose one (and only one) of the LPC devices to run per I/P block, of

[PATCH v4 1/9] mfd: dt-bindings: Provide human readable defines for LPC mode choosing

2015-02-25 Thread Lee Jones
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Signed-off-by: Lee Jones --- include/dt-bindings/mfd/st-lpc.h | 15 +++ 1 file changed, 15 insertions(+)

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

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:37 PM, Andrey Wagin wrote: > 2015-02-13 0:54 GMT+03:00 Denys Vlasenko : > My test vm doesn't boot with this patch. Could you help to investigate > this issue? Hi Andrey, thanks for testing! > I have attached a kernel config and console log. Looking at the logs, it seems that

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-25 Thread Sebastian Andrzej Siewior
* Joakim Hernberg | 2015-02-19 10:36:01 [+0100]: >On Tue, 17 Feb 2015 09:37:44 +0100 >Daniel Wagner wrote: > >> I needed the patch below to get it running stable under load on my >> shiny box. > >FWIW, this patch makes 3.18-rt survive thermal events on my laptop. Okay. I applied a slightly

[PATCH v4 3/9] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC

2015-02-25 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 0f172f8..1a861c9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[PATCH v4 2/9] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog

2015-02-25 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e8a4c95..0f172f8 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

[PATCH] Staging: emxx_udc: fix warnings

2015-02-25 Thread Matteo Semenzato
From: Matteo Semenzato This patch fixes the following warning: __aligned(size) is preferred over __attribute__((aligned(size))) Signed-off-by: Matteo Semenzato --- drivers/staging/emxx_udc/emxx_udc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 5/9] watchdog: bindings: Provide ST bindings for ST's LPC Watchdog device

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to configure LPC in Watchdog mode. Signed-off-by: Lee Jones --- .../devicetree/bindings/watchdog/st_lpc_wdt.txt| 38 ++ 1 file

[PATCH v4 7/9] rtc: bindings: Provide ST bindings for ST's LPC RTC device

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to configure LPC in RTC mode. Signed-off-by: Lee Jones --- .../devicetree/bindings/rtc/rtc-st-lpc.txt | 25 ++ 1 file

[PATCH v4 9/9] MAINTAINERS: Add Watchdog and RTC files to STI's maintainer entry

2015-02-25 Thread Lee Jones
Signed-off-by: Lee Jones --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8c..19af007 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1461,10 +1461,12 @@ F: drivers/phy/phy-stih407-usb.c F: drivers/phy/phy-stih41x-usb.c F:

Re: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Ingo Molnar
* Denys Vlasenko wrote: > > The decision on how exactly we should fix > > KERNEL_STACK_OFFSET (set it to SIZEOF_PTREGS or to > > zero) depends on whether we switch to using PUSHes, or > > not. What do you think? Yes. > A data point. I implemented push-based creation of > pt_regs and

[PATCH v4 8/9] rtc: st: add new driver for ST's LPC RTC

2015-02-25 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time. This is enforced by the correlating MFD driver. This portion of the driver-set controls the Real Time Clock. Signed-off-by: Lee Jones --- drivers/rtc/Kconfig | 12

[PATCH v4 6/9] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2015-02-25 Thread Lee Jones
Reviewed-by: Guenter Roeck Signed-off-by: David Paris Signed-off-by: Lee Jones --- drivers/watchdog/Kconfig | 13 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_lpc_wdt.c | 333 ++ 3 files changed, 347 insertions(+) create mode

[PATCH v4 4/9] ARM: STi: DT: STiH407: Add Device Tree node for the LPC

2015-02-25 Thread Lee Jones
On current ST platforms the LPC controls a number of functions. This patch enables support for the LPC Watchdog and LPC RTC devices on LPC1 and LPC2 respectively. Signed-off-by: David Paris Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 20 1 file

Re: [patch 2/2] rocker: silence shift wrapping warning

2015-02-25 Thread Scott Feldman
On Wed, Feb 25, 2015 at 5:36 AM, Dan Carpenter wrote: > "val" is declared as a u64 so static checkers complain that this shift > can wrap. I don't have the hardware but probably it's doesn't have over > 31 ports. Still we may as well silence the warning even if it's not a > real bug. > >

Re: [Linaro-acpi] [PATCH v3 5/9] ACPI: move acpi_os_handler() so it can be made arch-dependent later

2015-02-25 Thread Hanjun Guo
On 2015年02月25日 08:36, al.st...@linaro.org wrote: From: Al Stone In order to deprecate the use of _OSI for arm64 or other new architectures, we need to make the default handler something we can change for various platforms. This patch moves the definition of acpi_osi_handler() -- the function

Re: [patch 2/2] rocker: silence shift wrapping warning

2015-02-25 Thread Jiri Pirko
Wed, Feb 25, 2015 at 02:36:12PM CET, dan.carpen...@oracle.com wrote: >"val" is declared as a u64 so static checkers complain that this shift >can wrap. I don't have the hardware but probably it's doesn't have over It's a QEMU hardware, you can have it easily. >31 ports. Still we may as well

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

2015-02-25 Thread Peter Griffin
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 --- Documentation/devicetree/bindings/ata/ahci-st.txt | 4 ++-- 1 file changed, 2

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