diff options
| author | Ofir Bitton <obitton@habana.ai> | 2020-11-26 13:01:11 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 10:47:37 +0200 |
| commit | 8e718f2eda8d4d2268f1872bd4deddd54900283a (patch) | |
| tree | 5cf0f2de9591e0a69186fb5baa8ffab88a9c1118 /drivers/fpga/fpga-mgr.c | |
| parent | habanalabs/gaudi: handle reset when f/w is in preboot (diff) | |
| download | linux-8e718f2eda8d4d2268f1872bd4deddd54900283a.tar.gz linux-8e718f2eda8d4d2268f1872bd4deddd54900283a.zip | |
habanalabs: free host huge va_range if not used
If huge range is not valid, driver uses the host range also for
huge page allocations, but driver never frees its allocation.
This introduces a memory leak every time a user closes its context.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
