From patchwork Mon Oct 8 12:50:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81A0516B1 for ; Mon, 8 Oct 2018 12:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7148028AD3 for ; Mon, 8 Oct 2018 12:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6515728B09; Mon, 8 Oct 2018 12:54:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C78EF28AD3 for ; Mon, 8 Oct 2018 12:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5V+Jt7UM5gfnPtOHbSvP1vQXlMs0PzLPYaq++2pm3iE=; b=aX4ADpQqSAzoiUIEecL2a1Fhk+ MtiTl6qPwZGOLBhnXRx7vK8a7XLGfEZ6Ru3zuabb70JWsqRjpN1h7MerYwnXdYIUzTNuLNsPdJK1a pIBcGWzOnV+eRMSGz1IKRXZ4DSmGXBWUk/p1qu3eEmWpiGVEqfNG0UXz7leNdnKT1tx+kXel+bYQO tlRnH9ngDut6uGIqreHpoAi7BPLSPWHm1Q/SmEmRHr8wa/zgDn8QuDt555e3olfxjjQPL5RsCk9bd ZFNwqQU68e/m9dg1+O7z8shM3+bz64rlG/SzERv0MuPfhFeIRdY8viFlYgubhVrv+aRVFhZ2XW9W/ RDvSlJPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V32-0005N1-RB; Mon, 08 Oct 2018 12:54:08 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003t5-KW for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:51:54 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125048euoutp014a0d12f7bb8dc315a43a4603cfe32a45~box5Bo2fj1891918919euoutp01Z; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181008125048euoutp014a0d12f7bb8dc315a43a4603cfe32a45~box5Bo2fj1891918919euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003048; bh=PGPFJzJpmURqr/aQZntB233XqnYePEIvAeWG3Km56PI=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=jI+mt7WH4aCnwyDgeeKxliFIUgvD//IvsiXFPIsa43YfqkKIjpSLeEm1095KG7Jfz E+4epUC6SLcBz6t47MmcPifUBp6PUUC0szxZamx0DAzFLgyZxjl8B9m0W2WRYRXdMm N3r8to2+CJJek5Tk+EXyT5qGQC2z2dQNjnchBlsI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125047eucas1p1df616ca4698694aacea53e84a545af55~box4cyxIj1752717527eucas1p1Y; Mon, 8 Oct 2018 12:50:47 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id D5.21.04806.7A25BBB5; Mon, 8 Oct 2018 13:50:47 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37~box3wpAIt0610606106eucas1p1P; Mon, 8 Oct 2018 12:50:46 +0000 (GMT) X-AuditID: cbfec7f5-79db79c0000012c6-7c-5bbb52a73cda Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id BB.99.04284.6A25BBB5; Mon, 8 Oct 2018 13:50:46 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:46 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] clocksource: exynos_mct: Remove dead code Date: Mon, 08 Oct 2018 14:50:03 +0200 Message-id: <20181008125009.3721-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djPc7rLg3ZHGzzZw2axccZ6Vov3y3oY La5/ec5qMe+zrMWk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2yVwZbRvmc5YcJSt4uGSO0wNjFtYuxg5OSQETCS+LvrP2MXIxSEksIRRYv7C9awQThOTxMZr E9hAqtgEDCW63naB2SIC2RLz93azg9jMAkuYJW7edwCxhQXsJI7cnwVWwyKgKrF8wTswm1fA RmLq0lVMENvkJVZvOMAMYnMK2Eo86VrFAmILAdX0Tr/IOoGRZwEjwypGkdTS4tz03GJDveLE 3OLSvHS95PzcTYzAQNx27OfmHYyXNgYfYhTgYFTi4Q3w2xUtxJpYVlyZe4hRgoNZSYRXdDtQ iDclsbIqtSg/vqg0J7X4EKM0B4uSOO95g8ooIYH0xJLU7NTUgtQimCwTB6dUA2PRqQfr2P7/ nr3Y111m76+PGtJir05u+9rmc+hRwZPXFbNmzJeatkni0a8fh0qZuq31vB1WdX9cYNMhLbe7 rvb5lmf82nGxm4s2H5c8nilws+GVXtbemEL5zStNnRm3hFxpu/RogbLs8ZW+q2LzlJ9e1vjG xfRW9+8sjofLzyXP5NvQw2vpyWesxFKckWioxVxUnAgA8PjnVEACAAA= X-CMS-MailID: 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125046eucas1p1e0304c8c22a4ac128a8e507c86442a37 References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055103_850066_C2A088BC X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos Multi-Core Timer driver is used only on device-tree based systems, so remove non-dt related code. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- drivers/clocksource/exynos_mct.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 7a244b681876..43b335ff4a96 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -581,11 +581,7 @@ static int __init mct_init_dt(struct device_node *np, unsigned int int_type) * timer irqs are specified after the four global timer * irqs are specified. */ -#ifdef CONFIG_OF nr_irqs = of_irq_count(np); -#else - nr_irqs = 0; -#endif for (i = MCT_L0_IRQ; i < nr_irqs; i++) mct_irqs[i] = irq_of_parse_and_map(np, i); From patchwork Mon Oct 8 12:50:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2FD9316B1 for ; Mon, 8 Oct 2018 12:55:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EF2C28AD3 for ; Mon, 8 Oct 2018 12:55:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1398628B09; Mon, 8 Oct 2018 12:55:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2806128AD3 for ; Mon, 8 Oct 2018 12:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hhxFAxQbIvrdDO7O1MsEd8Fekr5g7mUzToH8Ouc6JMw=; b=pBjzj+cjwz0uHhqTmLlGYlYAlM 6/onTiPNsY+d82mWct7RTK5FZJsy7fIUfQUEQBme7bGowubqUUVp1LLMh+kzJ1Kw4ZJEQ/tcBbJ1T VOrwLmZM6BFLUDPFzxtENvMMSt7ff9bvn3x/E7/MWmkCOcPNQ6ZFEwXwh2JhHsHxPAxhjr1dKsI8X bSIwTbHfOK5rslZpMD2PVLls2h03m1KlnvKFbbaN3e0uh0LGGrUzqvDoUqDxkB2XD0uvlIjGaLxBW RiQ6V91d1vGbdTS7JyprtY1rtD0V02tDLCW00FeOoUBmkhTYAderxcW6oX6sDZehX7etm++cGzcih fITzQ+UQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V4X-0007Eq-2V; Mon, 08 Oct 2018 12:55:41 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003tU-Lo for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:52:11 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125048euoutp01805b39279356fb59c71f2ce4922185f6~box5vXuK71950819508euoutp01g; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181008125048euoutp01805b39279356fb59c71f2ce4922185f6~box5vXuK71950819508euoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003048; bh=+hlh6tcQhN7aktr3PJyjEvqOPWD+APolECBd/LiiVuk=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=syefbeFE6shxjMvHMs4yRtVe3XwrpOGmll2KMMybPzwoBpNzTOcW8QvVFcC6kBUGb KvE/BULhkIaF5iBPlwpzWWT6GQA58dMmenvz6RVSAfqMqv64V8yZw7WjZd5JC0Wpa+ Jq/7WiaFYqzthopZD6rqbmOKi0ISvrOzQloZ0ktA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125048eucas1p2ba6913438382cbc9dca1e7e368bcd0bc~box5RIL3T1695716957eucas1p2q; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 1E.D2.04441.7A25BBB5; Mon, 8 Oct 2018 13:50:47 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125047eucas1p23e520d778ad5f18aba57b21641d4cb4c~box4c4pET1877418774eucas1p2n; Mon, 8 Oct 2018 12:50:47 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-b8-5bbb52a7ea54 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 43.39.04128.7A25BBB5; Mon, 8 Oct 2018 13:50:47 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:47 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] clocksource: exynos_mct: Add arch_timer cooperation mode for ARM64 Date: Mon, 08 Oct 2018 14:50:04 +0200 Message-id: <20181008125009.3721-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsWy7djP87rLg3ZHG/zttLTYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4MjZt+MBYsEiqYt3Xo0wNjOtFuxg5OSQETCS+TPrO1MXIxSEksIJRYsqFhcwQzmdGiVnb j7PDVM0/uIUJxBYSWMYoMeNZCkRRA5NE148FYEVsAoYSXW+72EBsEYFsic7HDxhBbGaBRcwS B44Jg9jCApESD6evYwGxWQRUJe7vuAdm8wrYSEz9eJ8JYpm8xOoNB5hBbE4BW4knXatYQJZJ COxhk3g2czErRJGLxJeXZ6CuE5Z4dXwLlC0jcXlyN1RDM6NE+4xZ7BBOD6PE1jk72CCqrCUO H7/ICnEen8SkbdOB1nEAxXklOtqEIEwPiU27zSG+nMAocXzLTfYJjJILGBlWMYqnlhbnpqcW G+allusVJ+YWl+al6yXn525iBEbz6X/HP+1g/Hop6RCjAAejEg/vyoBd0UKsiWXFlbmHGCU4 mJVEeEW3A4V4UxIrq1KL8uOLSnNSiw8x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e520d778ad5f18aba57b21641d4cb4c X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125047eucas1p23e520d778ad5f18aba57b21641d4cb4c References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055103_952790_43CE95E4 X-CRM114-Status: GOOD ( 19.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP To get ARM Architected Timers working on Samsung Exynos SoCs, one has to first configure and enable Exynos Multi-Core Timer, because they both share some common hardware blocks. This patch adds a mode of cooperation with arch_timer driver, so kernel can use CP15 based timer interface via arch_timer driver, which is mandatory on ARM64. In such mode driver only configures MCT registers and starts the timer but don't register any clocksource or events in the system. Those are left to be handled by arch_timer driver. Signed-off-by: Marek Szyprowski --- drivers/clocksource/exynos_mct.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 43b335ff4a96..05b201ed8ef5 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -57,6 +57,7 @@ #define TICK_BASE_CNT 1 enum { + MCT_INT_NONE = 0, MCT_INT_SPI, MCT_INT_PPI }; @@ -238,6 +239,9 @@ static int __init exynos4_clocksource_init(void) { exynos4_mct_frc_start(); + if (!mct_int_type) + return 0; + #if defined(CONFIG_ARM) exynos4_delay_timer.read_current_timer = &exynos4_read_current_timer; exynos4_delay_timer.freq = clk_rate; @@ -343,6 +347,9 @@ static struct irqaction mct_comp_event_irq = { static int exynos4_clockevent_init(void) { + if (!mct_int_type) + return 0; + mct_comp_device.cpumask = cpumask_of(0); clockevents_config_and_register(&mct_comp_device, clk_rate, 0xf, 0xffffffff); @@ -476,12 +483,12 @@ static int exynos4_mct_starting_cpu(unsigned int cpu) irq_force_affinity(evt->irq, cpumask_of(cpu)); enable_irq(evt->irq); - } else { + } else if (mct_int_type == MCT_INT_PPI) { enable_percpu_irq(mct_irqs[MCT_L0_IRQ], 0); } - clockevents_config_and_register(evt, clk_rate / (TICK_BASE_CNT + 1), - 0xf, 0x7fffffff); - + if (mct_int_type) + clockevents_config_and_register(evt, + clk_rate / (TICK_BASE_CNT + 1), 0xf, 0x7fffffff); return 0; } @@ -496,7 +503,7 @@ static int exynos4_mct_dying_cpu(unsigned int cpu) if (evt->irq != -1) disable_irq_nosync(evt->irq); exynos4_mct_write(0x1, mevt->base + MCT_L_INT_CSTAT_OFFSET); - } else { + } else if (mct_int_type == MCT_INT_PPI) { disable_percpu_irq(mct_irqs[MCT_L0_IRQ]); } return 0; @@ -529,7 +536,7 @@ static int __init exynos4_timer_resources(struct device_node *np, void __iomem * &percpu_mct_tick); WARN(err, "MCT: can't request IRQ %d (%d)\n", mct_irqs[MCT_L0_IRQ], err); - } else { + } else if (mct_int_type == MCT_INT_SPI) { for_each_possible_cpu(cpu) { int mct_irq = mct_irqs[MCT_L0_IRQ + cpu]; struct mct_clock_event_device *pcpu_mevt = @@ -573,6 +580,15 @@ static int __init mct_init_dt(struct device_node *np, unsigned int int_type) mct_int_type = int_type; + if (IS_ENABLED(CONFIG_ARM64) && IS_ENABLED(CONFIG_ARM_ARCH_TIMER)) { + struct device_node *np = of_find_compatible_node(NULL, NULL, + "arm,armv8-timer"); + if (np) { + mct_int_type = MCT_INT_NONE; + of_node_put(np); + } + } + /* This driver uses only one global timer interrupt */ mct_irqs[MCT_G0_IRQ] = irq_of_parse_and_map(np, MCT_G0_IRQ); From patchwork Mon Oct 8 12:50:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3439517E3 for ; Mon, 8 Oct 2018 12:52:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24A3928EAF for ; Mon, 8 Oct 2018 12:52:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1873028F30; Mon, 8 Oct 2018 12:52:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5062428EAF for ; Mon, 8 Oct 2018 12:52:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5eBbqESKmN9Y7tdI7j6REI/iuezrmHJh4ip/BglZkA0=; b=oxvqhq+80aAjl0b6Be57H5EMK6 MkdIYkSACRbfR58k7z1dqsl0iuXb6wg8yANidSq2KUjEvHK5psW73OhbZZDZrsSVwr4i2FEr7Xg3U Vq0s1L2CRtQz7vVK/N6/FrHD4jJd49gM6E8KxQAaV5As9od1TXx2a6UF5pS4Yjuyvk4Va6Er6Wbx1 YJLK7ES20KA3amj/VYCyETivMRSHfS1HgBA3w4h8N+ZA46T/a7d7yXDP5vNgmMJRsGiCUrS6EW69v ilxOdXnbUIeLcoN/xLIEn7CMub0ffFJy61YP7vk+J80nN2jpg3jIZRtyWq+JHuZoE9jsUnpPgfFqU OJx+4ofw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V16-0004Us-3v; Mon, 08 Oct 2018 12:52:08 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003tq-Cl for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:51:19 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125049euoutp01af3fff127173199688547e65b3517604~box6QBgx81980719807euoutp01d; Mon, 8 Oct 2018 12:50:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181008125049euoutp01af3fff127173199688547e65b3517604~box6QBgx81980719807euoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003049; bh=SqgyLIV0hBByoky6Htvls+J5HVFVLMXn1k+1uAPMkUU=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Y95NNLQX/eQqg4PDgzWSAXFWrldox3r1ojhOqdjJINRL+XwLEw75jSOp9P4tt/NwG ls95SibDtKcAsSVaqVjMIvmXkJOrvtu9BC66aokjmPuNMp03j3BdfgMtZkwcuwJgj5 SwGFS9l2kEnGz9gBzrpaQtSoFB+13gdCTYr4g/sM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125048eucas1p1ad65ca804e9f28e996a4eb4cb42366d9~box5u6nex0610606106eucas1p1U; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 2F.D2.04441.8A25BBB5; Mon, 8 Oct 2018 13:50:48 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125047eucas1p1bbd0c4759612b6df8fbe25f759e03130~box5AE1zW0610606106eucas1p1S; Mon, 8 Oct 2018 12:50:47 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-bb-5bbb52a8f29f Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9D.99.04284.7A25BBB5; Mon, 8 Oct 2018 13:50:47 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:47 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] clocksource: Change CPU hotplug priority of exynos_mct driver Date: Mon, 08 Oct 2018 14:50:05 +0200 Message-id: <20181008125009.3721-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDIsWRmVeSWpSXmKPExsWy7djP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sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4Mha8amcseM9e8WQxZwPjC7YuRk4OCQETiQX7zjN2MXJxCAksYZR43jKdBcJpYpK4um43 I0gVm4ChRNfbLrAOEYFsifl7u9lBbGaBJcwSN+87gNjCAiES+xvPg9WzCKhKTH65mRnE5hWw kVh25xjUNnmJ1RsOgMU5BWwlnnStYgGxhYBqeqdfZJ3AyLOAkWEVo0hqaXFuem6xoV5xYm5x aV66XnJ+7iZGYBhuO/Zz8w7GSxuDDzEKcDAq8fAG+O2KFmJNLCuuzD3EKMHBrCTCK7odKMSb klhZlVqUH19UmpNafIhRmoNFSZz3vEFllJBAemJJanZqakFqEUyWiYNTqoHR+rOf1anFgROX O30z3jGFwUV804fr3eXpyYKCs//P57C4YaCS3TqfPVpJrrZZ2iriv7U2197DMj9dtfM1b7y5 3vmicfrvjZPfiVXVxewQlJzyPHDD8tMFFcxCZ4Pad623WilglyzKXsq52Ix3Xe4Wf6YlO37d 1n10bGbAdEvulGtNO+M7ff2VWIozEg21mIuKEwEs3xaxPwIAAA== X-CMS-MailID: 20181008125047eucas1p1bbd0c4759612b6df8fbe25f759e03130 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125047eucas1p1bbd0c4759612b6df8fbe25f759e03130 References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055103_609968_CD4A725F X-CRM114-Status: GOOD ( 14.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos Multi-Core Timer driver (exynos_mct) must be started before ARM Architected Timers (arch_timer), because both timers share common hardware block and turning on MCT is needed to get ARM Architected Timer working properly. Signed-off-by: Marek Szyprowski Acked-by: Krzysztof Kozlowski --- include/linux/cpuhotplug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h index caf40ad0bbc6..5d9e4a6ea299 100644 --- a/include/linux/cpuhotplug.h +++ b/include/linux/cpuhotplug.h @@ -115,10 +115,10 @@ enum cpuhp_state { CPUHP_AP_PERF_ARM_ACPI_STARTING, CPUHP_AP_PERF_ARM_STARTING, CPUHP_AP_ARM_L2X0_STARTING, + CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING, CPUHP_AP_ARM_ARCH_TIMER_STARTING, CPUHP_AP_ARM_GLOBAL_TIMER_STARTING, CPUHP_AP_JCORE_TIMER_STARTING, - CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING, CPUHP_AP_ARM_TWD_STARTING, CPUHP_AP_QCOM_TIMER_STARTING, CPUHP_AP_ARMADA_TIMER_STARTING, From patchwork Mon Oct 8 12:50:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630679 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0914414DB for ; Mon, 8 Oct 2018 12:57:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC66728AD4 for ; Mon, 8 Oct 2018 12:57:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E075428B1B; Mon, 8 Oct 2018 12:57:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 784F828AD4 for ; Mon, 8 Oct 2018 12:57:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=1xbu4LQyoKt5tC3/2G+T7Zbo18FlTHtvUeatVY1cyWI=; b=bpmfuCzQB5zfDPR+CIPxcv9YgD vOzxVcoYqjKTicfyjKg4LKe/dmtnjrg9kU9DXhk7H6ius6xQ3KtRQx/IElXMfBNthYnCsL8RynbPJ CVyo4hAfv+8Jg7rCU02pwkjZYggVLlBtKy904u4g9fKFqz7lGVaqTl9ijWktAYoo2gHMRMDT562Rc 5F81iBZJmd2JQ3jwZTarF0Kv0LLWpq3UxKVzgaw22prVoosjLBJ79dFl/o5MfspYc4Ea/oXZ80DMg nF8wIok7nT2AVl+UapFgZxF+w++TwV7rdL6mxwogxtv504KRjpg76pH8ZwOUU1PMjxUU2cTrShhXH 6dwFUIdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V5q-0007tz-NE; Mon, 08 Oct 2018 12:57:02 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003uH-QY for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:52:31 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125049euoutp01f8e1d9ad897bdf8c59b4561fe9d5aaf7~box62aSo91950919509euoutp01c; Mon, 8 Oct 2018 12:50:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181008125049euoutp01f8e1d9ad897bdf8c59b4561fe9d5aaf7~box62aSo91950919509euoutp01c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003050; bh=u6Fux9B2+gCCVTDUtsb3Uk1X1p5dp09XsTAiT796EMU=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=f0l1ajDBjczHRJtWiAwBiGGYoZVR8neWNvm6sYGD/V3lfbicY9NlR8DhNrF8/vJzg iGF/KihBv1KfOfSh/hwNiVwxHWx8PIrMnn7cfq+mZOfABGB884h1sZjNETZEKagWBV qZEJ338ZKfL4sMLDE5Mou/a5QD2ilaeIUB53UBJw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125049eucas1p262f8e181df7030cb7ae556e8678702af~box6TP2_60784307843eucas1p2n; Mon, 8 Oct 2018 12:50:49 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 78.21.04806.8A25BBB5; Mon, 8 Oct 2018 13:50:49 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125048eucas1p229a94c202596ddd0a65009c15d9e3001~box5elyRs1879418794eucas1p2r; Mon, 8 Oct 2018 12:50:48 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-85-5bbb52a8a3c7 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C4.39.04128.8A25BBB5; Mon, 8 Oct 2018 13:50:48 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:48 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] clocksource: arch_timer: Add support for not-fw-configured timer on ARM64 Date: Mon, 08 Oct 2018 14:50:06 +0200 Message-id: <20181008125009.3721-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djP87org3ZHG7yYwGSxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZUxZdoSx4LJ4xcnDAg2M74S7GDk5JARMJB5tnMbSxcjFISSwglFi8uz9rBDOZ0aJ859+ MsJU7f18CapqGaPEhatfoKoamCR+NW1jAqliEzCU6HrbxQZiiwhkS3Q+fgDWzSywiFniwDGw fcICCRKvN81jBrFZBFQlfu9pBrN5BWwkti7tg9omL7F6wwGwOKeArcSTrlVgmyUE9rBJtK7a ywpR5CKx/9A/ZghbWOLV8S3sELaMxOXJ3VANzYwS7TNmsUM4PYwSW+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gxVT dvR6Hz3Gt/3yHj7hxLehFgdleiY88zAr/3ttTnBkhZnKgZTzT/oOiMxZkn5ZeNayZ1wGX/fc Oliucahy8uy9J+oktt6SfXt/yeXnSizFGYmGWsxFxYkA/YrTkz8CAAA= X-CMS-MailID: 20181008125048eucas1p229a94c202596ddd0a65009c15d9e3001 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125048eucas1p229a94c202596ddd0a65009c15d9e3001 References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055104_124977_A3966B37 X-CRM114-Status: GOOD ( 19.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use common infrastructure for ARM Architected Timers erratum to enable support for systems with broken CPU firmware (timer registers not properly configured). This mode has been already availabled on ARM (32bits) architecture. This enables to run Linux kernel on ARM64 boards using physical architected timers instead of the virtual ones. Examples of such system with broken firmware are Samsung Exynos5433 SoC based TM2(e) boards, which is already deployed for years and updating firmware is not possible. Signed-off-by: Marek Szyprowski --- drivers/clocksource/Kconfig | 11 +++++++++++ drivers/clocksource/arm_arch_timer.c | 15 ++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index a11f4ba98b05..a30752579b03 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -364,6 +364,17 @@ config ARM64_ERRATUM_858921 The workaround will be dynamically enabled when an affected core is detected. +config ARCH_TIMER_REGISTERS_NOT_FW_CONFIGURED + bool "Workaround for arch timer registers not configured by firmware" + default y + select ARM_ARCH_TIMER_OOL_WORKAROUND + depends on ARM_ARCH_TIMER && ARM64 + help + This option enables a workaround for boards, on which arch timer + registers are not properly configured by the board firmware. + The workaround will be dynamically enabled when an affected + board is detected. + config ARM_GLOBAL_TIMER bool "Support for the ARM global timer" if COMPILE_TEST select TIMER_OF if OF diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 9a7d4dc00b6e..b6f109654daf 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -423,6 +423,14 @@ static const struct arch_timer_erratum_workaround ool_workarounds[] = { .read_cntvct_el0 = arm64_1188873_read_cntvct_el0, }, #endif +#ifdef CONFIG_ARCH_TIMER_REGISTERS_NOT_FW_CONFIGURED + { + .match_type = ate_match_dt, + .id = "arm,cpu-registers-not-fw-configured", + .desc = "broken CPU firmware (timer registers not configured)", + .read_cntvct_el0 = arch_counter_get_cntpct, + }, +#endif }; typedef bool (*ate_match_fn_t)(const struct arch_timer_erratum_workaround *, @@ -1234,9 +1242,10 @@ static int __init arch_timer_of_init(struct device_node *np) * If we cannot rely on firmware initializing the timer registers then * we should use the physical timers instead. */ - if (IS_ENABLED(CONFIG_ARM) && - of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) - arch_timer_uses_ppi = ARCH_TIMER_PHYS_SECURE_PPI; + if (of_property_read_bool(np, "arm,cpu-registers-not-fw-configured")) + arch_timer_uses_ppi = IS_ENABLED(CONFIG_ARM64) ? + ARCH_TIMER_PHYS_NONSECURE_PPI : + ARCH_TIMER_PHYS_SECURE_PPI; else arch_timer_uses_ppi = arch_timer_select_ppi(); From patchwork Mon Oct 8 12:50:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630665 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1CDA16B1 for ; Mon, 8 Oct 2018 12:52:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFB1128EE2 for ; Mon, 8 Oct 2018 12:52:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D346D28F40; Mon, 8 Oct 2018 12:52:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 50A8228EE2 for ; Mon, 8 Oct 2018 12:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=scad3/Ow9kJJHKyLaebLafZqljpB2WHucj45Ja8n68c=; b=mgUqbdk6wDueiFMsHxVeFZaMtG qwdXU3RZHF5cz+A2lN4WvLGF/45tf805yFg0fikoVig6zpo6C8fQ6Mr/w1mCZwXWag9kolOb9RmSN Pqm21/gER92rbusSY6IkMJNA6RBF8Eln15fP5gUlTmMQYUlne23OuLspf6i3CtJLWsll+kVVyfnAe lydQMfIzxNryyZSom1AKv2/9PDKKjvJAzJn8/BcYLQRUllljCQi2jeZiKAoTcBH//RIC7fmcHcQKc kQm/594DiiPPnzGkhFYsHQeHjrsn4DYtq8Aq62s6rWdswuHWC9f0CSdQaPXmY2wkXsicECpHzxIVi T/HSHYAA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V1i-0004lp-AH; Mon, 08 Oct 2018 12:52:46 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003ua-H9 for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:51:32 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125050euoutp020968f58ab8f346ab0284cf40429cb403~box7gzKNu2691626916euoutp02i; Mon, 8 Oct 2018 12:50:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181008125050euoutp020968f58ab8f346ab0284cf40429cb403~box7gzKNu2691626916euoutp02i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003050; bh=oISHmxNdfGkbDwfrWiEytBWOAxw9HaS1HFlv7Fq2LTc=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=bU3OPpJSEbYwPuMDlATGQp+Ppk8SzLj14JB9ytagizmNrUihVaQdvVPk8cRsS+AA9 xBDo1ZOHnipx8eLId+MLWOj+4LYnhR5ZKm3zfY6uMGnToIZfh4iBcxHkbsrq3rfZkI lGjI7SJ9ykLJKVvHpmCYyjy79kcXSDm2Pz2D3QPk= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125049eucas1p1a8a02aef5ffee52919b11e3dbd27a0b3~box62mgYx1753817538eucas1p1s; Mon, 8 Oct 2018 12:50:49 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 79.1C.04294.9A25BBB5; Mon, 8 Oct 2018 13:50:49 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125049eucas1p21a186cd652f968a3609987d4dee2427f~box6CUtUg0782707827eucas1p2k; Mon, 8 Oct 2018 12:50:49 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-46-5bbb52a9674f Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 36.39.04128.8A25BBB5; Mon, 8 Oct 2018 13:50:49 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:48 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] arm64: dts: exynos: Move arch-timer node to right place Date: Mon, 08 Oct 2018 14:50:07 +0200 Message-id: <20181008125009.3721-6-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrIIsWRmVeSWpSXmKPExsWy7djP87org3ZHG+w6rGGxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlV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sT8vd1gcWaBJcwSN+87gNjCAj4Su1v+MIHYLAKqEs/7L4LV8wrY SOy+dpoNYpu8xOoNB5hBbE4BW4knXatYQGwhoJre6RdZJzDyLGBkWMUoklpanJueW2ykV5yY W1yal66XnJ+7iREYhtuO/dyyg7HrXfAhRgEORiUe3hUBu6KFWBPLiitzDzFKcDArifCKbgcK 8aYkVlalFuXHF5XmpBYfYpTmYFES5z1vUBklJJCeWJKanZpakFoEk2Xi4JRqYAz9duPYUjX/ dL+gtbKbJE7svq8z2W+O/o7bJjdvn+rcE8WjmGdt5bZ8k2Dg5f/VG1hu3Whoz/nJ4Jpw9kB6 4+SiuTwJbnHW36+rec54I3v0reny5G31uc53mGNf/jkwY4aps/1u3jqGy2cqa58m9cp3+eyc peok81l1xRMjg+MOLo1WHv5LFiuxFGckGmoxFxUnAgDTtbWmPwIAAA== X-CMS-MailID: 20181008125049eucas1p21a186cd652f968a3609987d4dee2427f X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125049eucas1p21a186cd652f968a3609987d4dee2427f References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055103_784396_0ACBAD8F X-CRM114-Status: GOOD ( 14.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Move ARM architected timer device-tree node to the beginning of 'soc' node, to group it together with other ARM CPU core devices (like PMU). Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 77297d66642c..eee3d1d1b52f 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -290,6 +290,18 @@ interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; }; + timer: timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + sysram@2020000 { compatible = "mmio-sram"; reg = <0x02020000 0x5c000>; @@ -1811,17 +1823,6 @@ }; }; - timer: timer { - compatible = "arm,armv8-timer"; - interrupts = , - , - , - ; - }; }; #include "exynos5433-bus.dtsi" From patchwork Mon Oct 8 12:50:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 905D816B1 for ; Mon, 8 Oct 2018 12:55:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DC2E28AD3 for ; Mon, 8 Oct 2018 12:55:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D39A28B09; Mon, 8 Oct 2018 12:55:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E64C828AD3 for ; Mon, 8 Oct 2018 12:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=3b8IF14eVw4shj4uWdIFFTGR1a7k9hFg9S3fUKy+BoI=; b=dVBRP3u1AL8zBU5S5PjGsLc8rn msVwF3B8g/zGxs0S/1MttIDweUrJtIGUA4ZfrKI9MenLKIO+FC8t7/WOhYXz12v/WXEz0PWfiaKM8 JfSWWZOpA1vLFMG2nEYHjOJBNLVBy+3eWBCll/uZqdZ8In85NnKk3oBU/yfK9SqB0lvkAT5x6U6Cm v5FVqbXmNK7bRnzvRI5utQOhor7ODrQwU/gh9cQt81Ie29DknrcgGmjKE4h2BkVfco9xMaeg+GFkW Prrg+pzBRrR8hmkv8dcyye9Y+YJoNQK45JBMe+ndpiuQy8I0Vxt7bqGZAsnAtdhqcvv/wluS8ZiOn Pjlylstw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V3f-0005f6-To; Mon, 08 Oct 2018 12:54:47 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003v5-Q8 for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:52:09 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125051euoutp025c035a297db0e9ba1eba9c840fc57dad~box8LGLYQ2691626916euoutp02k; Mon, 8 Oct 2018 12:50:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181008125051euoutp025c035a297db0e9ba1eba9c840fc57dad~box8LGLYQ2691626916euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003051; bh=vVM6CC5JF82bvFsbKaZtHMXQsiBL3UIIS0wEGFQbXQo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=rCn8PokzVH9Tx/L/t2pRwqrJy3f2dMSyzmwlSKDXnxBeT+eKembNf+6mbdeKuOEBo XUhgueVAmAIbHD2JY4v0E8foA2SzJdrBznS0ipzoCAd+6AIKKNyh6gltE/kytTMbBE SF9sKUSmecXYSAr6W+0x2sFdRRjdRJRVdOkbk75M= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125050eucas1p2aab3851201d1efb7be4b9b7bd9504ab0~box7mWxAD1878618786eucas1p2G; Mon, 8 Oct 2018 12:50:50 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 61.E2.04441.AA25BBB5; Mon, 8 Oct 2018 13:50:50 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125050eucas1p1caae30a4e791190e6c731816e36832ab~box64h10a1752717527eucas1p1d; Mon, 8 Oct 2018 12:50:50 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-c3-5bbb52aa3507 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A0.A9.04284.9A25BBB5; Mon, 8 Oct 2018 13:50:49 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:49 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] arm64: dts: exynos: Mark arch_timer device as not-fw-configured on TM2(e) Date: Mon, 08 Oct 2018 14:50:08 +0200 Message-id: <20181008125009.3721-7-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djPc7qrgnZHG7y/JWuxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZbz+t4qlYCFbxdVPU5kaGLewdjFyckgImEgsezOXuYuRi0NIYAWjROecp1DOZ0aJIwfn sMFU7ZhzkAkisYxR4ty+B2AJIYEGJonXXxJBbDYBQ4mut11gcRGBbInOxw8YQWxmgUXMEgeO CXcxcnAICyRINPw1AAmzCKhKzN1+EqycV8BGYvGGl+wQu+QlVm84wAxicwrYSjzpWsUCsldC YA+bxKd171ggilwkbn34AGULS7w6vgWqWUaiswPiUAmBZkaJ9hmz2CGcHkaJrXN2QL1jLXH4 +EVWiOv4JCZtm84Mcp2EAK9ER5sQhOkh8XaBP8TDExgl+mfvY5nAKLmAkWEVo3hqaXFuemqx YV5quV5xYm5xaV66XnJ+7iZGYCyf/nf80w7Gr5eSDjEKcDAq8fCuDNgVLcSaWFZcmXuIUYKD WUmEV3Q7UIg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181008125050eucas1p1caae30a4e791190e6c731816e36832ab X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125050eucas1p1caae30a4e791190e6c731816e36832ab References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055104_048502_551A3209 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP TM2(e) boards use old firmware, which some PCSI requirements and doesn't properly configure arch virtual timers, so add property indicating this state. This enables respective workarounds in the timer driver. Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 2606c2ab6456..ded0fb6c5936 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -1265,6 +1265,7 @@ }; &timer { + arm,cpu-registers-not-fw-configured; clock-frequency = <24000000>; }; From patchwork Mon Oct 8 12:50:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10630677 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76D7D14DB for ; Mon, 8 Oct 2018 12:56:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F54B28B1B for ; Mon, 8 Oct 2018 12:56:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02AF728B1D; Mon, 8 Oct 2018 12:56:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C022B28B09 for ; Mon, 8 Oct 2018 12:56:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-reply-to:Message-id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=B+uGpah/UJztZqt7dKM+14BX2pqHPXEMYDJJyzmltnM=; b=T2RgM1TLdQ8Hsn/vnhNrtbMEsj sSf9rnI4+aB3+8q8ZQsD8XTnbKw109VOX1C6FcX73Gguc0SKw99rMXUeMkyMmcF2DTPsQUYlwiruO n35u7IZZiacuY/PuxK3bxhhKt2ucZoBqt5IXT/Ky0vvwNYnGfFGH1kGmn2YVasLJKeJTgii+yYpfA HkGJp+D46+fu7MPhOkqt6W7ByPuJ7V7GGxQ3V3ciSiNPO33kBlPU4IUTuRqcXzl5bHt/431ceivmj Onn1w2YsU9a+4MHGk8C/W+FIoaZciZOWecs78n5gA/2jeMzlex7tgC6EbtxRayGkfMx+CM9IkNo2v sQMoMSHQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V5C-0007Xq-Ga; Mon, 08 Oct 2018 12:56:22 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9V03-0003vN-PM for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 12:52:20 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181008125052euoutp02ff594312c9b501219e40c8e49eb52305~box80ArmN2603426034euoutp02Z; Mon, 8 Oct 2018 12:50:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181008125052euoutp02ff594312c9b501219e40c8e49eb52305~box80ArmN2603426034euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539003052; bh=Dc2Hb6mBnlg8niGEf308TABPHOcuaLijU2lrM6USfRs=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=p3DLqI8W/uIchoLfaltrJaadPEusrVARkkpOZrmrQb7WADYw8XUhbEIuzO6UQ49vj 6cEY36Bw81McPneE4XPJJFhfa0pcTSTe69r6I1ap+iWjIVQg9CqKiEE/BWTeWsoJLX DHzMvuP7ZxY0Cksd0AuKnmRlbOa6Tc/yDrUpnlJ0= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181008125051eucas1p1a502fb1e4e9b28379d7c8544a7a513e4~box8V6Lgp1752717527eucas1p1f; Mon, 8 Oct 2018 12:50:51 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 2C.1C.04294.BA25BBB5; Mon, 8 Oct 2018 13:50:51 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181008125050eucas1p2da1c1ace904a331c149f5add71c72af2~box7n0Wy30355603556eucas1p2m; Mon, 8 Oct 2018 12:50:50 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-4e-5bbb52ab3e4e Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id F7.39.04128.AA25BBB5; Mon, 8 Oct 2018 13:50:50 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGA006EA6BYW230@eusync1.samsung.com>; Mon, 08 Oct 2018 13:50:50 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] arm64: platform: Add enable Exynos Multi-Core Timer driver Date: Mon, 08 Oct 2018 14:50:09 +0200 Message-id: <20181008125009.3721-8-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181008125009.3721-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsWy7djP87qrg3ZHG7R/47fYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4Mg63/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YwAixTF5i9YYDYDM5BWwlnnStglpsI9E7/SLrBEaeBYwMqxhFUkuLc9Nzi430ihNzi0vz 0vWS83M3MQKDcNuxn1t2MHa9Cz7EKMDBqMTDuyJgV7QQa2JZcWXuIUYJDmYlEV7R7UAh3pTE yqrUovz4otKc1OJDjNIcLErivOcNKqOEBNITS1KzU1MLUotgskwcnFINjBtS2652+MtuY67t 4rRye7Xrq+rRJVmyz6UnL0p0Elxsd+pv9/lsC2+LlJvn3dblrn27zWjatxuhournZJIX13s9 6NaLbhCaFLiAsd3VVvanZkritmVPJe8KLDG5u77x2ptPwbYK53N9lsbP6j2wPOC7hM7VTB3N 5J+ThNs3aj25fktL7sHj3UosxRmJhlrMRcWJAPAmntE+AgAA X-CMS-MailID: 20181008125050eucas1p2da1c1ace904a331c149f5add71c72af2 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181008125050eucas1p2da1c1ace904a331c149f5add71c72af2 References: <20181008125009.3721-1-m.szyprowski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_055104_086047_C8EFDB17 X-CRM114-Status: GOOD ( 14.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Marc Zyngier , Catalin Marinas , Daniel Lezcano , Will Deacon , Krzysztof Kozlowski , Inki Dae , Chanwoo Choi , Thomas Gleixner , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos MCT driver is required even if ARM Architected Timer driver is used to properly configure common timer hardware. Signed-off-by: Marek Szyprowski --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 51bc479334a4..7cc687580fad 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -62,6 +62,7 @@ config ARCH_BRCMSTB config ARCH_EXYNOS bool "ARMv8 based Samsung Exynos SoC family" select COMMON_CLK_SAMSUNG + select CLKSRC_EXYNOS_MCT select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS select EXYNOS_PMU select HAVE_S3C2410_WATCHDOG if WATCHDOG