habanalabs: set non-0 value in dram default page size
authorOhad Sharabi <osharabi@habana.ai>
Wed, 23 Feb 2022 09:27:36 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 May 2022 18:57:33 +0000 (20:57 +0200)
commit378b02dc017777e1dea304b472f2e2db836b6706
tree1562c51b04f22944ed4085280ef22dca906d2895
parentcafada1fe932ce761d6c0bc1d56967e27abe4cff
habanalabs: set non-0 value in dram default page size

Looking forward we will need to report to the user what is the default
page size used.

This will be done more conveniently by explicitly updating the property
rather than to rely on a "0 meaning default" value.

Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/common/habanalabs.h
drivers/misc/habanalabs/common/memory.c
drivers/misc/habanalabs/gaudi/gaudi.c
drivers/misc/habanalabs/goya/goya.c