Messages in this thread | | | Date | Fri, 09 Aug 2013 17:41:14 +0800 | From | Tang Chen <> | Subject | Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier. |
| |
On 08/09/2013 12:29 AM, Yinghai Lu wrote: ...... > > Please check if you can reuse first half of my patchset, so find and copy > override table earlier. the copied acpi tables could be near kernel code range. >
I don't think we need to do the finding step at that early time, in head64.c stage.
Before pagetables are setup, we can use early_ioremap() to map the memory we want to access. We don't need to use phys addr. We can do it in setup_arch(), which has nothing to do with 32bit or 64bit.
> Move finding in head64.c stage could help xen/dom0 a bit. > as Konrad is working on patchset with acpi override in xen hypervisor. > We can avoid override acpi table two times. Esp xen like to change > DMAR to XMAR.
Would you please give some more info about this, and explain why finding override tables in head64.c stage is helpful for xen ?
Thanks.
| |