Skip to content
GitLab
Menu
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
048d802a
Commit
048d802a
authored
Sep 12, 2016
by
danh-arm
Committed by
GitHub
Sep 12, 2016
Browse files
Merge pull request #699 from soby-mathew/sm/flush_plat_psci_ops
Flush `psci_plat_pm_ops` after initialization
parents
77b05323
7a3d4bde
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/psci/psci_setup.c
View file @
048d802a
...
...
@@ -238,6 +238,13 @@ int psci_setup(uintptr_t mailbox_ep)
plat_setup_psci_ops
(
mailbox_ep
,
&
psci_plat_pm_ops
);
assert
(
psci_plat_pm_ops
);
/*
* Flush `psci_plat_pm_ops` as it will be accessed by secondary CPUs
* during warm boot before data cache is enabled.
*/
flush_dcache_range
((
uintptr_t
)
&
psci_plat_pm_ops
,
sizeof
(
psci_plat_pm_ops
));
/* Initialize the psci capability */
psci_caps
=
PSCI_GENERIC_CAP
;
...
...
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