Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp507689ybt; Fri, 10 Jul 2020 05:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE55uUVZlYGy3FpRYrnj9x4/rNMC0Jk41T7eIbHLIL8fuM9vNGA8curWEPy/f2pndsfLBu X-Received: by 2002:aa7:d7d0:: with SMTP id e16mr77705250eds.10.1594384940673; Fri, 10 Jul 2020 05:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594384940; cv=none; d=google.com; s=arc-20160816; b=LAES5NbxMsQyzQcK1NPOt7FVuvLSOzApJ7qPQFwhEFNsmEC59qICysFMqnY8KJ509V q7bPyUtS7OVmzq14C7oK3SzonBK4Yh9Eci9iNcEz2TUgcqS6GkZognXqKwdQIu4rpgP1 ibmrQ/9BjQ95xmaECMyiSm6l78cRE7DywYP9iDYF7RzmHxO/kAiI53YgcqICOEupmjt8 b6F0i2izIfEfTloMx3/GtYZPVykd/UlUuBW7U5la1Fg66KHemN/5xeVlHi5jCUSZfIsp VfZb+MDJMip6+W9JpkfYt04t3Xjy+idS5Zu9VCCGEIaMEmxc3upFIUauuXqNGIGZuYDU igzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3dxK2UQgf4QV2E315KHePrLsURu2smlQOIhQ/EOWQUw=; b=IFP7klui6gwXoEDCGVZlxdgDGBez6loFljQlwKw8Ao5cFAWyF0B2iYqeoj0RNJZNF6 U8fbzIQrN5LCVoX01Pfd2bPSguNnGeG/3MN85ROdO0AkjCgPGS1/qlmCjd8rO4owQGX7 kKSYdubTNBRR9ukkLESpzMhfWuzhR3rgNz5tVAS0VSIj0br6ev4kmvNVjjwbTGKy31Th ktOb7m9Vq/B9IuDTgCCMWxE8t8PdHa1GnliOHls404s4VsHkLjc9NBDVStgf8YROOJov dugletNsVSjCWuQUv3T3bxZI/7lHcXtb1XXNZLttf575SYnPR7DnYGU0ZfyuyzuZBzXT CBiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IKo6ct7s; 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 f12si3627912eje.309.2020.07.10.05.41.57; Fri, 10 Jul 2020 05:42:20 -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=IKo6ct7s; 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 S1726942AbgGJMls (ORCPT + 99 others); Fri, 10 Jul 2020 08:41:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbgGJMls (ORCPT ); Fri, 10 Jul 2020 08:41:48 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3133820772; Fri, 10 Jul 2020 12:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594384907; bh=J7PYdEtW5cpEgdBRUgOkkFdJLaOCK3sIQx6WpLZpPww=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IKo6ct7sQo7OWQepRz+ge14SnAYJkCnMP2XE4ID2wT03XwXQYbNkYWhfmeWwrScaV NxxvGj9lblXwEaPpQY2V+EcLlH1pbvAhy112xzNr91H7dxP+D4v+OUZWpvWDCNpAhm /laQ9vJj1duoLpuJfNxL/0VW1WbIl6lkGFSzHEbA= Date: Fri, 10 Jul 2020 14:41:52 +0200 From: Greg KH To: Rajendra Nayak Cc: bjorn.andersson@linaro.org, agross@kernel.org, georgi.djakov@linaro.org, akashast@codeaurora.org, mka@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, dianders@chromium.org, swboyd@chromium.org Subject: Re: [PATCH] tty: serial: qcom-geni-serial: Drop the icc bw votes in suspend for console Message-ID: <20200710124152.GC1567243@kroah.com> References: <1594287420-24141-1-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594287420-24141-1-git-send-email-rnayak@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 03:07:00PM +0530, Rajendra Nayak wrote: > When using the geni-serial as console, its important to be > able to hit the lowest possible power state in suspend, > even with no_console_suspend. > The only thing that prevents it today on platforms like the sc7180 > is the interconnect BW votes, which we certainly don't need when > the system is in suspend. So in the suspend handler mark them as > ACTIVE_ONLY (0x3) and on resume switch them back to the ALWAYS tag (0x7) > > Signed-off-by: Rajendra Nayak > --- > Note: Patch applies on qcom for-next, which has the ICC support patches. > The tag macros are currently not exported and hence the hardcoded values. > Perhaps if and when https://patchwork.kernel.org/patch/11619705/ lands I > can refresh this patch to use the macros. Feel free to take this patch through that tree. Acked-by: Greg Kroah-Hartman