Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2452845rwi; Fri, 28 Oct 2022 07:16:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5PxDfhF6aOCa6oWlj2MnIu5M7YRwTbcIOgFn8Mqi0L5N+uypAa09ANBMo6TgY+PP6edHsq X-Received: by 2002:a63:fd41:0:b0:438:7670:589a with SMTP id m1-20020a63fd41000000b004387670589amr46590123pgj.148.1666966588332; Fri, 28 Oct 2022 07:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666966588; cv=none; d=google.com; s=arc-20160816; b=P4YQOq+akWmyrE6oomJXgu8RDSexUBQeoJl/i827Cxz1xQCYBQHvrMESHyt9uP1Gen Ed03Tzriibd8AVEjnOkSbu0nd/3Jj2r5WWBRiNgr9MqzUgOZpNchcXXCQ3kWuqoHAq9V G9a82aJfiS1di89gSbe0tMcy+CkG4+F1ttIGnlND0tI8gXiblpYBs2+Ba60Fc1djdlON bfqX5ZKd1hPvtv/3Y3GXqm7QJ4FYi6zI5d6RF4Kx6p7Hto1C6JtadlGxLLO1Y5RhroJL 7jQGpZLREEdo0Xr/vduw06DAQfWujNFWMutcu0VE4LSrjG51n/fkyVgCS49KI24wEYxD peDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AvndWKZN6LBnkeyEo3GsLVOgmRkKVK4LJoEomFPHleA=; b=h+/fVu0wPaDFSkxqVUScScy4AKdcf/AqONm8un9PbHdZb42eMD+uz8I8oYDt+nBAqZ FPH4gzAZO8EFYIOCxSrh7LtkqKRc+MmAOC8sULoJs/MiC85MUJ27bPtVzZQf5Gr8RULy NrBHKQhrrW4bzXjlrNBJVK4AIKW5SwL55z8WrSx6Pfaq56LhcuwXZ5c0S8+e1bU6nhWg vGwt31ei7JiuPEn7+YN1f9ZZdDvPasolRM7OB0UvxfiT5vlXJCdxbBeLepK1T6+u4erV sBzskHep/IiEKbHrddE3kI+aJo9GkUw+mNrAqbJwiQzFuK35HHHXd5F2Vsgo66rRyypU 92QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fYzKHqgR; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ms19-20020a17090b235300b00211e0e9f18csi5103579pjb.40.2022.10.28.07.16.15; Fri, 28 Oct 2022 07:16:28 -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=@ti.com header.s=ti-com-17Q1 header.b=fYzKHqgR; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230390AbiJ1N3U (ORCPT + 99 others); Fri, 28 Oct 2022 09:29:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbiJ1N3S (ORCPT ); Fri, 28 Oct 2022 09:29:18 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1D61D066C for ; Fri, 28 Oct 2022 06:29:17 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29SDTBvW014436; Fri, 28 Oct 2022 08:29:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666963751; bh=AvndWKZN6LBnkeyEo3GsLVOgmRkKVK4LJoEomFPHleA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=fYzKHqgRVz3mt8gQUxdWcGPVImByYC/bJ9cja1lM2Sm/i0kmVEZyolqacQIGiOW6T hXjVTRqrVNm7zg3WiKEA5K4gbJ/R/CPdS9NVD6AGwfKQQNRMPyKK4bVjWjnQIhqIB5 YU0jkmfEk/AQjIHCGBCO7f6YH4LG8Z4hJuSCQyIY= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29SDTBtW014758 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Oct 2022 08:29:11 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Fri, 28 Oct 2022 08:29:11 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Fri, 28 Oct 2022 08:29:11 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29SDTBYi049338; Fri, 28 Oct 2022 08:29:11 -0500 From: Nishanth Menon To: Santosh Shilimkar , , , , CC: Nishanth Menon , , Subject: Re: [RESEND PATCH] firmware: ti_sci: Fix polled mode during system suspend Date: Fri, 28 Oct 2022 08:29:10 -0500 Message-ID: <166696372897.12728.15984133708392906212.b4-ty@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221021185704.181316-1-g-vlaev@ti.com> References: <20221021185704.181316-1-g-vlaev@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Hi Georgi Vlaev, On Fri, 21 Oct 2022 21:57:04 +0300, Georgi Vlaev wrote: > Commit b9e8a7d950ff ("firmware: ti_sci: Switch transport to polled > mode during system suspend") uses read_poll_timeout_atomic() macro > in ti_sci_do_xfer() to wait for completion when the system is > suspending. The break condition of the macro is set to "true" which > will cause it break immediately when evaluated, likely before the > TISCI xfer is completed, and always return 0. We want to poll here > until "done_state == true". > > [...] I have applied the following to branch ti-drivers-soc-next on [1]. Thank you! [1/1] firmware: ti_sci: Fix polled mode during system suspend commit: b13b2c3e0e4d0854228b5217fa34e145f3ace8ac All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. [1] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D