]> 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)
commit65d8d1dab2d44478e64863d874c4d2e062993e3a
tree131fd8d1d14203fcadae158c9481441709c196a8
parent489173e8b30ee399e5ff1714d3373a9c76ed6aed
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