lkml.org 
[lkml]   [2013]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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




\
 
 \ /
  Last update: 2013-03-21 16:01    [W:0.068 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site