[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <514B1981.2080107@zytor.com>
Date: Thu, 21 Mar 2013 07:30:25 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Ingo Molnar <mingo@...nel.org>
CC: Fenghua Yu <fenghua.yu@...el.com>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
penguin-kernel@...ove.SAKURA.ne.jp,
linux-kernel <linux-kernel@...r.kernel.org>, x86 <x86@...nel.org>
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@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists