Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp732193pxf; Thu, 18 Mar 2021 10:15:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuV2pr3VronmB0uraf8Plv21cYoIwXGHcmqCyN5oqQdSx9Fwz8wTFpvyPaRumKS+bpfyxY X-Received: by 2002:a05:6402:17d5:: with SMTP id s21mr4945141edy.65.1616087704026; Thu, 18 Mar 2021 10:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616087704; cv=none; d=google.com; s=arc-20160816; b=ZjRUO/TYgOLnfJyKwZCEP1TDK3A2x6pd54x1loGMrJX7rgIP6vY12jt5F4LHVzhqPV YOqwsSJ/kNjdiEje9q/jPZqeoL7h+YzN774Lkq6bQxuFC4hkE9K2BfjBS2/5WlR10ROL IYusCvxA+EDfcN6n0cnnurg7jM4gYceC+MrBMim/4oJ/nev/W5cZCP+ZYPCsY5jYIcZL pXHuqI1hFRCv4mQmT0qJ1Qf4F8J9S1LFiDG2Oe5aMyNGkb1rCI7M8zmYtDNnWrEguYgM oxFKAC0pFcc3o31d8Nle50YIN09xc6+cwYqO/cpADGbq2qgt1fPvkwKdEMI6iQimYEYS W3xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1sseX0Xf3BUtKz3PR0Gizm8Ulb+76kkvwxNlI1Phel0=; b=zwUyu9EStYa36PXr/4Kwy1rMnmhVgR1KkqCESHzN9lOCEui+qOuGLdT3SVfOOuyg0e Bna0KtgF1RtYyxxH3yLNV7aZQNvd6QTejFK/jjkyqpILGFIItvb7Cv7HXZJwowgteOzt iiBvt6HUDh6co5nPJ1q1hUJhoVunVIlqmXW07Yv0uZFqqeddOlimJZA8FO+xXxFDHnnb GaOXZzKu3DqMMxaZhT4ociI9eSkl7LwgDvG8DdvQmZRqh1D+04l+7shW2ZNbwIxaj56d Fb5rwV60ydG3mJM/T8Bqt3kFPwVYBE+rriMR4MRR4iw7HH/uRS8S15ig9oFGX7Y8uSXU /H+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lPHk5Qo2; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si2095939edq.82.2021.03.18.10.14.41; Thu, 18 Mar 2021 10:15:04 -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=@chromium.org header.s=google header.b=lPHk5Qo2; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbhCRRNo (ORCPT + 99 others); Thu, 18 Mar 2021 13:13:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232288AbhCRRNj (ORCPT ); Thu, 18 Mar 2021 13:13:39 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9E11C061760 for ; Thu, 18 Mar 2021 10:13:38 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id ha17so3273389pjb.2 for ; Thu, 18 Mar 2021 10:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=1sseX0Xf3BUtKz3PR0Gizm8Ulb+76kkvwxNlI1Phel0=; b=lPHk5Qo2Lb35CXcQnM+dRJ5QATTMsQuJnxyOV8yE5AlzOJe7G7CXoxkCB7ivQ1MHCq B0Dm0BhakKimujDv9ePNv9PH/WSAC/PW8M3GpTFZZTKsPwsBEPHQeT7nPFnN4GWCBNKC 6kDr0+TmcPqWTq4cnlMVj4fQ/ezN8uIhxFx9I= 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:content-transfer-encoding :in-reply-to; bh=1sseX0Xf3BUtKz3PR0Gizm8Ulb+76kkvwxNlI1Phel0=; b=sg2J1TKsSwDYghHzfQ5oqi6oT1lB2laIAf4+jsRUm1nFlLiXn9jV/wPbHhbm8wji00 SdCloHms25qHzq1di+1YYpgoaiUKQbWloav55XW0SMobwz35IvXYwVz/rEnWBiEb51Y6 Eg08Nn0oLgRYqtxpD8kOqv7UWM/5D2xzpUZ28aeeFgiSzdYWfYWkQG8uONS1YlxR6iKM MlNcjrv0HAvdbijqLinOahlplPR7H+VW5JFGO7mCpgcshklVLK0xUtJSiLeremzUhomx 4lIEnr/3dCi7/orllJ1nLQrgakq93sTYXIqUGfrHn902YYjIq+yNl3QMMbx6PCifK8CU Gs/A== X-Gm-Message-State: AOAM5303qKuKSUyUct3ENU6bxux7N86h0zuJ5W3aT2f7YKaFkTyihpuf bqXNCiAzYzLK0HgkdtrJX+yAt3n+Ezbr0A== X-Received: by 2002:a17:902:441:b029:e6:364a:5f55 with SMTP id 59-20020a1709020441b02900e6364a5f55mr10714521ple.7.1616087618263; Thu, 18 Mar 2021 10:13:38 -0700 (PDT) Received: from localhost ([2620:15c:202:1:3cf8:6a09:780b:f65d]) by smtp.gmail.com with UTF8SMTPSA id 21sm2666277pgf.69.2021.03.18.10.13.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Mar 2021 10:13:37 -0700 (PDT) Date: Thu, 18 Mar 2021 10:13:36 -0700 From: Matthias Kaehlcke To: Roja Rani Yarubandi Cc: agross@kernel.org, bjorn.andersson@linaro.org, gregkh@linuxfoundation.org, robh+dt@kernel.org, linux-serial@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak , akashast@codeaurora.org, msavaliy@qti.qualcomm.com Subject: Re: [PATCH V2 1/2] soc: qcom-geni-se: Cleanup the code to remove proxy votes Message-ID: References: <20210318111009.30365-1-rojay@codeaurora.org> <20210318111009.30365-2-rojay@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210318111009.30365-2-rojay@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 18, 2021 at 04:40:08PM +0530, Roja Rani Yarubandi wrote: > ICC core and platforms drivers supports sync_state feature, which > ensures that the default ICC BW votes from the bootloader is not > removed until all it's consumers are probes. > > The proxy votes were needed in case other QUP child drivers > I2C, SPI probes before UART, they can turn off the QUP-CORE clock > which is shared resources for all QUP driver, this causes unclocked > access to HW from earlycon. > > Given above support from ICC there is no longer need to maintain > proxy votes on QUP-CORE ICC node from QUP wrapper driver for early > console usecase, the default votes won't be removed until real > console is probed. > > Signed-off-by: Roja Rani Yarubandi > Signed-off-by: Akash Asthana I suggest to mention that this is essentially a revert of commit 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix earlycon crash"). This makes the life of reviewers easier and it's also good to have the reference in the git history. You could also mention commit 7d3b0b0d8184 ("interconnect: qcom: Use icc_sync_state") in the intro. I tried to test by first reproducing the original issue without 'sync_state' in the ICC, but wasn't successful, probably something changed in the boot/ICC timing in the meantime ¯\_(ツ)_/¯. Reviewed-by: Matthias Kaehlcke