From patchwork Wed Aug 28 12:10:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 172364 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp659611ily; Wed, 28 Aug 2019 05:10:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIyluZGN8k83me0S52qZOkrOa8LqgrrqAremPrcfAg1gVqcQnuHG3y8s6R5TZz9rFKRDZ5 X-Received: by 2002:a17:902:b604:: with SMTP id b4mr3921723pls.94.1566994216863; Wed, 28 Aug 2019 05:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566994216; cv=none; d=google.com; s=arc-20160816; b=DrRNoMiJ8WABBr8Yo45gTSrKHcg9ULSRajmJ1gw1SaIRnyyP9bWZaXgtfK3FMEBaxO OgjTfnwXJdYKOA49JquZSVZSdhmAg43iuhan33R55n3woApl+zmqYxUdw8F2va0EOCJm xnIWfXEYfJrawU761bQ3EVF41uLBCFwCQyTKbBCPZXsbpFfJJf3PAM6YmbMGSisNtAdH suNQPx+UP14cr2mWUcT9pgvPGvhKj0tJ36wMqxhhpPgntJfeh+L6YDTG1M+5w/bzw4Iz wSzFPD6ECWVriW7ydP9bKZMPldfFbdCM6S972aHosaY/ebc00CUI3SeYKxMx/X0F4hez 6dSg== 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=hbM0dbFub5dilWQZiDNc2NPkK2MLXSDTzGjKbpMBxSE=; b=Ir4jezvHEcg4xNAL0z+l9ep5izd/vwAbRov83b/8MgMF1/UxG8Q+bqpZmSdE9aXXOG AKGrLsO6+f2LEbgQijMKYuvJ7Eo6yrPzjxMAWkEUs7P5UxTUSYk5N0+tQuQ7WdPRDbzw U5zX7S8kb6HwdFfqpj+JzbSc65wCT+4/nWNoDb0WyR4tB+7RSkSnjvCmXhlVvKkienXv DF3CfZmIgSfzTuPKrm5Y7/M8Ey3ylesy1UjoPB2U/2AWEIPPmXoICafovpmcj7st+Fto roDJD1bRA9vyiwQchCW6eY50Xm/T/jGuSfuT8v0sCi3CCpMohRpM3YvlJDANYSkImI2Y Ofmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=XVATmfyn; 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 26si1760124pja.6.2019.08.28.05.10.16; Wed, 28 Aug 2019 05:10:16 -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=XVATmfyn; 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 S1726253AbfH1MKQ (ORCPT + 3 others); Wed, 28 Aug 2019 08:10:16 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:44148 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbfH1MKP (ORCPT ); Wed, 28 Aug 2019 08:10:15 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190828121014euoutp027c982b5ecfe828432dfcbbfc7952aea0~-FO9z3ioz3229032290euoutp02o for ; Wed, 28 Aug 2019 12:10:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190828121014euoutp027c982b5ecfe828432dfcbbfc7952aea0~-FO9z3ioz3229032290euoutp02o DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1566994214; bh=hbM0dbFub5dilWQZiDNc2NPkK2MLXSDTzGjKbpMBxSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XVATmfynSyy1mZpqjvEIeSj9MpTiGl23a0nbUc/iQ6LDauU/AtvrIIC7rw2m0lncc vy60Rl3t3/kwtAHIjUkdtdK8heCaosFn9w4pTPfrLL3yDQGYiIyBjJraJelwEPbEeP oxg+5Zdp7M+q3Mo0SPUPGTsRqW8IBjbBCfbJT+NI= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190828121013eucas1p28be42cd0efb247cc6dd3b28843a5737c~-FO9WQFBB1354913549eucas1p2v; Wed, 28 Aug 2019 12:10:13 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id BC.0D.04469.52F666D5; Wed, 28 Aug 2019 13:10:13 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190828121012eucas1p2fb78bfebe16d744dc28194bb224650e2~-FO8c_mhh1358913589eucas1p2n; Wed, 28 Aug 2019 12:10:12 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190828121012eusmtrp12adbbc9cffea5fb75aef9cdbb408447e~-FO8OlbDH1908619086eusmtrp1i; Wed, 28 Aug 2019 12:10:12 +0000 (GMT) X-AuditID: cbfec7f2-54fff70000001175-2d-5d666f2577fc Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 8B.C4.04117.42F666D5; Wed, 28 Aug 2019 13:10:12 +0100 (BST) Received: from AMDC2765.DIGITAL.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190828121011eusmtip14396855e7a74917cc1c4810e0db3ce3c~-FO7zicJ42336023360eusmtip1X; Wed, 28 Aug 2019 12:10:11 +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 , Marc Zyngier Subject: [PATCH v3 2/2] ARM: exynos: Enable support for ARM architected timers Date: Wed, 28 Aug 2019 14:10:05 +0200 Message-Id: <20190828121005.29368-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190828121005.29368-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKIsWRmVeSWpSXmKPExsWy7djPc7qq+WmxBr9u8VhsnLGe1eL6l+es FufPb2C32PT4GqvFjPP7mCzWHrnLbrFzzklWB3aPTas62Tw2L6n36NuyitHj8ya5AJYoLpuU 1JzMstQifbsEroxbn36xFRxiq7j74DRbA+N+1i5GTg4JAROJT2/bmboYuTiEBFYwSjydf4QN wvnCKLFkyxdmCOczo8TS2VcYYVpWTL/OCJFYziixZf1tRriWXRu/gFWxCRhKdL3tYgOxRQS8 JSaf+csOUsQscBVo1LVPLF2MHBzCAgESh17wgdSwCKhKbPr7gg0kzCtgKzG1wwtimbzE6g0H mEFsTgE7iUObOllAxkgIPGeTWHz9EBtEkYvE64Mnoa4Tlnh1fAs7hC0jcXpyD1RDM6PEw3Nr 2SGcHkaJy00zoDqsJQ4fv8gKsplZQFNi/S59EFNCwFFi0nU1CJNP4sZbQZBiZiBz0rbpzBBh XomONiGIGWoSs46vg9t68MIlZgjbQ6Jr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3p/T3VfK5fVmjoLax+X3RobX//zfi5/Z0VndOjDivzlDz15HnS cPXwuf0H7ps8FvulOPGka53mCb2dVoaft902Wfwrcsn6H8oWSx5d9png0Tk76btZVvivaCWW 4oxEQy3mouJEAIVY0HNoAgAA X-CMS-MailID: 20190828121012eucas1p2fb78bfebe16d744dc28194bb224650e2 X-Msg-Generator: CA X-RootMTR: 20190828121012eucas1p2fb78bfebe16d744dc28194bb224650e2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190828121012eucas1p2fb78bfebe16d744dc28194bb224650e2 References: <20190828121005.29368-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 ARM architected timer can be used together with Exynos MultiCore Timer driver, so enable support for it. Support for ARM architected timers is essential for enabling proper KVM support. Signed-off-by: Marek Szyprowski --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 Reviewed-by: Chanwoo Choi diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index f83786640f94..9dab1f50a02f 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -19,6 +19,7 @@ menuconfig ARCH_EXYNOS select EXYNOS_SROM select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS select GPIOLIB + select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION select HAVE_ARM_SCU if SMP select HAVE_S3C2410_I2C if I2C select HAVE_S3C2410_WATCHDOG if WATCHDOG