From 40d4add90c8024ffa363ec6e4bd0c11a702f53d5 Mon Sep 17 00:00:00 2001 From: Prasad Sodagudi <psodagud@codeaurora.org> Date: Fri, 26 Feb 2016 16:17:13 +0530 Subject: [PATCH] ldrpv2: cachedumplib: Add support for couple of SoCs Describe the cache format used for 8937, 8953 and 8917. Change-Id: Ie877173bc0fa6ea01e7daf1825720c5601a6f82a --- linux-ramdump-parser-v2/cachedumplib.py | 28 ++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/linux-ramdump-parser-v2/cachedumplib.py b/linux-ramdump-parser-v2/cachedumplib.py index cad6d94..d4c7708 100755 --- a/linux-ramdump-parser-v2/cachedumplib.py +++ b/linux-ramdump-parser-v2/cachedumplib.py @@ -1,4 +1,4 @@ -# Copyright (c) 2015, The Linux Foundation. All rights reserved. +# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -365,3 +365,29 @@ lookuptable[(8992, 0x64, 0x100)] = L1_ICache_A57() lookuptable[(8992, 0x65, 0x100)] = L1_ICache_A57() lookuptable[(8992, 0xC1, 0x100)] = L2_Cache_A57(numsets=0x400) + +# 8917 +lookuptable[(8917, 0x84, 0x14)] = L1_DCache_A53() +lookuptable[(8917, 0x85, 0x14)] = L1_DCache_A53() +lookuptable[(8917, 0x86, 0x14)] = L1_DCache_A53() +lookuptable[(8917, 0x87, 0x14)] = L1_DCache_A53() + +# 8937 +lookuptable[(8937, 0x80, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x81, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x82, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x83, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x84, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x85, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x86, 0x14)] = L1_DCache_A53() +lookuptable[(8937, 0x87, 0x14)] = L1_DCache_A53() + +# 8953 +lookuptable[(8953, 0x80, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x81, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x82, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x83, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x84, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x85, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x86, 0x14)] = L1_DCache_A53() +lookuptable[(8953, 0x87, 0x14)] = L1_DCache_A53() -- GitLab