diff options
| author | Dave Jiang <dave.jiang@intel.com> | 2021-09-01 17:18:05 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 19:17:03 +0100 |
| commit | 671dd8b385b29d7813f03bde85315c46264dbd23 (patch) | |
| tree | 791ba9ae4914f2ed3f1226806d372757c4cd3f66 /drivers/dma | |
| parent | b1b9ef3abafa72b83dc77f59bc11469e20ed730b (diff) | |
| download | linux-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>
