Re: [Xen-devel] [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-11 Thread Daniel Kiper
On Thu, Jan 10, 2013 at 02:07:31PM +, David Vrabel wrote: > On 04/01/13 15:15, Daniel Kiper wrote: > > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: > > On 27.12.12 at 03:18, Daniel Kiper wrote: > >>> Some implementations (e.g. Xen PVOPS) could not use part of identity page

Re: [Xen-devel] [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-10 Thread David Vrabel
On 04/01/13 15:15, Daniel Kiper wrote: > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: > On 27.12.12 at 03:18, Daniel Kiper wrote: >>> Some implementations (e.g. Xen PVOPS) could not use part of identity page >>> table >>> to construct transition page table. It means that they

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-09 Thread Daniel Kiper
On Mon, Jan 07, 2013 at 01:05:10PM +, Jan Beulich wrote: > >>> On 07.01.13 at 13:52, Daniel Kiper wrote: > > On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: > >> >>> On 04.01.13 at 18:25, Daniel Kiper wrote: > >> > Right, so where is virtual mapping of control page established? >

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Jan Beulich
>>> On 07.01.13 at 13:52, Daniel Kiper wrote: > On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: >> >>> On 04.01.13 at 18:25, Daniel Kiper wrote: >> > Right, so where is virtual mapping of control page established? >> > I could not find relevant code in SLES kernel which does that. >>

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Daniel Kiper
On Mon, Jan 07, 2013 at 09:48:20AM +, Jan Beulich wrote: > >>> On 04.01.13 at 18:25, Daniel Kiper wrote: > > Right, so where is virtual mapping of control page established? > > I could not find relevant code in SLES kernel which does that. > > In the hypervisor (xen/arch/x86/machine_kexec.c:ma

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-07 Thread Jan Beulich
>>> On 04.01.13 at 18:25, Daniel Kiper wrote: > Right, so where is virtual mapping of control page established? > I could not find relevant code in SLES kernel which does that. In the hypervisor (xen/arch/x86/machine_kexec.c:machine_kexec_load()). xen/arch/x86/machine_kexec.c:machine_kexec() then

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 04:12:32PM +, Jan Beulich wrote: > >>> On 04.01.13 at 16:15, Daniel Kiper wrote: > > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: > >> >>> On 27.12.12 at 03:18, Daniel Kiper wrote: > >> > Some implementations (e.g. Xen PVOPS) could not use part of ident

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Jan Beulich
>>> On 04.01.13 at 16:15, Daniel Kiper wrote: > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: >> >>> On 27.12.12 at 03:18, Daniel Kiper wrote: >> > Some implementations (e.g. Xen PVOPS) could not use part of identity page > table >> > to construct transition page table. It means t

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: > >>> On 27.12.12 at 03:18, Daniel Kiper wrote: > > Some implementations (e.g. Xen PVOPS) could not use part of identity page > > table > > to construct transition page table. It means that they require separate > > PUDs, > > PMDs and

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Fri, Dec 28, 2012 at 01:59:27PM +0100, Borislav Petkov wrote: > On Thu, Dec 27, 2012 at 03:19:24PM -0800, Daniel Kiper wrote: > > > Hmm... this code is being redone at the moment... this might conflict. > > > > Is this available somewhere? May I have a look at it? > > http://marc.info/?l=linux-k

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-03 Thread Borislav Petkov
On Thu, Dec 27, 2012 at 03:19:24PM -0800, Daniel Kiper wrote: > > Hmm... this code is being redone at the moment... this might conflict. > > Is this available somewhere? May I have a look at it? http://marc.info/?l=linux-kernel&m=135581534620383 The for-x86-boot-v7 and -v8 branches. HTH. -- R

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-03 Thread Jan Beulich
>>> On 27.12.12 at 03:18, Daniel Kiper wrote: > Some implementations (e.g. Xen PVOPS) could not use part of identity page > table > to construct transition page table. It means that they require separate > PUDs, > PMDs and PTEs for virtual and physical (identity) mapping. To satisfy that > requi

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-27 Thread Daniel Kiper
> Hmm... this code is being redone at the moment... this might conflict. Is this available somewhere? May I have a look at it? Daniel PS I am on holiday until 02/01/2013 and I could not have access to my email box. Please be patient. At worst case I will send reply when I will be back a

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-26 Thread H. Peter Anvin
Hmm... this code is being redone at the moment... this might conflict. Daniel Kiper wrote: >Some implementations (e.g. Xen PVOPS) could not use part of identity >page table >to construct transition page table. It means that they require separate >PUDs, >PMDs and PTEs for virtual and physical (id

[PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2012-12-26 Thread Daniel Kiper
Some implementations (e.g. Xen PVOPS) could not use part of identity page table to construct transition page table. It means that they require separate PUDs, PMDs and PTEs for virtual and physical (identity) mapping. To satisfy that requirement add extra pointer to PGD, PUD, PMD and PTE and align e