habanalabs: fix MMU debugfs related nodes
authorfarah kassabri <fkassabri@habana.ai>
Tue, 12 Jan 2021 15:24:00 +0000 (17:24 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:50 +0000 (21:03 +0200)
commit89473a1fc3607d9ee5a4f859a2684d0abd0c4ded
treeadeaf8955911ea428947d0a9a762b159a51e2471
parente1fa724dd17a6a9b9934636226e683912d12c876
habanalabs: fix MMU debugfs related nodes

In mmu debugfs node show un-scrambled physical addresses.
before read/write through data nodes, need to unscramble the
physical address before using it for pci transaction.

Signed-off-by: farah kassabri <fkassabri@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/debugfs.c
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/mmu/mmu.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c