xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xen on Seattle
@ 2014-09-02  6:01 Suravee Suthikulanit
  2014-09-02 18:06 ` Stefano Stabellini
  0 siblings, 1 reply; 11+ messages in thread
From: Suravee Suthikulanit @ 2014-09-02  6:01 UTC (permalink / raw)
  To: Ian Campbell, Stefano Stabellini, Julien Grall
  Cc: Joel Schopp, xen-devel, Hurwitz, Sherry

Hi all,

I am running into an issue booting Xen on Seattle platform where dom0 
kernel failed to make the following hypercall in 
arch/arm/xen/enlighten.c: xen_percpu_init().

  HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, cpu, &info)

After investigation, the hypercall failed in the xen/common/domain.c: 
map_vcpu_info(), where it check

     if ( offset > (PAGE_SIZE - sizeof(vcpu_info_t)) )
         return -EINVAL;

Here:

(XEN) DEBUG0: map_vcpu_info: offset = 0x6790
(XEN) DEBUG0: map_vcpu_info: PAGE_SIZE = 0x1000
(XEN) DEBUG0: map_vcpu_info: sizeof(vcpu_info_t) = 0x30

If I understand correctly, it seems that the hypervisor is making 
assumption that the Dom0 guest is using 4K page size.  The PAGE_SHIFT in 
include/asm-arm/config.h is currently set to 12.  So, I have tried 
changing this to 16 (for 64K page). However, there is a restriction on 
the 16-bit value of the struct active_grant_entry { length:16; }. So, I 
cannot boot dom0 with 64K page size. Is this accurate?

Thanks,

Suravee

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-09-11  1:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02  6:01 Xen on Seattle Suravee Suthikulanit
2014-09-02 18:06 ` Stefano Stabellini
2014-09-02 18:10   ` Suravee Suthikulanit
2014-09-02 18:15     ` Stefano Stabellini
2014-09-02 18:31       ` Suravee Suthikulanit
2014-09-02 18:33         ` Stefano Stabellini
2014-09-10 22:38         ` Suravee Suthikulanit
2014-09-10 23:00           ` Julien Grall
2014-09-11  0:36             ` Suravee Suthikulanit
2014-09-11  1:24               ` Stefano Stabellini
2014-09-03  9:51       ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).