ab0ed57711
There are various call to z_soc_cached_ptr() which returns values in the cached address space and are stored in temporary variables that are not marked as in the cached address space. This results in sparse complaining about discarding the cached address space attribute. These temporary variables are then passed to other internal memory management related functions which do not have the concept of cached address space (as it is currently Xtensa specific). Because of this, we cannot change the signature of these functions. Instead, we force a change of address space when those temporary variables are being assigned to suppress sparse warnings. Reported-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
mm_drv_bank.c | ||
mm_drv_common.c | ||
mm_drv_common.h | ||
mm_drv_intel_adsp.h | ||
mm_drv_intel_adsp_mtl_tlb.c | ||
mm_drv_intel_adsp_regions.c | ||
mm_drv_intel_adsp_tlb.c | ||
mm_drv_ti_rat.c |