https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci-devices-aer_stats
http://datongfirmware.blogspot.com/2020/05/pci-express-advanced-error-reportingaer.html
haha:/sys/class/pci_bus/0000:ab/device$ ls
0000:00:1c.0:pcie001 aer_rootport_total_err_fatal current_link_speed enable local_cpus pci_bus resource uevent
0000:00:1c.0:pcie010 aer_rootport_total_err_nonfatal current_link_width firmware_node max_link_speed power revision vendor
0000:ab:00.0 ari_enabled d3cold_allowed iommu max_link_width power_state secondary_bus_number wakeup
aer_dev_correctable broken_parity_status device iommu_group modalias remove subordinate_bus_number
aer_dev_fatal class dma_mask_bits irq msi_bus rescan subsystem
aer_dev_nonfatal config driver link msi_irqs reset subsystem_device
aer_rootport_total_err_cor consistent_dma_mask_bits driver_override local_cpulist numa_node reset_method subsystem_vendor
linux\Documentation\PCI\pcieaer-howto.rst.txt
yum install kernel-devel
centos aer_inject.ko 編譯
https://wiki.centos.org/zh-tw/HowTos/BuildingKernelModules
沒有留言:
張貼留言