Re: [PATCH] PM/Trace: get rid of synchronous resume limit during PM trace

2015-01-26 Thread Fu, Zhonghui
This is a incorrect patch , please ignore it. Thanks, Zhonghui On 2015/1/26 13:07, Fu, Zhonghui wrote: > From f9c841d1f943d81b5ab0aac7483e794a7f966296 Mon Sep 17 00:00:00 2001 > From: Zhonghui Fu > Date: Mon, 26 Jan 2015 11:27:08 +0800 > Subject: [PATCH] PM/Trace: get rid of synchronous resume

Re: [PATCH v2] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-01-26 Thread Lad, Prabhakar
Hi Paul, Thanks for the review. On Mon, Jan 26, 2015 at 2:15 AM, Paul Walmsley wrote: > Hi > > On Sun, 25 Jan 2015, Lad, Prabhakar wrote: > >> From: Benoit Parrot >> >> this patch adds VPFE HWMOD data for AM43xx. >> >> Signed-off-by: Benoit Parrot >> Signed-off-by: Darren Etheridge >> Signed-

Re: [PATCH v3 2/2] cpuidle: exynos: add coupled cpuidle support for Exynos4210

2015-01-26 Thread Krzysztof Kozlowski
On pią, 2015-01-23 at 17:24 +0100, Bartlomiej Zolnierkiewicz wrote: > The following patch adds coupled cpuidle support for Exynos4210 to > an existing cpuidle-exynos driver. As a result it enables AFTR mode > to be used by default on Exynos4210 without the need to hot unplug > CPU1 first. > > The

Re: [PATCH v3] ARM: zynq: DT: Add USB to device tree

2015-01-26 Thread Andreas Färber
Hi Michal, Am 03.12.2014 um 09:39 schrieb Michal Simek: > On 12/02/2014 05:07 PM, Soren Brinkmann wrote: >> Add USB nodes to zc702, zc706 and zed device trees. >> >> Signed-off-by: Soren Brinkmann >> --- >> v3: >> - rename phy nodes: usb_phy -> phy0 >> - rebased onto zynq/dt >> v2: >> - remove

[PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-01-26 Thread Lad, Prabhakar
From: Benoit Parrot this patch adds VPFE HWMOD data for AM43xx. Signed-off-by: Benoit Parrot Signed-off-by: Darren Etheridge Signed-off-by: Felipe Balbi Signed-off-by: Lad, Prabhakar --- Changes for v3: a: Dropped OCPIF_SWSUP_IDLE flag from l3 hwmods of vpfe. arch/arm/mach-omap2/omap_hw

Re: [PATCH v3] ARM: zynq: DT: Add USB to device tree

2015-01-26 Thread Michal Simek
On 01/26/2015 09:19 AM, Andreas Färber wrote: > Hi Michal, > > Am 03.12.2014 um 09:39 schrieb Michal Simek: >> On 12/02/2014 05:07 PM, Soren Brinkmann wrote: >>> Add USB nodes to zc702, zc706 and zed device trees. >>> >>> Signed-off-by: Soren Brinkmann >>> --- >>> v3: >>> - rename phy nodes: usb

Re: [PATCH 0/4] int to bool conversion

2015-01-26 Thread Quentin Lambert
Sorry for the delay in answering On 22/01/2015 17:18, Rafael J. Wysocki wrote: On Thursday, January 22, 2015 09:49:41 AM Quentin Lambert wrote: These patches convert local variables from int to bool when relevant. And what exactly is the need for that? Does that fix any functional proble

Re: [PATCH v3] ARM: zynq: DT: Add USB to device tree

2015-01-26 Thread Andreas Färber
Am 26.01.2015 um 09:23 schrieb Michal Simek: > On 01/26/2015 09:19 AM, Andreas Färber wrote: >> Am 03.12.2014 um 09:39 schrieb Michal Simek: >>> On 12/02/2014 05:07 PM, Soren Brinkmann wrote: Add USB nodes to zc702, zc706 and zed device trees. Signed-off-by: Soren Brinkmann ---

Re: [PATCH 0/4] defconfigs: cleanup obsolete MTD configs

2015-01-26 Thread Simon Horman
On Sat, Jan 24, 2015 at 06:33:29PM +0200, Semen Protsenko wrote: > This patch series removes next obsolete MTD configs from all defconfig files: > - CONFIG_MTD_CHAR > - CONFIG_MTD_CONCAT > - CONFIG_MTD_DEBUG > - CONFIG_MTD_DEBUG_VERBOSE > - CONFIG_MTD_PARTITIONS > > All those configs wer

Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-01-26 Thread Li, Aubrey
Hi Thomas, Thanks for the comments, my feedback below: On 2015/1/22 18:15, Thomas Gleixner wrote: > On Tue, 9 Dec 2014, Li, Aubrey wrote: >> diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h >> index 2e4cb67..d118e0b 100644 >> --- a/include/linux/clockchips.h >> +++ b/include/l

Re: [PATCH 1/2] firmware: dmi_scan: add symbol to get SMBIOS entry area

2015-01-26 Thread Ard Biesheuvel
On 23 January 2015 at 20:21, Ivan Khoronzhuk wrote: > There are situations when code needs to access SMBIOS entry table > area. For example, to pass it via sysfs to userspace when it's not > allowed to get SMBIOS info via /dev/mem. > > Signed-off-by: Ivan Khoronzhuk > --- > drivers/firmware/dmi_

Re: [PATCH 5/5] perf: Make perf aware of tracefs

2015-01-26 Thread Jiri Olsa
On Sun, Jan 25, 2015 at 02:31:51PM -0500, Steven Rostedt wrote: > On Sun, 25 Jan 2015 18:34:33 +0100 > Jiri Olsa wrote: > > > On Sat, Jan 24, 2015 at 01:13:35PM -0500, Steven Rostedt wrote: > > > > SNIP > > > > > @@ -351,11 +385,15 @@ const char *find_tracing_dir(void) > > > if (tracing_found

[PATCH 0/2] ACPICA: 201501xx fast path patches.

2015-01-26 Thread Lv Zheng
This patchset contains ACPICA 201501xx release patches. They can be directly merged to the Linux kernel before the ACPICA 201501xx release. For PATCH 1, I rebased it on top of recent linux-next branch. Since we may need to wait for the confirmation from Octavian, I marked it as RFC. For PATCH 2,

[PATCH 2/2] ACPICA: Resources: Provide common part for struct acpi_resource_address structures.

2015-01-26 Thread Lv Zheng
struct acpi_resource_address and struct acpi_resource_extended_address64 share substracts just at different offsets. To unify the parsing functions, OSPMs like Linux need a new ACPI_ADDRESS64_ATTRIBUTE as their substructs, so they can extract the shared data. This patch also synchronizes the stru

[RFC PATCH 1/2] ACPI: Introduce acpi_unload_parent_table() usages in Linux kernel.

2015-01-26 Thread Lv Zheng
ACPICA has implemented acpi_unload_parent_table() which can exactly replace the acpi_get_id()/acpi_unload_table_id() implemented in Linux kernel. The acpi_unload_parent_table() has been unit tested in ACPICA simulation environment. This patch can also help to reduce the source code differences be

Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions

2015-01-26 Thread Jiri Olsa
On Sun, Jan 25, 2015 at 02:26:45PM -0500, Steven Rostedt wrote: > On Sun, 25 Jan 2015 17:56:19 +0100 > Jiri Olsa wrote: > > > On Sat, Jan 24, 2015 at 01:13:32PM -0500, Steven Rostedt wrote: > > > > SNIP > > > > > @@ -0,0 +1,29 @@ > > > +#ifndef __API_TRACEFS_H__ > > > +#define __API_TRACEFS_H__

Re: [PATCH net-next 1/7] r8152: adjust rx_bottom

2015-01-26 Thread Scott Feldman
On Mon, Jan 19, 2015 at 6:48 PM, Hayes Wang wrote: > David Miller [mailto:da...@davemloft.net] >> Sent: Tuesday, January 20, 2015 5:14 AM > [...] >> >> - r8152_submit_rx(tp, agg, GFP_ATOMIC); >> >> + if (!ret) { >> >> + ret = r8152_submit_rx(tp, a

Re: [PATCH 07/32] s390: use %*pb[l] to print bitmaps including cpumasks and nodemasks

2015-01-26 Thread Heiko Carstens
On Sat, Jan 24, 2015 at 09:03:13AM -0500, Tejun Heo wrote: > printk and friends can now formap bitmaps using '%*pb[l]'. cpumask > and nodemask also provide cpumask_pr_args() and nodemask_pr_args() > respectively which can be used to generate the two printf arguments > necessary to format the speci

Re: [PATCH 2/3] ARM: OMAP2+: gpmc: make gpmc_cs_get_name() static

2015-01-26 Thread Roger Quadros
On 24/01/15 22:28, Semen Protsenko wrote: > Fix sparse warning: > warning: symbol 'gpmc_cs_get_name' was not declared. Should it be static? > > Signed-off-by: Semen Protsenko Acked-by: Roger Quadros cheers, -roger > --- > drivers/memory/omap-gpmc.c |2 +- > 1 file changed, 1 insertion(

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-26 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 05:25:45PM +, Will Deacon wrote: > On Tue, Jan 20, 2015 at 04:38:57PM +, Jiri Olsa wrote: > > hi, > > I'm following up on latest post from Alexis: > > http://marc.info/?l=linux-kernel&m=141427580405357&w=2 > > > > v3 changes: > > - disabling only builtin rules,

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-26 Thread Jiri Olsa
On Wed, Jan 21, 2015 at 03:30:44PM -0800, Sukadev Bhattiprolu wrote: > Jiri Olsa [jo...@kernel.org] wrote: > | > | The patchset is also available in: > | git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > | perf/build > | > | All tests/make tests passed. > | > > The build and ma

[PATCH v2] staging: vt6655: fix that open brace { should be on the previous line

2015-01-26 Thread Mariam Mohamed Fawzy
This patch fixes the following checkpatch.pl error: fix that open brace { should be on the previous line Signed-off-by: Mariam Mohamed Fawzy --- v2: Adjusted my legal name. drivers/staging/vt6655/card.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt66

Re: [PATCH v2 1/9] clk: sunxi: Add support for sun9i a80 usb clocks and resets

2015-01-26 Thread Chen-Yu Tsai
Hi, 2015年1月25日 下午11:05 於 "Maxime Ripard" 寫道: > > Hi, > > On Sun, Jan 25, 2015 at 08:22:02PM +0800, Chen-Yu Tsai wrote: > > The USB controller/phy clocks and reset controls are in a separate > > address block, unlike previous SoCs where they were in the clock > > controller. > > > > This patch cop

Re: [PATCH 1/3] ARM: OMAP2+: gpmc: Fix writing in gpmc_cs_set_memconf

2015-01-26 Thread Roger Quadros
On 24/01/15 22:28, Semen Protsenko wrote: > Some GPMC_CONFIG7 register bits marked as "RESERVED", means they > shouldn't be overwritten. A typical approach to handle such bits called > "Read-Modify-Write". Writing procedure used in gpmc_cs_set_memconf() > utilizes RMW technique, but implemented inc

Re: [PATCH v3] ARM: zynq: DT: Add USB to device tree

2015-01-26 Thread Andreas Färber
Am 26.01.2015 um 09:33 schrieb Andreas Färber: > Am 26.01.2015 um 09:23 schrieb Michal Simek: >> On 01/26/2015 09:19 AM, Andreas Färber wrote: >>> And if I apply it to my -next based tree, adding corresponding nodes to >>> zynq-parallella.dts, I get repeatedly: >>> >>> [ +0,012242] ci_hdrc ci_hdrc

[PATCH v2 00/12] AT91 pm cleanup for 3.20

2015-01-26 Thread Wenyou Yang
Hi Nicolas, This version is rebased on the branch: at91-3.20-cleanup of the repository git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git It is purpose to clean up the PM code, includes the patches from Peter Rosin and Sylvain Rochet. Since verifying the USB clock and U

Re: [PATCH V2] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-26 Thread Daniel Lezcano
On 01/26/2015 02:25 AM, Kever Yang wrote: Hi Daniel, Hi Kever, [ ... ] +static inline int rk_timer_set_next_event(unsigned long cycles, + struct clock_event_device *ce) +{ +rk_timer_disable(ce); +rk_timer_update_counter(cycles, ce); +rk_timer_enable(ce, TIMER

[PATCH v2 01/12] pm: at91: pm_slowclock: improve reliability of suspend/resume

2015-01-26 Thread Wenyou Yang
From: Sylvain Rochet Assume USB PLL and PLL B are already stopped before entering sleep mode, print a warning if this isn't the case. Removed timeout on XTAL, PLL lock and Master Clock Ready, hang if something went wrong instead of continuing in unknown condition. There is not much we can do if

[PATCH v2 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-26 Thread Wenyou Yang
From: Peter Rosin The DDRSDR controller fails miserably to put LPDDR1 memories in self-refresh. Force the controller to think it has DDR2 memories during the self-refresh period, as the DDR2 self-refresh spec is equivalent to LPDDR1, and is correctly implemented in the controller. Assume that th

[PATCH v2 04/12] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-26 Thread Wenyou Yang
To decrease the suspend time, move the copying the sram function to the sram initialization phase, instead of every time go to suspend. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH v2 05/12] ARM: at91: move select SRAM to ARCH_AT91

2015-01-26 Thread Wenyou Yang
Because the CONFIG_AT91_SLOW_CLOCK will be removed to simply the PM config, so move select SRAM. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Kconfig |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/

[PATCH v2 03/12] pm: at91: pm_slowclock: remove the unused code related with SLOWDOWN_MASTER_CLOCK

2015-01-26 Thread Wenyou Yang
The SLOWDOWN_MASTER_CLOCK definition is not used, remove the redundant code. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm_slowclock.S | 37 - 1 file changed, 37 deletions(-) diff --git a/arch/arm/mach-at91/pm_slowclock.S

Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-01-26 Thread Thomas Gleixner
On Mon, 26 Jan 2015, Li, Aubrey wrote: > On 2015/1/22 18:15, Thomas Gleixner wrote: > > Can we please stop adding more crap to that notifier thing? I rather > > see that go away than being expanded. > > Are you referring to FREEZE_PREPARE or remove all of FREEZE staff at all? > > What's the disad

[PATCH v2 06/12] pm: at91: remove the config item CONFIG_AT91_SLOW_CLOCK

2015-01-26 Thread Wenyou Yang
The slow clock always exists, for the suspend to memory mode, the master clock always switch to the slow clock. To simplify the PM config, remove this config item, remove the definition code as well. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Kconfig | 13

[PATCH v2 07/12] pm: at91: the standby mode uses the same sram function as the suspend to memory mode

2015-01-26 Thread Wenyou Yang
To simply the PM code, the suspend to standby mode uses the same sram function as the suspend to memory mode, running in the internal SRAM, instead of the respective code for each mode. But for the suspend to standby mode, the master clock doesn't switch to the slow clock, and the main oscillator

Re: [PATCH V2] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-26 Thread Thomas Gleixner
On Sun, 25 Jan 2015, Daniel Lezcano wrote: > +static inline void rk_timer_set_mode(enum clock_event_mode mode, > + struct clock_event_device *ce) > +{ > + switch (mode) { > + case CLOCK_EVT_MODE_PERIODIC: > + rk_timer_disable(ce); > +

[PATCH v2 09/12] pm: at91: rename function name: at91_slow_clock()-->at91_pm_suspend_sram_fn

2015-01-26 Thread Wenyou Yang
As the file name's renaming, rename the file name at91_slow_clock()--> at91_pm_suspend_sram_fn, rename the function handler's name at the same time. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm.c | 23 +++ arch/arm/mach-at91/pm_s

Re: [PATCH v4 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Daniel Lezcano
On 01/26/2015 08:56 AM, Baruch Siach wrote: Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event

[PATCH v2 08/12] pm: at91: rename file name: pm_slowclock.S -->pm_suspend.S

2015-01-26 Thread Wenyou Yang
Because the sram function is used for the suspend to standby mode as well, more than suspend to memory, so renaming is more elegant. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/Makefile |2 +- arch/arm/mach-at91/pm_slowclock.S | 281 -

[PATCH v2 10/12] pm: at91: remove the at91_xxx_standby() function definitions in the pm.h

2015-01-26 Thread Wenyou Yang
Because the the suspend to standby mode uses the sram function, these functions will not used, remove the redundant code. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm.h | 97 --- 1 file changed, 97 deletions(-) d

[PATCH v2 11/12] pm: at91: setup: remove the struct ramc_ids .data at91_xxx_standby members

2015-01-26 Thread Wenyou Yang
Because the at91_xxx_standby function is removed, remove the struct ramc_ids .data members code. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/setup.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/arm/mach-at91/se

[PATCH v2 12/12] pm: at91: amend the pm_suspend entry for at91_cpuidle_device

2015-01-26 Thread Wenyou Yang
Because the at91_xxx_standby() function is substitued by the at91_pm_suspend(), the pm_suspend entry for at91_cpuidle_device changes as well. Signed-off-by: Wenyou Yang Acked-by: Alexandre Belloni --- arch/arm/mach-at91/pm.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletion

Re: [PATCH V2] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-26 Thread Daniel Lezcano
On 01/26/2015 10:43 AM, Thomas Gleixner wrote: On Sun, 25 Jan 2015, Daniel Lezcano wrote: +static inline void rk_timer_set_mode(enum clock_event_mode mode, +struct clock_event_device *ce) +{ + switch (mode) { + case CLOCK_EVT_MODE_PERIODIC: +

Re: [PATCH 3/3] ARM: OMAP2+: gpmc: Do not modify LIMITEDADDRESS on new architectures

2015-01-26 Thread Roger Quadros
Hi, On 24/01/15 22:28, Semen Protsenko wrote: > New OMAP-based architectures (like OMAP5, DRA7XX, AM572X) don't have > LIMITEDADDRESS bit in GPMC_CONFIG register (this bit marked as > RESERVED). Seems like these SoCs have new revision of GPMC IP-core > (despite of same GPMC_REVISION value as for e

[PATCH v2 3/5] clocksource: sun5i: Remove sched_clock

2015-01-26 Thread Maxime Ripard
It's not possible to remove a sched_clock once it has been added, nor is it possible to change its rate. Since we will need to support a rate change, and that we have other sched_clocks in the system anyway, remove it. Signed-off-by: Maxime Ripard --- drivers/clocksource/timer-sun5i.c | 6 -

[PATCH v2 1/5] clocksource: sun5i: Switch to request_irq

2015-01-26 Thread Maxime Ripard
The current code uses setup_irq, while it could perfectly use the much simpler request_irq. Switch to that. Signed-off-by: Maxime Ripard --- drivers/clocksource/timer-sun5i.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/clocksource/timer-sun5i.c b/drive

[PATCH v2 0/5] clocksource: sun5i: Support parent clock rate changes

2015-01-26 Thread Maxime Ripard
Hi, The Allwinner HS timers have the AHB clock as their parent clock. Since this clock is shared with other devices, we could very well have another driver requesting a rate change of that clock, making our timer change frequency at the same time. This is especially true on the A31, where the DMA

[PATCH v2 5/5] clocksource: sun5i: Add clock notifiers

2015-01-26 Thread Maxime Ripard
The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driver has probed. Add cl

Re: [PATCH v2 00/12] AT91 pm cleanup for 3.20

2015-01-26 Thread Sylvain Rochet
Hello Wenyou, On Mon, Jan 26, 2015 at 05:36:45PM +0800, Wenyou Yang wrote: > Hi Nicolas, > > This version is rebased on the branch: at91-3.20-cleanup of the repository > git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git > > It is purpose to clean up the PM code, includes

[PATCH v2 4/5] clocksource: sun5i: Refactor the current code

2015-01-26 Thread Maxime Ripard
Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. Signed-off-by: Maxime Ripard --- drivers/clocksource/timer-sun5i.c | 231 +++

Re: [PATCH v6 0/7] can: kvaser_usb: Leaf bugfixes and USBCan-II support

2015-01-26 Thread Marc Kleine-Budde
On 01/26/2015 06:17 AM, Ahmed S. Darwish wrote: > Hi! > > This is an updated patch series for the Kvaser CAN/USB devices: > > 1- Extra patches are now added to the series. Most importantly > patch #1 which fixes a critical `sleep in atomic context' bug > in the current upstream driver. Patch #2 f

[PATCH v2 2/5] clocksource: sun5i: Use of_io_request_and_map

2015-01-26 Thread Maxime Ripard
of_iomap doesn't do a request_mem_region on the memory area defined in the DT it maps. Switch to of_io_request_and_map to make sure we're the only users. Signed-off-by: Maxime Ripard --- drivers/clocksource/timer-sun5i.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drive

Re: [RFC PATCH v3 2/2] arm: kernel: fix pci_mmap_page_range() offset calculation

2015-01-26 Thread Lorenzo Pieralisi
On Fri, Jan 23, 2015 at 11:59:11PM +, Bjorn Helgaas wrote: > On Thu, Nov 13, 2014 at 11:19:16AM +, Lorenzo Pieralisi wrote: > > The pci_mmap_page_range() API should be written to expect offset > > values representing PCI memory resource addresses as seen by user > > space, through the pci_r

atomic unlink filename only if everything but basename is no symlink?

2015-01-26 Thread Axel Kittenberger
Is there a Linux system call that allows one to call unlink() to execute properly only if no part of the path is a symlink? Except the basename of course since that would be simply removing the symlink itself? The issue is with some tools like Lsyncd this can lead to removes outside of what is exp

[PATCH -mm] slab: update_memcg_params: explicitly check that old array != NULL

2015-01-26 Thread Vladimir Davydov
tree: git://git.cmpxchg.org/linux-mmotm.git master head: c64429bcc60a702f19f5cfdb5c39277863278a8c commit: 5d06629c100b942a51f02b4d886c116ba3afb32a [200/417] slab: embed memcg_cache_params to kmem_cache mm/slab_common.c:166 update_memcg_params() warn: variable dereferenced before check 'old'

[PATCH 0/7] AT91 pm improvements for 3.20

2015-01-26 Thread Wenyou Yang
Hi Nicolas, This patch set is add pm support for ARMv7 SoCs. - Add WFI support for ARMv7. - Disable the L1 D-cache and L2 cache before suspending. - Get the memory type from the dts file config. - Disable the mpddr controller's clock and DDR clock during the suspending. It is based on the fol

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-26 Thread Stathis Voukelatos
On 23/01/15 11:20, Daniel Borkmann wrote: On 01/23/2015 11:07 AM, Stathis Voukelatos wrote: This patch adds support 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-d

[PATCH 1/7] pm: at91: achieve the memory controller's type from the dts file.

2015-01-26 Thread Wenyou Yang
Instead of achieve the ram controller's tpye through the SoC, through the sram controller configuration, it is more sensible. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/generic.h |5 + arch/arm/mach-at91/pm.c |9 + arch/arm/mach-at91/setup.c | 28 +

[PATCH 2/7] pm: at91: pm_suspend: add the WFI support for ARMv7

2015-01-26 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_suspend.S | 54 ++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S index 122a3f1..e796722 100644 --- a/arch/arm/mach-at91/pm_

[PATCH 3/7] pm: at91: pm_suspend: MOR register KEY was missing

2015-01-26 Thread Wenyou Yang
From: Patrice Vilchez Signed-off-by: Patrice Vilchez --- arch/arm/mach-at91/pm_suspend.S |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S index e796722..88cf228 100644 --- a/arch/arm/mach-at91/pm_suspend.S +++ b/arch/arm/

Re: [PATCH v6 0/7] can: kvaser_usb: Leaf bugfixes and USBCan-II support

2015-01-26 Thread Marc Kleine-Budde
On 01/26/2015 06:17 AM, Ahmed S. Darwish wrote: > Hi! > > This is an updated patch series for the Kvaser CAN/USB devices: > > 1- Extra patches are now added to the series. Most importantly > patch #1 which fixes a critical `sleep in atomic context' bug > in the current upstream driver. Patch #2 f

[PATCH 4/7] ARM: at91: enable the L2 Cache controller

2015-01-26 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/board-dt-sama5.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/mach-at91/board-dt-sama5.c b/arch/arm/mach-at91/board-dt-sama5.c index 86cffcd..ed6db28 100644 --- a/arch/arm/mach-at91/board-dt-

Re: [PATCH RESEND 1/5] Tools: hv: add mising fcopyd to the Makefile

2015-01-26 Thread Vitaly Kuznetsov
Greg KH writes: > On Fri, Jan 09, 2015 at 10:18:51PM -0800, K. Y. Srinivasan wrote: >> From: Vitaly Kuznetsov >> >> fcopyd in missing in the Makefile, add it there. >> >> Signed-off-by: Vitaly Kuznetsov >> Signed-off-by: K. Y. Srinivasan >> --- >> tools/hv/Makefile |4 ++-- >> 1 files c

Re: [PATCH v2 07/12] pm: at91: the standby mode uses the same sram function as the suspend to memory mode

2015-01-26 Thread Sylvain Rochet
Hello Wenyou, On Mon, Jan 26, 2015 at 05:42:11PM +0800, Wenyou Yang wrote: > +static int at91_pm_verify_clocks(suspend_state_t state) > { > unsigned long scsr; > int i; > > + /* For PM_SUSPEND_STANDBY, skip verifying the clock */ > + if (state == PM_SUSPEND_STANDBY) > +

[PATCH 6/7] pm: at91: add achieve the mpddrc peripheral ID and the DDR clock ID support

2015-01-26 Thread Wenyou Yang
The patch achieves the mpddr controller peripheral ID and the DDR clock ID from the dts file. They will be used in the future to disable the mpddr controller'c clock the and DDR clock to decrease the power consumption during suspending. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/generic.

[PATCH 7/7] pm: at91: add disable/enable the mpddrc's clock and DDR clock support

2015-01-26 Thread Wenyou Yang
In order to decrease the power consumption, when go to suspend, disable the mpddr controller peripheral clock and the DDR clock after the DDR enters the self-refresh mode. Due the mpddr controller's issue, postpone the disable clocks operation, instead of the DDR enters self-fresh mode immediately

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-26 Thread Daniel Borkmann
Hi Stathis, On 01/26/2015 10:49 AM, Stathis Voukelatos wrote: On 23/01/15 11:20, Daniel Borkmann wrote: On 01/23/2015 11:07 AM, Stathis Voukelatos wrote: This patch adds support the Ethernet Packet Sniffer H/W module developed by Linn Products Ltd and found in the IMG Pistachio SoC. The module

[PATCH 5/7] pm: at91: add disable/enable the L1/L2 cache while suspend/resume

2015-01-26 Thread Wenyou Yang
For the sama5, disable L1 D-cache and L2 cache before the cpu go to wfi, after wakeing up, enable L1 D-cache and L2 cache. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm.c |9 arch/arm/mach-at91/pm_suspend.S | 107 +++ 2 files changed,

Re: [PATCH] x86,xen: use current->state helpers

2015-01-26 Thread Davidlohr Bueso
Oops, cc'ing lkml. On Mon, 2015-01-26 at 02:10 -0800, Davidlohr Bueso wrote: > Call __set_current_state() instead of assigning the new state directly. > These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, > keeping track of who changed the state. > > Signed-off-by: Davidlohr Bueso

[PATCH] drivers/block/swim: use current->state helpers

2015-01-26 Thread Davidlohr Bueso
Call __set_current_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who changed the state. Signed-off-by: Davidlohr Bueso --- drivers/block/swim.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) d

[PATCH 03/36] tools build: Add subdir support

2015-01-26 Thread Jiri Olsa
Add support to make directory any time we build objects out of the tree (O=/tmp/krava) and the output directory does not exist. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashfo

[PATCH 02/36] tools build: Add detected config support

2015-01-26 Thread Jiri Olsa
Adding support to include detected configuration makefile into the build process. This will allow the Build objects to be configurable based on the config data, like: perf-$(CONFIG_KRAVA) += krava.o The configuration is stored in '.config-detected' file, which is generated for each compilation.

[PATCH 34/36] tools lib traceevent: Use tools build framework

2015-01-26 Thread Jiri Olsa
Move the libtraceevent library building under tools build framework. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Moln

[PATCH 06/36] perf build: Add bench objects building

2015-01-26 Thread Jiri Olsa
Move bench objects building under build framework and enable perf-in.o rule. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: I

[PATCH 14/36] perf build: Add slang objects building

2015-01-26 Thread Jiri Olsa
Move the slang objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frede

[PATCH 05/36] perf build: Disable make's built-in rules

2015-01-26 Thread Jiri Olsa
We don't use any built-in rules, so we can disable make's checks for that and build faster. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic We

[PATCH 30/36] perf build: Remove PERF-CFLAGS file

2015-01-26 Thread Jiri Olsa
Removing PERF-CFLAGS file, because the build framework stores full build command line for each object and triggers rebuilt if necessary. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Co

[PATCH 09/36] perf build: Add libperf objects building

2015-01-26 Thread Jiri Olsa
Move the util objects building under build framework. Add new libperf build object so it's separated from the rest of the perf code and could be librarized. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Bo

[PATCHv4 00/36] perf tools: New build framework

2015-01-26 Thread Jiri Olsa
hi, I'm following up on latest post from Alexis: http://marc.info/?l=linux-kernel&m=141427580405357&w=2 thanks for feedback and testing! v4 changes: - updated to the current Arnaldo's perf/core branch - added Tested-by tags [Will, Sukadev] - fixed common-cmds.h dependency [David] - upda

[PATCH 19/36] perf build: Add perf.o object building

2015-01-26 Thread Jiri Olsa
Move the perf object building under build framework to be included in the perf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic W

[PATCH 29/36] perf build: Remove uneeded variables

2015-01-26 Thread Jiri Olsa
Removing uneeded variables from Makefile.perf: BUILTIN_OBJS LIB_OBJS GTK_OBJS - objects are now hold by in the build Makefiles LIB_H - header dependencies iare now handled by Build framework Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis

[PATCH] drivers/staging: use current->state helpers

2015-01-26 Thread Davidlohr Bueso
Call __set_current_state() instead of assigning the new state directly. These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping track of who changed the state. Signed-off-by: Davidlohr Bueso --- drivers/staging/comedi/drivers/me_daq.c | 2 +- drivers/staging/dgnc/dgnc_utils.c

[PATCH RFC] loop: make partition scanning reliable

2015-01-26 Thread David Herrmann
So far, loop-device partition-scanning is skipped with EBUSY if the bd_mutex cannot be locked. This might happen, if someone runs open() / close() / ioctl() in parallel to LOOP_SET_FD/LOOP_CHANGE_FD and friends. __fput() on open files might get delayed arbitrarily, which means, blkdev_put() might

[PATCH 35/36] tools lib lockdep: Use tools build framework

2015-01-26 Thread Jiri Olsa
Move the lockdep library building under tools build framework. Signed-off-by: Jiri Olsa Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 28/36] perf build: Remove directory dependency rules

2015-01-26 Thread Jiri Olsa
Removing subdirectories creation support from Makefile.perf as it's no longer needed, since it's properly handled by new build system. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Core

[PATCH 21/36] perf build: Add arch arm objects building

2015-01-26 Thread Jiri Olsa
Move the arm arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Fr

[PATCH 31/36] perf build: Add build documentation

2015-01-26 Thread Jiri Olsa
Adding file describing the basics of perf build process. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namh

Re: [PATCH] net: Linn Ethernet Packet Sniffer driver

2015-01-26 Thread Stathis Voukelatos
On 23/01/15 10:51, Mark Rutland wrote: diff --git a/Documentation/devicetree/bindings/net/linn-ether-packet-sniffer.txt b/Documentation/devicetree/bindings/net/linn-ether-packet-sniffer.txt new file mode 100644 index 000..6b6e105 --- /dev/null +++ b/Documentation/devicetree/bindings/net/l

[PATCH 36/36] perf build: Display make commands on V=1

2015-01-26 Thread Jiri Olsa
Get more verbose output wrt displaying executed commands from make. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molna

Re: [PATCH v4 2/2] clocksource: driver for Conexant Digicolor SoC timer

2015-01-26 Thread Baruch Siach
Hi Daniel, On Mon, Jan 26, 2015 at 10:43:43AM +0100, Daniel Lezcano wrote: [...] > >+static struct dc_dev_t { > >+void __iomem *timer_base; > >+u32 ticks_per_jiffy; > >+} dc_dev; > > Hi Baruch, > > your code is valid but I think there is a misunderstanding when we talked > about the enca

[PATCH 24/36] perf build: Add arch s390 objects building

2015-01-26 Thread Jiri Olsa
Move the s390 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: F

Re: [PATCH RESEND v3 0/3] irqchip: vf610-mscm: add support for MSCM interrupt router

2015-01-26 Thread Thomas Gleixner
On Thu, 15 Jan 2015, Stefan Agner wrote: > Splitted out version of the MSCM driver. My first driver based on the > routeable domain support and was part of the Vybrid Cortex-M4 support > patchset. > > So far the MSCM interrupt router was initialized by the boot loader > and configured all interru

[PATCH 22/36] perf build: Add arch arm64 objects building

2015-01-26 Thread Jiri Olsa
Move the arm64 arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc:

[PATCH 25/36] perf build: Add arch sh objects building

2015-01-26 Thread Jiri Olsa
Move the sh arch objects building under build framework to be included in the libperf build object. Signed-off-by: Jiri Olsa Tested-by: Sukadev Bhattiprolu Tested-by: Will Deacon Cc: Alexis Berlemont Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Fre

[PATCH 4/4] sound: jz4740: Enable codec clock during dai_probe

2015-01-26 Thread Zubair Lutfullah Kakakhel
As we are moving away from platform to DT, we cant rely on the board file to do this now. So enable it here. Signed-off-by: Zubair Lutfullah Kakakhel --- sound/soc/jz4740/jz4740-i2s.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-

[PATCH 0/3] staging: fbtft: fix coding style errors

2015-01-26 Thread Mariam Mohamed Fawzy
This patchset fixes three coding style errors in the file fb_bd663474.c located in the driver fbtft Mariam Mohamed Fawzy (3): fix space prohibited before that close parenthesis ')' fix space prohibited after that open parenthesis '(' fix space required after that ',' drivers/staging/fbtft

[PATCH 1/4] sound: soc: jz4740: Add dynamic sampling rate support to jz4740-i2s

2015-01-26 Thread Zubair Lutfullah Kakakhel
The div clock register is not modified during jz4740_i2s_hw_params. Hence, default sampling rates are actually used regardless of sampling rates input from userspace. This patch adds support to calculate the value of the divider from the parameters passed from userspace and update the relevant div

[PATCH 2/4] dt: sound: jz4740: Add binding documentation for jz4740-i2s

2015-01-26 Thread Zubair Lutfullah Kakakhel
This patch adds binding for the jz4740-i2s driver. Signed-off-by: Zubair Lutfullah Kakakhel --- The jz4740 is platform only at the moment. But DT support is being added See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ --- .../devicetree/bindings/sound/ingenic,jz4740-i2s.txt

[PATCH 0/4] sound:soc: jz4740: DT, dynamic sampling, enable clocks

2015-01-26 Thread Zubair Lutfullah Kakakhel
Hi, Here are a few simple patches for the jz4740. First adds dynamic sampling support to jz4740-i2s. Then two to add a simple binding and DT support. Then a patch to enable the codec clock. These are in preparation for jz4780 and ci20 later on. These are based on 3.19-rc6. If you would like t

[PATCH 3/4] sound: soc: jz4740: Add DT support to jz4740-i2s driver

2015-01-26 Thread Zubair Lutfullah Kakakhel
This patch adds device tree support for the jz4740 driver. Signed-off-by: Zubair Lutfullah Kakakhel --- sound/soc/jz4740/jz4740-i2s.c | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c index 98c77a63..3c309fc 100644 --- a/sou

  1   2   3   4   5   6   7   8   9   10   >