diff options
author | tmm <tmm@FreeBSD.org> | 2002-03-23 20:42:23 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2002-03-23 20:42:23 +0000 |
commit | b0d3f0a8e860e4c14bc846b086b4c06c7104d838 (patch) | |
tree | d12dd0a26681ca3a754e37520159e95480d492ab /sys/sparc64/pci/psychoreg.h | |
parent | 5421e07c01c198e52f7882f475d3febf23457b95 (diff) | |
download | FreeBSD-src-b0d3f0a8e860e4c14bc846b086b4c06c7104d838.zip FreeBSD-src-b0d3f0a8e860e4c14bc846b086b4c06c7104d838.tar.gz |
Add code to print the fault virtual address for uncorrectable DMA errors
caused by IOMMU misses to aid debugging. This will only work on
UltraSPARC-IIi and IIe.
Diffstat (limited to 'sys/sparc64/pci/psychoreg.h')
-rw-r--r-- | sys/sparc64/pci/psychoreg.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/sparc64/pci/psychoreg.h b/sys/sparc64/pci/psychoreg.h index 9de6272..7de9c62 100644 --- a/sys/sparc64/pci/psychoreg.h +++ b/sys/sparc64/pci/psychoreg.h @@ -231,6 +231,15 @@ #define PCICTL_4ENABLE 0x000000000000000f /* enable 4 PCI slots */ #define PCICTL_6ENABLE 0x000000000000003f /* enable 6 PCI slots */ +/* Uncorrectable error asynchronous fault status registers */ +#define UEAFSR_BLK (1UL << 22) /* pri. error caused by read */ +#define UEAFSR_P_DTE (1UL << 56) /* pri. DMA translation error */ +#define UEAFSR_S_DTE (1UL << 57) /* sec. DMA translation error */ +#define UEAFSR_S_DWR (1UL << 58) /* sec. error during write */ +#define UEAFSR_S_DRD (1UL << 59) /* sec. error during read */ +#define UEAFSR_P_DWR (1UL << 61) /* pri. error during write */ +#define UEAFSR_P_DRD (1UL << 62) /* pri. error during read */ + /* * these are the PROM structures we grovel */ |