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

2016-10-27 Thread Daniel Kiper
Hi Juergen,

On Mon, Oct 17, 2016 at 08:52:58AM +0200, Daniel Kiper wrote:
> On Tue, Oct 11, 2016 at 04:00:58PM +0200, Juergen Gross wrote:
> > On 04/07/16 12:53, Daniel Kiper wrote:
> > > 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 
> > > maintainer,
> > > others and I are working on improving GRUB2 maintenance. It will take some
> > > time (2-4 weeks). We will drop more info when everything is established.
> > >
> > > Stay tuned...
> >
> > Okay, 14 weeks have passed since then. Anything new?
>
> I am clearing my backlog and I am going to commit all waiting patches,
> including yours, in 2-3 weeks. Sorry for delays.

Applied... Sorry that you waited so long.

Daniel

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


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

2016-10-16 Thread Daniel Kiper
On Tue, Oct 11, 2016 at 04:00:58PM +0200, Juergen Gross wrote:
> On 04/07/16 12:53, Daniel Kiper wrote:
> > 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 maintainer,
> > others and I are working on improving GRUB2 maintenance. It will take some
> > time (2-4 weeks). We will drop more info when everything is established.
> > 
> > Stay tuned...
> 
> Okay, 14 weeks have passed since then. Anything new?

I am clearing my backlog and I am going to commit all waiting patches,
including yours, in 2-3 weeks. Sorry for delays.

Daniel

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


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

2016-10-11 Thread Juergen Gross
On 04/07/16 12:53, Daniel Kiper wrote:
> 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 maintainer,
> others and I are working on improving GRUB2 maintenance. It will take some
> time (2-4 weeks). We will drop more info when everything is established.
> 
> Stay tuned...

Okay, 14 weeks have passed since then. Anything new?


Juergen


___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


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 maintainer,
others and I are working on improving GRUB2 maintenance. It will take some
time (2-4 weeks). We will drop more info when everything is established.

Stay tuned...

Daniel

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-07-04 Thread Juergen Gross
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

> 
> On 03/03/16 10:38, Juergen Gross wrote:
>> 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 of each feature via
>> elf notes.
>>
>> This series enables grub-xen to do the same as the hypervisor.
>>
>> Tested with:
>> - 32 bit domU (kernel not supporting unmapped initrd)
>> - 32 bit domU (kernel supporting unmapped initrd)
>> - 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
>> - 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
>> - 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)
>>
>> Changes in V7:
>> - patch 9: set initrd size once instead of in if and else clause as requested
>>   by Daniel Kiper
>> - patch 10: add GRUB_PACKED attribute to structure, drop alignments in 
>> assembly
>>   files as requested by Daniel Kiper
>>
>> Changes in V6:
>> - patch 9: rename grub_xen_alloc_final() as requested by Daniel Kiper
>>
>> Changes in V5:
>> - patch 2: set grub_errno to GRUB_ERR_NONE to avoid false error reports as
>>   requested by Daniel Kiper
>> - patch 9: let call grub_xen_alloc_final() all subfunctions unconditionally
>>   and let them decide whether they need to do anything as suggested by
>>   Daniel Kiper
>>
>> Changes in V4:
>> - split patch 1 into two patches as requested by Daniel Kiper
>> - patch 9 (was 8): rename grub_xen_alloc_end() as requested by Daniel Kiper
>> - patch 10 (was 9): align variables in assembly sources,
>>   use separate structure define as requested by Daniel Kiper
>>
>> Changes in V3:
>> - added new patch 1 (free memory in case of error) as requested by
>>   Daniel Kiper
>> - added new patch 2 (avoid global variables) as requested by Daniel Kiper
>> - added new patch 3 (use constants for elf notes) as requested by Daniel 
>> Kiper
>> - added new patch 4 (sync with new Xen headers) in order to use constants
>>   in assembly code
>> - modified patch 9 (was patch 5) to use constants instead of numbers as
>>   requested by Daniel Kiper
>>
>> Changes in V2:
>> - rebased patch 5 to current master
>>
>> Juergen Gross (11):
>>   xen: make xen loader callable multiple times
>>   xen: avoid memleaks on error
>>   xen: reduce number of global variables in xen loader
>>   xen: add elfnote.h to avoid using numbers instead of constants
>>   xen: synchronize xen header
>>   xen: factor out p2m list allocation into separate function
>>   xen: factor out allocation of special pages into separate function
>>   xen: factor out allocation of page tables into separate function
>>   xen: add capability to load initrd outside of initial mapping
>>   xen: modify page table construction
>>   xen: add capability to load p2m list outside of kernel mapping
>>
>>  grub-core/lib/i386/xen/relocator.S   |  87 ++--
>>  grub-core/lib/x86_64/xen/relocator.S | 134 +++---
>>  grub-core/lib/xen/relocator.c|  28 +-
>>  grub-core/loader/i386/xen.c  | 778 
>> +++
>>  grub-core/loader/i386/xen_fileXX.c   |  45 +-
>>  include/grub/i386/memory.h   |   7 +
>>  include/grub/xen/relocator.h |   6 +-
>>  include/grub/xen_file.h  |   3 +
>>  include/xen/arch-x86/xen-x86_32.h|  22 +-
>>  include/xen/arch-x86/xen-x86_64.h|   8 +-
>>  include/xen/elfnote.h| 281 +
>>  include/xen/xen.h| 125 --
>>  12 files changed, 1076 insertions(+), 448 deletions(-)
>>  create mode 100644 include/xen/elfnote.h
>>
> 
> 
> ___
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
> 


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-05-11 Thread Juergen Gross
Gentle ping...

On 03/03/16 10:38, Juergen Gross wrote:
> 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 of each feature via
> elf notes.
> 
> This series enables grub-xen to do the same as the hypervisor.
> 
> Tested with:
> - 32 bit domU (kernel not supporting unmapped initrd)
> - 32 bit domU (kernel supporting unmapped initrd)
> - 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
> - 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
> - 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)
> 
> Changes in V7:
> - patch 9: set initrd size once instead of in if and else clause as requested
>   by Daniel Kiper
> - patch 10: add GRUB_PACKED attribute to structure, drop alignments in 
> assembly
>   files as requested by Daniel Kiper
> 
> Changes in V6:
> - patch 9: rename grub_xen_alloc_final() as requested by Daniel Kiper
> 
> Changes in V5:
> - patch 2: set grub_errno to GRUB_ERR_NONE to avoid false error reports as
>   requested by Daniel Kiper
> - patch 9: let call grub_xen_alloc_final() all subfunctions unconditionally
>   and let them decide whether they need to do anything as suggested by
>   Daniel Kiper
> 
> Changes in V4:
> - split patch 1 into two patches as requested by Daniel Kiper
> - patch 9 (was 8): rename grub_xen_alloc_end() as requested by Daniel Kiper
> - patch 10 (was 9): align variables in assembly sources,
>   use separate structure define as requested by Daniel Kiper
> 
> Changes in V3:
> - added new patch 1 (free memory in case of error) as requested by
>   Daniel Kiper
> - added new patch 2 (avoid global variables) as requested by Daniel Kiper
> - added new patch 3 (use constants for elf notes) as requested by Daniel Kiper
> - added new patch 4 (sync with new Xen headers) in order to use constants
>   in assembly code
> - modified patch 9 (was patch 5) to use constants instead of numbers as
>   requested by Daniel Kiper
> 
> Changes in V2:
> - rebased patch 5 to current master
> 
> Juergen Gross (11):
>   xen: make xen loader callable multiple times
>   xen: avoid memleaks on error
>   xen: reduce number of global variables in xen loader
>   xen: add elfnote.h to avoid using numbers instead of constants
>   xen: synchronize xen header
>   xen: factor out p2m list allocation into separate function
>   xen: factor out allocation of special pages into separate function
>   xen: factor out allocation of page tables into separate function
>   xen: add capability to load initrd outside of initial mapping
>   xen: modify page table construction
>   xen: add capability to load p2m list outside of kernel mapping
> 
>  grub-core/lib/i386/xen/relocator.S   |  87 ++--
>  grub-core/lib/x86_64/xen/relocator.S | 134 +++---
>  grub-core/lib/xen/relocator.c|  28 +-
>  grub-core/loader/i386/xen.c  | 778 
> +++
>  grub-core/loader/i386/xen_fileXX.c   |  45 +-
>  include/grub/i386/memory.h   |   7 +
>  include/grub/xen/relocator.h |   6 +-
>  include/grub/xen_file.h  |   3 +
>  include/xen/arch-x86/xen-x86_32.h|  22 +-
>  include/xen/arch-x86/xen-x86_64.h|   8 +-
>  include/xen/elfnote.h| 281 +
>  include/xen/xen.h| 125 --
>  12 files changed, 1076 insertions(+), 448 deletions(-)
>  create mode 100644 include/xen/elfnote.h
> 


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-03-29 Thread Daniel Kiper
On Tue, Mar 29, 2016 at 11:52:52AM +0200, Juergen Gross wrote:
> On 03/03/16 10:38, Juergen Gross wrote:
> > 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 of each feature via
> > elf notes.
> >
> > This series enables grub-xen to do the same as the hypervisor.
> >
> > Tested with:
> > - 32 bit domU (kernel not supporting unmapped initrd)
> > - 32 bit domU (kernel supporting unmapped initrd)
> > - 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
> > - 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
> > - 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)
>
> There has been no reaction for these patches for nearly 4 weeks now.
> Neither has there been any response regarding my request to include
> it in 2.02.

It looks that it will be taken into 2.02. Please check this email:
http://lists.gnu.org/archive/html/grub-devel/2016-03/msg00281.html

Daniel

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-03-29 Thread Juergen Gross
On 03/03/16 10:38, Juergen Gross wrote:
> 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 of each feature via
> elf notes.
> 
> This series enables grub-xen to do the same as the hypervisor.
> 
> Tested with:
> - 32 bit domU (kernel not supporting unmapped initrd)
> - 32 bit domU (kernel supporting unmapped initrd)
> - 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
> - 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
> - 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)

There has been no reaction for these patches for nearly 4 weeks now.
Neither has there been any response regarding my request to include
it in 2.02.

I'd really appreciate some kind of comment.


Juergen

> 
> Changes in V7:
> - patch 9: set initrd size once instead of in if and else clause as requested
>   by Daniel Kiper
> - patch 10: add GRUB_PACKED attribute to structure, drop alignments in 
> assembly
>   files as requested by Daniel Kiper
> 
> Changes in V6:
> - patch 9: rename grub_xen_alloc_final() as requested by Daniel Kiper
> 
> Changes in V5:
> - patch 2: set grub_errno to GRUB_ERR_NONE to avoid false error reports as
>   requested by Daniel Kiper
> - patch 9: let call grub_xen_alloc_final() all subfunctions unconditionally
>   and let them decide whether they need to do anything as suggested by
>   Daniel Kiper
> 
> Changes in V4:
> - split patch 1 into two patches as requested by Daniel Kiper
> - patch 9 (was 8): rename grub_xen_alloc_end() as requested by Daniel Kiper
> - patch 10 (was 9): align variables in assembly sources,
>   use separate structure define as requested by Daniel Kiper
> 
> Changes in V3:
> - added new patch 1 (free memory in case of error) as requested by
>   Daniel Kiper
> - added new patch 2 (avoid global variables) as requested by Daniel Kiper
> - added new patch 3 (use constants for elf notes) as requested by Daniel Kiper
> - added new patch 4 (sync with new Xen headers) in order to use constants
>   in assembly code
> - modified patch 9 (was patch 5) to use constants instead of numbers as
>   requested by Daniel Kiper
> 
> Changes in V2:
> - rebased patch 5 to current master
> 
> Juergen Gross (11):
>   xen: make xen loader callable multiple times
>   xen: avoid memleaks on error
>   xen: reduce number of global variables in xen loader
>   xen: add elfnote.h to avoid using numbers instead of constants
>   xen: synchronize xen header
>   xen: factor out p2m list allocation into separate function
>   xen: factor out allocation of special pages into separate function
>   xen: factor out allocation of page tables into separate function
>   xen: add capability to load initrd outside of initial mapping
>   xen: modify page table construction
>   xen: add capability to load p2m list outside of kernel mapping
> 
>  grub-core/lib/i386/xen/relocator.S   |  87 ++--
>  grub-core/lib/x86_64/xen/relocator.S | 134 +++---
>  grub-core/lib/xen/relocator.c|  28 +-
>  grub-core/loader/i386/xen.c  | 778 
> +++
>  grub-core/loader/i386/xen_fileXX.c   |  45 +-
>  include/grub/i386/memory.h   |   7 +
>  include/grub/xen/relocator.h |   6 +-
>  include/grub/xen_file.h  |   3 +
>  include/xen/arch-x86/xen-x86_32.h|  22 +-
>  include/xen/arch-x86/xen-x86_64.h|   8 +-
>  include/xen/elfnote.h| 281 +
>  include/xen/xen.h| 125 --
>  12 files changed, 1076 insertions(+), 448 deletions(-)
>  create mode 100644 include/xen/elfnote.h
> 


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-03-03 Thread Daniel Kiper
On Thu, Mar 03, 2016 at 10:38:05AM +0100, Juergen Gross wrote:
> 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 of each feature via
> elf notes.
>
> This series enables grub-xen to do the same as the hypervisor.

Looks good to me. Thanks for doing the work!

I think that maybe it is worth trying to include this
in 2.02 release. If you wish please ask about that
in this http://lists.gnu.org/archive/html/grub-devel/2016-03/msg00047.html
thread. CC me if you do that.

Daniel

___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel


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

2016-03-03 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 of each feature via
elf notes.

This series enables grub-xen to do the same as the hypervisor.

Tested with:
- 32 bit domU (kernel not supporting unmapped initrd)
- 32 bit domU (kernel supporting unmapped initrd)
- 1 GB 64 bit domU (kernel supporting unmapped initrd, not p2m)
- 1 GB 64 bit domU (kernel supporting unmapped initrd and p2m)
- 900GB 64 bit domU (kernel supporting unmapped initrd and p2m)

Changes in V7:
- patch 9: set initrd size once instead of in if and else clause as requested
  by Daniel Kiper
- patch 10: add GRUB_PACKED attribute to structure, drop alignments in assembly
  files as requested by Daniel Kiper

Changes in V6:
- patch 9: rename grub_xen_alloc_final() as requested by Daniel Kiper

Changes in V5:
- patch 2: set grub_errno to GRUB_ERR_NONE to avoid false error reports as
  requested by Daniel Kiper
- patch 9: let call grub_xen_alloc_final() all subfunctions unconditionally
  and let them decide whether they need to do anything as suggested by
  Daniel Kiper

Changes in V4:
- split patch 1 into two patches as requested by Daniel Kiper
- patch 9 (was 8): rename grub_xen_alloc_end() as requested by Daniel Kiper
- patch 10 (was 9): align variables in assembly sources,
  use separate structure define as requested by Daniel Kiper

Changes in V3:
- added new patch 1 (free memory in case of error) as requested by
  Daniel Kiper
- added new patch 2 (avoid global variables) as requested by Daniel Kiper
- added new patch 3 (use constants for elf notes) as requested by Daniel Kiper
- added new patch 4 (sync with new Xen headers) in order to use constants
  in assembly code
- modified patch 9 (was patch 5) to use constants instead of numbers as
  requested by Daniel Kiper

Changes in V2:
- rebased patch 5 to current master

Juergen Gross (11):
  xen: make xen loader callable multiple times
  xen: avoid memleaks on error
  xen: reduce number of global variables in xen loader
  xen: add elfnote.h to avoid using numbers instead of constants
  xen: synchronize xen header
  xen: factor out p2m list allocation into separate function
  xen: factor out allocation of special pages into separate function
  xen: factor out allocation of page tables into separate function
  xen: add capability to load initrd outside of initial mapping
  xen: modify page table construction
  xen: add capability to load p2m list outside of kernel mapping

 grub-core/lib/i386/xen/relocator.S   |  87 ++--
 grub-core/lib/x86_64/xen/relocator.S | 134 +++---
 grub-core/lib/xen/relocator.c|  28 +-
 grub-core/loader/i386/xen.c  | 778 +++
 grub-core/loader/i386/xen_fileXX.c   |  45 +-
 include/grub/i386/memory.h   |   7 +
 include/grub/xen/relocator.h |   6 +-
 include/grub/xen_file.h  |   3 +
 include/xen/arch-x86/xen-x86_32.h|  22 +-
 include/xen/arch-x86/xen-x86_64.h|   8 +-
 include/xen/elfnote.h| 281 +
 include/xen/xen.h| 125 --
 12 files changed, 1076 insertions(+), 448 deletions(-)
 create mode 100644 include/xen/elfnote.h

-- 
2.6.2


___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel