1 /* SPDX-License-Identifier: GPL-2.0-only */
5 int intel_pentium3_early_probe(const struct targetdef
*target
, const struct cpuid_t
*id
) {
6 return ((VENDOR_INTEL
== id
->vendor
) &&
7 (0x6 == id
->family
) && (
13 const struct msrdef intel_pentium3_early_msrs
[] = {
14 {0x0, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_P5_MC_ADDR", "", {
17 {0x1, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_P5_MC_TYPE", "", {
20 {0x10, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_TIME_STAMP_COUNTER", "", {
23 {0x17, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_PLATFORM_ID", "", {
26 {0x1b, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_APIC_BASE", "", {
29 {0x2a, MSRTYPE_RDWR
, MSR2(0, 0), "EBL_CR_POWERON", "", {
32 {0x33, MSRTYPE_RDWR
, MSR2(0, 0), "TEST_CTL", "", {
35 {0x88, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_D0", "", {
38 {0x89, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_D1", "", {
41 {0x8a, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_D2", "", {
44 {0x8b, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_BIOS_SIGN_ID", "", {
47 {0xc1, MSRTYPE_RDWR
, MSR2(0, 0), "PERFCTR0", "", {
50 {0xc2, MSRTYPE_RDWR
, MSR2(0, 0), "PERFCTR1", "", {
53 {0xfe, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRRCAP", "", {
56 {0x116, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_ADDR", "", {
59 {0x118, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_DECC", "", {
62 {0x119, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_CTL", "", {
65 {0x11b, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_BUSY", "", {
68 {0x11e, MSRTYPE_RDWR
, MSR2(0, 0), "BBL_CR_CTL3", "", {
71 {0x174, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_SYSENTER_CS", "", {
74 {0x175, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_SYSENTER_ESP", "", {
77 {0x176, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_SYSENTER_EIP", "", {
80 {0x179, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MCG_CAP", "", {
83 {0x17a, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MCG_STATUS", "", {
86 {0x17b, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MCG_CTL", "", {
89 {0x186, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_PERF_EVNTSEL0", "", {
92 {0x187, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_PERF_EVNTSEL1", "", {
95 {0x1d9, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_DEBUGCTL", "", {
98 {0x1db, MSRTYPE_RDWR
, MSR2(0, 0), "MSR_LASTBRANCHFROMIP", "", {
101 {0x1dc, MSRTYPE_RDWR
, MSR2(0, 0), "MSR_LASTBRANCHTOIP", "", {
104 {0x1dd, MSRTYPE_RDWR
, MSR2(0, 0), "MSR_LASTINTFROMIP", "", {
107 {0x1de, MSRTYPE_RDWR
, MSR2(0, 0), "MSR_LASTINTTOIP", "", {
110 {0x1e0, MSRTYPE_RDWR
, MSR2(0, 0), "MSR_ROB_CR_BKUPTMPDR6", "", {
113 {0x200, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE0", "", {
116 {0x201, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK0", "", {
119 {0x202, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE1", "", {
122 {0x203, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK1", "", {
125 {0x204, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE2", "", {
128 {0x205, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK2", "", {
131 {0x206, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE3", "", {
134 {0x207, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK3", "", {
137 {0x208, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE4", "", {
140 {0x209, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK4", "", {
143 {0x20a, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE5", "", {
146 {0x20b, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK5", "", {
149 {0x20c, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE6", "", {
152 {0x20d, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK6", "", {
155 {0x20e, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSBASE7", "", {
158 {0x20f, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_PHYSMASK7", "", {
161 {0x250, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX64K_00000", "", {
164 {0x258, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX16K_80000", "", {
167 {0x259, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX16K_A0000", "", {
170 {0x268, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_C0000", "", {
173 {0x269, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_C8000", "", {
176 {0x26a, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_D0000", "", {
179 {0x26b, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_D8000", "", {
182 {0x26c, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_E0000", "", {
185 {0x26d, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_E8000", "", {
188 {0x26e, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_F0000", "", {
191 {0x26f, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_FIX4K_F8000", "", {
194 {0x2ff, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MTRR_DEF_TYPE", "", {
197 {0x400, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC0_CTL", "", {
200 {0x401, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC0_STATUS", "", {
203 {0x402, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC0_ADDR", "", {
206 {0x404, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC1_CTL", "", {
209 {0x405, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC1_STATUS", "", {
212 {0x406, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC1_ADDR", "", {
215 {0x408, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC2_CTL", "", {
218 {0x409, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC2_STATUS", "", {
221 {0x40a, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC2_ADDR", "", {
224 {0x40c, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC3_CTL", "", {
227 {0x40d, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC3_STATUS", "", {
230 {0x40e, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC3_ADDR", "", {
233 {0x410, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC4_CTL", "", {
236 {0x411, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC4_STATUS", "", {
239 {0x412, MSRTYPE_RDWR
, MSR2(0, 0), "IA32_MC4_ADDR", "", {