xref: /titanic_44/usr/src/uts/i86pc/Makefile.workarounds (revision 28167c24ba5be8b7c1d05e02d053f4a55cd21cc9)
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#
23# uts/i86pc/Makefile.workarounds
24#
25# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
26# Use is subject to license terms.
27#
28# ident	"%Z%%M%	%I%	%E% SMI"
29#
30# This makefile contains workaround defines to be shared
31# by Makefile.i86pc and the genunix Makefile.
32#
33
34#
35# SWAPGS May Fail To Read Correct GS Base
36#
37WORKAROUND_DEFS += -DOPTERON_ERRATUM_88
38
39#
40# Software Prefetches May Report A Page Fault
41#
42WORKAROUND_DEFS += -DOPTERON_ERRATUM_91
43
44#
45# RSM Auto-Halt Restart Returns To Incorrect RIP
46#
47WORKAROUND_DEFS += -DOPTERON_ERRATUM_93
48
49#
50# RET Instruction May Return To Incorrect EIP
51#
52WORKAROUND_DEFS += -DOPTERON_ERRATUM_95
53
54#
55# Compatibility Mode Branches Transfer to Illegal Address
56#
57WORKAROUND_DEFS += -DOPTERON_ERRATUM_100
58
59#
60# CPUID Instruction May Return Incorrect Model Number in Some Processors
61#
62WORKAROUND_DEFS += -DOPTERON_ERRATUM_108
63
64#
65# Certain Reverse REP MOVS May Produce Unpredictable Behaviour
66#
67WORKAROUND_DEFS += -DOPTERON_ERRATUM_109
68
69#
70# Sequential Execution Across Non_Canonical Boundary Caused Processor Hang
71#
72WORKAROUND_DEFS += -DOPTERON_ERRATUM_121
73
74#
75# TLB Flush Filter May Cause Cohenrency Problem in Multiprocessor Systems
76#
77WORKAROUND_DEFS += -DOPTERON_ERRATUM_122
78
79#
80# Bypassed Reads May Cause Data Corruption of System Hang in Dual Core
81# Processors
82#
83# Solaris does not currently support PowerNow which is required for this
84# Erratum. Disable for now.
85#
86#WORKAROUND_DEFS += -DOPTERON_ERRATUM_123
87
88#
89# Multiprocessor Systems with Four or More Cores May Deadlock Waiting for a
90# Probe Response
91#
92WORKAROUND_DEFS += -DOPTERON_ERRATUM_131
93
94#
95# TSC may drift when C1-Clock ramping enabled
96#
97WORKAROUND_DEFS += -DOPTERON_WORKAROUND_6336786
98