lkml.org 
[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH][2.5] APIC version
Date
From

Attached is the one-line patch, to get proper APIC version while
initializing through ACPI.

Thanks,
-Venkatesh

> -----Original Message-----
> From: Protasevich, Natalie [mailto:Natalie.Protasevich@UNISYS.com]
> Sent: Monday, January 13, 2003 12:22 PM
> To: Nakajima, Jun; Protasevich, Natalie; Martin J. Bligh;
> Pallipadi, Venkatesh
> Cc: William Lee Irwin III; Christoph Hellwig; James
> Cleverdon; Linux Kernel
> Subject: RE: APIC version
>
>
> Wow, this is pretty brilliant, Jun! In cases like this one
> always thinks
> "Why this didn't occur to me, this is so obvious..."
> (Sadly I noticed that I tend to go "round and about"
> sometimes instead of
> direct :(
> I hope this will get incorporated in the source tree.
>
> Thanks,
>
> --Natalie
>
>
> -----Original Message-----
> From: Nakajima, Jun [mailto:jun.nakajima@intel.com]
> Sent: Monday, January 13, 2003 1:13 PM
> To: Protasevich, Natalie; Martin J. Bligh; Pallipadi, Venkatesh
> Cc: William Lee Irwin III; Christoph Hellwig; James Cleverdon; Linux
> Kernel
> Subject: RE: APIC version
>
>
> The only thing you need to do is
> processor.mpc_type = MP_PROCESSOR;
> processor.mpc_apicid = id;
> - processor.mpc_apicver = 0x10; /* TBD: lapic version */
> + processor.mpc_apicver = GET_APIC_VERSION(apic_read(APIC_LVR));
> processor.mpc_cpuflag = (enabled ? CPU_ENABLED : 0);
> processor.mpc_cpuflag |= (boot_cpu ? CPU_BOOTPROCESSOR : 0);
> processor.mpc_cpufeature = (boot_cpu_data.x86 << 8) |
>
> Jun
>
> >
>
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.073 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site