octeontx2-af: Reconfig MSIX base with IOVA
authorGeetha sowjanya <gakula@marvell.com>
Wed, 10 Oct 2018 12:44:30 +0000 (18:14 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:06:02 +0000 (10:06 -0700)
commit34b34ee07d89d8211bc72c68bafd0176a2e6e8cb
treeba3ac023fb9892daef4716ec9c66d5cd85278b1a
parent756051e23cce593ced6c637c1b5a793d68164597
octeontx2-af: Reconfig MSIX base with IOVA

HW interprets RVU_AF_MSIXTR_BASE address as an IOVA, hence
create a IOMMU mapping for the physcial address configured by
firmware and reconfig RVU_AF_MSIXTR_BASE with IOVA.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h