| 249c6f9f | 27-Feb-2026 |
Nicolas Pitre <npitre@baylibre.com> |
fix(corstone-1000): use generic hold pen
Convert corstone1000 to use the common hold pen helpers, fixing a cache coherency bug in secondary CPU bring-up.
The original code used 8-byte hold slots (n
fix(corstone-1000): use generic hold pen
Convert corstone1000 to use the common hold pen helpers, fixing a cache coherency bug in secondary CPU bring-up.
The original code used 8-byte hold slots (not cache-line aligned) and only wrote GO to the target slot without touching other slots or flushing to main memory. This is broken because:
1. Secondary CPUs write WAIT from non-cached context (MMU off in BL2) 2. The BL2-to-BL31 transition does dcsw_op_all (flush all caches) 3. This pushes stale cached data over the WAIT values in memory 4. The primary's GO write + DSB is insufficient -- it only ensures ordering, not visibility to non-cached observers
plat_hold_pen_init() is called once at boot (from plat_arm_psci_override_pm_ops) to write HOLD_STATE_WAIT into every cache-line-aligned slot and flush the region. Then plat_hold_pen_signal() writes just the target slot with the warm boot entrypoint, flushes it, and issues SEV. Secondaries use the plat_hold_pen_wait_and_jump macro to poll and branch directly to the entrypoint stored in their hold slot.
Change-Id: I8fc533650c663700dab9bf47c0a79d9bb1236b17 Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
show more ...
|
| d7417adc | 05-Jul-2024 |
Bence Balogh <bence.balogh@arm.com> |
fix(corstone1000): update memory layout comments
The SRAM (CVM) memory layout was outdated in the platform_defs.h of the Corstone-1000 platform. Updated it to list every bootloaders and to be aligne
fix(corstone1000): update memory layout comments
The SRAM (CVM) memory layout was outdated in the platform_defs.h of the Corstone-1000 platform. Updated it to list every bootloaders and to be aligned with the implementation. Also added the starting (base) addresses of each partition.
Change-Id: Ie8e8416ee2650ff25a8d4c61d8d9af789bc639c1 Signed-off-by: Bence Balogh <bence.balogh@arm.com>
show more ...
|
| 335c4f8b | 15-May-2024 |
Emekcan Aras <Emekcan.Aras@arm.com> |
fix(corstone1000): clean cache and disable interrupt before system reset
Corstone1000 does not properly clean the cache and disable gic interrupts before the reset. This causes a race condition espe
fix(corstone1000): clean cache and disable interrupt before system reset
Corstone1000 does not properly clean the cache and disable gic interrupts before the reset. This causes a race condition especially in FVP after reset. This adds proper sequence before resetting the platform.
Change-Id: I22791eec2ec0ca61d201d8a745972a351248aa3d Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
show more ...
|
| 83c11c0b | 25-Apr-2024 |
Emekcan Aras <Emekcan.Aras@arm.com> |
fix(corstone1000): remove unused NS_SHARED_RAM region
After enabling additional features in Trusted Services, the size of BL32 image (OP-TEE + Trusted Services SPs) is larger now. To create more spa
fix(corstone1000): remove unused NS_SHARED_RAM region
After enabling additional features in Trusted Services, the size of BL32 image (OP-TEE + Trusted Services SPs) is larger now. To create more space in secure RAM for BL32 image, this patch removes NS_SHARED_RAM region which is not currently used by corstone1000 platform.
Change-Id: I1e9468fd2dcb66b4d21fce245097ba51331ec54d Signed-off-by: Emekcan Aras <Emekcan.Aras@arm.com>
show more ...
|
| 3ff5fc2b | 20-Oct-2023 |
Harsimran Singh Tungal <harsimransingh.tungal@arm.com> |
fix(corstone-1000): modify boot device dependencies
Modify boot device dependencies and remove the one's which are not needed.
Change-Id: I71cd60558ab4bb5162afefad4f00d631c2308e72 Signed-off-by: Mo
fix(corstone-1000): modify boot device dependencies
Modify boot device dependencies and remove the one's which are not needed.
Change-Id: I71cd60558ab4bb5162afefad4f00d631c2308e72 Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> Signed-off-by: Harsimran Singh Tungal <harsimransingh.tungal@arm.com>
show more ...
|