linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guo Ren <ren_guo@c-sky.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com,
	robh+dt@kernel.org, mark.rutland@arm.com, will.deacon@arm.com,
	jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org,
	arnd@arndb.de, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH V12 0/8] C-SKY(csky) Linux Kernel Driver
Date: Mon, 15 Oct 2018 00:26:31 +0800	[thread overview]
Message-ID: <20181014162631.GA13374@guoren-Inspiron-7460> (raw)
In-Reply-To: <dfe56d38-cfa5-2be1-114e-c6721d6c92a3@linaro.org>

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 willing to take your timer related patches but you have to put a
> proper description.

Ok, I've improved all my comment for the drivers. Here is my modification:

commit 6b465856936cb8f7eda31b20eb59fb5c8a19d468
Author: Guo Ren <ren_guo@c-sky.com>
Date:   Tue Oct 2 16:43:18 2018 +0800

    clocksource: add gx6605s SOC system timer
    
    The driver is for gx6605s SOC system timer and there are two
    same timers in gx6605s. We use one for clkevt and another one for
    clksrc.
    
    The timer is mmio map to access, so we need give mmio address in dts.
    
    The counter at 0x0  offset is clock event.
    The counter at 0x40 offset is clock source.
    
    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 upstream feedback
     - Use clksource_mmio framework
    
    Signed-off-by: Guo Ren <ren_guo@c-sky.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>

commit d89522b23ff8f2d5b6f33200db110c758d28ecc1
Author: Guo Ren <ren_guo@c-sky.com>
Date:   Wed Sep 5 14:25:24 2018 +0800

    clocksource: add C-SKY SMP timer
    
    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&mtcr instructions to access the regs.
    
    Changelog:
     - Add COMPILE_TEST
     - Fixup smp boot error, cpuhp_setup_state must after timer_of_init()
     - Add rollback for timer_of_cleanup.
     - Use request_percpu_irq separate from time_of.
     - Remove #define 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 <ren_guo@c-sky.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>

===> It's interrupt controller comment, perhaps you won't care. <===

commit 65f4acd1df08c1c5ad1b0e8f46822b114c539f11
Author: Guo Ren <ren_guo@c-sky.com>
Date:   Sun Sep 16 15:57:14 2018 +0800

    irqchip: add C-SKY APB bus interrupt controller
    
    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.
    
    Changelog:
     - pass checkpatch.pl.
     - use "bool ret" instead of "int ret"
     - add support-pulse-signal in irq-csky-apb-intc.c
     - change name with upstream feed-back
     - add INTC_IFR to clear irq-pending
     - remove CSKY_VECIRQ_LEGENCY
     - change to generic irq chip framework
     - add License and Copyright
     - use irq_domain_add_linear instead of leagcy
    
    Signed-off-by: Guo Ren <ren_guo@c-sky.com>
    Cc: Mark Rutland <mark.rutland@arm.com>

commit ef790431a885d37766200c7968d47370ed8be251
Author: Guo Ren <ren_guo@c-sky.com>
Date:   Sun Sep 16 15:57:14 2018 +0800

    irqchip: add C-SKY SMP interrupt controller
    
    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.
    
    Changelog:
     - Remove set_ipi_irq_mapping.
     - Convert the cpumask to an interrupt-controller specific representation
       in driver's code, and not the SMP code's.
     - pass checkpatch.pl
     - Move IPI_IRQ into the driver
     - Remove irq_set_default_host() and use set_ipi_irq_mapping()
     - Change name with upstream feed-back
     - Change irq map, reserve soft_irq & private_irq space
     - Add License and Copyright
     - Support set_affinity for irq balance in SMP
    
    Signed-off-by: Guo Ren <ren_guo@c-sky.com>
    Cc: Marc Zyngier <marc.zyngier@arm.com>

Best Regards
 Guo Ren

  reply	other threads:[~2018-10-14 16:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-12 12:02 [PATCH V12 0/8] C-SKY(csky) Linux Kernel Driver Guo Ren
2018-10-12 12:02 ` [PATCH V12 1/8] irqchip: add C-SKY SMP interrupt controller Guo Ren
2018-10-12 12:02 ` [PATCH V12 2/8] dt-bindings: interrupt-controller: C-SKY SMP intc Guo Ren
2018-10-12 12:02 ` [PATCH V12 3/8] irqchip: add C-SKY APB bus interrupt controller Guo Ren
2018-10-12 12:12 ` [PATCH V12 4/8] dt-bindings: interrupt-controller: C-SKY APB intc Guo Ren
2018-10-12 12:12 ` [PATCH V12 5/8] clocksource: add C-SKY SMP timer Guo Ren
2018-10-12 12:12 ` [PATCH V12 6/8] dt-bindings: timer: C-SKY Multi-processor timer Guo Ren
2018-10-12 12:12 ` [PATCH V12 7/8] clocksource: add gx6605s SOC system timer Guo Ren
2018-10-12 12:12 ` [PATCH V12 8/8] dt-bindings: timer: gx6605s SOC timer Guo Ren
2018-10-13 20:50 ` [PATCH V12 0/8] C-SKY(csky) Linux Kernel Driver Daniel Lezcano
2018-10-14 16:26   ` Guo Ren [this message]
2018-10-14 20:38     ` Daniel Lezcano
2018-10-15  2:32       ` Guo Ren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181014162631.GA13374@guoren-Inspiron-7460 \
    --to=ren_guo@c-sky.com \
    --cc=arnd@arndb.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jason@lakedaemon.net \
    --cc=jhogan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=paul.burton@mips.com \
    --cc=peterz@infradead.org \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).