]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: allow disabling huge page use
authorOded Gabbay <ogabbay@kernel.org>
Tue, 29 Jun 2021 15:23:41 +0000 (18:23 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:45 +0000 (09:47 +0300)
commit78e188f1000515dcf2d5fabcbf24499c4105d189
treec0071b2e5a0b8cd8e659b2811b17021507c2c8ff
parent2036e96d34566d281c7cf61b2b2fa0f6abcc6fb6
habanalabs: allow disabling huge page use

Sometimes we may need to disable optimization of using huge pages
in our memory management code. Add such a flag to the function that
creates the list of physical pages that would be programmed into the
device MMU.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/memory.c