Re: [Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-28 Thread Jan Beulich
>>> On 28.09.16 at 11:56, wrote: > On Wed, Sep 28, 2016 at 03:06:31AM -0600, Jan Beulich wrote: >> >>> On 27.09.16 at 21:55, wrote: >> > On Mon, Sep 26, 2016 at 09:03:30AM -0600, Jan Beulich wrote: >> >> >>> On 23.09.16 at 23:47, wrote: >> >> > +1: mov %eax,sym_fs(l2_bootmap)-8(%ebx,%ec

Re: [Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-28 Thread Daniel Kiper
On Wed, Sep 28, 2016 at 03:06:31AM -0600, Jan Beulich wrote: > >>> On 27.09.16 at 21:55, wrote: > > On Mon, Sep 26, 2016 at 09:03:30AM -0600, Jan Beulich wrote: > >> >>> On 23.09.16 at 23:47, wrote: > >> > @@ -426,32 +453,65 @@ trampoline_bios_setup: > >> > xor %cl, %cl > >> > > >> >

Re: [Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-28 Thread Jan Beulich
>>> On 27.09.16 at 21:55, wrote: > On Mon, Sep 26, 2016 at 09:03:30AM -0600, Jan Beulich wrote: >> >>> On 23.09.16 at 23:47, wrote: >> > @@ -426,32 +453,65 @@ trampoline_bios_setup: >> > xor %cl, %cl >> > >> > trampoline_setup: >> > +/* >> > + * Called on legacy BIOS

Re: [Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-27 Thread Daniel Kiper
On Mon, Sep 26, 2016 at 09:03:30AM -0600, Jan Beulich wrote: > >>> On 23.09.16 at 23:47, wrote: > > @@ -426,32 +453,65 @@ trampoline_bios_setup: > > xor %cl, %cl > > > > trampoline_setup: > > +/* > > + * Called on legacy BIOS and EFI platforms. > > + * > > +

Re: [Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-26 Thread Jan Beulich
>>> On 23.09.16 at 23:47, wrote: > @@ -426,32 +453,65 @@ trampoline_bios_setup: > xor %cl, %cl > > trampoline_setup: > +/* > + * Called on legacy BIOS and EFI platforms. > + * > + * Initialize 0-15 bits of BOOT_FS segment descriptor base address. > +

[Xen-devel] [PATCH v7 12/14] x86: make Xen early boot code relocatable

2016-09-23 Thread Daniel Kiper
Every multiboot protocol (regardless of version) compatible image must specify its load address (in ELF or multiboot header). Multiboot protocol compatible loader have to load image at specified address. However, there is no guarantee that the requested memory region (in case of Xen it starts at 2