From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 991D5C433E0 for ; Thu, 21 Jan 2021 04:09:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 647BB238E4 for ; Thu, 21 Jan 2021 04:09:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729636AbhAUEJV (ORCPT ); Wed, 20 Jan 2021 23:09:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727470AbhAUEJK (ORCPT ); Wed, 20 Jan 2021 23:09:10 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A52EC0613D3 for ; Wed, 20 Jan 2021 20:08:30 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id q131so717451pfq.10 for ; Wed, 20 Jan 2021 20:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=X4Jw/E+MtQCCTnL+PGuuK0p7Rc+43AmkTUUI5e9cfl8=; b=zNayIhusqeaJcQKJoNACth9N6WIAptS33FTJhomoi5rFhdlCG4d3T63nrUWB2tTHVC lWi7KXdFnO0nXBbBVghWQjlANtXi1z79PkIeDAi1VkBwIbgG1/SSc2QTDgTUxZggeTbT ZhyW84SuqbzH8Zr9pUCUW8rqgb9YtgOcGfddOuCAI7cRbsLkEDq7gjuE6+0QTb8cDOOs qm9cOa6Vf4NzBN/x7g5Wz/KoKYozCfulX++avvbOu5a07qXNTUsnojSE3j89VFxzE6eH Vj8beYYR8bgec4BVA6sM434V20kxQM/tEi6+cn0U7+l7yzbuf6tEbaJLUaV10f2pKQfQ 7Zpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=X4Jw/E+MtQCCTnL+PGuuK0p7Rc+43AmkTUUI5e9cfl8=; b=U1JaRX1Rg+RhIqoAw7Sm6rrjQo/OrRfTAf8nWcGwEfLL1N+0kjzSo/XCADZ0do6Jtc MyAH8VEHn62AN/STYVg2uejcE5gYVexjmBtbNlT0+Gkeg4gTIly1QY/S72lOczI7KhfV lO+uR3DFUPo8Leyq7YNbnxtsbtgIYpzs5OeZ6nUXv/w83H8NAqBROvPDxLuugwRAd2oK b3dli4v5CJP/2/iMUkR8mlPJM22J4P7JgeljwGGH8lJ2/sXwsQw0Iev7hwaV3dfr54sz ft1AUVZGlQo/caP0a7qDih3Q50NI8df8S1BTjWpsx3xvqFU/Jokdo3R/XZi75cGBNqNm G2nQ== X-Gm-Message-State: AOAM533mfIMFajP6DibsrEoI/a0x9OX13sEC9FQnFD+00BNo0vF9aj2S 2i+auazZFH0qAznWcbMkN9QW7A== X-Google-Smtp-Source: ABdhPJytsWhRYcWkltf5/Tc9Fp63GWINBFAh/gZQi00WIv4gQiwq3VmsZi6nh+YyCfv8eBHuYPnT+Q== X-Received: by 2002:a62:64c9:0:b029:1b9:6b48:7901 with SMTP id y192-20020a6264c90000b02901b96b487901mr11809332pfb.0.1611202109309; Wed, 20 Jan 2021 20:08:29 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id 126sm3687628pfu.31.2021.01.20.20.08.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jan 2021 20:08:28 -0800 (PST) Date: Thu, 21 Jan 2021 09:38:26 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Ulf Hansson , Peter Geis , Nicolas Chauvet , "Rafael J. Wysocki" , Kevin Hilman , Peter De Schrijver , Viresh Kumar , Stephen Boyd , Greg Kroah-Hartman , Matt Merhar , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v5 1/3] PM: domains: Make set_performance_state() callback optional Message-ID: <20210121040826.jsxdv24vxnobq45s@vireshk-i7> References: <20210120211232.17299-1-digetx@gmail.com> <20210120211232.17299-2-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120211232.17299-2-digetx@gmail.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On 21-01-21, 00:12, Dmitry Osipenko wrote: > Make set_performance_state() callback optional in order to remove the > need from power domain drivers to implement a dummy callback. If callback > isn't implemented by a GENPD driver, then the performance state is passed > to the parent domain. > > Tested-by: Peter Geis > Tested-by: Nicolas Chauvet > Tested-by: Matt Merhar > [tested on NVIDIA Tegra20/30/124 SoCs] > Suggested-by: Ulf Hansson > Reviewed-by: Ulf Hansson > Signed-off-by: Dmitry Osipenko > --- > drivers/base/power/domain.c | 33 ++++++++++++++++++--------------- > 1 file changed, 18 insertions(+), 15 deletions(-) Reviewed-by: Viresh Kumar -- viresh