Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4202479pxj; Tue, 8 Jun 2021 08:45:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxo6FGh0aow68+z4TlaD6OHfojBkqu4wxGa/R7Yqx1nbNzmB/TS2cavMBN0RM7JoucBxTKW X-Received: by 2002:aa7:dd55:: with SMTP id o21mr26554634edw.295.1623167131837; Tue, 08 Jun 2021 08:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623167131; cv=none; d=google.com; s=arc-20160816; b=Rxy3pSX6jCkm5sVFGsHObrk5gWiGmDyRrNpeKrtO2xMujZsC/068lm4dijmjikYOSa xa/avLDa8TLUjsTL4MMxgsM5vObByQoqOwHRY9ByWDx7PZdzPYkGFq6VwMeV0Ayqdr8M DmZdnfjEwIAij3TXyZgmSSmXoKBJVcc/R5vjyB0RFxBUhqTdcCv9pwHB3AiEYUOWSkKo bm7kqx9uHJplQLGPXGf+vEOtBr58PRiuO7U6Six3rZ2Mquq11n3aoxWNR+7Lh1u+i091 MHfWADQWAT9h6qL60g4QPy+a58FfRjr4Aiz3Q0CMnTzO6FjpRSjqXVzsDqVlEk/d/E3T ofvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jKbwZOTZo9JcwBNe9J6DZ+MEnIN2xUyGNhGSykSId3s=; b=SYl1cRqQtNnDa9pXlOwd4aDvEo80RmWyzqwXN1E48bvRZA1CJs/7++WZpwpcuJu+7s +oJ/pBmYqX/NHz3IG0txz+Y+NnW/61S7KpGIZzAtciu7Vjy7GufNpX3QoZWk8fWXK7+C m7rncFt10UX+7yy7qxr8OlIa5wDvdiZZNrF4f4Z0zX+oU4PqH57+GqzYuOK9Rey1p4Ew fX6g8681GjFmpFYHxPvcPLXwC54h1Dy7u7TUbVEBcVs6o0FS0SBZb9qOfCYVUSSIWSr0 a9myVN3bPcA3k2gYRSMmtZ60U08GQqY/tLYyHntOKp1f9tMKdCpgHAEREx7OLXGTBEpI ooZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f2MZYibX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si30459edc.226.2021.06.08.08.45.08; Tue, 08 Jun 2021 08:45:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f2MZYibX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231739AbhFHPpt (ORCPT + 99 others); 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