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

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

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

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,

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

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.

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

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

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

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

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

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

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

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

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

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: >>

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:

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

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

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: >>

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

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,

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

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

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

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

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,

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

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

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

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

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" > >

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

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

[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