Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp654816pxj; Wed, 2 Jun 2021 08:12:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx74zLRePZZVoElRGjEwTQ07ynXuL476u7iRVWjd6Lyj8XfnUdSizX3PFrEF2UIkqsDF02V X-Received: by 2002:a17:906:2bc5:: with SMTP id n5mr34946347ejg.531.1622646727048; Wed, 02 Jun 2021 08:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622646727; cv=none; d=google.com; s=arc-20160816; b=q/S/e+KKqzCYFZ8RDAZWTufnpewXEHEL/gN7pVRzQSLm/SMcRwFUIOkNTYOVtqPYxE wj/cHQuMPYlcf24bLnKDl1VroqMWH+KGz/w2IIBZY6Gbr2vyARTcu9565BJcWIDWjpp7 rllQKygTxzKRePu2XtcEslb4q0zBtJZz8vbOP9ZJ2TFK0HQu8r4SaWWyeS1AMoazVBva ZwmS67qAyn19KgR4EwUHBhIQmGLegUzNU8zoQMsk4TaavubvAh+8038+1d5hz9QX63ut k25nvYRX5z0e6lJQ/nENldIztxih9nC8iuwJpLzJKGBquQ+1b1ah4FNoedU5PEQ1yJs7 NUhw== 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=vs3Wh4eIvni5P/DPP9QB7KFgHPP2DPvUYXX2oG5ziD8=; b=k9te+zZjRwPENdPEd7EnZzOrqdZjlU1STG+alPyPbrFJNOtku6KBAKTqt7zoAKAzh7 n510rhyOFEKZDtHye3ac9XZFskUSVogB/gDSs0riGORVs558jmaMEuLnTZcTL+oF7pyr nXZlFkK0jDIIlOR1S+RBj9/6PQbmwymlptiiE1FclrXAbiFgDUdKgWIVmZ8SgIh3MxQn bj89fwxmCMjaQyeolnBxVvS7roMY0DRlGH6UsvEQXYSGnnS60pxeTA2jKn/aa7BfceBF laTWz3mQxupEr+n6A/EonEBHSDJkvPgYk5mXyea5jvYZ+ZHj69ntorVlICa048cA41eZ qPkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=Jv8riBA6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si152510edi.147.2021.06.02.08.11.44; Wed, 02 Jun 2021 08:12:07 -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=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=Jv8riBA6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbhFBPJe (ORCPT + 99 others); Wed, 2 Jun 2021 11:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbhFBPJK (ORCPT ); Wed, 2 Jun 2021 11:09:10 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FEDCC061574 for ; Wed, 2 Jun 2021 08:07:13 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id c5so2638928wrq.9 for ; Wed, 02 Jun 2021 08:07:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vs3Wh4eIvni5P/DPP9QB7KFgHPP2DPvUYXX2oG5ziD8=; b=Jv8riBA6hdAzuqqKPOkSJ02ahdlNA9yVktgdWbigMUOdm6bpxDApG6IxbmI1fsDrV0 od+qctz8WdJpLMlg/dh65H26zKlKq18C9r5Id/gmGsm86frMckOC7EoWbt0ijn0eL0JF V2eoz1XbjOwarwofM8JZQSrsAfYcO3xSQaU0PbsEdI7qs5udvqBh0EPPIt9kv0811yzh Y1ACLtstrLSq5QF+c1a7+IJpO2MbffII4oH2s6027S/4EDlqAHuOV2aC7HPIfRM+H8i3 rqVEckU/2Srs13LwwfmSQVfXeu/H9S/Z6a100JTKutK+gu0RXflckQNcpZ0l/fPiK0Hv oNxQ== 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=vs3Wh4eIvni5P/DPP9QB7KFgHPP2DPvUYXX2oG5ziD8=; b=M+J1SghQONefSI5ST8ar0FrbvOMVsSjQM9Z7vlcMI7HIFB/ydem4pJZtj+MzgtSX9F OgjyXbMNLIdQaZKfaA3geTRk6vzSkTgqWiXBtq+6yB/VVE9hz1uP4ROFQo0SFNt0tnRe yacF2PbdPueMio7n8Uc6P5Zt4Ff2t/FEj6DCPzeZuQ/xGBeCpvUgTv8tsMyET1sPR2eq ZiGr4BCCwezlSmbFkF3uYPaF/poLev3V651V1h3eMqDkt7GjAKgjh34TkiDagUtWwGum K7Uq3oEfbHP6eB6X/GWPwFpiLEyLOXZxv5RIzwiv4xbrdNonY8u0q6YrjRsVPvCR5iOh D7Ew== X-Gm-Message-State: AOAM533x+247s5McHd9dTV+dwqIpSLlMNLlY7eO8GssDF8tC54jtc760 JPnBWXRWakTzLflkIIVdbZ8ebhcFI/hTe1kK7WjTuA== X-Received: by 2002:a5d:58f6:: with SMTP id f22mr21961347wrd.128.1622646431784; Wed, 02 Jun 2021 08:07:11 -0700 (PDT) MIME-Version: 1.0 References: <20210602112321.2241566-1-anup.patel@wdc.com> <20210602112321.2241566-6-anup.patel@wdc.com> In-Reply-To: From: Anup Patel Date: Wed, 2 Jun 2021 20:36:59 +0530 Message-ID: Subject: Re: [PATCH v5 5/8] cpuidle: Factor-out power domain related code from PSCI domain driver To: Ulf Hansson 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 Wed, Jun 2, 2021 at 6:47 PM Ulf Hansson wrote: > > On Wed, 2 Jun 2021 at 13:24, 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 > > Reviewed-by: Ulf Hansson > > A small nitpick below. > > [...] > > > +EXPORT_SYMBOL_GPL(dt_idle_pd_free); > > Do we really need to export this symbol? Looks like there are only > built-in cpuidle drivers that are going to use it. At least for now. > > As a matter of fact, the same comment applies to all cases of > EXPORT_SYMBOL_GPL from $subject patch. Can we drop all of them? I had kept the EXPORT_SYMBOL_GPL() to be in-sync with the dt_idle_states.c but in this case I agree we don't need to export. I will drop all EXPORT_SYMBOL_GPL() in the next patch revision. Regards, Anup > > [...] > > Kind regards > Uffe