Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3592134rwd; Sat, 10 Jun 2023 10:26:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4e6AyP6d4AWlkMRavoXyYDOSTvZdIUuu6HX5SS6WkeeesqVxv7vOMjs2vFd2Cg1aHRjWS6 X-Received: by 2002:a05:6402:1644:b0:514:9aae:452a with SMTP id s4-20020a056402164400b005149aae452amr1269662edx.34.1686418003200; Sat, 10 Jun 2023 10:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686418003; cv=none; d=google.com; s=arc-20160816; b=0zr/VQvDELnDLvjCUckTUeiKZufVX4cztIzmxMY78Z5XY4JMCsrRb1S3FFuknQmX7/ djvl/pgQ/MAuSm/15P0QAtojo6xwT6r3NgBjyHbscjsZWxzfBlVuUZ9qF8Gy9fmy5b0R YYv+oe2eHY6vTkDLC6n9BtyO7BzAq8SBEKGMOxXJ9MVrKOmLAPgMdlrc9oNG+2WFufed t6/cKzICZ9CKPhMcWfpmNCz/uE/0Ms0QhnQ3fFljODMvgU0Y+ld36hZBPgZ4GQSB5/GY 3QiQnjDJLl3h8k5fLZzZW/3jCRR7HAI1CMzB9f2YYRoghq8imK9/6dvQEDq7E7WkpYAo YgAw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kjwUWdjMAradILY7SZyxj3Cb4vkQxpU30SIB6l4HfBk=; b=gbqtk5IJTsuxWXQzfKA7hkHzbjlipIeovwkDycCWWfpauFBJlrxJNeZRTnq1HRZUOQ sJKmelfNi9uUCsyJSNx/Qw5sKiyCMpsXPfKOn3M8tYHc7Ecfvr2qZFgp7xXZdWAK6E93 r6+YNiwxjRSJROl8oXYb1Z5dB9XHUvroxQSnLus9xmEmxvtPyJNKuCgpo5mG0WxdMa5T MbI4yz+nWDBEqWDOLGCaYcW9ucq4y/5sz0dW8gwgMvob5pwd7uWsfnBLyRsYnTWCQVf0 mqByZD60H1J0voa9o3aw3BxDSOkeHYvmQxKDhK4dfvs/b+fsM0R18F6rIAhdC0TPJqNy 9VgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bufwS41p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a056402075100b005149b9127c8si3475561edy.549.2023.06.10.10.26.18; Sat, 10 Jun 2023 10:26:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bufwS41p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230198AbjFJQpN (ORCPT + 99 others); Sat, 10 Jun 2023 12:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbjFJQpM (ORCPT ); Sat, 10 Jun 2023 12:45:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8475BD; Sat, 10 Jun 2023 09:45:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 65427619A2; Sat, 10 Jun 2023 16:45:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8888C433EF; Sat, 10 Jun 2023 16:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686415509; bh=3OTF3VCRu8OlBdYQoRhfTjRUbn1Wo8d/EOOeHBboymU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bufwS41pwlwBK4KCshhrD26XB69FC9UnZEdw2iwqnoGBFdQucB53XMB22duc7QEY5 hfq4V0A1pYSrfmtgK7o2xmHW5opj0P87VFeaRfWFKPUpXU5SEKN+xeu5m1u1gNxyrG ktGxXCh+AqksTkZmPLeYQh3SKilXddbOJKHwvpkPLxQJf1p7WAXjnbmJUtyyj4zN9u JziPN1lA03fHs/0mI0Yx70LuuiQnHZJeAb5z7x3aUNsDZ6ApboAhF1YZnJSmg4g6Wv hNfokjJ8dRb0Ufpbl1WTwMcP1dsnca7x3/tQy0TZBbPhv5sucW9JfvY586uaT+Z2sp o283dXyFMlfgw== Date: Sat, 10 Jun 2023 09:48:37 -0700 From: Bjorn Andersson To: "Mehul Raninga (Temp) (QUIC)" Cc: "agross@kernel.org" , "konrad.dybcio@linaro.org" , "gregkh@linuxfoundation.org" , "jirislaby@kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Viken Dadhaniya (QUIC)" , "Visweswara Tanuku (QUIC)" , "Vijaya Krishna Nivarthi (Temp) (QUIC)" Subject: Re: [PATCH] serial: qcom_geni_serial: Setup serial port after Deep sleep Message-ID: <20230610164837.gjncik7aasvfqhe7@ripper> References: <20230530111557.10944-1-quic_mraninga@quicinc.com> <20230530150631.7eg6nkre6sva5dcz@ripper> <20230601040734.qiy3ibrpznrqptui@ripper> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 02, 2023 at 06:39:02AM +0000, Mehul Raninga (Temp) (QUIC) wrote: [..] > > On Wed, May 31, 2023 at 01:06:22PM +0000, Mehul Raninga (Temp) > > (QUIC) wrote: [..] > > > > > + if (pm_suspend_via_firmware()) > > > > > > > > I'm not familiar with this api, but aren't all our systems > > > > implementing firmware- assisted suspend? > > > > > > Not all the platform supports deep sleep hence to differentiate if > > > resume is from deep sleep suspend or normal suspend, this api is > > > required. > > > > Can you point me to where this difference in flags is coming from in the > > upstream kernel? > > In upstream kernel by default the flag is false, and for deepsleep > support vendor kernel sets this flag true. I am questioning whether this is correct, given that we indeed "suspend with the help of firmware". But I might be misinterpreting what that statement means. Regards, Bjorn