Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tools
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
vendor
qcom-opensource
tools
Commits
f7ae2808
Commit
f7ae2808
authored
7 years ago
by
lnx build
Committed by
Gerrit - the friendly Code Review server
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "lrdp-v2: Fix cache dump parsing for Kryo3xx" into opensource-tools.lnx.1.0-dev.1.0
parents
687e1bab
98a30384
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linux-ramdump-parser-v2/cachedumplib.py
+4
-4
4 additions, 4 deletions
linux-ramdump-parser-v2/cachedumplib.py
with
4 additions
and
4 deletions
linux-ramdump-parser-v2/cachedumplib.py
+
4
−
4
View file @
f7ae2808
...
@@ -445,7 +445,7 @@ class L1_DCache_KRYO3XX_SILVER(CacheDumpType_v1):
...
@@ -445,7 +445,7 @@ class L1_DCache_KRYO3XX_SILVER(CacheDumpType_v1):
self
.
NumSets
=
0x80
self
.
NumSets
=
0x80
self
.
NumWays
=
4
self
.
NumWays
=
4
def
MESI_to_string
(
MESI_d
):
def
MESI_to_string
(
self
,
MESI_d
):
if
MESI_d
==
0
:
if
MESI_d
==
0
:
return
'
I
'
return
'
I
'
elif
MESI_d
==
1
:
elif
MESI_d
==
1
:
...
@@ -483,7 +483,7 @@ class L1_ICache_KRYO3XX_SILVER(CacheDumpType_v1):
...
@@ -483,7 +483,7 @@ class L1_ICache_KRYO3XX_SILVER(CacheDumpType_v1):
self
.
NumSets
=
0x80
self
.
NumSets
=
0x80
self
.
NumWays
=
4
self
.
NumWays
=
4
def
valid_to_string
(
valid_d
):
def
valid_to_string
(
self
,
valid_d
):
if
valid_d
==
0
:
if
valid_d
==
0
:
return
'
A32
'
return
'
A32
'
elif
valid_d
==
1
:
elif
valid_d
==
1
:
...
@@ -518,7 +518,7 @@ class L1_DCache_KRYO3XX_GOLD(CacheDumpType_v1):
...
@@ -518,7 +518,7 @@ class L1_DCache_KRYO3XX_GOLD(CacheDumpType_v1):
self
.
NumSets
=
0x40
self
.
NumSets
=
0x40
self
.
NumWays
=
16
self
.
NumWays
=
16
def
MESI_to_string
(
MESI_d
):
def
MESI_to_string
(
self
,
MESI_d
):
if
MESI_d
==
0
:
if
MESI_d
==
0
:
return
'
I
'
return
'
I
'
elif
MESI_d
==
1
:
elif
MESI_d
==
1
:
...
@@ -537,7 +537,7 @@ class L1_DCache_KRYO3XX_GOLD(CacheDumpType_v1):
...
@@ -537,7 +537,7 @@ class L1_DCache_KRYO3XX_GOLD(CacheDumpType_v1):
mesi_d
=
(
data
[
0
]
>>
2
)
&
0x3
mesi_d
=
(
data
[
0
]
>>
2
)
&
0x3
addr
=
(
addr_higher
<<
22
)
|
addr_lower
addr
=
(
addr_higher
<<
22
)
|
addr_lower
mesi
=
MESI_to_string
(
mesi_d
)
mesi
=
self
.
MESI_to_string
(
mesi_d
)
output
.
append
(
addr
)
output
.
append
(
addr
)
output
.
append
(
mesi
)
output
.
append
(
mesi
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment