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,

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

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

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

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

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

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

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

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

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

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,

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

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(); >

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(); >

[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

[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

[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

[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

[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

[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

[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

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

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

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

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

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

[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

[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

[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(+)

[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

[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

[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

[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

[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

[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

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

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

[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

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

[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

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

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

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

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

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

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

[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

[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

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

[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

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

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

[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

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

[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

[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

[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

[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

[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

[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

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

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

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

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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

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

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 deletions

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

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

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

  1   2   3   4   5   6   7   8   9   10   >