Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | /* |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 2 | * File: include/asm-blackfin/mach-bf561/anomaly.h |
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 4 | * |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 5 | * Copyright (C) 2004-2007 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | /* This file shoule be up to date with: |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 10 | * - Revision L, Aug 10, 2006; ADSP-BF561 Silicon Anomaly List |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 11 | */ |
| 12 | |
| 13 | #ifndef _MACH_ANOMALY_H_ |
| 14 | #define _MACH_ANOMALY_H_ |
| 15 | |
| 16 | /* We do not support 0.1 or 0.4 silicon - sorry */ |
| 17 | #if (defined(CONFIG_BF_REV_0_1) || defined(CONFIG_BF_REV_0_2) || defined(CONFIG_BF_REV_0_4)) |
| 18 | #error Kernel will not work on BF561 Version 0.1, 0.2, or 0.4 |
| 19 | #endif |
| 20 | |
| 21 | /* Issues that are common to 0.5 and 0.3 silicon */ |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 22 | #if (defined(CONFIG_BF_REV_0_5) || defined(CONFIG_BF_REV_0_3)) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 23 | #define ANOMALY_05000074 /* A multi issue instruction with dsp32shiftimm in |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 24 | * slot1 and store of a P register in slot 2 is not |
| 25 | * supported */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 26 | #define ANOMALY_05000099 /* UART Line Status Register (UART_LSR) bits are not |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 27 | * updated at the same time. */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 28 | #define ANOMALY_05000120 /* Testset instructions restricted to 32-bit aligned |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 29 | * memory locations */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 30 | #define ANOMALY_05000122 /* Rx.H cannot be used to access 16-bit System MMR |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 31 | * registers */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 32 | #define ANOMALY_05000127 /* Signbits instruction not functional under certain |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 33 | * conditions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 34 | #define ANOMALY_05000149 /* IMDMA S1/D1 channel may stall */ |
| 35 | #define ANOMALY_05000166 /* PPI Data Lengths Between 8 and 16 do not zero out |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 36 | * upper bits */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 37 | #define ANOMALY_05000167 /* Turning Serial Ports on With External Frame Syncs */ |
| 38 | #define ANOMALY_05000180 /* PPI_DELAY not functional in PPI modes with 0 frame |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 39 | * syncs */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 40 | #define ANOMALY_05000182 /* IMDMA does not operate to full speed for 600MHz |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 41 | * and higher devices */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 42 | #define ANOMALY_05000187 /* IMDMA Corrupted Data after a Halt */ |
| 43 | #define ANOMALY_05000190 /* PPI not functional at core voltage < 1Volt */ |
| 44 | #define ANOMALY_05000208 /* VSTAT status bit in PLL_STAT register is not |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 45 | * functional */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 46 | #define ANOMALY_05000245 /* Spurious Hardware Error from an access in the |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 47 | * shadow of a conditional branch */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 48 | #define ANOMALY_05000257 /* Interrupt/Exception during short hardware loop |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 49 | * may cause bad instruction fetches */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 50 | #define ANOMALY_05000265 /* Sensitivity to noise with slow input edge rates on |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 51 | * external SPORT TX and RX clocks */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 52 | #define ANOMALY_05000267 /* IMDMA may corrupt data under certain conditions */ |
| 53 | #define ANOMALY_05000269 /* High I/O activity causes output voltage of internal |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 54 | * voltage regulator (VDDint) to increase */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 55 | #define ANOMALY_05000270 /* High I/O activity causes output voltage of internal |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 56 | * voltage regulator (VDDint) to decrease */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 57 | #define ANOMALY_05000272 /* Certain data cache write through modes fail for |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 58 | * VDDint <=0.9V */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 59 | #define ANOMALY_05000274 /* Data cache write back to external synchronous memory |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 60 | * may be lost */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 61 | #define ANOMALY_05000275 /* PPI Timing and sampling informaton updates */ |
| 62 | #define ANOMALY_05000312 /* Errors when SSYNC, CSYNC, or loads to LT, LB and LC |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 63 | * registers are interrupted */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 64 | |
| 65 | #endif /* (defined(CONFIG_BF_REV_0_5) || defined(CONFIG_BF_REV_0_3)) */ |
| 66 | |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 67 | #if (defined(CONFIG_BF_REV_0_5)) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 68 | #define ANOMALY_05000254 /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 69 | * mode with external clock */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 70 | #define ANOMALY_05000266 /* IMDMA destination IRQ status must be read prior to |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 71 | * using IMDMA */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 72 | #endif |
| 73 | |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 74 | #if (defined(CONFIG_BF_REV_0_3)) |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 75 | #define ANOMALY_05000156 /* Timers in PWM-Out Mode with PPI GP Receive (Input) |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 76 | * Mode with 0 Frame Syncs */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 77 | #define ANOMALY_05000168 /* SDRAM auto-refresh and subsequent Power Ups */ |
| 78 | #define ANOMALY_05000169 /* DATA CPLB page miss can result in lost write-through |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 79 | * cache data writes */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 80 | #define ANOMALY_05000171 /* Boot-ROM code modifies SICA_IWRx wakeup registers */ |
| 81 | #define ANOMALY_05000174 /* Cache Fill Buffer Data lost */ |
| 82 | #define ANOMALY_05000175 /* Overlapping Sequencer and Memory Stalls */ |
| 83 | #define ANOMALY_05000176 /* Multiplication of (-1) by (-1) followed by an |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 84 | * accumulator saturation */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 85 | #define ANOMALY_05000179 /* PPI_COUNT cannot be programmed to 0 in General |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 86 | * Purpose TX or RX modes */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 87 | #define ANOMALY_05000181 /* Disabling the PPI resets the PPI configuration |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 88 | * registers */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 89 | #define ANOMALY_05000184 /* Timer Pin limitations for PPI TX Modes with |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 90 | * External Frame Syncs */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 91 | #define ANOMALY_05000185 /* PPI TX Mode with 2 External Frame Syncs */ |
| 92 | #define ANOMALY_05000186 /* PPI packing with Data Length greater than 8 bits |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 93 | * (not a meaningful mode) */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 94 | #define ANOMALY_05000188 /* IMDMA Restrictions on Descriptor and Buffer |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 95 | * Placement in Memory */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 96 | #define ANOMALY_05000189 /* False Protection Exception */ |
| 97 | #define ANOMALY_05000193 /* False Flag Pin Interrupts on Edge Sensitive Inputs |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 98 | * when polarity setting is changed */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 99 | #define ANOMALY_05000194 /* Restarting SPORT in specific modes may cause data |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 100 | * corruption */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 101 | #define ANOMALY_05000198 /* Failing MMR accesses when stalled by preceding |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 102 | * memory read */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 103 | #define ANOMALY_05000199 /* DMA current address shows wrong value during carry |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 104 | * fix */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 105 | #define ANOMALY_05000200 /* SPORT TFS and DT are incorrectly driven during |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 106 | * inactive channels in certain conditions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 107 | #define ANOMALY_05000202 /* Possible infinite stall with specific dual-DAG |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 108 | * situation */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 109 | #define ANOMALY_05000204 /* Incorrect data read with write-through cache and |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 110 | * allocate cache lines on reads only mode */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 111 | #define ANOMALY_05000205 /* Specific sequence that can cause DMA error or DMA |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 112 | * stopping */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 113 | #define ANOMALY_05000207 /* Recovery from "brown-out" condition */ |
| 114 | #define ANOMALY_05000209 /* Speed-Path in computational unit affects certain |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 115 | * instructions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 116 | #define ANOMALY_05000215 /* UART TX Interrupt masked erroneously */ |
| 117 | #define ANOMALY_05000219 /* NMI event at boot time results in unpredictable |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 118 | * state */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 119 | #define ANOMALY_05000220 /* Data Corruption with Cached External Memory and |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 120 | * Non-Cached On-Chip L2 Memory */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 121 | #define ANOMALY_05000225 /* Incorrect pulse-width of UART start-bit */ |
| 122 | #define ANOMALY_05000227 /* Scratchpad memory bank reads may return incorrect |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 123 | * data */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 124 | #define ANOMALY_05000230 /* UART Receiver is less robust against Baudrate |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 125 | * Differences in certain Conditions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 126 | #define ANOMALY_05000231 /* UART STB bit incorrectly affects receiver setting */ |
| 127 | #define ANOMALY_05000232 /* SPORT data transmit lines are incorrectly driven in |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 128 | * multichannel mode */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 129 | #define ANOMALY_05000242 /* DF bit in PLL_CTL register does not respond to |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 130 | * hardware reset */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 131 | #define ANOMALY_05000244 /* If i-cache is on, CSYNC/SSYNC/IDLE around Change of |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 132 | * Control causes failures */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 133 | #define ANOMALY_05000248 /* TESTSET operation forces stall on the other core */ |
| 134 | #define ANOMALY_05000250 /* Incorrect Bit-Shift of Data Word in Multichannel |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 135 | * (TDM) mode in certain conditions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 136 | #define ANOMALY_05000251 /* Exception not generated for MMR accesses in |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 137 | * reserved region */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 138 | #define ANOMALY_05000253 /* Maximum external clock speed for Timers */ |
| 139 | #define ANOMALY_05000258 /* Instruction Cache is corrupted when bits 9 and 12 |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 140 | * of the ICPLB Data registers differ */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 141 | #define ANOMALY_05000260 /* ICPLB_STATUS MMR register may be corrupted */ |
| 142 | #define ANOMALY_05000261 /* DCPLB_FAULT_ADDR MMR register may be corrupted */ |
| 143 | #define ANOMALY_05000262 /* Stores to data cache may be lost */ |
| 144 | #define ANOMALY_05000263 /* Hardware loop corrupted when taking an ICPLB |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 145 | * exception */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 146 | #define ANOMALY_05000264 /* CSYNC/SSYNC/IDLE causes infinite stall in second |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 147 | * to last instruction in hardware loop */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 148 | #define ANOMALY_05000276 /* Timing requirements change for External Frame |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 149 | * Sync PPI Modes with non-zero PPI_DELAY */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 150 | #define ANOMALY_05000278 /* Disabling Peripherals with DMA running may cause |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 151 | * DMA system instability */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 152 | #define ANOMALY_05000281 /* False Hardware Error Exception when ISR context is |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 153 | * not restored */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 154 | #define ANOMALY_05000283 /* An MMR write is stalled indefinitely when killed |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 155 | * in a particular stage */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 156 | #define ANOMALY_05000287 /* A read will receive incorrect data under certain |
Mike Frysinger | 287050f | 2007-07-24 15:23:20 +0800 | [diff] [blame^] | 157 | * conditions */ |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 158 | #define ANOMALY_05000288 /* SPORTs may receive bad data if FIFOs fill up */ |
| 159 | #endif |
| 160 | |
| 161 | #endif /* _MACH_ANOMALY_H_ */ |