Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-22 Thread Roger Pau Monné
On Tue, Nov 21, 2017 at 12:13 PM, Juergen Gross wrote: > On 21/11/17 11:42, Andrew Cooper wrote: >> On 21/11/17 07:44, Jan Beulich wrote: >> On 20.11.17 at 17:59, wrote: On 11/20/2017 11:43 AM, Jan Beulich wrote: On 20.11.17 at 17:28, wrote: >> On 11/20/2017 11:26 AM, Jan B

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Juergen Gross
On 21/11/17 11:42, Andrew Cooper wrote: > On 21/11/17 07:44, Jan Beulich wrote: > On 20.11.17 at 17:59, wrote: >>> On 11/20/2017 11:43 AM, Jan Beulich wrote: >>> On 20.11.17 at 17:28, wrote: > On 11/20/2017 11:26 AM, Jan Beulich wrote: > On 20.11.17 at 17:14, wrote: >>> W

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Andrew Cooper
On 21/11/17 09:37, Juergen Gross wrote: > On 21/11/17 09:46, Jan Beulich wrote: > On 21.11.17 at 09:13, wrote: >>> On 21/11/17 08:50, Jan Beulich wrote: >>> On 20.11.17 at 19:28, wrote: > On 20/11/17 17:14, Jan Beulich wrote: > On 20.11.17 at 16:24, wrote: >>> So without

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Andrew Cooper
On 21/11/17 07:44, Jan Beulich wrote: On 20.11.17 at 17:59, wrote: >> On 11/20/2017 11:43 AM, Jan Beulich wrote: >> On 20.11.17 at 17:28, wrote: On 11/20/2017 11:26 AM, Jan Beulich wrote: On 20.11.17 at 17:14, wrote: >> What could cause grub2 to fail to find space for

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Juergen Gross
On 21/11/17 09:46, Jan Beulich wrote: On 21.11.17 at 09:13, wrote: >> On 21/11/17 08:50, Jan Beulich wrote: >> On 20.11.17 at 19:28, wrote: On 20/11/17 17:14, Jan Beulich wrote: On 20.11.17 at 16:24, wrote: >> So without my patch the RSDP table is loaded e.g. at about

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Jan Beulich
>>> On 21.11.17 at 09:13, wrote: > On 21/11/17 08:50, Jan Beulich wrote: > On 20.11.17 at 19:28, wrote: >>> On 20/11/17 17:14, Jan Beulich wrote: >>> On 20.11.17 at 16:24, wrote: > So without my patch the RSDP table is loaded e.g. at about 6.5MB when > I'm using grub2 (the loaded

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-21 Thread Juergen Gross
On 21/11/17 08:50, Jan Beulich wrote: On 20.11.17 at 19:28, wrote: >> On 20/11/17 17:14, Jan Beulich wrote: >> On 20.11.17 at 16:24, wrote: On 20/11/17 15:20, Jan Beulich wrote: On 20.11.17 at 15:14, wrote: >> On 20/11/17 14:56, Boris Ostrovsky wrote: >>> On 11/20/

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 19:28, wrote: > On 20/11/17 17:14, Jan Beulich wrote: > On 20.11.17 at 16:24, wrote: >>> On 20/11/17 15:20, Jan Beulich wrote: >>> On 20.11.17 at 15:14, wrote: > On 20/11/17 14:56, Boris Ostrovsky wrote: >> On 11/20/2017 06:50 AM, Jan Beulich wrote: >>

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 17:59, wrote: > On 11/20/2017 11:43 AM, Jan Beulich wrote: > On 20.11.17 at 17:28, wrote: >>> On 11/20/2017 11:26 AM, Jan Beulich wrote: >>> On 20.11.17 at 17:14, wrote: > What could cause grub2 to fail to find space for the pointer in the > first page? Will we

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 17:14, Boris Ostrovsky wrote: > On 11/20/2017 10:27 AM, Juergen Gross wrote: >> On 20/11/17 15:25, Boris Ostrovsky wrote: >>> On 11/20/2017 09:14 AM, Juergen Gross wrote: On 20/11/17 14:56, Boris Ostrovsky wrote: > On 11/20/2017 06:50 AM, Jan Beulich wrote: > On 20.11.1

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 17:14, Jan Beulich wrote: On 20.11.17 at 16:24, wrote: >> On 20/11/17 15:20, Jan Beulich wrote: >> On 20.11.17 at 15:14, wrote: On 20/11/17 14:56, Boris Ostrovsky wrote: > On 11/20/2017 06:50 AM, Jan Beulich wrote: > On 20.11.17 at 12:20, wrote: >>> Whic

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 11:43 AM, Jan Beulich wrote: On 20.11.17 at 17:28, wrote: >> On 11/20/2017 11:26 AM, Jan Beulich wrote: >> On 20.11.17 at 17:14, wrote: What could cause grub2 to fail to find space for the pointer in the first page? Will we ever have anything in EBDA (which is one

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 17:28, wrote: > On 11/20/2017 11:26 AM, Jan Beulich wrote: > On 20.11.17 at 17:14, wrote: >>> What could cause grub2 to fail to find space for the pointer in the >>> first page? Will we ever have anything in EBDA (which is one of the >>> possible RSDP locations)? >> Well, t

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 11:26 AM, Jan Beulich wrote: On 20.11.17 at 17:14, wrote: >> What could cause grub2 to fail to find space for the pointer in the >> first page? Will we ever have anything in EBDA (which is one of the >> possible RSDP locations)? > Well, the EBDA (see the B in its name) is again

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 17:14, wrote: > What could cause grub2 to fail to find space for the pointer in the > first page? Will we ever have anything in EBDA (which is one of the > possible RSDP locations)? Well, the EBDA (see the B in its name) is again something that's meaningless without there being

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 10:27 AM, Juergen Gross wrote: > On 20/11/17 15:25, Boris Ostrovsky wrote: >> On 11/20/2017 09:14 AM, Juergen Gross wrote: >>> On 20/11/17 14:56, Boris Ostrovsky wrote: On 11/20/2017 06:50 AM, Jan Beulich wrote: On 20.11.17 at 12:20, wrote: >> Which restriction? I'm

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 16:24, wrote: > On 20/11/17 15:20, Jan Beulich wrote: > On 20.11.17 at 15:14, wrote: >>> On 20/11/17 14:56, Boris Ostrovsky wrote: On 11/20/2017 06:50 AM, Jan Beulich wrote: On 20.11.17 at 12:20, wrote: >> Which restriction? I'm loading the RSDP table to

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 15:25, Boris Ostrovsky wrote: > On 11/20/2017 09:14 AM, Juergen Gross wrote: >> On 20/11/17 14:56, Boris Ostrovsky wrote: >>> On 11/20/2017 06:50 AM, Jan Beulich wrote: >>> On 20.11.17 at 12:20, wrote: > Which restriction? I'm loading the RSDP table to its architectural > c

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 15:20, Jan Beulich wrote: On 20.11.17 at 15:14, wrote: >> On 20/11/17 14:56, Boris Ostrovsky wrote: >>> On 11/20/2017 06:50 AM, Jan Beulich wrote: >>> On 20.11.17 at 12:20, wrote: > Which restriction? I'm loading the RSDP table to its architectural > correct addres if

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 09:36 AM, Andrew Cooper wrote: > On 20/11/17 14:25, Boris Ostrovsky wrote: >> On 11/20/2017 09:14 AM, Juergen Gross wrote: >>> On 20/11/17 14:56, Boris Ostrovsky wrote: On 11/20/2017 06:50 AM, Jan Beulich wrote: On 20.11.17 at 12:20, wrote: >> Which restriction? I'm

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Andrew Cooper
On 20/11/17 14:25, Boris Ostrovsky wrote: > On 11/20/2017 09:14 AM, Juergen Gross wrote: >> On 20/11/17 14:56, Boris Ostrovsky wrote: >>> On 11/20/2017 06:50 AM, Jan Beulich wrote: >>> On 20.11.17 at 12:20, wrote: > Which restriction? I'm loading the RSDP table to its architectural > c

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 09:14 AM, Juergen Gross wrote: > On 20/11/17 14:56, Boris Ostrovsky wrote: >> On 11/20/2017 06:50 AM, Jan Beulich wrote: >> On 20.11.17 at 12:20, wrote: Which restriction? I'm loading the RSDP table to its architectural correct addres if possible, otherwise it will be l

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 15:14, wrote: > On 20/11/17 14:56, Boris Ostrovsky wrote: >> On 11/20/2017 06:50 AM, Jan Beulich wrote: >> On 20.11.17 at 12:20, wrote: Which restriction? I'm loading the RSDP table to its architectural correct addres if possible, otherwise it will be loaded to th

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 14:56, Boris Ostrovsky wrote: > On 11/20/2017 06:50 AM, Jan Beulich wrote: > On 20.11.17 at 12:20, wrote: >>> Which restriction? I'm loading the RSDP table to its architectural >>> correct addres if possible, otherwise it will be loaded to the same >>> address as without my patch.

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 14:56, wrote: > On 11/20/2017 06:50 AM, Jan Beulich wrote: > On 20.11.17 at 12:20, wrote: >>> Which restriction? I'm loading the RSDP table to its architectural >>> correct addres if possible, otherwise it will be loaded to the same >>> address as without my patch. So I'm n

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 06:50 AM, Jan Beulich wrote: On 20.11.17 at 12:20, wrote: >> Which restriction? I'm loading the RSDP table to its architectural >> correct addres if possible, otherwise it will be loaded to the same >> address as without my patch. So I'm not adding a restriction, but >> removing

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Boris Ostrovsky
On 11/20/2017 06:20 AM, Juergen Gross wrote: > On 20/11/17 11:57, Andrew Cooper wrote: >> On 20/11/17 10:43, Juergen Gross wrote: >>> On 20/11/17 11:21, Andrew Cooper wrote: On 20/11/17 10:04, Juergen Gross wrote: > On 20/11/17 10:58, Andrew Cooper wrote: >> On 20/11/2017 09:55, Juerge

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Jan Beulich
>>> On 20.11.17 at 12:20, wrote: > Which restriction? I'm loading the RSDP table to its architectural > correct addres if possible, otherwise it will be loaded to the same > address as without my patch. So I'm not adding a restriction, but > removing one. What is "architecturally correct" in PVH

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 11:57, Andrew Cooper wrote: > On 20/11/17 10:43, Juergen Gross wrote: >> On 20/11/17 11:21, Andrew Cooper wrote: >>> On 20/11/17 10:04, Juergen Gross wrote: On 20/11/17 10:58, Andrew Cooper wrote: > On 20/11/2017 09:55, Juergen Gross wrote: >> On 20/11/17 10:51, Roger Pau M

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Andrew Cooper
On 20/11/17 10:43, Juergen Gross wrote: > On 20/11/17 11:21, Andrew Cooper wrote: >> On 20/11/17 10:04, Juergen Gross wrote: >>> On 20/11/17 10:58, Andrew Cooper wrote: On 20/11/2017 09:55, Juergen Gross wrote: > On 20/11/17 10:51, Roger Pau Monné wrote: >> Adding xen-devel, dropped it

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 11:21, Andrew Cooper wrote: > On 20/11/17 10:04, Juergen Gross wrote: >> On 20/11/17 10:58, Andrew Cooper wrote: >>> On 20/11/2017 09:55, Juergen Gross wrote: On 20/11/17 10:51, Roger Pau Monné wrote: > Adding xen-devel, dropped it on my reply.  > > Replying from my

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Andrew Cooper
On 20/11/17 10:04, Juergen Gross wrote: > On 20/11/17 10:58, Andrew Cooper wrote: >> On 20/11/2017 09:55, Juergen Gross wrote: >>> On 20/11/17 10:51, Roger Pau Monné wrote: Adding xen-devel, dropped it on my reply.  Replying from my phone, sorry for the formatting.  >>>

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 10:58, Andrew Cooper wrote: > On 20/11/2017 09:55, Juergen Gross wrote: >> On 20/11/17 10:51, Roger Pau Monné wrote: >>> Adding xen-devel, dropped it on my reply.  >>> >>> Replying from my phone, sorry for the formatting.  >>> >>> >>> El 20 nov. 2017 9:35, "Juergen Gross" >>

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Andrew Cooper
On 20/11/2017 09:55, Juergen Gross wrote: > On 20/11/17 10:51, Roger Pau Monné wrote: >> Adding xen-devel, dropped it on my reply.  >> >> Replying from my phone, sorry for the formatting.  >> >> >> El 20 nov. 2017 9:35, "Juergen Gross" > > escribió: >> >>

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
On 20/11/17 10:51, Roger Pau Monné wrote: > Adding xen-devel, dropped it on my reply.  > > Replying from my phone, sorry for the formatting.  > > > El 20 nov. 2017 9:35, "Juergen Gross" > escribió: > > For PVH domains loading of the ACPI RSDP table i

Re: [Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Roger Pau Monné
Adding xen-devel, dropped it on my reply. Replying from my phone, sorry for the formatting. El 20 nov. 2017 9:35, "Juergen Gross" escribió: For PVH domains loading of the ACPI RSDP table is done via allocating a domain loader segment after having loaded the kernel. This leads to the RSDP table

[Xen-devel] [PATCH for-4.10] libxc: load acpi RSDP table at correct address

2017-11-20 Thread Juergen Gross
For PVH domains loading of the ACPI RSDP table is done via allocating a domain loader segment after having loaded the kernel. This leads to the RSDP table being loaded at an arbitrary guest address instead of the architectural correct address just below 1MB. When using the Linux kernel this is cur