Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1535104
| From | hpa@zytor.com |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup |
| Date | 2016-12-02 19:00 +0100 |
| Message-ID | <sK0hQ-6VB-7@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <syk2C-2qv-23@gated-at.bofh.it> <sJBCO-5Lz-25@gated-at.bofh.it> <sJSDD-26e-1@gated-at.bofh.it> <sJWHf-4R5-9@gated-at.bofh.it> <sJYzo-64D-49@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On December 2, 2016 8:08:55 AM PST, Ingo Molnar <mingo@kernel.org> wrote: > >* Boris Ostrovsky <boris.ostrovsky@oracle.com> wrote: > >> On 12/02/2016 04:45 AM, Ingo Molnar wrote: >> > * Boris Ostrovsky <boris.ostrovsky@oracle.com> wrote: >> > >> >> On 10/31/2016 08:33 AM, Boris Ostrovsky wrote: >> >>> >> >>> On 10/14/2016 02:05 PM, Boris Ostrovsky wrote: >> >>>> From: Matt Fleming <matt@codeblueprint.co.uk> >> >>>> >> >>>> The new Xen PVH entry point requires page tables to be setup by >the >> >>>> kernel since it is entered with paging disabled. >> >>>> >> >>>> Pull the common code out of head_32.S and into pgtable_32.S so >that >> >>>> setup_pgtable_32 can be invoked from both the new Xen entry >point and >> >>>> the existing startup_32 code. >> >>> >> >>> Ping to x86 maintainers. >> >> Pinging again. >> >> >> >> I will be re-sending this series at some point (it has been >delayed by >> >> some hypervisor changes that will be needed) but I'd like to hear >from >> >> x86 maintainers whether this will be acceptable before I post this >again. >> > Could this be done in C? >> >> I suppose it could be, I haven't thought about it. >> >> The goal here was to simply make existing startup code available to >others (Xen >> guest) without changes. Are you suggesting to build page tables in C >for the Xen >> guest only or to make startup_32 call new C code as well? > >My suggestion would be to transform the factored out assembly code to >C. > >Thanks, > > Ingo It is tricky to do so safely, because at this stage almost nothing of the C execution environment has been set up. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-12-01 16:40 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Ingo Molnar <mingo@kernel.org> - 2016-12-02 10:50 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-12-02 15:10 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Ingo Molnar <mingo@kernel.org> - 2016-12-02 17:10 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup hpa@zytor.com - 2016-12-02 19:00 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-12-02 20:50 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Ingo Molnar <mingo@kernel.org> - 2016-12-03 07:00 +0100
Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup hpa@zytor.com - 2016-12-03 07:50 +0100
csiph-web