[PATCH v9 05/16] clk: exynos: add gate clock descriptions of System MMU

2013-08-08 Thread Cho KyongHo
This adds gate clocks of all System MMUs and their master IPs that are not apeared in clk-exynos5250.c Also fixes GATE_IP_ACP to 0x18800 and changed GATE_DA to GATE for System MMU clocks in clk-exynos4.c Signed-off-by: Cho KyongHo --- .../devicetree/bindings/clock/exynos5250-clock.txt | 26

[PATCH v3 1/1] input: ideapad_slidebar: new input driver

2013-08-08 Thread Andrey Moiseev
v3: i8042 filter instead of direct keyboard access ideapad_slidebar is a new driver which enables slidebars on some Lenovo IdeaPad laptops (the slidebars work with SlideNav/Desktop Navigator under Windows) Fixes this: https://bugzilla.kernel.org/show_bug.cgi?id=16004 Registers 'IdeaPad

[PATCH v9 02/16] iommu/exynos: add missing cache flush for removed page table entries

2013-08-08 Thread Cho KyongHo
This commit adds cache flush for removed small and large page entries in exynos_iommu_unmap(). Missing cache flush of removed page table entries can cause missing page fault interrupt when a master IP accesses an unmapped area. Tested-by: Grant Grundler Signed-off-by: Cho KyongHo ---

[PATCH v9 01/16] iommu/exynos: do not include removed header

2013-08-08 Thread Cho KyongHo
This commit remove which is removed. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 3f32d64..233f382 100644 ---

[PATCH v9 03/16] iommu/exynos: fix page table maintenance

2013-08-08 Thread Cho KyongHo
This prevents allocating lv2 page table for the lv1 page table entry that already has 1MB page mapping. In addition, changed to BUG_ON instead of returning -EADDRINUSE. Signed-off-by: Cho KyongHo --- drivers/iommu/exynos-iommu.c | 68 - 1 files changed,

[PATCH v9 00/16] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-08-08 Thread Cho KyongHo
The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate IOTLB in the System MMU when I/O

[PATCH 4/6] ARM: at91/dt: define sama5d3xek's main clk frequency

2013-08-08 Thread Boris BREZILLON
Define the main clock frequency for the new main clock node in sama5d3xcm.dtsi. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index

Re: [PATCH V4] drivers/rtc/rtc-palmas.c: support for backup battery charging

2013-08-08 Thread Mark Rutland
On Wed, Aug 07, 2013 at 07:46:11PM +0100, Laxman Dewangan wrote: > On Wednesday 07 August 2013 10:08 PM, Mark Rutland wrote: > > On Wed, Aug 07, 2013 at 11:29:52AM +0100, Laxman Dewangan wrote: > >> +Optional properties: > >> +- ti,back-battery-charge-enable: The Palmas series device like TPS65913

[PATCH 3/6] ARM: at91/dt: define sama5d3 clocks

2013-08-08 Thread Boris BREZILLON
Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3.dtsi | 331 ++- arch/arm/boot/dts/sama5d3_can.dtsi | 19 ++

[PATCH 2/6] ARM: at91: prepare common clk transition for sama5d3 SoC

2013-08-08 Thread Boris BREZILLON
This patch enclose sama5d3 old clk registration in "#if defined(CONFIG_OLD_CLK_AT91) #endif" sections. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/sama5d3.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/sama5d3.c

Re: [PATCH 4/5] omap: Avoid crashes in the case of hwmod misconfiguration

2013-08-08 Thread Pantelis Antoniou
Hi Kevin, On Aug 8, 2013, at 12:15 AM, Kevin Hilman wrote: > Pantelis Antoniou writes: > >> omap hwmod is really sensitive to hwmod misconfiguration. >> Getting a minor clock wrong always ended up in a crash. >> Attempt to be more resilient by not assigning variables with >> error codes and

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Wei Ni
On 08/08/2013 03:13 PM, Alexander Shiyan wrote: >> The device lm90 can be controlled by the vdd rail. >> Adding the power control support to power on/off the vdd rail. >> And make sure that power is enabled before accessing the device. >> >> Signed-off-by: Wei Ni >> --- >> drivers/hwmon/lm90.c |

Re: [PATCH 1/3 v5] usb: phy-samsung-usb: Simplify PMU register handling

2013-08-08 Thread Mark Rutland
On Wed, Aug 07, 2013 at 06:06:05PM +0100, Julius Werner wrote: > > This breaks compatibility, both for an old kernel and a new dt and a new > > kernel with an old dt. Is anyone using these bindings? > > They only affect Samsung SoCs and have only been upstream for half a > year, so I doubt it's

Re: [PATCH 3/5] omap: Properly handle resources for omap_devices

2013-08-08 Thread Pantelis Antoniou
Hi Kevin, On Aug 7, 2013, at 9:45 PM, Kevin Hilman wrote: > [fixing address for Benoit] > > Pantelis Antoniou writes: > >> omap_device relies on the platform notifier callbacks managing resources >> behind the scenes. The resources were not properly linked causing crashes >> when removing the

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-08 Thread Mel Gorman
On Thu, Aug 08, 2013 at 12:16:23AM -0400, Johannes Weiner wrote: > On Wed, Aug 07, 2013 at 11:37:43AM -0400, Johannes Weiner wrote: > > On Wed, Aug 07, 2013 at 03:58:28PM +0100, Mel Gorman wrote: > > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > > @@ -352,6 +352,7 @@

[PATCH 1/6] ARM: at91: prepare sama5 dt boards transition to common clk

2013-08-08 Thread Boris BREZILLON
This patch prepare the transition to common clk for sama5 dt boards by replacing the timer init callback. Clocks registration cannot be done in early init callback (as formerly done by the old clk implementation) because it requires dynamic allocation which is not ready yet during early init. In

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-08 Thread Sedat Dilek
125.336376] [] sleep_on_buffer+0xe/0x20 >> [ 125.336378] [] __wait_on_bit+0x62/0x90 >> [ 125.336380] [] ? __wait_on_buffer+0x30/0x30 >> [ 125.336382] [] out_of_line_wait_on_bit+0x7c/0x90 >> [ 125.336384] [] ? wake_atomic_t_function+0x40/0x40 >> [ 125.336386]

Re: [RFC 1/2] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-08 Thread Mark Rutland
On Tue, Aug 06, 2013 at 03:36:33PM +0100, Ivan T. Ivanov wrote: > Hi, > > On Tue, 2013-08-06 at 15:03 +0100, Mark Rutland wrote: > > On Tue, Aug 06, 2013 at 12:53:10PM +0100, Ivan T. Ivanov wrote: > > > From: "Ivan T. Ivanov" > > > > > > Signed-off-by: Ivan T. Ivanov > > > --- > > >

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-08 Thread ethan.zhao
在 2013-8-8,下午5:04,"ethan.zhao" 写道: > Kernel 3.11-rc1 +Peterz' patch+ Mike's patch, No C-states in BIOS, got the > same result as only Peter's patch. Typo 3.11-rc3 > Of course , No C states to enter, make sense. > [root@localhost ~]# time ./pip1m > > real 0m4.381s > user 0m0.099s > sys

Re: [PATCH 2/3] mfd: sec: Add clock cell for s2mps11

2013-08-08 Thread Lee Jones
On Wed, 07 Aug 2013, Mike Turquette wrote: > Quoting Yadwinder Singh Brar (2013-07-07 04:44:21) > > This patch adds clock to list of mfd cells for s2mps11 and DT documentation > > for clock part. > > > > Signed-off-by: Yadwinder Singh Brar > > Reviewed-by: Mike Turquette Thanks Mike. Patch

Re: [PATCH v2 2/4] gpio: add LP3943 I2C GPIO expander driver

2013-08-08 Thread Lee Jones
On Wed, 07 Aug 2013, Linus Walleij wrote: > On Tue, Jul 30, 2013 at 2:42 AM, Kim, Milo wrote: > > > This is one of LP3943 MFD driver. > > LP3943 is configurable as a GPIO expander, up to 16 GPIOs. > > > > * Application note: how to configure LP3943 as a GPIO expander > >

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-08 Thread ethan.zhao
Kernel 3.11-rc1 +Peterz' patch+ Mike's patch, No C-states in BIOS, got the same result as only Peter's patch. Of course , No C states to enter, make sense. [root@localhost ~]# time ./pip1m real0m4.381s user0m0.099s sys 0m2.784s [root@localhost ~]# time ./pip1m real0m4.436s user

[PATCH part3 2/5] x86, acpi: Split acpi_table_init() into two parts.

2013-08-08 Thread Tang Chen
This patch splits acpi_table_init() into two steps. Since acpi_table_init() is used not just in x86, also used in ia64, we introduce two new functions: acpi_table_init_firmware() and acpi_table_init_override(), which work just the same as acpi_table_init() if they are called in sequence. This

[PATCH part3 4/5] x86, acpi: Split acpi_boot_table_init() into two parts.

2013-08-08 Thread Tang Chen
This patch splits acpi_boot_table_init() into two steps, so that we can do each step separately in later patches. Signed-off-by: Tang Chen Reviewed-by: Zhang Yanfei --- arch/x86/kernel/acpi/boot.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git

[PATCH part3 1/5] x86, acpi: Call two new functions instead of acpi_initialize_tables() in acpi_table_init().

2013-08-08 Thread Tang Chen
The previous patches introduces two new functions: acpi_initialize_tables_firmware() and acpi_initialize_tables_override(), which work just the same as acpi_initialize_tables() if they are called in sequence. In order to split acpi_table_init() on acpi side, call these two functions in

[PATCH part3 3/5] x86, acpi: Rename check_multiple_madt() and make it global.

2013-08-08 Thread Tang Chen
Since we split acpi_table_init() into two steps, and want to do the two steps separately, we need to do check_multiple_madt() after acpi_table_init_override(). But we also have to keep acpi_table_init() as before because it is also used in ia64, we have to do check_multiple_madt() directly in

[PATCH part3 5/5] x86, acpi: Initialize acpi golbal root table list earlier.

2013-08-08 Thread Tang Chen
As the previous patches split the acpi_gbl_root_table_list initialization procedure into two steps: install and override, this patch does the "install" steps earlier, right after memblock is ready. In this way, we are able to find SRAT in firmware earlier. And then, we can prevent memblock from

[PATCH 2/6] ARM: at91: prepare common clk transition for sama5d3 SoC

2013-08-08 Thread Boris BREZILLON
This patch enclose sama5d3 old clk registration in "#if defined(CONFIG_OLD_CLK_AT91) #endif" sections. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/sama5d3.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/sama5d3.c

[PATCH 5/6] ARM: at91: move sama5d3 SoC to common clk

2013-08-08 Thread Boris BREZILLON
This patch removes the selection of AT91_USE_OLD_CLK when selecting sama5d3 SoC support. This will enable automatically enable COMMON_CLK_AT91 option and add support for at91 common clk implementation. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |1 - 1 file changed, 1

[PATCH part3 0/5] acpi, acpica: Initialize acpi_gbl_root_table_list earlier and override it later.

2013-08-08 Thread Tang Chen
In order to prevent bootmem allocator (memblock) from allocating hotpluggable memory for the kernel, we need to obtain SRAT earlier. In part1 patch-set, we have split acpi_gbl_root_table_list initialization into two steps: install and override. This patch-set will do install step earlier. This

readahead: make context readahead more conservative

2013-08-08 Thread Fengguang Wu
This helps performance on moderately dense random reads on SSD. Transaction-Per-Second numbers provided by Taobao: QPS case --- 7536disable context readahead totally w/ patch: 7129

Re: RFC: device thermal limits represented in device tree nodes

2013-08-08 Thread Mark Rutland
On Wed, Aug 07, 2013 at 09:18:29PM +0100, Eduardo Valentin wrote: > Pawel, all, > > On 06-08-2013 07:14, Pawel Moll wrote: > > Apologies about the delay, I was "otherwise engaged" for a week... > > > > I do also excuse for my delay, as I was also "engaged" for a week or so. > > > I hope you

Re: [PATCH] extable: Skip sorting if the table is empty

2013-08-08 Thread Uwe Kleine-König
Hello, [adding akpm to Cc:] On Wed, Jul 17, 2013 at 09:55:11AM +0200, Uwe Kleine-König wrote: > At least on ARM no-MMU the extable is empty and so there is nothing to > sort. So add a check for the table to be empty which effectively only > changes that the misleading pr_notice is suppressed. >

[PATCH 6/6] ARM: at91/dt: remove old main clk definition from sama5d3xcm.dtsi

2013-08-08 Thread Boris BREZILLON
This patch removes the old main clk node which is now useless as sama5d3 SoCs and boards are no longer compatible with the old at91 clk implementations. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xcm.dtsi | 11 --- 1 file changed, 11 deletions(-) diff --git

Re: [v2] Enhanced support for MPC8xx/8xxx watchdog

2013-08-08 Thread Guenter Roeck
On 08/07/2013 10:50 PM, leroy christophe wrote: Le 26/06/2013 01:04, Scott Wood a écrit : On Thu, Feb 28, 2013 at 09:52:22AM +0100, LEROY Christophe wrote: This patch modifies the behaviour of the MPC8xx/8xxx watchdog. On the MPC8xx, at 133Mhz, the maximum timeout of the watchdog timer is 1s,

[PATCH 2/3] leds-pca9633: Unique naming of the LEDs

2013-08-08 Thread Ricardo Ribalda Delgado
If there are more than one pca963x chips on the system and there are some LEDs without platform_data names, the driver wont be able to provide unique naming to them. This will cause led_class_dev_register to fail, unregistering all the LEDs of the chip. This patch adds the i2c adress to the name

[PATCH 0/3] PCA9633: Add support to PCA9634 and fix some problems

2013-08-08 Thread Ricardo Ribalda Delgado
Add Support for the PCA9634 chip. Simimart to the 9633, but with 8 outputs instead of 4. Fix bug when 2 chips where present on the system, the ledclass will fail and the chip wont probe. Protect ledout register with a mutex to support updates of more than leds at the same time Ricardo Ribalda

[PATCH 3/6] ARM: at91/dt: define sama5d3 clocks

2013-08-08 Thread Boris BREZILLON
Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3.dtsi | 331 ++- arch/arm/boot/dts/sama5d3_can.dtsi | 19 ++

[PATCH 3/3] leds-pca9633: Add mutex to the ledout register

2013-08-08 Thread Ricardo Ribalda Delgado
To update an LED a register has to be read, updated and writen. If another LED whas been updated at the same time, this could lead into wrong updates. This patch addes a common mutex to all the leds of the same chip to protect the ledout register. Signed-off-by: Ricardo Ribalda Delgado ---

[PATCH 4/6] ARM: at91/dt: define sama5d3xek's main clk frequency

2013-08-08 Thread Boris BREZILLON
Define the main clock frequency for the new main clock node in sama5d3xcm.dtsi. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index

[PATCH 1/6] ARM: at91: prepare sama5 dt boards transition to common clk

2013-08-08 Thread Boris BREZILLON
This patch prepare the transition to common clk for sama5 dt boards by replacing the timer init callback. Clocks registration cannot be done in early init callback (as formerly done by the old clk implementation) because it requires dynamic allocation which is not ready yet during early init. In

[PATCH 1/3] leds-pca9633: Add support for PCA9634

2013-08-08 Thread Ricardo Ribalda Delgado
Add support for PCA9634 chip, which belongs to the same family as the 9633 but with support for 8 outputs instead of 4. Signed-off-by: Ricardo Ribalda Delgado --- drivers/leds/Kconfig|7 ++-- drivers/leds/leds-pca9633.c | 74 +++ 2 files

[PATCH 0/6] ARM: at91: use new at91 clks for samad3 SoCs

2013-08-08 Thread Boris BREZILLON
Hello, This patch series was formerly part of the "ARM: at91: move to common clk framework" patch series. It moves sama5d3 SoCs and boards to the new at91 clks (clk implementation using common clk framework). This patch series depends on following patch series (they must be applied in this

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-08 Thread Sedat Dilek
On Thu, Aug 8, 2013 at 3:12 AM, Colin Cross wrote: > On Wed, Aug 7, 2013 at 6:01 PM, Sedat Dilek wrote: >> On Thu, Aug 8, 2013 at 1:34 AM, Colin Cross wrote: >>> On Wed, Aug 7, 2013 at 4:15 PM, Sedat Dilek wrote: On Thu, Aug 8, 2013 at 12:58 AM, Colin Cross wrote: > Can you try add a

Re: [PATCH 01/23] radix-tree: implement preload for multiple contiguous elements

2013-08-08 Thread Kirill A. Shutemov
Kirill A. Shutemov wrote: > In this case it should use 39 nodes, but it uses only 38. I can't understand > why. :( Okay, I've got it. We share one 2nd level node. Patch is below. Please review. >From 35ba5687ea7aea98645da34ddd0be01a9de8b32d Mon Sep 17 00:00:00 2001 From: "Kirill A. Shutemov"

Re: [PATCH 1/3] dmatest: make module parameters writable

2013-08-08 Thread Andy Shevchenko
On Fri, 2013-08-02 at 17:49 +, Dan Williams wrote: > > On 7/31/13 7:28 AM, "Andy Shevchenko" > wrote: > > >On Tue, 2013-07-23 at 18:36 +0300, Andy Shevchenko wrote: > >> The debugfs interface brought a copy of the test case parameters. This > >>makes > >> different set of values under

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Guenter Roeck
On 08/07/2013 11:56 PM, Wei Ni wrote: The device lm90 can be controlled by the vdd rail. Adding the power control support to power on/off the vdd rail. And make sure that power is enabled before accessing the device. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 49

Re: [PATCH v2 0/4] Export the ecc step size to user applications

2013-08-08 Thread Huang Shijie
Hi Artem & Brian: > In order to implement the NAND boot for some Freescale's chips, such as > imx23/imx28/imx50/imx6, we use a tool (called kobs-ng) to burn the uboot > and some metadata to nand chip. And the ROM code will use the metadata to > configrate the BCH, and to find the uboot. > > The

Re: [PATCH 0/6] Tegra: Use cpufreq-cpu0 driver

2013-08-08 Thread Viresh Kumar
On 8 August 2013 14:01, Richard Zhao wrote: > On Wed, Aug 7, 2013 at 10:46 PM, Viresh Kumar wrote: >> Hi Stephen, >> >> This is the first attempt to get rid of tegra-cpufreq driver. This patchset >> tries to add supporting infrastructure for tegra to use cpufreq-cpu0 driver. > > If tegra has

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-08 Thread Huang Shijie
Hi Artem & Brian: Hi Huang and others, On Thu, May 16, 2013 at 8:17 PM, Huang Shijie wrote: 1.) Why add the ECC information to the nand_chip{} ? Each nand chip has its requirement for the ECC correctability, such as "4bit ECC for each 512Byte" or "40bit ECC for each 1024Byte".

Re: [PATCH 0/6] Tegra: Use cpufreq-cpu0 driver

2013-08-08 Thread Richard Zhao
On Wed, Aug 7, 2013 at 10:46 PM, Viresh Kumar wrote: > Hi Stephen, > > This is the first attempt to get rid of tegra-cpufreq driver. This patchset > tries to add supporting infrastructure for tegra to use cpufreq-cpu0 driver. If tegra has only 4-core fast cpu, I would agree with the patch set.

Re: [PATCH v4 02/11] tracing: add basic event trigger framework

2013-08-08 Thread Masami Hiramatsu
(2013/07/30 1:40), Tom Zanussi wrote: > +struct event_command { > + struct list_headlist; > + char*name; > + enum trigger_mode trigger_mode; > + boolpost_trigger; > + int (*func)(struct event_command

[PATCH v3 19/19] ARM: at91: add new compatible strings for pmc driver

2013-08-08 Thread Boris BREZILLON
This patch adds new compatible string for PMC node to prepare the transition to common clk. These compatible string come from pmc driver in clk subsystem and are needed to provide new device tree compatibility with old at91 clks (device tree using common clks will use the new compatible strings).

[PATCH v3 18/19] ARM: at91: move pit timer to common clk framework

2013-08-08 Thread Boris BREZILLON
Use device tree to get the source clock of the PIT (Periodic Interval Timer). If the clock is not found in device tree (or dt is not enabled) we'll try to get it using clk_lookup definitions. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam926x_time.c | 14 +- 1 file

Re: [PATCH v2 1/1 resend] i2c: rcar: modify I2C driver

2013-08-08 Thread Wolfram Sang
On Thu, Aug 08, 2013 at 10:13:16AM +0900, Nguyen Viet Dung wrote: > Difference between H2 and H1 in hardware is only CDF bit of ICCCR register. No IP version register? Sigh... > If this method is not a common method, please tell me about common method. Use a new platform_device_id and populate

Does PVOPS guest os support online "suspend/resume"?

2013-08-08 Thread Peter Huang(Peng)
While suspend and resume a PVOPS guest os while it's running, we found that it would get its block/net io stucked. However, non-PVOPS guest os has no such problem. In non-PVOPS guest os, although they don't have blkfront SUSPEND method either, their xen-driver doesn't resume blkfront device,

[PATCH 03/10] leds: lp5521: restore legacy device attributes

2013-08-08 Thread Milo Kim
git commit 9ce7cb170f97f83a78dc948bf7d25690f15e1328 may cause an application confict, engineN_mode and engineN_load. This interface should be maintained for compatibility. Restored device attributes are 'engineN_mode' and 'engineN_load'. A 'selftest' attribute macro is replaced with LP55xx common

[PATCH 01/10] leds: lp55xx: add common data structure for program

2013-08-08 Thread Milo Kim
LP55xx family devices have internal three program engines which are used for loading LED patterns. To maintain legacy device attributes, specific data structure is used, 'mode' and 'led_mux'. The mode is used for showing/storing current engine mode such like disabled, load and run. Then led_mux is

[PATCH 05/10] leds: lp5523: make separate API for loading engine

2013-08-08 Thread Milo Kim
lp5523_load_engine() It is called whenever the operation mode is changed to 'load'. It is used for simple operation mode change. It will be used when engine mode and LED selection is updated in later patch. lp5523_load_engine_and_select_page() Change the operation mode to 'load' and

[PATCH 04/10] leds: lp5521: remove unnecessary writing commands

2013-08-08 Thread Milo Kim
This patch reduces the number of programming commands. (Count of sending commands) Old code: 32 + program size (32 counts for clearing program memory) New code: 32 Pattern buffer is initialized to 0 in this function. Just update new program data and remaining buffers are filled with 0. So it's

[PATCH 07/10] leds: lp5523: restore legacy device attributes

2013-08-08 Thread Milo Kim
git commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0 (leds-lp5523: use generic firmware interface) causes an application conflict. This interface should be maintained for compatibility. Restored device attributes are 'engineN_mode', 'engineN_load' and 'engineN_leds'. (N = 1, 2 or 3) A 'selftest'

[PATCH 08/10] leds: lp5523: remove unnecessary writing commands

2013-08-08 Thread Milo Kim
This patch reduces the number of programming commands. (Count of sending commands) Old code: 32 + program size (32 counts for clearing program memory) New code: 32 Pattern buffer is initialized to 0 in this function. Just update new program data and remaining buffers are filled with 0. So it's

[PATCH 06/10] leds: lp5523: LED MUX configuration on initializing

2013-08-08 Thread Milo Kim
LED MUX start and stop address should be updated in the program memory on LP5523 initialization. LED pattern doesn't work without additional MUX address configuration. This handling is done by new function, lp5523_init_program_engine(). Eventually, it's called during device initialization,

[PATCH 09/10] Documentation: leds-lp5521,lp5523: update device attribute information

2013-08-08 Thread Milo Kim
Now, all legacy application interfaces are restored. Each driver documentation is updated. Cc: Pali Rohár Signed-off-by: Milo Kim --- Documentation/leds/leds-lp5521.txt | 20 +++- Documentation/leds/leds-lp5523.txt | 21 - 2 files changed, 39

[PATCH 10/10] leds: lp5562: use LP55xx common macros for device attributes

2013-08-08 Thread Milo Kim
Signed-off-by: Milo Kim --- drivers/leds/leds-lp5562.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/leds/leds-lp5562.c b/drivers/leds/leds-lp5562.c index a2c7398..2585cfd 100644 --- a/drivers/leds/leds-lp5562.c +++ b/drivers/leds/leds-lp5562.c @@ -477,8

[PATCH 02/10] leds: lp55xx: add common macros for device attributes

2013-08-08 Thread Milo Kim
This patch provides common macros for LP5521 and LP5523 device attributes and functions. (Device attributes) LP5521: 'mode', 'load' and 'selftest' LP5523: 'mode', 'load', 'leds' and 'selftest' (Permissions) mode: R/W load: Write-only leds: R/W selftest: Read-only Couple of lines are duplicate,

[PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns

2013-08-08 Thread Milo Kim
This patch-set resolves the application conflict by restoring sysfs files. For LP5521 engine1/2/3_mode engine1/2/3_load For LP5523 engine1/2/3_mode engine1/2/3_load engine1/2/3_leds Those attributes are accessed when LED pattern is run by custom application. Those were removed when

Re: [PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-08 Thread Michael Ellerman
Hi Fin, I don't know anything about crypto so I can only critique you on your patch submission technique :) ... On Wed, Aug 07, 2013 at 06:15:50PM -0500, Fionnuala Gunter wrote: > This patch fixes a bug that is triggered when cts(cbc(aes)) is used with > nx-crypto driver on input larger than 32

Re: PREEMPT_RT vs bcache

2013-08-08 Thread Kent Overstreet
On Thu, Aug 08, 2013 at 12:26:23AM -0700, Christoph Hellwig wrote: > On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > > {down,up}_read_non_owner(). But these are not implemented by the -rt > > patchset when

Re: [PATCH 6/7] btrfs: cleanup: removed unused 'btrfs_reada_detach'

2013-08-08 Thread Arne Jansen
On 07.08.2013 23:43, Sergei Trofimovich wrote: > From: Sergei Trofimovich > > Found by uselex.rb: >> btrfs_reada_detach: [R]: exported from: fs/btrfs/btrfs.o fs/btrfs/built-in.o >> fs/btrfs/reada.o even though the function is currently unused, I'm hesitating to remove it as it's part of the

[PATCH v3 15/19] clk: at91: add PMC usb clock

2013-08-08 Thread Boris BREZILLON
This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig | 11 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-usb.c | 323

Re: [PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-08-08 Thread ethan.zhao
Kernel 3.11-rc3 With peter's patch and disable C-state in BIOS, got 1 second better performance ! [root@localhost ~]# time ./pip1m real0m4.399s user0m0.092s sys 0m2.775s [root@localhost ~]# time ./pip1m real0m4.352s user0m0.099s sys 0m2.751s [root@localhost ~]# time

[PATCH v3 16/19] clk: at91: add PMC smd clock

2013-08-08 Thread Boris BREZILLON
This patch adds at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |5 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-smd.c | 171

Re: [RFC PATCH 3/4] mm: add zbud flag to page flags

2013-08-08 Thread Krzysztof Kozlowski
Hi, On wto, 2013-08-06 at 09:58 -0700, Dave Hansen wrote: > On 08/05/2013 11:42 PM, Krzysztof Kozlowski wrote: > > +#ifdef CONFIG_ZBUD > > + /* Allocated by zbud. Flag is necessary to find zbud pages to unuse > > +* during migration/compaction. > > +*/ > > + PG_zbud, > > +#endif > >

Re: PREEMPT_RT vs bcache

2013-08-08 Thread Christoph Hellwig
On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > {down,up}_read_non_owner(). But these are not implemented by the -rt > patchset when PREEMPT_RT_FULL is enabled. Can they be added, or is > there a fundamental

[PATCH v3 17/19] clk: at91: add PMC clk device tree binding doc.

2013-08-08 Thread Boris BREZILLON
This patch adds new at91 clks dt bindings documentation. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/clock/at91-clock.txt | 312 1 file changed, 312 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/at91-clock.txt diff --git

Re: [PATCH 5/5] arm: omap: Proper cleanups for omap_device

2013-08-08 Thread Tony Lindgren
* Pantelis Antoniou [130807 09:31]: > Hi Tony, > > On Aug 7, 2013, at 7:15 PM, Tony Lindgren wrote: > > > * Pantelis Antoniou [130806 02:44]: > >> On Aug 6, 2013, at 12:33 PM, Greg Kroah-Hartman wrote: > >>> On Tue, Aug 06, 2013 at 10:53:44AM +0300, Pantelis Antoniou wrote: > + >

Re: [PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Alexander Shiyan
> The device lm90 can be controlled by the vdd rail. > Adding the power control support to power on/off the vdd rail. > And make sure that power is enabled before accessing the device. > > Signed-off-by: Wei Ni > --- > drivers/hwmon/lm90.c | 49

[PATCH v3 14/19] clk: at91: add PMC utmi clock

2013-08-08 Thread Boris BREZILLON
This adds new at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |7 ++ drivers/clk/at91/Makefile |1 +

Re: [PATCH V5] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-08-08 Thread Jingoo Han
On Thursday, August 08, 2013 2:05 AM, Bjorn Helgaas wrote: > On Tue, Aug 6, 2013 at 10:13 PM, Jingoo Han wrote: > > On Wednesday, July 31, 2013 5:14 PM, Jingoo Han wrote: > >> Exynos PCIe IP consists of Synopsys specific part and Exynos > >> specific part. Only core block is a Synopsys

Re: [PATCH] f2fs: fix a build failure due to missing the kobject header

2013-08-08 Thread Namjae Jeon
2013/8/8, Jaegeuk Kim : > This patch should resolve the following error reported by kbuild test > robot. > > All error/warnings: > >In file included from fs/f2fs/dir.c:13:0: >>> fs/f2fs/f2fs.h:435:17: error: field 's_kobj' has incomplete type > struct kobject s_kobj; > > The

[PATCH v3 13/19] clk: at91: add PMC programmable clocks

2013-08-08 Thread Boris BREZILLON
This patch adds new at91 programmable clocks implementation using common clk framework. A programmable clock is a clock which can be exported on a given pin to clock external devices. Each programmable clock is given an id (from 0 to 8). The number of available programmable clocks depends on the

[PATCH v3 12/19] clk: at91: add peripheral clk macros for peripheral clk dt bindings

2013-08-08 Thread Boris BREZILLON
This patch adds the peripheral divisors macros (for sam9x5 compatible IPs) which will be used by peripheral clk dt definitions. Signed-off-by: Boris BREZILLON --- .../clk/at91/at91sam9x5/clk-peripheral.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

Re: [PATCH 1/2] pinctrl: pinconf_generic: add utility functions for add map/configs

2013-08-08 Thread Laxman Dewangan
On Wednesday 07 August 2013 11:57 PM, Linus Walleij wrote: On Fri, Jul 26, 2013 at 7:36 PM, Stephen Warren wrote: On 07/26/2013 04:15 AM, Laxman Dewangan wrote: Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc.

linux-next: Tree for Aug 8

2013-08-08 Thread Stephen Rothwell
Hi all, Changes since 20130807: The mvebu tree lost its build failure and gained a conflict against the i2c tree. The renesas tree gained a conflict against the leds tree. I have created today's linux-next tree at

Re: [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity

2013-08-08 Thread Paul E. McKenney
On Thu, Aug 08, 2013 at 01:27:55PM +0800, Lai Jiangshan wrote: > On 08/08/2013 12:18 PM, Paul E. McKenney wrote: > > On Thu, Aug 08, 2013 at 11:10:47AM +0800, Lai Jiangshan wrote: > >> On 08/08/2013 10:33 AM, Paul E. McKenney wrote: > >>> On Thu, Aug 08, 2013 at 10:33:15AM +0800, Lai Jiangshan

[PATCH] f2fs: fix a build failure due to missing the kobject header

2013-08-08 Thread Jaegeuk Kim
This patch should resolve the following error reported by kbuild test robot. All error/warnings: In file included from fs/f2fs/dir.c:13:0: >> fs/f2fs/f2fs.h:435:17: error: field 's_kobj' has incomplete type struct kobject s_kobj; The failure was caused by missing the kobject

[PATCH v2 2/3] ARM: dt: t114 dalmore: add dt entry for nct1008

2013-08-08 Thread Wei Ni
Enable thermal sensor nct1008 for t114 dalmore. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra114-dalmore.dts | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index

[PATCH v2 1/3] hwmon: (lm90) Add power control

2013-08-08 Thread Wei Ni
The device lm90 can be controlled by the vdd rail. Adding the power control support to power on/off the vdd rail. And make sure that power is enabled before accessing the device. Signed-off-by: Wei Ni --- drivers/hwmon/lm90.c | 49 + 1 file

[PATCH v2 3/3] Documentation: dt: hwmon: add OF document for lm90

2013-08-08 Thread Wei Ni
Add OF document for lm90 in Documentation/devicetree/. Signed-off-by: Wei Ni --- Documentation/devicetree/bindings/hwmon/lm90.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/lm90.txt diff --git

[PATCH v2 0/3] Add power control for lm90

2013-08-08 Thread Wei Ni
The device lm90 can be controlled by the vdd rail. Add function to power on/off the vdd. Enable the nct1008 on Tegra114 Dalmore board, and set the vdd-regulator. This series is v2, previous version patches: [v1]: http://www.mail-archive.com/linux-tegra@vger.kernel.org/msg12034.html Changes from

Re: [PATCH v2 1/2] mm: make vmstat_update periodic run conditional

2013-08-08 Thread Gilad Ben-Yossef
On Thu, Jun 20, 2013 at 5:05 PM, Christoph Lameter wrote: > > On Wed, 19 Jun 2013, Gilad Ben-Yossef wrote: > > > +static void vmstat_update(struct work_struct *w) > > +{ > > + int cpu, this_cpu = smp_processor_id(); > > + > > + if (unlikely(this_cpu == vmstat_monitor_cpu)) > > +

Re: [PATCH] Documentation: Add device tree binding file for MOXA ART SoCs interrupt controller

2013-08-08 Thread Jonas Jensen
Hi Mark, On 2 August 2013 11:35, Mark Rutland wrote: >> The MOXA ART irqchip driver was added without accompanying devicetree >> document. >> ( in next-20130716 drivers/irqchip/irq-moxart.c ) > > Aaargh. That should not have happened >:( Sorry about this, my plan was to submit all

[PATCH 2/3] perf tools: Setup GTK browser dynamically

2013-08-08 Thread Namhyung Kim
Call setup/exit GTK browser function using libdl. Cc: Andi Kleen Reviewed-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/gtk.h | 3 +++ tools/perf/ui/setup.c | 50 +++-- tools/perf/ui/ui.h | 12 +--- 3 files

[PATCH/RFC 0/3] perf ui/gtk: Separate out GTK code to a shared object (v3)

2013-08-08 Thread Namhyung Kim
Hi, This is v3 of gtk code separation patchset to reduce library dependencies of the perf executable. I only built libperf-gtk.so with -fPIC, and it's not linked to libperf at build time. All unresolved symbols used for perf should be resolved at runtime via perf executable (so libperf.a) - I

[PATCH 3/3] perf tools: Run dynamic loaded GTK browser

2013-08-08 Thread Namhyung Kim
Run GTK hist and annotation browser using libdl. Cc: Andi Kleen Reviewed-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 26 +++--- tools/perf/builtin-report.c | 16 ++-- tools/perf/config/Makefile| 2 +-

[PATCH 1/3] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-08 Thread Namhyung Kim
Separate out GTK codes to a shared object called libperf-gtk.so. This time only GTK codes are built with -fPIC and libperf remains as is. Cc: Andi Kleen Reviewed-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/Makefile| 39 ---

Re: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux

2013-08-08 Thread Krzysztof Kozlowski
On śro, 2013-08-07 at 14:08 -0700, Stephen Boyd wrote: > On 08/07, David Brown wrote: > > On Wed, Aug 07, 2013 at 08:34:39AM +0200, Krzysztof Kozlowski wrote: > > >Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y): > > >arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of > > >

[PATCH v3] Enhanced support for MPC8xx/8xxx watchdog

2013-08-08 Thread Christophe Leroy
This patch modifies the behaviour of the MPC8xx/8xxx watchdog. On the MPC8xx, at 133Mhz, the maximum timeout of the watchdog timer is 1s, which means it must be pinged twice a second. This is not in line with the Linux watchdog concept which is based on a default watchdog timeout around 60s. This

Re: [PATCH v2 4/7] perf, x86: Save/resotre LBR stack during context switch

2013-08-08 Thread Yan, Zheng
On 07/05/2013 08:31 PM, Peter Zijlstra wrote: > On Fri, Jul 05, 2013 at 04:51:33PM +0800, Yan, Zheng wrote: the LBR is shared resource, can be used by multiple events at the same time. >>> >>> Yeah so? There's tons of shared resources in the PMU already. >> >> we should restore the LBR

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