iommu/arm-smmu-v3: Separate s/w and h/w views of prod and cons indexes
mainline inclusion from mainline-v5.4-rc1 commit 2a8868f1 category: bugfix bugzilla: 21306 CVE: NA ------------------------------------------------------------------------- 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: NGanapatrao Kulkarni <gkulkarni@marvell.com> Signed-off-by: NWill Deacon <will@kernel.org> Conflicts: drivers/iommu/arm-smmu-v3.c Signed-off-by: NZhen Lei <thunder.leizhen@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Showing
想要评论请 注册 或 登录