> -Original Message-
> From: Jonathan Cameron
> Sent: Monday, June 22, 2020 9:59 PM
> To: Song Bao Hua (Barry Song)
> Cc: herb...@gondor.apana.org.au; da...@davemloft.net; Seth Jennings
> ; Linuxarm ;
> linux-kernel@vger.kernel.org; linux...@kvack.org;
> linux-c
like
kmalloc and kmalloc_node. Similar optimization may be done for crypto.
Barry Song (3):
crypto: permit users to specify numa node of acomp hardware
crypto: hisilicon/zip - permit users to specify NUMA node
mm/zswap: specify the NUMA node of acomp to use local compressors
[mm/zswap pat
If users don't specify NUMA node, the driver will use the ZIP module near
the CPU allocating acomp. Otherwise, it uses the ZIP module according to
the requirement of users.
Cc: Zhou Wang
Signed-off-by: Barry Song
---
drivers/crypto/hisilicon/zip/zip.h| 2 +-
drivers/crypto/hisi
from different NUMA node with the CPU which allocates acomp.
Just like kernel has kmalloc() and kmalloc_node(), here crypto can have
same support.
Cc: Seth Jennings
Cc: Dan Streetman
Cc: Vitaly Wool
Cc: Andrew Morton
Signed-off-by: Barry Song
---
crypto/acompress.c | 8
Cc: David S. Miller"
Cc: Andrew Morton
Signed-off-by: Barry Song
---
mm/zswap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/zswap.c b/mm/zswap.c
index 0d914ba6b4a0..9b1aa477022e 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -437,7 +437,7 @@ stati
> -Original Message-
> From: Vitaly Wool [mailto:vitaly.w...@konsulko.com]
> Sent: Sunday, June 21, 2020 11:16 PM
> To: Song Bao Hua (Barry Song)
> Cc: Andrew Morton ;
> herb...@gondor.apana.org.au; da...@davemloft.net;
> linux-cry...@vger.kernel.org; Linux-MM ; LKM
halla
Cc: Seth Jennings
Cc: Dan Streetman
Cc: Vitaly Wool
Cc: Zhou Wang
Signed-off-by: Barry Song
---
-v2:
rebase to 5.8-rc1;
cleanup commit log;
cleanup to improve the readability according to Sebastian's comment
mm/zswap.c | 153 ++-
case. And it won't break the second case in which users
use the common crypto_req_done() and crypto_wait_req() only.
Signed-off-by: Barry Song
---
crypto/scompress.c | 4
1 file changed, 4 insertions(+)
diff --git a/crypto/scompress.c b/crypto/scompress.c
index 738f4f8f0f41..634b7ced9
numa_node for this kind of devices in sysfs. For those
platform devices without numa, numa_node won't be visible.
Cc: Prime Zeng
Cc: Robin Murphy
Signed-off-by: Barry Song
---
-v3: rebase to 5.8-rc1; refine commit log
Documentation/ABI/testing/sysfs-bus-platform | 10
drivers/base/platf
> -Original Message-
> From: Will Deacon [mailto:w...@kernel.org]
> Sent: Thursday, June 18, 2020 7:20 PM
> To: Song Bao Hua (Barry Song)
> Cc: Roman Gushchin ; catalin.mari...@arm.com;
> nsaenzjulie...@suse.de; steve.cap...@arm.com; r...@linux.ibm.com;
> a...
disable_irq() after request_irq() is still risk as there is a chance irq
can come after request_irq() and before disable_irq().
this should be done by IRQ_NOAUTOEN flag.
Signed-off-by: Barry Song
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 ++--
1 file changed, 2 insertions(+), 2
Right now they are empty functions for our SoC since hardware can keep
cache coherent, but it is still good to align with streaming DMA APIs
as device drivers should not make an assumption of SoC.
Reviewed-by: Yunsheng Lin
Signed-off-by: Barry Song
---
.../net/ethernet/hisilicon/hns3
some minor changes to either improve the readability or make the code align
with linux APIs better.
Barry Song (5):
net: hns3: remove unnecessary devm_kfree
net: hns3: pointer type of buffer should be void
net: hns3: rename buffer-related functions
net: hns3: replace disable_irq by
since we are using device-managed function, it is unnecessary
to free in probe.
Signed-off-by: Barry Song
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
b/drivers/net
This is for improving the readability.
Signed-off-by: Barry Song
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
b/drivers/net/ethernet/hisilicon/hns3
Move the type of buffer address from unsigned char to void
Signed-off-by: Barry Song
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon
eviewed-by: Anshuman Khandual
Signed-off-by: Barry Song
---
-v3:
add review-by;
add comment according to Will's feedback
arch/arm64/mm/init.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
index e631e642516
> -Original Message-
> From: Roman Gushchin [mailto:g...@fb.com]
> Sent: Thursday, June 18, 2020 6:20 AM
> To: Song Bao Hua (Barry Song)
> Cc: Will Deacon ; catalin.mari...@arm.com;
> nsaenzjulie...@suse.de; steve.cap...@arm.com; r...@linux.ibm.com;
> a...@linux-
> -Original Message-
> From: Will Deacon [mailto:w...@kernel.org]
> Sent: Wednesday, June 17, 2020 10:18 PM
> To: Song Bao Hua (Barry Song)
> Cc: catalin.mari...@arm.com; nsaenzjulie...@suse.de;
> steve.cap...@arm.com; r...@linux.ibm.com; a...@linux-foundation.or
to 5.8-rc1
Barry Song (2):
mm: cma: fix the name of CMA areas
mm: hugetlb: fix the name of hugetlb CMA
mm/cma.c | 13 ++---
mm/cma.h | 4 +++-
mm/hugetlb.c | 4 +++-
3 files changed, 12 insertions(+), 9 deletions(-)
--
2.23.0
Roman Gushchin
Reviewed-by: Mike Kravetz
Signed-off-by: Barry Song
---
-v2:
rebase to 5.8-rc1
add acked-by and reviewed-by
mm/cma.c | 13 ++---
mm/cma.h | 4 +++-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/mm/cma.c b/mm/cma.c
index 0463ad2ce06b..b24151fa2101 100644
---
once we enable CMA_DEBUGFS, we will get the below errors:
directory 'cma-hugetlb' with parent 'cma' already present
we should have different names for different CMA areas.
Acked-by: Roman Gushchin
Reviewed-by: Mike Kravetz
Signed-off-by: Barry Song
---
-v2:
rebase to 5.
hugetlb_cma_reserve() is called at the wrong place. numa_init has not been
done yet. so all reserved memory will be located at node0.
Fixes: cf11e85fc08c ("mm: hugetlb: optionally allocate gigantic hugepages using
cma")
Cc: Matthias Brugger
Acked-by: Roman Gushchin
Signed-off-by:
> -Original Message-
> From: Matthias Brugger [mailto:matthias@gmail.com]
> Sent: Monday, June 8, 2020 8:15 AM
> To: Roman Gushchin ; Song Bao Hua (Barry Song)
>
> Cc: catalin.mari...@arm.com; John Garry ;
> linux-kernel@vger.kernel.org; Linuxarm ;
> io...@li
> -Original Message-
> From: Philip Li [mailto:philip...@intel.com]
> Sent: Saturday, June 6, 2020 3:47 PM
> To: Dan Carpenter
> Cc: Song Bao Hua (Barry Song) ;
> kbu...@lists.01.org; h...@lst.de; m.szyprow...@samsung.com;
> robin.mur...@arm.com; catalin.mari...@ar
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Thursday, June 4, 2020 11:37 PM
> To: kbu...@lists.01.org; Song Bao Hua (Barry Song)
> ; h...@lst.de; m.szyprow...@samsung.com;
> robin.mur...@arm.com; catalin.mari...@arm.com
> Cc
hchin
Signed-off-by: Barry Song
---
mm/cma.c | 13 ++---
mm/cma.h | 4 +++-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/mm/cma.c b/mm/cma.c
index 0463ad2ce06b..b24151fa2101 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -202,13 +202,12 @@ int __init cma_init_reserved_mem(phys_a
the current code of CMA can only work when users pass a const string as name
parameter. we need to fix the way to handle names in CMA.
On the other hand, to avoid name conflicts after enabling CMA_DEBUGFS, each
hugetlb should get a different CMA name.
Barry Song (2):
mm: cma: fix the name of
once we enable CMA_DEBUGFS, we will get the below errors:
directory 'cma-hugetlb' with parent 'cma' already present
only the first numa node will get a directory in debugfs.
we should have different names for different CMA areas.
Cc: Roman Gushchin
Signed-off-by: Barry Son
tables. that means dma_unmap latency will be shrunk much.
Meanwhile, when iommu.passthrough is on, device drivers which call dma_
alloc_coherent() will also get local memory and avoid the travel between
numa nodes.
Cc: Will Deacon
Cc: Robin Murphy
Signed-off-by: Barry Song
---
arch/arm64/mm/init.c
-by: Barry Song
---
include/linux/dma-contiguous.h | 4
kernel/dma/Kconfig | 10 +
kernel/dma/contiguous.c| 41 +-
3 files changed, 54 insertions(+), 1 deletion(-)
diff --git a/include/linux/dma-contiguous.h b/include/linux/dma
hugetlb_cma_reserve() is called at the wrong place. numa_init has not been
done yet. so all reserved memory will be located at node0.
Cc: Roman Gushchin
Signed-off-by: Barry Song
---
arch/arm64/mm/init.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm64
memory from local numa node to save command
queues and page tables. that means dma_unmap latency will be shrunk much.
Meanwhile, when iommu.passthrough is on, device drivers which call dma_
alloc_coherent() will also get local memory and avoid the travel between
numa nodes.
Barry Song (3):
dma-direct
> >
> > On Tue, Jun 02, 2020 at 05:09:57AM +, Song Bao Hua (Barry Song)
> wrote:
> > > > >
> > > > > Platform devices are NUMA? That's crazy, and feels like a total
> > > > > abuse of platform devices and drivers
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, June 2, 2020 6:11 PM
> To: Song Bao Hua (Barry Song)
> Cc: raf...@kernel.org; io...@lists.linux-foundation.org;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.ke
Zeng
Cc: Robin Murphy
Signed-off-by: Barry Song
---
-v2: add the numa_node entry in Documentation/ABI/
Documentation/ABI/testing/sysfs-bus-platform | 10
drivers/base/platform.c | 26 +++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git
> >
> > Platform devices are NUMA? That's crazy, and feels like a total abuse
> > of platform devices and drivers that really should belong on a "real"
> > bus.
>
> I am not sure if it is an abuse of platform device. But smmu is a platform
> device,
> drivers/iommu/arm-smmu-v3.c is a platform dri
Fix the below checkpatch issue:
ERROR: need consistent spacing around '-' (ctx:WxV)
FILE: drivers/base/platform.c:1008:
+ len = acpi_device_modalias(dev, buf, PAGE_SIZE -1);
^
Signed-off-by: Barry Song
---
-v2: specify a d
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Tuesday, June 2, 2020 4:24 PM
> To: Song Bao Hua (Barry Song)
> Cc: raf...@kernel.org; io...@lists.linux-foundation.org;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.ke
Signed-off-by: Barry Song
---
drivers/base/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index b27d0f6c18c9..ab9408182a0d 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -1005,7 +1005,7
Zeng
Cc: Robin Murphy
Signed-off-by: Barry Song
---
drivers/base/platform.c | 26 +-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index b27d0f6c18c9..7794b9a38d82 100644
--- a/drivers/base/platform.c
+++ b
> -Original Message-
> From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org]
> On Behalf Of Alexandru Elisei
> Sent: Wednesday, May 20, 2020 10:31 PM>
> Hi,
>
> On 5/18/20 12:17 PM, Alexandru Elisei wrote:
> > Hi,
> >
> > On 5/18/20 11:45 AM, Mark Rutland wrote:
>
the subject is unsuitable? i mean the prefix should be fs/ramfs rather
than knfsd?
2019-05-22 3:25 GMT+12:00, Haodong Wong :
> Refer to tmpfs, use inode number and generation number
> to construct the filehandle for nfs-export
would you like to describe what is happening without this patch?
BTW,
jun in wechat regarding this patch. and
Reviewed-by: Barry Song <21cn...@gmail.com>
> ---
> drivers/tty/serial/imx.c | 21 -
> 1 file changed, 8 insertions(+), 13 deletions(-)
>
as you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: Barry Song <21cn...@gmail.com>
---
drivers/dma/at_xdmac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
index 4bf7256..4e55768
as you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: Barry Song <21cn...@gmail.com>
---
drivers/dma/mv_xor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 969534c..7f59535 100644
2016-02-19 4:42 GMT+08:00 Linus Walleij :
> On Thu, Feb 18, 2016 at 3:50 AM, Barry Song wrote:
>
>> gpiochip_add(chip will call this automatically since range is set in dtsi:
>> gpio_0: gpio_mediam@1704 {
>> #gpio-cells = <2>;
>> #interrupt-cells = &l
so we're iterating over an empty
> list. Maybe it is poking around in some other pin controllers
> GPIO ranges, and that's just totally wrong, again use
> gpiochip_add_pin_range() and specify the right pin
> controller.
>
> Cc: Barry Song
> Cc: Guoying Zhang
2015-10-05 16:21 GMT+08:00 Lee Jones :
> On Sun, 04 Oct 2015, Barry Song wrote:
>> 2015-09-29 16:55 GMT+08:00 Lee Jones :
>> > On Tue, 29 Sep 2015, Barry Song wrote:
>> >
>> >> 2015-09-29 15:16 GMT+08:00 Lee Jones :
>> >> > On Tue, 29
2015-09-29 16:55 GMT+08:00 Lee Jones :
> On Tue, 29 Sep 2015, Barry Song wrote:
>
>> 2015-09-29 15:16 GMT+08:00 Lee Jones :
>> > On Tue, 29 Sep 2015, Barry Song wrote:
>> >> >> >> +static int sirfsoc_pwrc_probe(struct platform_device *pdev)
>> &
2015-09-29 15:16 GMT+08:00 Lee Jones :
> On Tue, 29 Sep 2015, Barry Song wrote:
>> >> >> +static int sirfsoc_pwrc_probe(struct platform_device *pdev)
>> >> >> +{
>> >> >> + struct device_node *np = pdev->dev.of_node;
>> &
>> >> +static int sirfsoc_pwrc_probe(struct platform_device *pdev)
>> >> +{
>> >> + struct device_node *np = pdev->dev.of_node;
>> >> + const struct of_device_id *match;
>> >> + struct sirfsoc_pwrc_info *pwrcinfo;
>> >> + struct regmap_irq_chip *regmap_irq_chip;
>> >> + struct s
hi Lee,
thanks very much!
2015-09-20 12:15 GMT+08:00 Lee Jones :
> On Thu, 17 Sep 2015, Barry Song wrote:
>
>> From: Guo Zeng
>>
>> CSR SiRFSoC Power Control Module includes power on or power
>> off for sysctl power and gnss, it also includes onkey, RTC
>> do
2015-09-17 18:53 GMT+08:00 Mark Brown :
> On Thu, Sep 17, 2015 at 05:23:20AM +0000, Barry Song wrote:
>> From: Guo Zeng
>>
>> Some chips have separate unmask registers from mask registers for
>> some consideration of concurrency SMP write performance. And this
From: Guo Zeng
Some chips have separate unmask registers from mask registers for
some consideration of concurrency SMP write performance. And this
patch adds a flag for it.
An user will be CSR SiRFSoC ARM chips.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
drivers/base/regmap
From: Guo Zeng
CSR SiRFSoC Power Control Module includes power on or power
off for sysctl power and gnss, it also includes onkey, RTC
domain clock controllers and interrupt controller for power
events.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
.../devicetree/bindings/mfd/sirf
From: Guo Zeng
An user will be CSR SiRFSoC ARM chips.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
drivers/base/regmap/regmap-irq.c | 12 ++--
include/linux/regmap.h | 2 ++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/base/regmap/regmap
name
>126835781470996 348904 14503478 dd4e36 before
>126832741470996 348904 14503174 dd4d06 after
>
> presumably because now we don't have to jump to code in the
> .ref.text section and/or the noinline marking is removed.
>
> Cc:
From: Guo Zeng
Some chips have separate unmask registers from mask registers for
some consideration of concurrency SMP write performance. And this
patch adds a flag for it.
An user will be CSR SiRFSoC ARM chips.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
drivers/base/regmap
From: Barry Song
the first two regmap patches provide regmap_irq support for CSR
chips, in which unmask is separated and ack is inverted.
the last one is adding pwrc driver, in which we use the separate
unmaks and inverted_ack.
Guo Zeng (3):
regmap: irq: add support for chips who have
From: Guo Zeng
An user will be CSR SiRFSoC ARM chips.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
drivers/base/regmap/regmap-irq.c | 12 ++--
include/linux/regmap.h | 2 ++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/base/regmap/regmap
From: Guo Zeng
CSR SiRFSoC Power Control Module includes power on or power
off for sysctl power and gnss, it also includes onkey, RTC
domain clock controllers and interrupt controller for power
events.
Signed-off-by: Guo Zeng
Signed-off-by: Barry Song
---
.../devicetree/bindings/mfd/sirf
2015-08-17 15:42 GMT+08:00 Lee Jones :
> On Mon, 17 Aug 2015, Barry Song wrote:
>
>> 2015-07-22 21:04 GMT+08:00 Lee Jones :
>> > Lots of platforms contain clocks which if turned off would prove fatal.
>> > The only way to recover from these catastrophic failures
2015-07-22 21:04 GMT+08:00 Lee Jones :
> 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 for a list of criti
2015-05-23 6:51 GMT+08:00 Suman Anna :
> Hi Barry,
>
> On 05/19/2015 01:41 AM, Barry Song wrote:
>> From: Wei Chen
>>
>> Add hwspinlock support for the CSR atlas7 SoC.
>>
>> The Hardware Spinlock device on atlas7 provides hardware assistance
>> for sy
2015-05-23 6:44 GMT+08:00 Suman Anna :
> Hi Barry,
>
> On 05/19/2015 01:41 AM, Barry Song wrote:
>> From: Wei Chen
>>
>> The Hardware Spinlock device on atlas7 provides hardware assistance
>> for synchronization between the multiple processors in the system
>
: Bjorn Andersson
Signed-off-by: Wei Chen
Signed-off-by: Barry Song
---
.../devicetree/bindings/hwlock/sirf,hwspinlock.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/sirf,hwspinlock.txt
diff --git a/Documentation
From: Wei Chen
This patch moves to use generic dt-binding for hwspinlock providers and
clients.
add #hwlock-cells for the provider and hwlocks for clients.
Cc: Suman Anna
Cc: Bjorn Andersson
Signed-off-by: Wei Chen
Signed-off-by: Barry Song
---
arch/arm/boot/dts/atlas7.dtsi | 6 +++---
1
-by: Wei Chen
Signed-off-by: Barry Song
---
-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, Bjorn and Ohad
drivers/hwspinlock/Kconfig | 12
drivers
2015-05-07 2:13 GMT+08:00 Bjorn Andersson :
> On Wed, Mar 25, 2015 at 4:03 PM, Barry Song <21cn...@gmail.com> wrote:
>> From: Wei Chen
>>
>> Add hwspinlock support for the CSR atlas7 SoC.
>>
> [..]
>>
>> diff --git
>> a/Documentation/de
From: Wei Chen
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 bus Cortex-M3 and audio DSP).
Signed-off-by: Wei Chen
Signed-off-by: Barry
2015-03-09 14:11 GMT+08:00 Barry Song <21cn...@gmail.com>:
> From: Wei Chen
>
> 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
&g
From: Wei Chen
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 bus Cortex-M3 and audio DSP).
Signed-off-by: Wei Chen
Signed-off-by: Barry
2015-03-07 21:42 GMT+08:00 Paul Bolle :
> 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
>> +
From: Wei Chen
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 bus Cortex-M3 and audio DSP).
Signed-off-by: Wei Chen
Signed-off-by: Barry
processors
could not be shutdown, if it would be shutdown, the Linux
should be shutdown too.
In above scenarios, we have make remoteproc to support
always on remote processor. This kind of remote processor
control its lifecycle by itself.
Signed-off-by: Wei Chen
Signed-off-by: Barry Song
table, and then request a same notifyid
in Linux side.
Signed-off-by: Wei Chen
Signed-off-by: Barry Song
---
drivers/remoteproc/remoteproc_core.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/drivers/remoteproc/remoteproc_core.c
b/drivers/remoteproc
ext+0x3d4c): undefined reference to `smp_on_up'
> arch/arm/kernel/built-in.o: In function `smp_setup_processor_id':
> :(.init.text+0x180): undefined reference to `smp_on_up'
>
> This removes the 'select' statement.
>
> Signed-off-by: Arnd Bergmann
> Fixe
2015-02-06 1:11 GMT+08:00 Mark Brown :
> 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 have been se
2015-01-15 17:05 GMT+08:00 kbuild test robot :
> 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: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Yibo
>
> -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
2015-01-13 22:27 GMT+08:00 Daniel Lezcano :
> 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':
>> clocksource/timer-m
arco: rename marco to atlas7"
against this commit.
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
Date: Sun, 11 J
2014-12-24 5:33 GMT+08:00 Fabio Estevam :
> 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'
> [-Wunused-variable]
>
> Signe
adaptive to external changes.
Signed-off-by: Yanchang Li
Signed-off-by: Barry Song
---
drivers/clocksource/timer-marco.c | 23 +--
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/drivers/clocksource/timer-marco.c
b/drivers/clocksource/timer-marco.c
index
2014-07-16 10:01 GMT+08:00 Huayi Li :
> 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
Reviewed-by: Barry Song
except that the commit log has not
2014-07-16 9:55 GMT+08:00 Huayi Li :
> 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 frequency rang
2014-07-16 9:55 GMT+08:00 Huayi Li :
> This patch adds missed pwm-cells, clock-names and signal source
> clock for PWM module.
>
> Signed-off-by: Huayi Li
Reviewed-by: Barry Song
> ---
> arch/arm/boot/dts/atlas6.dtsi | 8 ++--
> arch/arm/boot/dts/prima2.dtsi |
2014-07-16 9:55 GMT+08:00 Huayi Li :
> Signed-off-by: Huayi Li
Acked-by: Barry Song
> ---
> arch/arm/configs/prima2_defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/configs/prima2_defconfig
> b/arch/arm/configs/prima2_defconfig
> index
>> -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
>>
>
2014-05-30 2:25 GMT+08:00 Greg Kroah-Hartman :
> On Thu, May 29, 2014 at 08:14:02PM +0800, Barry Song wrote:
>> 2014-05-29 18:13 GMT+08:00 Daniel Thompson :
>> > After 07d410e0) serial: sirf: fix spinlock deadlock issue it is no longer
>> > possiblet to compile this d
2014-05-29 20:18 GMT+08:00 Barry Song :
> 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 mer
gt; Compile tested using ARM's multi_v7_defconfig
>
> Cc: Greg Kroah-Hartman
> Cc: Jiri Slaby
> Cc: Barry Song
> Cc: Qipan Li
> Cc: linux-ser...@vger.kernel.org
> Signed-off-by: Daniel Thompson
Qipan prepared a same patch to fix this. since you have sent,
Acked-by: B
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 wrote
2014-05-09 19:53 GMT+08:00 Linus Walleij :
> On Thu, May 1, 2014 at 2:29 PM, Barry Song wrote:
>> 2014-04-24 5:16 GMT+08:00 Linus Walleij :
>
>>> This rewrites the SIRF pinctrl driver to allocate a state container
>>> for the GPIO chip, just as is done for the p
2014-05-09 19:57 GMT+08:00 Linus Walleij :
> On Thu, May 1, 2014 at 2:40 PM, Barry Song wrote:
>> 2014-04-24 5:16 GMT+08:00 Linus Walleij :
>
>>> Instead of referring to a global static variable for the sgpio
>>> locking, use the state container to contain the lock
2014-05-22 19:27 GMT+08:00 Russell King - ARM Linux :
> 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 :
>> > On Tue, Apr 29, 2014 at 11:40:33PM +0800, Barry Song wrote:
>> >> 2014-04-29 23:14 GMT+
2014-05-22 17:33 GMT+08:00 Russell King - ARM Linux :
> 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 :
>> > On Tue, Apr 29, 2014 at 11:05:06PM +0800, Barry Song wrote:
>> >> 2014-04-28 22:52 GMT+
2014-05-19 8:29 GMT+08:00 Gioh Kim :
>
>
> 2014-05-18 오후 10:13, Barry Song 쓴 글:
>
>> 2014-05-15 13:39 GMT+08:00 Gioh Kim :
>>>
>>>
>>> Hi,
>>>
>>> My board is using Trustzone and running kernel is non-secure mode.
>>> But set
2014-05-15 10:49 GMT+08:00 Gioh Kim :
> 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 you read
401 - 500 of 561 matches
Mail list logo