Re: Warning at mm/truncate.c:740

2015-08-10 Thread Jan Kara
Hi, On Sun 09-08-15 10:49:33, Sasha Levin wrote: > I saw the following warning while fuzzing with trinity: > > [385644.689209] WARNING: CPU: 1 PID: 23536 at mm/truncate.c:740 > pagecache_isize_extended+0x124/0x180() > [385644.691780] Modules linked in: > [385644.692695] CPU: 1 PID: 23536 Comm:

Re: [RFC v3 1/2] mm, compaction: introduce kcompactd

2015-08-10 Thread Vlastimil Babka
On 08/09/2015 05:37 PM, PINTU KUMAR wrote: Waking up of the kcompactd threads is also tied to kswapd activity and follows these rules: - we don't want to affect any fastpaths, so wake up kcompactd only from the slowpath, as it's done for kswapd - if kswapd is doing reclaim, it's more important

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-10 Thread PINTU KUMAR
Hi, > -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Saturday, August 08, 2015 4:06 AM > To: PINTU KUMAR > Cc: 'Michal Hocko'; linux-kernel@vger.kernel.org; linux...@kvack.org; > minc...@kernel.org; d...@stgolabs.net; koc...@gmail.com; > mgor...@suse.de

[PULL] clockevents changes for 4.3

2015-08-10 Thread Daniel Lezcano
Hi Ingo, this pull request contains the following changes for 4.3. - Simplified exynos_mct code by removing container_of (Alexey Klimov) - Fixed Kconfig option with OF (Antonio Borneo) - Fixed typo in structure initialization for the atmel timer (Daniel Lezcano) - Removed obsolete pla

[PATCH v7 8/9] clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS

2015-08-10 Thread James Liao
Add REF2USB_TX clock support into MT8173 APMIXEDSYS. This clock is needed by USB 3.0. Signed-off-by: James Liao --- drivers/clk/mediatek/Makefile | 2 +- drivers/clk/mediatek/clk-apmixed.c | 107 + drivers/clk/mediatek/clk-mt8173.c | 47 ++

[PATCH v7 9/9] arm64: dts: mt8173: Add subsystem clock controller device nodes

2015-08-10 Thread James Liao
This patch adds device nodes providing subsystem clocks on MT8173, includes mmsys, imgsys, vdecsys, vencsys and vencltsys. Signed-off-by: James Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 37 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/

[PATCH v7 3/9] clk: mediatek: Add __initdata and __init for data and functions

2015-08-10 Thread James Liao
Add __init for clock registration functions, and add __initdata for mtk_gate_regs initial structures. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-gate.c | 2 +- drivers/clk/mediatek/clk-mt8173.c | 6 +++--- drivers/clk/mediatek/clk-mtk.c| 13 +++-- 3 files changed, 11

[PATCH] ARM: mvebu: update mvebu_v7_defconfig for Armada 38x USB3.0

2015-08-10 Thread Grzegorz Jaszczyk
This patch enables the fixed voltage regulator and the gpio PCA953X drivers in mvebu_v7_defconfig, as they are used for enabling the USB3.0 phy on some of the Armada's 38x boards. Signed-off-by: Grzegorz Jaszczyk Cc: --- arch/arm/configs/mvebu_v7_defconfig | 3 +++ 1 fil

[PATCH v7 2/9] clk: mediatek: Remove unused code from MT8173.

2015-08-10 Thread James Liao
Remove unused header files from MT8173, and remove unused keywords from function declaration. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 2 -- drivers/clk/mediatek/clk-mtk.h| 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/clk/mediatek/cl

[PATCH v7 7/9] clk: mediatek: Add subsystem clocks of MT8173

2015-08-10 Thread James Liao
Most multimedia subsystem clocks will be accessed by multiple drivers, so it's a better way to manage these clocks in CCF. This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT subsystems. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 267

[PATCH v7 6/9] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-08-10 Thread James Liao
This adds the binding documentation for the mmsys, imgsys, vdecsys, vencsys and vencltsys controllers found on Mediatek SoCs. Signed-off-by: James Liao --- .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++ .../bindings/arm/mediatek/mediatek,mmsys.txt | 22

Re: [RFC v3 2/2] mm, compaction: make kcompactd rely on sysctl_extfrag_threshold

2015-08-10 Thread Vlastimil Babka
On 08/09/2015 07:21 PM, PINTU KUMAR wrote: -extern int fragmentation_index(struct zone *zone, unsigned int order); +extern int fragmentation_index(struct zone *zone, unsigned int order, +bool ignore_suitable); We would like to retain the original fragmentation_in

[PATCH v7 0/9] Fixes and new clocks support for Mediatek MT8173

2015-08-10 Thread James Liao
This patchset is based on 4.2-rc2 and [1], and contains minor fixes and subsystem clocks support for Mediatek MT8173. The previous reviews can be found in [2]. changes since v6: - Use DUMMY_RATE (0) instead of typical rate for clocks that we don't care and not controlled in CCF. changes since

[PATCH v7 4/9] clk: mediatek: Add fixed clocks support for Mediatek SoC.

2015-08-10 Thread James Liao
This patch adds fixed clocks support by using CCF fixed-rate clock implementation. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mtk.c | 23 +++ drivers/clk/mediatek/clk-mtk.h | 17 + 2 files changed, 40 insertions(+) diff --git a/drivers/clk/mediate

[PATCH 12/74] clockevents/drivers/cadence_ttc: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate cadence_ttc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Michal Simek

[PATCH 08/74] clockevents/drivers/exynos_mct: Remove unneeded container_of()

2015-08-10 Thread Daniel Lezcano
From: Alexey Klimov Patch removes unneeded container_of() macro in exynos4_local_timer_setup(). Instead let's pass mevt pointer to setup and stop functions from exynos4_mct_cpu_notify() and let them get evt pointer. Tested on odroid-xu3. Signed-off-by: Alexey Klimov Acked-by: Stephen Boyd Sig

[PATCH 05/74] clockevents/drivers/cs5535: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate cs5535 driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by: Daniel L

[PATCH v7 5/9] clk: mediatek: Fix rate and dependency of MT8173 clocks

2015-08-10 Thread James Liao
Remove the dependency from clk_null, and give all root clocks a typical rate, include clkph_mck_o, usb_syspll_125m and hdmitx_dig_cts. dpi_ck was removed due to no clock reference to it. Replace parent clock of infra_cpum with cpum_ck, which is an external clock and can be defined in the device t

[Question] lockdep: Is nested lock handled correctly?

2015-08-10 Thread Boqun Feng
Hi Peter and Ingo, I'm now learning the code of lockdep and find that nested lock may not be handled correctly because we fail to take held_lock merging into consideration. I come up with an example and hope that could explain my concern. Please consider this lock/unlock sequence, I also put a pa

[PATCH 41/74] clockevents/drivers/integrator: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate integrator driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. For oneshot mode t

[PATCH 47/74] clockevents/drivers/vf_pit: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate vf_pit driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jingchang Lu Cc:

[PATCH 51/74] clockevents/drivers/exynos_mct: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate exynos_mct driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Kukjin Kim Si

[PATCH 68/74] sh/localtimer: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sh driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything

[PATCH 69/74] sparc/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sparc drivers to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anyth

[PATCH 64/74] openrisc/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate openrisc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing any

[PATCH 66/74] s390/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate s390 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anythin

[PATCH 55/74] clockevents/drivers/timer-sp804: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate timer-sp driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. There are few more c

[PATCH 67/74] score/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate score driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anythi

[PATCH 65/74] powerpc/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate powerpc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anyt

[PATCH 52/74] clockevents/drivers/dw_apb_timer: Add dynamic irq flag to the timer

2015-08-10 Thread Daniel Lezcano
From: Jisheng Zhang Commit d2348fb6fdc6 ("tick: Dynamically set broadcast irq affinity") adds one excellent feature CLOCK_EVT_FEAT_DYNIRQ to let the core set the interrupt affinity of the broadcast interrupt to the cpu which has the earliest expiry time. This patch adds CLOCK_EVT_FEAT_DYNIRQ flag

[PATCH 71/74] unicore/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate unicore driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anyt

[PATCH 62/74] microblaze/timer: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate microblaze driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing a

[PATCH 74/74] cris/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate cris driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Mikael Starvik Cc:

[PATCH 72/74] xtensa/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate xtensa driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Chris Zankel Cc:

[PATCH 73/74] kernel: broadcast-hrtimer: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate broadcast-hrtimer driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. Cc: Thomas Gleixner Signed-off-by: Viresh Kumar Signed-off-by: Daniel Lezcano --- kernel/time/tick-broadcast-hrtimer.c |

[PATCH 70/74] um/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate um driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jeff Dike Cc: Richard

[PATCH 63/74] mn10300/cevt-mn10300: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate mn10300 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anyt

Re: [PATCH v3 18/20] net/xen-netback: Make it running on 64KB page granularity

2015-08-10 Thread Julien Grall
Hi Wei, On 08/08/2015 15:55, Wei Liu wrote: struct xenvif_rx_meta { int id; @@ -80,16 +81,18 @@ struct xenvif_rx_meta { /* Discriminate from any valid pending_idx value. */ #define INVALID_PENDING_IDX 0x -#define MAX_BUFFER_OFFSET PAGE_SIZE +#define MAX_BUFFER_OFFSET XEN_PAGE_

[PATCH 61/74] c6x/timer64: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate c6x driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything

Re: [Xen-devel] [PATCH v3 9/9] xen/xenbus: Rename the variable xen_store_mfn to xen_store_gfn

2015-08-10 Thread Julien Grall
Hi Boris, On 07/08/2015 22:33, Boris Ostrovsky wrote: On 08/07/2015 12:34 PM, Julien Grall wrote: The variable xen_store_mfn is effectively storing a GFN and not an MFN. Signed-off-by: Julien Grall --- Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel I think that the a

[PATCH 44/74] clockevents/drivers/stm32: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate stm32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Maxime Coquelin Si

[PATCH 56/74] clockevents/drivers/timer-atmel-pit: Fix typo in structure initialization

2015-08-10 Thread Daniel Lezcano
Reported-by: Peter Mamonov Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-atmel-pit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/timer-atmel-pit.c b/drivers/clocksource/timer-atmel-pit.c index 5875322..d911c5d 100644 --- a/drivers/cl

[PATCH 42/74] clockevents/drivers/keystone: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate keystone driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also pass the mode-m

[PATCH 43/74] clockevents/drivers/prima2: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate prima2 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Barry Song Signed

[PATCH 59/74] alpha/time: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate alpha driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. rtc clockevent device w

[PATCH 57/74] clocksource/drivers/sh_tmu: Fix traceback spotted in -next

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Traceback in -next due to commit 'clockevents/drivers/sh_tmu: Migrate to new 'set-state' interface'. Commit ("clockevents/drivers/sh_tmu: Migrate to new 'set-state' interface") in -next causes the following traceback. This is seen with qemu runs for the sh target. ---

[PATCH 53/74] clockevents/drivers/sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry

2015-08-10 Thread Daniel Lezcano
From: Geert Uytterhoeven Since the removal of the r8a7740 legacy SoC code in commit 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile A1"), all former users of the "sh-cmt-48-gen2" platform device name are only supported in generic DT-only ARM multi-platform builds. The drive

[PATCH 60/74] blackfin/time-ts: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate blackfin driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing any

[PATCH 58/74] clockevents/drivers/h8300_timer8: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate h8300_timer8 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Signed-off-by: V

[PATCH 54/74] clockevents/drivers/timer-imx-gpt: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate timer-imx-gpt driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also drop: - 'i

[PATCH 40/74] clockevents/drivers/digicolor: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate digicolor driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Baruch Siach S

Re: [PATCH v6 0/6] xen/PMU: PMU support for Xen PV(H) guests

2015-08-10 Thread Stefano Stabellini
On Sun, 9 Aug 2015, Boris Ostrovsky wrote: > Changes in v6: > * Fix ARM builds (as suggested by Julien): > o Make XEN_SYMS depend on X86 (patch 1) > o Add CONFIG_XEN_HAVE_PVMMU and use it in drivers/xen/sys-hypervisor.c > (patch 2) > * Adjust release dates in Documentation/ABI/testing/sysfs

[PATCH 46/74] clockevents/drivers/u300: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate u300 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Linus Walleij Signe

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-10 Thread Thierry Reding
On Sat, Aug 08, 2015 at 11:54:38AM +0800, Yakir Yang wrote: [...] > edp: edp@ff97 { [...] > hsync-active-high = <0>; > vsync-active-high = <0>; > interlaced = <0>; These look like they should come from the display mode definition (EDID) r

[PATCH 39/74] clockevents/drivers/atmel-st: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate atmel-st driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Nicolas Ferre C

[PATCH 45/74] clockevents/drivers/sun5i: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sun5i driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Maxime Ripard Sign

[PATCH 48/74] clockevents/drivers/vt8500: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate vt8500 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Tony Prisk Signed

[PATCH 38/74] clockevents/drivers/atmel: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate atmel driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Nicolas Ferre Cc:

[PATCH 49/74] clockevents/drivers/zevio: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate zevio driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Daniel Tang Signed

[PATCH 50/74] clockevents/drivers/tcb_clksrc: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate tcb_clksrc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Nicolas Ferre

[PATCH 37/74] clockevents/drivers/atlas7: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate atlas7 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Barry Song Signed

[PATCH 35/74] clockevents/drivers/efm32: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate efm32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. There is nothing to be

[PATCH 30/74] clockevents/drivers/sh_mtu2: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sh_mtu2 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Magnus Damm Cc:

[PATCH 31/74] clockevents/drivers/sh_tmu: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sh_tmu driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Magnus Damm Cc: L

[PATCH 33/74] clockevents/drivers/tegra20: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate tegra20 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Thierry Reding C

[PATCH 36/74] clockevents/drivers/orion: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate orion driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jason Cooper Cc: A

[PATCH 27/74] clockevents/drivers/rockchip: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate rockchip driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing any

Re: [PATCH 1/9] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-08-10 Thread Takashi Iwai
On Sat, 08 Aug 2015 18:10:06 +0200, Russell King wrote: > > Add ALSA based HDMI AHB audio driver for dw_hdmi. The only buffer > format supported by the hardware is its own special IEC958 based format, > which is not compatible with any ALSA format. To avoid doing too much > data manipulation wit

[PATCH 34/74] clockevents/drivers/time-armada-370-xp: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate time-armada-370-xp driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jason

[PATCH 29/74] clockevents/drivers/sh_cmt: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sh_cmt driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Magnus Damm Cc: L

[PATCH 26/74] clockevents/drivers/qcom: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate qcom driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Periodic mode isn't supp

[PATCH 28/74] clockevents/drivers/samsung_pwm: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate samsung_pwm driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Tomasz Figa

[PATCH 23/74] clockevents/drivers/mxs: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate mxs driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also drop: - 'mxs_clockev

[PATCH 32/74] clockevents/drivers/sun4i: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate sun4i driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Maxime Ripard Sign

[PATCH 24/74] clockevents/drivers/nomadik-mtu: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate nomadik-mtu driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Linus Walleij

[PATCH 25/74] clockevents/drivers/pxa: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate pxa driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Both oneshot and shutdown

[PATCH 18/74] clockevents/drivers/meson6: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate meson6 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Carlo Caione Sign

[PATCH 21/74] clockevents/drivers/moxart: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate moxart driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jonas Jensen Sign

[PATCH 17/74] clockevents/drivers/i8253: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate i8253 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Russell King Signe

[PATCH 22/74] clockevents/drivers/mtk: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate mtk driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Matthias Brugger Sig

[PATCH 20/74] clockevents/drivers/mips-gic: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate mips-gic driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing any

[RFC] bmac:change to use bitrev8() generic function

2015-08-10 Thread yalin wang
This change to use generic bitrev8() for bmac driver. Signed-off-by: yalin wang --- drivers/net/ethernet/apple/bmac.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index a65d7a6..e7497

[PATCH 19/74] clockevents/drivers/metag_generic: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate metag_generic driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doin

Re: [PATCH v3 9/9] xen/xenbus: Rename the variable xen_store_mfn to xen_store_gfn

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > The variable xen_store_mfn is effectively storing a GFN and not an MFN. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini > Cc: Konrad Rzeszutek Wilk > Cc: Boris Ostrovsky > Cc: David Vrabel > > I think that the assignation of xe

[PATCH 10/74] clockevents/drivers/sh_cmt: Remove obsolete sh-cmt-48-gen2 platform_device_id entry

2015-08-10 Thread Daniel Lezcano
From: Geert Uytterhoeven Since commit 914d7d148411997c ("ARM: shmobile: r8a73a4: Remove legacy code"), all former users of the "sh-cmt-48-gen2" platform device name are only supported in generic DT-only ARM multi-platform builds. The driver doesn't need to match platform devices by name anymore,

[PATCH 16/74] clockevents/drivers/fsl_ftm: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate fsl_ftm driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Xiubo Li Signed-

[PATCH 15/74] clockevents/drivers/dw_apb: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate dw_apb driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jacob Pan Cc: Jam

[PATCH] [v3] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-10 Thread Chen Yu
Since Surface Pro 3 does not follow the specs of "Windows ACPI Design Guide for SoC Platform", code in drivers/input/misc/soc_array.c can not detect these buttons on it. According to bios implementation, Surface Pro 3 encapsulates these buttons in a device named "VGBI", with _HID "MSHW0028". When a

[PATCH 11/74] clockevents/drivers/asm9260: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate asm9260 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. As a default the timer was stopped when entering in the set_mode(RESUME) function, now this is done explicitly with the new API. This

Re: [PATCH v3 02/20] arm/xen: Drop pte_mfn and mfn_pte

2015-08-10 Thread Stefano Stabellini
On Fri, 7 Aug 2015, Julien Grall wrote: > They are not used in common code expect in one place in balloon.c which is > only compiled when Linux is using PV MMU. It's not the case on ARM. > > Rather than worrying how to handle the 64KB case, drop them. > > Signed-off-by: Julien Grall Reviewed-by

[PATCH 14/74] clockevents/drivers/dummy_timer: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate dummy_timer driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. We weren't doing anything in the ->set_mode() callback. So, this patch doesn't provide any set-state callbacks. Cc: Mark Rutland

[PATCH 02/74] clockevents/drivers/arm_global_timer: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate arm_global_timer driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by

[PATCH 09/74] clockevents/drivers/sh_cmt: Remove obsolete sh-cmt-32-fast platform_device_id entry

2015-08-10 Thread Daniel Lezcano
From: Geert Uytterhoeven Since commit 59b89af1d5551c12 ("ARM: shmobile: sh7372: Remove Legacy C SoC code"), there are no more users left of the "sh-cmt-32-fast" platform device name. Hence remove the corresponding platform_device_id entry from the driver. Signed-off-by: Geert Uytterhoeven Signe

[PATCH 13/74] clockevents/drivers/clps711x: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate clps711x driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing any

[PATCH 07/74] clockevents/drivers/Kconfig: Replace USE_OF with OF

2015-08-10 Thread Daniel Lezcano
From: Antonio Borneo USE_OF is used as intermediate Kconfig option by few arch's (ARM, MIPS, Xtensa); in all these cases it implies setting option OF too. Replace the only instance of USE_OF in clocksource with OF. Signed-off-by: Antonio Borneo Signed-off-by: Daniel Lezcano --- drivers/clocks

[PATCH 06/74] clockevents/drivers/em_sti: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate em_sti driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. NOTE: This also dr

[RFC] fbdev/riva:change to use generice function to implement reverse_order()

2015-08-10 Thread yalin wang
This change to use swab32(bitrev32()) to implement reverse_order() function, have better performance on some platforms. Signed-off-by: yalin wang --- drivers/video/fbdev/riva/fbdev.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/drivers/video/fbdev/riva

[PATCH 3.2 006/110] ASoC: wm8737: Fixup setting VMID Impedance control register

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 14ba3ec1de043260cecd9e828ea2e3a0ad302893 upstream. According to the datasheet: R10 (0Ah) VMID Impedance Control BIT 3:2 VMIDSEL DEFAULT 00 DESCRIPTION: VMID impedance selectio

[PATCH 3.2 036/110] mmc: card: Fixup request missing in mmc_blk_issue_rw_rq

2015-08-10 Thread Ben Hutchings
3.2.71-rc1 review patch. If anyone has any objections, please let me know. -- From: Ding Wang commit 29535f7b797df35cc9b6b3bca635591cdd3dd2a8 upstream. The current handler of MMC_BLK_CMD_ERR in mmc_blk_issue_rw_rq function may cause new coming request permanent missing when th

[PATCH 03/74] clockevents/drivers/bcm2835: Migrate to new 'set-state' interface

2015-08-10 Thread Daniel Lezcano
From: Viresh Kumar Migrate bcm2835 driver to the new 'set-state' interface provided by the clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing

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