On Wed, Oct 17, 2018 at 05:50:33PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:30 AM Guo Ren wrote:
> >
> > This patch adds the documentation to describe that how to add cpu nodes in
> > dts for SMP.
> >
> > Signed-off-by: Guo Ren
> > Cc: Rob H
On Wed, Oct 17, 2018 at 05:46:56PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:06 AM Guo Ren wrote:
> >
> > This patch adds arch ptrace implementation, stack dump and bug.h.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> Review
On Wed, Oct 17, 2018 at 05:46:56PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:06 AM Guo Ren wrote:
> >
> > This patch adds arch ptrace implementation, stack dump and bug.h.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> Review
On Wed, Oct 17, 2018 at 05:24:36PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
>
> > +++ b/arch/csky/lib/delay.c
> > @@ -0,0 +1,39 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +// Copyright (C) 2018 Hangzhou C-SKY Micro
On Wed, Oct 17, 2018 at 05:24:36PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
>
> > +++ b/arch/csky/lib/delay.c
> > @@ -0,0 +1,39 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > +// Copyright (C) 2018 Hangzhou C-SKY Micro
On Wed, Oct 17, 2018 at 05:18:49PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds ELF definition and module relocate codes.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> >
On Wed, Oct 17, 2018 at 05:18:49PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds ELF definition and module relocate codes.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> >
On Wed, Oct 17, 2018 at 05:17:05PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds atomic, cmpxchg, spinlock files.
> >
> > Signed-off-by: Guo Ren
> > Cc: Peter Zijlstra
> > Cc: Andrea Parri
> &g
On Wed, Oct 17, 2018 at 05:17:05PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds atomic, cmpxchg, spinlock files.
> >
> > Signed-off-by: Guo Ren
> > Cc: Peter Zijlstra
> > Cc: Andrea Parri
> &g
On Wed, Oct 17, 2018 at 05:14:48PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds IRQ handling files.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
> > Cc: Thomas Glei
On Wed, Oct 17, 2018 at 05:14:48PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote:
> >
> > This patch adds IRQ handling files.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
> > Cc: Thomas Glei
On Wed, Oct 17, 2018 at 05:11:00PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to task_switch, sigcontext, signal,
> > fpu context switch.
> >
> > Signed-off-by: Guo Ren
> > C
On Wed, Oct 17, 2018 at 05:11:00PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to task_switch, sigcontext, signal,
> > fpu context switch.
> >
> > Signed-off-by: Guo Ren
> > C
On Wed, Oct 17, 2018 at 05:06:56PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to memory management and here is our
> > memory-layout:
> >
> >Fixmap : 0xffc02000 – 0xf000
On Wed, Oct 17, 2018 at 05:06:56PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to memory management and here is our
> > memory-layout:
> >
> >Fixmap : 0xffc02000 – 0xf000
On Wed, Oct 17, 2018 at 05:02:33PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to syscall.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> Reviewed-by: Arnd Bergmann
On Wed, Oct 17, 2018 at 05:02:33PM +0200, Arnd Bergmann wrote:
> On Tue, Oct 16, 2018 at 5:01 AM Guo Ren wrote:
> >
> > This patch adds files related to syscall.
> >
> > Signed-off-by: Guo Ren
> > Cc: Arnd Bergmann
>
> Reviewed-by: Arnd Bergmann
Hi Marc,
On Wed, Oct 17, 2018 at 09:29:45AM +0100, Marc Zyngier wrote:
> Hi Guo,
>
> On 17/10/18 02:55, Guo Ren wrote:
> > Hi Marc,
> >
> > On Tue, Oct 16, 2018 at 03:41:05PM +0100, Marc Zyngier wrote:
> >> Guo,
> >>
> >> On 16/10/18 15:08,
Hi Marc,
On Wed, Oct 17, 2018 at 09:29:45AM +0100, Marc Zyngier wrote:
> Hi Guo,
>
> On 17/10/18 02:55, Guo Ren wrote:
> > Hi Marc,
> >
> > On Tue, Oct 16, 2018 at 03:41:05PM +0100, Marc Zyngier wrote:
> >> Guo,
> >>
> >> On 16/10/18 15:08,
Hi Marc,
On Tue, Oct 16, 2018 at 03:41:05PM +0100, Marc Zyngier wrote:
> Guo,
>
> On 16/10/18 15:08, Guo Ren wrote:
> > This is about 13th patchset for C-SKY linux intc drivers and it should pair
> > with 9th kernel patchset. Timer drivers are seperated accordin
Hi Marc,
On Tue, Oct 16, 2018 at 03:41:05PM +0100, Marc Zyngier wrote:
> Guo,
>
> On 16/10/18 15:08, Guo Ren wrote:
> > This is about 13th patchset for C-SKY linux intc drivers and it should pair
> > with 9th kernel patchset. Timer drivers are seperated accordin
Dt-bindings doc about C-SKY Multi-processors interrupt controller.
Changelog:
- Should be: '#interrupt-cells' not 'interrupt-cells'
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/interrupt-controller/csky,mpintc.txt | 40 ++
1 file changed, 40
Dt-bindings doc about C-SKY Multi-processors interrupt controller.
Changelog:
- Should be: '#interrupt-cells' not 'interrupt-cells'
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/interrupt-controller/csky,mpintc.txt | 40 ++
1 file changed, 40
- Dt-bindings doc about C-SKY apb bus interrupt controller.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../interrupt-controller/csky,apb-intc.txt | 62 ++
1 file changed, 62 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt
- Dt-bindings doc about C-SKY apb bus interrupt controller.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../interrupt-controller/csky,apb-intc.txt | 62 ++
1 file changed, 62 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt
The driver is for C-SKY APB bus interrupt controller. It's a simple
interrupt controller which use pending reg to detect the irq and use
enable/disable reg to mask/unmask interrupt sources.
A lot of SOCs based on C-SKY CPU use the interrupt controller as root
controller.
Signed-off-by: Guo Ren
The driver is for C-SKY SMP interrupt controller. It support 16
soft-irqs, 16 private-irqs, and 992 max external-irqs, a total of
1024 interrupts.
C-SKY CPU 807/810/860 SMP/non-SMP could use it.
Signed-off-by: Guo Ren
Cc: Thomas Gleixner
Cc: Marc Zyngier
---
Changelog:
- Remove
The driver is for C-SKY APB bus interrupt controller. It's a simple
interrupt controller which use pending reg to detect the irq and use
enable/disable reg to mask/unmask interrupt sources.
A lot of SOCs based on C-SKY CPU use the interrupt controller as root
controller.
Signed-off-by: Guo Ren
The driver is for C-SKY SMP interrupt controller. It support 16
soft-irqs, 16 private-irqs, and 992 max external-irqs, a total of
1024 interrupts.
C-SKY CPU 807/810/860 SMP/non-SMP could use it.
Signed-off-by: Guo Ren
Cc: Thomas Gleixner
Cc: Marc Zyngier
---
Changelog:
- Remove
changelog.
Hope it could be merged into linux-4.20 and I'm very grateful to any help.
Guo Ren (4):
irqchip: add C-SKY SMP interrupt controller
dt-bindings: interrupt-controller: C-SKY SMP intc
irqchip: add C-SKY APB bus interrupt controller
dt-bindings: interrupt-controller: C-SK
changelog.
Hope it could be merged into linux-4.20 and I'm very grateful to any help.
Guo Ren (4):
irqchip: add C-SKY SMP interrupt controller
dt-bindings: interrupt-controller: C-SKY SMP intc
irqchip: add C-SKY APB bus interrupt controller
dt-bindings: interrupt-controller: C-SK
ow abiv2 gcc ABI for dword access.
abiv1 couldn't support __get_user_dword now.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/uaccess.h | 140
1 file changed, 56 insertions(+), 84 deletions(-)
diff --git a/arch/csky/include/asm/uaccess
ow abiv2 gcc ABI for dword access.
abiv1 couldn't support __get_user_dword now.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/uaccess.h | 140
1 file changed, 56 insertions(+), 84 deletions(-)
diff --git a/arch/csky/include/asm/uaccess
Add a maintainer information for the csky(C-SKY) architecture.
Signed-off-by: Guo Ren
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d870cb5..9dac20e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3211,6 +3211,15 @@ T: git git
Add a maintainer information for the csky(C-SKY) architecture.
Signed-off-by: Guo Ren
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d870cb5..9dac20e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3211,6 +3211,15 @@ T: git git
Add csky vendor definition.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor
Add csky vendor definition.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation/devicetree/bindings/vendor
This patch adds csky registers' definition, bitops, byteorder,
asm-offsets codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/reg_ops.h | 27 +++
arch/csky/abiv1/inc/abi/regdef.h | 26 ++
arch/csky/abiv2/inc/abi/reg_ops.h | 17
This patch adds the documentation to describe that how to add cpu nodes in
dts for SMP.
Signed-off-by: Guo Ren
Cc: Rob Herring
---
Changelog:
- Add compatible.
- Remove status part.
---
---
Documentation/devicetree/bindings/csky/cpus.txt | 73 +
1 file changed, 73
This patch adds csky registers' definition, bitops, byteorder,
asm-offsets codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/reg_ops.h | 27 +++
arch/csky/abiv1/inc/abi/regdef.h | 26 ++
arch/csky/abiv2/inc/abi/reg_ops.h | 17
This patch adds the documentation to describe that how to add cpu nodes in
dts for SMP.
Signed-off-by: Guo Ren
Cc: Rob Herring
---
Changelog:
- Add compatible.
- Remove status part.
---
---
Documentation/devicetree/bindings/csky/cpus.txt | 73 +
1 file changed, 73
This patch adds boot, ipi, hotplug codes for SMP.
Signed-off-by: Guo Ren
Cc: Marc Zyngier
Cc: Mark Rutland
Cc: Peter Zijlstra
Cc: Arnd Bergmann
---
Changelog:
- Use PER_CPU_DEFINE for ipi_data.
- Remove unused variable and add static for enable_smp_ipi().
- Add comment to explain pass
This patch adds boot, ipi, hotplug codes for SMP.
Signed-off-by: Guo Ren
Cc: Marc Zyngier
Cc: Mark Rutland
Cc: Peter Zijlstra
Cc: Arnd Bergmann
---
Changelog:
- Use PER_CPU_DEFINE for ipi_data.
- Remove unused variable and add static for enable_smp_ipi().
- Add comment to explain pass
This patch adds arch ptrace implementation, stack dump and bug.h.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/bug.h | 26 +++
arch/csky/include/uapi/asm/ptrace.h | 104
arch/csky/kernel/dumpstack.c| 66
arch/csky/kernel/ptrace.c
This patch adds arch ptrace implementation, stack dump and bug.h.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/bug.h | 26 +++
arch/csky/include/uapi/asm/ptrace.h | 104
arch/csky/kernel/dumpstack.c| 66
arch/csky/kernel/ptrace.c
The patch adds "user access from kernel" codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/uaccess.h | 416
arch/csky/lib/usercopy.c| 262 +
2 files changed, 678 insertions(+)
create m
The patch adds "user access from kernel" codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/uaccess.h | 416
arch/csky/lib/usercopy.c| 262 +
2 files changed, 678 insertions(+)
create m
This patch adds string optimize codes and some auxiliary codes.
Signed-off-by: Chen Linfei
Signed-off-by: Mao Han
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Use bt instead of jbt in asm, jbt will cause relocation problem.
- remove kernel/platform.c
---
---
arch/csky/abiv1
This patch adds string optimize codes and some auxiliary codes.
Signed-off-by: Chen Linfei
Signed-off-by: Mao Han
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Use bt instead of jbt in asm, jbt will cause relocation problem.
- remove kernel/platform.c
---
---
arch/csky/abiv1
This patch adds ELF definition and module relocate codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/elf.h | 26
arch/csky/abiv2/inc/abi/elf.h | 43
arch/csky/include/asm/elf.h | 85 +++
arch/csky
This patch adds ELF definition and module relocate codes.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/elf.h | 26
arch/csky/abiv2/inc/abi/elf.h | 43
arch/csky/include/asm/elf.h | 85 +++
arch/csky
This patch adds IRQ handling files.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
Cc: Thomas Gleixner
---
Changelog:
- Use CONFIG_GENERIC_IRQ_MULTI_HANDLER
---
---
arch/csky/include/asm/irqflags.h | 49
arch/csky/kernel/irq.c | 22
This patch adds files related to task_switch, sigcontext, signal,
fpu context switch.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code.
Use FPE_FLTUNK instead.
- abiv2/fpu.c: Use force_sig_fault instead
2100.armlinux.org.uk/
Signed-off-by: Guo Ren
Cc: Christoph Hellwig
Cc: Arnd Bergmann
---
Changelog:
- fixup pfn_valid(pfn) compile error for modules.
- fixup compile warning for CONFIG_DEBUG_HIGHMEM.
- fixup module compile error for EXPORT_SYMBOL(empty_zero_page).
- dma-mapping: fix up dma_map
This patch adds IRQ handling files.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
Cc: Thomas Gleixner
---
Changelog:
- Use CONFIG_GENERIC_IRQ_MULTI_HANDLER
---
---
arch/csky/include/asm/irqflags.h | 49
arch/csky/kernel/irq.c | 22
This patch adds files related to task_switch, sigcontext, signal,
fpu context switch.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- abiv2/fpu.c: Userspace should never be sent NSIGXXX as a si_code.
Use FPE_FLTUNK instead.
- abiv2/fpu.c: Use force_sig_fault instead
2100.armlinux.org.uk/
Signed-off-by: Guo Ren
Cc: Christoph Hellwig
Cc: Arnd Bergmann
---
Changelog:
- fixup pfn_valid(pfn) compile error for modules.
- fixup compile warning for CONFIG_DEBUG_HIGHMEM.
- fixup module compile error for EXPORT_SYMBOL(empty_zero_page).
- dma-mapping: fix up dma_map
This patch adds files related to syscall.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/syscall.h | 71 +
arch/csky/include/asm/syscalls.h| 15
arch/csky/include/uapi/asm/unistd.h | 10 ++
arch/csky/kernel/syscall.c
This patch adds files related to VDSO and our VDSO only support
rt_sigreturn.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/vdso.h | 17 +
arch/csky/abiv2/inc/abi/vdso.h | 23 +++
arch/csky/include/asm/vdso.h | 12 ++
arch/csky/kernel/vdso.c
This patch adds files related to syscall.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/include/asm/syscall.h | 71 +
arch/csky/include/asm/syscalls.h| 15
arch/csky/include/uapi/asm/unistd.h | 10 ++
arch/csky/kernel/syscall.c
This patch adds files related to VDSO and our VDSO only support
rt_sigreturn.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/abiv1/inc/abi/vdso.h | 17 +
arch/csky/abiv2/inc/abi/vdso.h | 23 +++
arch/csky/include/asm/vdso.h | 12 ++
arch/csky/kernel/vdso.c
This patch adds cache and tlb sync codes for abiv1 & abiv2.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- fixup module compile error for EXPORT_SYMBOL(cache_wbinv_range).
- tlb.h & cacheflush.h:
fix flush_cache_range and tlb_start_vma of abiv1 in
flush_cache_r
This patch adds cache and tlb sync codes for abiv1 & abiv2.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- fixup module compile error for EXPORT_SYMBOL(cache_wbinv_range).
- tlb.h & cacheflush.h:
fix flush_cache_range and tlb_start_vma of abiv1 in
flush_cache_r
This patch adds atomic, cmpxchg, spinlock files.
Signed-off-by: Guo Ren
Cc: Peter Zijlstra
Cc: Andrea Parri
Cc: Arnd Bergmann
---
Changlog:
- SMP supported
- ticklock supported
- queue-rwlock supported
---
---
arch/csky/include/asm/atomic.h | 212 +
arch
This patch adds atomic, cmpxchg, spinlock files.
Signed-off-by: Guo Ren
Cc: Peter Zijlstra
Cc: Andrea Parri
Cc: Arnd Bergmann
---
Changlog:
- SMP supported
- ticklock supported
- queue-rwlock supported
---
---
arch/csky/include/asm/atomic.h | 212 +
arch
This patch adds exception handling code, cpuinfo and mm-fault code.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Fixup r15 may used by unalignment access and remove r1.
---
---
arch/csky/abiv1/alignment.c | 326 +
arch/csky/abiv1/inc/abi
This patch adds exception handling code, cpuinfo and mm-fault code.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Fixup r15 may used by unalignment access and remove r1.
---
---
arch/csky/abiv1/alignment.c | 326 +
arch/csky/abiv1/inc/abi
This patch adds Makefile, Kconfig for build infrastructure.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- make allmodconfig is OK.
- Use BUILTIN_DTB as string, remove bool define for compile.
- Add xor.h in asm/Kbuild
- Add compat.h in asm/Kbuild.
- Add select DMA_DIRECT_OPS
This patch add boot code. Thx boot params is all in dtb and it's
the only way to let kernel get bootloader param information.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Use built-in dtb when dtb param is NULL.
- Add dummy console for allmodconfig.
---
---
arch/csky/kernel
This patch add boot code. Thx boot params is all in dtb and it's
the only way to let kernel get bootloader param information.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- Use built-in dtb when dtb param is NULL.
- Add dummy console for allmodconfig.
---
---
arch/csky/kernel
This patch adds Makefile, Kconfig for build infrastructure.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
Changelog:
- make allmodconfig is OK.
- Use BUILTIN_DTB as string, remove bool define for compile.
- Add xor.h in asm/Kbuild
- Add compat.h in asm/Kbuild.
- Add select DMA_DIRECT_OPS
cleanup Kconfig and Makefile.
423d97e csky: cancel subdirectories
cae2af4 csky: use asm-generic/fcntl.h
Guo Ren (21):
csky: Build infrastructure
csky: defconfig
csky: Kernel booting
csky: Exception handling and mm-fault
csky: System Call
csky: Cache and TLB routines
csky: MMU and
This patch adds csky defconfig.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/configs/defconfig | 61 +
1 file changed, 61 insertions(+)
create mode 100644 arch/csky/configs/defconfig
diff --git a/arch/csky/configs/defconfig b/arch/csky
cleanup Kconfig and Makefile.
423d97e csky: cancel subdirectories
cae2af4 csky: use asm-generic/fcntl.h
Guo Ren (21):
csky: Build infrastructure
csky: defconfig
csky: Kernel booting
csky: Exception handling and mm-fault
csky: System Call
csky: Cache and TLB routines
csky: MMU and
This patch adds csky defconfig.
Signed-off-by: Guo Ren
Cc: Arnd Bergmann
---
arch/csky/configs/defconfig | 61 +
1 file changed, 61 insertions(+)
create mode 100644 arch/csky/configs/defconfig
diff --git a/arch/csky/configs/defconfig b/arch/csky
Dt-bindings doc for gx6605s SOC's system timer.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/timer/csky,gx6605s-timer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644
Documentation/devicetree/bindings/timer/csky,gx6605s
.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
Changelog:
- pass checkpatch.pl
- Add COMIPLE_TEST in Kconfig
- no cast is needed for "struct clock_event_device *ce = dev"
- remove: extra space after (u64)
- Add License and Copyright
- Use timer-of framework
- Change name with upstrea
Dt-bingdings doc for C-SKY SMP system setting.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
Changelog:
- Drop the interrupt-parent.
---
---
.../devicetree/bindings/timer/csky,mptimer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 Documentation
.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
Changelog:
- pass checkpatch.pl
- Add COMIPLE_TEST in Kconfig
- no cast is needed for "struct clock_event_device *ce = dev"
- remove: extra space after (u64)
- Add License and Copyright
- Use timer-of framework
- Change name with upstrea
Dt-bingdings doc for C-SKY SMP system setting.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
Changelog:
- Drop the interrupt-parent.
---
---
.../devicetree/bindings/timer/csky,mptimer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 Documentation
Dt-bindings doc for gx6605s SOC's system timer.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/timer/csky,gx6605s-timer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644
Documentation/devicetree/bindings/timer/csky,gx6605s
The driver is for C-SKY SMP timer. It only support oneshot event
and 32bit overflow for clocksource. Per cpu core has one timer and
all timers share one clock-counter-input the same clocksource.
This use mfcr instructions to access the regs.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
The driver is for C-SKY SMP timer. It only support oneshot event
and 32bit overflow for clocksource. Per cpu core has one timer and
all timers share one clock-counter-input the same clocksource.
This use mfcr instructions to access the regs.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
Hi Daniel,
On Sun, Oct 14, 2018 at 10:38:36PM +0200, Daniel Lezcano wrote:
> On 14/10/2018 18:26, Guo Ren wrote:
> Thanks Guo,
>
> the descriptions look ok for the timer part. Can you resend the DT
> bindings + timers patches separately with the commit log updated ?
Ok, immediat
Hi Daniel,
On Sun, Oct 14, 2018 at 10:38:36PM +0200, Daniel Lezcano wrote:
> On 14/10/2018 18:26, Guo Ren wrote:
> Thanks Guo,
>
> the descriptions look ok for the timer part. Can you resend the DT
> bindings + timers patches separately with the commit log updated ?
Ok, immediat
Hi Daniel,
Thx for reply and review.
On Sat, Oct 13, 2018 at 10:50:34PM +0200, Daniel Lezcano wrote:
> On 12/10/2018 14:02, Guo Ren wrote:
> > This is about 12th patchset for C-SKY linux drivers and it should pair
> > with 8th kernel patchset.
>
> Guo,
>
> I'm
Hi Daniel,
Thx for reply and review.
On Sat, Oct 13, 2018 at 10:50:34PM +0200, Daniel Lezcano wrote:
> On 12/10/2018 14:02, Guo Ren wrote:
> > This is about 12th patchset for C-SKY linux drivers and it should pair
> > with 8th kernel patchset.
>
> Guo,
>
> I'm
Hi Marc,
Thx for the review.
On Fri, Oct 12, 2018 at 12:09:52PM +0100, Marc Zyngier wrote:
> On 12/10/18 05:42, Guo Ren wrote:
> > This patch adds boot, ipi, hotplug code for SMP.
> > +static struct {
> > + unsigned long bits cacheline_aligned;
> > +} ipi_data[N
Hi Marc,
Thx for the review.
On Fri, Oct 12, 2018 at 12:09:52PM +0100, Marc Zyngier wrote:
> On 12/10/18 05:42, Guo Ren wrote:
> > This patch adds boot, ipi, hotplug code for SMP.
> > +static struct {
> > + unsigned long bits cacheline_aligned;
> > +} ipi_data[N
On Fri, Oct 12, 2018 at 06:35:51AM -0500, Rob Herring wrote:
> On Fri, Oct 12, 2018 at 12:42:53PM +0800, Guo Ren wrote:
> > This patch adds the documentation to describe that how to add cpu nodes in
> > dts for SMP.
> >
> > Signed-off-by: Guo Ren
> > Cc: Rob He
On Fri, Oct 12, 2018 at 06:35:51AM -0500, Rob Herring wrote:
> On Fri, Oct 12, 2018 at 12:42:53PM +0800, Guo Ren wrote:
> > This patch adds the documentation to describe that how to add cpu nodes in
> > dts for SMP.
> >
> > Signed-off-by: Guo Ren
> > Cc: Rob He
Dt-bingdings doc for C-SKY SMP system setting.
Changelog:
- Drop the interrupt-parent.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../devicetree/bindings/timer/csky,mptimer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 Documentation
Dt-bingdings doc for C-SKY SMP system setting.
Changelog:
- Drop the interrupt-parent.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../devicetree/bindings/timer/csky,mptimer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 Documentation
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
drivers/clocksource/Kconfig | 8 ++
drivers/clocksource/Makefile| 1 +
drivers/clocksource/timer-gx6605s.c | 154
3 files changed, 163 insertions(+)
create mode 100644 drivers/clocksource/timer
Dt-bindings doc for gx6605s SOC's system timer.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/timer/csky,gx6605s-timer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644
Documentation/devicetree/bindings/timer/csky,gx6605s
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
drivers/clocksource/Kconfig | 8 ++
drivers/clocksource/Makefile| 1 +
drivers/clocksource/timer-gx6605s.c | 154
3 files changed, 163 insertions(+)
create mode 100644 drivers/clocksource/timer
Dt-bindings doc for gx6605s SOC's system timer.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../bindings/timer/csky,gx6605s-timer.txt | 42 ++
1 file changed, 42 insertions(+)
create mode 100644
Documentation/devicetree/bindings/timer/csky,gx6605s
CPUHP_AP_CSKY_TIMER_STARTING.
- Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h.
- Support csky mp timer alpha version.
- Just use low-counter with 32bit width as clocksource.
- Coding convention with upstream feed-back.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
drivers/clocksource/Kconfig
CPUHP_AP_CSKY_TIMER_STARTING.
- Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h.
- Support csky mp timer alpha version.
- Just use low-counter with 32bit width as clocksource.
- Coding convention with upstream feed-back.
Signed-off-by: Guo Ren
Cc: Daniel Lezcano
---
drivers/clocksource/Kconfig
- Dt-bindings doc about C-SKY apb bus interrupt controller.
Signed-off-by: Guo Ren
Reviewed-by: Rob Herring
---
.../interrupt-controller/csky,apb-intc.txt | 62 ++
1 file changed, 62 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt
301 - 400 of 1253 matches
Mail list logo