/arch/sparc/kernel/ |
D | sbus.c | 274 unsigned long afsr, afar, error_bits; in sysio_ue_handler() local 281 afsr = upa_readq(afsr_reg); in sysio_ue_handler() 285 error_bits = afsr & in sysio_ue_handler() 303 (afsr & SYSIO_UEAFSR_DOFF) >> 45UL, in sysio_ue_handler() 304 (afsr & SYSIO_UEAFSR_SIZE) >> 42UL, in sysio_ue_handler() 305 (afsr & SYSIO_UEAFSR_MID) >> 37UL); in sysio_ue_handler() 309 if (afsr & SYSIO_UEAFSR_SPIO) { in sysio_ue_handler() 313 if (afsr & SYSIO_UEAFSR_SDRD) { in sysio_ue_handler() 317 if (afsr & SYSIO_UEAFSR_SDWR) { in sysio_ue_handler() 348 unsigned long afsr, afar, error_bits; in sysio_ce_handler() local [all …]
|
D | pci_psycho.c | 136 unsigned long afsr, afar, error_bits; in psycho_ue_intr() local 141 afsr = upa_readq(afsr_reg); in psycho_ue_intr() 144 error_bits = afsr & in psycho_ue_intr() 162 (afsr & PSYCHO_UEAFSR_BMSK) >> 32UL, in psycho_ue_intr() 163 (afsr & PSYCHO_UEAFSR_DOFF) >> 29UL, in psycho_ue_intr() 164 (afsr & PSYCHO_UEAFSR_MID) >> 24UL, in psycho_ue_intr() 165 ((afsr & PSYCHO_UEAFSR_BLK) ? 1 : 0)); in psycho_ue_intr() 169 if (afsr & PSYCHO_UEAFSR_SPIO) { in psycho_ue_intr() 173 if (afsr & PSYCHO_UEAFSR_SDRD) { in psycho_ue_intr() 177 if (afsr & PSYCHO_UEAFSR_SDWR) { in psycho_ue_intr() [all …]
|
D | pci_sabre.c | 200 unsigned long afsr, afar, error_bits; in sabre_ue_intr() local 205 afsr = upa_readq(afsr_reg); in sabre_ue_intr() 208 error_bits = afsr & in sabre_ue_intr() 227 (afsr & SABRE_UEAFSR_BMSK) >> 32UL, in sabre_ue_intr() 228 (afsr & SABRE_UEAFSR_OFF) >> 29UL, in sabre_ue_intr() 229 ((afsr & SABRE_UEAFSR_BLK) ? 1 : 0)); in sabre_ue_intr() 233 if (afsr & SABRE_UEAFSR_SDRD) { in sabre_ue_intr() 237 if (afsr & SABRE_UEAFSR_SDWR) { in sabre_ue_intr() 241 if (afsr & SABRE_UEAFSR_SDTE) { in sabre_ue_intr() 250 psycho_check_iommu_error(pbm, afsr, afar, UE_ERR); in sabre_ue_intr() [all …]
|
D | pci_schizo.c | 375 unsigned long afsr, afar, error_bits; in schizo_ue_intr() local 387 afsr = upa_readq(afsr_reg); in schizo_ue_intr() 388 } while ((afsr & SCHIZO_UEAFSR_ERRPNDG) != 0 && --limit); in schizo_ue_intr() 391 error_bits = afsr & in schizo_ue_intr() 409 (afsr & SCHIZO_UEAFSR_BMSK) >> 32UL, in schizo_ue_intr() 410 (afsr & SCHIZO_UEAFSR_QOFF) >> 30UL, in schizo_ue_intr() 411 (afsr & SCHIZO_UEAFSR_AID) >> 24UL); in schizo_ue_intr() 414 (afsr & SCHIZO_UEAFSR_PARTIAL) ? 1 : 0, in schizo_ue_intr() 415 (afsr & SCHIZO_UEAFSR_OWNEDIN) ? 1 : 0, in schizo_ue_intr() 416 (afsr & SCHIZO_UEAFSR_MTAG) >> 13UL, in schizo_ue_intr() [all …]
|
D | traps_64.c | 465 static void spitfire_cee_log(unsigned long afsr, unsigned long afar, unsigned long udbh, unsigned l… in spitfire_cee_log() argument 470 smp_processor_id(), afsr, afar, udbl, udbh, tl1); in spitfire_cee_log() 486 static void spitfire_ue_log(unsigned long afsr, unsigned long afar, unsigned long udbh, unsigned lo… in spitfire_ue_log() argument 492 smp_processor_id(), afsr, afar, udbl, udbh, tt, tl1); in spitfire_ue_log() 534 unsigned long afsr, tt, udbh, udbl; in spitfire_access_error() local 537 afsr = (status_encoded & SFSTAT_AFSR_MASK) >> SFSTAT_AFSR_SHIFT; in spitfire_access_error() 555 if (afsr & SFAFSR_UE) in spitfire_access_error() 556 spitfire_ue_log(afsr, afar, udbh, udbl, tt, tl1, regs); in spitfire_access_error() 562 if (afsr & SFAFSR_UE) { in spitfire_access_error() 581 spitfire_cee_log(afsr, afar, udbh, udbl, tl1, regs); in spitfire_access_error() [all …]
|
D | psycho_common.c | 201 unsigned long afsr, in psycho_check_iommu_error() argument 306 u64 afsr, afar, error_bits; in psycho_pcierr_intr() local 309 afsr = upa_readq(pbm->pci_afsr); in psycho_pcierr_intr() 311 error_bits = afsr & in psycho_pcierr_intr() 331 (afsr & PSYCHO_PCIAFSR_BMSK) >> 32UL, in psycho_pcierr_intr() 332 (afsr & PSYCHO_PCIAFSR_MID) >> 25UL, in psycho_pcierr_intr() 333 (afsr & PSYCHO_PCIAFSR_BLK) ? 1 : 0); in psycho_pcierr_intr() 337 if (afsr & PSYCHO_PCIAFSR_SMA) { in psycho_pcierr_intr() 341 if (afsr & PSYCHO_PCIAFSR_STA) { in psycho_pcierr_intr() 345 if (afsr & PSYCHO_PCIAFSR_SRTRY) { in psycho_pcierr_intr() [all …]
|
D | entry.h | 114 unsigned long afsr, 117 unsigned long afsr, 120 unsigned long afsr, 168 /*0x00*/u64 afsr; member
|
D | psycho_common.h | 34 unsigned long afsr,
|
D | sun4m_irq.c | 329 unsigned long afsr, afar, si; in sun4m_nmi() local 337 "=r" (afsr), "=r" (afar)); in sun4m_nmi() 338 printk(KERN_ERR "afsr=%08lx afar=%08lx\n", afsr, afar); in sun4m_nmi()
|
/arch/sparc/include/asm/ |
D | iommu_32.h | 30 volatile unsigned long afsr; /* Async-fault status register */ member
|