Skip to content
Commit 3e622996 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs/gaudi: monitor device memory usage



In GAUDI we don't have an MMU towards the HBM device memory. Therefore,
the user access that memory directly through physical address (via the
different engines) without the need to go through the driver to
allocate/free memory on the HBM.

For system monitoring purposes, the driver will keep track of the HBM
usage. This can be done as long as the user accurately reports the
allocations and releases of HBM memory, through the existing MEMORY
IOCTL uapi.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 5de406c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment