lkml.org 
[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -tip] x86: do_boot_cpu - check if we have ESR register

    * Cyrill Gorcunov <gorcunov@gmail.com> wrote:

    > We should touch ESR register if only we have it.
    > The patch fixes the problem mentoined here
    >
    > http://lkml.org/lkml/2008/10/17/147
    >
    > Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
    > CC: Glauber Costa <glommer@gmail.com>

    > - apic_write(APIC_ESR, 0);
    > - apic_read(APIC_ESR);
    > + if (APIC_INTEGRATED(apic_version[phys_apicid])) {
    > + apic_write(APIC_ESR, 0);
    > + apic_read(APIC_ESR);
    > + }

    i'm wondering - is the server there really that old, that it has no
    integrated lapic? I.e. it's an i486 SMP box or so? Or perhaps some
    other, weird SMP box?

    Ingo


    \
     
     \ /
      Last update: 2008-10-22 16:19    [W:2.745 / U:0.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site