[PATCH v2 1/3] mfd: mt6397: irq domain should initialize before mfd_add_devices()

2016-04-07 Thread Henry Chen
Some sub driver like RTC module need irq domain from parent to create irq mapping when driver initialize. so move mt6397_irq_init() before mfd_add_devices(). Acked-by: John Crispin Signed-off-by: Henry Chen --- This series fixed the below warning based on "Linux kernel v4.6-rc1" WARNING: CPU: 1

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-07 Thread Laurent Vivier
On 08/04/2016 08:23, Thomas Huth wrote: > On 22.03.2016 15:53, Laurent Vivier wrote: >> Until now, when we connect gdb to the QEMU gdb-server, the >> single-step mode is not managed. >> >> This patch adds this, only for kvm-pr: >> >> If KVM_GUESTDBG_SINGLESTEP is set, we enable single-step trace

Re: [PATCH] Revert "ARM: dts: porter: Enable SCIF_CLK frequency and pins"

2016-04-07 Thread Simon Horman
On Wed, Apr 06, 2016 at 09:32:06PM +0200, Sjoerd Simons wrote: > This reverts commit 19417bd9c5112f58ea63e97ba72edabd5e1cc0fe as > according to > http://elinux.org/File:R-CarM2-KOELSCH_PORTER-B_PORTER_C_Comparison.pdf > the external oscilator for SCIF_CLK is not mounted on the porter boards. > > S

Re: [PATCH 0/2] perf probe fixes for ppc64le

2016-04-07 Thread Balbir Singh
On Thu, 2016-04-07 at 14:56 +0530, Naveen N. Rao wrote: > On 2016/04/07 06:19PM, Balbir Singh wrote: > >  > >  > > On 06/04/16 22:32, Naveen N. Rao wrote: > > >  > > > This patchset fixes three issues found with perf probe on ppc64le: > > > 1. 'perf test kallsyms' failure on ppc64le (reported by Mi

Re: [PATCH v4 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-07 Thread Luis R. Rodriguez
On Thu, Apr 7, 2016 at 11:38 PM, Juergen Gross wrote: > On 08/04/16 08:29, Luis R. Rodriguez wrote: >> On Thu, Apr 7, 2016 at 10:18 PM, Juergen Gross wrote: >>> On 08/04/16 02:32, Luis R. Rodriguez wrote: This highlights a semantic gap issue. From a quick cursory review, I think we can

Re: [PATCH] ion: scatterlist offset not used for buffer map

2016-04-07 Thread John Einar Reitan
On Thu, Apr 07, 2016 at 12:37:50PM -0700, Laura Abbott wrote: > On 04/07/2016 04:29 AM, John Einar Reitan wrote: > > ion's default user/kernel page mapping code don't honor the offset > > option for scatterlists. It uses sg_page and expect the whole page to be > > mapped, while the offset could dic

Re: [PATCH 2/2] pci, acpi: free IO resource during shutdown

2016-04-07 Thread Tomasz Nowicki
Hi Sinan, On 08.04.2016 05:40, Sinan Kaya wrote: Hi Tomasz, On 4/7/2016 5:41 PM, Bjorn Helgaas wrote: You say this is undoing the effect of pci_remap_iospace(), but that's only called by native drivers and the generic (OF) driver, not by pci_root.c. See the ACPI root bridge driver above. I

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-07 Thread Mike Galbraith
On Fri, 2016-04-08 at 08:45 +0200, Peter Zijlstra wrote: > Cute, I thought you used governor=performance for your runs? I do, and those numbers are with it thus set. -Mike

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-07 Thread Peter Zijlstra
On Fri, Apr 08, 2016 at 07:20:54AM +0200, Mike Galbraith wrote: > Greetings, > > While measuring current NO_HZ cost to light tasks jabbering cross core > at high frequency (~7% max), I noticed that master lost an improvement > for same acquired in 4.5, so bisected it. > > 4.5.0 > homer:~ # taskse

[PATCH] powerpc: introduce {cmp}xchg for u8 and u16

2016-04-07 Thread Pan Xinhui
From: pan xinhui Implement xchg{u8,u16}{local,relaxed}, and cmpxchg{u8,u16}{,local,acquire,relaxed}. Atomic operation on 8-bit and 16-bit data type is supported from power7 Signed-off-by: pan xinhui --- arch/powerpc/include/asm/cmpxchg.h | 265 + 1 file cha

Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu critical sections

2016-04-07 Thread Peter Zijlstra
On Thu, Apr 07, 2016 at 09:43:33AM -0700, Andy Lutomirski wrote: > enter the critical section: > 1: > movq %[cpu], %%r12 > movq {address of counter for our cpu}, %%r13 > movq {some fresh value}, (%%r13) > cmpq %[cpu], %%r12 > jne 1b This is inherently racy; your forgot the detail of 'some fresh va

Re: [PATCH v4 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-07 Thread Juergen Gross
On 08/04/16 08:29, Luis R. Rodriguez wrote: > On Thu, Apr 7, 2016 at 10:18 PM, Juergen Gross wrote: >> On 08/04/16 02:32, Luis R. Rodriguez wrote: >>> This highlights a semantic gap issue. From a quick cursory review, I think >>> we can address this temporarily by just using a check: >>> >>> void

Re: [PATCH RT 4/6] rt/locking: Reenable migration accross schedule

2016-04-07 Thread Mike Galbraith
On Thu, 2016-04-07 at 18:47 +0200, Sebastian Andrzej Siewior wrote: > > If that lock dies, we can unpin when entering lock slow path and pin > > again post acquisition with no ABBA worries as well, and not only does > > existing hotplug work heaping truckloads better, -rt can perhaps help > > spot

[PATCH] perf build: Fix syscall table dependency error

2016-04-07 Thread Wang Nan
Commit 42abeef7e8df ("perf tools: Build syscall table .c header from kernel's syscall_64.tbl") introduces archheaders dependency. It is added to 'prepare', but not added directly to libperf-in.o, causes following error: $ make -C ./tools/perf/ O=/tmp/x/ /tmp/x/libperf-in.o JOBS=1 make: E

[PATCH] drivers/tty: fix BUG_ON when calls serial8250_suspend_port

2016-04-07 Thread Yang Yingliang
My kthread calls serial8250_suspend_port/serial8250_resume_port when the system is booting, it triggers a BUG_ON: BUG: failure at drivers/tty/serial/8250/8250_core.c:1852/serial_unlink_irq_chain()! Kernel panic - not syncing: BUG! CPU: 21 PID: 927 Comm: uart_debug_thre Not tainted 4.1.18+ #96 Cal

Re: [PATCH v11 44/60] PCI: Add alt_size ressource allocation support

2016-04-07 Thread Benjamin Herrenschmidt
On Thu, 2016-04-07 at 17:56 -0700, Linus Torvalds wrote: > Maybe the kernel should just accept the smaller alignment. If the > minimum alignment we use is bigger than necessary, then we're just > wrong about it, and perhaps we should just use the smaller alignment > that the bios used. > > So inst

Re: [PATCH v4 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-07 Thread Luis R. Rodriguez
On Thu, Apr 7, 2016 at 10:18 PM, Juergen Gross wrote: > On 08/04/16 02:32, Luis R. Rodriguez wrote: >> On Thu, Apr 07, 2016 at 08:55:54AM -0400, Boris Ostrovsky wrote: >>> On 04/06/2016 08:06 PM, Luis R. Rodriguez wrote: We have 4 types of x86 platforms that disable RTC: * Intel M

Re: Nouveau crashes in 4.6-rc on arm64

2016-04-07 Thread Ilia Mirkin
On Fri, Apr 8, 2016 at 12:47 AM, Alexandre Courbot wrote: > Hi Robin, > > On 04/07/2016 08:50 PM, Robin Murphy wrote: >> >> Hello, >> >> With 4.6-rc2 (and -rc1) I'm seeing Nouveau blowing up at boot, from the >> look of it by dereferencing some offset from NULL inside >> nouveau_fbcon_imageblit().

Re: [PATCH 08/11] ia64, rwsem: provide __down_write_killable

2016-04-07 Thread Michal Hocko
On Thu 07-04-16 20:28:16, Sergei Shtylyov wrote: > Hello. > > On 04/07/2016 06:12 PM, Michal Hocko wrote: > > >From: Michal Hocko > > > >Introduce ___down_write for the fast path and reuse it for __down_write > >resp. __down_write_killable each using the respective generic slow path > >(rwsem_do

Re: [PATCH] kvm-pr: manage single-step mode

2016-04-07 Thread Thomas Huth
On 22.03.2016 15:53, Laurent Vivier wrote: > Until now, when we connect gdb to the QEMU gdb-server, the > single-step mode is not managed. > > This patch adds this, only for kvm-pr: > > If KVM_GUESTDBG_SINGLESTEP is set, we enable single-step trace bit in the > MSR (MSR_SE) just before the __kvmp

Re: [PATCH] cpufreq: Call cpufreq_disable_fast_switch() in sugov_exit()

2016-04-07 Thread Viresh Kumar
On 07-04-16, 23:38, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Due to differences in the cpufreq core's handling of runtime CPU > offline and nonboot CPUs disabling during system suspend-to-RAM, > fast frequency switching gets disabled after a suspend-to-RAM and > resume cycle on all

Re: [PATCH] cpu/hotplug: fix rollback during error-out in __cpu_disable()

2016-04-07 Thread Heiko Carstens
On Thu, Apr 07, 2016 at 05:14:00PM +0200, Sebastian Andrzej Siewior wrote: > On 04/06/2016 09:51 PM, Heiko Carstens wrote: > > This fixes the issue that a second cpu_down() will take forever, if > > __cpu_disable() fails. > > Yes. But even without the second take down your CPU isn't complete up. >

Re: [PATCH RFC] sched/fair: let cpu's cfs_rq to reflect task migration

2016-04-07 Thread Vincent Guittot
On 7 April 2016 at 22:30, Dietmar Eggemann wrote: > Hi Vincent, > > On 04/07/2016 02:04 PM, Vincent Guittot wrote: >> >> Hi Dietmar, >> >> On 6 April 2016 at 20:53, Dietmar Eggemann >> wrote: >>> >>> On 06/04/16 09:37, Morten Rasmussen wrote: On Tue, Apr 05, 2016 at 06:00:40PM +0100, D

[RESEND PATCH v2 3/5] security: Introduce security_settime64()

2016-04-07 Thread Baolin Wang
security_settime() uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces the security_settime64() function with timespec64 type. We also convert the cap_settime() helper function to use the 64bit types. Move the security_settime() to the head file as a inline fu

[RESEND PATCH v2 4/5] time: Introduce do_sys_settimeofday64()

2016-04-07 Thread Baolin Wang
The do_sys_settimeofday() function uses a timespec, which is not year 2038 safe on 32bit systems. Thus this patch introduces do_sys_settimeofday64(), which allows us to transition users of do_sys_settimeofday() to using 64bit time types. Signed-off-by: Baolin Wang --- include/linux/timekeeping.

Re: [PATCH v11 44/60] PCI: Add alt_size ressource allocation support

2016-04-07 Thread Yinghai Lu
On Thu, Apr 7, 2016 at 5:56 PM, Linus Torvalds wrote: > I'm not excited about the whole "alternate aligment". > > Maybe the kernel should just accept the smaller alignment. If the > minimum alignment we use is bigger than necessary, then we're just > wrong about it, and perhaps we should just use

Re: [PATCH v11 3/3] printk: make printk.synchronous param rw

2016-04-07 Thread Pan Xinhui
On 2016年04月08日 13:29, Sergey Senozhatsky wrote: > On (04/08/16 12:04), Pan Xinhui wrote: > [..] >>> +/* >>> + * Init async printk via late_initcall, after core/arch/device/etc. >>> + * initialization. >>> + */ >>> +static __init int init_printk_kthread(void) >>> +{ >>> + printk_initcall_done =

Re: [PATCH] cpufreq: Skip all governor-related actions for cpufreq_suspended set

2016-04-07 Thread Viresh Kumar
On 07-04-16, 03:29, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since governor operations are generally skipped if cpufreq_suspended > is set, do nothing at all in cpufreq_start_governor() and > cpufreq_exit_governor() in that case. > > In particular, this prevents fast frequency swit

Re: [PATCH] cpufreq: Skip all governor-related actions for cpufreq_suspended set

2016-04-07 Thread Viresh Kumar
On 08-04-16, 00:05, Rafael J. Wysocki wrote: > On Thursday, April 07, 2016 05:35:03 PM Viresh Kumar wrote: > > That's *ugly* and it works by chance, unless I am misreading it > > completely. > > I'm assuming that what you mean by "ugly" here is "not really > straightforward", > which I agree wit

Re: [PATCH v2 2/2] usb: musb: pic32: Add USB DRC driver for PIC32 OTG controller.

2016-04-07 Thread Felipe Balbi
Hi, Purna Chandra Mandal writes: >> Purna Chandra Mandal writes: >>> From: Cristian Birsan >>> >>> This driver adds support of PIC32 MUSB OTG controller as >>> dual role device. It implements platform specific glue to >>> reuse musb core. >>> >>> Signed-off-by: Cristian Birsan >>> Signed-off-

Re: [PATCH RFC 1/2] scatterlist: add mempool based chained SG alloc/free api

2016-04-07 Thread Ming Lin
On Thu, Apr 7, 2016 at 9:43 AM, Ming Lin wrote: > On Thu, Apr 7, 2016 at 7:56 AM, Bart Van Assche > wrote: >> On 03/15/16 15:39, Ming Lin wrote: >>> >>> +static void sg_mempoll_free(struct scatterlist *sgl, unsigned int nents) >> >> >> Please change mempoll into mempool. > > Good catch. Thanks Ba

Re: [PATCH] mtd: nand: s3c2410: fix bug in s3c2410_nand_correct_data()

2016-04-07 Thread Zeng Zhaoxiu
在 2016年04月08日 10:18, Boris Brezillon 写道: On Fri, 8 Apr 2016 09:51:04 +0800 Zeng Zhaoxiu wrote: 在 2016年04月08日 08:18, Boris Brezillon 写道: Hi Zeng, On Fri, 8 Apr 2016 00:48:17 +0800 zengzhao...@163.com wrote: From: Zeng Zhaoxiu If there is only one bit difference in the ECC, the function

[PATCH] staging: wilc1000: move initialization of the config values

2016-04-07 Thread Alison Schofield
Move the initialization of the config values so that an uninit'd mutex is not exposed and to simplify the initialization process. The code was allocating a structure with a lock, initializing and taking the lock, setting some values, and then releasing the lock. If no other thread can get it, the

Re: [PATCH v11 3/3] printk: make printk.synchronous param rw

2016-04-07 Thread Sergey Senozhatsky
On (04/08/16 12:04), Pan Xinhui wrote: [..] > > +/* > > + * Init async printk via late_initcall, after core/arch/device/etc. > > + * initialization. > > + */ > > +static __init int init_printk_kthread(void) > > +{ > > + printk_initcall_done = true; > > + return __init_printk_kthread(); > hello,

[PATCH net] tuntap: restore default qdisc

2016-04-07 Thread Jason Wang
After commit f84bb1eac027 ("net: fix IFF_NO_QUEUE for drivers using alloc_netdev"), default qdisc was changed to noqueue because tuntap does not set tx_queue_len during .setup(). This patch restores default qdisc by setting tx_queue_len in tun_setup(). Fixes: f84bb1eac027 ("net: fix IFF_NO_QUEUE f

[PATCH] mmc: sdhci-pic32: remove owner assignment

2016-04-07 Thread Masahiro Yamada
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Masahiro Yamada --- drivers/mmc/host/sdhci-pic32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pic32.c b/drivers/mmc/host/sdhci-pic32.c index 059df70..72c13b6 1

[regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-07 Thread Mike Galbraith
Greetings, While measuring current NO_HZ cost to light tasks jabbering cross core at high frequency (~7% max), I noticed that master lost an improvement for same acquired in 4.5, so bisected it. 4.5.0 homer:~ # taskset 0xc pipe-test 1 2.367681 usecs/loop -- avg 2.367681 844.7 KHz 2.372502 usecs/l

[PATCH] mm fix commmets: If SPARSEMEM, pgdata doesn't have page_ext

2016-04-07 Thread Weijie Yang
If SPARSEMEM, use page_ext in mem_section if !SPARSEMEM, use page_ext in pgdata Signed-off-by: Weijie Yang --- include/linux/mmzone.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index c60df92..43c412c 100644 --- a/include/li

Re: [PATCH v4 04/14] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-07 Thread Juergen Gross
On 08/04/16 02:32, Luis R. Rodriguez wrote: > On Thu, Apr 07, 2016 at 08:55:54AM -0400, Boris Ostrovsky wrote: >> On 04/06/2016 08:06 PM, Luis R. Rodriguez wrote: >>> We have 4 types of x86 platforms that disable RTC: >>> >>> * Intel MID >>> * Lguest - uses paravirt >>> * Xen dom-U - uses par

Re: [PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-04-07 Thread Pratyush Anand
Hi Li, On 07/04/2016:07:34:37 PM, Li Bin wrote: > Hi Pratyush, > > on 2016/4/4 13:17, Pratyush Anand wrote: > > Hi Li, > > > > On 31/03/2016:08:45:05 PM, Li Bin wrote: > >> Hi Pratyush, > >> > >> on 2016/3/21 18:24, Pratyush Anand wrote: > >>> On 21/03/2016:08:37:50 AM, He Kuang wrote: > On

[PATCH 7/7] ARM: dts: Add support of Bus frequency using VDD_INT for exynos5422-odroidxu3

2016-04-07 Thread Chanwoo Choi
This patch adds the bus device tree nodes for INT (Internal) block to enable the AMBA bus frequency scaling and add the NoC (Network on Chip) Probe Device Tree node to measure the bandwidht for AMBA AXI bus. The WCORE bus bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Cho

[PATCH 3/7] ARM: dts: Add NoC Probe dt node for Exynos542x SoC

2016-04-07 Thread Chanwoo Choi
This patch adds the NoCP (Network on Chip Probe) Device Tree node to measure the bandwidth of memory and g3d in Exynos542x SoC. Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/exynos5420.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boo

[PATCH 1/7] PM / devfreq: event: Add new Exynos NoC probe driver

2016-04-07 Thread Chanwoo Choi
This patch adds NoC (Network on Chip) Probe driver which provides the primitive values to get the performance data. The packets that the Network on Chip (NoC) probes detects are transported over the network infrastructure. Exynos542x bus has multiple NoC probes to provide bandwidth information abou

[PATCH 2/7] PM / devfreq: exynos: Add the detailed correlation for Exynos5422 bus

2016-04-07 Thread Chanwoo Choi
This patch adds the detailed corrleation between sub-blocks and power line for Exynos5422. Signed-off-by: Chanwoo Choi --- .../devicetree/bindings/devfreq/exynos-bus.txt| 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/devfreq/exyn

[PATCH 4/7] dt-bindings: clock: Add the clock id for ACLK clock of Exynos542x SoC

2016-04-07 Thread Chanwoo Choi
This patch adds the clock id for ACLK clock of Exynos542x SoC. ACLK clock mean the source clock of AMBA AXI bus. This clock id should be used for Bus frequency scaling. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- include/dt-bindings/clock/exynos5420.h | 24 ++

[PATCH 6/7] ARM: dts: Add bus nodes using VDD_INT for Exynos542x SoC

2016-04-07 Thread Chanwoo Choi
This patch adds the AMBA bus nodes using VDD_INT for Exynos542x SoC. Exynos542x has the following AMBA buses to translate data between DRAM and sub-blocks. Following list specifies the detailed correlation between sub-block and clock: - CLK_DOUT_ACLK400_WCORE clock for WCORE's AXI - CLK_DOUT_ACLK1

[PATCH 5/7] clk: samsung: exynos542x: Add the clock id for ACLK

2016-04-07 Thread Chanwoo Choi
This patch adds the clock id for ACLK clock which is source clock of AMBA AXI Bus. This clock should be handled in Bus frequency scaling driver. Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos5420.c | 85 +++- 1 file changed, 55 insertions(+), 30 de

[PATCH 0/7] PM / devfreq: Add NoCP devfreq-event and support busfreq on exyno5422-odroidxu3

2016-04-07 Thread Chanwoo Choi
This patchset support the AMBA bus frequency scaling on Exynos5422-based Odroid-XU3 board. But, this series only support the bus frequency scaling for INT (Internal) block using VDD_INT power line. Also, to support the bus frequency scaling for Exynos542x SoC, Exynos542x SoC has the specific 'NoC

Re: [PATCH] clocksource: use clocksource_freq2mult() helper

2016-04-07 Thread John Stultz
On Wed, Mar 16, 2016 at 3:21 AM, Alexander Kuleshov wrote: > which is introduced in the 7aca0c072 commit to simplify calculation of > the mult and shift in the clocks_calc_mult_shift(). > > Signed-off-by: Alexander Kuleshov > --- > kernel/time/clocksource.c | 4 +--- > 1 file changed, 1 insertio

Re: [PATCH] [linux-next]:ALSA: Fix a typo in timestamping.txt

2016-04-07 Thread Takashi Iwai
On Fri, 08 Apr 2016 05:45:25 +0200, Masanari Iida wrote: > > This patch fix a spelling typo found in > Documentation/sound/alsa/timestamping.txt > > Signed-off-by: Masanari Iida Applied, thanks. Takashi > --- > Documentation/sound/alsa/timestamping.txt | 2 +- > 1 file changed, 1 insertion(

Re: Nouveau crashes in 4.6-rc on arm64

2016-04-07 Thread Alexandre Courbot
Hi Robin, On 04/07/2016 08:50 PM, Robin Murphy wrote: Hello, With 4.6-rc2 (and -rc1) I'm seeing Nouveau blowing up at boot, from the look of it by dereferencing some offset from NULL inside nouveau_fbcon_imageblit(). My setup is an old XFX 7600GT card plugged into an ARM Juno r1 board, which wo

[PATCH v8 04/20] PM / devfreq: Add new DEVFREQ_TRANSITION_NOTIFIER notifier

2016-04-07 Thread Chanwoo Choi
This patch adds the new DEVFREQ_TRANSITION_NOTIFIER notifier to send the notification when the frequency of device is changed. This notifier has two state as following: - DEVFREQ_PRECHANGE : Notify it before chaning the frequency of device - DEVFREQ_POSTCHANGE : Notify it after changed the frequen

[PATCH v8 13/20] ARM: dts: Add bus nodes using VDD_INT for Exynos3250

2016-04-07 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos3250 SoC. Exynos3250 has following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK400 clock for MCUISP - ACLK266 clock for ISP - ACLK200 clock for FSYS

[PATCH v8 08/20] PM / devfreq: exynos: Add the detailed correlation between sub-blocks and power line

2016-04-07 Thread Chanwoo Choi
This patch adds the detailed corrleation between sub-blocks and power line for Exynos3250, Exynos4210 and Exynos4x12. Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 51 ++ 1 file changed, 51 insertions(+) diff --g

[PATCH v8 06/20] PM / devfreq: exynos: Add support of bus frequency of sub-blocks using passive governor

2016-04-07 Thread Chanwoo Choi
This patch adds the support of bus frequency feature for sub-blocks which share the one power line. If each bus depends on the power line, each bus is not able to change the voltage by oneself. To optimize the power-consumption on runtime, some buses using the same power line should change the sour

[PATCH v8 09/20] PM / devfreq: exynos: Remove unused exynos4/5 busfreq driver

2016-04-07 Thread Chanwoo Choi
This patch removes the unused exynos4/5 busfreq driver. Instead, generic exynos-bus frequency driver support the all Exynos SoCs. Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- drivers/devfreq/Kconfig | 22 - drivers/devfreq/Makefile |2 - drivers/dev

[PATCH v8 05/20] PM / devfreq: Add new passive governor

2016-04-07 Thread Chanwoo Choi
This patch adds the new passive governor for DEVFREQ framework. The following governors are already present and used for DVFS (Dynamic Voltage and Frequency Scaling) drivers. The following governors are independently used for one device driver which don't give the influence to other device drviers

[PATCH v8 15/20] ARM: dts: Add bus nodes using VDD_INT for Exynos4x12

2016-04-07 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_INT for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - ACLK100 clock for PERIL/PERIR/MFC(PCLK) - ACLK160 clock for CAM/TV/LCD

[PATCH v8 11/20] ARM: dts: Add DMC bus node for Exynos3250

2016-04-07 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus node for Exynos3250 SoC. The DMC is an AMBA AXI-compliant slave to interface external JEDEC standard SDRAM devices. The bus includes the OPP tables and the source clock for DMC block. Following list specifies the detailed relation between the

[PATCH v8 01/20] PM / devfreq: exynos: Add generic exynos bus frequency driver

2016-04-07 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for AMBA AXI bus of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC have the common architecture for bus between DRAM and sub-blocks in SoC. This driver can support the generic bus frequency driver for Exynos SoCs. In

[PATCH v8 20/20] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2016-04-07 Thread Chanwoo Choi
THis patch adds the bus device tree nodes for both MIF (Memory) and INT (Internal) block to enable the bus frequency. The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS bus is parent device in INT block using VDD_INT. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlow

[PATCH v8 14/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4x12

2016-04-07 Thread Chanwoo Choi
This patch adds the bus nodes using VDD_MIF for Exynos4x12 SoC. Exynos4x12 has the following AXI buses to translate data between DRAM and DMC/ACP/C2C. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board] Tested-by: Markus

[PATCH v8 02/20] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2016-04-07 Thread Chanwoo Choi
This patch adds the documentation for generic exynos bus frequency driver. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski Signed-off-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 95 ++ 1 file changed, 95 insertions(+) create mode

[PATCH v8 16/20] ARM: dts: Add bus nodes using VDD_MIF for Exynos4210

2016-04-07 Thread Chanwoo Choi
This patch adds the bus nodes for Exynos4210 SoC. Exynos4210 SoC has one power line for all buses to translate data between DRAM and sub-blocks. Following list specifies the detailed relation between DRAM and sub-blocks: - DMC/ACP clock for DMC (Dynamic Memory Controller) - ACLK200 clock for LCD0

[PATCH v8 00/20] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2016-04-07 Thread Chanwoo Choi
This patch-set includes the two features as following. The generic exynos bus frequency driver is able to support almost Exynos SoCs for bus frequency scaling. And the new passive governor is able to make the dependency on between devices for frequency/voltage scaling. I had posted the patch-set[1]

[PATCH v8 18/20] ARM: dts: Add support of bus frequency using VDD_INT for exynos3250-rinato

2016-04-07 Thread Chanwoo Choi
This patch adds the bus device-tree nodes of INT (internal) block to enable the bus frequency scaling. The following sub-blocks share the VDD_INT power source: - LEFTBUS (parent device) - RIGHTBUS - PERIL - LCD0 - FSYS - MCUISP / ISP - MFC The LEFTBUS is parent device with devfreq ondemand governo

[PATCH v8 12/20] ARM: dts: Add DMC bus frequency for exynos3250-rinato/monk

2016-04-07 Thread Chanwoo Choi
This patch adds the DMC (Dynamic Memory Controller) bus frequency node which includes the devfreq-events and regulator properties. The bus frequency support the DVFS (Dynamic Voltage Frequency Scaling) feature with ondemand governor. The devfreq-events (ppmu_dmc0*) can monitor the utilization of D

[PATCH v8 17/20] ARM: dts: Add exynos4412-ppmu-common dtsi to delete duplicate PPMU nodes

2016-04-07 Thread Chanwoo Choi
This patch adds the exynos4412-ppmu-common.dtsi to remove duplicate PPMU nodes because exynos3250-rinato/monk, exynos4412-trats2/odroidu3 has the same PPMU device tree node. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 b

[PATCH v8 07/20] PM / devfreq: exynos: Update documentation for bus devices using passive governor

2016-04-07 Thread Chanwoo Choi
This patch updates the documentation for passive bus devices and adds the detailed example of Exynos3250. Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 250 - 1 file changed, 247 insertions(+), 3 deletions(-) dif

[PATCH v8 10/20] MAINTAINERS: Add samsung bus frequency driver entry

2016-04-07 Thread Chanwoo Choi
This patch adds the 'BUS FREQUENCY DRIVER FOR SAMSUNG EXYNOS' entry to review the patches as maintainer. I can access the all datasheet of Exynos SoC and test it on some Exynos-based board. Patches will be picked up by DEVFREQ maintainer on devfreq git repository. Signed-off-by: Chanwoo Choi ---

[PATCH v8 03/20] PM / devfreq: Add devfreq_get_devfreq_by_phandle()

2016-04-07 Thread Chanwoo Choi
This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function which can find the instance of devfreq device by using phandle ("devfreq"). Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham [m.reichl and linux.amoon: Tested it on exynos4412-odroidu3 board] Tested-by: Markus Rei

[PATCH v8 19/20] ARM: dts: Expand the voltage range of buck1/3 regulator for exynos4412-odroidu3

2016-04-07 Thread Chanwoo Choi
This patch expands the voltage range of buck1/3 regulator due to as following: - MIF (Memory Interface) bus frequency needs the range of '900 - 1100 mV'. - INT (Internal) bus frequency needs the range of '900 - 1050 mV'. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski [m.reichl and

linux-next: Tree for Apr 8

2016-04-07 Thread Stephen Rothwell
Hi all, Changes since 20160407: The akpm-current tree still had its build failure for which I applied a patch. Non-merge commits (relative to Linus' tree): 3002 2806 files changed, 114490 insertions(+), 69528 dele

Re: [PATCH v11 3/3] printk: make printk.synchronous param rw

2016-04-07 Thread Pan Xinhui
On 2016年04月08日 01:31, Sergey Senozhatsky wrote: > Change `synchronous' printk param to be RW, so user space > can change printk mode back and forth to/from sync mode > (which is considered to be more reliable). > > Signed-off-by: Sergey Senozhatsky > --- > kernel/printk/printk.c | 63 > ++

Re: [PATCH 1/2] regulator: s2mps11: Use module_platform_driver() instead subsys initcall

2016-04-07 Thread Krzysztof Kozlowski
On Thu, Apr 07, 2016 at 02:16:29PM -0400, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 04/07/2016 08:30 AM, Krzysztof Kozlowski wrote: > > On Wed, Apr 06, 2016 at 09:49:46AM -0400, Javier Martinez Canillas wrote: > >> The driver's init and exit function don't do anything besides regis

Re: [PATCH 1/2] mfd: max77693: Allow building as a module

2016-04-07 Thread Krzysztof Kozlowski
On Thu, Apr 07, 2016 at 02:29:47PM +0100, Lee Jones wrote: > On Mon, 04 Apr 2016, Krzysztof Kozlowski wrote: > > > The consumer of max77693 regulators on Trats2 board (samsung-usb2-phy > > driver) supports deferred probing so the max77693 main MFD driver can be > > built now as a module. This give

[PATCH] [linux-next]:ALSA: Fix a typo in timestamping.txt

2016-04-07 Thread Masanari Iida
This patch fix a spelling typo found in Documentation/sound/alsa/timestamping.txt Signed-off-by: Masanari Iida --- Documentation/sound/alsa/timestamping.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sound/alsa/timestamping.txt b/Documentation/sound/alsa/t

Re: [PATCH 2/2] pci, acpi: free IO resource during shutdown

2016-04-07 Thread Sinan Kaya
Hi Tomasz, On 4/7/2016 5:41 PM, Bjorn Helgaas wrote: >>> You say this is undoing the effect of pci_remap_iospace(), but that's >>> > > only called by native drivers and the generic (OF) driver, not by >>> > > pci_root.c. >> > >> > See the ACPI root bridge driver above. > If this is a fix to patch

Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl

2016-04-07 Thread Wangnan (F)
On 2016/4/8 4:58, Arnaldo Carvalho de Melo wrote: From: Arnaldo Carvalho de Melo We used libaudit to map ids to syscall names and vice-versa, but that imposes a delay in supporting new syscalls, having to wait for libaudit to get those new syscalls on its tables. To remove that delay, for x8

Re: [PATCHSET RFC cgroup/for-4.6] cgroup, sched: implement resource group and PRIO_RGRP

2016-04-07 Thread Mike Galbraith
On Thu, 2016-04-07 at 16:23 -0400, Johannes Weiner wrote: > Mike, is that the one you referred to with one group per customer > account? If so, would you have a pointer to where you outline it? The usage I loosely outlined, I did in this thread. All of the gory details I do not have, do not want

Re: [PATCH] Fix issue with dmesg.py and python 3.X

2016-04-07 Thread Kieran Bingham
Hi Dom, I've just tested your patch quickly, and it generates an error on Python 2.7 On 05/04/16 19:38, Dom Cote wrote: > When using GDB built with python 2.7, > > Inferior.read_memory (address, length) > > returns a buffer object. When using GDB built with python 3.X, > it returns a memoryvie

Re: [PATCH 0/3] crypto: af_alg - add TLS type encryption

2016-04-07 Thread Tom Herbert
On Thu, Apr 7, 2016 at 11:52 PM, Herbert Xu wrote: > On Wed, Apr 06, 2016 at 10:56:12AM -0700, Tadeusz Struk wrote: >> >> The intend is to enable HW acceleration of the TLS protocol. >> The way it will work is that the user space will send a packet of data >> via AF_ALG and HW will authenticate an

Re: [PATCH 0/3] crypto: af_alg - add TLS type encryption

2016-04-07 Thread Herbert Xu
On Wed, Apr 06, 2016 at 10:56:12AM -0700, Tadeusz Struk wrote: > > The intend is to enable HW acceleration of the TLS protocol. > The way it will work is that the user space will send a packet of data > via AF_ALG and HW will authenticate and encrypt it in one go. There have been suggestions to i

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Andrew Pinski
On Thu, Apr 7, 2016 at 5:18 AM, Adam Borowski wrote: > On Wed, 6 Apr 2016, Geert Uytterhoeven wrote: >> On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov >> wrote: >>> v6: >>> - time_t, __kenel_off_t and other types turned to be 32-bit >>>for compatibility reasons (after v5 discussion); > > Intr

Re: [RFC v1] mm: SLAB freelist randomization

2016-04-07 Thread Kees Cook
On Thu, Apr 7, 2016 at 2:14 PM, Jesper Dangaard Brouer wrote: > > On Wed, 6 Apr 2016 14:45:30 -0700 Kees Cook wrote: > >> On Wed, Apr 6, 2016 at 12:35 PM, Thomas Garnier wrote: > [...] >> > re-used on slab creation for performance. >> >> I'd like to see some benchmark results for this so the Kco

[PATCH 1/2] kbuild: rename cmd_cc_i_c to cmd_cpp_i_c

2016-04-07 Thread Masahiro Yamada
This command just preprocesses .c files into .i files, so cmd_cpp_i_c seems more suitable. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 6 +++--- tools/build/Makefile.build | 8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/Makefile.build b/s

[PATCH 2/2] kbuild: rename cmd_as_s_S to cmd_cpp_s_S

2016-04-07 Thread Masahiro Yamada
This command just preprocesses .S files into .s files, so cmd_cpp_s_S seems more suitable. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 7e4df13..e65a3e9 1

Re: [PATCH] mtd: nand: s3c2410: fix bug in s3c2410_nand_correct_data()

2016-04-07 Thread Boris Brezillon
On Fri, 8 Apr 2016 09:51:04 +0800 Zeng Zhaoxiu wrote: > > > 在 2016年04月08日 08:18, Boris Brezillon 写道: > > Hi Zeng, > > > > On Fri, 8 Apr 2016 00:48:17 +0800 > > zengzhao...@163.com wrote: > > > >> From: Zeng Zhaoxiu > >> > >> If there is only one bit difference in the ECC, the function should

[PATCH] kbuild: drop redundant "PHONY += FORCE"

2016-04-07 Thread Masahiro Yamada
"PHONY += FORCE" is already cared by scripts/Makefile.build, which these files are included from. Signed-off-by: Masahiro Yamada --- Please apply the following to avoid conflicts. https://patchwork.kernel.org/patch/8572451/ arch/arm/boot/bootp/Makefile | 2 +- arch/ia64/Makefile | 2

RE: [PATCH v8 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-04-07 Thread Dexuan Cui
> From: Joe Perches [mailto:j...@perches.com] > Sent: Friday, April 8, 2016 9:15 > On Thu, 2016-04-07 at 18:36 -0700, Dexuan Cui wrote: > > diff --git a/include/net/af_hvsock.h b/include/net/af_hvsock.h > [] > > +#define VMBUS_RINGBUFFER_SIZE_HVSOCK_RECV (5 * PAGE_SIZE) > > +#define VMBUS_RINGBUFFE

Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu critical sections

2016-04-07 Thread Mathieu Desnoyers
- On Apr 7, 2016, at 9:21 PM, Andy Lutomirski l...@amacapital.net wrote: > On Thu, Apr 7, 2016 at 6:11 PM, Mathieu Desnoyers > wrote: >> - On Apr 7, 2016, at 6:05 PM, Andy Lutomirski l...@amacapital.net wrote: >> >>> On Thu, Apr 7, 2016 at 1:11 PM, Peter Zijlstra wrote: On Thu, Apr

Re: [PATCH v2] clk: let clk_disable() return immediately if clk is NULL or error

2016-04-07 Thread Masahiro Yamada
Hi Stephen, 2016-04-08 9:33 GMT+09:00 Stephen Boyd : > On 04/05, Masahiro Yamada wrote: >> The clk_disable() in the common clock framework (drivers/clk/clk.c) >> returns immediately if a given clk is NULL or an error pointer. It >> allows clock consumers to call clk_disable() without IS_ERR_OR_N

Re: [PATCH] mtd: nand: s3c2410: fix bug in s3c2410_nand_correct_data()

2016-04-07 Thread Zeng Zhaoxiu
在 2016年04月08日 08:18, Boris Brezillon 写道: Hi Zeng, On Fri, 8 Apr 2016 00:48:17 +0800 zengzhao...@163.com wrote: From: Zeng Zhaoxiu If there is only one bit difference in the ECC, the function should return 1. The result of "diff0 & ~(1< Missing Signed-off-by here. --- drivers/mtd/nand/

Re: [PATCH v1 09/12] serial: 8250_lpss: split LPSS driver to separate module

2016-04-07 Thread Peter Hurley
On 04/07/2016 01:37 PM, Andy Shevchenko wrote: > Intes SoCs, such as Braswell, have DesignWare UART. Split out to separate > module which also will be used for Intel Quark later. What's the rationale? And this really isn't a split; this patch introduces a number of significant changes from the pc

Re: [PATCH 2/2] net-ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()

2016-04-07 Thread Julian Calaby
Hi Kalle, On Sat, Jan 2, 2016 at 5:25 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 1 Jan 2016 19:09:32 +0100 > > Replace an explicit initialisation for one local variable at the beginning > by a conditional assignment. > > Signed-off-by: Markus Elfring This looks sane to me

Re: [PATCH v3 6/7] x86/cpu: Add Erratum 88 detection on AMD

2016-04-07 Thread Andy Lutomirski
On Thu, Apr 7, 2016 at 5:31 PM, Andy Lutomirski wrote: > From: Borislav Petkov > > Erratum 88 affects old AMD K8s, where a SWAPGS fails to cause an input > dependency on GS. Therefore, we need to MFENCE before it. > > But that MFENCE is expensive and unnecessary on the remaining x86 CPUs > out th

Re: x32 processes, with CONFIG_X86_X32 not set

2016-04-07 Thread Dave Jones
On Thu, Apr 07, 2016 at 05:20:50PM -0700, Andy Lutomirski wrote: > > > > I had a trinity process get stuck last overnight. > > > > The reason for it getting stuck is my bug (I think), but > > > > there's an odd unrelated thing I noticed while debugging this.. > > > > > > > > $ strace -p 2

Re: [PATCH v1 06/10] device property: switch to use UUID API

2016-04-07 Thread Huang, Ying
Andy Shevchenko writes: > On Fri, 2016-02-26 at 16:11 +0200, Andy Shevchenko wrote: >> On Thu, 2016-02-18 at 01:03 +0100, Rafael J. Wysocki wrote: >> > >> > On Wednesday, February 17, 2016 02:17:24 PM Andy Shevchenko wrote: >> > > >> > > Switch to use a generic UUID API instead of custom approa

Re: [RFC PATCH 0/3] restartable sequences v2: fast user-space percpu critical sections

2016-04-07 Thread Andy Lutomirski
On Thu, Apr 7, 2016 at 6:11 PM, Mathieu Desnoyers wrote: > - On Apr 7, 2016, at 6:05 PM, Andy Lutomirski l...@amacapital.net wrote: > >> On Thu, Apr 7, 2016 at 1:11 PM, Peter Zijlstra wrote: >>> On Thu, Apr 07, 2016 at 09:43:33AM -0700, Andy Lutomirski wrote: > [...] >>> it's inherently

[PATCH v11 50/60] PCI: Unify calculate_size() for io port and MMIO

2016-04-07 Thread Yinghai Lu
Now calculate_memsize() and calculate_iosize() is the same. Change them to calculate_size(). Signed-off-by: Yinghai Lu --- drivers/pci/setup-bus.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c ind

  1   2   3   4   5   6   7   8   9   10   >