Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp226725pxj; Fri, 28 May 2021 02:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp2dY4NcKiPdLReIv36fLa/OymTx3y/+WlJh+23TIwwtK/WBnHeYtBjuj9fleRsYHmYQn/ X-Received: by 2002:a92:7c02:: with SMTP id x2mr6602959ilc.8.1622194122120; Fri, 28 May 2021 02:28:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622194122; cv=none; d=google.com; s=arc-20160816; b=TbVGJmM73v5aHx8RvxsKtEkYdbKbT622qr2mcU05gKc2/XBtucCM7TA7HePqEy2k62 ujSQL0HvazXi3MQRJufDX37fuBDhUZr46aUXY4vPTodFId4uKO1N2pCECux4s2q90DGW WuyMeXvt1DxXSL6AGPByTPmUopMbAJeHj3c7OomdTeZ8wDflRndJE61FGjwHyWuVcoC3 jt/l4EdT5WvQ5AyMO6C2unnjzV1RP1fCN06F++YIavyvWBqjgCNwzKT0t/lqaPX5CPs2 IvBV83zwU23S5H8/TrQUKEnA1dwz7Pa7mbnNbRjFCYi5iZkIMOL6IviQU0npcn+20QKc sewQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lSrNJA8L2mfz3nzO0xWuQ7uzakK2R6vwdeEdePCtnq0=; b=BOI+8whUKqS+qBupt+koaaqQRKiZObQtleB6safpQNc8riv/VOwPJ2pmUo0gLhB/NV e4p5D9ITGQMMLxJHk4nD20DfbjoGO1tnzX1ktdQPGMpckOQxkx4ndHYtdJoK+5tYkK69 Q3ry8LXkc5e+QBTosbkxHlQ8N3Ks5eCpi/8fzrgAZw7qG2r/PMNjmrztlJKA5bHPnoLy IRtZl2hOhgc1nYswCZocwy4JiUDbHQsFZWNIRRuKVZvvLanWnzIS9qMKjDxjOeIVTEM9 vgZjrfld/jKDy4wCr91jVu4Cs7za0nEmhXa5bZp2+Fvf2CVvPVqS/Ntx5MuJQFiM8zvF SlgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vbGvnUB2; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k17si5258661ion.39.2021.05.28.02.28.26; Fri, 28 May 2021 02:28:42 -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=@linaro.org header.s=google header.b=vbGvnUB2; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235956AbhE1J2f (ORCPT + 99 others); Fri, 28 May 2021 05:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235393AbhE1J2a (ORCPT ); Fri, 28 May 2021 05:28:30 -0400 Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67ADCC061574 for ; Fri, 28 May 2021 02:26:55 -0700 (PDT) Received: by mail-vs1-xe2e.google.com with SMTP id f11so1860329vst.0 for ; Fri, 28 May 2021 02:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lSrNJA8L2mfz3nzO0xWuQ7uzakK2R6vwdeEdePCtnq0=; b=vbGvnUB2ee8gN6kCb1QtHqgW5zdRB/De+4KKFZ3odYzssoqcORAziKqW3t/dl5074O MU02ZAwhTEUhcC5GUqskXZmCEId1/j/GxI7mGj/gxuVqU58+5iq4Y2yDNbcYUTl26J3N tbXjR0gcPStSOp+5QLfk9jCopcLRrqm5guRDC9vvuQFHJtwfckd9Ppz9E1l1wm616a2T ZcZLfN6Qm0Rv2NNVDqP1+Hatk0Lg2TWStZE5z3nPwyCjU0KcgkQIHgBPgHBpFdIUtOgr S30CVnx1+6dBR9MmULejbnwv+VnAT0/VQj2bym9pbKn1rthEPbbuloD9QHkEY4WO8vNo uUZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lSrNJA8L2mfz3nzO0xWuQ7uzakK2R6vwdeEdePCtnq0=; b=m5FuxBPO/yXCTbMc8fDnai184Y+85fm3hdnUJnHkFAUgYBBf4jO6myhIaDX4UVIAxK mxnTh+LmIy8x6qEGg8KTSAEpP9jG0EGIoHM02N57YvGp01KG82H5dHiXoA/oq5JUKKAE 8Q2UUPmrDtoYwXCJ/43xZ0fIjxP3I+3ZU5y8/WeJjAW3gCBNUS5ZmbmObJZrLR3vAHBg tAfbY6wwz1DqVRNi6JBRQ6JzNS1Jz8zT0xdt6tsZXmA8czOS3TS9JO3ahxduFGPkDGrt 2i5ySA8tlxUSmNg7M3aL8RGkudDyUkaZNm8XjfoceV1r6TUhgMMBtHObl4ijbUMcdDXM hHfQ== X-Gm-Message-State: AOAM533M+1apMMz6B/NyjU1jLkO9xz+Hzgcb3gtBCYITlhJoj+iMRpYf /WHc5XFWPqQIJ4Q4qRXaQYP5HITa490p+Pmb+ZNb8g== X-Received: by 2002:a05:6102:7b4:: with SMTP id x20mr6125121vsg.48.1622194014560; Fri, 28 May 2021 02:26:54 -0700 (PDT) MIME-Version: 1.0 References: <20210517130823.796963-1-anup.patel@wdc.com> <20210517130823.796963-6-anup.patel@wdc.com> In-Reply-To: From: Ulf Hansson Date: Fri, 28 May 2021 11:26:18 +0200 Message-ID: Subject: Re: [RFC PATCH v4 5/8] cpuidle: Factor-out power domain related code from PSCI domain driver To: Anup Patel Cc: Anup Patel , Palmer Dabbelt , Palmer Dabbelt , Paul Walmsley , Albert Ou , Daniel Lezcano , "Rafael J . Wysocki" , Pavel Machek , Rob Herring , Sandeep Tripathy , Atish Patra , Alistair Francis , Liush , DTML , linux-riscv , Linux Kernel Mailing List , Linux PM , Linux ARM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 May 2021 at 11:05, Ulf Hansson wrote: > > On Tue, 25 May 2021 at 07:39, Anup Patel wrote: > > > > On Mon, May 24, 2021 at 11:31 PM Ulf Hansson wrote: > > > > > > On Mon, 17 May 2021 at 15:10, Anup Patel wrote: > > > > > > > > The generic power domain related code in PSCI domain driver is largely > > > > independent of PSCI and can be shared with RISC-V SBI domain driver > > > > hence we factor-out this code into dt_idle_genpd.c and dt_idle_genpd.h. > > > > > > > > Signed-off-by: Anup Patel > > > > > > This is clearly a big step in the right direction. Just a couple minor > > > things, see more below. > > > > > > Note that, I have a couple of patches in the pipe for the > > > cpuidle-psci-domain driver (not ready to be posted). I need a couple > > > of more days to confirm this restructuring still makes sense beyond > > > these potential new changes. I will let you know as soon as I can with > > > the outcome. > > > > Sure, I will wait for more comments from you. I was thinking of sending > > next revision of patches sometime next week with the renaming of > > function names which you suggested. > > Sounds good, that allows me a few more days this week. I don't have any further comments at this point. It looks good to me, but let me have a quick review on the next version before I provide my ack. [...] Kind regards Uffe