]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu-v3: Separate s/w and h/w views of prod and cons indexes
authorWill Deacon <will@kernel.org>
Tue, 2 Jul 2019 16:12:24 +0000 (17:12 +0100)
committerWill Deacon <will@kernel.org>
Mon, 29 Jul 2019 16:30:20 +0000 (17:30 +0100)
commit1379ff1d6c4ac31926ee78afab515866789d4779
tree131fd8d1d14203fcadae158c9481441709c196a8
parent04adcfdc99926dc2d0a3e478d2c9dcbdf24fc53d
iommu/arm-smmu-v3: Separate s/w and h/w views of prod and cons indexes

In preparation for rewriting the command queue insertion code to use a
new algorithm, separate the software and hardware views of the prod and
cons indexes so that manipulating the software state doesn't
automatically update the hardware state at the same time.

No functional change.

Tested-by: Ganapatrao Kulkarni <gkulkarni@marvell.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c