Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2956605pxb; Sun, 8 Nov 2020 20:49:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyc7eaY5UMjS1knicrkb8BtCN0ox3DuZuGYF6hA7K1dx6aFTztViwgkOjeg/ucBCRHE6LTM X-Received: by 2002:aa7:c68d:: with SMTP id n13mr13916172edq.350.1604897376735; Sun, 08 Nov 2020 20:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604897376; cv=none; d=google.com; s=arc-20160816; b=hlPiJt/sZG8NWux51VJT2hAKibVpiCA5hKTZNQ8jsKZZtDOHweCR0VDX23niXu436B D/fMPwhdtWJyXGH3PWdwKSxhZGVGUJrkpQuIe7Vo7xrrUH1g1Owfj9ktt21XvAYtNtoh nWZva3CZbYUjMMzMQSfPUWVXe7CuwhtwKllwpC2t+sTUXBACWd9H9VW0Bdgo/b8z+TxX qQdsqWbGLZRt0BZ1Em7kccw1LzaMxuwvhaw564zlmoFCE0FGtRy4Bn863q2EraxLyjMJ ZOaezm/28/MXrS1MBgm74vhREDooxpcuvf57yau0i9CfFHKm3Xv4layCiJjh3aqOuZeb MlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=cLiYnZqbbTYE+Gmw/2Cct5bDgH44FThPRJ7yw1uOIgg=; b=QrYfa7WdkVgy4XR6Yo8SMaiLDHqftosahxWLGIoZNNh63ysZXjJfDqs9RmYYHrEI7e YfQk+cYS7KdayiFiZqc+pwPxF2SboZNBLnaNO2beTkn+KpYzNDuZ9XzNMyT/og2/PlR+ UwQTLAmQGrRSuapVlubf9JYeeQe6rhsT8oFoQTEW5VR+dmKoS91DPZq88ZZvCKign3OZ 36diPpZSVcwzTtSswcPquLOAuMn6ydUICGA4dfYVWP6I/Ud0ZqwMXMAleK54rtc/5vpM GE/CqD/28RQefBk0VvMu0ow4qfSMXStrXnqhSjCYl+AnWyT18mqwY/Oo0cfvJsDhq8Np ftrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=q2vWN2tc; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd20si5965735edb.98.2020.11.08.20.49.13; Sun, 08 Nov 2020 20:49:36 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=q2vWN2tc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729313AbgKIErx (ORCPT + 99 others); Sun, 8 Nov 2020 23:47:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728038AbgKIErw (ORCPT ); Sun, 8 Nov 2020 23:47:52 -0500 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3B41C0613CF; Sun, 8 Nov 2020 20:47:51 -0800 (PST) Received: by mail-lj1-x243.google.com with SMTP id q19so6947884ljc.10; Sun, 08 Nov 2020 20:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cLiYnZqbbTYE+Gmw/2Cct5bDgH44FThPRJ7yw1uOIgg=; b=q2vWN2tcxbRALqh8OhrgcjDqiOjQbYaIcNRVNh3xuY/yQantgDrl9u9nLrJnRUv9hA ozelSxwbh5ozbLSshRt26t0nn4JgOue72bFZttfyw0OBrgyxy/0q3YUfYR1pgzipa1SN 6rHhFDgY16ZfVDrPNbw8QVvyGqs9wQGx8X/2T03ASxqQRgNE0dCDud32D9uGfGNfmZew AenTGWzR9MZaHnzxGDIGm5LIPE7Dlu6AUnIf3Gl4/2Uz0XXecX93kgVw1IzKv+dHuxNp SVxUDP0R0o66WKgdGwDfxEasf8e1tTJw/gWlwvjZlL0cz4D/qEX0YXjFyR4Mid3JYB8g gN0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cLiYnZqbbTYE+Gmw/2Cct5bDgH44FThPRJ7yw1uOIgg=; b=UaY+v+txMD7MF/ktpnuLEeAVK8VkJVDYQZTixSWKFFF+39x3srEL8g/b3TMAFSH+lF rDQ1ArMTXPaCM9BhCg940oMoboMQkpkNs+UtgX/R5lf2J5ZYsn8QyiClmJ5KTLJy5qoh yFSHLGeBCKflFajhO9CJLFBxKJxkkLpK4Wn6OWvHdmphhpR0+tU8FeT8ambDVEspqm/y TJjlu3Cq190qtsjmQO+O3rMM4u8A78d/iPLPGilnSF48NSolxdJuuOQu0wUJQ6GJ31pV 1DzmcmPxodZcR8wdLgpxDGA9fTtrOKLbMDaHUZ6mnU/HxHXu2OWh2D2YEEt+jPx+ZNwz uahg== X-Gm-Message-State: AOAM530Vr6J+yXS9gv7zWyAmVXtatMRCiiPhOCuiNoEXMD3fSijrFW02 uEmlaV5WalzhxfXn2Q7A0Q5Q15Lg+2M= X-Received: by 2002:a05:651c:2cb:: with SMTP id f11mr218668ljo.371.1604897270127; Sun, 08 Nov 2020 20:47:50 -0800 (PST) Received: from [192.168.2.145] (109-252-193-159.dynamic.spd-mgts.ru. [109.252.193.159]) by smtp.googlemail.com with ESMTPSA id w13sm795441lfq.72.2020.11.08.20.47.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2020 20:47:49 -0800 (PST) Subject: Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs To: Viresh Kumar Cc: Ulf Hansson , Thierry Reding , Jonathan Hunter , Alan Stern , Peter Chen , Mark Brown , Liam Girdwood , Adrian Hunter , Krzysztof Kozlowski , Greg Kroah-Hartman , Lee Jones , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Mauro Carvalho Chehab , Rob Herring , Marek Szyprowski , Peter Geis , Nicolas Chauvet , linux-samsung-soc , driverdevel , Linux USB List , linux-pwm@vger.kernel.org, "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , DTML , dri-devel , Linux Media Mailing List , linux-tegra References: <20201104234427.26477-1-digetx@gmail.com> <2716c195-083a-112f-f1e5-2f6b7152a4b5@gmail.com> <20201109044354.ljd5pomhob6b7u5v@vireshk-i7> From: Dmitry Osipenko Message-ID: <713b319e-bb7b-4743-59f0-b9892c3da92d@gmail.com> Date: Mon, 9 Nov 2020 07:47:48 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201109044354.ljd5pomhob6b7u5v@vireshk-i7> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 09.11.2020 07:43, Viresh Kumar пишет: > On 08-11-20, 15:19, Dmitry Osipenko wrote: >> I took a detailed look at the GENPD and tried to implement it. Here is >> what was found: >> >> 1. GENPD framework doesn't aggregate performance requests from the >> attached devices. This means that if deviceA requests performance state >> 10 and then deviceB requests state 3, then framework will set domain's >> state to 3 instead of 10. > > It does. Look at _genpd_reeval_performance_state(). > Thanks, I probably had a bug in the quick prototype and then overlooked that function.