1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27# This makefile contains workaround defines to be shared
28# by Makefile.i86pc and the genunix Makefile.
29#
30
31#
32# SWAPGS May Fail To Read Correct GS Base
33#
34WORKAROUND_DEFS += -DOPTERON_ERRATUM_88
35
36#
37# Software Prefetches May Report A Page Fault
38#
39WORKAROUND_DEFS += -DOPTERON_ERRATUM_91
40
41#
42# RSM Auto-Halt Restart Returns To Incorrect RIP
43#
44WORKAROUND_DEFS += -DOPTERON_ERRATUM_93
45
46#
47# RET Instruction May Return To Incorrect EIP
48#
49WORKAROUND_DEFS += -DOPTERON_ERRATUM_95
50
51#
52# Compatibility Mode Branches Transfer to Illegal Address
53#
54WORKAROUND_DEFS += -DOPTERON_ERRATUM_100
55
56#
57# DRAM Scrubber May Cause Data Corruption When Using Node-Interleaved Memory
58#
59WORKAROUND_DEFS += -DOPTERON_ERRATUM_101
60
61#
62# CPUID Instruction May Return Incorrect Model Number in Some Processors
63#
64WORKAROUND_DEFS += -DOPTERON_ERRATUM_108
65
66#
67# Certain Reverse REP MOVS May Produce Unpredictable Behaviour
68#
69WORKAROUND_DEFS += -DOPTERON_ERRATUM_109
70
71#
72# Sequential Execution Across Non_Canonical Boundary Caused Processor Hang
73#
74WORKAROUND_DEFS += -DOPTERON_ERRATUM_121
75
76#
77# TLB Flush Filter May Cause Cohenrency Problem in Multiprocessor Systems
78#
79WORKAROUND_DEFS += -DOPTERON_ERRATUM_122
80
81#
82# Bypassed Reads May Cause Data Corruption of System Hang in Dual Core
83# Processors
84#
85# Solaris does not currently support PowerNow which is required for this
86# Erratum. Disable for now.
87#
88#WORKAROUND_DEFS += -DOPTERON_ERRATUM_123
89
90#
91# Multiprocessor Systems with Four or More Cores May Deadlock Waiting for a
92# Probe Response
93#
94WORKAROUND_DEFS += -DOPTERON_ERRATUM_131
95
96#
97# TSC may drift when C1-Clock ramping enabled
98#
99WORKAROUND_DEFS += -DOPTERON_WORKAROUND_6336786
100