[Skiboot] [PATCH v2] fast-reboot:: skip read-only memory checksum for slow simulators
Nicholas Piggin
npiggin at gmail.com
Fri May 10 14:44:23 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 bca12dfc6..c97a1c3ee 100644
--- a/core/init.c
+++ b/core/init.c
@@ -901,6 +901,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