platform: nvadsp: do not export da to va mappings

nvadsp_da_to_va_mappings API provides the ability to get the virtual
address from the physical address. This API does not need to be exposed
as there are no other modules using it and prevent prevent speculative
load related leak.

Bug 200381256

Change-Id: Ic94497ca40402101e4246b914f00e030551b0c4c
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1652771
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Ajay Nandakumar
2018-02-06 17:54:03 +05:30
committed by Laxman Dewangan
parent e0ecbe2746
commit 5c63aad7c2
3 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
*
* A device driver for ADSP and APE
*
* Copyright (C) 2014-2017, NVIDIA Corporation. All rights reserved.
* Copyright (C) 2014-2018, NVIDIA Corporation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -282,7 +282,7 @@ static int __init nvadsp_probe(struct platform_device *pdev)
goto out;
}
drv_data->base_regs[iter] = base;
adsp_add_load_mappings(res->start, base,
nvadsp_add_load_mappings(res->start, base,
resource_size(res));
}