31 #include <sys/x86_archext.h>
32 #include <sys/cmn_err.h>
33 #include <sys/systm.h>
34 #include <sys/sysmacros.h>
35 #include <sys/pghw.h>
36 #include <sys/cyclic.h>
37 #include <sys/sysevent.h>
38 #include <sys/smbios.h>
39 #include <sys/mca_x86.h>
40 #include <sys/mca_amd.h>
41 #include <sys/mc.h>
42 #include <sys/mc_amd.h>
43 #include <sys/psw.h>
44 #include <sys/ddi.h>
45 #include <sys/sunddi.h>
46 #include <sys/sdt.h>
47 #include <sys/fm/util.h>
48 #include <sys/fm/protocol.h>
49 #include <sys/fm/cpu/AMD.h>
50 #include <sys/fm/smb/fmsmb.h>
51 #include <sys/acpi/acpi.h>
52 #include <sys/acpi/acpi_pci.h>
53 #include <sys/acpica.h>
54 #include <sys/cpu_module.h>
55
56 #include "ao.h"
57 #include "ao_mca_disp.h"
58
59 #define AO_F_REVS_FG (X86_CHIPREV_AMD_F_REV_F | X86_CHIPREV_AMD_F_REV_G)
60
61 int ao_mca_smi_disable = 1; /* attempt to disable SMI polling */
62
63 extern int x86gentopo_legacy; /* x86 generic topology support */
64
65 struct ao_ctl_init {
66 uint32_t ctl_revmask; /* rev(s) to which this applies */
67 uint64_t ctl_bits; /* mca ctl reg bitmask to set */
68 };
69
70 /*
71 * Additional NB MCA ctl initialization for revs F and G
72 */
|
31 #include <sys/x86_archext.h>
32 #include <sys/cmn_err.h>
33 #include <sys/systm.h>
34 #include <sys/sysmacros.h>
35 #include <sys/pghw.h>
36 #include <sys/cyclic.h>
37 #include <sys/sysevent.h>
38 #include <sys/smbios.h>
39 #include <sys/mca_x86.h>
40 #include <sys/mca_amd.h>
41 #include <sys/mc.h>
42 #include <sys/mc_amd.h>
43 #include <sys/psw.h>
44 #include <sys/ddi.h>
45 #include <sys/sunddi.h>
46 #include <sys/sdt.h>
47 #include <sys/fm/util.h>
48 #include <sys/fm/protocol.h>
49 #include <sys/fm/cpu/AMD.h>
50 #include <sys/fm/smb/fmsmb.h>
51 #include <acpica/include/acpi.h>
52 #include <sys/acpica.h>
53 #include <sys/cpu_module.h>
54
55 #include "ao.h"
56 #include "ao_mca_disp.h"
57
58 #define AO_F_REVS_FG (X86_CHIPREV_AMD_F_REV_F | X86_CHIPREV_AMD_F_REV_G)
59
60 int ao_mca_smi_disable = 1; /* attempt to disable SMI polling */
61
62 extern int x86gentopo_legacy; /* x86 generic topology support */
63
64 struct ao_ctl_init {
65 uint32_t ctl_revmask; /* rev(s) to which this applies */
66 uint64_t ctl_bits; /* mca ctl reg bitmask to set */
67 };
68
69 /*
70 * Additional NB MCA ctl initialization for revs F and G
71 */
|