Message ID | 20181018095708.1527-5-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1756740lji; Thu, 18 Oct 2018 02:57:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV62fuJka3zl+W1zDv5rJq5HaLC+D6Q0DGS1rUldKBhpX/muspiceUBxUfYdLayc8icvgLa9D X-Received: by 2002:a62:210:: with SMTP id 16-v6mr30913642pfc.100.1539856670911; Thu, 18 Oct 2018 02:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539856670; cv=none; d=google.com; s=arc-20160816; b=gUUwGrZn1iTGV08zhSNtkEImQp/ypRI8tDSScEQQT0PuZPR8wm95dun9bJmWQYgf3s yCTif26ELkNv76xMUCYJummHn4hwiTBnjbZ6BhIISJ/c9kQHAJbSYOzlhxg9i/2K6ZBe nS89ff3zG/zkB6HVSsecfLFlgvjrTxSrTAebpwYnmQP721/IfcbiYG37a/OHmp/8SdNK yvGXSfiRYhztEAcw29PIPDI6a1GAxnp+D3h5U3bb0wYFhaeDIgepJU/uWMelHqBmeRYu J5CrMZVheB3XaIBK/nZuPZS6b8SjUi+iuitzBPN63f6GG6aSIGLT9VXGyDGt97ryneTn l9qQ== 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=7RzFxofNGfgWBQtiHbTFe9TEVqpCi1g2karnmb1X59I=; b=fwF66HkT2TcSDVoG5Bgg9QPDZ0dbVM9ZTXOr7XuRT4QgRFhREfA18gk9sR6LWt9lkK TPTZ5cL9tud+stBRDb3lsd29RQHIMx1DqrS7QwRuFC50VzQQP2CiWW93/8UwcWAqstWT XPalk0rwLlsKGKCygq5xkHThorH/IIoy+7GsQJp53w4AzPDbqgN8pGCtn79gFGSTCQlQ Zc61dK9YviMC7hv0umbtxXg8yZUswptBQvH+nHuek+D/6d/ezp/1DDvgVhuu4Dy8C6pG ajlmu71ZN2T9nHKfx0wA0BXEDMRlLHLrWBQGm/4a3jATbu97tDjxX0OngszYJpRYsmzx 206Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=krfirxAz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10-v6si19196882pgr.403.2018.10.18.02.57.50; Thu, 18 Oct 2018 02:57:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=krfirxAz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728133AbeJRR6C (ORCPT <rfc822;igor.opaniuk@linaro.org> + 32 others); Thu, 18 Oct 2018 13:58:02 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:53145 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbeJRR5e (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 18 Oct 2018 13:57:34 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181018095719euoutp011b840002f9645bdc3babcb8f38f7bdc4~eq3R1SW150108101081euoutp01U; Thu, 18 Oct 2018 09:57:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181018095719euoutp011b840002f9645bdc3babcb8f38f7bdc4~eq3R1SW150108101081euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539856639; bh=7RzFxofNGfgWBQtiHbTFe9TEVqpCi1g2karnmb1X59I=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=krfirxAzO7Qq5s/ssVN+WwSU3qIg0R/JW2QqcVPuuVdbjb6OZgXY+JXsg/etwYgza spT2ReJCudf3/zRXmgQNZCwri4td8ZebkrQIx0Au62PDD5jkGVu8LLuph2IggccQlW VjMWdDmrMWh0V8+B8+BeD3DoXHRuPBgadnre/9GU= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20181018095718eucas1p195d0397d91b2620e70fb24d070d38f04~eq3RR8IuI2351723517eucas1p1L; Thu, 18 Oct 2018 09:57:18 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id A3.B1.04806.EF858CB5; Thu, 18 Oct 2018 10:57:18 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181018095717eucas1p20a7d2d2b1b18ae60a4893a8e3d8c19f9~eq3Qh5W422119521195eucas1p2U; Thu, 18 Oct 2018 09:57:17 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-b4-5bc858fe9a3d Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id EC.C2.04128.DF858CB5; Thu, 18 Oct 2018 10:57:17 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PGS00GLZGZA2H50@eusync3.samsung.com>; Thu, 18 Oct 2018 10:57:17 +0100 (BST) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <marc.zyngier@arm.com>, Thomas Gleixner <tglx@linutronix.de>, Daniel Lezcano <daniel.lezcano@linaro.org>, Krzysztof Kozlowski <krzk@kernel.org>, Chanwoo Choi <cw00.choi@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Inki Dae <inki.dae@samsung.com>, Mark Rutland <mark.rutland@arm.com> Subject: [PATCH v4 4/6] clocksource: exynos_mct: Add arch_timer cooperation mode for ARM64 Date: Thu, 18 Oct 2018 11:57:06 +0200 Message-id: <20181018095708.1527-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20181018095708.1527-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMIsWRmVeSWpSXmKPExsWy7djPc7r/Ik5EG9w6IGaxccZ6Vov3y3oY La5/ec5qMe+zrMWk+xNYLM6f38BusenxNVaLy7vmsFnMOL+PyWLtkbvsFn/v/GOzWHr9IpPF 5k1TmS1efjzB4sDnsWbeGkaPTas62TzuXNvD5vHu3Dl2j81L6j36tqxi9Pi8SS6APYrLJiU1 J7MstUjfLoEro3lVcMFC7opt1/cxNjCu5Oxi5OCQEDCR2LU/v4uRi0NIYAWjxJ9nB1ggnM+M ErMvzGLuYuQEK1o/8w1UYhmjxNulC6GcBiaJna2PWUCq2AQMJbredrGB2CIC2RKdjx8wghQx C5xklvh3cxM7yD5hgRiJN/tjQGpYBFQlVr2fxAwS5hWwkZjf5gOxTF5i9YYDYIs5BWwlzsx/ B7ZLQuAEm8SJZRdZIIpcJOa8/gp1nbDEq+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VcfTa+Zu+WtUOMefcEJOj9uTDpg6nNZXTs+4jj7wcP/9qS926Dk7P5E9Puchh72m5es +H7u8OqUkGj7Wa/Ump90s7riQMirQ1VPGUubHXe5mN4+/O5idjvjl6OZihEVUyWO2517V2l5 rObTAtmyNXW+qTpfa+0C9vXN2eHT/3DFg2sNub5KLMUZiYZazEXFiQC2MYxoQwIAAA== X-CMS-MailID: 20181018095717eucas1p20a7d2d2b1b18ae60a4893a8e3d8c19f9 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181018095717eucas1p20a7d2d2b1b18ae60a4893a8e3d8c19f9 References: <20181018095708.1527-1-m.szyprowski@samsung.com> <CGME20181018095717eucas1p20a7d2d2b1b18ae60a4893a8e3d8c19f9@eucas1p2.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v4,1/6] clocksource: exynos_mct: Remove dead code
|
expand
|
diff --git a/drivers/clocksource/exynos_mct.c b/drivers/clocksource/exynos_mct.c index 4c886ff2941a..1f5249fb25fd 100644 --- a/drivers/clocksource/exynos_mct.c +++ b/drivers/clocksource/exynos_mct.c @@ -606,6 +606,16 @@ static int __init mct_init_dt(struct device_node *np, unsigned int int_type) if (ret) return ret; + 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) { + of_node_put(np); + exynos4_mct_frc_start(); + return 0; + } + } + ret = exynos4_timer_interrupts(np, int_type); if (ret) return ret;