17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
57c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only
67c478bd9Sstevel@tonic-gate# (the "License").  You may not use this file except in compliance
77c478bd9Sstevel@tonic-gate# with the License.
87c478bd9Sstevel@tonic-gate#
97c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
117c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
127c478bd9Sstevel@tonic-gate# and limitations under the License.
137c478bd9Sstevel@tonic-gate#
147c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
157c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
167c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
177c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
187c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
197c478bd9Sstevel@tonic-gate#
207c478bd9Sstevel@tonic-gate# CDDL HEADER END
217c478bd9Sstevel@tonic-gate#
22*7aec1d6eScindi# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate# This makefile contains workaround defines to be shared
287c478bd9Sstevel@tonic-gate# by Makefile.i86pc and the genunix Makefile.
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate# SWAPGS May Fail To Read Correct GS Base
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_88
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate#
377c478bd9Sstevel@tonic-gate# Software Prefetches May Report A Page Fault
387c478bd9Sstevel@tonic-gate#
397c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_91
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate#
427c478bd9Sstevel@tonic-gate# RSM Auto-Halt Restart Returns To Incorrect RIP
437c478bd9Sstevel@tonic-gate#
447c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_93
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate#
477c478bd9Sstevel@tonic-gate# RET Instruction May Return To Incorrect EIP
487c478bd9Sstevel@tonic-gate#
497c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_95
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate#
527c478bd9Sstevel@tonic-gate# Compatibility Mode Branches Transfer to Illegal Address
537c478bd9Sstevel@tonic-gate#
547c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_100
557c478bd9Sstevel@tonic-gate
56*7aec1d6eScindi#
57*7aec1d6eScindi# DRAM Scrubber May Cause Data Corruption When Using Node-Interleaved Memory
58*7aec1d6eScindi#
59*7aec1d6eScindiWORKAROUND_DEFS += -DOPTERON_ERRATUM_101
60*7aec1d6eScindi
617c478bd9Sstevel@tonic-gate#
627c478bd9Sstevel@tonic-gate# CPUID Instruction May Return Incorrect Model Number in Some Processors
637c478bd9Sstevel@tonic-gate#
647c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_108
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gate#
677c478bd9Sstevel@tonic-gate# Certain Reverse REP MOVS May Produce Unpredictable Behaviour
687c478bd9Sstevel@tonic-gate#
697c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_109
707c478bd9Sstevel@tonic-gate
717c478bd9Sstevel@tonic-gate#
727c478bd9Sstevel@tonic-gate# Sequential Execution Across Non_Canonical Boundary Caused Processor Hang
737c478bd9Sstevel@tonic-gate#
747c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_121
757c478bd9Sstevel@tonic-gate
767c478bd9Sstevel@tonic-gate#
777c478bd9Sstevel@tonic-gate# TLB Flush Filter May Cause Cohenrency Problem in Multiprocessor Systems
787c478bd9Sstevel@tonic-gate#
797c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_122
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate#
827c478bd9Sstevel@tonic-gate# Bypassed Reads May Cause Data Corruption of System Hang in Dual Core
837c478bd9Sstevel@tonic-gate# Processors
847c478bd9Sstevel@tonic-gate#
85403c216aSkchow# Solaris does not currently support PowerNow which is required for this
86403c216aSkchow# Erratum. Disable for now.
87403c216aSkchow#
88403c216aSkchow#WORKAROUND_DEFS += -DOPTERON_ERRATUM_123
892201b277Skucharsk
902201b277Skucharsk#
912201b277Skucharsk# Multiprocessor Systems with Four or More Cores May Deadlock Waiting for a
922201b277Skucharsk# Probe Response
932201b277Skucharsk#
942201b277SkucharskWORKAROUND_DEFS += -DOPTERON_ERRATUM_131
95ef50d8c0Sesaxe
96ef50d8c0Sesaxe#
97ef50d8c0Sesaxe# TSC may drift when C1-Clock ramping enabled
98ef50d8c0Sesaxe#
99ef50d8c0SesaxeWORKAROUND_DEFS += -DOPTERON_WORKAROUND_6336786
100