如何复位Freescale Power Architecture系列处理中的PCIe控制器
2013-03-04 12:35
363 查看
在PCIe控制器出现一些不可恢复的错误时,复位PCIe控制器是让PCIe控制器走出这种错误状态的一个必要条件。下面给出复位Freescale Power Architecture系列处理器上的PCIe控制器的一种方法,该方法使用到的寄存器一般在处理器文档中并没有公开,属于内部寄存器。
Perform a PCI Express controller soft reset with the following sequence in order:
1. Save there return value for memory location "CCSRBAR + PCI Express controller block offset + 0xF00" to a temporary location, depending on the PCI Express controller in use.
2. OR the above temporary value with 0x0800_0000 and write it back to memory location"CCSRBAR + PCI Express controller block offset + 0xF00"
3. Wait for 1ms
4. AND the temporary value obtained in step 1 with 0xF7FF_FFFF and write it back to the memory location "CCSRBAR + PCI Express controller block offset +0xF00"
5. Poll the LTSSM register until the LTSSM status code returns 0x16 consistently to indicate that the link is up.
Perform a PCI Express controller soft reset with the following sequence in order:
1. Save there return value for memory location "CCSRBAR + PCI Express controller block offset + 0xF00" to a temporary location, depending on the PCI Express controller in use.
2. OR the above temporary value with 0x0800_0000 and write it back to memory location"CCSRBAR + PCI Express controller block offset + 0xF00"
3. Wait for 1ms
4. AND the temporary value obtained in step 1 with 0xF7FF_FFFF and write it back to the memory location "CCSRBAR + PCI Express controller block offset +0xF00"
5. Poll the LTSSM register until the LTSSM status code returns 0x16 consistently to indicate that the link is up.
相关文章推荐
- C#编译器优化那点事 c# 如果一个对象的值为null,那么它调用扩展方法时为甚么不报错 webAPI 控制器(Controller)太多怎么办? .NET MVC项目设置包含Areas中的页面为默认启动页 (五)Net Core使用静态文件 学习ASP.NET Core Razor 编程系列八——并发处理
- 如何处理RedHat 7系列以及CentOS 7系列操作系统无法使用ifconfig命令
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- Android4.x 如何处理Power按键
- nginx 如何处理请求系列3-server_name指令
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- Android4.x 如何处理Power按键
- nginx 如何处理请求系列4-phase handler
- Android开发中 如何处理power键
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- Selenium-webdriver系列教程(7)————如何处理alert和confirm
- thinkph3.2.3p如何处理空控制器和空操作
- Android 如何让 app 自行处理 power key M
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- HBase源码系列(四)Put、Delete在服务端是如何处理的?
- Android4.x 如何处理Power按键