From 6f3fc718b6e98ef16387a534bb02d4d2051f3c6a Mon Sep 17 00:00:00 2001
From: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Date: Mon, 25 Mar 2019 21:06:34 +0530
Subject: [PATCH] ldrp_v2: Support active cpus verification only for 64-bit
 platforms

Minimum number of required active cpu in a cluster is mostly helpful
in 64-bit platforms, compared to 32-bit.

And 32-bit platform code has different arch topology support, instead of
mucking around the 32/64-bit support, skip active cpu verification for
32-bit, as they are mostly single cluster platforms.

Change-Id: Idade91d08534590c6e4597b918557ffb1131505d
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
---
 linux-ramdump-parser-v2/ramparse.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/linux-ramdump-parser-v2/ramparse.py b/linux-ramdump-parser-v2/ramparse.py
index fea60a1..4565499 100644
--- a/linux-ramdump-parser-v2/ramparse.py
+++ b/linux-ramdump-parser-v2/ramparse.py
@@ -379,8 +379,9 @@ if __name__ == '__main__':
         get_wdog_timing(dump)
         print_out_str('---------- end watchdog time-----')
 
-    # Always verify Scheduler requirement for active_cpus
-    verify_active_cpus(dump)
+    # Always verify Scheduler requirement for active_cpus on 64-bit platforms.
+    if options.arm64:
+        verify_active_cpus(dump)
 
     # we called parser.add_option with dest=p.cls.__name__ above,
     # so if the user passed that option then `options' will have a
-- 
GitLab