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
5ee88d2b9Skchow# Common Development and Distribution License (the "License").
6ee88d2b9Skchow# 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#
21*512cf780Skchow# Copyright 2008 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
508a40a695Sgavinm#
518a40a695Sgavinm# DRAM scrubber must not be enabled on a node with discontiguous cs range
528a40a695Sgavinm#
538a40a695SgavinmWORKAROUND_DEFS += -DOPTERON_ERRATUM_99
548a40a695Sgavinm
557c478bd9Sstevel@tonic-gate#
567c478bd9Sstevel@tonic-gate# Compatibility Mode Branches Transfer to Illegal Address
577c478bd9Sstevel@tonic-gate#
587c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_100
597c478bd9Sstevel@tonic-gate
607aec1d6eScindi#
617aec1d6eScindi# DRAM Scrubber May Cause Data Corruption When Using Node-Interleaved Memory
627aec1d6eScindi#
637aec1d6eScindiWORKAROUND_DEFS += -DOPTERON_ERRATUM_101
647aec1d6eScindi
657c478bd9Sstevel@tonic-gate#
667c478bd9Sstevel@tonic-gate# CPUID Instruction May Return Incorrect Model Number in Some Processors
677c478bd9Sstevel@tonic-gate#
687c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_108
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate#
717c478bd9Sstevel@tonic-gate# Certain Reverse REP MOVS May Produce Unpredictable Behaviour
727c478bd9Sstevel@tonic-gate#
737c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_109
747c478bd9Sstevel@tonic-gate
757c478bd9Sstevel@tonic-gate#
767c478bd9Sstevel@tonic-gate# Sequential Execution Across Non_Canonical Boundary Caused Processor Hang
777c478bd9Sstevel@tonic-gate#
787c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_121
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate#
817c478bd9Sstevel@tonic-gate# TLB Flush Filter May Cause Cohenrency Problem in Multiprocessor Systems
827c478bd9Sstevel@tonic-gate#
837c478bd9Sstevel@tonic-gateWORKAROUND_DEFS += -DOPTERON_ERRATUM_122
847c478bd9Sstevel@tonic-gate
857c478bd9Sstevel@tonic-gate#
867c478bd9Sstevel@tonic-gate# Bypassed Reads May Cause Data Corruption of System Hang in Dual Core
877c478bd9Sstevel@tonic-gate# Processors
887c478bd9Sstevel@tonic-gate#
89403c216aSkchow# Solaris does not currently support PowerNow which is required for this
90ae115bc7Smrj# Erratum. Check anyway.
91403c216aSkchow#
92ae115bc7SmrjWORKAROUND_DEFS += -DOPTERON_ERRATUM_123
932201b277Skucharsk
942201b277Skucharsk#
952201b277Skucharsk# Multiprocessor Systems with Four or More Cores May Deadlock Waiting for a
962201b277Skucharsk# Probe Response
972201b277Skucharsk#
982201b277SkucharskWORKAROUND_DEFS += -DOPTERON_ERRATUM_131
99ef50d8c0Sesaxe
100ef50d8c0Sesaxe#
101ef50d8c0Sesaxe# TSC may drift when C1-Clock ramping enabled
102ef50d8c0Sesaxe#
103ef50d8c0SesaxeWORKAROUND_DEFS += -DOPTERON_WORKAROUND_6336786
104ee88d2b9Skchow
105ee88d2b9Skchow#
106ee88d2b9Skchow# Mutex primitives don't work as expected
107ee88d2b9Skchow#
108ee88d2b9SkchowWORKAROUND_DEFS += -DOPTERON_WORKAROUND_6323525
109ee88d2b9Skchow
110bb86c342Sgavinm#
111bb86c342Sgavinm# Some Registered DIMMs incompatible with address parity feature
112bb86c342Sgavinm#
113bb86c342SgavinmWORKAROUND_DEFS += -DOPTERON_ERRATUM_172
114*512cf780Skchow
115*512cf780Skchow#
116*512cf780Skchow# L2 Eviction May Occur During Processor Operation To Set
117*512cf780Skchow# Accessed or Dirty Bit.
118*512cf780Skchow#
119*512cf780SkchowWORKAROUND_DEFS += -DOPTERON_ERRATUM_298
120