On Mon, 26 Nov 2018 at 14:07, Matthew Daley <[email protected]> wrote: > > On Fri, 23 Nov 2018 at 09:51, Julien Grall <[email protected]> wrote: >> >> Hi Matthew, >> >> Sorry for the late answer and thank you for testing the patch. >> >> On 11/13/18 10:43 PM, Matthew Daley wrote: >> > On Tue, 13 Nov 2018 at 02:01, Julien Grall <[email protected]> wrote: >> >> On 11/11/18 1:15 AM, Matthew Daley wrote: >> > I gave this a go but unfortunately the same problem occurs (error >> > -9s). Just to check nothing weird is happening I added a printk to >> > check the value of __pa(init_secondary) in call_psci_cpu_on, giving >> > 0xdfe00180. >> >> I have posted a patch that disables completely the relocation [1]. Could >> you have a try and see whether it works now? >> >> Cheers, >> >> [1] https://lists.xen.org/archives/html/xen-devel/2018-11/msg02638.html >> >> -- >> Julien Grall > > > Hi Julien, > > Unfortunately with this patch it appears to freeze after the call to > switch_ttbr(ttbr). > > - Matthew
So looking at setup_pagetables, my understanding is that it sets up a 2MiB mapping for Xen's .text section (before then splitting it into 4KiB pages). However, GRUB is loading Xen in RAM at 0xB8736000 for me. This isn't 2MiB aligned (and isn't in low memory either!), so I can't see how this would work; it still requires relocation or a more granular mapping, no? - Matthew _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
