diff options
author | Jason Gunthorpe <[email protected]> | 2017-02-01 12:48:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-02-10 15:20:44 +0100 |
commit | 6b45e0f24c7b5316dea7ed5995e1b809a3266b43 (patch) | |
tree | 4187f662de96e222040b4c7068d34a15678fac83 /drivers/fpga/fpga-mgr.c | |
parent | cb97fbbcac15982406e0c74cd5512a8b6fcf10b3 (diff) |
fpga zynq: Check for errors after completing DMA
The completion did not check the interrupt status to see if any error
bits were asserted, check error bits and dump some registers if things
went wrong.
A few fixes are needed to make this work, the IXR_ERROR_FLAGS_MASK was
wrong, it included the done bits, which shows a bug in mask/unmask_irqs
which were using the wrong bits, simplify all of this stuff.
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Moritz Fischer <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions