[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

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

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

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"

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

[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

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

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

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

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

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

[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

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

[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

[PATCH v3 3/4] pinctrl: cygnus: add initial IOMUX driver support

2015-02-02 Thread Ray Jui
This adds the initial driver support for the Broadcom Cygnus IOMUX controller. The Cygnus IOMUX controller supports group based mux configuration but allows certain pins to be muxed to GPIO individually Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/Kconfig

[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 2/4] pinctrl: Broadcom Cygnus pinctrl device tree binding

2015-02-02 Thread Ray Jui
Device tree binding documentation for Broadcom Cygnus IOMUX driver Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/brcm,cygnus-pinmux.txt| 159 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinct

[for-next][PATCH 0/5] tracing: Updates for 3.20

2015-02-02 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 7eeafbcab47fe9860e5106286db83d60e3f35644 Borislav Petkov (1): tracing: Remove newline from trace_printk warning banner Dave Martin (1): tracing: Add array printing helper Steven Rostedt (Red

[for-next][PATCH 2/5] tracing: Add array printing helper

2015-02-02 Thread Steven Rostedt
From: Dave Martin If a trace event contains an array, there is currently no standard way to format this for text output. Drivers are currently hacking around this by a) local hacks that use the trace_seq functionailty directly, or b) just not printing that information. For fixed size arrays, fo

[for-next][PATCH 3/5] trace: Use 64-bit timekeeping

2015-02-02 Thread Steven Rostedt
From: Tina Ruchandani The ring_buffer_producer uses 'struct timeval' to measure its start and end times. 'struct timeval' on 32-bit systems will have its tv_sec value overflow in year 2038 and beyond. This patch replaces struct timeval with 'ktime_t' which uses 64-bit representation for nanosecon

[for-next][PATCH 1/5] tracing: Remove newline from trace_printk warning banner

2015-02-02 Thread Steven Rostedt
From: Borislav Petkov Remove the output-confusing newline below: [0.191328] ** [0.191493] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [0.191586] ** ** ... Link

Re: [Patch v2 1/6] soc: qcom: gsbi: Add support for ADM CRCI muxing

2015-02-02 Thread Stephen Boyd
On 01/30/15 13:48, Kumar Gala wrote: > On Jan 30, 2015, at 3:37 PM, Stephen Boyd wrote: > >> On 01/30/15 08:32, Kumar Gala wrote: >>> On Jan 30, 2015, at 12:25 AM, Andy Gross wrote: >>> Required properties if child node exists: - #address-cells: Must be 1 - #size-cells: Must be 1 >

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

2015-02-02 Thread Ken Xue
This new feature is to interpret AMD specific ACPI device to platform device such as I2C, UART found on AMD CZ and later chipsets. It based on example intel LPSS. Now, it can support AMD I2C & UART. Signed-off-by: Ken Xue --- arch/x86/Kconfig| 11 +++ drivers/acpi/Makefile | 2 +- d

RE: [RFC] change non-atomic bitops method

2015-02-02 Thread Wang, Yalin
> -Original Message- > From: Kirill A. Shutemov [mailto:kir...@shutemov.name] > Sent: Tuesday, February 03, 2015 9:18 AM > To: Andrew Morton > Cc: Wang, Yalin; 'a...@arndb.de'; 'linux-a...@vger.kernel.org'; 'linux- > ker...@vger.kernel.org'; 'li...@arm.linux.org.uk'; 'linux-arm- > ker...@li

Re: [PATCH v2] net: bluetooth: hci_sock: Use 'const void *' instead of 'void *' for 2nd parameter of hci_test_bit()

2015-02-02 Thread Chen Gang S
On 2/3/15 05:20, Joe Perches wrote: > On Tue, 2015-02-03 at 05:14 +0800, Chen Gang S wrote: >> hci_test_bit() does not modify 2nd parameter, so it is better to let it >> be constant, or may cause build warning. The related warning (with >> allmodconfig under xtensa): > [] >> diff --git a/net/blueto

[PATCH] i7core_edac: release resources on error in i7core_create_sysfs_devices

2015-02-02 Thread Junjie Mao
Signed-off-by: Junjie Mao --- drivers/edac/i7core_edac.c | 39 +++ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c index 9cd0b301f81b..98911150411b 100644 --- a/drivers/edac/i7core_edac.c +

[PATCH v2] i7core_edac: release resources on error in i7core_create_sysfs_devices

2015-02-02 Thread Junjie Mao
v2: do not call kfree on allocated devs after device_initialize is called Signed-off-by: Junjie Mao --- drivers/edac/i7core_edac.c | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c i

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

2015-02-02 Thread Changman Lee
Hi Jaegeuk, IMHO, it looks better user could decide the size of trim considering latency of trim. Otherwise, additional checkpoints user doesn't want will occur. Regards, Changman On Mon, Feb 02, 2015 at 03:29:25PM -0800, Jaegeuk Kim wrote: > Change long from v1: > o add description > o chang

Re: [PATCH] Documentation: Update netlink_mmap.txt

2015-02-02 Thread David Miller
From: Richard Weinberger Date: Fri, 30 Jan 2015 20:50:44 +0100 > Update netlink_mmap.txt wrt. commit 4682a0358639b29cf > ("netlink: Always copy on mmap TX."). > > Signed-off-by: Richard Weinberger Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [Patch Part1 v7 00/38] Convert x86 to hierarchy irqdomain and stacked irqchip

2015-02-02 Thread Jiang Liu
Ping:) On 2015/1/20 11:08, Jiang Liu wrote: > Hi all, > The generic hierarchy irqdomain and stacked irqchip implementation > has been merged into v3.19, so this patch set converts x86 interupt > management to hierarchy irqdomain and stacked irqchip. I will send out > another following-on pat

Re: [Patch Part2 v4 00/33] Clean up obsoleted x86 interrupt manangement code and interfaces

2015-02-02 Thread Jiang Liu
Ping) On 2015/1/20 13:51, Jiang Liu wrote: > This is a following-on patch of "[Patch Part1 v7 00/38] Convert x86 to > hierarchy irqdomain and stacked irqchip" at > https://lkml.org/lkml/2015/1/19/685 > > The precedent patch has convert x86 interrupt management subsystem to > hierarchy irqdomain a

Re: [PATCH v2] net: bluetooth: hci_sock: Use 'const void *' instead of 'void *' for 2nd parameter of hci_test_bit()

2015-02-02 Thread Chen Gang S
On 2/3/15 10:32, Chen Gang S wrote: > On 2/3/15 05:20, Joe Perches wrote: >> On Tue, 2015-02-03 at 05:14 +0800, Chen Gang S wrote: >>> hci_test_bit() does not modify 2nd parameter, so it is better to let it >>> be constant, or may cause build warning. The related warning (with >>> allmodconfig und

Re: [PATCH] net/tulip: don't warn about unknown ARM architecture

2015-02-02 Thread David Miller
From: Arnd Bergmann Date: Fri, 30 Jan 2015 22:58:19 +0100 > ARM has 32-byte cache lines, which according to the comment in > the init registers function seems to work best with the default > value of 0x4800 that is also used on sparc and parisc. > > This adds ARM to the same list, to use that de

Re: [PATCH v3 24/24] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-02-02 Thread Alex Williamson
On Thu, 2015-01-29 at 20:22 +1100, Alexey Kardashevskiy wrote: > This adds create/remove window ioctls to create and remove DMA windows. > > This changes VFIO_IOMMU_SPAPR_TCE_GET_INFO handler to return additional > information such as a number of supported windows and maximum number > levels of TC

Re: [PATCH] zram: fix umount-reset_store-mount race condition

2015-02-02 Thread Minchan Kim
-- [ 33.812038] WARNING: CPU: 11 PID: 1996 at fs/block_dev.c:57 __blkdev_put+0x1d7/0x210() [ 33.812817] Modules linked in: [ 33.813142] CPU: 11 PID: 1996 Comm: dd Not tainted 3.19.0-rc6-next-20150202+ #1125 [ 33.813837] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01

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

2015-02-02 Thread Minchan Kim
On Tue, Feb 03, 2015 at 10:54:33AM +0900, Sergey Senozhatsky wrote: > 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_capacit

Re: [PATCH v2 08/12] drm: bridge/dw_hdmi: add audio config interfaces

2015-02-02 Thread Yang Kuankuan
On 02/02/2015 08:09 AM, Russell King - ARM Linux wrote: On Mon, Feb 02, 2015 at 07:32:05AM -0500, Yang Kuankuan wrote: On 02/02/2015 06:53 AM, Russell King - ARM Linux wrote: On Mon, Feb 02, 2015 at 12:02:50PM +0800, Daniel Kurtz wrote: Hi ykk, On Sat, Jan 31, 2015 at 10:34 PM, Yang Kuankuan

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Jason Wang
On Mon, Feb 2, 2015 at 6:09 PM, Dexuan Cui wrote: -Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, February 2, 2015 17:36 PM To: Dexuan Cui Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org; o...@

RE: [PATCH] ARM: EXYNOS: Handle of of_iomap() failure

2015-02-02 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > Prevent possible NULL pointer dereference if of_iomap() fails. Handle > the error by skipping such power domain. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/mach-exynos/pm_domains.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/

Re: nvram and generic_nvram modules are problematic, was Re: [PATCH] arch: m68k: mac: misc.c: Remove some unused functions

2015-02-02 Thread Finn Thain
On Sun, 1 Feb 2015, Geert Uytterhoeven wrote: > On Sun, Feb 1, 2015 at 4:39 AM, Finn Thain wrote: > > On Sun, 4 Jan 2015, Geert Uytterhoeven wrote: > > > On Sun, Jan 4, 2015 at 8:21 AM, Finn Thain wrote: > > > > On Thu, 1 Jan 2015, Rickard Strandqvist wrote: > > > > > Removes some functions that

Re: [PATCH v2 2/2] task_mmu: Add user-space support for resetting mm->hiwater_rss (peak RSS)

2015-02-02 Thread Petr Cermak
On Mon, Jan 26, 2015 at 04:00:20PM -0800, David Rientjes wrote: > [...] > This is a result of allowing something external (process B) be able to > clear hwm so that you never knew the value went to 100MB. That's the > definition of a race, I don't know how to explain it any better and making > any

RE: [PATCH 0/3] ARM: dts: Regulator changes and fuel gauge for exynos4412-trats2

2015-02-02 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > Hi Kukjin, > Hi, > > I grouped into one patchset already posted patches for Trats2 board: > 1. Fuel gauge: >https://lkml.org/lkml/2015/1/7/167 > 2. Suspend configuration for max77686 regulators: >https://lkml.org/lkml/2014/10/29/262 > 3. GPIO control for m

RE: [PATCH] ARM: dts: exynos4412-trats2: Add max77693 charger node

2015-02-02 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > Add to Trats2 DTS new node for configuring the max77693 charger driver. > Only the maxim,constant-microvolt differs from default value but set all > of the optional properties anyway. > > Signed-off-by: Krzysztof Kozlowski > --- > arch/arm/boot/dts/exynos4412-trat

Re: [PATCH] net: sctp: Deletion of an unnecessary check before the function call "kfree"

2015-02-02 Thread David Miller
From: SF Markus Elfring Date: Sat, 31 Jan 2015 18:15:59 +0100 > From: Markus Elfring > Date: Sat, 31 Jan 2015 18:10:03 +0100 > > The kfree() 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 u

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

2015-02-02 Thread Wincy Van
On Tue, Feb 3, 2015 at 9:21 AM, Zhang, Yang Z wrote: > 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) &

[RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-02 Thread Bo Shen
Let the wm8731 codec to manage clock by itself. As all at91 related boards have been switch to CCF framework. So, on the at91 related boards which use wm8731 will let it manage the clock, or else the board use wm8731 is broken. However, at the same time the wm8731 codec is used on other boards, I

[PATCH v1] spi: imx: use pio mode for i.mx6dl

2015-02-02 Thread Robin Gong
For TKT238285 hardware issue which may cause txfifo store data twice can only be caught on i.mx6dl, we use pio mode instead of DMA mode on i.mx6dl. Signed-off-by: Robin Gong --- drivers/spi/spi-imx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/spi/spi-imx.c b/drivers/spi/spi-

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Jason Wang
On Tue, Feb 3, 2015 at 11:30 AM, KY Srinivasan wrote: -Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, February 2, 2015 7:09 PM To: Dexuan Cui Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, February 2, 2015 7:38 PM > To: KY Srinivasan > Cc: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > driverdev-de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; vku

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, February 2, 2015 7:09 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY > Srinivasan; vk

Re: [PATCH v3 0/2][request for stable inclusion] several pstore related bugfixs

2015-02-02 Thread Greg KH
On Wed, Jan 28, 2015 at 04:06:24PM +0800, HuKeping wrote: > Hi greg, > We want to use pstore on linux 3.10. But we found several bugfixs have not > been merged yet. Most of them are obvious and can be cherry-picked cleanly. > Would you please apply them to stable 3.10? > > v1 -> v2: > - remove d4

[PATCH v2] selftests/exec: Check if the syscall exists and bail if not

2015-02-02 Thread Michael Ellerman
On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. When we run on a system that doesn't implement the syscall we will get ENOSYS back from the kernel, so cha

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

2015-02-02 Thread Sergey Senozhatsky
On (02/03/15 12:02), Minchan Kim wrote: > On Tue, Feb 03, 2015 at 10:54:33AM +0900, Sergey Senozhatsky wrote: > > 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_devi

RE: [RESEND PATCH] ARM: EXYNOS: Add missing static to file-scope declarations

2015-02-02 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > The 'pm_data', 'exynos_release_ret_regs' and > 'exynos5420_release_ret_regs' are not exported nor used outside of > suspend.c file. Make them static. > > This fixes following sparse warnings: > arch/arm/mach-exynos/suspend.c:83:23: warning: symbol 'pm_data' was not

Re: [PATCH v2] i7core_edac: release resources on error in i7core_create_sysfs_devices

2015-02-02 Thread Guenter Roeck
On Tue, Feb 03, 2015 at 10:40:14AM +0800, Junjie Mao wrote: > v2: do not call kfree on allocated devs after device_initialize is called > > Signed-off-by: Junjie Mao > --- > drivers/edac/i7core_edac.c | 37 + > 1 file changed, 25 insertions(+), 12 deletions(-)

RE: [alsa-devel] [PATCH v4 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-02-02 Thread Kukjin Kim
Sylwester Nawrocki wrote: > > On 23/01/15 06:03, Inha Song wrote: > > This patch add WM1811 audio codec, I2S interface and the sound > > machine nodes to enable audio on exynos4412-trats2 board. > > > > Signed-off-by: Inha Song > > Reviewed-by: Sylwester Nawrocki > Applied, thanks. - Kukjin

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Jason Wang
On Tue, Feb 3, 2015 at 11:40 AM, KY Srinivasan wrote: -Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, February 2, 2015 7:38 PM To: KY Srinivasan Cc: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev-de...@linuxdri

Re: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Jason Wang
On Mon, Feb 2, 2015 at 12:35 PM, Dexuan Cui wrote: Before the line vmbus_open() returns, srv->util_cb can be already running and the variables, like util_fw_version, are needed by the srv->util_cb. So we have to make sure the variables are initialized before the vmbus_open(). CC: "K. Y.

Re: [PATCH] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-02 Thread Yoshinori Sato
At Mon, 02 Feb 2015 21:11:50 +0100, Arnd Bergmann wrote: > > On Tuesday 03 February 2015 00:48:20 Yoshinori Sato wrote: > > At Mon, 2 Feb 2015 09:10:06 +0100, > > Geert Uytterhoeven wrote: > > > > > > Hi Sato-san, > > > > > > > > > On Mon, Feb 2, 2015 at 8:24 AM, Yoshinori Sato > > > wrote: >

Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2015-02-02 Thread Davidlohr Bueso
On Mon, 2015-02-02 at 11:13 -0800, Linus Torvalds wrote: > IOW, instead of > > m = 1UL << (BITS_PER_LONG - 2); > > perhaps something like > >m = 1UL << (BITS_PER_LONG/2- 2); >if (m < x) >m <<= BITS_PER_LONG/2; > > (assuming gcc can change that code into a "cmov") might cut dow

Re: [PATCH] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-02 Thread Yoshinori Sato
At Mon, 2 Feb 2015 22:07:50 +0100, Geert Uytterhoeven wrote: > > Hi Sato-san, > > Your second version looks fine to me, except for this part: > > On Mon, Feb 2, 2015 at 4:48 PM, Yoshinori Sato > wrote: > > --- a/arch/um/Kconfig.common > > +++ b/arch/um/Kconfig.common > > @@ -9,6 +9,7 @@ config

Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2015-02-02 Thread Davidlohr Bueso
On Mon, 2015-02-02 at 11:00 -0800, Linus Torvalds wrote: > Hmm. I don't disagree, but would like some more feedback. > > Davidlohr - you were the person to touch this function last (commit > 30493cc9dddb: "lib/int_sqrt.c: optimize square root algorithm"), and > you did so for performance reasons.

[PATCH] zram: check bd_openers instead bd_holders

2015-02-02 Thread Minchan Kim
49060] Buffer I/O error on dev zram0, logical block 180830, lost async page write [ 33.750687] Buffer I/O error on dev zram0, logical block 180831, lost async page write [ 33.752286] Buffer I/O error on dev zram0, logical block 180832, lost async page write [ 33.811590] [

Re: [PATCH] zram: check bd_openers instead bd_holders

2015-02-02 Thread Sergey Senozhatsky
On (02/03/15 13:50), Minchan Kim wrote: > Signed-off-by: Minchan Kim Acked-by: Sergey Senozhatsky > --- > drivers/block/zram/zram_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index a32069f98afa..

Re: [PATCH] lib/int_sqrt.c: Optimize square root function

2015-02-02 Thread Davidlohr Bueso
On Mon, 2015-02-02 at 20:41 -0800, Davidlohr Bueso wrote: > On Mon, 2015-02-02 at 11:13 -0800, Linus Torvalds wrote: > > IOW, instead of > > > > m = 1UL << (BITS_PER_LONG - 2); > > > > perhaps something like > > > >m = 1UL << (BITS_PER_LONG/2- 2); > >if (m < x) > >m <<= BITS_PE

linux-next: manual merge of the target-updates tree with Linus' tree

2015-02-02 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in drivers/vhost/scsi.c between commit 46243860806b ("vhost-scsi: Add missing virtio-scsi -> TCM attribute conversion") from Linus' tree and commit 2936f1d4f3e8 ("vhost/scsi: Global tcm_vhost -> vhost_scsi rename") fro

[PATCH v2 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-02 Thread Jaewon Kim
This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones Signed-off-by: Jaewon Kim Signed-off-by: Beomho Seo --- drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile

[PATCH v2 5/6] regulator: max77843: Add max77843 regulator driver

2015-02-02 Thread Jaewon Kim
This patch adds new regulator driver to support max77843 MFD(Multi Function Device) chip`s regulators. The Max77843 has two voltage regulators for USB safeout. Cc: Mark Brown Signed-off-by: Jaewon Kim Signed-off-by: Beomho Seo --- drivers/regulator/Kconfig|8 ++ drivers/regulator/Makef

[PATCH v2 2/6] extcon: max77843: Add max77843 MUIC driver

2015-02-02 Thread Jaewon Kim
This patch adds MAX77843 extcon driver to support for MUIC(Micro USB Interface Controller) device by using EXTCON subsystem to handle various external connectors. Cc: Chanwoo Choi Signed-off-by: Jaewon Kim --- drivers/extcon/Kconfig | 10 + drivers/extcon/Makefile |1 +

[PATCH v2 6/6] Documentation: Add device tree bindings document for max77843

2015-02-02 Thread Jaewon Kim
Add document describing device tree bindings for max77843 MFD. Drivers: MFD core, regulator, extcon, charger and fuelgauge. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Lee Jones Cc: Chanwoo Choi Cc: Sebastian Reichel Cc: Mark Brown Signed-off-by: Ja

[PATCH v2 0/6] Add new MFD driver for MAX77843

2015-02-02 Thread Jaewon Kim
This patch series adds MAX77843(Multi Function Device) driver. The MAX77843 includes MUIC(Micro USB Interface Circuit), Li+ Charger with Fuel Gauge and 2 safeout LDOs for USB device. It is interfaced to host controller using I2C. Changes in V2: MFD Core - Fix charger regmap handle and typo. MUIC

[PATCH v2 3/6] power: max77843_charger: Add Max77843 charger device driver

2015-02-02 Thread Jaewon Kim
From: Beomho Seo This patch adds device driver of max77843 charger. This driver provide initialize each charging mode(e.g. fast charge, top-off mode and constant charging mode so on.). Additionally, control charging paramters to use i2c interface. Cc: Sebastian Reichel Signed-off-by: Beomho Seo

[PATCH v2 4/6] power: max77843_battery: Add Max77843 fuel gauge device driver

2015-02-02 Thread Jaewon Kim
From: Beomho Seo This patch adds device driver of max77843 fuel gauge. The driver support for battery fuel gauge in Maxim Max77843. It is fuel-gauge systems for lithuum-ion batteries in handled and portable devices. Cc: Sebastian Reichel Signed-off-by: Beomho Seo --- drivers/power/Kconfig

linux-next: manual merge of the clk tree with the arm-soc tree

2015-02-02 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-omap2/io.c between commit c27964b5d2f3 ("ARM: OMAP2+: Fix ti81xx class type") from the arm-soc tree and commit eded36fe29e1 ("ARM: OMAP3: use clock data from TI clock driver for legacy boot") from the clk tree. I fi

linux-next: manual merge of the clk tree with the arm-soc tree

2015-02-02 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/mach-omap2/cclock3xxx_data.c between commit ca662ee7b8a8 ("ARM: OMAP2+: Remove unused ti81xx platform init code") from the arm-soc tree and commit d6540b193719 ("ARM: OMAP3: remove legacy clock data") from the clk tree.

[PATCH 3/5] powerpc: Remove arch specific byteswappers from the MXC MMC driver

2015-02-02 Thread David Gibson
When the MXC MMUC driver is used on a Freescale MPC512x machine, it contains some additional byteswapping code (I'm assuming this is a workaround for a hardware defect). This uses the ppc specific st_le32() function, but there's no reason not to use the generic swab32() function instead. gcc is c

[PATCH 2/5] powerpc: Remove powerpc specific byteswap from bt8xx DVB driver

2015-02-02 Thread David Gibson
The bt8xx PCI DVB driver includes a powerpc specific hack, using one of the powerpc specific byteswapping functions in an IO helper macro. There's no reason to use the powerpc specific function instead of a generic byteswap, so this patch removes it. I'm not sure if the powerpc specific memory ba

[PATCH 5/5] powerpc: Remove unused st_le*() and ld_le* functions

2015-02-02 Thread David Gibson
The powerpc specific st_le*() and ld_le*() functions in arch/powerpc/asm/swab.h no longer have any users. They are also misleadingly named, since they always byteswap, even on a little-endian host. This patch removes them. Signed-off-by: David Gibson --- arch/powerpc/include/asm/swab.h | 26 --

[PATCH 0/5] powerpc: Get rid of redundant arch specific swab functions

2015-02-02 Thread David Gibson
arch/powerpc/include/asm/swab.h includes some powerpc specific byteswapping functions, which are implemented in terms of powerpc's built in byte reversed load/store instructions. There are two problems with this: 1) They're not necessary - gcc is perfectly capable of generating the byte-rever

[PATCH 1/5] powerpc: Move Power Macintosh drivers to generic byteswappers

2015-02-02 Thread David Gibson
ppc has special instruction forms to efficiently load and store values in non-native endianness. These can be accessed via the arch-specific {ld,st}_le{16,32}() inlines in arch/powerpc/include/asm/swab.h. However, gcc is perfectly capable of generating the byte-reversing load/store instructions w

<    3   4   5   6   7   8   9   >