[Skiboot] [RFC PATCH 0/3] WIP VMM for OPAL boot

Stewart Smith stewart at linux.ibm.com
Thu Jun 6 12:34:52 AEST 2019

Nicholas Piggin <npiggin at gmail.com> writes:
> This is my current work in progress, I've gradually been adding bits
> and fixing bugs so time for another rebase. It's been booting pretty
> reliably on my P9, I've next been trying to bring VMM mode back up
> when we fast-reboot which is still a bit buggy but almost works.

Cool. I'm chasing the secure boot problems, which has now become "get
all the genuine secure "rom" stuff running in Mambo".

This is the most obivous "Something is going to go wrong without it" bit
I have, but that doesn't magically fix things, nor explain why
everything stops suddenly.

--- a/libstb/cvc.c
+++ b/libstb/cvc.c
@@ -167,6 +167,7 @@ static int cvc_reserved_mem_init(struct dt_node *parent) {
                return -1;
        addr = dt_get_address(cvc_resv_mem, 0, &size);
+       vm_map_global_text("STB-CVC", addr, size);
        cvc_register(addr, addr + size-1);

I'll update you on my random progress in seeing if I can get it all
going in Mambo at least.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list