From a60260db1a6913dc9ccb9998ad8e186b44f37429 Mon Sep 17 00:00:00 2001
From: Soumen Ghosh <soumeng@codeaurora.org>
Date: Fri, 28 Jul 2017 19:22:56 +0530
Subject: [PATCH] lrdp-v2: Complete core call stack is not extracted in
 dmesg_TZ for some cores 	here fp is value is coming less than
 page_offset. 	Due that rest of the call stack is not getting printed

Change-Id: Ie878d41f0ecc16d21f9795c699f035a7460904b4
---
 linux-ramdump-parser-v2/ramdump.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py
index 343f40f..23d0a1c 100644
--- a/linux-ramdump-parser-v2/ramdump.py
+++ b/linux-ramdump-parser-v2/ramdump.py
@@ -200,12 +200,7 @@ class RamDump():
             mask = (self.ramdump.thread_size) - 1
             high = (low + mask) & (~mask)
 
-            # Ignore NON HLOS addresses and return from the function without
-            # unwinding the frame pointer. HLOS addresses are expected to be
-            # greater than or equal to page_offset. NON HLOS addresses have 1-1
-            # virtual to physical mapping and may not have physical addresses
-            # equal to or greater than page_offset anytime soon.
-            if (fp < low or fp > high or fp & 0xf or fp < self.ramdump.page_offset):
+            if (fp < low or fp > high or fp & 0xf):
                 return
 
             frame.sp = fp + 0x10
-- 
GitLab