summaryrefslogtreecommitdiffstats
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorAruna Balakrishnaiah <aruna@linux.vnet.ibm.com>2014-07-31 14:46:06 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-01 16:02:27 +1000
commite810dcbc09c375a39ce36f461eb0cc2f7e9a1aed (patch)
tree18590f39e6e997c4826a998a12c03c7f86239139 /skiboot.lds.S
parent025184d5cb8626cd50ac28982d001f92f66a38e2 (diff)
downloadblackbird-skiboot-e810dcbc09c375a39ce36f461eb0cc2f7e9a1aed.tar.gz
blackbird-skiboot-e810dcbc09c375a39ce36f461eb0cc2f7e9a1aed.zip
ATTN: Set up attention area to handle attention
At present CPU control area ntuple in SPIRA structure is NULL. ATTN component in Service Processor side checks for this field and if its empty, it logs hardcoded SRC (0xBB821410) and generates SYSDUMP. So we have 1 SRC for all failure (assert call) from OPAL side. This makes difficult to debug the issue. Service processor provides attention area interface (FIPS PHyp Attentions spec), so that we can pass SRC and user data (error message) to service processor. This will helps us identify different failures in OPAL. This patch enables attention area and provides interface (update_sp_attn_area()) to add src and user data (error message) through assert macro. Attention SRC format: 1st byte - Opal src type 2-4 bytes - Holds the address of the assert function call Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index cbc8b85b..82cbdb28 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -41,6 +41,11 @@ SECTIONS
KEEP(*(.mdst.data))
}
+ . = CPU_CTL_OFF;
+ .cpuctrl : {
+ KEEP(*(.cpuctrl.data))
+ }
+
. = ALIGN(0x10);
.text : {
*(.text*)
OpenPOWER on IntegriCloud