Forum Discussion
Power management Agiilex 3/5 - Powerdown then HPS restart ?
I read in the power management section of (841346) Section 9
"Only power-off operations are supported, and they are done one time as a static option through boot mode user configuration. After power is turned off, the power manager does not support powering back on the CPU cores or L3 cache blocks."
As I understand it = for a(partial ) power down , or power up of the HPS, the system needs to set some memory locations and then trigger a HPS restart and ther SDM has control then passes it to the FSBL. , then the FSBL can look at these locations and see what power mode it needs to come up or down as the system requires...... IE to change the power settings, there needs to be an HPS restart , or complete device configuration reload ?
Perhaps put another way : In HPS boot-first mode : When a power CHANGE is required in the HPS domain, can the fabric stay running (assuming that there are no outstanding HPS<> fabric DMA requests or transactions pending across the fabric<>HPS bridge ) ?
regards, glen.
Hi
Your understanding is correct except for point number 2. The SDM does not get a new power configuration each time.
The SDM will get the power configuration from the bitstream.
The Bitstream will contain the power configuration selected base on the HPS IP settings, user are not able to change the power configuration.
9 Replies
- ai_responder
Community Manager
Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.
Note: To continue using AI Responder, please start your next inquiry with ai_responderDisclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.
Thank you very much.
- tehjingy_Altera
Regular Contributor
Hi glenenglish
The FSBL does not control the power settings.
This is done by the SDM. The SDM will gather which core to be powered down from the bitstream and do it before passing control over to the FSBL.
Which core to be remained powered on are selected in the HPS IP parameter.
https://docs.altera.com/r/docs/813752/26.1/hard-processor-system-component-reference-manual-agilextm-5-socs/power-configurations
- glenenglish
Occasional Contributor
OK, thanks for the info..
so, back to my core question-
In HPS boot-first mode : When a power CHANGE is required in the HPS domain, can the fabric stay running (assuming that there are no outstanding HPS<> fabric DMA requests or transactions pending across the fabric<>HPS bridge ) ?
- tehjingy_Altera
Regular Contributor
Hi
There is no power change ability in the HPS domain. This is done by the SDM connected to the HPS domain and it is only done on boot up.
During run time a power change could not be done.
If you mean a reset happening during run time.
Yes, the fabric is remain running during the HPS reset event.
After reset the HPS will do a reset of the fabric connected to the HPS bridges through the bridge reset signals.
- glenenglish
Occasional Contributor
Hi
thanks for the reply.
OK, so as I understand it , in order to change the power configuration :
- HPS will park all the fabric bridges to complete transactions and set signals is a safe state.
- SDM will need to be told what will be the new power configuration (somehow - this information has to survive the reset - I expect that a mailbox command could be sent to the SDM with new power config info, OR the data could be written by the HPS to on chip memory and the SDM could read it)
- SDM gets a command to reset the system
- Fabric is unaffected by the HPS subsystem reset
- SDM initialized power configurations
- SDM needs to configure fabric bridges
- SDM boots HPS.
- HPS communicates on IO to fabric to continue transactions
Does the fabric, in this case, need to treat the bridge and logic to the HPS as a reconfigurable region so that signals are maintained or isolated correctly ?
Is there any documentation you can point me to that specifically examines these questions,
thanks
glen
- tehjingy_Altera
Regular Contributor
Hi
Your understanding is correct except for point number 2. The SDM does not get a new power configuration each time.
The SDM will get the power configuration from the bitstream.
The Bitstream will contain the power configuration selected base on the HPS IP settings, user are not able to change the power configuration.
- glenenglish
Occasional Contributor
OK thanks, so you are saying that the bitstream has to change to change the power up configuration ? That what is powered up cannot be selected by a write to some register or memory location, and trigger a reconfigure ? IE a new bitstream must be selected to boot .
I come from Xilinx MPSoC where the PMU firmware runs and can select on the fly (from mail box from the PS) or at boot.
I guess Altera saved alot fo silicon area not needing power regions like MPSoC.
This is a disappointing functionality. Agilex5 has a high static power relative to competing parts and the lack of power management features limits its use .
Still, great parts in many other ways. "You can't have everything".- SueC_Altera
Contributor
Thanks for the feedback, glenenglish. I'll provide that feedback for future devices.
- tehjingy_Altera
Regular Contributor
Hi
Yes you are correct. There is no register or memory location to trigger a change in the power configuration.
It is tied to the bitstream.