anomaly.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. /*
  2. * File: include/asm-blackfin/mach-bf561/anomaly.h
  3. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  4. *
  5. * Copyright (C) 2004-2009 Analog Devices Inc.
  6. * Licensed under the GPL-2 or later.
  7. */
  8. /* This file should be up to date with:
  9. * - Revision Q, 11/07/2008; ADSP-BF561 Blackfin Processor Anomaly List
  10. */
  11. #ifndef _MACH_ANOMALY_H_
  12. #define _MACH_ANOMALY_H_
  13. /* We do not support 0.1, 0.2, or 0.4 silicon - sorry */
  14. #if __SILICON_REVISION__ < 3 || __SILICON_REVISION__ == 4
  15. # error will not work on BF561 silicon version 0.0, 0.1, 0.2, or 0.4
  16. #endif
  17. /* Multi-issue instruction with dsp32shiftimm in slot1 and P-reg store in slot 2 not supported */
  18. #define ANOMALY_05000074 (1)
  19. /* UART Line Status Register (UART_LSR) Bits Are Not Updated at the Same Time */
  20. #define ANOMALY_05000099 (__SILICON_REVISION__ < 5)
  21. /* Trace Buffers may record discontinuities into emulation mode and/or exception, NMI, reset handlers */
  22. #define ANOMALY_05000116 (__SILICON_REVISION__ < 3)
  23. /* Testset instructions restricted to 32-bit aligned memory locations */
  24. #define ANOMALY_05000120 (1)
  25. /* Rx.H Cannot Be Used to Access 16-bit System MMR Registers */
  26. #define ANOMALY_05000122 (1)
  27. /* Erroneous exception when enabling cache */
  28. #define ANOMALY_05000125 (__SILICON_REVISION__ < 3)
  29. /* Signbits instruction not functional under certain conditions */
  30. #define ANOMALY_05000127 (1)
  31. /* Two bits in the Watchpoint Status Register (WPSTAT) are swapped */
  32. #define ANOMALY_05000134 (__SILICON_REVISION__ < 3)
  33. /* Enable wires from the Data Watchpoint Address Control Register (WPDACTL) are swapped */
  34. #define ANOMALY_05000135 (__SILICON_REVISION__ < 3)
  35. /* Stall in multi-unit DMA operations */
  36. #define ANOMALY_05000136 (__SILICON_REVISION__ < 3)
  37. /* Allowing the SPORT RX FIFO to fill will cause an overflow */
  38. #define ANOMALY_05000140 (__SILICON_REVISION__ < 3)
  39. /* An Infinite Stall occurs with a particular sequence of consecutive dual dag events */
  40. #define ANOMALY_05000141 (__SILICON_REVISION__ < 3)
  41. /* Interrupts may be lost when a programmable input flag is configured to be edge sensitive */
  42. #define ANOMALY_05000142 (__SILICON_REVISION__ < 3)
  43. /* DMA and TESTSET conflict when both are accessing external memory */
  44. #define ANOMALY_05000144 (__SILICON_REVISION__ < 3)
  45. /* In PWM_OUT mode, you must enable the PPI block to generate a waveform from PPI_CLK */
  46. #define ANOMALY_05000145 (__SILICON_REVISION__ < 3)
  47. /* MDMA may lose the first few words of a descriptor chain */
  48. #define ANOMALY_05000146 (__SILICON_REVISION__ < 3)
  49. /* Source MDMA descriptor may stop with a DMA Error near beginning of descriptor fetch */
  50. #define ANOMALY_05000147 (__SILICON_REVISION__ < 3)
  51. /* IMDMA S1/D1 channel may stall */
  52. #define ANOMALY_05000149 (1)
  53. /* DMA engine may lose data due to incorrect handshaking */
  54. #define ANOMALY_05000150 (__SILICON_REVISION__ < 3)
  55. /* DMA stalls when all three controllers read data from the same source */
  56. #define ANOMALY_05000151 (__SILICON_REVISION__ < 3)
  57. /* Execution stall when executing in L2 and doing external accesses */
  58. #define ANOMALY_05000152 (__SILICON_REVISION__ < 3)
  59. /* Frame Delay in SPORT Multichannel Mode */
  60. #define ANOMALY_05000153 (__SILICON_REVISION__ < 3)
  61. /* SPORT TFS signal stays active in multichannel mode outside of valid channels */
  62. #define ANOMALY_05000154 (__SILICON_REVISION__ < 3)
  63. /* Timers in PWM-Out Mode with PPI GP Receive (Input) Mode with 0 Frame Syncs */
  64. #define ANOMALY_05000156 (__SILICON_REVISION__ < 4)
  65. /* Killed 32-bit MMR write leads to next system MMR access thinking it should be 32-bit */
  66. #define ANOMALY_05000157 (__SILICON_REVISION__ < 3)
  67. /* DMA Lock-up at CCLK to SCLK ratios of 4:1, 2:1, or 1:1 */
  68. #define ANOMALY_05000159 (__SILICON_REVISION__ < 3)
  69. /* A read from external memory may return a wrong value with data cache enabled */
  70. #define ANOMALY_05000160 (__SILICON_REVISION__ < 3)
  71. /* Data Cache Fill data can be corrupted after/during Instruction DMA if certain core stalls exist */
  72. #define ANOMALY_05000161 (__SILICON_REVISION__ < 3)
  73. /* DMEM_CONTROL<12> is not set on Reset */
  74. #define ANOMALY_05000162 (__SILICON_REVISION__ < 3)
  75. /* SPORT transmit data is not gated by external frame sync in certain conditions */
  76. #define ANOMALY_05000163 (__SILICON_REVISION__ < 3)
  77. /* PPI Data Lengths Between 8 and 16 Do Not Zero Out Upper Bits */
  78. #define ANOMALY_05000166 (1)
  79. /* Turning SPORTs on while External Frame Sync Is Active May Corrupt Data */
  80. #define ANOMALY_05000167 (1)
  81. /* SDRAM auto-refresh and subsequent Power Ups */
  82. #define ANOMALY_05000168 (__SILICON_REVISION__ < 5)
  83. /* DATA CPLB page miss can result in lost write-through cache data writes */
  84. #define ANOMALY_05000169 (__SILICON_REVISION__ < 5)
  85. /* Boot-ROM code modifies SICA_IWRx wakeup registers */
  86. #define ANOMALY_05000171 (__SILICON_REVISION__ < 5)
  87. /* DSPID register values incorrect */
  88. #define ANOMALY_05000172 (__SILICON_REVISION__ < 3)
  89. /* DMA vs Core accesses to external memory */
  90. #define ANOMALY_05000173 (__SILICON_REVISION__ < 3)
  91. /* Cache Fill Buffer Data lost */
  92. #define ANOMALY_05000174 (__SILICON_REVISION__ < 5)
  93. /* Overlapping Sequencer and Memory Stalls */
  94. #define ANOMALY_05000175 (__SILICON_REVISION__ < 5)
  95. /* Multiplication of (-1) by (-1) followed by an accumulator saturation */
  96. #define ANOMALY_05000176 (__SILICON_REVISION__ < 5)
  97. /* PPI_COUNT Cannot Be Programmed to 0 in General Purpose TX or RX Modes */
  98. #define ANOMALY_05000179 (__SILICON_REVISION__ < 5)
  99. /* PPI_DELAY Not Functional in PPI Modes with 0 Frame Syncs */
  100. #define ANOMALY_05000180 (1)
  101. /* Disabling the PPI resets the PPI configuration registers */
  102. #define ANOMALY_05000181 (__SILICON_REVISION__ < 5)
  103. /* IMDMA does not operate to full speed for 600MHz and higher devices */
  104. #define ANOMALY_05000182 (1)
  105. /* Timer Pin limitations for PPI TX Modes with External Frame Syncs */
  106. #define ANOMALY_05000184 (__SILICON_REVISION__ < 5)
  107. /* PPI TX Mode with 2 External Frame Syncs */
  108. #define ANOMALY_05000185 (__SILICON_REVISION__ < 5)
  109. /* PPI packing with Data Length greater than 8 bits (not a meaningful mode) */
  110. #define ANOMALY_05000186 (__SILICON_REVISION__ < 5)
  111. /* IMDMA Corrupted Data after a Halt */
  112. #define ANOMALY_05000187 (1)
  113. /* IMDMA Restrictions on Descriptor and Buffer Placement in Memory */
  114. #define ANOMALY_05000188 (__SILICON_REVISION__ < 5)
  115. /* False Protection Exceptions */
  116. #define ANOMALY_05000189 (__SILICON_REVISION__ < 5)
  117. /* PPI not functional at core voltage < 1Volt */
  118. #define ANOMALY_05000190 (1)
  119. /* PPI does not invert the Driving PPICLK edge in Transmit Modes */
  120. #define ANOMALY_05000191 (__SILICON_REVISION__ < 3)
  121. /* False I/O Pin Interrupts on Edge-Sensitive Inputs When Polarity Setting Is Changed */
  122. #define ANOMALY_05000193 (__SILICON_REVISION__ < 5)
  123. /* Restarting SPORT in Specific Modes May Cause Data Corruption */
  124. #define ANOMALY_05000194 (__SILICON_REVISION__ < 5)
  125. /* Failing MMR Accesses When Stalled by Preceding Memory Read */
  126. #define ANOMALY_05000198 (__SILICON_REVISION__ < 5)
  127. /* Current DMA Address Shows Wrong Value During Carry Fix */
  128. #define ANOMALY_05000199 (__SILICON_REVISION__ < 5)
  129. /* SPORT TFS and DT Are Incorrectly Driven During Inactive Channels in Certain Conditions */
  130. #define ANOMALY_05000200 (__SILICON_REVISION__ < 5)
  131. /* Possible Infinite Stall with Specific Dual-DAG Situation */
  132. #define ANOMALY_05000202 (__SILICON_REVISION__ < 5)
  133. /* Incorrect data read with write-through cache and allocate cache lines on reads only mode */
  134. #define ANOMALY_05000204 (__SILICON_REVISION__ < 5)
  135. /* Specific sequence that can cause DMA error or DMA stopping */
  136. #define ANOMALY_05000205 (__SILICON_REVISION__ < 5)
  137. /* Recovery from "Brown-Out" Condition */
  138. #define ANOMALY_05000207 (__SILICON_REVISION__ < 5)
  139. /* VSTAT Status Bit in PLL_STAT Register Is Not Functional */
  140. #define ANOMALY_05000208 (1)
  141. /* Speed Path in Computational Unit Affects Certain Instructions */
  142. #define ANOMALY_05000209 (__SILICON_REVISION__ < 5)
  143. /* UART TX Interrupt Masked Erroneously */
  144. #define ANOMALY_05000215 (__SILICON_REVISION__ < 5)
  145. /* NMI Event at Boot Time Results in Unpredictable State */
  146. #define ANOMALY_05000219 (__SILICON_REVISION__ < 5)
  147. /* Data Corruption with Cached External Memory and Non-Cached On-Chip L2 Memory */
  148. #define ANOMALY_05000220 (__SILICON_REVISION__ < 5)
  149. /* Incorrect Pulse-Width of UART Start Bit */
  150. #define ANOMALY_05000225 (__SILICON_REVISION__ < 5)
  151. /* Scratchpad Memory Bank Reads May Return Incorrect Data */
  152. #define ANOMALY_05000227 (__SILICON_REVISION__ < 5)
  153. /* UART Receiver is Less Robust Against Baudrate Differences in Certain Conditions */
  154. #define ANOMALY_05000230 (__SILICON_REVISION__ < 5)
  155. /* UART STB Bit Incorrectly Affects Receiver Setting */
  156. #define ANOMALY_05000231 (__SILICON_REVISION__ < 5)
  157. /* SPORT data transmit lines are incorrectly driven in multichannel mode */
  158. #define ANOMALY_05000232 (__SILICON_REVISION__ < 5)
  159. /* DF Bit in PLL_CTL Register Does Not Respond to Hardware Reset */
  160. #define ANOMALY_05000242 (__SILICON_REVISION__ < 5)
  161. /* If I-Cache Is On, CSYNC/SSYNC/IDLE Around Change of Control Causes Failures */
  162. #define ANOMALY_05000244 (__SILICON_REVISION__ < 5)
  163. /* False Hardware Error from an Access in the Shadow of a Conditional Branch */
  164. #define ANOMALY_05000245 (__SILICON_REVISION__ < 5)
  165. /* TESTSET operation forces stall on the other core */
  166. #define ANOMALY_05000248 (__SILICON_REVISION__ < 5)
  167. /* Incorrect Bit Shift of Data Word in Multichannel (TDM) Mode in Certain Conditions */
  168. #define ANOMALY_05000250 (__SILICON_REVISION__ > 2 && __SILICON_REVISION__ < 5)
  169. /* Exception Not Generated for MMR Accesses in Reserved Region */
  170. #define ANOMALY_05000251 (__SILICON_REVISION__ < 5)
  171. /* Maximum External Clock Speed for Timers */
  172. #define ANOMALY_05000253 (__SILICON_REVISION__ < 5)
  173. /* Incorrect Timer Pulse Width in Single-Shot PWM_OUT Mode with External Clock */
  174. #define ANOMALY_05000254 (__SILICON_REVISION__ > 3)
  175. /* Interrupt/Exception During Short Hardware Loop May Cause Bad Instruction Fetches */
  176. #define ANOMALY_05000257 (__SILICON_REVISION__ < 5)
  177. /* Instruction Cache Is Corrupted When Bits 9 and 12 of the ICPLB Data Registers Differ */
  178. #define ANOMALY_05000258 (__SILICON_REVISION__ < 5)
  179. /* ICPLB_STATUS MMR Register May Be Corrupted */
  180. #define ANOMALY_05000260 (__SILICON_REVISION__ < 5)
  181. /* DCPLB_FAULT_ADDR MMR Register May Be Corrupted */
  182. #define ANOMALY_05000261 (__SILICON_REVISION__ < 5)
  183. /* Stores To Data Cache May Be Lost */
  184. #define ANOMALY_05000262 (__SILICON_REVISION__ < 5)
  185. /* Hardware Loop Corrupted When Taking an ICPLB Exception */
  186. #define ANOMALY_05000263 (__SILICON_REVISION__ < 5)
  187. /* CSYNC/SSYNC/IDLE Causes Infinite Stall in Penultimate Instruction in Hardware Loop */
  188. #define ANOMALY_05000264 (__SILICON_REVISION__ < 5)
  189. /* Sensitivity To Noise with Slow Input Edge Rates on External SPORT TX and RX Clocks */
  190. #define ANOMALY_05000265 (__SILICON_REVISION__ < 5)
  191. /* IMDMA destination IRQ status must be read prior to using IMDMA */
  192. #define ANOMALY_05000266 (__SILICON_REVISION__ > 3)
  193. /* IMDMA may corrupt data under certain conditions */
  194. #define ANOMALY_05000267 (1)
  195. /* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Increase */
  196. #define ANOMALY_05000269 (1)
  197. /* High I/O Activity Causes Output Voltage of Internal Voltage Regulator (Vddint) to Decrease */
  198. #define ANOMALY_05000270 (1)
  199. /* Certain Data Cache Writethrough Modes Fail for Vddint <= 0.9V */
  200. #define ANOMALY_05000272 (1)
  201. /* Data cache write back to external synchronous memory may be lost */
  202. #define ANOMALY_05000274 (1)
  203. /* PPI Timing and Sampling Information Updates */
  204. #define ANOMALY_05000275 (__SILICON_REVISION__ > 2)
  205. /* Timing Requirements Change for External Frame Sync PPI Modes with Non-Zero PPI_DELAY */
  206. #define ANOMALY_05000276 (__SILICON_REVISION__ < 5)
  207. /* Writes to an I/O Data Register One SCLK Cycle after an Edge Is Detected May Clear Interrupt */
  208. #define ANOMALY_05000277 (__SILICON_REVISION__ < 3)
  209. /* Disabling Peripherals with DMA Running May Cause DMA System Instability */
  210. #define ANOMALY_05000278 (__SILICON_REVISION__ < 5)
  211. /* False Hardware Error Exception When ISR Context Is Not Restored */
  212. #define ANOMALY_05000281 (__SILICON_REVISION__ < 5)
  213. /* System MMR Write Is Stalled Indefinitely When Killed in a Particular Stage */
  214. #define ANOMALY_05000283 (1)
  215. /* A read will receive incorrect data under certain conditions */
  216. #define ANOMALY_05000287 (__SILICON_REVISION__ < 5)
  217. /* SPORTs May Receive Bad Data If FIFOs Fill Up */
  218. #define ANOMALY_05000288 (__SILICON_REVISION__ < 5)
  219. /* Memory-To-Memory DMA Source/Destination Descriptors Must Be in Same Memory Space */
  220. #define ANOMALY_05000301 (1)
  221. /* SSYNCs After Writes To DMA MMR Registers May Not Be Handled Correctly */
  222. #define ANOMALY_05000302 (1)
  223. /* SPORT_HYS Bit in PLL_CTL Register Is Not Functional */
  224. #define ANOMALY_05000305 (__SILICON_REVISION__ < 5)
  225. /* SCKELOW Bit Does Not Maintain State Through Hibernate */
  226. #define ANOMALY_05000307 (__SILICON_REVISION__ < 5)
  227. /* False Hardware Errors Caused by Fetches at the Boundary of Reserved Memory */
  228. #define ANOMALY_05000310 (1)
  229. /* Errors When SSYNC, CSYNC, or Loads to LT, LB and LC Registers Are Interrupted */
  230. #define ANOMALY_05000312 (1)
  231. /* PPI Is Level-Sensitive on First Transfer In Single Frame Sync Modes */
  232. #define ANOMALY_05000313 (1)
  233. /* Killed System MMR Write Completes Erroneously On Next System MMR Access */
  234. #define ANOMALY_05000315 (1)
  235. /* PF2 Output Remains Asserted After SPI Master Boot */
  236. #define ANOMALY_05000320 (__SILICON_REVISION__ > 3)
  237. /* Erroneous GPIO Flag Pin Operations Under Specific Sequences */
  238. #define ANOMALY_05000323 (1)
  239. /* SPORT Secondary Receive Channel Not Functional When Word Length Exceeds 16 Bits */
  240. #define ANOMALY_05000326 (__SILICON_REVISION__ > 3)
  241. /* New Feature: 24-Bit SPI Boot Mode Support (Not Available On Older Silicon) */
  242. #define ANOMALY_05000331 (__SILICON_REVISION__ < 5)
  243. /* New Feature: Slave SPI Boot Mode Supported (Not Available On Older Silicon) */
  244. #define ANOMALY_05000332 (__SILICON_REVISION__ < 5)
  245. /* Flag Data Register Writes One SCLK Cycle After Edge Is Detected May Clear Interrupt Status */
  246. #define ANOMALY_05000333 (__SILICON_REVISION__ < 5)
  247. /* New Feature: Additional PPI Frame Sync Sampling Options (Not Available on Older Silicon) */
  248. #define ANOMALY_05000339 (__SILICON_REVISION__ < 5)
  249. /* Memory DMA FIFO Causes Throughput Degradation on Writes to External Memory */
  250. #define ANOMALY_05000343 (__SILICON_REVISION__ < 5)
  251. /* Serial Port (SPORT) Multichannel Transmit Failure when Channel 0 Is Disabled */
  252. #define ANOMALY_05000357 (1)
  253. /* Conflicting Column Address Widths Causes SDRAM Errors */
  254. #define ANOMALY_05000362 (1)
  255. /* UART Break Signal Issues */
  256. #define ANOMALY_05000363 (__SILICON_REVISION__ < 5)
  257. /* PPI Underflow Error Goes Undetected in ITU-R 656 Mode */
  258. #define ANOMALY_05000366 (1)
  259. /* Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration */
  260. #define ANOMALY_05000371 (1)
  261. /* Level-Sensitive External GPIO Wakeups May Cause Indefinite Stall */
  262. #define ANOMALY_05000403 (1)
  263. /* TESTSET Instruction Causes Data Corruption with Writeback Data Cache Enabled */
  264. #define ANOMALY_05000412 (1)
  265. /* Speculative Fetches Can Cause Undesired External FIFO Operations */
  266. #define ANOMALY_05000416 (1)
  267. /* Multichannel SPORT Channel Misalignment Under Specific Configuration */
  268. #define ANOMALY_05000425 (1)
  269. /* Speculative Fetches of Indirect-Pointer Instructions Can Cause False Hardware Errors */
  270. #define ANOMALY_05000426 (1)
  271. /* Lost/Corrupted L2/L3 Memory Write after Speculative L2 Memory Read by Core B */
  272. #define ANOMALY_05000428 (__SILICON_REVISION__ > 3)
  273. /* IFLUSH Instruction at End of Hardware Loop Causes Infinite Stall */
  274. #define ANOMALY_05000443 (1)
  275. /* Anomalies that don't exist on this proc */
  276. #define ANOMALY_05000158 (0)
  277. #define ANOMALY_05000183 (0)
  278. #define ANOMALY_05000273 (0)
  279. #define ANOMALY_05000311 (0)
  280. #define ANOMALY_05000353 (1)
  281. #define ANOMALY_05000380 (0)
  282. #define ANOMALY_05000386 (1)
  283. #define ANOMALY_05000430 (0)
  284. #define ANOMALY_05000432 (0)
  285. #define ANOMALY_05000435 (0)
  286. #define ANOMALY_05000447 (0)
  287. #define ANOMALY_05000448 (0)
  288. #endif