From 6e0d21f16e8153125f8dbd2a8feb4ce56ff54e39 Mon Sep 17 00:00:00 2001 From: Marty Gloff Date: Wed, 23 Mar 2016 15:30:34 -0500 Subject: Bootloader needs to dcbz the cache before using it Add loops to do dcbz instructions. One loop covers L3 cache from the end of the Bootloader load to the end of the area used for storing a copy of HBB with ECC. The other loop covers L3 cache from the start of the area for storing the running copy of HBB to the start of the Bootloader load. Change-Id: If3bb157fe0ea1e61ed5db6c1264b5756cc8453d9 RTC:147380 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22413 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell Reviewed-by: CHRISTINA L. GRAVES Reviewed-by: William G. Hoffa --- src/bootloader.ld | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/bootloader.ld') diff --git a/src/bootloader.ld b/src/bootloader.ld index 0550a58b3..fbee6ccc8 100644 --- a/src/bootloader.ld +++ b/src/bootloader.ld @@ -24,6 +24,7 @@ /* */ /* IBM_PROLOG_END_TAG */ base_load_address = 0x00000000; +sbe_hb_structures = 0x00000004; /* @TODO-RTC:138273-Support multiple nodes using relative HRMOR */ /* Text section offset = 12KB (space reserved for exception vectors) */ text_load_address = 0x00003000; @@ -32,6 +33,8 @@ SECTIONS { . = base_load_address; + . = sbe_hb_structures; + . = text_load_address; .text ALIGN(0x0020): { *(.text.intvects) -- cgit v1.2.3