habanalabs: fix mmu node address resolution in debugfs
authorYuri Nudelman <ynudelman@habana.ai>
Thu, 29 Jul 2021 08:54:50 +0000 (11:54 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 1 Sep 2021 15:38:24 +0000 (18:38 +0300)
commit09ae43043c748423a5dcdc7bb1e63e4dcabe9bd6
treefc552986116bcc0010ae351992ca8aac3e70fb33
parent714fccbf48245482b9d5ed356a9ef23f2eb68612
habanalabs: fix mmu node address resolution in debugfs

The address resolution via debugfs was not taking into consideration the
page offset, resulting in a wrong address.

Signed-off-by: Yuri Nudelman <ynudelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/debugfs.c