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