it/stable/linux.git - Linux kernel stable tree
summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2021-09-01 17:18:05 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 19:17:03 +0100
commit671dd8b385b29d7813f03bde85315c46264dbd23 (patch)
tree791ba9ae4914f2ed3f1226806d372757c4cd3f66 /drivers/dma
parentb1b9ef3abafa72b83dc77f59bc11469e20ed730b (diff)
downloadlinux-671dd8b385b29d7813f03bde85315c46264dbd23.tar.gz
dmaengine: idxd: reconfig device after device reset command
[ Upstream commit e530a9f3db4188d1f4e3704b0948ef69c04d5ca6 ] Device reset clears the MSIXPERM table and the device registers. Re-program the MSIXPERM table and re-enable the error interrupts post reset. Fixes: 745e92a6d816 ("dmaengine: idxd: idxd: move remove() bits for idxd 'struct device' to device.c") Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/163054188513.2853562.12077053294595278181.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>