diff options
author | Tomer Tayar <ttayar@habana.ai> | 2021-07-09 00:06:47 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-08-29 09:47:46 +0300 |
commit | 89aad770d692e4d2d9a604c1674e9dfa69421430 (patch) | |
tree | 622a1da9fc530b2a746e22b2b4713fd2951ef22a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1ee8e2bab509297bbc8320638c2a8a2d739c9b84 (diff) | |
download | linux-89aad770d692e4d2d9a604c1674e9dfa69421430.tar.xz |
habanalabs: fix nullifying of destroyed mmu pgt pool
In case of host-resident MMU, when the page tables pool is destroyed,
its pointer is not nullified correctly.
As a result, on a device fini which happens after a failing reset, the
already destroyed pool is accessed, which leads to a kernel panic.
The patch fixes the setting of the pool pointer to NULL.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions