Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Tuesday, June 02, 2015 2:30 PM > > >>> On 02.06.15 at 02:39, wrote: > >> From: Jan Beulich [mailto:jbeul...@suse.com] > >> Sent: Monday, June 01, 2015 5:17 PM > >> >>> On 01.06.15 at 08:30, wrote: > >> >> From: elena.ufimts...@oracle.com >

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Jan Beulich
>>> On 02.06.15 at 02:39, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: Monday, June 01, 2015 5:17 PM >> >>> On 01.06.15 at 08:30, wrote: >> >> From: elena.ufimts...@oracle.com >> >> --- a/docs/misc/xen-command-line.markdown >> >> +++ b/docs/misc/xen-command-line.markdown >>

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Monday, June 01, 2015 5:17 PM > > >>> On 01.06.15 at 08:30, wrote: > >> From: elena.ufimts...@oracle.com > [mailto:elena.ufimts...@oracle.com] > >> --- a/docs/misc/xen-command-line.markdown > >> +++ b/docs/misc/xen-command-line.markdown > >>

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Jan Beulich
>>> On 01.06.15 at 08:30, wrote: >> From: elena.ufimts...@oracle.com [mailto:elena.ufimts...@oracle.com] >> --- a/docs/misc/xen-command-line.markdown >> +++ b/docs/misc/xen-command-line.markdown >> @@ -1185,6 +1185,19 @@ Specify the host reboot method. >> 'efi' instructs Xen to reboot using the

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Jan Beulich
>>> On 29.05.15 at 23:38, wrote: > --- a/xen/drivers/passthrough/vtd/dmar.c > +++ b/xen/drivers/passthrough/vtd/dmar.c > @@ -866,6 +866,106 @@ out: > return ret; > } > > +#define MAX_EXTRA_RMRR_PAGES 16 > +#define MAX_EXTRA_RMRR 10 > + > +/* RMRR units derived from command line rmrr option

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-06-01 Thread Jan Beulich
>>> On 01.06.15 at 08:30, wrote: >> From: elena.ufimts...@oracle.com [mailto:elena.ufimts...@oracle.com] >> +rmrrn = xzalloc(struct acpi_rmrr_unit); >> +if ( !rmrrn ) >> +return; >> + >> +rmrrn->scope.devices = xmalloc_array(u16, >> +

Re: [Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-05-31 Thread Tian, Kevin
> From: elena.ufimts...@oracle.com [mailto:elena.ufimts...@oracle.com] > Sent: Saturday, May 30, 2015 5:39 AM > > From: Elena Ufimtseva > > On some platforms RMRR regions may be not specified > in ACPI and thus will not be mapped 1:1 in dom0. This > causes IO Page Faults and prevents dom0 from b

[Xen-devel] [PATCH 4/4] iommu: add rmrr Xen command line option for extra rmrrs

2015-05-29 Thread elena . ufimtseva
From: Elena Ufimtseva On some platforms RMRR regions may be not specified in ACPI and thus will not be mapped 1:1 in dom0. This causes IO Page Faults and prevents dom0 from booting in PVH mode. New Xen command line option rmrr allows to specify such devices and memory regions. These regions are a