Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
afb33432
Commit
afb33432
authored
7 years ago
by
davidcunado-arm
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1064 from islmit01/im/shifted_afinity
FVP: Always assume shifted affinity with MT bit
parents
01ebe3d2
8431635b
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plat/arm/board/fvp/fvp_common.c
+9
-2
plat/arm/board/fvp/fvp_common.c
with
9 additions
and
2 deletions
+9
-2
plat/arm/board/fvp/fvp_common.c
View file @
afb33432
...
@@ -219,8 +219,7 @@ void fvp_config_setup(void)
...
@@ -219,8 +219,7 @@ void fvp_config_setup(void)
arm_config
.
flags
|=
ARM_CONFIG_FVP_HAS_CCI400
;
arm_config
.
flags
|=
ARM_CONFIG_FVP_HAS_CCI400
;
break
;
break
;
case
REV_BASE_FVP_REVC
:
case
REV_BASE_FVP_REVC
:
arm_config
.
flags
|=
(
ARM_CONFIG_FVP_SHIFTED_AFF
|
arm_config
.
flags
|=
(
ARM_CONFIG_FVP_HAS_SMMUV3
|
ARM_CONFIG_FVP_HAS_SMMUV3
|
ARM_CONFIG_FVP_HAS_CCI5XX
);
ARM_CONFIG_FVP_HAS_CCI5XX
);
break
;
break
;
default:
default:
...
@@ -232,6 +231,14 @@ void fvp_config_setup(void)
...
@@ -232,6 +231,14 @@ void fvp_config_setup(void)
ERROR
(
"Unsupported board HBI number 0x%x
\n
"
,
hbi
);
ERROR
(
"Unsupported board HBI number 0x%x
\n
"
,
hbi
);
panic
();
panic
();
}
}
/*
* We assume that the presence of MT bit, and therefore shifted
* affinities, is uniform across the platform: either all CPUs, or no
* CPUs implement it.
*/
if
(
read_mpidr_el1
()
&
MPIDR_MT_MASK
)
arm_config
.
flags
|=
ARM_CONFIG_FVP_SHIFTED_AFF
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help