summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-nomadik-nhk15.dts
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-04-06 15:33:38 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-04-06 15:33:38 +0300
commit9f201aba56b92c3daa4b76efae056ddbb80d91e6 (patch)
treed5a2fdab8c0372a209b63c8b378bc129011be713 /arch/arm/boot/dts/ste-nomadik-nhk15.dts
parent3f5398cfbf051dc1850b4f64fbe5267cbd699ce0 (diff)
downloadlinux-9f201aba56b92c3daa4b76efae056ddbb80d91e6.tar.xz
habanalabs: prevent device PTE read/write during hard-reset
During hard-reset, contexts are closed as part of the tear-down process. After a context is closed, the driver cleans up the page tables of that context in the device's DRAM. This action is both dangerous and unnecessary. It is unnecessary, because the device is going through a hard-reset, which means the device's DRAM contents are no longer valid and the device's MMU is being reset. It is dangerous, because if the hard-reset came as a result of a PCI freeze, this action may cause the entire host machine to hang. Therefore, prevent all device PTE updates when a hard-reset operation is pending. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-nhk15.dts')
0 files changed, 0 insertions, 0 deletions