Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4456602pxa; Mon, 10 Aug 2020 09:28:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEFL+NpSYxNuEBHiuC2mAn6zdnruV750S6IuXS7k4LFmAlpVSB6nVje27xyC/zKjX/+4A5 X-Received: by 2002:a17:906:3cc:: with SMTP id c12mr21653228eja.222.1597076901309; Mon, 10 Aug 2020 09:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597076901; cv=none; d=google.com; s=arc-20160816; b=0MYdBr7YOWuFlBPDHbZprBm4N3z+wj5+Az+/WFR46FIBny6adnnLJv++eA27xpURpx Wl00g3qloQuEjxcKz4IL7z25bg1ccKGi/CyyO8zxBccvbzXVDfCAavh9T+1WSm0UVuBW W9ypXUQfjTWCvEonm35/S5+3YoOCJhLpsVJm6NhnGCRkwHSo2x6+h2yNE+dcTp2zelgR DitSKYYAIIMALKAhp2AuwJhAm7Z5GO1MhNU7GGLKXrB6BIdgEIT5opcBFVDDgs7zpqia vwJDUfpLHzFP1QHG5mHpieD45AvsGAR7GUJHLtLpCxrazirosT4nM2LHECvBRprK/YOR NUGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=E+uR3lvZgho+66uAZyc4pyhhwrC6Btl1MZqA0991XZU=; b=IvlaGwZCtxGY2PqOa/2DtUOZBWng5hSYQ3k1cJwdXFWOyAywHAP6dm7L4rv1sWWLoo OGWxrX4rkAIhptRpokLqNMeurjKAElIMnei36Frl9j4GBT7mx4obL9F1n8soq98XhFqY lOgY2PldAezeC09xInK/NPtcYFan47pZUKsu8SZB3O5qilAqooPhSNHZumHPy2DSYXt5 +ddEEcqssbVAcar8XzXHJnergv3dSSpltuMtfpLHAvtVj5O1hNW4AAcBwX6B49jAP4Qj n+yIg2Wkf1AllVv5I4s0SJiNlU1O3mVhTvWPCVcIP/W8UAbTKWHgG2goGowJiYUc7nVB m/XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1A5HlNsY; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si12205460eje.469.2020.08.10.09.27.57; Mon, 10 Aug 2020 09:28:21 -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=@kernel.org header.s=default header.b=1A5HlNsY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbgHJQ0i (ORCPT + 99 others); Mon, 10 Aug 2020 12:26:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:58358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727808AbgHJQ0h (ORCPT ); Mon, 10 Aug 2020 12:26:37 -0400 Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EADF5208E4 for ; Mon, 10 Aug 2020 16:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597076797; bh=fkfI6OJtgRo63f+y4uLQRkaVeFikdXuomFKqwErsDWM=; h=References:In-Reply-To:From:Date:Subject:To:From; b=1A5HlNsY9sbYwrjvpsPbvfcoC+3uJ2wFSkcaCgV5gctYlI0tCGW2kNhN7x3u3KMEu g2wsrb68w5s7kaMhv0F/FC22kvkpUE76ufHo/gqF4QCgUxKk9X1hdf4GvIhsQT8CLI Ot9GZqV/1QdC6DWU204fTJPIaob1llqcXCgfm+DY= Received: by mail-ot1-f52.google.com with SMTP id v21so7729859otj.9 for ; Mon, 10 Aug 2020 09:26:36 -0700 (PDT) X-Gm-Message-State: AOAM5325yDiGBpF52yelbvQFMVwiYMgbSkobdFQv9Ywos3uCNQcCQv4C lfpTTO+oXnVpRmXQfrHi92l419gfSYtRExbG5A== X-Received: by 2002:a05:6830:1d8e:: with SMTP id y14mr1457483oti.129.1597076796182; Mon, 10 Aug 2020 09:26:36 -0700 (PDT) MIME-Version: 1.0 References: <20200710095409.407087-1-peron.clem@gmail.com> <20200810122138.GH2352366@phenom.ffwll.local> In-Reply-To: <20200810122138.GH2352366@phenom.ffwll.local> From: Rob Herring Date: Mon, 10 Aug 2020 10:26:24 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 00/14] Add regulator devfreq support to Panfrost To: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Rob Herring , Nishanth Menon , Tomeu Vizoso , Stephen Boyd , Viresh Kumar , dri-devel , "linux-kernel@vger.kernel.org" , Steven Price , Chen-Yu Tsai , Alyssa Rosenzweig Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 10, 2020 at 6:21 AM Daniel Vetter wrote: > > On Fri, Aug 07, 2020 at 06:30:05PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > > On Fri, 7 Aug 2020 at 18:28, Cl=C3=A9ment P=C3=A9ron wrote: > > > > > > Hi Rob, > > > > > > On Fri, 7 Aug 2020 at 18:13, Rob Herring wrote: > > > > > > > > On Fri, Jul 10, 2020 at 3:54 AM Cl=C3=A9ment P=C3=A9ron wrote: > > > > > > > > > > Hi, > > > > > > > > > > This serie cleans and adds regulator support to Panfrost devfreq. > > > > > This is mostly based on comment for the freshly introduced lima > > > > > devfreq. > > > > > > > > > > We need to add regulator support because on Allwinner the GPU OPP > > > > > table defines both frequencies and voltages. > > > > > > > > > > First patches [01-07] should not change the actual behavior > > > > > and introduce a proper panfrost_devfreq struct. > > > > > > > > > > Regards, > > > > > Cl=C3=A9ment > > > > > > > > > > Changes since v4: > > > > > - Fix missed a pfdev to &pfdev->devfreq during rebase > > > > > > > > > > Changes since v3: > > > > > - Collect Steven Price reviewed-by tags > > > > > - Rebase on next/master (next-20200709) > > > > > > > > > > Changes since v2: > > > > > - Collect Alyssa Rosenzweig reviewed-by tags > > > > > - Fix opp_set_regulator before adding opp_table (introduce in v2= ) > > > > > - Call err_fini in case opp_add_table failed > > > > > > > > > > Changes since v1: > > > > > - Collect Steven Price reviewed-by tags > > > > > - Fix spinlock comment > > > > > - Drop OPP clock-name patch > > > > > - Drop device_property_test patch > > > > > - Add rename error labels patch > > > > > > > > > > Cl=C3=A9ment P=C3=A9ron (14): > > > > > drm/panfrost: avoid static declaration > > > > > drm/panfrost: clean headers in devfreq > > > > > drm/panfrost: don't use pfdevfreq.busy_count to know if hw is i= dle > > > > > drm/panfrost: introduce panfrost_devfreq struct > > > > > drm/panfrost: use spinlock instead of atomic > > > > > drm/panfrost: properly handle error in probe > > > > > drm/panfrost: rename error labels in device_init > > > > > drm/panfrost: move devfreq_init()/fini() in device > > > > > drm/panfrost: dynamically alloc regulators > > > > > drm/panfrost: add regulators to devfreq > > > > > arm64: defconfig: Enable devfreq cooling device > > > > > arm64: dts: allwinner: h6: Add cooling map for GPU > > > > > [DO NOT MERGE] arm64: dts: allwinner: h6: Add GPU OPP table > > > > > [DO NOT MERGE] arm64: dts: allwinner: force GPU regulator to be= always > > > > > > > > Patches 1-10 applied to drm-misc. > > > > > > This serie has been superseded by v5. > > > > > > Could you apply the v5 instead. > > > > Oups forget my email > > > > I got an issue with my gmail... > > drm-misc is a non-rebasing tree (because it's got lots of > maintainers/committers). Which means we need fixup patches now. > > Not that currently drm-misc-next isn't in linux-next because of the merge > window, so just rebasing on top of linux-next wont work (at least not > until -rc1 is out). You can get the tree here meanwhile: > > https://cgit.freedesktop.org/drm/drm-misc/ I applied v5 so there's nothing to do. The gmail issue was gmail put v4 and v5 in the same conversion (under v4) which it likes to do somewhat randomly and with no regard to actual threading. :( Rob