From: Sasha Levin <sashal@kernel.org>
To: Suman Anna <s-anna@ti.com>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Tony Lindgren <tony@atomide.com>,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH AUTOSEL 5.5 219/542] ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot
Date: Thu, 20 Feb 2020 11:49:43 -0500 [thread overview]
Message-ID: <20200220164943.GF1734@sasha-vm> (raw)
In-Reply-To: <a7666322-f931-63f1-a4c5-d44c2ba4ed0c@ti.com>
On Fri, Feb 14, 2020 at 12:34:58PM -0600, Suman Anna wrote:
>Hi Sasha,
>
>On 2/14/20 9:43 AM, Sasha Levin wrote:
>> From: Suman Anna <s-anna@ti.com>
>>
>> [ Upstream commit 4601832f40501efc3c2fd264a5a69bd1ac17d520 ]
>>
>> The IPU1 MMU has been using common IOMMU pdata quirks defined and
>> used by all IPU IOMMU devices on OMAP4 and beyond. Separate out the
>> pdata for IPU1 MMU with the additional .set_pwrdm_constraint ops
>> plugged in, so that the IPU1 power domain can be restricted to ON
>> state during the boot and active period of the IPU1 remote processor.
>> This eliminates the pre-conditions for the IPU1 boot issue as
>> described in commit afe518400bdb ("iommu/omap: fix boot issue on
>> remoteprocs with AMMU/Unicache").
>>
>> NOTE:
>> 1. RET is not a valid target power domain state on DRA7 platforms,
>> and IPU power domain is normally programmed for OFF. The IPU1
>> still fails to boot though, and an unclearable l3_noc error is
>> thrown currently on 4.14 kernel without this fix. This behavior
>> is slightly different from previous 4.9 LTS kernel.
>> 2. The fix is currently applied only to IPU1 on DRA7xx SoC, as the
>> other affected processors on OMAP4/OMAP5/DRA7 are in domains
>> that are not entering RET. IPU2 on DRA7 is in CORE power domain
>> which is only programmed for ON power state. The fix can be easily
>> scaled if these domains do hit RET in the future.
>> 3. The issue was not seen on current DRA7 platforms if any of the
>> DSP remote processors were booted and using one of the GPTimers
>> 5, 6, 7 or 8 on previous 4.9 LTS kernel. This was due to the
>> errata fix for i874 implemented in commit 1cbabcb9807e ("ARM:
>> DRA7: clockdomain: Implement timer workaround for errata i874")
>> which keeps the IPU1 power domain from entering RET when the
>> timers are active. But the timer workaround did not make any
>> difference on 4.14 kernel, and an l3_noc error was seen still
>> without this fix.
>>
>> Signed-off-by: Suman Anna <s-anna@ti.com>
>> Signed-off-by: Tony Lindgren <tony@atomide.com>
>> Signed-off-by: Sasha Levin <sashal@kernel.org>
>
>And drop this one as well, since mainline doesn't yet boot
>the processors, so this is not needed for stable queue.
Now dropped, thank you.
--
Thanks,
Sasha
next prev parent reply other threads:[~2020-02-20 16:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200214154854.6746-1-sashal@kernel.org>
2020-02-14 15:41 ` [PATCH AUTOSEL 5.5 085/542] clk: ti: dra7: fix parent for gmac_clkctrl Sasha Levin
2020-02-14 15:43 ` [PATCH AUTOSEL 5.5 202/542] bus: ti-sysc: Implement quirk handling for CLKDM_NOAUTO Sasha Levin
2020-02-14 15:43 ` [PATCH AUTOSEL 5.5 217/542] ARM: OMAP2+: pdata-quirks: add PRM data for reset support Sasha Levin
2020-02-14 15:43 ` [PATCH AUTOSEL 5.5 218/542] ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879 Sasha Levin
2020-02-14 18:34 ` Suman Anna
2020-02-20 16:46 ` Sasha Levin
2020-02-14 15:43 ` [PATCH AUTOSEL 5.5 219/542] ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot Sasha Levin
2020-02-14 18:34 ` Suman Anna
2020-02-20 16:49 ` Sasha Levin [this message]
2020-02-14 15:45 ` [PATCH AUTOSEL 5.5 364/542] usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue Sasha Levin
2020-02-14 15:47 ` [PATCH AUTOSEL 5.5 450/542] ARM: dts: am43xx: add support for clkout1 clock Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200220164943.GF1734@sasha-vm \
--to=sashal@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=s-anna@ti.com \
--cc=stable@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).