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
800a55ea
Commit
800a55ea
authored
Sep 11, 2017
by
davidcunado-arm
Committed by
GitHub
Sep 11, 2017
Browse files
Merge pull request #1087 from robertovargas-arm/psci_do_cpu_off
Reduce time lock in psci_do_cpu_off
parents
8121bc0f
216e58a3
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/psci/psci_off.c
View file @
800a55ea
...
@@ -49,6 +49,9 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
...
@@ -49,6 +49,9 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
*/
*/
assert
(
psci_plat_pm_ops
->
pwr_domain_off
);
assert
(
psci_plat_pm_ops
->
pwr_domain_off
);
/* Construct the psci_power_state for CPU_OFF */
psci_set_power_off_state
(
&
state_info
);
/*
/*
* This function acquires the lock corresponding to each power
* This function acquires the lock corresponding to each power
* level so that by the time all locks are taken, the system topology
* level so that by the time all locks are taken, the system topology
...
@@ -68,9 +71,6 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
...
@@ -68,9 +71,6 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
goto
exit
;
goto
exit
;
}
}
/* Construct the psci_power_state for CPU_OFF */
psci_set_power_off_state
(
&
state_info
);
/*
/*
* This function is passed the requested state info and
* This function is passed the requested state info and
* it returns the negotiated state info for each power level upto
* it returns the negotiated state info for each power level upto
...
...
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