Lines Matching +full:supervisor +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0 */
31 volatile unsigned long afsr; /* Async-fault status register */
32 volatile unsigned long afar; /* Async-fault physical address */
34 volatile unsigned long sbuscfg0; /* SBUS configuration registers, per-slot */
38 volatile unsigned long mfsr; /* Memory-fault status register */
39 volatile unsigned long mfar; /* Memory-fault physical address */
42 volatile unsigned long mid; /* IOMMU module-id */
48 #define IOMMU_RNGE_16MB 0x00000000 /* 0xff000000 -> 0xffffffff */
49 #define IOMMU_RNGE_32MB 0x00000004 /* 0xfe000000 -> 0xffffffff */
50 #define IOMMU_RNGE_64MB 0x00000008 /* 0xfc000000 -> 0xffffffff */
51 #define IOMMU_RNGE_128MB 0x0000000c /* 0xf8000000 -> 0xffffffff */
52 #define IOMMU_RNGE_256MB 0x00000010 /* 0xf0000000 -> 0xffffffff */
53 #define IOMMU_RNGE_512MB 0x00000014 /* 0xe0000000 -> 0xffffffff */
54 #define IOMMU_RNGE_1GB 0x00000018 /* 0xc0000000 -> 0xffffffff */
55 #define IOMMU_RNGE_2GB 0x0000001c /* 0x80000000 -> 0xffffffff */
63 #define IOMMU_AFSR_S 0x01000000 /* Sparc was in supervisor mode */
69 #define IOMMU_SBCFG_SAB30 0x00010000 /* Phys-address bit 30 when bypass enabled */
77 #define IOMMU_MFSR_S 0x01000000 /* Sparc was in supervisor mode */
83 #define IOMMU_MFSR_BM 0x00001000 /* Error occurred while in boot mode */
93 #define IOMMU_MID_MID 0x0000000f /* Module-id, hardcoded to 0x8 */
114 sbus_writel(0, ®s->tlbflush); in iommu_invalidate()
119 sbus_writel(ba & PAGE_MASK, ®s->pageflush); in iommu_invalidate_page()