mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
adsprpc: Pass virtual address during ram dump collection
If virtual address is not passed during ramdump collection, the CMA region gets remapped during ioremap call. By passing the virtual address in the do_ramdump_elf call, the CMA doesn't get remapped. Change-Id: Ice98e7947b977c5edffcbf9f3c5b0d3c6a34ef52 Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com> Signed-off-by: Jeya R <jeyr@codeaurora.org>
This commit is contained in:
parent
4b36c63809
commit
1613295638
1 changed files with 2 additions and 0 deletions
|
|
@ -4364,6 +4364,8 @@ static int fastrpc_mmap_remove_ssr(struct fastrpc_file *fl)
|
|||
if (ramdump_segments_rh) {
|
||||
ramdump_segments_rh->address =
|
||||
match->phys;
|
||||
ramdump_segments_rh->v_address =
|
||||
(void __iomem *)match->va;
|
||||
ramdump_segments_rh->size = match->size;
|
||||
ret = do_elf_ramdump(
|
||||
me->ramdump_handle,
|
||||
|
|
|
|||
Loading…
Reference in a new issue