Re: [PATCH v1 01/12] x86/smp: Make start_secondary() and initial_pg_pmd visible globally

From: Boris Ostrovsky
Date: Mon Jan 25 2016 - 10:41:01 EST


On 01/25/2016 05:53 AM, David Vrabel wrote:
On 22/01/16 21:35, Boris Ostrovsky wrote:
Xen's HVMlite guests will want to use them.
Please explain in detail why they are needed.



Actually, start_secondary is not needed anymore, I removed its use at some point.

initial_pg_pmd (together with initial_page_table) are not really required --- I just used them for temporary page tables in the hvmlite startup code instead of allocating dedicated pages for that. Perhaps there is other (Xen-specific) area that I can use for that. Once we jump to startup_32 these tables are no longer in use.

-boris