diff options
| author | Liam Mark <lmark@codeaurora.org> | 2016-08-08 10:14:01 -0700 |
|---|---|---|
| committer | Liam Mark <lmark@codeaurora.org> | 2016-08-11 14:06:53 -0700 |
| commit | 1d79f44d300c61f085e9bdc70ebd8dcc4faa6f13 (patch) | |
| tree | 71566a69be6bbc8658765cde675538f36c853d61 /lib/mpi/mpi-cmp.c | |
| parent | e94b446eac88a43e42ecde105275d48b677ea5b3 (diff) | |
iommu/arm-smmu: support static context banks
Consider any pre-initialized stream match register table entries,
which are of type translation, as static stream ID to context bank
mappings.
When an attach occurs for a stream ID which has a static context bank
mapping ensure that the pre-initialized stream match register table
entry is used for that stream ID.
Contract for using static context banks:
1) Before doing the attach hardware translations must be stopped and
hardware translations are only re-enabled once the required mappings
have been added.
2) Before the attach the static CB must be in stage 1 context bank
bypass (CBn_SCTLR.M == 0).
CRs-Fixed: 1050659
Change-Id: I4037d7861657384eb5b4f67c52b2dbf4ad6e1c2c
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
