Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1278565rwb; Tue, 29 Nov 2022 11:13:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf4mJ+8B6XP/W0U91wQjCAvzJ+tt+Z320JPgSSA/+3Fp5eBaMp48U0rXLa+BcYgF2Og/lgmC X-Received: by 2002:a05:6402:3707:b0:467:6847:83d3 with SMTP id ek7-20020a056402370700b00467684783d3mr13333518edb.247.1669749214882; Tue, 29 Nov 2022 11:13:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669749214; cv=none; d=google.com; s=arc-20160816; b=zBZPmE0sBHIm+/2web8oWl23gNgiUa3QBcy+2DLvNGAyvNL/GMSZ9TIFSmpvsxmVwA iV2/d4fFqbkPPB497UyRv54y3hXJr5Orbu4C9CMaqirG2kfye/nvYInv6slNdXIz94dk +cqWZLzCUZk+ZCDjDtRADbhoPfuGZP8qf40FDVvEZAwAR2/d+VjBzCbjAMH1UuKQ+wF5 25KQmnvN/9y8vHzmiUeZKRAibHycu/v9YN3FQdECZs/lq/FmxUQZxDZyULznzfZHWqSg n/oXP5XqodJO95kVxBcb0mEYUbscWb6el9LkASuV6BOQyyOP1dZgvY4y+Y5T8CaaM6dg B3jg== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=v8lGntM4kOktmfQdUaeSjevYi4oUpuqHsLPXR1CgAwY=; b=GfKVuAlLtbP11TdQLixYRuDWF7BeQL/5yKopsXMwz7CtICIov5Of6owMitLrUIAEWt Do1ZbDxKTPyVZaI4PMAlD+7E4XYc7YHqMtEIriAbJbo05FbkCg4VNCImW+Oz/QW102xA 6sQC/Z458th7weYJpqx92wbOELDR1ZMjYXzjtZwwt6xPx4lQQUZv47KUnDPAiTwnbKGO Ib7ZpKusgr1T9yhjEW1RMoPdcLDceg7cSj0279z1nQMorTSKdnQP45wVWCSq360bVq4Z vzuxIf8O92vw7XbdaKspIpRyaspE1QhN1CsXBBXBxI1UHs+9gZasJP1jFPRc6JLzjW5Q h5pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=obeLgfky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a056402280900b0046b7410c015si2926958ede.18.2022.11.29.11.13.06; Tue, 29 Nov 2022 11:13:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=obeLgfky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236095AbiK2Snz (ORCPT + 84 others); Tue, 29 Nov 2022 13:43:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235871AbiK2Snw (ORCPT ); Tue, 29 Nov 2022 13:43:52 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98DC524BD6 for ; Tue, 29 Nov 2022 10:43:51 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id d6so14305822pll.7 for ; Tue, 29 Nov 2022 10:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=v8lGntM4kOktmfQdUaeSjevYi4oUpuqHsLPXR1CgAwY=; b=obeLgfkyGkMKWKCrw/Erz/5BArpTueSCf8bT3iUEDi9Ish/XAzXxW4Xa3+d6AM2QAp Xd6xBZt79tvTggr2GJ1u/dfQrlCmbUvNY2KN7OBfe1kCvhTuHNjwCBkHMNBxyZ7dVsa4 fy96fIKU0cjhMj2TgII5L6v8cu28mpTHapAb8pviJIyjbRSL/qbpcnDRKf70+vf0eB9B MiPAH8P7D/5gV5/SOf+MNhyh6vteQKpH0i9QWE52nXmWosRsA1fPUEGo9Y2LuJTRQVGB 8/HFAF+4qdPbOLPSUvGnxnYjjYo8ksyeQrO6UfZwiLFlQMKHhLHQJkXsnAxmDcJ+tdpL rMAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v8lGntM4kOktmfQdUaeSjevYi4oUpuqHsLPXR1CgAwY=; b=GiRqUIjKNSaAI6FHTefPFTo+ozLzglysHvozPQoDq11bxCqJRVAg9SIp07i1biF8eM k/JlaOuxtToBdvN1gQxc3yMLfVp1NkCi2aC8hNaOOU7WFhFr505f7eZ26QR2aBbvfCer 9SvQYLDK+cElQTIMi9r6RMMTio935g3oorSzuRehYbvv3FwUS2WGfUamBCROHmFdMKR4 MszWvscyBYKdUYZ9W1ZLcOVOD7pU3INeoIl4MOGnNsbYG6tP2U7/XlirIeFb5o+I41Dv 7vqzpSlwQGs+7zmDcgEcnL8tAis89zOEhF3v4fKcHcpFsLZi7BYf/SyPtQn6TGtkW0mt F88g== X-Gm-Message-State: ANoB5pnJxFHXKg+zAZcHq3LxCmG7du9z5YEhFqFsrD8CzmlXrx3R/uBk wJbYMSp1rk2uxMXQPsBbZe46+g== X-Received: by 2002:a17:90a:8b03:b0:213:16d2:4d4c with SMTP id y3-20020a17090a8b0300b0021316d24d4cmr61926206pjn.70.1669747430925; Tue, 29 Nov 2022 10:43:50 -0800 (PST) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id u6-20020a17090a890600b00218abadb6a8sm1658684pjn.49.2022.11.29.10.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 10:43:50 -0800 (PST) Date: Tue, 29 Nov 2022 10:43:50 -0800 (PST) X-Google-Original-Date: Tue, 29 Nov 2022 10:43:40 PST (-0800) Subject: Re: [PATCH v4 0/3] Improve CLOCK_EVT_FEAT_C3STOP feature setting In-Reply-To: <20221129140313.886192-1-apatel@ventanamicro.com> CC: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, Paul Walmsley , daniel.lezcano@linaro.org, tglx@linutronix.de, ajones@ventanamicro.com, atishp@atishpatra.org, samuel@sholland.org, Conor Dooley , anup@brainfault.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, apatel@ventanamicro.com From: Palmer Dabbelt To: apatel@ventanamicro.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Nov 2022 06:03:10 PST (-0800), apatel@ventanamicro.com wrote: > This series improves the RISC-V timer driver to set CLOCK_EVT_FEAT_C3STOP > feature based on RISC-V platform capabilities. > > These patches can also be found in riscv_timer_dt_imp_v4 branch at: > https://github.com/avpatel/linux.git > > Changes since v3: > - Rebased on Linux-6.1-rc7 > - Replaced PATCH1 with a patch to initialize broadcast timer > > Changes since v2: > - Include Conor's revert patch as the first patch and rebased other patches > - Update PATCH2 to document bindings for separate RISC-V timer DT node > - Update PATCH3 based on RISC-V timer DT node bindings > > Changes since v1: > - Rebased on Linux-5.19-rc8 > - Renamed "riscv,always-on" DT property to "riscv,timer-can-wake-cpu" > > Anup Patel (2): > dt-bindings: timer: Add bindings for the RISC-V timer device > clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT > > Conor Dooley (1): > RISC-V: time: initialize broadcast hrtimer based clock event device > > .../bindings/timer/riscv,timer.yaml | 52 +++++++++++++++++++ > arch/riscv/kernel/time.c | 3 ++ > drivers/clocksource/timer-riscv.c | 12 ++++- > 3 files changed, 66 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/timer/riscv,timer.yaml Acked-by: Palmer Dabbelt IIRC the main issue here were the DT bindings, though, so I think we'll need to make sure that's sorted out.