Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1502472ybh; Mon, 13 Jul 2020 22:36:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9/tkvl621yQYkxUvn7RqXKgLwCor5G6ZGm/obwueiTAwANlvipOYhyLnWjy10QLuG9Vl9 X-Received: by 2002:a05:6402:306a:: with SMTP id bs10mr2690597edb.51.1594704972988; Mon, 13 Jul 2020 22:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594704972; cv=none; d=google.com; s=arc-20160816; b=eYV0uTTZ/GMHfF3zJinXkX9Qt+IgZLNvlQ47QBq/2qyZVcGREc1Jm74TS/dtU+vlKx 7B5MdKDXpI5N+6CuYFLlfZcOVNNQ6o70lDJAx4uzhjpieBn0fLGIAUUS726pJyfYJVPY smeCjjQnPFOs98gRaYums+1bqYUuzJ9mEHsaoyt7Y/Lc9oTycm3YALpx10hX72WWBiKz 5x/ofQ5BfdaRIOJhwWbVwXAVEwcxsh0hU7tw1xi7AiNMMo4YuhZRkYAsh9sJtf95Xkxf Mrd//Ysm/aLF/+aRpENt7tdG/CLCuZqaLqYSDDtaQywrlddjYlIjTzD5+WAHQ+5/0T+m gxLA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature; bh=ILPa8NO9W+lRh2reT/2n5OpGYrcFvUffhW4ZNUiY2zA=; b=EEz40HXcu7rk+j7wFVLDcAhkavzPi34ZQaFIBw4ZRsplGTaP6XWhomewxKR/8Q+ght 73gDmKDo7H3ZgmuGG7bhl6wLbe2SG0hTU0cQC9mJj8CWqmUoHu1DOFlbsVhXRE41qf/6 AZqZClmP+xcXkNn+NogGI4rQjCWyQLy9l5x2mDQ44PjMBhINhWCRgNByst8/eQF5ghE+ XSn31BxDe9R6htAVBRMB3vJ7BWqa6UX1GxKrpW4U9sVDxwpTLkxXbNs9Q6dGKfOmzWTr IHdE3+H5YszURasiqy5E1MAWV/2sRh40w2hrKMA58F5sa0uIThgKxL9y/bNoB4+qVSSf XNvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=KI+Nh5Ag; 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 i18si10286517ejy.71.2020.07.13.22.35.50; Mon, 13 Jul 2020 22:36:12 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=KI+Nh5Ag; 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 S1726431AbgGNFeZ (ORCPT + 99 others); Tue, 14 Jul 2020 01:34:25 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:15411 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbgGNFeZ (ORCPT ); Tue, 14 Jul 2020 01:34:25 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1594704864; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=ILPa8NO9W+lRh2reT/2n5OpGYrcFvUffhW4ZNUiY2zA=; b=KI+Nh5AgIJFh20vEmWJqDOBDLQVmd3f3+E7k67k5bXmZp4soqMjwsL3OoDhxJ2UoxogJwXfp MmQ9ZcGOD6zC0+ppuTDuShDwUsCRT6ZEiipw6SXcJXdS3/qFXSuS7GrKDahLb6Nxu2XjrWTs /Y02nU8tcDMX7RXNv0ZGE/5zZNs= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5f0d43d1512812c070dd1bbd (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 14 Jul 2020 05:34:09 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 24D71C433A0; Tue, 14 Jul 2020 05:34:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,NICE_REPLY_A, SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.1.11] (unknown [61.3.18.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3AF8CC433CA; Tue, 14 Jul 2020 05:34:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3AF8CC433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org Subject: Re: [PATCH] tty: serial: qcom-geni-serial: Drop the icc bw votes in suspend for console To: Doug Anderson , Greg KH Cc: Bjorn Andersson , Andy Gross , Georgi Djakov , Akash Asthana , Matthias Kaehlcke , linux-arm-msm , LKML , linux-serial@vger.kernel.org, Stephen Boyd References: <1594287420-24141-1-git-send-email-rnayak@codeaurora.org> <20200710124152.GC1567243@kroah.com> From: Rajendra Nayak Message-ID: <18c235bc-03ce-e2f4-6d95-edff0fdf3edb@codeaurora.org> Date: Tue, 14 Jul 2020 11:04:02 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/14/2020 6:23 AM, Doug Anderson wrote: > Rajendra, > > On Fri, Jul 10, 2020 at 5:41 AM Greg KH wrote: >> >> 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 > > Could you post a v2? Bjorn landed some of my geni serial patches to > make console / kgdb work better, but then I realized that your patch > no longer applies cleanly. It's trivial to resolve, so hopefully a v2 > should be quick and then Bjorn can land? Thanks, just rebased and posted the v2. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation