Makefile.workarounds revision 5e54b56d6254caa06251211530e584534f39fba3
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
7a42357217528037bdfedcb17eeebfe96ae4266aAutomatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and limitations under the License.
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# If applicable, add the following below this CDDL HEADER, with the
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# This makefile contains workaround defines to be shared
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# by Makefile.i86pc and the genunix Makefile.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# SWAPGS May Fail To Read Correct GS Base
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_88
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# Software Prefetches May Report A Page Fault
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntWORKAROUND_DEFS += -DOPTERON_ERRATUM_91
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# RSM Auto-Halt Restart Returns To Incorrect RIP
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_93
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# RET Instruction May Return To Incorrect EIP
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntWORKAROUND_DEFS += -DOPTERON_ERRATUM_95
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# DRAM scrubber must not be enabled on a node with discontiguous cs range
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_99
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Compatibility Mode Branches Transfer to Illegal Address
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_100
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# DRAM Scrubber May Cause Data Corruption When Using Node-Interleaved Memory
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_101
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater# CPUID Instruction May Return Incorrect Model Number in Some Processors
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_108
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Certain Reverse REP MOVS May Produce Unpredictable Behaviour
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_109
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic Updater# Sequential Execution Across Non_Canonical Boundary Caused Processor Hang
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_121
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# TLB Flush Filter May Cause Cohenrency Problem in Multiprocessor Systems
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_122
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Bypassed Reads May Cause Data Corruption of System Hang in Dual Core
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# Solaris does not currently support PowerNow which is required for this
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater# Erratum. Check anyway.
11af78f7dc35741bdab68dbab11b03daab005b28Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_123
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Multiprocessor Systems with Four or More Cores May Deadlock Waiting for a
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# Probe Response
2a31bd531072824ef252c18303859d6af7451b00Francis DupontWORKAROUND_DEFS += -DOPTERON_ERRATUM_131
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater# TSC may drift when C1-Clock ramping enabled
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark AndrewsWORKAROUND_DEFS += -DOPTERON_WORKAROUND_6336786
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Mutex primitives don't work as expected
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic UpdaterWORKAROUND_DEFS += -DOPTERON_WORKAROUND_6323525
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Some Registered DIMMs incompatible with address parity feature
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_172
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater# L2 Eviction May Occur During Processor Operation To Set
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Accessed or Dirty Bit.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_298
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Processor May Incorrectly Update Stack Pointer
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterWORKAROUND_DEFS += -DOPTERON_ERRATUM_721