From patchwork Mon Aug 26 10:31:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 172160 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp4149915ily; Mon, 26 Aug 2019 03:32:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSZQG6X8w3yUafPcB3hN0fqYcuOKEvxIdgFYoOeZkans9hxheDF9nfa4YRnJZuwJVHTHgq X-Received: by 2002:a65:6448:: with SMTP id s8mr12189212pgv.223.1566815528371; Mon, 26 Aug 2019 03:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566815528; cv=none; d=google.com; s=arc-20160816; b=CXpdsceD30HR9hSdKGqv4poj/0dPrcs5qGdrZwRmH39uI5zfLWyqwUwWcm2gZaHpUI hDqO84g2T0tQgGr8Whj9U4diG9Qyxu4ly9lcQ1kWuWHn1brXluC3oSjospTI/kmQDp/k 7xKVdOqYZ8NvmsWn/zPEI7hCvw835geugvbrfuCamPdiDNj960oh8NDmTXjy3NQ6cxKW Gyva+RsEeh1/hnXaW0l2YwXc5PCgsWPkPE0RgKm33WTO312OyR20R7ecBXFOjB60WHaC vQDiDt4C92RkG1YGiJDYlCAfswCwsdgThltvISU96S0nSAXVnlA67oNKUTKe1gt0qT3I AvsA== 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=NZ+VJSBSuMJZ1LsKhikkT1JtTORGR3MpX9HFSakbNt8=; b=tBp81WSY+jPyR1Ezrxv67/mmXIGZJtV680EHWYIUVu3SiVANiRIa55x5o4fIukBXz7 senN4qdUJgzS9Cb1BAbCVnkbq2alw9RW+Ec96H5dwJzoohNQa6EGVMcY2vXcU79pCcXH daGUgkF4AsEsgnN+OVdiVK5fy8+c4OioQtO1eQUyiIfy5J1qUbSs937yoHdAEvdhPZxW t8SqIgxYb9ND21XL2UGNl/Qjvj7c4TH46m++8cfb/VezW7tk2F83AkUVZdGAbo92xZ6j msU3Ry+ibNRZn3BP+skfo2zxbE9N91n3//8siyasvJqH+Eeq8ZcmDxMPttHqPdPPmdg9 Dokw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jiZXgtKk; 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 q11si8653421pgk.194.2019.08.26.03.32.08; Mon, 26 Aug 2019 03:32:08 -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=jiZXgtKk; 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 S1730819AbfHZKcH (ORCPT + 3 others); Mon, 26 Aug 2019 06:32:07 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:39680 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730992AbfHZKcF (ORCPT ); Mon, 26 Aug 2019 06:32:05 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190826103203euoutp02614cf6f0021beff3d514e8085762bace~_cmrtqeuP1642716427euoutp02z for ; Mon, 26 Aug 2019 10:32:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190826103203euoutp02614cf6f0021beff3d514e8085762bace~_cmrtqeuP1642716427euoutp02z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1566815523; bh=NZ+VJSBSuMJZ1LsKhikkT1JtTORGR3MpX9HFSakbNt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jiZXgtKkaY4l26GGPK9+os1bcuAvCmeoUf+quC03D5pHK17+EXmh+QRY1luRhn3wk QEyrs86sfxJaLSkbdtVYYpljB5fP0tGoH0zOt30rsAUlWMy1il8UAhHvdsYoCbJkwD 40aDZdk18lZbwmMs0dJizqZne3vf4iPBxKzkaV9A= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190826103203eucas1p253ac54e8f949f2c3179390520a1bd4db~_cmrJ34zW2269822698eucas1p2t; Mon, 26 Aug 2019 10:32:03 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 61.1C.04309.325B36D5; Mon, 26 Aug 2019 11:32:03 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190826103202eucas1p123d075e3da50b5aa1574ae46aa6aa946~_cmqKyvbh1330513305eucas1p1v; Mon, 26 Aug 2019 10:32:02 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190826103202eusmtrp2fe7c49bb526d3075f66390db82a35592~_cmp8yav11574315743eusmtrp2p; Mon, 26 Aug 2019 10:32:02 +0000 (GMT) X-AuditID: cbfec7f4-afbff700000010d5-fd-5d63b523f853 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 8E.C1.04166.125B36D5; Mon, 26 Aug 2019 11:32:02 +0100 (BST) Received: from AMDC2765.DIGITAL.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190826103201eusmtip25081a60986ad78ed10d013113226f758~_cmpkoYjL0460004600eusmtip2g; Mon, 26 Aug 2019 10:32:01 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Chanwoo Choi , Bartlomiej Zolnierkiewicz Subject: [PATCH v2 0/2] Exynos SoCs: enable support for ARM Architected Timers Date: Mon, 26 Aug 2019 12:31:40 +0200 Message-Id: <20190826103142.3477-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190826103142.3477-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djP87rKW5NjDXavZLHYOGM9q8X1L89Z Lc6f38BusenxNVaLGef3MVmsPXKX3YHNY9OqTjaPzUvqPfq2rGL0+LxJLoAlissmJTUnsyy1 SN8ugSvj45Nf7AWbuCu2NV5gb2Ccz9nFyMkhIWAicWv/YTYQW0hgBaPEsq6ULkYuIPsLo8SR C/vYIZzPjBJPm/4ywXS8+7aKFSKxnFHi8OOzjHAtSw9fYwepYhMwlOh62wU2V0TAW2Lymb9g o5gFtjFKbOl9wAySEBYIkJjz8xrQWA4OFgFViYarySAmr4CNxPljmhDL5CVWbzjADBLmFLCV eLDCEGSKhMBjNokvd56xQdS4SBz6fJIdwhaWeHV8C5QtI/F/53wmiIZmRomH59ayQzg9jBKX m2YwQlRZSxw+fpEVZAOzgKbE+l36EGFHiflN+8EWSwjwSdx4KwgSZgYyJ22bDhXmlehoE4Ko VpOYdXwd3NqDFy4xQ9geEleePGWCBM8ERom7m3YwT2CUn4WwbAEj4ypG8dTS4tz01GKjvNR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x3Fom//zNY4X/ 15cx9WY3OF2Q6v/05u6Vla0Se9Q8fXTqHiXbf3hVuGUPd61kc7vSbpGwpFtXNK2VWIozEg21 mIuKEwFG1G+EYgIAAA== X-CMS-MailID: 20190826103202eucas1p123d075e3da50b5aa1574ae46aa6aa946 X-Msg-Generator: CA X-RootMTR: 20190826103202eucas1p123d075e3da50b5aa1574ae46aa6aa946 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190826103202eucas1p123d075e3da50b5aa1574ae46aa6aa946 References: <20190826103142.3477-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 Dear All, ARM Architected Timers are present in all CortexA7/A15 based Samsung Exynos SoCs. So far they were not enabled, because there were some issues related to their initialization. Samsung Exynos SoCs used custom timer hardware - Exynos MultiCore Timer. It turned out that enabling MCT it is also needed to get ARM Architected Timers working, because they both share some common hardware blocks (global system counter). This patchset enables support for ARM Architected Timer driver together with a standard Exynos MultiCore Timer driver, which is kept as a default timer source on ARM 32bit platforms. Support for ARM architected timers is essential for enabling proper KVM support on those platforms. Best regards Marek Szyprowski Samsung R&D Institute Poland Changelog: v2: - dropped MCT patches (merged to v5.1) - dropped timer priority change patch (merged to v5.3) v1: https://patchwork.kernel.org/cover/10814913/ - initial version, covers some MCT patches previously sent as a timer rework for Exynos5433 Patch summary: Marek Szyprowski (2): ARM: dts: exynos: Add support ARM architected timers ARM: exynos: Enable support for ARM architected timers arch/arm/boot/dts/exynos3250.dtsi | 10 ++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 1 + arch/arm/boot/dts/exynos54xx.dtsi | 10 ++++++++++ arch/arm/mach-exynos/Kconfig | 1 + 4 files changed, 22 insertions(+) -- 2.17.1