[PATCH v6 07/11] xen: factor out allocation of special pages into separate function

2016-02-29 Thread Juergen Gross
Do the allocation of special pages (start info, console and xenbus ring buffers) in a separate function. This will allow to do the allocation at different times of the boot preparations depending on the features the kernel is supporting. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper ---

[PATCH v6 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-29 Thread Juergen Gross
Modern pvops linux kernels support an initrd not covered by the initial mapping. This capability is flagged by an elf-note. In case the elf-note is set by the kernel don't place the initrd into the initial mapping. This will allow to load larger initrds and/or support domains with larger memory, a

[PATCH v6 08/11] xen: factor out allocation of page tables into separate function

2016-02-29 Thread Juergen Gross
Do the allocation of page tables in a separate function. This will allow to do the allocation at different times of the boot preparations depending on the features the kernel is supporting. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper --- grub-core/loader/i386/xen.c | 91 +

[PATCH v6 10/11] xen: modify page table construction

2016-02-29 Thread Juergen Gross
Modify the page table construction to allow multiple virtual regions to be mapped. This is done as preparation for removing the p2m list from the initial kernel mapping in order to support huge pv domains. This allows a cleaner approach for mapping the relocator page by using this capability. The

[PATCH v6 06/11] xen: factor out p2m list allocation into separate function

2016-02-29 Thread Juergen Gross
Do the p2m list allocation of the to be loaded kernel in a separate function. This will allow doing the p2m list allocation at different times of the boot preparations depending on the features the kernel is supporting. While at this remove superfluous setting of first_p2m_pfn and nr_p2m_frames as

[PATCH v6 11/11] xen: add capability to load p2m list outside of kernel mapping

2016-02-29 Thread Juergen Gross
Modern pvops linux kernels support a p2m list not covered by the kernel mapping. This capability is flagged by an elf-note specifying the virtual address the kernel is expecting the p2m list to be mapped to. In case the elf-note is set by the kernel don't place the p2m list into the kernel mapping

[PATCH v6 03/11] xen: reduce number of global variables in xen loader

2016-02-29 Thread Juergen Gross
The loader for xen paravirtualized environment is using lots of global variables. Reduce the number by making them either local or by putting them into a single state structure. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper --- grub-core/loader/i386/xen.c | 259 +++-

[PATCH v6 01/11] xen: make xen loader callable multiple times

2016-02-29 Thread Juergen Gross
The loader for xen paravirtualized environment isn't callable multiple times as it won't free any memory in case of failure. Call grub_relocator_unload() as other modules do it before allocating a new relocator or when unloading the module. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper

[PATCH v6 05/11] xen: synchronize xen header

2016-02-29 Thread Juergen Gross
Get actual version of include/xen/xen.h from the Xen repository in order to be able to use constants defined there. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper --- include/xen/arch-x86/xen-x86_32.h | 22 +++ include/xen/arch-x86/xen-x86_64.h | 8 +-- include/xen/xen.h

[PATCH v6 02/11] xen: avoid memleaks on error

2016-02-29 Thread Juergen Gross
When loading a Xen pv-kernel avoid memory leaks in case of errors. Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper --- V5: set grub_errno to GRUB_ERR_NONE to avoid false error reports as requested by Daniel Kiper --- grub-core/loader/i386/xen.c| 2 +- grub-core/loader/i386/x

[PATCH v6 04/11] xen: add elfnote.h to avoid using numbers instead of constants

2016-02-29 Thread Juergen Gross
Various features and parameters of a pv-kernel are specified via elf notes in the kernel image. Those notes are part of the interface between the Xen hypervisor and the kernel. Instead of using num,bers in the code when interpreting the elf notes make use of the header supplied by Xen for that pur

[PATCH v6 00/11] grub-xen: support booting huge pv-domains

2016-02-29 Thread Juergen Gross
The Xen hypervisor supports starting a dom0 with large memory (up to the TB range) by not including the initrd and p2m list in the initial kernel mapping. Especially the p2m list can grow larger than the available virtual space in the initial mapping. The started kernel is indicating the support o

Re: [Xen-devel] [PATCH v4 10/11] xen: modify page table construction

2016-02-29 Thread Juergen Gross
On 01/03/16 04:52, Andrei Borzenkov wrote: > 29.02.2016 15:19, Juergen Gross пишет: >> On 29/02/16 10:13, Juergen Gross wrote: >>> On 25/02/16 19:33, Andrei Borzenkov wrote: 22.02.2016 16:14, Juergen Gross пишет: > On 22/02/16 13:48, Daniel Kiper wrote: >> On Mon, Feb 22, 2016 at 01:30

Re: [PATCH v2 4/4] arm64: update the introduction of xen boot commands in docs/grub.texi

2016-02-29 Thread Andrei Borzenkov
29.02.2016 17:41, Konrad Rzeszutek Wilk пишет: > On Sun, Feb 28, 2016 at 08:10:33AM +0300, Andrei Borzenkov wrote: >> 27.02.2016 23:33, Konrad Rzeszutek Wilk пишет: >>> On Fri, Feb 26, 2016 at 07:15:52PM +0800, Fu Wei wrote: Hi Andrei, On 26 February 2016 at 18:50, Andrei Borzenkov

Re: [PATCH v4 10/11] xen: modify page table construction

2016-02-29 Thread Andrei Borzenkov
29.02.2016 15:19, Juergen Gross пишет: > On 29/02/16 10:13, Juergen Gross wrote: >> On 25/02/16 19:33, Andrei Borzenkov wrote: >>> 22.02.2016 16:14, Juergen Gross пишет: On 22/02/16 13:48, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote: >> On 22/02/

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-29 Thread Daniel Kiper
On Mon, Feb 29, 2016 at 04:49:04PM +0100, Juergen Gross wrote: > On 29/02/16 16:43, Daniel Kiper wrote: > > On Mon, Feb 29, 2016 at 09:27:42AM +0100, Juergen Gross wrote: > >> On 26/02/16 16:41, Daniel Kiper wrote: > >>> On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote: > On 26/02

Re: 2.02~beta3 release

2016-02-29 Thread Konrad Rzeszutek Wilk
On Sun, Feb 28, 2016 at 03:21:44PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. I've just released 2.02~beta3. The goal of this release is > to chase bugs so that we can move to 2.02 release. So from now on if you > think that your patch should be included in 2.02 rather than

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-29 Thread Juergen Gross
On 29/02/16 16:43, Daniel Kiper wrote: > On Mon, Feb 29, 2016 at 09:27:42AM +0100, Juergen Gross wrote: >> On 26/02/16 16:41, Daniel Kiper wrote: >>> On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote: On 26/02/16 15:00, Daniel Kiper wrote: > On Thu, Feb 25, 2016 at 04:33:46PM +

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-29 Thread Daniel Kiper
On Mon, Feb 29, 2016 at 09:27:42AM +0100, Juergen Gross wrote: > On 26/02/16 16:41, Daniel Kiper wrote: > > On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote: > >> On 26/02/16 15:00, Daniel Kiper wrote: > >>> On Thu, Feb 25, 2016 at 04:33:46PM +0100, Juergen Gross wrote: > On 25/02

Re: 2.02~beta3 release

2016-02-29 Thread Peter Jones
On Sun, Feb 28, 2016 at 03:21:44PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. I've just released 2.02~beta3. The goal of this release is > to chase bugs so that we can move to 2.02 release. So from now on if you > think that your patch should be included in 2.02 rather than

Re: [PATCH v5 1/2] Define the SMBIOS3 entry point structure on EFI

2016-02-29 Thread David Michael
On Sat, Feb 20, 2016 at 2:12 PM, David Michael wrote: > This adds the GUID and includes it in the lsefisystab module. Pinging to check if these two can make it into 2.02. Side note: I was trying a CoreOS snapshot the other day and noticed they've applied these patches, so here is another use ca

Re: [PATCH v4 10/11] xen: modify page table construction

2016-02-29 Thread Juergen Gross
On 29/02/16 10:13, Juergen Gross wrote: > On 25/02/16 19:33, Andrei Borzenkov wrote: >> 22.02.2016 16:14, Juergen Gross пишет: >>> On 22/02/16 13:48, Daniel Kiper wrote: On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote: > On 22/02/16 13:18, Daniel Kiper wrote: >> On Mon, F

Re: [PATCH v4 10/11] xen: modify page table construction

2016-02-29 Thread Juergen Gross
On 25/02/16 19:33, Andrei Borzenkov wrote: > 22.02.2016 16:14, Juergen Gross пишет: >> On 22/02/16 13:48, Daniel Kiper wrote: >>> On Mon, Feb 22, 2016 at 01:30:30PM +0100, Juergen Gross wrote: On 22/02/16 13:18, Daniel Kiper wrote: > On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross

Re: [PATCH v5 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-29 Thread Juergen Gross
On 26/02/16 16:41, Daniel Kiper wrote: > On Fri, Feb 26, 2016 at 03:28:21PM +0100, Juergen Gross wrote: >> On 26/02/16 15:00, Daniel Kiper wrote: >>> On Thu, Feb 25, 2016 at 04:33:46PM +0100, Juergen Gross wrote: On 25/02/16 13:47, Daniel Kiper wrote: > On Thu, Feb 25, 2016 at 12:33:35PM +

Re: 2.02~beta3 release

2016-02-29 Thread Vladimir 'phcoder' Serbinenko
On Sunday, February 28, 2016, Vladimir 'φ-coder/phcoder' Serbinenko < phco...@gmail.com> wrote: > Hello, all. I've just released 2.02~beta3. The goal of this release is > to chase bugs so that we can move to 2.02 release. So from now on if you > think that your patch should be included in 2.02 rat

Re: 2.02~beta3 release

2016-02-29 Thread Vladimir 'phcoder' Serbinenko
On Sunday, February 28, 2016, Andrei Borzenkov wrote: > 28.02.2016 19:40, Andrei Borzenkov пишет: > > You forgot to tag GIT. I think we discussed that release tag should be > > signed, not sure if this is achievable. > > Oh, sorry, was confused that tag name pattern is different from beta2. > We