Re: [PATCH] pinctrl: sirf: Staticize non-exported symbol

2012-11-05 Thread Barry Song
2012/11/5 Axel Lin axel@ingics.com: Staticize sirfsoc_gpio_irq_map() function. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Barry Song baohua.s...@csr.com --- drivers/pinctrl/pinctrl-sirf.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [PATCH] pinctrl: sirf: remove sirfsoc_gpio_set_pull function

2012-10-09 Thread Barry Song
/pinctrl/pinctrl-sirf.c:1338:7: error: 'SIRFSOC_GPIO_PULL_DOWN' undeclared (first use in this function) Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Barry Song baohua.s...@csr.com Cc: Linus Walleij linus.wall...@linaro.org Acked-by: Barry Song baohua.s...@csr.com diff --git a/arch/arm/mach

RE: [PATCHv5 00/11] Remove ARM local timer API

2013-04-21 Thread Barry Song
-Original Message- From: Stephen Boyd [mailto:sb...@codeaurora.org] Sent: Saturday, April 20, 2013 12:20 AM To: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org; linux-arm-...@vger.kernel.org; Mark Rutland; Marc Zyngier; Kukjin Kim; Barry Song; Daniel Walker

Re: [PATCH -next] pinctrl: sirf: using for_each_set_bit to simplify the code

2013-03-17 Thread Barry Song
2013/3/14 Linus Walleij linus.wall...@linaro.org On Mon, Mar 11, 2013 at 3:23 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using for_each_set_bit() to simplify the code. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Barry, can

Re: [PATCH] clk: prima2: fix return value check in sirfsoc_of_clk_init()

2013-03-11 Thread Barry Song
2013/3/11 Wei Yongjun weiyj...@gmail.com: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() not NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn

Re: what's the next LTSI kernel version for long-term support

2013-02-25 Thread Barry Song
2013/2/26 Greg Kroah-Hartman gre...@linuxfoundation.org: On Tue, Feb 26, 2013 at 11:06:56AM +0800, Barry Song wrote: Hi Greg/All, we have seen 3.4 was announced to be an LTSI in Aug, 2012. I'd like to know what is the next LTSI version since we might want to align our next release with LTSI

Re: what's the next LTSI kernel version for long-term support

2013-02-25 Thread Barry Song
Hi Greg, 2013/2/26 Greg Kroah-Hartman gre...@linuxfoundation.org: On Tue, Feb 26, 2013 at 11:46:04AM +0800, Barry Song wrote: 2013/2/26 Greg Kroah-Hartman gre...@linuxfoundation.org: On Tue, Feb 26, 2013 at 11:06:56AM +0800, Barry Song wrote: Hi Greg/All, we have seen 3.4 was announced

Re: [PATCH] drivers/dma/sirf-dma.c: fix usage of devm functions

2012-08-21 Thread Barry Song
2012/8/22 Vinod Koul vinod.k...@linux.intel.com: On Sat, 2012-08-04 at 10:35 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Fix some problems with the use of devm_ functions. Applied, thanks the git log drivers/dma/sirf-dma.c: fix usage of devm functions should be fixed.

Re: [PATCH] drivers/dma/sirf-dma.c: fix usage of devm functions

2012-08-21 Thread Barry Song
2012/8/22 Julia Lawall julia.law...@lip6.fr: On Wed, 22 Aug 2012, Barry Song wrote: 2012/8/22 Vinod Koul vinod.k...@linux.intel.com: On Sat, 2012-08-04 at 10:35 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Fix some problems with the use of devm_ functions. Applied

Re: [PATCH 4/13] i2c: sirf: use clk_prepare_enable and clk_disable_unprepare

2012-08-26 Thread Barry Song
); + clk_disable_unprepare(e); // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr Acked-by: Barry Song 21cn...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] drivers/dma/sirf-dma.c: fix usage of devm functions

2012-08-04 Thread Barry Song
://coccinelle.lip6.fr/) // smpl @@ expression x; @@ *x = devm_ioremap(...) ... iounmap(x); // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr Acked-by: Barry Song baohua.s...@csr.com thanks! --- Not compiled. Does free_irq actually have to be called before irq_dispose_mapping

Re: [RFC] ARM: sched_clock: update epoch_cyc on resume

2012-07-24 Thread Barry Song
or not, and sched_clock() could return a bogus value. Add a suspended flag, and return the pre-suspend epoch_ns value during this period. Acked-by: Barry Song 21cn...@gmail.com this patch should also fix the issue that: 1. launch some rt threads, rt threads sleep before suspend 2. repeat to suspend/resume 3

RE: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
Hi Baruch, Thanks! -Original Message- From: Baruch Siach [mailto:bar...@tkos.co.il] Sent: Friday, November 23, 2012 11:07 AM To: Barry Song Cc: gre...@linuxfoundation.org; DL-SHA-WorkGroupLinux; linux...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; linux-arm-ker

[RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
[0.411871] TCP: cubic registered [0.411926] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 2 [0.417897] Freeing init memory: 856K ... Signed-off-by: Barry Song barry.s...@csr.com --- Note: This is only a RFC, after we agree about the idea, i will move

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-25 Thread Barry Song
2013/7/18 Felipe Balbi ba...@ti.com: On Thu, Jul 18, 2013 at 05:28:19PM +0800, Rong Wang wrote: Hi Felipe, Thanks, I'll test the patch. But sysfs_notify(gadget-dev.kobj, NULL, status), status or state ? I notice that DEVICE_ATTR(state, S_IRUGO, usb_gadget_state_show, NULL) good eyes,

RE: [PATCH 25/29] drivers/spi/spi-sirf.c: simplify use of devm_ioremap_resource

2013-08-14 Thread Barry Song
-Original Message- From: Julia Lawall [mailto:julia.law...@lip6.fr] Sent: Wednesday, August 14, 2013 5:11 PM To: Barry Song Cc: kernel-janit...@vger.kernel.org; Mark Brown; linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [PATCH

Re: [PATCH 04/12] drivers/mmc/host: don't use devm_pinctrl_get_select_default() in probe

2013-07-11 Thread Barry Song
2013/7/10 Wolfram Sang w...@the-dreams.de: Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij linus.wall...@linaro.org (personally at LCE13) Signed-off-by: Wolfram

Re: [ANNOUNCE] ARM kernel summit 2013, Oct 22-23

2013-07-30 Thread Barry Song
2013/7/30 Olof Johansson o...@lixom.net: As previous years, we are planning on hosting a ARM Kernel Summit attached to the main Kernel Summit, and we have graciously been given space to host it for two days, Oct 22-23 (Oct 23 is the track day for the main KS, so we're getting an extra day) in

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-19 Thread Barry Song
@@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); } +CLK_OF_DECLARE(sirfsoc_clk, sirf,prima2-clkc, sirfsoc_clk_init); hi Sebastian, what if the driver is compatible with multiple clk controllers and we want to add

Re: [PATCH v2] clk: sirf: re-arch to make the codes support both prima2 and atlas6

2014-01-10 Thread Barry Song
2014/1/6 Barry Song 21cn...@gmail.com: From: Barry Song baohua.s...@csr.com sirfprima2 and sirfatlas6 are two different SoCs in CSR SiRF series. for prima2 and atlas6, there are many shared clocks but there are still some different register layout and hardware clocks, then result

Re: [PATCH v2] clk: sirf: re-arch to make the codes support both prima2 and atlas6

2014-01-14 Thread Barry Song
2014/1/6 Barry Song 21cn...@gmail.com: From: Barry Song baohua.s...@csr.com sirfprima2 and sirfatlas6 are two different SoCs in CSR SiRF series. for prima2 and atlas6, there are many shared clocks but there are still some different register layout and hardware clocks, then result

[PATCH] drivers/rpmsg/virtio_rpmsg_bus.c: fix the return value of rpmsg_init

2014-02-17 Thread Barry Song
From: Wei Chen wei.c...@csr.com rpmsg_init() always return ERROR code or random integer now, this patch fixes it. Signed-off-by: Wei Chen wei.c...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/rpmsg/virtio_rpmsg_bus.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions

Re: [PATCH] drivers/rpmsg/virtio_rpmsg_bus.c: fix the return value of rpmsg_init

2014-02-18 Thread Barry Song
2014-02-19 6:19 GMT+08:00 Andrew Morton a...@linux-foundation.org: On Mon, 17 Feb 2014 16:13:34 +0800 Barry Song 21cn...@gmail.com wrote: From: Wei Chen wei.c...@csr.com rpmsg_init() always return ERROR code or random integer now, this patch fixes it. ... --- a/drivers/rpmsg

Re: [PATCH] spi/sirf: fix error propagation in spi_sirfsoc_probe()

2013-06-05 Thread Barry Song
-by: Barry Song baohua.s...@csr.com --- drivers/spi/spi-sirf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c index 0808cd5..94c3920 100644 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c @@ -559,9 +559,10

Re: [PATCH] spi/sirf: fix error propagation in spi_sirfsoc_probe()

2013-06-05 Thread Barry Song
2013/6/6 Barry Song 21cn...@gmail.com: 2013/6/6 Alexey Khoroshilov khoroshi...@ispras.ru: If pinctrl_get_select_default() fails, spi_sirfsoc_probe() returns IS_ERR(sspi-p) instead of PTR_ERR(sspi-p). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey

Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

2013-06-07 Thread Barry Song
2013/6/7 Olof Johansson o...@lixom.net: On Thu, Jun 6, 2013 at 8:13 AM, jonsm...@gmail.com jonsm...@gmail.com wrote: On Wed, Jun 5, 2013 at 7:54 PM, luke.leighton luke.leigh...@gmail.com wrote: augh. ok. solutions. what are the solutions here? Luke if you really want to fix this a good

Re: [GIT PULL] Remove ARM local timer API

2013-06-25 Thread Barry Song
2013/6/26 Stephen Boyd sb...@codeaurora.org: Olof/Arnd, These patches remove the ARM local timer API. The ARM architected timers have already moved away from this API so this series migrates the rest of the users allowing us to remove the API entirely. Thomas has been kind enough to take the

Re: [PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early

2013-05-31 Thread Barry Song
2013/5/31 Srinivas KANDAGATLA srinivas.kandaga...@st.com: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves sirfsoc_of_rstc_init from early_initcall to .init_early in machine descriptor, doing this way a multi_v7 kernel will not crash on non-prima2 SOCs. Without this

Re: [PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early

2013-05-31 Thread Barry Song
2013/5/31 Srinivas KANDAGATLA srinivas.kandaga...@st.com: On 31/05/13 13:24, Barry Song wrote: Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@st.com hi Sriniva, i think my arm: prima2: move to generic reset controller driver framework fixs this too: http://www.spinics.net/lists/arm

Re: [PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early

2013-06-02 Thread Barry Song
hi Srinivas, 2013/5/31 Srinivas KANDAGATLA srinivas.kandaga...@st.com: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves sirfsoc_of_rstc_init from early_initcall to .init_early in machine descriptor, doing this way a multi_v7 kernel will not crash on non-prima2 SOCs.

Re: [PATCH v1 2/2] ARM:prima2:move postcore_initcalls to init_machine.

2013-06-02 Thread Barry Song
hi Srinivas, 2013/5/31 Srinivas KANDAGATLA srinivas.kandaga...@st.com: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves all postcore_initcalls to very first calls in init_machine. This should achieve the same sequencing as done via postcore_initcalls. Without this

Re: [PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early

2013-06-03 Thread Barry Song
they are actually initialized after init_machine(). Thanks, srini On 03/06/13 03:19, Barry Song wrote: this broke SiRF by: Uncompressing Linux... done, booting the kernel. [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.10.0-rc2-00723-gd1a0472-dirty (barry@barry

Re: [PATCH v1 2/2] ARM:prima2:move postcore_initcalls to init_machine.

2013-06-03 Thread Barry Song
Hi Srinivas, 2013/6/3 Srinivas KANDAGATLA srinivas.kandaga...@st.com: On 03/06/13 04:51, Barry Song wrote: did you see this one? [PATCH v2] arm: prima2: use of_platform_populate instead of of_platform_bus_probe http://www.spinics.net/lists/arm-kernel/msg243710.html Yes, I think

Re: [PATCH 08/33] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-05-16 Thread Barry Song
2013/5/16 Wolfram Sang w...@the-dreams.de: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de Acked-by: Barry Song baohua.s...@csr.com -barry -- To unsubscribe from this list: send the line

Re: [PATCH 11/14] ARM: sirf: Remove init_irq declaration in machine description

2013-05-14 Thread Barry Song
. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Barry Song baohua.s...@csr.com --- arch/arm/mach-prima2/common.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-prima2/common.c b/arch/arm/mach-prima2/common.c index 4f94cd8..52e28cf 100644

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-22 Thread Barry Song
2013/9/22 Sebastian Hesselbarth sebastian.hesselba...@gmail.com: On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np, of_clk_src_onecell_get, clk_data

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-28 Thread Barry Song
2013/9/28 Sebastian Hesselbarth sebastian.hesselba...@gmail.com: On 09/22/2013 12:37 PM, Barry Song wrote: 2013/9/22 Sebastian Hesselbarth sebastian.hesselba...@gmail.com: On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-24 Thread Barry Song
2013/7/18 Greg KH gre...@linuxfoundation.org: On Wed, Jul 17, 2013 at 10:57:06AM +0300, Felipe Balbi wrote: Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default GADGET, so the g_mass_storage.ko is installed early but connecting to a host PC is

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-05-22 Thread Barry Song
2014-05-22 17:33 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, Apr 29, 2014 at 11:40:33PM +0800, Barry Song wrote: 2014-04-29 23:14 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, Apr 29, 2014 at 11:05:06PM +0800, Barry Song wrote: 2014-04-28 22:52 GMT

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-05-22 Thread Barry Song
2014-05-22 19:27 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Thu, May 22, 2014 at 07:04:14PM +0800, Barry Song wrote: 2014-05-22 17:33 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, Apr 29, 2014 at 11:40:33PM +0800, Barry Song wrote: 2014-04-29 23:14 GMT

Re: [RFC PATCH] ARM: cache-l2x0: add setup entry for l2 in non-secure mode

2014-05-18 Thread Barry Song
2014-05-15 13:39 GMT+08:00 Gioh Kim gioh@lge.com: Hi, My board is using Trustzone and running kernel is non-secure mode. But setup function of PL310 driver is only for secure mode kernel. What about adding an entry for non-secure mode setup function? I'm sorry for my poor code but I

Re: [PATCH] [RFC] ARM: MM: remove phy_base field of struct

2014-05-18 Thread Barry Song
2014-05-15 10:49 GMT+08:00 Gioh Kim gioh@lge.com: Hi, It's not a big deal but I've found that phy_base field of struct l2x0_regs is not used anywhere. I've removed it on my board. It seems to be working fine. Why do we need physical address of L2 cache controller? Is it removable? if

Re: [RFC PATCH] ARM: cache-l2x0: add setup entry for l2 in non-secure mode

2014-05-19 Thread Barry Song
2014-05-19 8:29 GMT+08:00 Gioh Kim gioh@lge.com: 2014-05-18 오후 10:13, Barry Song 쓴 글: 2014-05-15 13:39 GMT+08:00 Gioh Kim gioh@lge.com: Hi, My board is using Trustzone and running kernel is non-secure mode. But setup function of PL310 driver is only for secure mode kernel

Re: [PATCH tty-next] serial: sirf: Fix compilation failure

2014-05-29 Thread Barry Song
. Compile tested using ARM's multi_v7_defconfig Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz Cc: Barry Song bao...@kernel.org Cc: Qipan Li qipan...@csr.com Cc: linux-ser...@vger.kernel.org Signed-off-by: Daniel Thompson daniel.thomp...@linaro.org Qipan

Re: linux-next: build failure after merge of the tty tree

2014-05-29 Thread Barry Song
2014-05-29 20:18 GMT+08:00 Barry Song barry.s...@csr.com: From: Stephen Rothwell [s...@canb.auug.org.au] Sent: Thursday, May 29, 2014 15:28 To: Greg KH Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Qipan Li; Barry Song Subject: linux-next: build failure after merge

Re: [PATCH tty-next] serial: sirf: Fix compilation failure

2014-05-30 Thread Barry Song
2014-05-30 2:25 GMT+08:00 Greg Kroah-Hartman gre...@linuxfoundation.org: On Thu, May 29, 2014 at 08:14:02PM +0800, Barry Song wrote: 2014-05-29 18:13 GMT+08:00 Daniel Thompson daniel.thomp...@linaro.org: After 07d410e0) serial: sirf: fix spinlock deadlock issue it is no longer possiblet

Re: [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into state container

2014-05-25 Thread Barry Song
2014-05-09 19:57 GMT+08:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 1, 2014 at 2:40 PM, Barry Song bao...@kernel.org wrote: 2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: Instead of referring to a global static variable for the sgpio locking, use the state

Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-25 Thread Barry Song
2014-05-09 19:53 GMT+08:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 1, 2014 at 2:29 PM, Barry Song bao...@kernel.org wrote: 2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This rewrites the SIRF pinctrl driver to allocate a state container for the GPIO chip, just

RE: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-27 Thread Barry Song
From: Linus Walleij [linus.wall...@linaro.org] Sent: Tuesday, May 27, 2014 21:27 To: Barry Song Cc: LKML; Barry Song; Linux GPIO List; DL-SHA-WorkGroupLinux Subject: Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container On Sun, May 25, 2014 at 10:26 AM, Barry Song bao

Re: [PATCH v2] extcon: gpio: Add power resume support

2014-01-06 Thread Barry Song
2013/12/27 rjying rjy...@gmail.com: From: Rongjun Ying rongjun.y...@csr.com When system on the suspend state, Some SoC can't get gpio interrupt. After system resume, need send extcon uevent to userspace. Signed-off-by: Rongjun Ying rongjun.y...@csr.com Reviewed-by: Barry Song baohua.s

Re: [PATCH v2] clk: sirf: re-arch to make the codes support both prima2 and atlas6

2014-01-14 Thread Barry Song
2014/1/15 Mike Turquette mturque...@linaro.org: Quoting Barry Song (2014-01-05 21:38:19) diff --git a/drivers/clk/sirf/clk-atlas6.c b/drivers/clk/sirf/clk-atlas6.c new file mode 100644 index 000..21e776a --- /dev/null +++ b/drivers/clk/sirf/clk-atlas6.c @@ -0,0 +1,153 @@ +/* + * Clock

[PATCH] kernel/power/swap.c: print the speed of compressed image instead of uncompressed one

2014-01-26 Thread Barry Song
From: Barry Song baohua.s...@csr.com For users of hibernation, people care more about the size of the compressed image than uncompressed one. as embedded guys will try to improve the speed of SD, NAND and do the best to shrink memory to make the image as less as possible. so printing the speed

Re: [PATCH] pinctrl: sirf: lock IRQs when starting them

2014-01-26 Thread Barry Song
2014-01-16 Barry Song 21cn...@gmail.com: From: Linus Walleij [linus.wall...@linaro.org] Sent: Wednesday, January 15, 2014 17:10 To: linux-kernel@vger.kernel.org; Barry Song Cc: linux-g...@vger.kernel.org; Linus Walleij Subject: [PATCH] pinctrl: sirf: lock IRQs when starting them This uses

[PATCH] apm-emulation: add hibernation APM events to support suspend2disk

2014-01-02 Thread Barry Song
, but not suspend to disk, so here add logic about hibernation apm events. Signed-off-by: Bin Shi bin@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/char/apm-emulation.c | 11 +-- include/uapi/linux/apm_bios.h |2 ++ 2 files changed, 11 insertions(+), 2 deletions

[PATCH v2] clk: sirf: re-arch to make the codes support both prima2 and atlas6

2014-01-05 Thread Barry Song
From: Barry Song baohua.s...@csr.com sirfprima2 and sirfatlas6 are two different SoCs in CSR SiRF series. for prima2 and atlas6, there are many shared clocks but there are still some different register layout and hardware clocks, then result in different clock table. here we re-arch the driver

Re: [PATCH 13/18] MAINTAINERS: Update sirf patterns

2013-08-09 Thread Barry Song
2013/7/22 Joe Perches j...@perches.com: commit 3370dc916c (pinctrl:sirf:re-arch and add support for new SiRFatlas6 SoC) moved the files, update the patterns. Signed-off-by: Joe Perches j...@perches.com cc: Barry Song 21cn...@gmail.com cc: Linus Walleij linus.wall...@linaro.org Acked

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-04-29 Thread Barry Song
2014-04-28 22:52 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Mon, Apr 28, 2014 at 10:37:09AM -0400, Matt Porter wrote: The fix is tested against bcm281xx and bcm21664 as that is what the l2c cleanup breaks in -next. As mentioned, I don't have the sirfsoc h/w so this first

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-04-29 Thread Barry Song
2014-04-28 21:40 GMT+08:00 Matt Porter mpor...@linaro.org: On Mon, Apr 28, 2014 at 10:15:33AM +0100, Russell King wrote: On Sun, Apr 27, 2014 at 08:27:40PM -0400, Matt Porter wrote: l2x0_of_init() is executed unconditionally within the sirfsoc_l2x0_init() early initcall. In a multi v7 kernel

Re: [PATCH] ARM: l2c: prima2: only call l2x0_of_init() on matching nodes

2014-04-29 Thread Barry Song
2014-04-29 23:14 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Tue, Apr 29, 2014 at 11:05:06PM +0800, Barry Song wrote: 2014-04-28 22:52 GMT+08:00 Russell King - ARM Linux li...@arm.linux.org.uk: On Mon, Apr 28, 2014 at 10:37:09AM -0400, Matt Porter wrote: The fix is tested

Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-01 Thread Barry Song
2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This rewrites the SIRF pinctrl driver to allocate a state container for the GPIO chip, just as is done for the pin controller, and use the gpiochip_add_pin_range() to add the range from the gpiochip side rather than adding the

Re: [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into state container

2014-05-01 Thread Barry Song
2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: Instead of referring to a global static variable for the sgpio locking, use the state container to contain the lock. Signed-off-by: Linus Walleij linus.wall...@linaro.org hi Linus, thanks! this looks very good only if we fix

Re: [PATCH v2 2/2] spi: sirf: decrease the interrupt count and latency of PIO mode

2014-05-05 Thread Barry Song
2014-05-06 3:23 GMT+08:00 Mark Brown broo...@kernel.org: On Sun, May 04, 2014 at 02:32:36PM +0800, Qipan Li wrote: From: Qipan Li qipan...@csr.com current PIO tranfer method be described as follows: I'm missing patch 1 here. this is a follow of [PATCH 2/2] spi: sirf: decrease the interrupt

Re: [PATCH 1/2] pinctrl: sirf: rename inlined accessor

2014-04-09 Thread Barry Song
Acked-by: Barry Song baohua.s...@csr.com Thanks, linus. --- drivers/pinctrl/sirf/pinctrl-sirf.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 76502aab2cb1..2c3eb207ff87

Re: [PATCH 2/2] pinctrl: sirf: switch driver to use gpiolib irqchip helpers

2014-04-09 Thread Barry Song
2014-04-08 20:27 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This switches the Sirf pinctrl driver over to using the gpiolib irqchip helpers simplifying some of the code. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- This really needs testing on real hardware before I dare

Re: [PATCH 2/2] pinctrl: sirf: switch driver to use gpiolib irqchip helpers

2014-04-10 Thread Barry Song
2014-04-10 11:48 GMT+08:00 Barry Song bao...@kernel.org: 2014-04-08 20:27 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This switches the Sirf pinctrl driver over to using the gpiolib irqchip helpers simplifying some of the code. Signed-off-by: Linus Walleij linus.wall...@linaro.org

Re: FW: [PATCH 04/16] MAINTAINERS: Update clk/sirf patterns

2014-07-03 Thread Barry Song
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Friday, July 04, 2014 6:08 AM To: Andrew Morton Cc: Barry Song; linux-kernel@vger.kernel.org Subject: [PATCH 04/16] MAINTAINERS: Update clk/sirf patterns commit 7bf21bc81f28 (clk: sirf: re-arch to make the codes

Re: [PATCH 1/1] extcon: gpio: Add power resume support

2013-12-22 Thread Barry Song
2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/20/2013 05:09 PM, rjying wrote: From: Rongjun Ying rongjun.y...@csr.com After system resume, need send extcon uevent to userspace Why did extcon send uevent after wakeup from suspend? If extcon cable is attatched or detached on suspend

Re: [PATCH 1/1] extcon: gpio: Add power resume support

2013-12-22 Thread Barry Song
2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 03:10 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/20/2013 05:09 PM, rjying wrote: From: Rongjun Ying rongjun.y...@csr.com After system resume, need send extcon uevent to userspace Why did extcon

Re: [PATCH 1/1] extcon: gpio: Add power resume support

2013-12-23 Thread Barry Song
2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 04:36 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 03:10 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/20/2013 05:09 PM, rjying wrote: From: Rongjun Ying rongjun.y

Re: [PATCH 1/1] extcon: gpio: Add power resume support

2013-12-23 Thread Barry Song
2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 05:13 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 04:36 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 03:10 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi

Re: Re: [PATCH 1/1] extcon: gpio: Add power resume support

2013-12-23 Thread Barry Song
2013/12/23 MyungJoo Ham myungjoo@samsung.com: On 12/23/2013 05:13 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 04:36 PM, Barry Song wrote: 2013/12/23 Chanwoo Choi cw00.c...@samsung.com: On 12/23/2013 03:10 PM, Barry Song wrote: 2013/12/23

Re: [PATCH 09/10] rtc: rtc-sirfsoc: Remove unnecessary OOM messages

2014-02-07 Thread Barry Song
2014-02-07 16:12 GMT+08:00 Jingoo Han jg1@samsung.com: The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han jg1@samsung.com --- Acked-by: Barry Song baohua.s...@csr.com drivers/rtc/rtc-sirfsoc.c

Re: [PATCH v5 4/4] ARM: prima2_defconfig: enable PWM and sirf PWM driver

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li huayi...@csr.com: Signed-off-by: Huayi Li huayi...@csr.com Acked-by: Barry Song baohua.s...@csr.com --- arch/arm/configs/prima2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/prima2_defconfig b/arch/arm/configs

Re: [PATCH v5 3/4] ARM: dts: sirf: fix the pwm-cells and clocks

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li huayi...@csr.com: This patch adds missed pwm-cells, clock-names and signal source clock for PWM module. Signed-off-by: Huayi Li huayi...@csr.com Reviewed-by: Barry Song baohua.s...@csr.com --- arch/arm/boot/dts/atlas6.dtsi | 8 ++-- arch/arm/boot

Re: [PATCH v5 1/4] pwm: add CSR SiRFSoc PWM driver

2014-07-24 Thread Barry Song
2014-07-16 9:55 GMT+08:00 Huayi Li huayi...@csr.com: PWM controller of CSR SiRFSoC can generate 7 independent outputs. Each output duty cycle can be adjusted by setting the corresponding wait hold registers. There are 6 external channels (0 to 5) and 1 internal channel (6). Supports a wide

Re: [PATCH v5 2/4] pwm: sirf: add dt-binding document

2014-07-24 Thread Barry Song
2014-07-16 10:01 GMT+08:00 Huayi Li huayi...@csr.com: This patch adds dt-binding document for pwm-sirf. here the controller clock can't generate PWM signals, so we need seperate clock as signal source. Signed-off-by: Huayi Li huayi...@csr.com Reviewed-by: Barry Song baohua.s...@csr.com

[PATCH] clocksource: sirf: remove hard-coded clock rate

2014-11-11 Thread Barry Song
drivers more adaptive to external changes. Signed-off-by: Yanchang Li y...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/clocksource/timer-marco.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/drivers/clocksource/timer-marco.c b

Re: [alsa-devel] [PATCH baohua] ASoC: sirf: atlas7: atlas7_iacc_dai_ops can be static

2015-02-05 Thread Barry Song
2015-02-06 1:11 GMT+08:00 Mark Brown broo...@kernel.org: On Fri, Feb 06, 2015 at 01:03:52AM +0800, kbuild test robot wrote: sound/soc/sirf/atlas7-iacc.c:168:24: sparse: symbol 'atlas7_iacc_dai_ops' was not declared. Should it be static? This file isn't in an upstream tree, should this patch

Re: [alsa-devel] [PATCH] ASoC: sirf: fix platform_no_drv_owner.cocci warnings

2015-01-15 Thread Barry Song
2015-01-15 17:05 GMT+08:00 kbuild test robot fengguang...@intel.com: sound/soc/sirf/sirf-atlas7-cs42xx8.c:192:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by:

Re: [PATCH 07/11] ARM: prima2: do not select SMP_ON_UP

2015-02-12 Thread Barry Song
Song baohua.s...@csr.com --- arch/arm/mach-prima2/Kconfig | 1 - 1 file changed, 1 deletion(-) Acked-by: Barry Song baohua.s...@csr.com diff --git a/arch/arm/mach-prima2/Kconfig b/arch/arm/mach-prima2/Kconfig index a219dc310d5d..e03d8b5c9ad0 100644 --- a/arch/arm/mach-prima2/Kconfig +++ b

Re: [PATCH] clocksource: sirf: Remove unused variable

2015-01-11 Thread Barry Song
2014-12-24 5:33 GMT+08:00 Fabio Estevam feste...@gmail.com: Remove 'timer_div' variable to fix the following build warning: drivers/clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init': drivers/clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div'

Re: [PATCH] clocksource: sirf: Remove unused variable

2015-01-11 Thread Barry Song
. can you help to apply the attached patch to your tree? i guess pulling by arm-soc will cause conflicts. -- Daniel -barry From ffdf7a8a348cf3301fade30cc86398c80be3d1bd Mon Sep 17 00:00:00 2001 From: Barry Song baohua.s...@csr.com Date: Sun, 11 Jan 2015 23:52:13 +0800 Subject: [PATCH

Re: [PATCH] clocksource: sirf: remove unused variable

2015-01-13 Thread Barry Song
2015-01-13 22:27 GMT+08:00 Daniel Lezcano daniel.lezc...@linaro.org: On 01/13/2015 03:22 PM, Arnd Bergmann wrote: A recent rework of the driver left an obviously unused variable around, and now the compiler complains: clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init':

RE: clocksource: marco: CONFIG_ARCH_ATLAS7?

2015-01-14 Thread Barry Song
-Original Message- From: Paul Bolle [mailto:pebo...@tiscali.nl] Sent: 2015年1月14日 16:52 To: Barry Song Cc: Valentin Rothberg; Arnd Bergmann; Daniel Lezcano; Thomas Gleixner; linux-kernel@vger.kernel.org Subject: clocksource: marco: CONFIG_ARCH_ATLAS7? Barry, Your commit

Re: [PATCH v2] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-18 Thread Barry Song
2015-03-09 14:11 GMT+08:00 Barry Song 21cn...@gmail.com: From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN

Re: [PATCH] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-08 Thread Barry Song
2015-03-07 21:42 GMT+08:00 Paul Bolle pebo...@tiscali.nl: One license nit. Barry Song schreef op vr 06-03-2015 om 16:30 [+0800]: --- /dev/null +++ b/drivers/hwspinlock/sirf_hwspinlock.c @@ -0,0 +1,151 @@ +/* + * SIRF hardware spinlock driver + * + * Copyright (c) 2014 Cambridge Silicon

[PATCH v2] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-09 Thread Barry Song
...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- .../bindings/hwspinlock/sirf,hwspinlock.txt| 18 +++ drivers/hwspinlock/Kconfig | 12 ++ drivers/hwspinlock/Makefile| 1 + drivers/hwspinlock/sirf_hwspinlock.c | 151

[PATCH v2 RESEND] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-25 Thread Barry Song
...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- .../bindings/hwspinlock/sirf,hwspinlock.txt| 18 +++ drivers/hwspinlock/Kconfig | 12 ++ drivers/hwspinlock/Makefile| 1 + drivers/hwspinlock/sirf_hwspinlock.c | 151

[PATCH 1/2] drivers:remoteproc:support predefined vq notifyid

2015-03-03 Thread Barry Song
notifyid from RSC table, and then request a same notifyid in Linux side. Signed-off-by: Wei Chen wei.c...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/remoteproc/remoteproc_core.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 2/2] drivers:remoteproc:support always on remote processor

2015-03-03 Thread Barry Song
Signed-off-by: Barry Song baohua.s...@csr.com --- drivers/remoteproc/remoteproc_core.c | 5 + drivers/remoteproc/remoteproc_virtio.c | 8 include/linux/remoteproc.h | 4 +++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/remoteproc

[PATCH] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-06 Thread Barry Song
...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- .../bindings/hwspinlock/sirf,hwspinlock.txt| 18 +++ drivers/hwspinlock/Kconfig | 12 ++ drivers/hwspinlock/Makefile| 1 + drivers/hwspinlock/sirf_hwspinlock.c | 151

Re: [PATCH v2 RESEND] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-06 Thread Barry Song
2015-05-07 2:13 GMT+08:00 Bjorn Andersson bj...@kryo.se: On Wed, Mar 25, 2015 at 4:03 PM, Barry Song 21cn...@gmail.com wrote: From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. [..] diff --git a/Documentation/devicetree/bindings/hwspinlock/sirf,hwspinlock.txt

[PATCH 1/3 v3] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-19 Thread Barry Song
: Bjorn Andersson bj...@kryo.se Signed-off-by: Wei Chen wei.c...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- -v3: use #hwlock-cells and general hwspinlock dt-binding; drop relax(); drop num-spinlocks in dts; re-order Kconfig and Makefile; other codingstyle issues. Thanks Suman

[PATCH 2/3 v3] Documentation: dt: add the CSR atlas7 hwspinlock bindings document

2015-05-19 Thread Barry Song
: Suman Anna s-a...@ti.com Cc: Bjorn Andersson bj...@kryo.se Signed-off-by: Wei Chen wei.c...@csr.com Signed-off-by: Barry Song baohua.s...@csr.com --- .../devicetree/bindings/hwlock/sirf,hwspinlock.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation

[PATCH 3/3 v3] ARM: dts: atlas7: use general dt-binding for hwspinlock

2015-05-19 Thread Barry Song
-by: Barry Song baohua.s...@csr.com --- arch/arm/boot/dts/atlas7.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/atlas7.dtsi b/arch/arm/boot/dts/atlas7.dtsi index a753178..66d3f0e 100644 --- a/arch/arm/boot/dts/atlas7.dtsi +++ b/arch/arm/boot/dts/atlas7.dtsi

Re: [PATCH 1/3 v3] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-24 Thread Barry Song
2015-05-23 6:51 GMT+08:00 Suman Anna s-a...@ti.com: Hi Barry, On 05/19/2015 01:41 AM, Barry Song wrote: From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between

Re: [PATCH 2/3 v3] Documentation: dt: add the CSR atlas7 hwspinlock bindings document

2015-05-24 Thread Barry Song
2015-05-23 6:44 GMT+08:00 Suman Anna s-a...@ti.com: Hi Barry, On 05/19/2015 01:41 AM, Barry Song wrote: From: Wei Chen wei.c...@csr.com The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN

Re: [PATCH v7 4/5] clk: Provide critical clock support

2015-08-20 Thread Barry Song
2015-08-17 15:42 GMT+08:00 Lee Jones lee.jo...@linaro.org: On Mon, 17 Aug 2015, Barry Song wrote: 2015-07-22 21:04 GMT+08:00 Lee Jones lee.jo...@linaro.org: Lots of platforms contain clocks which if turned off would prove fatal. The only way to recover from these catastrophic failures

Re: [PATCH v7 4/5] clk: Provide critical clock support

2015-08-16 Thread Barry Song
2015-07-22 21:04 GMT+08:00 Lee Jones lee.jo...@linaro.org: Lots of platforms contain clocks which if turned off would prove fatal. The only way to recover from these catastrophic failures is to restart the board(s). Now, when a clock provider is registered with the framework it is possible

Re: [PATCH] ARM: Remove __ref on hotplug cpu die path

2015-09-14 Thread Barry Song
ng is removed. > > Cc: Tony Lindgren <t...@atomide.com> > Cc: Barry Song <bao...@kernel.org> > Cc: Andy Gross <agr...@codeaurora.org> > Cc: Viresh Kumar <vire...@kernel.org> > Cc: Shiraz Hashim <shiraz.linux.ker...@gmail.com> > Cc: Stephen Warren <swar..

  1   2   3   4   5   6   7   >