From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752463AbbEAHnu (ORCPT ); Fri, 1 May 2015 03:43:50 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:33386 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750863AbbEAHnr (ORCPT ); Fri, 1 May 2015 03:43:47 -0400 X-Listener-Flag: 11101 From: Yingjoe Chen To: Mark Rutland , Matthias Brugger , Thomas Gleixner , Arnd Bergmann , Olof Johansson CC: Rob Herring , Pawel Moll , Ian Campbell , Russell King , Daniel Lezcano , Jason Cooper , Catalin Marinas , Yingjoe Chen , Marc Carino , Lorenzo Pieralisi , , , , , , Sascha Hauer Subject: [PATCH 0/7] Add SMP bringup support for mt65xx socs Date: Fri, 1 May 2015 15:43:23 +0800 Message-ID: <1430466210-22963-1-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add SMP brinup support for mediatek SoCs. This is based on v4.1-rc1. There are 2 similar but different SMP bringup up methods on Mediatek mt65xx and mt81xx. On MT8135 & MT8127, system boots with a trustzone firmware. Others, like MT6589, doesn't have trustzone, and run kernel directly in secure world. Patch 1~3 fix issues in mtk_timer(GPT) and enable arch timer support. Patch 4,5 add support for cpu enable-method "mediatek,mt65xx-smp" and "mediatek,mt81xx-tz-smp", which support Mediatek SMP bringup for non-TZ and TZ platform. Patch 6,7 finally enable SMP bringup for mt8135 and mt8127. Matthias Brugger (1): arm: mediatek: enable gpt6 on boot up to make arch timer working Yingjoe Chen (6): clocksource: mediatek: Don't run event_handler if it is NULL clocksource: mediatek: Use GPT as sched clock source devicetree: bindings: add new SMP enable method Mediatek SoC ARM: mediatek: add smp bringup code ARM: dts: mt8135: enable basic SMP bringup for mt8135 ARM: dts: mt8127: enable basic SMP bringup for mt8127 Documentation/devicetree/bindings/arm/cpus.txt | 2 + arch/arm/boot/dts/mt8127.dtsi | 16 +++ arch/arm/boot/dts/mt8135.dtsi | 16 +++ arch/arm/mach-mediatek/Makefile | 3 + arch/arm/mach-mediatek/mediatek.c | 29 +++++ arch/arm/mach-mediatek/platsmp.c | 145 +++++++++++++++++++++++++ drivers/clocksource/mtk_timer.c | 13 ++- 7 files changed, 223 insertions(+), 1 deletion(-) create mode 100644 arch/arm/mach-mediatek/platsmp.c