Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp231860imn; Wed, 27 Jul 2022 04:53:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ucKdyYDLeKEAO1HUxn8ea8OxMjKgjUT+3+XZljrQvhpN6wE+Xdi6eyqOGg3KPZSA/AYAXo X-Received: by 2002:a17:907:67b0:b0:72f:cc23:9e39 with SMTP id qu48-20020a17090767b000b0072fcc239e39mr13888006ejc.649.1658922838176; Wed, 27 Jul 2022 04:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658922838; cv=none; d=google.com; s=arc-20160816; b=YCIhhY811FD0pMM/3u5+Yqr+X+Dvse9M6k8iK/CHitoHOVP23jEEUaiw9r7K1kIfl6 V2t/heOfxZ/8SYoUuDZQ0dwl2diLY9xS/1+tLFIkS2M4g9OwyG/YJi88cVoAxgPqE3Db MrXG+M0suGOsX0wO9iZC05lKUPoCB/m3EWDwVtaNlP47fbNV+LU5K3kkDa79sR5VjVAx tId9pjFD5N8nmeaBZp4u2RTmXXPDi84S5rKeHso4MV6A4EWB8m5P9nhu0fr3QMPWEiXJ 3P662JcOAy+rpwQrxnU4OWLXXdH58TDFMULxosSqkHzoNwZK7kL1A08QXogEOnutAPST NB+A== 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=/7ePXmHdwHU2OjPT92pojdb5hOsn4+tmUhcWnC3P2SY=; b=xMvqnz4nRrPM9gbjqvMWz1B2CMTBXyHdKAEr85WcjntPZnfSocBn/nfI9AzmAmbG26 O3DwLNQI5EMcN5xVXppgnFj2KDPYuMoCUYjht14KS0J/iSDYtSbYS3VRfnCo9RQsveNd kFh0aXtv70PbeAN8b2zjk4EipNiFZVoTz+qDANHMF9Ebt74Lx4kRgKBaWorUSxggQC26 CD9tiDTkEBytb9WzYpgcnhF9VA0Ts3pAGwq5sIkcnUnKypiCYtHhBAlqAIZ7wVKh5943 0EFgtnLq7J/cGTLq2WVKMao8Gwgf9m70iesBqZx/H6Nf9udb4nKweLfu56rwsqBz3u7X 0a3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=n2kvokZ6; 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 sh44-20020a1709076eac00b0072b216ce6b0si18615135ejc.110.2022.07.27.04.53.33; Wed, 27 Jul 2022 04:53:58 -0700 (PDT) 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=@ventanamicro.com header.s=google header.b=n2kvokZ6; 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 S232213AbiG0Lnz (ORCPT + 99 others); Wed, 27 Jul 2022 07:43:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232141AbiG0Lny (ORCPT ); Wed, 27 Jul 2022 07:43:54 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A355649B72 for ; Wed, 27 Jul 2022 04:43:53 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id g10-20020a17090a290a00b001f313618470so384972pjd.4 for ; Wed, 27 Jul 2022 04:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/7ePXmHdwHU2OjPT92pojdb5hOsn4+tmUhcWnC3P2SY=; b=n2kvokZ6QBtDMNxlIgXlVTyF5/T+r6EWQgPYeiNlJ8uGN3wV/9vjxdgCodlT71/VeL l6POfqmKabMw/olF/IR6gLEvM+DmiYD0qsmibuQHhpHtdCUubckTsia0fe/x1IiSxHzf ume/BNNmQUR/tb/+Qjs0xN99ZfgrrieC/+VnSxzNnUZE26igUchsDhgo4iO8R+P9WO56 g0L09xdD4xwXgG7A1T7NvUx+2wixN1jCYsfJt3jANC9xrL1MAvmsBmBhpWwcMowhtDS4 WrD/UxtAprONWcCv3JynhtjD/0mtODz0w1IoVcvyqVW7tKrnWg6V6YJWBDRZJ3n/fIGU ogQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/7ePXmHdwHU2OjPT92pojdb5hOsn4+tmUhcWnC3P2SY=; b=e9mcI4C/Ga+18/tkNUh+2K+D7ZGPzXVMdfPQiSSfQ0ITDOcrE27M9JfQAv9ue1iOzq 2RTXJoSXUs7WLwnM4RgYIhOIilMfav3JjopMKWg2KKelFCU3nVHwgbWHoTjxUb6XJuzM 7ckWxZ5p6TUkNn9imL5D9GACs3AAfC6+XGj+zAV4UL+oUjSHzXtQpJwZvFgycGg4T33H 7eUfGqIb02WToxSb75xZJgXYCobFpNy/b+U6WHu84WhFyNcXScRY0XOqLpJ8yq+DsTGK Fq7/M5qrTHTVRCQX+nCvSTWlEQ+gQQHS0VrLR7PJT598M29FMnNXiNEW9Kzw0yDfUqXw m1AA== X-Gm-Message-State: AJIora8HwWc3ai7/2LbXe9ZOez0na5h4vrNuWPQC0B4evAhTluMWHBws E4lKNFj2ejp742SE9mbKK0rEge4sy+VYaA== X-Received: by 2002:a17:902:e945:b0:16a:1c41:f66 with SMTP id b5-20020a170902e94500b0016a1c410f66mr20580720pll.129.1658922232923; Wed, 27 Jul 2022 04:43:52 -0700 (PDT) Received: from anup-ubuntu64-vm.. ([171.76.87.63]) by smtp.gmail.com with ESMTPSA id o8-20020a170902d4c800b0016be9fa6807sm13486685plg.284.2022.07.27.04.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 04:43:52 -0700 (PDT) From: Anup Patel To: Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Daniel Lezcano , Thomas Gleixner Cc: Andrew Jones , Atish Patra , Samuel Holland , Anup Patel , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v2 0/2] Improve CLOCK_EVT_FEAT_C3STOP feature setting Date: Wed, 27 Jul 2022 17:13:00 +0530 Message-Id: <20220727114302.302201-1-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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_v2 branch at: https://github.com/avpatel/linux.git 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: riscv: Add optional DT property riscv,timer-can-wake-cpu clocksource: timer-riscv: Set CLOCK_EVT_FEAT_C3STOP based on DT property Documentation/devicetree/bindings/riscv/cpus.yaml | 6 ++++++ drivers/clocksource/timer-riscv.c | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) -- 2.34.1