[SLOF] [PATCH slof] rtas: Reserve space for FWNMI log

Alexey Kardashevskiy aik at ozlabs.ru
Mon Aug 26 13:44:34 AEST 2019


The Firmware Assisted Non-Maskable Interrupts Option (FWNMI) feature
requires some space for RTAS log which is in the RTAS blob area.

This expands the RTAS blob size to 2k.

More details here: https://patchwork.ozlabs.org/patch/1146765/

Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
---
 lib/libhvcall/hvcall.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/libhvcall/hvcall.S b/lib/libhvcall/hvcall.S
index b19f6dbeff2c..adcda0dd905d 100644
--- a/lib/libhvcall/hvcall.S
+++ b/lib/libhvcall/hvcall.S
@@ -134,6 +134,7 @@ ENTRY(hv_rtas)
 	ori	r3,r3,KVMPPC_H_RTAS at l
 	HVCALL
 	blr
+	.space 2048 - (. - hv_rtas)
 	.globl hv_rtas_size
 hv_rtas_size:
 	.long . - hv_rtas;
@@ -144,6 +145,7 @@ ENTRY(hv_rtas_broken_sc1)
 	ori	r3,r3,KVMPPC_H_RTAS at l
 	.long	0x7c000268
 	blr
+	.space 2048 - (. - hv_rtas_broken_sc1)
 	.globl hv_rtas_broken_sc1_size
 hv_rtas_broken_sc1_size:
 	.long . - hv_rtas_broken_sc1;
-- 
2.17.1



More information about the SLOF mailing list