From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BE31C47082 for ; Tue, 8 Jun 2021 15:43:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01E5A61363 for ; Tue, 8 Jun 2021 15:43:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231877AbhFHPpt (ORCPT ); Tue, 8 Jun 2021 11:45:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:57142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231253AbhFHPps (ORCPT ); Tue, 8 Jun 2021 11:45:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CE5C60698; Tue, 8 Jun 2021 15:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623167035; bh=LeuhMPqbwF0tdilD8I1Tc0TS6TVdYXlP61hxMft9wI8=; h=From:To:Cc:Subject:Date:From; b=f2MZYibXESJ+3OOHBLWbd7Sj22+EaGfrXY/KeuGaheIsHMSI8SMhM3EF78GzHmEbb TJK53T1FhmMIU8OGrYXjXNwnBehFsRC/At8fw4Ik3OhQ9tcRWImaG3S0R9tUXohYLi BkewYT3WlAmNVhSx4W7YpR6bCWbK13gwCeNx+RZRBdVCDizvOYENtj4td1fTU2LDAZ DgxrptOzkNPtVOxcEcfzr3XERlCMFb7Y+B6Us9i0uqC/3fMhZesMyYEpt9E9c/SDAT Gu5fexhs+lHpXhWtpJKy4nh58c2mU8mifgSv0XfoeqOZiXjD4ac3ZxAgn4q0xQBiNz TbuqjXg+usb6A== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Marek Szyprowski , Krzysztof Kozlowski , Krzysztof Kozlowski , Chanwoo Choi , Thomas Gleixner , Daniel Lezcano Subject: [PATCH 0/2] Use Exynos-MCT timer as wakeup for Arm arch timer Date: Tue, 8 Jun 2021 16:43:39 +0100 Message-Id: <20210608154341.10794-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, These two patches build on top of my other series for adding per-cpu wakeup timers [1] which is currently queued in -tip [2]. The basic idea is to prefer the Arm architected timer, even when CLOCK_EVT_FEAT_C3STOP is set, as long as we have another timer which can be used for the per-cpu wakeup. These patches use Exynos-MCT as an example, since that driver currently goes out of its way to prevent use of the Arm architected timer due to issues with a 32-bit SoC. Cheers, Will [1] https://lore.kernel.org/lkml/20210524221818.15850-1-will@kernel.org/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=timers/core Cc: Marek Szyprowski Cc: Krzysztof Kozlowski Cc: Krzysztof Kozlowski Cc: Chanwoo Choi Cc: Thomas Gleixner Cc: Daniel Lezcano --->8 Will Deacon (2): clocksource/drivers/exynos_mct: Prioritise Arm arch timer on arm64 clocksource/drivers/exynos_mct: Mark MCT device as CLOCK_EVT_FEAT_PERCPU drivers/clocksource/exynos_mct.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) -- 2.32.0.rc1.229.g3e70b5a671-goog From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBA09C47082 for ; Tue, 8 Jun 2021 15:46:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF6F161364 for ; Tue, 8 Jun 2021 15:46:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF6F161364 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eCDo8ABk7TbPNWWNN3/ikkolvEtgxMXu53SQh5NS+o8=; b=HNDDh6XIncu4dD XNjFVOUZRLOOUVDd8hXZ6PZJyMsaeriWQzSaqNiPTGpVsgX2d4ENQQ0qXFSQWARlg4aXjmfHx+c9B u1L4JsRupWCdxXuNPHI5bauYmX325/tj/E4oUB22009bdkvnVvFawOCmUzNtGAV/TxeD4QQ0P5C1A LpnvdGPn9DYgHR4xePelsvLWk80spAacMIRFQqYRKNt0IcaoXJrbStYcAoYjSvrYref0l9dJJi2Ul XRiNxFXFNkWdNsw1b7u4oD/6s1Bn1pe2TGqNbibPMMUZy4dWOt49fQtU1CUE9NYvLdZt6ZbmsgDw3 a5EabjOYCSeEY3IzkItg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqdtq-009IvS-Gv; Tue, 08 Jun 2021 15:44:18 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqdtU-009Int-90 for linux-arm-kernel@lists.infradead.org; Tue, 08 Jun 2021 15:43:57 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CE5C60698; Tue, 8 Jun 2021 15:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623167035; bh=LeuhMPqbwF0tdilD8I1Tc0TS6TVdYXlP61hxMft9wI8=; h=From:To:Cc:Subject:Date:From; b=f2MZYibXESJ+3OOHBLWbd7Sj22+EaGfrXY/KeuGaheIsHMSI8SMhM3EF78GzHmEbb TJK53T1FhmMIU8OGrYXjXNwnBehFsRC/At8fw4Ik3OhQ9tcRWImaG3S0R9tUXohYLi BkewYT3WlAmNVhSx4W7YpR6bCWbK13gwCeNx+RZRBdVCDizvOYENtj4td1fTU2LDAZ DgxrptOzkNPtVOxcEcfzr3XERlCMFb7Y+B6Us9i0uqC/3fMhZesMyYEpt9E9c/SDAT Gu5fexhs+lHpXhWtpJKy4nh58c2mU8mifgSv0XfoeqOZiXjD4ac3ZxAgn4q0xQBiNz TbuqjXg+usb6A== From: Will Deacon To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Marek Szyprowski , Krzysztof Kozlowski , Krzysztof Kozlowski , Chanwoo Choi , Thomas Gleixner , Daniel Lezcano Subject: [PATCH 0/2] Use Exynos-MCT timer as wakeup for Arm arch timer Date: Tue, 8 Jun 2021 16:43:39 +0100 Message-Id: <20210608154341.10794-1-will@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_084356_370117_179E7BD9 X-CRM114-Status: GOOD ( 10.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, These two patches build on top of my other series for adding per-cpu wakeup timers [1] which is currently queued in -tip [2]. The basic idea is to prefer the Arm architected timer, even when CLOCK_EVT_FEAT_C3STOP is set, as long as we have another timer which can be used for the per-cpu wakeup. These patches use Exynos-MCT as an example, since that driver currently goes out of its way to prevent use of the Arm architected timer due to issues with a 32-bit SoC. Cheers, Will [1] https://lore.kernel.org/lkml/20210524221818.15850-1-will@kernel.org/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=timers/core Cc: Marek Szyprowski Cc: Krzysztof Kozlowski Cc: Krzysztof Kozlowski Cc: Chanwoo Choi Cc: Thomas Gleixner Cc: Daniel Lezcano --->8 Will Deacon (2): clocksource/drivers/exynos_mct: Prioritise Arm arch timer on arm64 clocksource/drivers/exynos_mct: Mark MCT device as CLOCK_EVT_FEAT_PERCPU drivers/clocksource/exynos_mct.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) -- 2.32.0.rc1.229.g3e70b5a671-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel