|
@@ -303,7 +303,10 @@ static inline void set_vbar(unsigned long val)
|
|
*/
|
|
*/
|
|
static inline bool security_extensions_enabled(void)
|
|
static inline bool security_extensions_enabled(void)
|
|
{
|
|
{
|
|
- return !!cpuid_feature_extract(CPUID_EXT_PFR1, 4);
|
|
|
|
|
|
+ /* Check CPUID Identification Scheme before ID_PFR1 read */
|
|
|
|
+ if ((read_cpuid_id() & 0x000f0000) == 0x000f0000)
|
|
|
|
+ return !!cpuid_feature_extract(CPUID_EXT_PFR1, 4);
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static unsigned long __init setup_vectors_base(void)
|
|
static unsigned long __init setup_vectors_base(void)
|