From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Joerg Roedel <joro@8bytes.org>,
Thierry Reding <thierry.reding@gmail.com>,
Laurentiu Tudor <laurentiu.tudor@nxp.com>,
linux-arm-kernel@lists.infradead.org,
iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org,
Jonathan Marek <jonathan@marek.ca>,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 4/5] iommu/arm-smmu-qcom: Consstently initialize stream mappings
Date: Thu, 9 Jul 2020 13:02:04 +0530 [thread overview]
Message-ID: <20200709073204.GH34333@vkoul-mobl> (raw)
In-Reply-To: <20200709050145.3520931-5-bjorn.andersson@linaro.org>
On 08-07-20, 22:01, Bjorn Andersson wrote:
> Firmware that traps writes to S2CR to translate BYPASS into FAULT also
> ignores writes of type FAULT. As such booting with "disable_bypass" set
> will result in all S2CR registers left as configured by the bootloader.
>
> This has been seen to result in indeterministic results, as these
> mappings might linger and reference context banks that Linux is
> reconfiguring.
>
> Use the fact that BYPASS writes result in FAULT type to force all stream
> mappings to FAULT.
s/Consstently/Consistently in patch subject
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Jonathan Marek <jonathan@marek.ca>, Will Deacon <will@kernel.org>,
linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org,
Thierry Reding <thierry.reding@gmail.com>,
linux-arm-msm@vger.kernel.org,
Robin Murphy <robin.murphy@arm.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 4/5] iommu/arm-smmu-qcom: Consstently initialize stream mappings
Date: Thu, 9 Jul 2020 13:02:04 +0530 [thread overview]
Message-ID: <20200709073204.GH34333@vkoul-mobl> (raw)
In-Reply-To: <20200709050145.3520931-5-bjorn.andersson@linaro.org>
On 08-07-20, 22:01, Bjorn Andersson wrote:
> Firmware that traps writes to S2CR to translate BYPASS into FAULT also
> ignores writes of type FAULT. As such booting with "disable_bypass" set
> will result in all S2CR registers left as configured by the bootloader.
>
> This has been seen to result in indeterministic results, as these
> mappings might linger and reference context banks that Linux is
> reconfiguring.
>
> Use the fact that BYPASS writes result in FAULT type to force all stream
> mappings to FAULT.
s/Consstently/Consistently in patch subject
--
~Vinod
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Jonathan Marek <jonathan@marek.ca>, Will Deacon <will@kernel.org>,
Joerg Roedel <joro@8bytes.org>,
linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org,
Thierry Reding <thierry.reding@gmail.com>,
linux-arm-msm@vger.kernel.org,
Robin Murphy <robin.murphy@arm.com>,
linux-arm-kernel@lists.infradead.org,
Laurentiu Tudor <laurentiu.tudor@nxp.com>
Subject: Re: [PATCH 4/5] iommu/arm-smmu-qcom: Consstently initialize stream mappings
Date: Thu, 9 Jul 2020 13:02:04 +0530 [thread overview]
Message-ID: <20200709073204.GH34333@vkoul-mobl> (raw)
In-Reply-To: <20200709050145.3520931-5-bjorn.andersson@linaro.org>
On 08-07-20, 22:01, Bjorn Andersson wrote:
> Firmware that traps writes to S2CR to translate BYPASS into FAULT also
> ignores writes of type FAULT. As such booting with "disable_bypass" set
> will result in all S2CR registers left as configured by the bootloader.
>
> This has been seen to result in indeterministic results, as these
> mappings might linger and reference context banks that Linux is
> reconfiguring.
>
> Use the fact that BYPASS writes result in FAULT type to force all stream
> mappings to FAULT.
s/Consstently/Consistently in patch subject
--
~Vinod
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-09 7:32 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 5:01 [PATCH 0/5] iommu/arm-smmu: Support maintaining bootloader mappings Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` [PATCH 1/5] iommu/arm-smmu: Make all valid stream mappings BYPASS Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` [RFC PATCH] iommu/arm-smmu: arm_smmu_setup_identity() can be static kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-13 21:25 ` kernel test robot
2020-07-15 23:20 ` [PATCH 1/5] iommu/arm-smmu: Make all valid stream mappings BYPASS kernel test robot
2020-07-15 23:20 ` kernel test robot
2020-07-15 23:20 ` kernel test robot
2020-07-15 23:20 ` kernel test robot
2020-07-09 5:01 ` [PATCH 2/5] iommu/arm-smmu: Emulate bypass by using context banks Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 16:17 ` Rob Clark
2020-07-09 16:17 ` Rob Clark
2020-07-09 16:17 ` Rob Clark
2020-07-09 16:48 ` Bjorn Andersson
2020-07-09 16:48 ` Bjorn Andersson
2020-07-09 16:48 ` Bjorn Andersson
2020-07-09 16:56 ` Rob Clark
2020-07-09 16:56 ` Rob Clark
2020-07-09 16:56 ` Rob Clark
2020-07-09 18:55 ` Rob Clark
2020-07-09 18:55 ` Rob Clark
2020-07-09 18:55 ` Rob Clark
2020-07-09 19:40 ` Bjorn Andersson
2020-07-09 19:40 ` Bjorn Andersson
2020-07-09 19:40 ` Bjorn Andersson
2020-07-09 5:01 ` [PATCH 3/5] iommu/arm-smmu: Move SMR and S2CR definitions to header file Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` [PATCH 4/5] iommu/arm-smmu-qcom: Consstently initialize stream mappings Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 7:32 ` Vinod Koul [this message]
2020-07-09 7:32 ` Vinod Koul
2020-07-09 7:32 ` Vinod Koul
2020-07-09 5:01 ` [PATCH 5/5] iommu/arm-smmu: Setup identity domain for boot mappings Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 5:01 ` Bjorn Andersson
2020-07-09 15:50 ` Laurentiu Tudor
2020-07-09 15:50 ` Laurentiu Tudor
2020-07-09 15:50 ` Laurentiu Tudor
2020-07-09 19:57 ` Bjorn Andersson
2020-07-09 19:57 ` Bjorn Andersson
2020-07-09 19:57 ` Bjorn Andersson
2020-07-28 15:27 ` Laurentiu Tudor
2020-07-28 15:27 ` Laurentiu Tudor
2020-07-28 15:27 ` Laurentiu Tudor
2020-07-09 7:33 ` [PATCH 0/5] iommu/arm-smmu: Support maintaining bootloader mappings Vinod Koul
2020-07-09 7:33 ` Vinod Koul
2020-07-09 7:33 ` Vinod Koul
2020-07-10 5:25 ` John Stultz
2020-07-10 5:25 ` John Stultz
2020-07-10 5:25 ` John Stultz
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=20200709073204.GH34333@vkoul-mobl \
--to=vkoul@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=iommu@lists.linux-foundation.org \
--cc=jonathan@marek.ca \
--cc=joro@8bytes.org \
--cc=laurentiu.tudor@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=thierry.reding@gmail.com \
--cc=will@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.