NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/52266: Double fault early in boot with AMD Am5x86 CPU



The following reply was made to PR port-i386/52266; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-i386/52266: Double fault early in boot with AMD Am5x86 CPU
Date: Tue, 11 Jul 2017 17:18:13 -0500 (CDT)

 Looking at the reports so far and the meaning of each of the various
 CPUID_* bits, it looks like:
 
   AMD Am5x86 (Elan SC520):  No MSR, No APIC
   NS Geode:  MSR, No APIC, rdmsr_safe() works
   TM Crusoe:  MSR, No APIC, rdmsr_safe() fails
 
 Are there any CPUs which implement APIC w/o MSR?  If not, then perhaps
 the condition could be made:
 
   if (!(ISSET(cpu_feature[0], APIC) &&
         ISSET(cpu_feature[0], CPUID_MSR)) ||
       rdmsr_safe(MSR_APICBASE, &msr) == EFAULT)
     return false;
 
 to satisfy the above cases?
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index