bus/fsl-mc: Add dprc-reset-container support
authorBharat Bhushan <Bharat.Bhushan@nxp.com>
Tue, 29 Sep 2020 08:54:34 +0000 (11:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 14:05:01 +0000 (16:05 +0200)
commit715b02ce8968bd560d295945520bae6d73707a73
tree6cb3d3641cd9b20ab2d8baa1ad5b7c42eca7ed37
parent993577b2ef0387d3bed622e3e9351370f8046e61
bus/fsl-mc: Add dprc-reset-container support

DPRC reset is required by VFIO-mc in order to stop a device
to further generate DMA transactions.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-7-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/fsl-mc/dprc.c
drivers/bus/fsl-mc/fsl-mc-private.h
include/linux/fsl/mc.h