[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130107125211.GB2927@host-192-168-1-59.local.net-space.pl>
Date: Mon, 7 Jan 2013 13:52:11 +0100
From: Daniel Kiper <daniel.kiper@...cle.com>
To: Jan Beulich <JBeulich@...e.com>
Cc: andrew.cooper3@...rix.com, x86@...nel.org, tglx@...utronix.de,
kexec@...ts.infradead.org,
virtualization@...ts.linux-foundation.org,
xen-devel <xen-devel@...ts.xen.org>, konrad.wilk@...cle.com,
maxim.uvarov@...cle.com, mingo@...hat.com, vgoyal@...hat.com,
linux-kernel@...r.kernel.org, ebiederm@...ssion.com, hpa@...or.com
Subject: Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition
page table PGD, PUD, PMD and PTE
On Mon, Jan 07, 2013 at 09:48:20AM +0000, Jan Beulich wrote:
> >>> On 04.01.13 at 18:25, Daniel Kiper <daniel.kiper@...cle.com> 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 simply uses
> image->page_list[1].
This (xen/arch/x86/machine_kexec.c:machine_kexec_load()) maps relevant
page (allocated earlier by dom0) in hypervisor fixmap area. However,
it does not make relevant mapping in transition page table which
leads to crash when %cr3 is switched from Xen page table to
transition page table.
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists