Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1499267ybt; Thu, 9 Jul 2020 08:27:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPfjyhQiLy97I5s1S9L+hH4du5xtfjrBGZ8KevtIudDA79zJ/vZFr98+qTFrtAUcA7rW9r X-Received: by 2002:a17:906:4447:: with SMTP id i7mr47178371ejp.191.1594308448051; Thu, 09 Jul 2020 08:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594308448; cv=none; d=google.com; s=arc-20160816; b=s+weOpHsKFM1DORr6eNF/S2b2BvEXqAshdY4l4mR0hAiQqAhsH76mqbl48TRpPOmWz iU9obTTJTi4HYElv0c+q7KVpAtjwiZv1od6Vg3tO7R/f90+8KCs4zp6u7elzQhSuAyAp Q52+8t9L1kdRa9ngKIW7AkTFPz7YkCoevvKggihTb6TxkDeG8CaGbWthWU1uTwRze0JK 2s2R3ukU0XjPke5i4gVvdf7v3e427+EbnmTb1O/O9o0qLhbdf/u8Wn1k7rtCPP+9nd1l iOIPD87pV83OndqRpatVhiXchQKaAkstGC3r2G6hPryzLQwGqNOYNrmp7bPDjmB3BkX0 ccfQ== 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=Io/mcFrQGmKFI/J7y8Kvbnw7Sd2yzklarBYDCcZ/mU4=; b=UdaW3mnsv06AsYpFpE2n927jrkyNtKdGwIxV1Nmq5v3M3D/rBDRZjFOqkcmvsQBWUZ x6eoe7Mr6DQ/tPe9I7WbyFmKf2UCjYf8QS/yBSkg0sFqMAQ/QC7rxtxaNfVPOz7C0RFm S/hvwqs/tvZzfX9VodkSkkC49rebMTo6Dk/m8CrJ17TsO8MDr7k8l061vN13iYyArmot +p65X3EBpI7y7d84SPT+hy/WWyuDkbNT9yc2oryJqUNyUZFlAjnSs2rWWzOd6n1Ugqv0 q/FRFHzyMJ+OW49ZoKhMZNaKTaqtbI6ORD8EvMlVvSX42cG7oaaJgatxoJsym+R1AbJF AR3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lqOZ9Vno; 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 j10si2015853ejs.541.2020.07.09.08.27.05; Thu, 09 Jul 2020 08:27:28 -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=lqOZ9Vno; 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 S1726970AbgGIP0y (ORCPT + 99 others); Thu, 9 Jul 2020 11:26:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726806AbgGIP0x (ORCPT ); Thu, 9 Jul 2020 11:26:53 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68B25C08C5CE for ; Thu, 9 Jul 2020 08:26:53 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id o22so1265429pjw.2 for ; Thu, 09 Jul 2020 08:26:53 -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:in-reply-to; bh=Io/mcFrQGmKFI/J7y8Kvbnw7Sd2yzklarBYDCcZ/mU4=; b=lqOZ9VnoNFqFqWU6dnrvF3ytzvguHdIiMzhTNUwohP1JTvBJUE0fGANEr1kEpsRYaU T88hkxoG+egozI5GuJ1u03E5Az1rZYBu4pj8imOnW6/WuJyf4ZhIA83lN49SaML6koNh 7Jnu5FDNs7JJ/V5DZgH5wY6L3f9qS+8Td+YRk= 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:in-reply-to; bh=Io/mcFrQGmKFI/J7y8Kvbnw7Sd2yzklarBYDCcZ/mU4=; b=U/s2ykRq9SznbGF+q8tW1d5TyzGvrhUG0gchzb9MbtEfEOwh+R3HYU89IJwirv5ja3 qFaL0hYuEF8B64ZhVcMDb9sNyF3kkhOHdRq46LhRe0iCyin67fsqLPnqNhHReXiISVOg OP3sIYRjQVwyDLHD/AYUh3ZwDWX7e25BIPjo3dN7RIeuzXxoXsqCn62yZDYiRntpURHe l0BgPo+g3t9mH3BPKmOvnLIP9Tp8hrFLgLO7OktkPeQplUFSJ6VCtFbd4wNmGGl8XSuQ Fqc2JKJwhuGNcDxbzbExoJcHiYhupe3s5phBXCoY47cS+Xv65hLCqT2TqTNmZRq53aN+ 9T6w== X-Gm-Message-State: AOAM533GclLUOYOFIedcZkluxARwYYc+R7lN8wvV5gQHdA6pUezAKMxr A/eIJZCT8p63olFHmi4ztJwsrw== X-Received: by 2002:a17:902:b687:: with SMTP id c7mr54618732pls.102.1594308413042; Thu, 09 Jul 2020 08:26:53 -0700 (PDT) Received: from localhost ([2620:15c:202:1:f693:9fff:fef4:e70a]) by smtp.gmail.com with ESMTPSA id g18sm3261173pfk.40.2020.07.09.08.26.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2020 08:26:52 -0700 (PDT) Date: Thu, 9 Jul 2020 08:26:50 -0700 From: Matthias Kaehlcke To: Rajendra Nayak Cc: bjorn.andersson@linaro.org, agross@kernel.org, gregkh@linuxfoundation.org, georgi.djakov@linaro.org, akashast@codeaurora.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: <20200709152650.GI3191083@google.com> References: <1594287420-24141-1-git-send-email-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 Tested-by: Matthias Kaehlcke