[Skiboot] [PATCH 7/8] slow sim: skip fast reboot checksum
Nicholas Piggin
npiggin at gmail.com
Sun Apr 28 00:44:58 AEST 2019
Skip the fast reboot checksum, which costs about 4 million cycles
booting skiboot in mambo.
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
core/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/init.c b/core/init.c
index 2d94cf6a0..4e96f1102 100644
--- a/core/init.c
+++ b/core/init.c
@@ -903,6 +903,8 @@ static void checksum_romem(void)
uint32_t csum;
romem_csum = 0;
+ if (chip_quirk(QUIRK_SLOW_SIM))
+ return;
csum = mem_csum(_start, _romem_end);
romem_csum ^= csum;
--
2.20.1
More information about the Skiboot
mailing list