Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-06-01 Thread Daniel Kiper
On Fri, May 27, 2016 at 02:37:06AM -0600, Jan Beulich wrote: > >>> On 25.05.16 at 21:48, wrote: > > On Wed, May 25, 2016 at 02:39:57AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: > >> > There is a problem with place_string() which is used as early memory > >> > allocator. It g

Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-06-01 Thread Daniel Kiper
On Fri, May 27, 2016 at 02:37:06AM -0600, Jan Beulich wrote: > >>> On 25.05.16 at 21:48, wrote: > > On Wed, May 25, 2016 at 02:39:57AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: [...] > >> > Jan Beulich added 1b) Do away with efi_arch_allocate_mmap_buffer() and > >> > use

Re: [Xen-devel] [PATCH v3 13/16 - RFC] x86: add multiboot2 protocol support for EFI platforms

2016-06-01 Thread Daniel Kiper
On Fri, May 27, 2016 at 03:02:25AM -0600, Jan Beulich wrote: > >>> On 25.05.16 at 23:02, wrote: > > On Wed, May 25, 2016 at 03:32:37AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: > >> > bad_cpu: > >> > mov $(sym_phys(.Lbad_cpu_msg)),%esi # Error message > >> > -

Re: [Xen-devel] [PATCH v3 16/16] x86: add multiboot2 protocol support for relocatable images

2016-06-01 Thread Daniel Kiper
On Wed, Jun 01, 2016 at 08:44:31AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 15:35, wrote: > > On Wed, May 25, 2016 at 05:03:20AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: > >> > --- a/xen/arch/x86/boot/head.S > >> > +++ b/xen/arch/x86/boot/head.S > >> > @@ -79,6 +79,13

Re: [Xen-devel] [PATCH v3 10/16] efi: create efi_enabled()

2016-06-01 Thread Daniel Kiper
On Wed, Jun 01, 2016 at 09:41:42AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 17:23, wrote: > > On Fri, May 27, 2016 at 02:22:39AM -0600, Jan Beulich wrote: > >> >>> On 25.05.16 at 19:15, wrote: > >> > On Wed, May 25, 2016 at 01:20:23AM -0600, Jan Beulich wrote: > >> >> >>> On 15.04.16 at 14:

Re: [Xen-devel] [PATCH v3 11/16] efi: build xen.gz with EFI code

2016-06-01 Thread Daniel Kiper
On Wed, Jun 01, 2016 at 09:58:25AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 17:48, wrote: > > On Fri, May 27, 2016 at 02:31:52AM -0600, Jan Beulich wrote: > >> >>> On 25.05.16 at 21:07, wrote: > >> > On Wed, May 25, 2016 at 01:53:31AM -0600, Jan Beulich wrote: > >> >> >>> On 15.04.16 at 14:

Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-06-01 Thread Daniel Kiper
On Wed, Jun 01, 2016 at 10:02:51AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 17:58, wrote: > > On Fri, May 27, 2016 at 02:37:06AM -0600, Jan Beulich wrote: > >> >>> On 25.05.16 at 21:48, wrote: > >> > On Wed, May 25, 2016 at 02:39:57AM -0600, Jan Beulich wrote: > >> >> >>> On 15.04.16 at 14:

Re: [Xen-devel] [PATCH v3 14/16] x86/boot: implement early command line parser in C

2016-06-02 Thread Daniel Kiper
On Fri, May 27, 2016 at 03:33:49AM -0600, Jan Beulich wrote: > >>> On 25.05.16 at 23:36, wrote: > > On Wed, May 25, 2016 at 04:33:54AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: [...] > >> > +/* > >> > + * Compiler is not able to optimize regular strlen() > >> > + * if argu

Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-06-02 Thread Daniel Kiper
On Thu, Jun 02, 2016 at 02:11:32AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 21:53, wrote: > > On Wed, Jun 01, 2016 at 10:02:51AM -0600, Jan Beulich wrote: > >> >>> On 01.06.16 at 17:58, wrote: > >> > On Fri, May 27, 2016 at 02:37:06AM -0600, Jan Beulich wrote: > >> >> >>> On 25.05.16 at 21:

Re: [Xen-devel] [PATCH v3 13/16 - RFC] x86: add multiboot2 protocol support for EFI platforms

2016-06-02 Thread Daniel Kiper
On Thu, Jun 02, 2016 at 02:34:28AM -0600, Jan Beulich wrote: > >>> On 01.06.16 at 21:03, wrote: > > On Fri, May 27, 2016 at 03:02:25AM -0600, Jan Beulich wrote: > >> >>> On 25.05.16 at 23:02, wrote: > >> > On Wed, May 25, 2016 at 03:32:37AM -0600, Jan Beulich wrote: > >> >> isn't going to be very

[Xen-devel] [MULTIBOOT2 DOC PATCH 01/10] multiboot2: Remove redundant if

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 4b92918..27e5a2f 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -425,7 +425,7 @@ u32 | size

[Xen-devel] [MULTIBOOT2 DOC PATCH 03/10] multiboot2: Fix description of EFI boot services tag

2016-06-09 Thread Daniel Kiper
Without this fix multiboot2 doc build fails. Additionally, add missing full stop at the end of sentence. Signed-off-by: Daniel Kiper --- doc/multiboot.texi |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index a7e3584

[Xen-devel] [MULTIBOOT2 DOC PATCH 04/10] multiboot2: Add description of support for EFI boot services

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 108 +++- doc/multiboot2.h |2 + 2 files changed, 108 insertions(+), 2 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index e43df93..1583b76 100644 --- a/doc

[Xen-devel] [MULTIBOOT2 DOC PATCH 07/10] multiboot2: Say that memory maps may not be available on EFI platforms

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index f1e0e09..c81b2ea 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -927,6 +927,10 @@ possible value for lower memory is

[Xen-devel] [MULTIBOOT2 DOC PATCH 02/10] multiboot2: Clarify meaning of information request header tag

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 27e5a2f..a7e3584 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -443,15 +443,19 @@ u32[n

[Xen-devel] [MULTIBOOT2 DOC PATCH 10/10] multiboot2: Bump version to 2.0

2016-06-09 Thread Daniel Kiper
.. and add 2016 to copyright. Signed-off-by: Daniel Kiper --- configure.ac |2 +- doc/multiboot.texi |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b11961d..585b37a 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7

[Xen-devel] [MULTIBOOT2 DOC PATCH 06/10] multiboot2: Add description of support for relocatable images

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 56 doc/multiboot2.h | 24 ++ 2 files changed, 80 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 130176a..f1e0e09 100644 --- a/doc

[Xen-devel] [MULTIBOOT2 DOC PATCH 05/10] multiboot2: Add description of EFI image handle tags

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 28 doc/multiboot2.h | 16 2 files changed, 44 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index 1583b76..130176a 100644 --- a/doc/multiboot.texi +++ b/doc

[Xen-devel] [MULTIBOOT2 DOC PATCH 00/10] multiboot2: Update documentation

2016-06-09 Thread Daniel Kiper
. configure.ac |2 +- doc/multiboot.texi | 255 ++--- doc/multiboot2.h | 42 3 files changed, 282 insertions(+), 17 deletions(-) Daniel Kiper (10): multiboot2: Remove redundant

[Xen-devel] [MULTIBOOT2 DOC PATCH 09/10] multiboot2: Add me to authors

2016-06-09 Thread Daniel Kiper
.. and properly format author list. Signed-off-by: Daniel Kiper --- doc/multiboot.texi |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index bf02a1b..a25c223 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -53,7 +53,9

[Xen-devel] [MULTIBOOT2 DOC PATCH 08/10] multiboot2: Add C structure alignment and padding consideration section

2016-06-09 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- doc/multiboot.texi | 17 + 1 file changed, 17 insertions(+) diff --git a/doc/multiboot.texi b/doc/multiboot.texi index c81b2ea..bf02a1b 100644 --- a/doc/multiboot.texi +++ b/doc/multiboot.texi @@ -1384,6 +1384,7 @@ document, but are included for

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 06/10] multiboot2: Add description of support for relocatable images

2016-06-10 Thread Daniel Kiper
On Thu, Jun 09, 2016 at 10:36:29PM +0100, Andrew Cooper wrote: > On 09/06/2016 21:30, Daniel Kiper wrote: > > Signed-off-by: Daniel Kiper > > --- > > doc/multiboot.texi | 56 > > > > doc/multiboot2.h |

Re: [Xen-devel] [MULTIBOOT2 DOC PATCH 08/10] multiboot2: Add C structure alignment and padding consideration section

2016-06-10 Thread Daniel Kiper
On Thu, Jun 09, 2016 at 11:07:12PM +0100, Andrew Cooper wrote: > On 09/06/2016 21:30, Daniel Kiper wrote: > > Signed-off-by: Daniel Kiper > > --- > > doc/multiboot.texi | 17 + > > 1 file changed, 17 insertions(+) > > > > diff --git a/

Re: [Xen-devel] [PATCH v3 03/16] x86/boot: call reloc() using cdecl calling convention

2016-06-17 Thread Daniel Kiper
On Fri, Apr 15, 2016 at 04:56:26PM +0100, Andrew Cooper wrote: > On 15/04/16 13:33, Daniel Kiper wrote: > > reloc() is not called according to cdecl calling convention. > > This makes confusion and does not scale well for more arguments. > > And patch adding multiboot2 pro

Re: [Xen-devel] [PATCH v3 07/16] x86/boot: create *.lnk files with linker script

2016-06-17 Thread Daniel Kiper
gt; +++ b/xen/arch/x86/boot/build32.lds > >> > @@ -0,0 +1,49 @@ > >> > +/* > >> > + * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. > >> > + * Daniel Kiper > >> > + * > >> > + * This program is free software;

Re: [Xen-devel] [PATCH v3 07/16] x86/boot: create *.lnk files with linker script

2016-06-17 Thread Daniel Kiper
On Fri, Jun 17, 2016 at 04:04:20AM -0600, Jan Beulich wrote: > >>> On 17.06.16 at 11:06, wrote: > > On Tue, May 24, 2016 at 06:52:39AM -0600, Jan Beulich wrote: > >> >>> On 24.05.16 at 14:28, wrote: > >> > On Tue, May 24, 2016 at 03:05:06AM -0600, Jan Beulich wrote: > >> >> >>> On 15.04.16 at 14:

Re: [Xen-devel] Question of xl dump-core

2016-06-17 Thread Daniel Kiper
On Wed, Jun 15, 2016 at 09:46:45AM +0800, wj zhou wrote: > Hi, > > Thanks a lot for your reply! > > On Tue, Jun 14, 2016 at 11:02 PM, Konrad Rzeszutek Wilk > wrote: > > On Tue, Jun 14, 2016 at 08:21:16AM +0800, wj zhou wrote: > >> Hello all, > > > > Hey, > > > > CC-ing Daniel, and Dave. > >> > >>

Re: [Xen-devel] [PATCHv1 1/8] mm: memory hotplug with an existing resource

2015-06-25 Thread Daniel Kiper
sts will make use of this in their balloon driver to hotplug > arbitrary amounts of memory in response to toolstack requests. > > Signed-off-by: David Vrabel > Cc: Andrew Morton Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mail

Re: [Xen-devel] [PATCHv1 2/8] xen/balloon: remove scratch page left overs

2015-06-25 Thread Daniel Kiper
ion definitions. > > Signed-off-by: David Vrabel Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv1 3/8] x86/xen: discard RAM regions above the maximum reservation

2015-06-25 Thread Daniel Kiper
l Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCHv1 4/8] xen/balloon: find non-conflicting regions to place hotplugged memory

2015-06-25 Thread Daniel Kiper
d-off-by: David Vrabel In general Reviewed-by: Daniel Kiper but two nitpicks below... > --- > drivers/xen/balloon.c | 63 > + > 1 file changed, 53 insertions(+), 10 deletions(-) > > diff --git a/drivers/xen/balloon.c b/driv

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: > The stats used for memory hotplug make no sense and are fiddled with > in odd ways. Remove them and introduce total_pages to track the total > number of pages (both populated and unpopulated) including those within > hotplugged region

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 08:38:36PM +0200, Daniel Kiper wrote: > On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: > > The stats used for memory hotplug make no sense and are fiddled with > > in odd ways. Remove them and introduce total_pages to track the total >

Re: [Xen-devel] [PATCHv1 6/8] xen/balloon: only hotplug additional memory if required

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:01PM +0100, David Vrabel wrote: > Now that we track the total number of pages (included hotplugged > regions), it is easy to determine if more memory needs to be > hotplugged. > > Signed-off-by: David Vrabel > --- > drivers/xen/balloon.c | 16 +--- > 1

Re: [Xen-devel] [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 08:54:45PM +0200, Daniel Kiper wrote: > On Thu, Jun 25, 2015 at 08:38:36PM +0200, Daniel Kiper wrote: > > On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: > > > The stats used for memory hotplug make no sense and are fiddled with > > >

Re: [Xen-devel] [PATCHv1 7/8] xen/balloon: make alloc_xenballoon_pages() always allocate low pages

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:02PM +0100, David Vrabel wrote: > All users of alloc_xenballoon_pages() wanted low memory pages, so > remove the option for high memory. > > Signed-off-by: David Vrabel Reviewed-by: Daniel Kiper Daniel _

Re: [Xen-devel] [PATCHv1 8/8] xen/balloon: use hotplugged pages for foreign mappings etc.

2015-06-25 Thread Daniel Kiper
o the guest and reduces > fragmentation in the p2m. > > If userspace is lacking a udev rule (or similar) to online hotplugged > regions automatically, alloc_xenballooned_pages() will timeout and > fall back to the old behaviour of ballooning out pages. > > Signed-off-by: David Vra

Re: [Xen-devel] [PATCHv1 6/8] xen/balloon: only hotplug additional memory if required

2015-06-26 Thread Daniel Kiper
On Fri, Jun 26, 2015 at 09:56:31AM +0100, David Vrabel wrote: > On 25/06/15 22:18, Daniel Kiper wrote: > > On Thu, Jun 25, 2015 at 06:11:01PM +0100, David Vrabel wrote: > >> Now that we track the total number of pages (included hotplugged > >> regions), it is easy to det

Re: [Xen-devel] Xen 4.6 Development Update (2 WEEKS TO FREEZE, important information in preamble)

2015-06-26 Thread Daniel Kiper
/xen-devel/2015-01/msg03982.html > - Daniel Kiper I have finished all internal work this week. Now I am fully focusing on this project. I taken into account all comments to v1 (there are left few minor things which require some more work but they are not so important at this stage). Currently I am

Re: [Xen-devel] Xen 4.6 Development Update (four months reminder)

2015-05-13 Thread Daniel Kiper
ml/xen-devel/2015-01/msg03962.html and http://lists.xen.org/archives/html/xen-devel/2015-01/msg03982.html. >RFC posted > - Daniel Kiper Almost all comments for v1 are taken into account. Working on last patch in Xen series. GRUB2 patch series requires more discussion and probably some

Re: [Xen-devel] [RFC v2] xSplice design

2015-05-18 Thread Daniel Kiper
On Mon, May 18, 2015 at 08:54:22PM +0800, Liuqiming (John) wrote: > Hi Konrad, > > Will this design include hotpatch build tools chain? > Such as how these .xplice_ section are created? > How to handle xen symbols when creating hotpatch elf file? No, this is not a main goal of this project. Howeve

Re: [Xen-devel] [PATCH 3/5] i386/relocator: Remove unused avoid_efi_bootservices argument

2015-05-29 Thread Daniel Kiper
Hey, Sorry for late reply but I was busy with our internal EFI stuff. We did more tests and some fixes and it seems that everything is going in right direction. Well, I hope... :-))) Right now I am going to continue my work on upstream EFI + GRUB2 + Xen stuff. I think that I will be able to releas

[Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-05-29 Thread Daniel Kiper
pendencies tied to the dependencies of other objects. If those objects ever change their linkages, they can break your program without any changes to your own code! Signed-off-by: Daniel Kiper --- config/Tools.mk.in|1 + tools/configure

Re: [Xen-devel] [PATCH] tools: link executables with libtinfo explicitly

2015-06-01 Thread Daniel Kiper
On Mon, Jun 01, 2015 at 02:06:44PM +0100, Wei Liu wrote: > On Sat, May 30, 2015 at 12:07:28AM +0200, Daniel Kiper wrote: > > binutils 2.22 changed ld default from --copy-dt-needed-entries > > to -no-copy-dt-needed-entries. This revealed that some objects > > are linked implici

[Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-02 Thread Daniel Kiper
pendencies tied to the dependencies of other objects. If those objects ever change their linkages, they can break your program without any changes to your own code! Please run autoconf in tools directory. Signed-off-by: Daniel Kiper --- v2 - suggestions/fixes: - do not include tools/configure

Re: [Xen-devel] [PATCH v2] tools: link executables with libtinfo explicitly

2015-06-03 Thread Daniel Kiper
On Wed, Jun 03, 2015 at 11:35:50AM +0100, Ian Campbell wrote: > On Tue, 2015-06-02 at 17:58 +0100, Wei Liu wrote: > > On Tue, Jun 02, 2015 at 03:33:26PM +0200, Daniel Kiper wrote: > > > binutils 2.22 changed ld default from --copy-dt-needed-entries > > > to -no-c

Re: [Xen-devel] [PATCH v7 00/11] grub-xen: support booting huge pv-domains

2016-07-04 Thread Daniel Kiper
On Mon, Jul 04, 2016 at 12:33:17PM +0200, Juergen Gross wrote: > On 12/05/16 07:35, Juergen Gross wrote: > > Gentle ping... > > Okay, now 4 months since posting the last version. Could it please be > included in a more timely manner? Juergen and others, please be patient a bit longer. GNU, current

Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-07-05 Thread Daniel Kiper
On Fri, Apr 15, 2016 at 02:33:12PM +0200, Daniel Kiper wrote: > There is a problem with place_string() which is used as early memory > allocator. It gets memory chunks starting from start symbol and > going down. Sadly this does not work when Xen is loaded using multiboot2 > protocol b

Re: [Xen-devel] [PATCH v3 09/16] efi: explicitly define efi struct in xen/arch/x86/efi/stub.c

2016-07-05 Thread Daniel Kiper
On Fri, May 27, 2016 at 02:16:09AM -0600, Jan Beulich wrote: > >>> On 25.05.16 at 18:45, wrote: > > On Wed, May 25, 2016 at 01:03:42AM -0600, Jan Beulich wrote: > >> >>> On 15.04.16 at 14:33, wrote: > >> > Existing solution does not allocate space for this symbol and any > >> > references to acpi

Re: [Xen-devel] [PATCH v3 09/16] efi: explicitly define efi struct in xen/arch/x86/efi/stub.c

2016-07-06 Thread Daniel Kiper
On Wed, Jul 06, 2016 at 12:55:42AM -0600, Jan Beulich wrote: > >>> On 05.07.16 at 20:33, wrote: > > On Fri, May 27, 2016 at 02:16:09AM -0600, Jan Beulich wrote: > >> >>> On 25.05.16 at 18:45, wrote: > >> > On Wed, May 25, 2016 at 01:03:42AM -0600, Jan Beulich wrote: > >> >> >>> On 15.04.16 at 14:

Re: [Xen-devel] [PATCH v3 12/16 - RFC] x86/efi: create new early memory allocator

2016-07-06 Thread Daniel Kiper
On Wed, Jul 06, 2016 at 01:22:24AM -0600, Jan Beulich wrote: > >>> On 05.07.16 at 20:26, wrote: > > On Fri, Apr 15, 2016 at 02:33:12PM +0200, Daniel Kiper wrote: > >> 1) We could use native EFI allocation functions (e.g. AllocatePool() > >>or AllocateP

Re: [Xen-devel] [PATCH v3 09/16] efi: explicitly define efi struct in xen/arch/x86/efi/stub.c

2016-07-06 Thread Daniel Kiper
On Wed, Jul 06, 2016 at 06:00:47AM -0600, Jan Beulich wrote: > >>> On 06.07.16 at 12:27, wrote: > > On Wed, Jul 06, 2016 at 12:55:42AM -0600, Jan Beulich wrote: > >> >>> On 05.07.16 at 20:33, wrote: > >> > On Fri, May 27, 2016 at 02:16:09AM -0600, Jan Beulich wrote: > >> >> >>> On 25.05.16 at 18:

Re: [Xen-devel] [PATCH] acpi: Re-license ACPI builder files from GPLv2 to LGPLv2.1

2016-07-19 Thread Daniel Kiper
blic License (LGPL) > version 2.1 > > Signed-off-by: Boris Ostrovsky > CC: Kouya Shimura > CC: Daniel Kiper > CC: Stefan Berger > CC: Simon Horman > CC: Keir Fraser > CC: Ian Jackson > CC: Lars Kurth Acked-by: Daniel Kiper Daniel _

Re: [Xen-devel] dom0 show call trace and failed to boot on HSW-EX platform

2016-02-02 Thread Daniel Kiper
On Tue, Feb 02, 2016 at 01:15:13PM +, Li, Liang Z wrote: > > >> We found dom0 will crash when booing on HSW-EX server, the dom0 > > >> kernel version is v4.4. By debugging I found the your patch ' > > >> x86/xen: discard RAM regions above the maximum reservation' , which > > the commit ID is :

Re: [Xen-devel] Status of multiboot2 support on EFI?

2016-02-02 Thread Daniel Kiper
On Tue, Feb 02, 2016 at 05:10:58PM +, Andrew Cooper wrote: > On 02/02/16 17:01, PGNet Dev wrote: > > I launch Xen on EFI currently via chainload in Grub2. > > > > While troubleshooting other issue, it's , at best, quite inconvenient. > > I understand multiboot2 support is in the works. > > > >

Re: [Xen-devel] Status of multiboot2 support on EFI?

2016-02-02 Thread Daniel Kiper
On Tue, Feb 02, 2016 at 01:02:56PM -0800, PGNet Dev wrote: > Here http://wiki.xenproject.org/wiki/Xen_EFI#Xen_as_gz_binary refers > to original discussion in 2013 (work has been deferred to Xen 4.6. ) > > and says "work has been deferred to Xen 4.6." > > >I think that this should be Xen 4.8 target.

Re: [Xen-devel] Status of multiboot2 support on EFI?

2016-02-03 Thread Daniel Kiper
On Tue, Feb 02, 2016 at 03:50:17PM -0600, Doug Goldstein wrote: > On 2/2/16 3:20 PM, Daniel Kiper wrote: > > On Tue, Feb 02, 2016 at 01:02:56PM -0800, PGNet Dev wrote: > >> Here http://wiki.xenproject.org/wiki/Xen_EFI#Xen_as_gz_binary refers > >> to original discus

Re: [Xen-devel] Status of multiboot2 support on EFI?

2016-02-03 Thread Daniel Kiper
On Wed, Feb 03, 2016 at 05:08:44PM +0100, Daniel Kiper wrote: > On Tue, Feb 02, 2016 at 03:50:17PM -0600, Doug Goldstein wrote: > > On 2/2/16 3:20 PM, Daniel Kiper wrote: > > > On Tue, Feb 02, 2016 at 01:02:56PM -0800, PGNet Dev wrote: > > >> Here http://wi

Re: [Xen-devel] [PATCH v2 1/6] xen: factor out p2m list allocation into separate function

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 08:53:21AM +0100, Juergen Gross wrote: > 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. > > Whil

Re: [Xen-devel] [PATCH v2 2/6] xen: factor out allocation of special pages into separate function

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 08:53:22AM +0100, Juergen Gross wrote: > 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 su

Re: [Xen-devel] [PATCH v2 3/6] xen: factor out allocation of page tables into separate function

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 08:53:23AM +0100, Juergen Gross wrote: > 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 > ---

Re: [Xen-devel] [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 08:53:24AM +0100, Juergen Gross wrote: > 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 a

Re: [Xen-devel] [PATCH v2 5/6] xen: modify page table construction

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 08:53:25AM +0100, Juergen Gross wrote: > 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 cleane

Re: [Xen-devel] [PATCH v2 1/6] xen: factor out p2m list allocation into separate function

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 01:38:10PM +0100, Juergen Gross wrote: > On 11/02/16 13:19, Daniel Kiper wrote: > > On Thu, Feb 11, 2016 at 08:53:21AM +0100, Juergen Gross wrote: > >> Do the p2m list allocation of the to be loaded kernel in a separate > >> function. This wi

Re: [Xen-devel] [PATCH v2 3/6] xen: factor out allocation of page tables into separate function

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 01:53:51PM +0100, Juergen Gross wrote: > On 11/02/16 13:27, Daniel Kiper wrote: > > On Thu, Feb 11, 2016 at 08:53:23AM +0100, Juergen Gross wrote: > >> Do the allocation of page tables in a separate function. This will > >> allow to do the alloc

Re: [Xen-devel] [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 03:13:40PM +0100, Juergen Gross wrote: > On 11/02/16 13:33, Daniel Kiper wrote: > > On Thu, Feb 11, 2016 at 08:53:24AM +0100, Juergen Gross wrote: > >> Modern pvops linux kernels support an initrd not covered by the initial > >> mapping. This capa

Re: [Xen-devel] [PATCH v2 5/6] xen: modify page table construction

2016-02-11 Thread Daniel Kiper
On Thu, Feb 11, 2016 at 03:35:45PM +0100, Juergen Gross wrote: > On 11/02/16 13:47, Daniel Kiper wrote: > > On Thu, Feb 11, 2016 at 08:53:25AM +0100, Juergen Gross wrote: > >> Modify the page table construction to allow multiple virtual regions > >> to be mapped. This

Re: [Xen-devel] [PATCH v2 4/6] xen: add capability to load initrd outside of initial mapping

2016-02-12 Thread Daniel Kiper
Hey Juergen, On Fri, Feb 12, 2016 at 07:25:02AM +0100, Juergen Gross wrote: [...] > Okay, let me do some cleanup work on the xen loader: > > - add the possibility to call it multiple times (state reset, free the > allocated memory) > - merge all necessary global variables into one state struct

Re: [Xen-devel] [PATCH v2 2/6] relocator: Do not use memory region if its starta is smaller than size

2016-02-12 Thread Daniel Kiper
On Fri, Feb 12, 2016 at 03:57:59PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Applied, thanks Thanks but here http://lists.gnu.org/archive/html/grub-devel/2015-07/msg00100.html Andrei and later here http://lists.gnu.org/archive/html/grub-devel/2015-11/msg00110.html you expressed conc

Re: [Xen-devel] Status of multiboot2 support on EFI?

2016-02-12 Thread Daniel Kiper
On Wed, Feb 03, 2016 at 06:03:50PM +0100, Daniel Kiper wrote: > On Wed, Feb 03, 2016 at 05:08:44PM +0100, Daniel Kiper wrote: > > On Tue, Feb 02, 2016 at 03:50:17PM -0600, Doug Goldstein wrote: > > > On 2/2/16 3:20 PM, Daniel Kiper wrote: > > > > On Tue, Feb 02, 2016

Re: [Xen-devel] [PATCH v2 2/6] relocator: Do not use memory region if its starta is smaller than size

2016-02-12 Thread Daniel Kiper
On Fri, Feb 12, 2016 at 07:12:52PM +, Vladimir 'phcoder' Serbinenko wrote: > Le ven. 12 févr. 2016 20:01, Daniel Kiper a > écrit : > > > On Fri, Feb 12, 2016 at 03:57:59PM +0100, Vladimir 'φ-coder/phcoder' > > Serbinenko wrote: > > >

[Xen-devel] p2m stuff and crash tool

2016-02-16 Thread Daniel Kiper
Hey Juergen, As I saw you are strongly playing with p2m stuff, so, I hope that you can enlighten me a bit in that area. OVM, Oracle product, uses as dom0 kernel Linux 3.8.13 (yep, I know this is very ancient stuff) with a lot of backports. Among them there is commit 2c185687ab016954557aac80074f5d

Re: [Xen-devel] p2m stuff and crash tool

2016-02-17 Thread Daniel Kiper
On Tue, Feb 16, 2016 at 01:55:33PM +0100, Juergen Gross wrote: > Hi Daniel, > > On 16/02/16 12:35, Daniel Kiper wrote: > > Hey Juergen, [...] > > After that I decided to take a look at Linux kernel upstream. I saw > > that xen_max_p2m_pfn in xen_build_mfn_list_list()

Re: [Xen-devel] p2m stuff and crash tool

2016-02-17 Thread Daniel Kiper
On Wed, Feb 17, 2016 at 03:27:01PM +0100, Juergen Gross wrote: > On 17/02/16 14:59, Daniel Kiper wrote: > > On Tue, Feb 16, 2016 at 01:55:33PM +0100, Juergen Gross wrote: > >> Hi Daniel, > >> > >> On 16/02/16 12:35, Daniel Kiper wrote: > >>> H

Re: [Xen-devel] [PATCH v3 01/10] xen: make xen loader callable multiple times

2016-02-18 Thread Daniel Kiper
On Wed, Feb 17, 2016 at 06:19:28PM +0100, Juergen Gross wrote: > 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 Do you mean grub_xen_reset? > a

Re: [Xen-devel] [PATCH v3 02/10] xen: reduce number of global variables in xen loader

2016-02-18 Thread Daniel Kiper
ross Just two nitpicks but in general... Reviewed-by: Daniel Kiper > --- > grub-core/loader/i386/xen.c | 259 > +++- > 1 file changed, 138 insertions(+), 121 deletions(-) > > diff --git a/grub-core/loader/i386/xen.c b/grub-core/loader/i3

Re: [Xen-devel] [PATCH v3 03/10] xen: add elfnote.h to avoid using numbers instead of constants

2016-02-18 Thread Daniel Kiper
n the code when interpreting the elf notes > make use of the header supplied by Xen for that purpose. > > Signed-off-by: Juergen Gross Yummy! Just one nitpick. Reviewed-by: Daniel Kiper > --- > grub-core/loader/i386/xen_fileXX.c | 19 +-- > include

Re: [Xen-devel] [PATCH v3 04/10] xen: synchronize xen header

2016-02-18 Thread Daniel Kiper
On Wed, Feb 17, 2016 at 06:19:31PM +0100, Juergen Gross wrote: > 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 Ki

Re: [Xen-devel] [PATCH v3 05/10] xen: factor out p2m list allocation into separate function

2016-02-18 Thread Daniel Kiper
s supporting. > > While at this remove superfluous setting of first_p2m_pfn and > nr_p2m_frames as those are needed only in case of the p2m list not > being mapped by the initial kernel mapping. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel _

Re: [Xen-devel] [PATCH v3 06/10] xen: factor out allocation of special pages into separate function

2016-02-18 Thread Daniel Kiper
he kernel is supporting. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 07/10] xen: factor out allocation of page tables into separate function

2016-02-18 Thread Daniel Kiper
: Juergen Gross Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 08/10] xen: add capability to load initrd outside of initial mapping

2016-02-18 Thread Daniel Kiper
l mapping. This will allow to load larger initrds and/or > support domains with larger memory, as the initial mapping is limited > to 2GB and it is containing the p2m list. > > Signed-off-by: Juergen Gross One nitpick. Reviewed-by: Daniel Kiper > --- > g

Re: [Xen-devel] [PATCH v3 09/10] xen: modify page table construction

2016-02-18 Thread Daniel Kiper
nstants instead of numbers as requested by Daniel Kiper > add lots of comments to assembly code as requested by Daniel Kiper > --- > grub-core/lib/i386/xen/relocator.S | 87 ++ > grub-core/lib/x86_64/xen/relocator.S | 134 ++- > grub-core/lib/xen/reloc

Re: [Xen-devel] [PATCH v3 10/10] xen: add capability to load p2m list outside of kernel mapping

2016-02-18 Thread Daniel Kiper
ve > a p2m list larger than this. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v3 01/10] xen: make xen loader callable multiple times

2016-02-18 Thread Daniel Kiper
On Thu, Feb 18, 2016 at 11:32:16AM +0100, Juergen Gross wrote: > On 18/02/16 11:12, Daniel Kiper wrote: > > On Wed, Feb 17, 2016 at 06:19:28PM +0100, Juergen Gross wrote: > >> The loader for xen paravirtualized environment isn't callable multiple > >> times as it

Re: [Xen-devel] [PATCH v3 02/10] xen: reduce number of global variables in xen loader

2016-02-18 Thread Daniel Kiper
On Thu, Feb 18, 2016 at 11:34:49AM +0100, Juergen Gross wrote: > On 18/02/16 11:22, Daniel Kiper wrote: > > On Wed, Feb 17, 2016 at 06:19:29PM +0100, Juergen Gross wrote: > >> The loader for xen paravirtualized environment is using lots of global > >> variables. Reduc

Re: [Xen-devel] [PATCH v3 03/10] xen: add elfnote.h to avoid using numbers instead of constants

2016-02-18 Thread Daniel Kiper
On Thu, Feb 18, 2016 at 11:35:52AM +0100, Juergen Gross wrote: > On 18/02/16 11:30, Daniel Kiper wrote: > > On Wed, Feb 17, 2016 at 06:19:30PM +0100, Juergen Gross wrote: > >> Various features and parameters of a pv-kernel are specified via > >> elf notes in the kernel

Re: [Xen-devel] [PATCH v3 08/10] xen: add capability to load initrd outside of initial mapping

2016-02-18 Thread Daniel Kiper
On Thu, Feb 18, 2016 at 01:43:33PM +0100, Juergen Gross wrote: > On 18/02/16 12:18, Daniel Kiper wrote: > > On Wed, Feb 17, 2016 at 06:19:35PM +0100, Juergen Gross wrote: > >> Modern pvops linux kernels support an initrd not covered by the initial > >> mapping. This capa

Re: [Xen-devel] [PATCH v4 01/11] xen: make xen loader callable multiple times

2016-02-22 Thread Daniel Kiper
; a new relocator or when unloading the module. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

Re: [Xen-devel] [PATCH v4 02/11] xen: avoid memleaks on error

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 07:03:10AM +0100, Juergen Gross wrote: > When loading a Xen pv-kernel avoid memory leaks in case of errors. > > Signed-off-by: Juergen Gross > --- > grub-core/loader/i386/xen.c| 2 +- > grub-core/loader/i386/xen_fileXX.c | 17 +++-- > 2 files changed,

Re: [Xen-devel] [PATCH v4 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-22 Thread Daniel Kiper
l mapping. This will allow to load larger initrds and/or > support domains with larger memory, as the initial mapping is limited > to 2GB and it is containing the p2m list. > > Signed-off-by: Juergen Gross > Reviewed-by: Daniel Kiper > --- > V4: rename grub_xen_alloc_end() to

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

2016-02-22 Thread Daniel Kiper
variables in assembly sources > use separate structure define as requested by Daniel Kiper > > V3: use constants instead of numbers as requested by Daniel Kiper > add lots of comments to assembly code as requested by Daniel Kiper > --- > grub-core/lib/i386/xen/relocator.S

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

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 10:29:04AM +0100, Juergen Gross wrote: > On 22/02/16 10:17, Daniel Kiper wrote: > > On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juergen Gross wrote: > >> Modify the page table construction to allow multiple virtual regions > >> to be mapped. This

Re: [Xen-devel] [PATCH v4 09/11] xen: add capability to load initrd outside of initial mapping

2016-02-22 Thread Daniel Kiper
On Mon, Feb 22, 2016 at 10:18:38AM +0100, Juergen Gross wrote: > On 22/02/16 09:42, Daniel Kiper wrote: > > On Mon, Feb 22, 2016 at 07:03:17AM +0100, Juergen Gross wrote: > >> Modern pvops linux kernels support an initrd not covered by the initial > >> mapping. This capa

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

2016-02-22 Thread Daniel Kiper
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 wrote: > >> On 22/02/16 10:17, Daniel Kiper wrote: > >>> On Mon, Feb 22, 2016 at 07:03:18AM +0100, Juer

Re: [Xen-devel] [RFC PATCH] crashdump/x86: Add option to get crash kernel region size

2015-11-29 Thread Daniel Kiper
On Mon, Nov 30, 2015 at 08:55:32AM +0900, Simon Horman wrote: > On Sat, Nov 28, 2015 at 09:14:04PM +0100, Daniel Kiper wrote: > > Crash kernel region size is available via sysfs on Linux running on > > bare metal. However, this does not work when Linux runs as Xen dom0. > > I

Re: [Xen-devel] [PATCH] x86/xen: Build memory type conversion code conditionally

2015-11-29 Thread Daniel Kiper
On Mon, Nov 30, 2015 at 08:56:14AM +0900, Simon Horman wrote: > On Sat, Nov 28, 2015 at 09:17:18PM +0100, Daniel Kiper wrote: > > Xen is not aware of E820_PMEM and E820_PRAM memory types, so, build > > simply fails. Hence, build code referencing them conditionally. > > >

[Xen-devel] [PATCH 13/14] crashdump/sh: Add print_crashkernel_region_size() function

2015-12-08 Thread Daniel Kiper
Follow similar x86 patch. Signed-off-by: Daniel Kiper --- kexec/arch/sh/crashdump-sh.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/kexec/arch/sh/crashdump-sh.c b/kexec/arch/sh/crashdump-sh.c index 9e6af6b..6556eb1 100644 --- a/kexec/arch/sh/crashdump-sh.c +++ b/kexec/arch

[Xen-devel] [PATCH 05/14] crashdump/arm: Add print_crashkernel_region_size() function

2015-12-08 Thread Daniel Kiper
Follow similar x86 patch. Signed-off-by: Daniel Kiper --- kexec/arch/arm/crashdump-arm.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/kexec/arch/arm/crashdump-arm.c b/kexec/arch/arm/crashdump-arm.c index b523e5f..b3e93ad 100644 --- a/kexec/arch/arm/crashdump-arm.c +++ b

[Xen-devel] [PATCH 03/14] crashdump: Remove stray get_crashkernel_region() declaration

2015-12-08 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- kexec/crashdump.h |1 - 1 file changed, 1 deletion(-) diff --git a/kexec/crashdump.h b/kexec/crashdump.h index 95f1f0c..320767b 100644 --- a/kexec/crashdump.h +++ b/kexec/crashdump.h @@ -1,7 +1,6 @@ #ifndef CRASHDUMP_H #define CRASHDUMP_H -int

<    2   3   4   5   6   7   8   9   >