Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4959853imm; Tue, 9 Oct 2018 07:43:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV61070oBxKhtMEyFzlVq/qH36KwXxzEX83nBKncPR7fUZ0S6WVwf88FII+M0cyRnvo4pUQCL X-Received: by 2002:a17:902:850b:: with SMTP id bj11-v6mr29503381plb.107.1539096194653; Tue, 09 Oct 2018 07:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539096194; cv=none; d=google.com; s=arc-20160816; b=qHXtGXPPEhSXZaFbpdDJppkjTp+lEBgIgSoBjE5XgUksN+8ZwUjSV+O1NLkvke71BZ AP3Q3Ty5M3TCq0iXD1DS4bxGqrWysIGfuf5W46wcjbs19iaiaF7e0ShgIZHsk2SaMQ5N filgkKXUc3Z+mthPGG62Vv8Q056x33yaVVhopPs7/NiPXdMx8tTP35LtvfxOowxAMvE7 nQQiUPxm4Qz3DbBg5m61f6H6ZjN/It6fTrQy1D2rqY9d37bkxS7AJwZtNXeSq8snUjmc 2kvAaCLmrBj4AaRQ3sd+pqKKu09Jnd9GQtHsavJFAE/SISBLKEMzJAZ4wqeQ//cVALfd FAsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Hq15rETXyNnN/gGGKPqjeiqvLElVxp3uRzXdi896XGg=; b=Zl+Di8cxX9Jz+JD04RDJOrfjg1/DdkMY0RypA9W8BeTYiAhcPfVYHIHgU0xMCnQnWM zAHFHJpwqI7lQXEev9wGGzpyx9dtzno2YT1hS6VOR05fZWjeA/PitoCUyAZcnapLSYbd iodewi2P9DfhiihqDgIX52Oyijq8O8ewzBeHEIxFsv/e6VGDB1w12+dY5Dsv5UpkieOY aM+qm2BM+Dn9/8lfdgyDTRW+GtjyO5Nlrxi5ggQwKSEZAtojzaJTlXj5MmCidHioKquY LwCSXMe3PdzGiPbeWBRzq/h6MuEDswUfr58JjnRPneYTbPNnq7OsWaj6u3GxQ4bUlGvc WJAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7-v6si13249917pgb.171.2018.10.09.07.43.00; Tue, 09 Oct 2018 07:43:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbeJIV7g (ORCPT + 99 others); Tue, 9 Oct 2018 17:59:36 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:41292 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbeJIV7g (ORCPT ); Tue, 9 Oct 2018 17:59:36 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.144517|-1;CH=green;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03299;MF=ren_guo@c-sky.com;NM=1;PH=DS;RN=14;RT=14;SR=0;TI=SMTPD_---.D.eYoiC_1539096105; Received: from localhost(mailfrom:ren_guo@c-sky.com fp:SMTPD_---.D.eYoiC_1539096105) by smtp.aliyun-inc.com(10.147.41.121); Tue, 09 Oct 2018 22:41:45 +0800 From: Guo Ren To: tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, robh+dt@kernel.org, mark.rutland@arm.com, daniel.lezcano@linaro.org, will.deacon@arm.com, jhogan@kernel.org, paul.burton@mips.com, peterz@infradead.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Guo Ren Subject: [PATCH V11 0/8] C-SKY(csky) Linux Kernel Driver Date: Tue, 9 Oct 2018 22:41:27 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is about 11th patchset for C-SKY linux drivers and it should pair with 8th kernel patchset. Changelog: - Convert the cpumask to an interrupt-controller specific representation in driver's code, and not the SMP code's, and also modify the related codes in csky kernel patchset. - Add COMPILE_TEST for csky_mp_timer. - Fixup smp boot error, cpuhp_setup_state must after timer_of_init() for csky_mp_timer. Any feedback is welcome, thx for all people review my patchset. Guo Ren (8): 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-SKY APB intc clocksource: add C-SKY SMP timer dt-bindings: timer: C-SKY Multi-processor timer clocksource: add gx6605s SOC system timer dt-bindings: timer: gx6605s SOC timer .../interrupt-controller/csky,apb-intc.txt | 62 +++++ .../bindings/interrupt-controller/csky,mpintc.txt | 40 +++ .../bindings/timer/csky,gx6605s-timer.txt | 42 ++++ .../devicetree/bindings/timer/csky,mptimer.txt | 42 ++++ drivers/clocksource/Kconfig | 18 ++ drivers/clocksource/Makefile | 2 + drivers/clocksource/timer-gx6605s.c | 154 ++++++++++++ drivers/clocksource/timer-mp-csky.c | 173 +++++++++++++ drivers/irqchip/Kconfig | 17 ++ drivers/irqchip/Makefile | 2 + drivers/irqchip/irq-csky-apb-intc.c | 274 +++++++++++++++++++++ drivers/irqchip/irq-csky-mpintc.c | 198 +++++++++++++++ include/linux/cpuhotplug.h | 1 + 13 files changed, 1025 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt create mode 100644 Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt create mode 100644 Documentation/devicetree/bindings/timer/csky,mptimer.txt create mode 100644 drivers/clocksource/timer-gx6605s.c create mode 100644 drivers/clocksource/timer-mp-csky.c create mode 100644 drivers/irqchip/irq-csky-apb-intc.c create mode 100644 drivers/irqchip/irq-csky-mpintc.c -- 2.7.4