Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp873628ybv; Thu, 20 Feb 2020 08:46:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzh4BA5evfT7uJIT16Ztgw6rSwp3BIGyupegp8yO0AjdJjZmnqOqkB5hUQ7eK3RvQyhPqcl X-Received: by 2002:aca:43c1:: with SMTP id q184mr2613928oia.116.1582217212948; Thu, 20 Feb 2020 08:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582217212; cv=none; d=google.com; s=arc-20160816; b=RWBUsoa3u0/1j4daFXNvZ8eLbqveaBu3STvgrKR/9/EFQy94cYuW0Pp+xpRAUdA7Mp jqW2tl6YKwCx/hAFzz2TLBJlZzWRetgLf6xpC83jgZ52GdbQcZ0ElCZd5C57+s17ur2A OTZ3g0J9rae9AV/k1V4u+kn0OnI7yM1970IjZlZjGFg6WG+ti2z9c/VV1Wczm9WeNlLV p3VG15KNexW0xQRNvgEvE4oT0khArUbmmXiC4sIWxXCP8eY5lS/BG+VsjZIoJ1pCIRJr DniPlHlBGIc5l4FxZcut2Og3oCteeWghXfmFETDALhRu11lRt9qgwXrBIjd5PmWhrdIM z4rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rQW9eHI7pKppZeVERBUxoZZB5uQRfBAtU72OV0olm6k=; b=ODrkz83mP+8fJJxAs1301jEkWa0sVff45qi5nJ0nOZIxGRmCqwwlnHef6mas6NySnO J9jD1sNU7oqtCaxTorVFRtZO4PjfY4nUnxFOX8QwU/yRbKpTXm5OzwxbcoFYDWzjNar9 cufOkJSDNt0qL49Qb36d3mNo4DKBSyCy4zQaOabLLDwqft71IZ9NM9aNh0TDQ6cdtWvL I4PpdfxgpEVTeihMlOu2lPOw9WzDZTTAfFn+6nmBVjpqCMfE1CVoV5XXsEibLzc7d0ru sw8Nj/zI6BM4DRoC9+GPb7zldXKmRXGIVbEKMprR5ZV3cv+LKA3FEBFlTJDGhDUt2ydk VTKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p8EY09tK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si10667910oig.91.2020.02.20.08.46.40; Thu, 20 Feb 2020 08:46:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p8EY09tK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728413AbgBTQqb (ORCPT + 99 others); Thu, 20 Feb 2020 11:46:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:46680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726959AbgBTQqb (ORCPT ); Thu, 20 Feb 2020 11:46:31 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 1F08520801; Thu, 20 Feb 2020 16:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582217190; bh=6KCr8/c31+4Zjv2FH9fu1ipa+HTFqM2T3bz66PmzOTA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p8EY09tKFL3VUgGkWXd8/ebo9udOVi2YkgfOFmh6dOOng/lP+pdix1x8aoPoy6Urr sxmsyjOhrBZsvmTh0FGHwxJNI/yHFPA2IorIv1gtJlw7IDsd154sfOGrWwfpKTqKwa hSdmHhrfaPhR+U0UfUm0RenX/Y7ENgCExOAYOzDU= Date: Thu, 20 Feb 2020 11:46:28 -0500 From: Sasha Levin To: Suman Anna Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tony Lindgren , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH AUTOSEL 5.5 218/542] ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879 Message-ID: <20200220164628.GE1734@sasha-vm> References: <20200214154854.6746-1-sashal@kernel.org> <20200214154854.6746-218-sashal@kernel.org> <1ea1b9d3-ce1e-83ca-e2a4-dfb67b12754d@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1ea1b9d3-ce1e-83ca-e2a4-dfb67b12754d@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 14, 2020 at 12:34:19PM -0600, Suman Anna wrote: >Hi Sasha, > >On 2/14/20 9:43 AM, Sasha Levin wrote: >> From: Suman Anna >> >> [ Upstream commit 2f14101a1d760db72393910d481fbf7768c44530 ] >> >> Errata Title: >> i879: DSP MStandby requires CD_EMU in SW_WKUP >> >> Description: >> The DSP requires the internal emulation clock to be actively toggling >> in order to successfully enter a low power mode via execution of the >> IDLE instruction and PRCM MStandby/Idle handshake. This assumes that >> other prerequisites and software sequence are followed. >> >> Workaround: >> The emulation clock to the DSP is free-running anytime CCS is connected >> via JTAG debugger to the DSP subsystem or when the CD_EMU clock domain >> is set in SW_WKUP mode. The CD_EMU domain can be set in SW_WKUP mode >> via the CM_EMU_CLKSTCTRL [1:0]CLKTRCTRL field. >> >> Implementation: >> This patch implements this workaround by denying the HW_AUTO mode >> for the EMU clockdomain during the power-up of any DSP processor >> and re-enabling the HW_AUTO mode during the shutdown of the last >> DSP processor (actually done during the enabling and disabling of >> the respective DSP MDMA MMUs). Reference counting has to be used to >> manage the independent sequencing between the multiple DSP processors. >> >> This switching is done at runtime rather than a static clockdomain >> flags value to meet the target power domain state for the EMU power >> domain during suspend. >> >> Note that the DSP MStandby behavior is not consistent across all >> boards prior to this fix. Please see commit 45f871eec6c0 ("ARM: >> OMAP2+: Extend DRA7 IPU1 MMU pdata quirks to DSP MDMA MMUs") for >> details. >> >> Signed-off-by: Suman Anna >> Signed-off-by: Tony Lindgren >> Signed-off-by: Sasha Levin > >You can drop this from the 5.5-stable queue. Mainline doesn't yet boot >the processors, so this is not needed for stable queue. Now dropped, thank you. -- Thanks, Sasha