[PATCH v3 4/4] ARM: dts: enable IOMUX for Broadcom Cygnus

2015-02-02 Thread Ray Jui
This enables the IOMUX support for Broadcom Cygnus SoC Signed-off-by: Ray Jui --- arch/arm/boot/dts/bcm-cygnus.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 5126f9e..b014ce5 100644 --- a/arch/arm/boo

[PATCH v3 0/4] Add pinctrl support to Broadcom Cygnus SoC

2015-02-02 Thread Ray Jui
This patchset contains the initial pinctrl (IOMUX) support for the Broadcom Cygnus SoC. The Cygnus IOMUX controller supports group based mux configuration and allows certain pins to be muxed to GPIO function individually Changes from v2: - Consolidate all Broadcom pinctrl drivers into drivers/pin

[for-next][PATCH 4/5] tracing: Make tracing_init_dentry_tr() static

2015-02-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" tracing_init_dentry_tr() is not used outside of trace.c, it should be static. Signed-off-by: Steven Rostedt --- kernel/trace/trace.c | 2 +- kernel/trace/trace.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/

[for-next][PATCH 5/5] tracing: Separate out initializing top level dir from instances

2015-02-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The top level trace array is treated a little different than the instances, as it has to deal with more of the general tracing. The tr->dir is the tracing directory, which is an immutable dentry, where as the tr->dir of instances are the dentry that was created, a

Re: [PATCH_V2 2/2] watchdog: jz4740: Add DT support

2015-02-02 Thread Guenter Roeck
On 01/29/2015 02:48 AM, Zubair Lutfullah Kakakhel wrote: Add DT support to the jz4740 driver. Simple of_match_ptr. No other modification for probe needed Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Guenetr Roeck s/Guenetr/Guenter/ -- To unsubscribe from this list: send the line "u

Re: [PATCH_V2 1/2] dt: watchdog: Add DT binding documentation for jz4740 watchdog timer

2015-02-02 Thread Guenter Roeck
On 01/29/2015 02:48 AM, Zubair Lutfullah Kakakhel wrote: Add binding for jz4740 watchdog timer. It is a simple watchdog timer. Signed-off-by: Zubair Lutfullah Kakakhel Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH] edac: remove dev_attr_sdram_scrub_rate on failure

2015-02-02 Thread Junjie Mao
Signed-off-by: Junjie Mao --- drivers/edac/edac_mc_sysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysfs.c index 8e48d32efe37..ab2963bdd0d5 100644 --- a/drivers/edac/edac_mc_sysfs.c +++ b/drivers/edac/edac_mc_sysfs.c @@ -1068,6 +10

Re: [PATCH v1 2/2] zram: remove init_lock in zram_make_request

2015-02-02 Thread Sergey Senozhatsky
On (02/02/15 16:06), Sergey Senozhatsky wrote: > So, guys, how about doing it differently, in less lines of code, > hopefully. Don't move reset_store()'s work to zram_reset_device(). > Instead, move > > set_capacity(zram->disk, 0); > revalidate_disk(zram->disk); > > out from zram_rese

Re: [PATCH V2] acpi:apd:add AMD ACPI2Platform device support for x86 system.

2015-02-02 Thread Ken Xue
On Mon, 2015-02-02 at 15:03 +0200, mika.westerb...@linux.intel.com wrote: > On Mon, Feb 02, 2015 at 05:50:52PM +0800, Ken Xue wrote: > > >From b9654ecbfaebde00aee746a024eec9fe8de24b97 Mon Sep 17 00:00:00 2001 > > From: Ken Xue > > Date: Mon, 2 Feb 2015 17:32:24 +0800 > > Subject: [PATCH] This new

Re: [PATCH 1/4] clocksource: mmp: add mmp timer driver

2015-02-02 Thread Chao Xie
>From: Mark Rutland [mailto:mark.rutl...@arm.com] >Sent: 2015年2月2日 18:35 >To: Chao Xie >Cc: daniel.lezc...@linaro.org; t...@linutronix.de; haojian.zhu...@linaro.org; >linux-kernel@vger.kernel.org; devicet...@vger.kernel.org >Subject: Re: [PATCH 1/4] clocksource: mmp: add mmp timer driver > >On

RE: [PATCH v4 6/6] KVM: nVMX: Enable nested posted interrupt processing

2015-02-02 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2015-02-03: > > > On 02/02/2015 16:33, Wincy Van wrote: >> static void vmx_accomp_nested_posted_intr(struct kvm_vcpu *vcpu) { >> struct vcpu_vmx *vmx = to_vmx(vcpu); >> >> if (is_guest_mode(vcpu) && >> vmx->nested.posted_intr_nv != -1 &&

Re: [RFC] change non-atomic bitops method

2015-02-02 Thread Kirill A. Shutemov
On Mon, Feb 02, 2015 at 03:29:09PM -0800, Andrew Morton wrote: > On Mon, 2 Feb 2015 11:55:03 +0800 "Wang, Yalin" > wrote: > > > This patch change non-atomic bitops, > > add a if() condition to test it, before set/clear the bit. > > so that we don't need dirty the cache line, if this bit > > have

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-02-02 Thread Chanwoo Choi
Hi Roger, Looks good to me. Applied it on v3.21 queue. Thanks, Chanwoo Choi On 02/02/2015 07:21 PM, Roger Quadros wrote: > This driver observes the USB ID pin connected over a GPIO and > updates the USB cable extcon states accordingly. > > The existing GPIO extcon driver is not suitable for thi

Re: [1/3] powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle

2015-02-02 Thread Michael Ellerman
On Fri, 2015-01-30 at 10:00 +0100, Geert Uytterhoeven wrote: > Hi Michael, > > On Fri, Jan 30, 2015 at 5:09 AM, Michael Ellerman wrote: > > On Wed, 2015-14-01 at 13:51:57 UTC, Geert Uytterhoeven wrote: > >> of_find_node_by_name() calls of_node_put() on its "from" parameter, > >> which must not be

[PATCH v11 1/4] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2015-02-02 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS 0x116A

[PATCH v11 4/4] ARM: dts: exynos: Add PPMU node for Exynos4412-based TRATS2 board

2015-02-02 Thread Chanwoo Choi
This patch add dt node for PPMU_{DMC0|DMC1|LEFTBUS|RIGHTBUS} for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count3'. Cc: Kukjin Kim Cc: Myungjoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- arch/arm/boot/dts/exynos4412-trats2.dts |

[PATCH v11 2/4] ARM: dts: Add PPMU dt node for Exynos4 SoCs

2015-02-02 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ - PPMU

[PATCH v11 3/4] ARM: dts: exynos: Add PPMU node for Exynos3250-based Rinato/Monk board

2015-02-02 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato/Monk board. The PPMU node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-monk.dts | 40 ++

[PATCH v11 0/4] ARM: dts: Add PPMU dt node for Exynos3250/4

2015-02-02 Thread Chanwoo Choi
This patch adds the PPMU (Platform Performance Profiling Unit) dt node for Exynos{3250|4} SoC. This patch-set send only patches related to exynos dts file from patch[1]. The devfreq-event patches is already merged to linux-pm.git (linux-next branch[2]). [1] https://lkml.org/lkml/2015/1/25/573 - [P

Re: General protection fault in iscsi_rx_thread_pre_handler

2015-02-02 Thread Gavin Guo
Hi Nicholas, On Sun, Feb 1, 2015 at 11:47 AM, Gavin Guo wrote: > Hi Nicholas, > > On Sat, Jan 31, 2015 at 6:53 AM, Nicholas A. Bellinger > wrote: >> On Fri, 2015-01-23 at 09:30 +0800, Gavin Guo wrote: >>> Hi Nicholas, >>> >>> On Fri, Jan 23, 2015 at 1:35 AM, Nicholas A. Bellinger >>> wrote: >>>

Re: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-02 Thread Davidlohr Bueso
On Mon, 2015-02-02 at 14:35 -0800, Andrew Morton wrote: > On Mon, 2 Feb 2015 22:18:24 + Mel Gorman wrote: > > > > Is there something > > > preventing this from being addressed within glibc? > > > > I doubt it other than I expect they'll punt it back and blame either the > > application for

Re: [PATCH 2/5] mm/page_alloc.c: Pull out init code from build_all_zonelists

2015-02-02 Thread David Rientjes
On Tue, 3 Feb 2015, Rasmus Villemoes wrote: > Pulling the code protected by if (system_state == SYSTEM_BOOTING) into > its own helper allows us to shrink .text a little. This relies on > build_all_zonelists already having a __ref annotation. Add a comment > explaining why so one doesn't have to tr

Re: [PATCH v5 2/2] x86/xen: allow privcmd hypercalls to be preempted on 64-bit

2015-02-02 Thread Luis R. Rodriguez
On Thu, Jan 29, 2015 at 12:35 PM, Luis R. Rodriguez wrote: > On Tue, Jan 27, 2015 at 10:06:44AM +, David Vrabel wrote: >> On 27/01/15 08:35, Jan Beulich wrote: >> On 27.01.15 at 02:51, wrote: >> > >> > Even if David told you this would be acceptable, I have to question >> > an abstract m

Re: [target:for-next 16/21] drivers/vhost/scsi.c:1081:5: sparse: symbol 'vhost_skip_iovec_bytes' was not declared. Should it be static?

2015-02-02 Thread Nicholas A. Bellinger
On Mon, 2015-02-02 at 14:25 +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git > for-next > head: 2936f1d4f3e8247bd519feba7892371d5e4c6603 > commit: 105acf608f25d5e0d9fef669299a5438b7b114ee [16/21] vhost/scsi: Add > ANY_LAYOUT vhost_sk

Re: [Patch] sunrpc: NULL utsname dereference on NFS umount during namespace cleanup

2015-02-02 Thread Nix
On 2 Feb 2015, Trond Myklebust verbalised: > Hmm... I'm at a loss to see how rpcb_create can ever call > rpc_new_client() with a null value for the nodename with that patch > applied. Are you 100% sure that the above Oops came from a patched > kernel? That IP address of "rpc_new_client+0x13b/0x1f2"

[PATCH v3 3/9] clk: samsung: exynos5433: Add clocks for CMU_MSCL domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_MSCL domain which generates the clocks for M2M (Memory to Memory) scaler, JPEG IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 20 +++ drive

[PATCH v3 4/9] clk: samsung: exynos5433: Add clocks for CMU_MFC domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_MFC domain which generates the clocks for MFC(Multi-Format Codec) IP. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 15 +++ drivers/clk/samsung

[PATCH v3 1/9] clk: samsung: exynos5433: Add clocks for CMU_APOLLO domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_APOLLO domain which generates the clocks for Cortex-A53 Quad-core processsor. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 15 ++ drivers/clk/

[PATCH v3 0/9] clk: samsung: Add clocks for remaining domains of Exynos5433

2015-02-02 Thread Chanwoo Choi
This patchset adds the support for following clock domains of Exynos5433 and clkout drvier. Following clock domains has clocks for each IP. - CMU_APOLLO : clocks for Cortex-A53 Quad-core processor. - CMU_ATLAS : clocks for Cortex-A57 Quad-core processor, CoreSight and L2 cache cont

[PATCH v3 8/9] clk: samsung: exynos5433: Add clocks for CMU_CAM1 domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_CAM1 domain which generates the clocks for Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 32 ++ d

[PATCH v3 5/9] clk: samsung: exynos5433: Add clocks for CMU_HEVC domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_HEVC domain which generates the clocks for HEVC(High Efficiency Video Codec) decoder IP. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 15 +++

[PATCH v3 7/9] clk: samsung: exynos5433: Add clocks for CMU_CAM0 domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_HEVC domain which generates the clocks for MIPI_CSIS{0|1}/FIMC_LITE_{A|B|D}/FIMC_3AA{0|1} IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 24

Re: [PATCH v3 08/24] powerpc/spapr: vfio: Switch from iommu_table to new powerpc_iommu

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:21 +1100, Alexey Kardashevskiy wrote: > Modern IBM POWERPC systems support multiple (currently two) TCE tables > per IOMMU group (a.k.a. PE). This adds a powerpc_iommu container > for TCE tables. Right now just one table is supported. > > Signed-off-by: Alexey Kardashevski

[PATCH v3 9/9] clk: samsung: Add CLKOUT driver support for Exynos5433 SoC.

2015-02-02 Thread Chanwoo Choi
From: Inha Song This patch add CLKOUT driver support for Exynos5433 SoC. Signed-off-by: Inha Song Acked-by: Inki Dae --- drivers/clk/samsung/clk-exynos-clkout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clko

[PATCH v3 6/9] clk: samsung: exynos5433: Add clocks for CMU_ISP domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_ISP domain which generates the clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 20 ++ drivers/clk/sams

[PATCH v3 2/9] clk: samsung: exynos5433: Add clocks for CMU_ATLAS domain

2015-02-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_ATLAS domain which generates the clocks for Cortex-A57 Quad-core processsor, L2 cache controller and CoreSight. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos543

Re: [PATCH v3 05/24] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:21 +1100, Alexey Kardashevskiy wrote: > There moves locked pages accounting to helpers. > Later they will be reused for Dynamic DMA windows (DDW). > > While we are here, update the comment explaining why RLIMIT_MEMLOCK > might be required to be bigger than the guest RAM. T

Re: [PATCH v3 14/24] vfio: powerpc/spapr: Register memory

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:21 +1100, Alexey Kardashevskiy wrote: > The existing implementation accounts the whole DMA window in > the locked_vm counter which is going to be even worse with multiple > containers and huge DMA windows. > > This introduces 2 ioctls to register/unregister DMA memory whic

Re: [PATCH] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-02 Thread Stephen Rothwell
Hi Arnd, On Mon, 02 Feb 2015 21:11:50 +0100 Arnd Bergmann wrote: > > On Tuesday 03 February 2015 00:48:20 Yoshinori Sato wrote: > > > --- a/arch/arm/Kconfig > > +++ b/arch/arm/Kconfig > > @@ -76,6 +76,7 @@ config ARM > >select PERF_USE_VMALLOC > >select RTC_LIB > >select

Re: [PATCH] tools: unbreak 'make tools/*'

2015-02-02 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 02, 2015 at 03:43:09PM -0800, Brian Norris escreveu: > Ping? Thanks for submitting the patch, its just that I am busy at the moment, preparing for travel, I will process this patch eventually. - Arnaldo > On Wed, Jan 28, 2015 at 08:47:36PM -0800, Brian Norris wrote: > > The followin

Re: [PATCH v5 0/2] ARM: mediatek: Add watchdog driver

2015-02-02 Thread Wim Van Sebroeck
Hi Matthias, > Mediatek SoCs have a watchdog driver. This patch set adds driver and DTS > binding. The driver also implements a restart handler to reboot the SoC. > > Changes for v5: > - add newline in dev_info message > - add tested-by and reviewed-by > > Changes for v4: > - fix indentation err

Re: [PATCH v4 01/13] clk: samsung: exynos5433: Add binding document for Exynos5433 clock domains

2015-02-02 Thread Chanwoo Choi
Hi Sylwester, On 02/03/2015 01:44 AM, Chanwoo Choi wrote: > Hi Sylwester, > > On Tue, Feb 3, 2015 at 1:25 AM, Sylwester Nawrocki > wrote: >> Hi Chanwoo, >> >> On 02/02/15 16:51, Chanwoo Choi wrote: >>> On Mon, Feb 2, 2015 at 11:40 PM, Sylwester Nawrocki >>> wrote: > On 02/02/15 15:08, Chanw

Re: [PATCH 1/1 linux-next] fs/ufs/super.c: remove CONFIG_SMP/CONFIG_PREEMPT testing

2015-02-02 Thread Andrew Morton
On Sun, 1 Feb 2015 12:36:57 +0100 Fabian Frederick wrote: > Let locking subsystem decide on mutex management. > > ... > > --- a/fs/ufs/super.c > +++ b/fs/ufs/super.c > @@ -95,22 +95,18 @@ > > void lock_ufs(struct super_block *sb) > { > -#if defined(CONFIG_SMP) || defined (CONFIG_PREEMPT) >

[PATCH 1/5] mm/internal.h: Don't split printk call in two

2015-02-02 Thread Rasmus Villemoes
All users of mminit_dprintk pass a compile-time constant as level, so this just makes gcc emit a single printk call instead of two. Signed-off-by: Rasmus Villemoes --- Notes: Not a huge deal, since the only users are __init or __meminit functions, but even there saving 140 bytes may be w

[PATCH 2/5] mm/page_alloc.c: Pull out init code from build_all_zonelists

2015-02-02 Thread Rasmus Villemoes
Pulling the code protected by if (system_state == SYSTEM_BOOTING) into its own helper allows us to shrink .text a little. This relies on build_all_zonelists already having a __ref annotation. Add a comment explaining why so one doesn't have to track it down through git log. Signed-off-by: Rasmus V

[PATCH 0/5] mm: Some .text savings

2015-02-02 Thread Rasmus Villemoes
Only compile-tested, but I think these should be ok. Net saving aroung 450 bytes of .text. Rasmus Villemoes (5): mm/internal.h: Don't split printk call in two mm/page_alloc.c: Pull out init code from build_all_zonelists mm/mm_init.c: Mark mminit_verify_zonelist as __init mm/mm_init.c: Mark

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

2015-02-02 Thread Lina Iyer
On Wed, Jan 28 2015 at 14:42 -0700, Javi Merino wrote: The power allocator governor is a thermal governor that controls system and device power allocation to control temperature. Conceptually, the implementation divides the sustainable power of a thermal zone among all the heat sources in that z

[PATCH 4/5] mm/mm_init.c: Mark mminit_loglevel __meminitdata

2015-02-02 Thread Rasmus Villemoes
mminit_loglevel is only referenced from __init and __meminit functions, so we can mark it __meminitdata. Signed-off-by: Rasmus Villemoes --- mm/mm_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index e17c758b27bf..5f420f7fafa1 100644 --- a/

[PATCH 5/5] kernel/cpuset.c: Mark cpuset_init_current_mems_allowed as __init

2015-02-02 Thread Rasmus Villemoes
The only caller of cpuset_init_current_mems_allowed is the __init annotated build_all_zonelists_init, so we can also make the former __init. Signed-off-by: Rasmus Villemoes --- kernel/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c i

[PATCH 3/5] mm/mm_init.c: Mark mminit_verify_zonelist as __init

2015-02-02 Thread Rasmus Villemoes
The only caller of mminit_verify_zonelist is build_all_zonelists_init, which is annotated with __init, so it should be safe to also mark the former as __init, saving ~400 bytes of .text. Signed-off-by: Rasmus Villemoes --- mm/mm_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v6] clk: samsung: exynos5433: Add binding document for Exynos5433 clock domains

2015-02-02 Thread Chanwoo Choi
This patch adds devicetree binding document for Exynos5433 SoC system clock controller. Cc: Sylwester Nawrocki Cc: Tomasz Figa Cc: devicet...@vger.kernel.org Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 305 + 1 fi

Re: [PATCH] tools: unbreak 'make tools/*'

2015-02-02 Thread Brian Norris
Ping? On Wed, Jan 28, 2015 at 08:47:36PM -0800, Brian Norris wrote: > The following targets should be supported from the top-level source > directory, but were broken by commit 7e1c04779efd ("kbuild: Use relative > path for $(objtree)"): > > $ make tools/ > $ make tools/perf > $ make O=$(BUILD

[PATCH RESEND v3 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-02-02 Thread Todd Brandt
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-by: Jacob Pan --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) v1: 01/07/14 v2: 01/22/14 - replaced the const

[PATCH RESEND v3 2/3] mfd/axp20x: add support for fuel gauge cell

2015-02-02 Thread Todd Brandt
Register definitions and platform data structure for fuel gauge cell devices. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-By: Jacob Pan Acked-By: Lee Jones --- include/linux/mfd/axp20x.h | 43 +-- 1 file changed, 41 insertions(+), 2 del

[PATCH RESEND v3 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-02 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Todd Brandt (3): mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for fu

[PATCH RESEND v3 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-02 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Signed-off-by: Todd Brandt Acked-by: Jacob Pan --- drivers/power/Kconfig |9 + dri

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 23:30:00 + Russell King - ARM Linux wrote: > On Mon, Feb 02, 2015 at 03:18:24PM -0800, Andrew Morton wrote: > > I'm a bit surprised that nobody helped out with the Kconfig text. > > I queued the below. Looks OK? > > > > --- a/lib/Kconfig~a > > +++ a/lib/Kconfig > > @@ -

Re: [PATCH 2/2] f2fs: don't discard next free dnode page for an umount checkpoint

2015-02-02 Thread Jaegeuk Kim
Hi Chao, On Sat, Jan 31, 2015 at 05:06:59PM +0800, Chao Yu wrote: > Previously, discard_next_dnode is added before a checkpoint to prevent that we > may meet a garbage dnode page readed from next free blkaddr in recover flow. > > Since f2fs will skip recovery flow for a clean umount image, this c

Re: [RFC] change non-atomic bitops method

2015-02-02 Thread Russell King - ARM Linux
On Mon, Feb 02, 2015 at 03:29:09PM -0800, Andrew Morton wrote: > On Mon, 2 Feb 2015 11:55:03 +0800 "Wang, Yalin" > wrote: > > > This patch change non-atomic bitops, > > add a if() condition to test it, before set/clear the bit. > > so that we don't need dirty the cache line, if this bit > > have

Re: [PATCH 1/2] f2fs: don't trigger recovery for normal umount image

2015-02-02 Thread Jaegeuk Kim
Hi Chao, On Sat, Jan 31, 2015 at 04:59:49PM +0800, Chao Yu wrote: > Our recovery option is on by default, so we will try to recover data for > a normally umounted image when mounting it, but no data will be recovered. > > So it'd be better to skip the recovery for above condition. No. We should

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Russell King - ARM Linux
On Mon, Feb 02, 2015 at 03:18:24PM -0800, Andrew Morton wrote: > I'm a bit surprised that nobody helped out with the Kconfig text. > I queued the below. Looks OK? > > --- a/lib/Kconfig~a > +++ a/lib/Kconfig > @@ -18,9 +18,8 @@ config HAVE_ARCH_BITREVERSE > default n > depends on BITR

Re: [PATCH 5/5 v2] f2fs: introduce a batched trim

2015-02-02 Thread Jaegeuk Kim
Change long from v1: o add description o change the # of batched segments suggested by Chao o make consistent for # of batched segments This patch introduces a batched trimming feature, which submits split discard commands. This patch introduces a batched trimming feature, which submits split

Re: [RFC] change non-atomic bitops method

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 11:55:03 +0800 "Wang, Yalin" wrote: > This patch change non-atomic bitops, > add a if() condition to test it, before set/clear the bit. > so that we don't need dirty the cache line, if this bit > have been set or clear. On SMP system, dirty cache line will > need invalidate ot

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 18:12:13 -0500 Christoph Jaeger wrote: > > Your patch patches 556d2f055bf6d ("ARM: 8187/1: add > > CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction") which appears > > in linux-next via the ARM tree. > > Oh, sorry, yes; it should be applied by the ARM folks to their tre

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 23:05:48 + Russell King - ARM Linux wrote: > On Mon, Feb 02, 2015 at 02:27:32PM -0800, Andrew Morton wrote: > > On Mon, 2 Feb 2015 09:59:16 -0500 Christoph Jaeger wrote: > > > > > Keyword 'boolean' for type definition attributes is considered > > > deprecated and, there

Re: [PATCH 4/6] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-02-02 Thread Wolfram Sang
On Mon, Feb 02, 2015 at 02:15:44PM -0800, Feng Kan wrote: > On Thu, Jan 29, 2015 at 10:11 PM, Wolfram Sang wrote: > > > >> > ctx->dev is probably the wrong device here. The i2c controller is not > >> > DMA capable itself, you need to have a pointer to the device that > >> > actually > >> > perfor

Re: [PATCH 06/20] staging/lustre: fix comparison between signed and unsigned

2015-02-02 Thread Oleg Drokin
On Feb 2, 2015, at 3:51 PM, Greg Kroah-Hartman wrote: > On Mon, Feb 02, 2015 at 03:25:58PM -0500, Oleg Drokin wrote: >>> What is this code supposed to be protecting from? And -1? That should >>> never be a return value… >> >> Why is -1 a bad return value if all callsites check for that as an >>

Re: [PATCH] watchdog: hpwdt: Fix initialization message in hpwdt.c

2015-02-02 Thread Wim Van Sebroeck
Hi Masanari, > allow_kdump was enabled as default since following commit. > > commit a089361cf5f1d6a5295aa5385238bd044998e1e9, > watchdog: hpwdt: Unregister NMI events on exit. > > But the initialization message was not modified. > So it still shows > > HP Watchdog Timer Driver: NMI decoding

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Tony Lindgren
* Mike Turquette [150202 14:51]: > Quoting Tony Lindgren (2015-02-02 12:44:02) > > > > Thanks Tero, looks like your fix fixes all the issues I'm seeing with > > commit 59cf3fcf9baf. That is noisy dmesg, dpll_abe_ck not locking > > on 4430sdp, and off-idle not working for omap3. > > > > I could n

Re: v3.19: Nokia N900 - usb nokia gadget crash

2015-02-02 Thread Felipe Balbi
On Mon, Feb 02, 2015 at 11:47:26PM +0100, Pali Rohár wrote: > On Monday 02 February 2015 23:27:27 Felipe Balbi wrote: > > On Mon, Feb 02, 2015 at 04:17:13PM -0600, Felipe Balbi wrote: > > > On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali Rohár wrote: > > > > On Saturday 31 January 2015 10:06:11 Pali

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Christoph Jaeger
On Mon, Feb 02, 2015 at 02:27:32PM -0800, Andrew Morton wrote: > On Mon, 2 Feb 2015 09:59:16 -0500 Christoph Jaeger wrote: > > > Keyword 'boolean' for type definition attributes is considered > > deprecated and, therefore, should not be used anymore. > > > > See http://lkml.kernel.org/r/cover.1

Re: [PATCH v2 0/2] Quieten softlockup detector on virtualised kernels

2015-02-02 Thread Andrew Morton
On Mon, 02 Feb 2015 15:58:38 +1100 Cyril Bur wrote: > On Fri, 2015-01-09 at 14:34 +1100, Cyril Bur wrote: > > When the hypervisor pauses a virtualised kernel the kernel will observe a > > jump > > in timebase, this can cause spurious messages from the softlockup detector. > > > > Whilst these m

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Russell King - ARM Linux
On Mon, Feb 02, 2015 at 02:27:32PM -0800, Andrew Morton wrote: > On Mon, 2 Feb 2015 09:59:16 -0500 Christoph Jaeger wrote: > > > Keyword 'boolean' for type definition attributes is considered > > deprecated and, therefore, should not be used anymore. > > > > See http://lkml.kernel.org/r/cover.1

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Stephen Rothwell
e > > > of them is inefficient and odd. > > > > $ git grep -n "^\s*boolean\b" next-20150202 -- "*Kconfig*" > > next-20150202:drivers/usb/gadget/Kconfig:427: boolean "USB Webcam > > function" > > next-20150202:lib/K

Re: [PATCH] watchdog: imx2: Constify struct regmap_config and watchdog_ops

2015-02-02 Thread Wim Van Sebroeck
Hi Krzysztof, > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. Make struct > watchdog_ops const as well. > > Signed-off-by: Krzysztof Kozlowski Patch added to linux-watchdog-next. Kind regards, Wim. -- To unsubscrib

Re: [PATCH 1/4] Input - synaptics: fix middle button on Lenovo 2015 products

2015-02-02 Thread Dmitry Torokhov
On Wed, Jan 28, 2015 at 03:10:04PM -0500, Benjamin Tissoires wrote: > On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle > button of the trackstick (attached to the touchpad serio device, of course) > seems to get lost. > > Actually, the touchpads reports 3 extra buttons, wh

Re: [Patch] sunrpc: NULL utsname dereference on NFS umount during namespace cleanup

2015-02-02 Thread Trond Myklebust
On Mon, Feb 2, 2015 at 12:41 PM, Nix wrote: > On 31 Jan 2015, n...@esperi.org.uk told this: >> I'll let it run overnight and give it a reboot in the morning. > > Alas, my latest reboot hit: > > [ 215.245158] BUG: unable to handle kernel NULL pointer dereference at > 0004 > [ 215.251602] IP:

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Randy Dunlap
nt and odd. >> >> $ git grep -n "^\s*boolean\b" next-20150202 -- "*Kconfig*" >> next-20150202:drivers/usb/gadget/Kconfig:427: boolean "USB Webcam >> function" >> next-20150202:lib/Kconfig:17: boolean >> >> What ar

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Stephen Boyd
On 02/02/15 14:41, Mike Turquette wrote: > Quoting Tero Kristo (2015-02-02 11:32:01) >> On 02/01/2015 11:24 PM, Mike Turquette wrote: >>> >>> AFAICT this doesn't break anything, but booting on OMAP3+ results in >>> noisy WARNs. >>> >>> I think the correct fix is to replace clk_bypass and clk_ref po

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Paul Bolle
; > of them is inefficient and odd. > > > > $ git grep -n "^\s*boolean\b" next-20150202 -- "*Kconfig*" > > next-20150202:drivers/usb/gadget/Kconfig:427: boolean "USB Webcam > > function" > > next-20150202:lib/Kconfig:17: boolean >

[PATCH 1/2] f2fs: keep PagePrivate during releasepage

2015-02-02 Thread Jaegeuk Kim
If PagePrivate is removed by releasepage, f2fs loses counting dirty pages. e.g., try_to_release_page will not release page when the page is dirty, but our releasepage removes PagePrivate. [] try_to_release_page+0x35/0x50 [] invalidate_inode_pages2_range+0x2f9/0x3b0 [] ? truncate_block

[PATCH 2/2] f2fs: show the number of writeback pages in stat

2015-02-02 Thread Jaegeuk Kim
This patch adds the # of writeback pages in stat info. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 5 +++-- fs/f2fs/f2fs.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 0f721f6..ac2bd8e 100644 --- a/fs/f2fs/debug.c +++ b/fs/f

Re: [f2fs-dev] [PATCH v2 06/10] f2fs: add core functions for rb-tree extent cache

2015-02-02 Thread Jaegeuk Kim
On Mon, Feb 02, 2015 at 10:59:28AM +0800, Chao Yu wrote: > Hi all, > > > -Original Message- > > From: Chao Yu [mailto:chao2...@samsung.com] > > Sent: Monday, January 26, 2015 1:52 PM > > To: Jaegeuk Kim; Changman Lee > > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-02 14:35:59) > On 02/02/15 13:31, Julia Lawall wrote: > > > > On Mon, 2 Feb 2015, Stephen Boyd wrote: > > > >> Julia, > >> > >> Is there a way we can write a coccinelle script to check for this? The > >> goal being to find all drivers that are comparing struct clk poin

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Mike Turquette
Quoting Tony Lindgren (2015-02-02 12:44:02) > * Tero Kristo [150202 11:35]: > > On 02/01/2015 11:24 PM, Mike Turquette wrote: > > >Quoting Tomeu Vizoso (2015-01-23 03:03:30) > > > > > >AFAICT this doesn't break anything, but booting on OMAP3+ results in > > >noisy WARNs. > > > > > >I think the cor

Re: v3.19: Nokia N900 - usb nokia gadget crash

2015-02-02 Thread Pali Rohár
On Monday 02 February 2015 23:27:27 Felipe Balbi wrote: > On Mon, Feb 02, 2015 at 04:17:13PM -0600, Felipe Balbi wrote: > > On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali Rohár wrote: > > > On Saturday 31 January 2015 10:06:11 Pali Rohár wrote: > > > > Hello, > > > > > > > > when I try to modprobe

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 02 Feb 2015 23:37:54 +0100 Paul Bolle wrote: > On Mon, 2015-02-02 at 14:27 -0800, Andrew Morton wrote: > > There are many uses of "boolean" in lib/Kconfig. Converting just one > > of them is inefficient and odd. > > $ git grep -n "^\s*b

Re: [PATCH] leds: leds-gpio: Pass on error codes unmodified

2015-02-02 Thread Bryan Wu
On Sun, Feb 1, 2015 at 8:59 AM, Sören Brinkmann wrote: > + Andreas who actually reported this issue and also tested the patch. > > On Sat, 2015-01-31 at 07:15PM -0800, Soren Brinkmann wrote: >> Instead of overriding error codes, pass them on unmodified. This >> way a EPROBE_DEFER is correctly pass

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Mike Turquette
Quoting Tero Kristo (2015-02-02 11:32:01) > On 02/01/2015 11:24 PM, Mike Turquette wrote: > > Quoting Tomeu Vizoso (2015-01-23 03:03:30) > >> Moves clock state to struct clk_core, but takes care to change as little > >> API as > >> possible. > >> > >> struct clk_hw still has a pointer to a struct

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Paul Bolle
On Mon, 2015-02-02 at 14:27 -0800, Andrew Morton wrote: > There are many uses of "boolean" in lib/Kconfig. Converting just one > of them is inefficient and odd. $ git grep -n "^\s*boolean\b" next-20150202 -- "*Kconfig*" next-20150202:drivers/usb/gadge

[PATCH v2] clk: Add tracepoints for hardware operations

2015-02-02 Thread Stephen Boyd
It's useful to have tracepoints around operations that change the hardware state so that we can debug clock hardware performance and operations. Four basic types of events are supported: on/off events for enable, disable, prepare, unprepare that only record an event and a clock name, rate changing

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-02 Thread Rob Clark
On Mon, Feb 2, 2015 at 4:46 PM, Russell King - ARM Linux wrote: > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> >> My initial thought is for dma-buf to not try to prevent something than >> >> an exporter can actually do.. I

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-02 Thread Stephen Boyd
On 02/02/15 13:31, Julia Lawall wrote: > > On Mon, 2 Feb 2015, Stephen Boyd wrote: > >> Julia, >> >> Is there a way we can write a coccinelle script to check for this? The >> goal being to find all drivers that are comparing struct clk pointers or >> attempting to dereference them. There are probab

Re: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 22:18:24 + Mel Gorman wrote: > > Is there something > > preventing this from being addressed within glibc? > > I doubt it other than I expect they'll punt it back and blame either the > application for being stupid or the kernel for being slow. *Is* the application being

Re: [PATCH] jfs: Deletion of an unnecessary check before the function call "unload_nls"

2015-02-02 Thread Dave Kleikamp
On 02/01/2015 10:15 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 1 Feb 2015 17:00:24 +0100 > > The unload_nls() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the Co

Re: [PATCH linux-next] lib: Kconfig: use bool instead of boolean

2015-02-02 Thread Andrew Morton
On Mon, 2 Feb 2015 09:59:16 -0500 Christoph Jaeger wrote: > Keyword 'boolean' for type definition attributes is considered > deprecated and, therefore, should not be used anymore. > > See http://lkml.kernel.org/r/cover.1418003065.git...@linux.com > See http://lkml.kernel.org/r/1419108071-11607-

Re: v3.19: Nokia N900 - usb nokia gadget crash

2015-02-02 Thread Felipe Balbi
On Mon, Feb 02, 2015 at 04:17:13PM -0600, Felipe Balbi wrote: > On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali Rohár wrote: > > On Saturday 31 January 2015 10:06:11 Pali Rohár wrote: > > > Hello, > > > > > > when I try to modprobe g_nokia.ko gadget module on n900 > > > device, it produce tons on l

Re: [PATCH] IRQ: don't suspend nested_thread irqs over system suspend.

2015-02-02 Thread Rafael J. Wysocki
On Saturday, January 31, 2015 02:37:47 PM NeilBrown wrote: > On Sat, 31 Jan 2015 00:51:17 +0100 "Rafael J. Wysocki" > wrote: > > > On Saturday, January 31, 2015 12:06:37 AM Rafael J. Wysocki wrote: > > > On Saturday, January 31, 2015 09:25:45 AM NeilBrown wrote: > > > > > > > > Nested IRQs can o

[PATCH v4 2/5] ARM: dts: sun9i: Add USB host controller nodes to a80 dtsi

2015-02-02 Thread Chen-Yu Tsai
The A80 has 3 EHCI/OHCI USB controllers. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 55 1 file changed, 55 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index d7ebd9390b01..17fcf57d

[PATCH v4 1/5] phy: Add driver to support individual USB PHYs on sun9i

2015-02-02 Thread Chen-Yu Tsai
Unlike previous Allwinner SoCs, there is no central PHY control block on the A80. Also, OTG support is completely split off into a different controller. This adds a new driver to support the regular USB PHYs. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- .../devicetree/bindings/phy/s

<    1   2   3   4   5   6   7   8   9   >