Messages in this thread | | | Date | Thu, 21 Mar 2013 07:30:25 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86/microcode_intel_early.c: Get 32-bit physical address by __pa_nodebug() |
| |
On 03/21/2013 03:40 AM, Ingo Molnar wrote: > > * Fenghua Yu <fenghua.yu@intel.com> wrote: > >> + initrd_start_p = (unsigned long *)__pa_nodebug(&initrd_start); >> + initrd_start_addr = (unsigned long)__pa_nodebug(*initrd_start_p); > > We should probably use __pa_early() for that - aliased to __pa_nodebug(). > That would self-document the purpose. >
Well, it's not that it is early, it is that it actually can execute in linear mode (paging off).
-hpa
| |