From: Boris Ostrovsky <boris.ostrovsky@oracle.com>
To: hpa@zytor.com, Ingo Molnar <mingo@kernel.org>
Cc: JGross@suse.com, Matt Fleming <matt@codeblueprint.co.uk>,
x86@kernel.org, linux-kernel@vger.kernel.org,
Ingo Molnar <mingo@redhat.com>,
david.vrabel@citrix.com, xen-devel@lists.xenproject.org,
Thomas Gleixner <tglx@linutronix.de>,
roger.pau@citrix.com
Subject: Re: [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup
Date: Fri, 2 Dec 2016 14:49:01 -0500 [thread overview]
Message-ID: <d99cbcc0-8e45-680b-d13f-50ac749f6294@oracle.com> (raw)
In-Reply-To: <3F5DA9BC-52BF-4025-AAB9-24C943BDB711@zytor.com>
On 12/02/2016 12:52 PM, hpa@zytor.com wrote:
> 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.
I can still give it a try but I'd rather not tie it to this (Xen PVH)
patch series. Which would leave me with two options: either keep what
this patch does, leaving it as assembly (requires your ack), or have Xen
code build the pages on its own.
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-12-02 19:46 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1476468318-24422-1-git-send-email-boris.ostrovsky@oracle.com>
2016-10-14 18:05 ` [PATCH 1/8] xen/x86: Remove PVH support Boris Ostrovsky
2016-10-14 18:05 ` [PATCH 2/8] x86/head: Refactor 32-bit pgtable setup Boris Ostrovsky
2016-10-14 18:31 ` hpa
[not found] ` <119777C5-564B-4171-9452-3E216BC7442E@zytor.com>
2016-10-14 18:44 ` Boris Ostrovsky
2016-10-14 19:04 ` hpa
[not found] ` <CFB7B4F4-CE78-4129-BB4E-A599384E7A42@zytor.com>
2016-10-14 19:18 ` Boris Ostrovsky
2016-10-31 12:33 ` Boris Ostrovsky
2016-12-01 15:33 ` Boris Ostrovsky
2016-12-02 9:45 ` Ingo Molnar
[not found] ` <20161202094554.GA28775@gmail.com>
2016-12-02 14:04 ` Boris Ostrovsky
2016-12-02 16:08 ` Ingo Molnar
[not found] ` <20161202160855.GA3307@gmail.com>
2016-12-02 17:52 ` hpa
[not found] ` <3F5DA9BC-52BF-4025-AAB9-24C943BDB711@zytor.com>
2016-12-02 19:49 ` Boris Ostrovsky [this message]
2016-12-03 5:49 ` Ingo Molnar
[not found] ` <20161203054950.GB5701@gmail.com>
2016-12-03 6:36 ` hpa
2016-10-14 18:05 ` [PATCH 3/8] xen/pvh: Import PVH-related Xen public interfaces Boris Ostrovsky
2016-10-14 18:05 ` [PATCH 4/8] xen/pvh: Bootstrap PVH guest Boris Ostrovsky
2016-10-14 18:05 ` [PATCH 5/8] xen/pvh: Prevent PVH guests from using PIC, RTC and IOAPIC Boris Ostrovsky
2016-10-14 19:16 ` Konrad Rzeszutek Wilk
2016-10-14 19:37 ` Boris Ostrovsky
2016-10-26 10:42 ` Roger Pau Monné
[not found] ` <20161026104205.vjemyddm6bus3kem@mac>
2016-10-26 14:50 ` Boris Ostrovsky
2016-10-26 15:18 ` Roger Pau Monné
[not found] ` <20161026151825.zqt4fpirqurllsii@mac>
2016-10-26 16:06 ` Boris Ostrovsky
2016-10-14 18:05 ` [PATCH 6/8] xen/pvh: Initialize grant table for PVH guests Boris Ostrovsky
2016-10-14 19:19 ` Konrad Rzeszutek Wilk
[not found] ` <20161014191923.GD16777@localhost.localdomain>
2016-10-14 19:43 ` Boris Ostrovsky
[not found] ` <d04cd053-c452-e8ef-c111-64b4bdb5aa3b@oracle.com>
2016-10-14 19:51 ` Konrad Rzeszutek Wilk
[not found] ` <20161014195134.GA22782@char.us.oracle.com>
2016-10-14 20:02 ` Boris Ostrovsky
[not found] ` <e4ca517d-aa29-68d4-c23a-bab1ca4bf662@oracle.com>
2016-10-18 16:08 ` Juergen Gross
[not found] ` <ac898136-bc46-a2d4-b276-9c188609f339@suse.com>
2016-10-18 16:40 ` Boris Ostrovsky
[not found] ` <467c1dd5-80a7-4079-ad49-69883fb9f076@oracle.com>
2016-10-19 5:47 ` Juergen Gross
2016-10-14 18:05 ` [PATCH 7/8] xen/pvh: PVH guests always have PV devices Boris Ostrovsky
2016-10-14 19:17 ` Konrad Rzeszutek Wilk
2016-10-18 15:54 ` Juergen Gross
2016-10-14 18:05 ` [PATCH 8/8] xen/pvh: Enable CPU hotplug Boris Ostrovsky
[not found] ` <1476468318-24422-2-git-send-email-boris.ostrovsky@oracle.com>
2016-10-14 18:31 ` [PATCH 1/8] xen/x86: Remove PVH support Konrad Rzeszutek Wilk
2016-10-18 13:46 ` Juergen Gross
[not found] ` <047c44cc-a932-024f-e069-d8620f8c3e8e@suse.com>
2016-10-18 14:45 ` Boris Ostrovsky
2016-10-18 15:33 ` Juergen Gross
[not found] ` <8278b0a6-d114-9775-eb88-6292a9a2ab34@suse.com>
2016-10-18 15:42 ` Boris Ostrovsky
[not found] ` <1476468318-24422-4-git-send-email-boris.ostrovsky@oracle.com>
2016-10-14 18:34 ` [PATCH 3/8] xen/pvh: Import PVH-related Xen public interfaces Konrad Rzeszutek Wilk
2016-10-21 10:58 ` Juergen Gross
[not found] ` <1476468318-24422-9-git-send-email-boris.ostrovsky@oracle.com>
2016-10-14 18:41 ` [PATCH 8/8] xen/pvh: Enable CPU hotplug Andrew Cooper
[not found] ` <c5da6af8-ddfa-507d-e221-158aa34e2110@citrix.com>
2016-10-14 19:01 ` Boris Ostrovsky
2016-10-27 14:25 ` Boris Ostrovsky
2016-10-27 15:00 ` Andrew Cooper
[not found] ` <9e8a05ce-851f-ed9e-c5af-ad9cc84876a1@citrix.com>
2016-10-27 16:23 ` Boris Ostrovsky
[not found] ` <1476468318-24422-5-git-send-email-boris.ostrovsky@oracle.com>
2016-10-14 18:38 ` [PATCH 4/8] xen/pvh: Bootstrap PVH guest Andrew Cooper
[not found] ` <81d91a68-baf6-06b1-3352-73bea05a2738@citrix.com>
2016-10-14 18:55 ` Boris Ostrovsky
[not found] ` <87039f16-ab7d-d091-a28a-2e2a1a5b81fe@oracle.com>
2016-10-14 19:12 ` Andrew Cooper
2016-10-14 19:14 ` Konrad Rzeszutek Wilk
[not found] ` <20161014191403.GA16777@localhost.localdomain>
2016-10-14 19:34 ` Boris Ostrovsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d99cbcc0-8e45-680b-d13f-50ac749f6294@oracle.com \
--to=boris.ostrovsky@oracle.com \
--cc=JGross@suse.com \
--cc=david.vrabel@citrix.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@codeblueprint.co.uk \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=roger.pau@citrix.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).