From patchwork Mon Oct 15 12:31: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: 148822 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3736806lji; Mon, 15 Oct 2018 05:31:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62KFicS/MCyult8EeHFTsDoGgMGcLxSjcA2E55p65c2jio1u2M07Mc0GS2sA1ymMXS5G87e X-Received: by 2002:a63:1122:: with SMTP id g34-v6mr15716520pgl.85.1539606699565; Mon, 15 Oct 2018 05:31:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606699; cv=none; d=google.com; s=arc-20160816; b=ZGi7PAQVyZ4lTpg6N0PNv5Da4vZFJ0/pLY0Aoexwy1TVbC7UMW/AnNoPnL9UE9z0nc q1rAUkaPLA57sGdCK/d+08IZRJKGab8N82fCdLizw2S/zNVX5nmrUVdr2CNotKcjf+C+ BM0EJSq8qDdcU2NOSk/uLrAaSupJzQgz75hmJ4ccrHcgYtBcghYxgK7W10oIOSGzECMT 7QIIUG6QuhOMT/3DjCLRu/tvsiLDc8TTeZviU/WHaQRzO86l7XQy3/cwZ596IVc77R2G X+pix+nheG8wkHakcI4pJq6NKHAa8WRbD0ddn1s5mlGidyLX5UkqQe6P0iX/11q2WOPM EeSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=hE4KIJfsgG80RlWzLC4i+vSpLTiGkNSGTs/k+EYthPI=; b=YazBipEHE8/LIvcbT6uK5TjRCgyn/IzcrHE+zhz1xmaPWlQ05VnylvYntP27f4XpMj X7D2qErZApFAXLdgq5h8Q5G89eFGmu3e+JP54iPeb22uxvLGOMTB+9LDNsas0AODZWss +6GNKgBbRgrfsVfmPOaYl0bSDf2wIZJMVPbyvg4MVyshKZGoYsVbTkyF8wVeab8VoJNI iTzNKFZpz41eQoNrUVhUpFY5qOSzzCo26+dxKUwatpfaMQz4puut2UgPD3+RQKlw4fR0 9LT5otSDknkQPTA2UKd1PB75ERDQX5V903EcgEWuR84GjsiGG6E1vjxrB/iGVsXzwVX0 1ijw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=phOC8a6d; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21-v6si10454373pgk.311.2018.10.15.05.31.39; Mon, 15 Oct 2018 05:31:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=phOC8a6d; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbeJOUQn (ORCPT + 3 others); Mon, 15 Oct 2018 16:16:43 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51529 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726515AbeJOUQm (ORCPT ); Mon, 15 Oct 2018 16:16:42 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181015123136euoutp01cdb676658468bcf30f9e1cf1b6ced1b4~dyCID2asL0673906739euoutp01u; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181015123136euoutp01cdb676658468bcf30f9e1cf1b6ced1b4~dyCID2asL0673906739euoutp01u DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539606696; bh=hE4KIJfsgG80RlWzLC4i+vSpLTiGkNSGTs/k+EYthPI=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=phOC8a6dSNWzc1Z2vqv+YrX8XXsKP2fi5rVT9pJnh+DUdkKAd36xiNy5QCaha3b12 v28+gioR+drxNV02sKQoqkN9tl4HweYIZ+HTlgFN87+eQo28I7B5srw5xA4d/mVYG9 g7zbkValw7R9pL7yTyQOpqMyJBkGOaLuYLZ+cgYY= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181015123135eucas1p12a3f2190d4541140d8affa3a1ec722cc~dyCHjB8Eb1989019890eucas1p1l; Mon, 15 Oct 2018 12:31:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 1C.22.04441.7A884CB5; Mon, 15 Oct 2018 13:31:35 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015123134eucas1p2bca15d1e0f54c0a580c04d9af7411f68~dyCG4vPtX3197531975eucas1p2d; Mon, 15 Oct 2018 12:31:34 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-eb-5bc488a72289 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 26.EE.04284.6A884CB5; Mon, 15 Oct 2018 13:31:34 +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 <0PGN00GZC4490K70@eusync1.samsung.com>; Mon, 15 Oct 2018 13:31:34 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae Subject: [PATCH v2 1/6] clocksource: exynos_mct: Remove dead code Date: Mon, 15 Oct 2018 14:31:07 +0200 Message-id: <20181015123112.9379-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181015123112.9379-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPIsWRmVeSWpSXmKPExsWy7djP87rLO45EG+z6yGexccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZVw9upet4CZ7xfndOxgbGDeydTFycEgImEgsuMrbxcjFISSwglFix9UNLBDOZ0aJA4fv scMU3frkBxFfxigxZc0FNgingUniXuMb1i5GTg42AUOJrrddbCC2iEC2ROfjB4wgNrPAImaJ A8eEQWxhAUeJH6vXMYHYLAKqEvu3HGIGsXkFbCRuLGljAbElBOQlVm84ABbnFLCVOPx/FdhF EgIH2CT+nN7FClHkInHi2xqoBmGJV8e3sEPYMhKdHQeZIBqaGSXaZ8xih3B6GCW2ztnBBlFl LXH4+EVWiPP4JCZtm84M8SevREebEESJh0RDy1RmiDcnMErMvjGZbQKj5AJGhlWM4qmlxbnp qcWGeanlesWJucWleel6yfm5mxiB0Xz63/FPOxi/Xko6xCjAwajEwyvAcyRaiDWxrLgy9xCj BAezkgivRMihaCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8y+ZtjBYSSE8sSc1OTS1ILYLJMnFw SjUwrngiyFQdZXpjJl9BzLGj1fbdkps31bTv1y3xOT25n6upRGfezaMm3R5z9p4QE8lZsPtW St2XBu0HEYLi1/tLZ13z5D079woTW8fxj9MD76pMnbSvwUA94Lyqw41e77BAjtfnN77QX+Sv K8l3j2P7vaSsJqPC2A0LvXe2hv/uWRK2T55bI/W7EktxRqKhFnNRcSIAjdF2qOICAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t/xy7rLOo5EGxx8pWWxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZVw9upet4CZ7xfndOxgbGDeydTFycEgImEjc+uTXxcjFISSwhFHi6K79TF2MnEBOE5NE xz4DEJtNwFCi620XG4gtIpAtMX9vNzuIzSywhFni5n0HEFtYwFHix+p1YL0sAqoS+7ccYgax eQVsJG4saWMBsSUE5CVWbzgAFucUsJU4/H8VC8QuG4kLx/4yTmDkWcDIsIpRJLW0ODc9t9hQ rzgxt7g0L10vOT93EyMwCLcd+7l5B+OljcGHGAU4GJV4eAV4jkQLsSaWFVfmHmKU4GBWEuGV CDkULcSbklhZlVqUH19UmpNafIhRmoNFSZz3vEFllJBAemJJanZqakFqEUyWiYNTqoExfFH7 DbEvARoRRi8E7hkLtWW6WJV4MITf+HLBZJnMVtMf5+5rr52b9WXKaoNCycbULlH9+90Mmed3 7FxfVherqJ2zflNCwJm9zPKtriGFZzW2bzi/NPVR1D6xSa9yNBInNv80bV67+fO8WZfEHWcb HJS5L/FaYa44k87Xr9eEVhR5fCu7sjZbiaU4I9FQi7moOBEAFHYTOT4CAAA= X-CMS-MailID: 20181015123134eucas1p2bca15d1e0f54c0a580c04d9af7411f68 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015123134eucas1p2bca15d1e0f54c0a580c04d9af7411f68 References: <20181015123112.9379-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Exynos Multi-Core Timer driver is used only on device-tree based systems, so remove non-dt related code. In case of !CONFIG_OF the code is anyway equal because of_irq_count() has a stub returning 0. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- drivers/clocksource/exynos_mct.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.1 Reviewed-by: Chanwoo Choi 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 15 12:31: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: 148823 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3736820lji; Mon, 15 Oct 2018 05:31:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Fyj3STNU2VLhg8CjLsCJCVfhhhPjoQlqZRh3uGrZgo5CT9aXF6Cl+4NBf0GazZc2cnno3 X-Received: by 2002:a17:902:6a4:: with SMTP id 33-v6mr16650780plh.11.1539606700910; Mon, 15 Oct 2018 05:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606700; cv=none; d=google.com; s=arc-20160816; b=H+WT0YC+9ADGevOBjPZvjoBbBqio7ncjuKv8MUnzBz5aVWqMSqDLEH/dnQLlhLvnu9 JvBnnyDrE05dHXBluvu+lgh+5PZKyJIqh804rSsdvORWMT83XTK+0eW45onjSG5vIR+V z9TVwGuzRT/+Qygjbn1UowHEg6120f9i44GknsrnyaFx7pCG3he4uhy5ne5N5KKcypNd xKjbdNvuY/Jv8RsDKret359pJNqIIJig7M4qNt7pXY05crxXY3Nxepuhp41DZZ56voND l7OF4Xa3wwkw0/PT2h2CrK/UDW7w5nAM7PlGk5eTdLDquYFXyUhDJho2ui7IcpSSYRGd UInw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=cse+VOAcgPmNGKk2EiPdVIoBwnoLUK7Ug9Nh0R0rQ0I=; b=dU/kgD5D41qzOO4dNnF7EdHvrkmCZW3/LrwrjunjGI/RM9b7/HMUPZfoHhh0q4onS5 rKBbvC+/eJfk5sig9Atuq1UnPU/sKFbA6GvJz0NiqqFjjlj3kVHKP+4YfveXuN0zrW5x bvY0hPqSqHGifrwhznoLeYTNhbvx8qgE+vAJ+Pdcp1ZpAko19gQQ0Q1R7ROu2CC3zxcS qUdBPF45aUvaepv9NC4+vYHAc0FDrU4RZ2CNygqiJJcW1XjW91Qi6cOZSJfa5vIIBcHI YHPM26+Rn3u2YfHu9zNsZPgQH36WHVE+y8VCiX7gtOd3yDWT+axY3oGYwu0p1nPvGxz8 lLGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hzieEwHK; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21-v6si10454373pgk.311.2018.10.15.05.31.40; Mon, 15 Oct 2018 05:31:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hzieEwHK; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbeJOUQo (ORCPT + 3 others); Mon, 15 Oct 2018 16:16:44 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51540 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbeJOUQm (ORCPT ); Mon, 15 Oct 2018 16:16:42 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181015123136euoutp01f8f16327ec9e5fcc6111a2bd66984e0b~dyCIhAdf20681706817euoutp01i; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181015123136euoutp01f8f16327ec9e5fcc6111a2bd66984e0b~dyCIhAdf20681706817euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539606696; bh=cse+VOAcgPmNGKk2EiPdVIoBwnoLUK7Ug9Nh0R0rQ0I=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=hzieEwHKdRa1jnW2qU+jETDgRm8gMH4DoyIeC76q2U5TE4YRGS5pVRBEpz20q8Mdp 8ePV+nAfQcqIBHUclhr5jxg6fbOLJ4QcRgoT/G7pyMmVv79w93J7lFScO4o6ZBtj93 Ua8Jl+YGefuIzjhpSh8j1bNx0S6XeM7MAngh8MlE= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015123136eucas1p23e5fa00af4b528e2e093ab9b12a19347~dyCIFpbMe2085720857eucas1p2f; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 6C.6F.04806.7A884CB5; Mon, 15 Oct 2018 13:31:35 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181015123135eucas1p18df135504c9476cead8da6463226cdec~dyCHW-NcF1986619866eucas1p1v; Mon, 15 Oct 2018 12:31:35 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-91-5bc488a7f632 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 17.DE.04128.7A884CB5; Mon, 15 Oct 2018 13:31:35 +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 <0PGN00GZC4490K70@eusync1.samsung.com>; Mon, 15 Oct 2018 13:31:35 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae Subject: [PATCH v2 2/6] clocksource: exynos_mct: Fix error path in timer resources initialization Date: Mon, 15 Oct 2018 14:31:08 +0200 Message-id: <20181015123112.9379-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181015123112.9379-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djP87rLO45EG5xsMrLYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4Mg4umcdY0M9VcWL2dvYGxoMcXYycHBICJhKz7k1i6mLk4hASWMEosXjuPmYI5zOjxKTJ 79lhqk7vXwaVWMYosXDaChYIp4FJYtvJ46wgVWwChhJdb7vYQGwRgWyJzscPGEFsZoFFzBIH jgmD2MICyRL3r68HinNwsAioSnzfB3YGr4CNxJ8v+1gglslLrN5wgBnE5hSwlTj8fxXYLgmB A2wSGyctYoMocpHYdqATyhaWeHV8C9SlMhKXJ3dDNTQzSrTPmMUO4fQwSmydswOqw1ri8PGL rBDX8UlM2jadGeQiCQFeiY42IYgSD4kJqxdCvTyBUeLJii+sExglFzAyrGIUTy0tzk1PLTbO Sy3XK07MLS7NS9dLzs/dxAiM59P/jn/dwbjvT9IhRgEORiUeXgGeI9FCrIllxZW5hxglOJiV RHglQg5FC/GmJFZWpRblxxeV5qQWH2KU5mBREuddNm9jtJBAemJJanZqakFqEUyWiYNTqoFx Q4hB4Hr2F2Hb9s/ac+164xyO3imO/zZUX06+9mnL7l8LnhU6zpx9dFftqW+atur39N66v9Pq fPX77LwtF1cLrPv9dklf7HvluPDWfYsdY5cIPSj8xxvL81vz+5mDNotm3DTMsFp+LuREtfbH twfW1OybufWLx7QMRum389fN7bu4hZu18uul8uVKLMUZiYZazEXFiQCf2oQb4wIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsVy+t/xy7rLO45EG3z6zm+xccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZRxcMo+xoJ+r4sTs7ewNjAc5uhg5OSQETCRO71/G3MXIxSEksIRR4smfW2wQThOTxOnr VxhBqtgEDCW63naxgdgiAtkS8/d2s4PYzAJLmCVu3ncAsYUFkiXuX18PVM/BwSKgKvF9H9gC XgEbiT9f9rFALJOXWL3hADOIzSlgK3H4/yqwuBBQzYVjfxknMPIsYGRYxSiSWlqcm55bbKRX nJhbXJqXrpecn7uJERiG24793LKDsetd8CFGAQ5GJR5eAZ4j0UKsiWXFlbmHGCU4mJVEeCVC DkUL8aYkVlalFuXHF5XmpBYfYpTmYFES5z1vUBklJJCeWJKanZpakFoEk2Xi4JRqYJxf3PB0 obOzjvIEf+8NS5eJrpundEyD5WHSpKuqU55+vZUtarC7zu+CzPED1pNXeJxZN3VTaErCxtj/ Dbnyobs9KjYtmTupR0SuuFTx8IP5uoLFr17+rX7RXax368eUq6XL9l8V3dX2nTv75o3GgvLi eAPj2M9Gn6Zk72f69uv4gX2cijySF74qsRRnJBpqMRcVJwIAH7huSz8CAAA= X-CMS-MailID: 20181015123135eucas1p18df135504c9476cead8da6463226cdec X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015123135eucas1p18df135504c9476cead8da6463226cdec References: <20181015123112.9379-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org While freeing interrupt handlers in error path, don't assume that all requested interrupts are per-processor interrupts and properly release standard interrupts too. Suggested-by: Krzysztof Kozlowski Fixes: 56a94f13919c ("clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier") Signed-off-by: Marek Szyprowski --- drivers/clocksource/exynos_mct.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) -- 2.17.1 Reported-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 43b335ff4a96..a379f11fad2d 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -562,7 +562,19 @@ static int __init exynos4_timer_resources(struct device_node *np, void __iomem * return 0; out_irq: - free_percpu_irq(mct_irqs[MCT_L0_IRQ], &percpu_mct_tick); + if (mct_int_type == MCT_INT_PPI) { + free_percpu_irq(mct_irqs[MCT_L0_IRQ], &percpu_mct_tick); + } else { + for_each_possible_cpu(cpu) { + struct mct_clock_event_device *pcpu_mevt = + per_cpu_ptr(&percpu_mct_tick, cpu); + + if (pcpu_mevt->evt.irq != -1) { + free_irq(pcpu_mevt->evt.irq, pcpu_mevt); + pcpu_mevt->evt.irq = -1; + } + } + } return err; } From patchwork Mon Oct 15 12:31: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: 148827 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3737225lji; Mon, 15 Oct 2018 05:32:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV63BDOkWekkOu7/dk9B4V5kbqdHe1s71ZaSBsIXQqo22ewXeFhwg+0Tog6bceyfvOXp7eNcR X-Received: by 2002:a62:fb04:: with SMTP id x4-v6mr17358863pfm.210.1539606723031; Mon, 15 Oct 2018 05:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606723; cv=none; d=google.com; s=arc-20160816; b=W+7t00sPLIwyQ1wPuxPRgGgIBCBOIpXaA2JVbGbhaRv9PiU6/dOIuMMTYOP7xIC7xP SJ7BMeWdlWmcoAnXuwypWQN9QNgFK9+tQMqcyAtW4Ta8y83ZPqrNF9X4m0l5YmlbelwJ /+VTB665InyGD4ZXd9wPjG4AdRc+p2DHbJohQXwArDY3ll72udiArYgX5EA6IlOrXagy MKryNVul4VunKGR4dQe4OyoRR1Gj7ASEcgiX9u0gwdTek4UFTonxe9+zfWJpo9byRouR OZgb8fNegWYv511Jg8dbnlKh6bxjkswIePCSspqLIKdDktojwVKHZWHdLI+T4DoDun75 7LlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=dLPRR3RFOQ7kx3DZxcRUOiHe8ffhAjgtdf+LPKBKU48=; b=LBJpIRNoHeVQVX2Jj0k2J+oKy6pk0eQMWg10OH8r0v+lovcPgg5MjxPw5GZBnxDpYU dX36p2MpGVTq/2+xTzE9gBq+iwDuGrY1ghoYpvoarHauRgWEJEejS76RCS8k+QHP6y+u 02qEQB+8aDBp1iqdCDBlwjQM9RZDwk/Zp2sygy5bSvOxTjHdtLB704vJLEMwVfL+amIg 3+9BG6voCX5zqqW1TiHsqiO5Ruv8SyyKPHph2V11r9sQiyTileVlibSkw7K7gIqnzpM/ FsM1v9prJYcZeO5F88xGG1Jh2YtgOkyQq7GAl67u0rbBp8lZYbxr5wZTJVSB/0c6NOQ9 z5Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hH+rmRAe; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1-v6si10307017pls.17.2018.10.15.05.32.02; Mon, 15 Oct 2018 05:32:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hH+rmRAe; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbeJOURG (ORCPT + 3 others); Mon, 15 Oct 2018 16:17:06 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:37110 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbeJOUQo (ORCPT ); Mon, 15 Oct 2018 16:16:44 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181015123137euoutp02959350a1d04b8d6962a3d0574a94aa65~dyCI95cyV0736707367euoutp02m; Mon, 15 Oct 2018 12:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181015123137euoutp02959350a1d04b8d6962a3d0574a94aa65~dyCI95cyV0736707367euoutp02m DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539606697; bh=dLPRR3RFOQ7kx3DZxcRUOiHe8ffhAjgtdf+LPKBKU48=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=hH+rmRAeBcnGYaAhI6Zj3nRvGl28IjbF0XOjv83X3GUp8K5EoTnR8kvb02F7g0bU9 NvntQs4UiCjq6r5G99XIakWC8lYsUd+JwQwkmzJESfovX/NRQmYm56jLtX35vgKbC3 nKAMcZ9Gtzr3ADd2b9tkWh+qduHROByTl20qJe/Q= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181015123136eucas1p1eac06665ec0f052d8220f51f63d43e26~dyCIlCOG_1204612046eucas1p1o; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 29.DE.04294.8A884CB5; Mon, 15 Oct 2018 13:31:36 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181015123135eucas1p16a10ed68040141a714ab2977e2ad5e2d~dyCH61tfm1990719907eucas1p1p; Mon, 15 Oct 2018 12:31:35 +0000 (GMT) X-AuditID: cbfec7f4-c77a99c0000010c6-2b-5bc488a893a4 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 98.DE.04128.7A884CB5; Mon, 15 Oct 2018 13:31:35 +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 <0PGN00GZC4490K70@eusync1.samsung.com>; Mon, 15 Oct 2018 13:31:35 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae Subject: [PATCH v2 3/6] clocksource: exynos_mct: Add arch_timer cooperation mode for ARM64 Date: Mon, 15 Oct 2018 14:31:09 +0200 Message-id: <20181015123112.9379-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181015123112.9379-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djPc7orOo5EGyy8KWqxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZcxefpi54IhyxeS2eWwNjHdluhg5OSQETCT+9n1m6mLk4hASWMEo8eDBbyaQhJDAZ0aJ G7/LYIpurJvNBhFfxijRucwboqGBSWLbyeOsIAk2AUOJrrddYEUiAtkSnY8fMILYzAKLmCUO HBMGsYUFYiR6HvxkBrFZBFQlDl/ZD1TDwcErYCNxfmsSxC55idUbDoCVcArYShz+v4oFZJeE wB42iXNdM9ggilwkfi3pZYewhSVeHd8CZctIXJ7cDdXQzCjRPmMWO4TTwyixdc4OqG5ricPH L7JCXMcnMWnbdGaQKyQEeCU62oQgSjwkXq9bwgbx5QRGiUMPFrNNYJRcwMiwilE8tbQ4Nz21 2CgvtVyvODG3uDQvXS85P3cTIzCWT/87/mUH464/SYcYBTgYlXh4BXiORAuxJpYVV+YeYpTg YFYS4ZUIORQtxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfZvI3RQgLpiSWp2ampBalFMFkmDk6p BsbVb1637b8+VSLlakmqk1PFop43elFCfJ1JHy/OKpG7LKz4dwGzZJ+41IxvXWxh32XkSzJ8 3IP1Cm2v7xG6lhagvoixzev199cuwlWCG1J+RPsV3RIvNxcwPWdzMu9t8M+4AG3jz2ZJW4K/ eORJ3LdyXxCTk5H2+up9rzJT/fqDrKpzLK+WK7EUZyQaajEXFScCADT6AJPhAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t/xy7rLO45EG3R/NbDYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4MmYvP8xccES5YnLbPLYGxrsyXYycHBICJhI31s1mA7GFBJYwSnx/qtLFyAVkNzFJnL5+ hREkwSZgKNH1tgusSEQgW2L+3m52EJtZYAmzxM37DiC2sECMRM+Dn8wgNouAqsThK/uBejk4 eAVsJM5vTYLYJS+xesMBsBJOAVuJw/9XsUDstZG4cOwv4wRGngWMDKsYRVJLi3PTc4uN9IoT c4tL89L1kvNzNzECg3DbsZ9bdjB2vQs+xCjAwajEwyvAcyRaiDWxrLgy9xCjBAezkgivRMih aCHelMTKqtSi/Pii0pzU4kOM0hwsSuK85w0qo4QE0hNLUrNTUwtSi2CyTBycUg2MJes2fr3b qLd82jKhkncfTr26OvOh3wnnGc7P33//q77kpO/WjlPLOWafUVx5/WJ9l0GtIuOhD7qdWVzz 7KfIMKSsbziyz027e8v1WauaorSuMXluE5U41Csw113Kre605kzDOl6lWw8/Pg66NuOpscu7 jDBpa53J1XzHr531YPhm+2df7xrVGCWW4oxEQy3mouJEAGHAIBs+AgAA X-CMS-MailID: 20181015123135eucas1p16a10ed68040141a714ab2977e2ad5e2d X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015123135eucas1p16a10ed68040141a714ab2977e2ad5e2d References: <20181015123112.9379-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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 | 52 +++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 17 deletions(-) -- 2.17.1 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index a379f11fad2d..06cd30a6d59a 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 = @@ -564,7 +571,7 @@ static int __init exynos4_timer_resources(struct device_node *np, void __iomem * out_irq: if (mct_int_type == MCT_INT_PPI) { free_percpu_irq(mct_irqs[MCT_L0_IRQ], &percpu_mct_tick); - } else { + } else if (mct_int_type == MCT_INT_SPI) { for_each_possible_cpu(cpu) { struct mct_clock_event_device *pcpu_mevt = per_cpu_ptr(&percpu_mct_tick, cpu); @@ -585,17 +592,28 @@ static int __init mct_init_dt(struct device_node *np, unsigned int int_type) mct_int_type = int_type; - /* This driver uses only one global timer interrupt */ - mct_irqs[MCT_G0_IRQ] = irq_of_parse_and_map(np, MCT_G0_IRQ); + 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); + } + } - /* - * Find out the number of local irqs specified. The local - * timer irqs are specified after the four global timer - * irqs are specified. - */ - nr_irqs = of_irq_count(np); - for (i = MCT_L0_IRQ; i < nr_irqs; i++) - mct_irqs[i] = irq_of_parse_and_map(np, i); + if (mct_int_type) { + /* This driver uses only one global timer interrupt */ + mct_irqs[MCT_G0_IRQ] = irq_of_parse_and_map(np, MCT_G0_IRQ); + + /* + * Find out the number of local irqs specified. The local + * timer irqs are specified after the four global timer + * irqs are specified. + */ + nr_irqs = of_irq_count(np); + for (i = MCT_L0_IRQ; i < nr_irqs; i++) + mct_irqs[i] = irq_of_parse_and_map(np, i); + } ret = exynos4_timer_resources(np, of_iomap(np, 0)); if (ret) From patchwork Mon Oct 15 12:31:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 148826 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3737014lji; Mon, 15 Oct 2018 05:31:52 -0700 (PDT) X-Google-Smtp-Source: ACcGV63O5UOeE1tJH2fHOjSo0XHtaynzrxMPIt4UDrrUT1H7HutFM88c/Tdaz+0H57KxUygbhgic X-Received: by 2002:a63:f448:: with SMTP id p8-v6mr15846505pgk.124.1539606712100; Mon, 15 Oct 2018 05:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606712; cv=none; d=google.com; s=arc-20160816; b=eLNdAjSDBLXeSXL9u1j9zGaOzgxgTdukeZIxfjqJDrOTuZ1KyS2B9C7dMTdcOa6B6i LnKEIBrTMvCtw7r6rZAD8+hJXJltt6vAHCErPI6C0Gcn4+DoDPxaBqn6mwwTEZADFbch 3vHKZNfZMOvCaAaUGUmWo1TqI5crsCu+aGKCU375XlcS3sMbHnEgGbHT+f7olEh/1of/ Y2Jng3ldmXlNMkhwmXz2uLz23yo27NMZzWwaIVlWYXaf+d8FmaVSlL03XMsSK/YjybW8 16rOYdPdoA2wmiqOJjG8paT3BW3f9c7OPzq9NyBNtIzhzMyY2c9YlEanm8l+mpt+MD2M vdsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=P5wI1ifO1zqgHAbKZBI+jz0znA3KVWd2lDiGG6h9IJ4=; b=unn0KvERcfErZ34q+6zCuBSXEk0udkupQT/snoyU0sOcNI7LuMJxTgBv2rOPHceIVv CnYWp6pDqUGjcK/3TN6AvnNKBwRvaTMKmZ+EJlp5uZldJbk5bPzDCy0hN/Tyl7DOLcQa LKeQyBtD+F/6wx73ZIIE50uyVDJqZ5Apcn42u5LTxDJM7gZTQqdI/tw+3nrWgYo5/Zy+ OD/sWmbIKBNpc7GI8aN9jESj+7KewkzlR+N/SKlUINGprrBHxOi7rgdu/J6oVm8B+MOn B4OEz6Rq3kR1fGL2CVN5msEPY4zPpBK7G3ZqVJC5Fbr97uE1WQesqKPs/wf+GXoblpGM YrgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hombqJbM; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w71-v6si10061776pgd.163.2018.10.15.05.31.51; Mon, 15 Oct 2018 05:31:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=hombqJbM; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726758AbeJOUQp (ORCPT + 3 others); Mon, 15 Oct 2018 16:16:45 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51555 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726627AbeJOUQo (ORCPT ); Mon, 15 Oct 2018 16:16:44 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181015123137euoutp01470b4f3fab724f194434fcfef1932e5d~dyCJmcZ3y0681706817euoutp01j; Mon, 15 Oct 2018 12:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181015123137euoutp01470b4f3fab724f194434fcfef1932e5d~dyCJmcZ3y0681706817euoutp01j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539606697; bh=P5wI1ifO1zqgHAbKZBI+jz0znA3KVWd2lDiGG6h9IJ4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=hombqJbMpm2Nq3hx1gOSsSkLA0w4la7ll3gdYPCljake9Yxwlnt0UvF30qP6yVQ/+ hPIcA/0Y97qIMv/AAdbUb5siuZi2fhOa40TiwC90i3QbFCdjsTe20P9uDjABPAN/mR gig/pH92huZObnnkLdBWMAYLQq/woxRJ8wEfg4EA= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181015123137eucas1p1c44665123538fb3d494118016cdc2416~dyCJL_lDU1988219882eucas1p1p; Mon, 15 Oct 2018 12:31:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id FD.6F.04806.8A884CB5; Mon, 15 Oct 2018 13:31:36 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015123136eucas1p2f7d4ae86ba3547b891749b01514cd335~dyCIYINp_3197531975eucas1p2e; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) X-AuditID: cbfec7f5-79db79c0000012c6-98-5bc488a81a6a Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C7.EE.04284.8A884CB5; Mon, 15 Oct 2018 13:31:36 +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 <0PGN00GZC4490K70@eusync1.samsung.com>; Mon, 15 Oct 2018 13:31:36 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae Subject: [PATCH v2 4/6] clocksource: Change CPU hotplug priority of exynos_mct driver Date: Mon, 15 Oct 2018 14:31:10 +0200 Message-id: <20181015123112.9379-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181015123112.9379-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsWy7djPc7orOo5EGxybYWaxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZbw/tYC9YAFHxZ6uyawNjFPYuxg5OSQETCS2LdjC2MXIxSEksIJRort9GTuE85lRYl/P B2aYqhN/J7BBJJYxSryacxjKaWCSWH57PitIFZuAoUTX2y42EFtEIFui8/EDRhCbWWARs8SB Y8IgtrBAuMShly1gU1kEVCXuzLwIdgevgI3EjOYTTBDb5CVWbzgAVsMpYCtx+P8qFpBlEgJ7 2CQuN32GOslFYva8bihbWOLV8S1QD8lIdHYcZIJoaGaUaJ8xix3C6WGU2DpnBxtElbXE4eMX WSHO45OYtG060CQOoDivREebEESJh8T0qRvASoQEJjBKNF3UmcAouYCRYRWjeGppcW56arFx Xmq5XnFibnFpXrpecn7uJkZgPJ/+d/zrDsZ9f5IOMQpwMCrx8ArwHIkWYk0sK67MPcQowcGs JMIrEXIoWog3JbGyKrUoP76oNCe1+BCjNAeLkjjvsnkbo4UE0hNLUrNTUwtSi2CyTBycUg2M OikTG2o26jOGPP/OcqGz+v1msS2adn27sj7mHXlRvfm8k/OxLxNm3O3tzFPtbd3M1chV3LQ2 Qj9jq6v67yUmxucUtk62WqlueSNUmrW4nvHDhKm88id5mGefVHv0p9jpluOFlZv4DgX0T37o 0l+4/73s40PqPzbYOvd1hPtMPZleKZ0wt+aZEktxRqKhFnNRcSIALAvtHOMCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsVy+t/xy7orOo5EG/S9FLHYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4Mt6fWsBesICjYk/XZNYGxinsXYycHBICJhIn/k5gA7GFBJYwSvy8CWRzAdlNTBLbrp5g AUmwCRhKdL3tAisSEciWmL+3G6yZWWAJs8TN+w5djBwcwgLhEjPb7EDCLAKqEndmXgQr4RWw kZjRfIIJYpe8xOoNB5hBbE4BW4nD/1exQOy1kbhw7C/jBEaeBYwMqxhFUkuLc9Nziw31ihNz i0vz0vWS83M3MQKDcNuxn5t3MF7aGHyIUYCDUYmHV4DnSLQQa2JZcWXuIUYJDmYlEV6JkEPR QrwpiZVVqUX58UWlOanFhxilOViUxHnPG1RGCQmkJ5akZqemFqQWwWSZODilGhjl1efr7nlQ nz5BxI2vm+/L/FtqbdtjOy7VvVJb8Wx2cNWyK4J9F6+clZ5qtMnnhXSER+Uu8yDZaX9aFr6a OumuIUM/34OL56MKzSUzP1XNveCby8SxKiRnodDBf/7a8r8WlfewOGkzFnoITL7m5ukb8kCe Z/vUQ/ufJC5Uvx9ofotxoeJcwyglluKMREMt5qLiRAAzhsi7PgIAAA== X-CMS-MailID: 20181015123136eucas1p2f7d4ae86ba3547b891749b01514cd335 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015123136eucas1p2f7d4ae86ba3547b891749b01514cd335 References: <20181015123112.9379-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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(-) -- 2.17.1 Reviewed-by: Chanwoo Choi 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 15 12:31:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 148824 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp3736827lji; Mon, 15 Oct 2018 05:31:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61GHYo0C3Ba7lGyMw2jR/Rm7Ub95i7HwCModtspPxO/Z9HuTTf+Wt8xbXK8Cc7fpGB1Vu/j X-Received: by 2002:a62:12c9:: with SMTP id 70-v6mr17519201pfs.140.1539606701194; Mon, 15 Oct 2018 05:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606701; cv=none; d=google.com; s=arc-20160816; b=MGMrs9LZwLvn8mlt8L8P0TC8Cl1XUJNMjknlsdH8SmOEf+7/QfC91L2d0wOBBTzsu0 cnNckDmyrvxObW7K3BmzWUaXilnfiQta0IsuCaiqQA1VTdt39kvl4SJc7nx3C1OlDWZ7 SsOsngMeQ7BPVjISmIJdlyhyJGdcjwgakVhauhCinoUvi1voAkkf6yOogKT5lfU+j9DG P/EhUFrv7LyWx9htbyOUr+84kAlwbmgu0mgOo9/sEAgOmBXcdoUf5fOzmuph33z+zUpW y05LBQDr5ha1HcSv5GhMnjTEzkur7HMKZD5kcV3tAKPvmqLNdV6bZeuV0e/wC1Z/6+hS Ll7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=kIXYHgbCw/TEbmTBRAWIfTvqOP+VrE5bWDenOgTQcoY=; b=G90JE3aBZEJtyEje00w5lXqiG9dshvfPeoMp9tzuib/lmQfrORo/9fyjXpPSIIf6lz M8b2hJwHYG89kpRtlhp5uLJHfo5bOCCFL09Ks+BI7E7bMPwo5xkjQmmhk9Gce8uXl6Bs K+vRYr5mdvarGUF9NVrB+oTPdwMzGRqnIUTDbsoxeLwH0ZvZC6a9IznglKaa+RJSnCRA +Hlq2PRjELl8qU+PpDk8/tj0nDy564KjmTlaVv5MTfCfvcP/X3R0gdsoANI1DpJnhd+D ulzRZ9LQodyVTyriCVxHXvrZBF7SlYidl5dRa8h95fYUJhoIOCqjbS0mmHj87CO+MuUo TxUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NHnIYJRp; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21-v6si10454373pgk.311.2018.10.15.05.31.40; Mon, 15 Oct 2018 05:31:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NHnIYJRp; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726779AbeJOUQp (ORCPT + 3 others); Mon, 15 Oct 2018 16:16:45 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:37129 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbeJOUQo (ORCPT ); Mon, 15 Oct 2018 16:16:44 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181015123138euoutp027b60de0c35b26362ca986b518105c8f1~dyCKL0atM0591705917euoutp02h; Mon, 15 Oct 2018 12:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181015123138euoutp027b60de0c35b26362ca986b518105c8f1~dyCKL0atM0591705917euoutp02h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539606698; bh=kIXYHgbCw/TEbmTBRAWIfTvqOP+VrE5bWDenOgTQcoY=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=NHnIYJRp7lXh+QNLuOWzKZ2Dw1jMRkE/9X0BYllongdjCzXfP/Pu4RNEuwKixL/8D M54lHE7E1rPdEqghrp7rBmp5t8/ifPiteoU1TKVMj/KScmElvP3SXv6t2NXnp1ndch vi+E5BVfICKsK7RPAfxpi5+950qBNWdAbGdCO2yw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015123137eucas1p2951938764f36f3e8d85c9143452304a0~dyCJtUXcY2088020880eucas1p2p; Mon, 15 Oct 2018 12:31:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id DE.22.04441.9A884CB5; Mon, 15 Oct 2018 13:31:37 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015123136eucas1p292c0d6662da5e6694e9f6773282ea017~dyCI2A4ek2088020880eucas1p2m; Mon, 15 Oct 2018 12:31:36 +0000 (GMT) X-AuditID: cbfec7f2-a1ae89c000001159-f9-5bc488a94e56 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 19.EE.04284.8A884CB5; Mon, 15 Oct 2018 13:31:36 +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 <0PGN00GZC4490K70@eusync1.samsung.com>; Mon, 15 Oct 2018 13:31:36 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Will Deacon , Catalin Marinas , Marc Zyngier , Thomas Gleixner , Daniel Lezcano , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Inki Dae Subject: [PATCH v2 5/6] arm64: dts: exynos: Move arch-timer node to right place Date: Mon, 15 Oct 2018 14:31:11 +0200 Message-id: <20181015123112.9379-6-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181015123112.9379-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRmVeSWpSXmKPExsWy7djP87orO45EG1xZJGqxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOz2LxpKrPF y48nWBx4PdbMW8PosWlVJ5vHnWt72DzenTvH7rF5Sb1H35ZVjB6fN8kFsEdx2aSk5mSWpRbp 2yVwZdz4PpO14AhPRfuTQ2wNjFO5uhg5OSQETCSWdB5g62Lk4hASWMEo0XlqHyuE85lRYmv3 VXaYqtUbXrNAJJYxSiy91gXlNDBJLL89nxWkik3AUKLrbRcbiC0ikC3R+fgBI4jNLLCIWeLA MeEuRg4OYYFAifuLREDCLAKqEtOaFzGDhHkFbCQm71CA2CUPtOsAM4jNKWArcfj/KrBVEgIH 2CR+LZ/HBFHkIjFv4SSo44QlXh3fAmXLSHR2HGSCaGhmlGifMYsdwukBemfODjaIKmuJw8cv skIcxycxadt0sCskBHglOtqEIEwPiT87EiB+nMAosazrHNMERskFjAyrGMVTS4tz01OLDfNS y/WKE3OLS/PS9ZLzczcxAmP59L/jn3Ywfr2UdIhRgINRiYdXgOdItBBrYllxZe4hRgkOZiUR XomQQ9FCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeZfN2xgtJJCeWJKanZpakFoEk2Xi4JQCxlnA QokuryW/4m94SNtaacwQvZVx926M9ewHy642OX/NEVB/pCbc+lLA68SDV1HMbA6b59i37np+ wH37w7kXZM3cvH+kNyrI7Y+I3c0YeUqn2bniSHfv7cRIeRd+LUc5x6+Mb4MqBI3SPNepyH1Y WKzl8k7ycMSKPb5dixc9Fbi6L/3znTsnlFiKMxINtZiLihMBgnhvwuECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsVy+t/xy7orOo5EG3RNNbXYOGM9q8X7ZT2M Fte/PGe1mPdZ1mLS/QksFufPb2C32PT4GqvF5V1z2CxmnN/HZLH2yF12i793/rFZbN40ldni 5ccTLA68HmvmrWH02LSqk83jzrU9bB7vzp1j99i8pN6jb8sqRo/Pm+QC2KO4bFJSczLLUov0 7RK4Mm58n8lacISnov3JIbYGxqlcXYycHBICJhKrN7xm6WLk4hASWMIo8fLuByYIp4lJYtvV EywgVWwChhJdb7vYQGwRgWyJ+Xu72UFsZoElzBI37zuA2MIC/hKXp3xkBbFZBFQlpjUvYu5i 5ODgFbCRmLxDAWKZPNCyA8wgNqeArcTh/6vAxgsBlVw49pdxAiPPAkaGVYwiqaXFuem5xYZ6 xYm5xaV56XrJ+bmbGIFhuO3Yz807GC9tDD7EKMDBqMTDK8BzJFqINbGsuDL3EKMEB7OSCK9E yKFoId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rznDSqjhATSE0tSs1NTC1KLYLJMHJxSDYwp0lp6 yurbGQ6YzVc6zmdjdkP2EaOQ+xefSJfgWxN3KhYtWVHyL+uzf+qtTZyqv/T2nJv5J33ukQud qhfbH3xprV2Sv9KXcf6NxmWZ17aG2ulvEq7bbu0U+jDcS+Dk0slS8nbSiulukl89Ppss/Drz ffjMj6xPjyxb6Hetq/Lhz2Wbja7NlepVYinOSDTUYi4qTgQA8nznFj8CAAA= X-CMS-MailID: 20181015123136eucas1p292c0d6662da5e6694e9f6773282ea017 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015123136eucas1p292c0d6662da5e6694e9f6773282ea017 References: <20181015123112.9379-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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(-) -- 2.17.1 Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 2131f12364cb..fa20eb3495b3 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -255,6 +255,18 @@ interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>; }; + timer: timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + ; + }; + chipid@10000000 { compatible = "samsung,exynos4210-chipid"; reg = <0x10000000 0x100>; @@ -1750,17 +1762,6 @@ }; }; - timer: timer { - compatible = "arm,armv8-timer"; - interrupts = , - , - , - ; - }; }; #include "exynos5433-bus.dtsi"