Home
last modified time | relevance | path

Searched +full:supervisor +full:- +full:mode (Results 1 – 25 of 129) sorted by relevance

123456

/linux-6.12.1/arch/m68k/ifpsp060/
Dos.S3 |M68000 Hi-Performance Microprocessor Division
5 |Production Release P1.00 -- October 10, 1994
32 | - example "Call-Out"s required by both the ISP and FPSP.
38 | EXAMPLE CALL-OUTS #
58 | or supervisor application space. The examples below use simple "move"
59 | instructions for supervisor mode applications and call _copyin()/_copyout()
60 | for user mode applications.
76 | Writes to data memory while in supervisor mode.
79 | a0 - supervisor source address
80 | a1 - user destination address
[all …]
DCHANGES3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
31 ---------------------------
42 mode was pre-decrement or post-increment and the address register
49 ---------
56 -------
66 ----
70 ------
71 Upon receiving a non-zero (failing) return value from
72 a {i,d}mem_{read,write}_{byte,word,long}() "call-out",
[all …]
/linux-6.12.1/arch/m68k/fpsp040/
Dskeleton.S37 | Modified for Linux-1.3.x by Jes Sorensen (jds@kom.auc.dk)
42 #include <asm/asm-offsets.h>
66 link %a6,#-LOCAL_SIZE
67 fsave -(%sp)
74 movel %sp,%sp@- | stack frame pointer argument
103 link %a6,#-LOCAL_SIZE
104 fsave -(%sp)
107 fmovel %fpsr,-(%sp)
142 link %a6,#-LOCAL_SIZE
143 fsave -(%sp)
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/interrupt-controller/
Driscv,cpu-intc.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,cpu-intc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V Hart-Level Interrupt Controller (HLIC)
10 RISC-V cores include Control Status Registers (CSRs) which are local to
11 each CPU core (HART in RISC-V terminology) and can be read or written by
16 The RISC-V supervisor ISA manual specifies three interrupt sources that are
19 cores. The timer interrupt comes from an architecturally mandated real-
20 time timer that is controlled via Supervisor Binary Interface (SBI) calls
[all …]
/linux-6.12.1/Documentation/hwmon/
Dsl28cpld.rst1 .. SPDX-License-Identifier: GPL-2.0-only
17 -----------
21 supervisor. In the future there might be other flavours and additional
24 The fan supervisor has a 7 bit counter register and a counter period of 1
25 second. If the 7 bit counter overflows, the supervisor will automatically
26 switch to x8 mode to support a wider input range at the loss of
30 -------------
/linux-6.12.1/arch/m68k/include/asm/
Dm54xxacr.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #define CACR_DHCLK 0x08000000 /* Half data cache lock mode */
35 #define ACR_USER 0x00000000 /* User mode access only */
36 #define ACR_SUPER 0x00002000 /* Supervisor mode only */
37 #define ACR_ANY 0x00004000 /* Match any access mode */
38 #define ACR_CM_WT 0x00000000 /* Write through mode */
39 #define ACR_CM_CP 0x00000020 /* Copyback mode */
42 #define ACR_CM 0x00000060 /* Cache mode mask */
43 #define ACR_SP 0x00000008 /* Supervisor protect */
47 #define ACR_ADMSK(x) ((((x) - 1) & 0xff000000) >> 8)
[all …]
Dmcfdma.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * mcfdma.h -- Coldfire internal DMA support defines.
73 #define MCFDMA_DMR 0x00 /* Mode Register (r/w) */
79 /* Bit definitions for the DMA Mode Register (DMR) */
82 #define MCFDMA_DMR_RQM 0x000C0000L /* Request Mode Mask */
83 #define MCFDMA_DMR_RQM_DUAL 0x000C0000L /* Dual address mode, the only valid mode */
89 #define MCFDMA_DMR_DSTT_SD 0x00001400L /* Destination is supervisor data */
90 #define MCFDMA_DMR_DSTT_SC 0x00001800L /* Destination is supervisor code */
101 #define MCFDMA_DMR_SRCT_SD 0x00000014L /* Source is supervisor data */
102 #define MCFDMA_DMR_SRCT_SC 0x00000018L /* Source is supervisor code */
Dmcfmmu.h2 * mcfmmu.h -- definitions for the ColdFire v4e MMU
35 #define MMUCR_EN 0x00000001 /* Virtual mode enable */
36 #define MMUCR_ASM 0x00000002 /* Address space mode */
47 #define MMUOR_CAS 0x00000020 /* Clear non-locked ASID TLBs */
48 #define MMUOR_CNL 0x00000040 /* Clear non-locked TLBs */
60 #define MMUSR_SPF 0x00000020 /* Supervisor protect fault */
79 #define MMUDR_SP 0x00000020 /* Supervisor access enable */
82 #define MMUDR_CM_NCP 0x00000080 /* Non-cachable precise */
83 #define MMUDR_CM_NCI 0x000000c0 /* Non-cachable imprecise */
Dmotorola_pgtable.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define _PAGE_SUPER 0x080 /* 68040 supervisor only */
17 #define _PAGE_NOCACHE030 0x040 /* 68030 no-cache mode */
18 #define _PAGE_NOCACHE 0x060 /* 68040 cache mode, non-serialized */
19 #define _PAGE_NOCACHE_S 0x040 /* 68040 no-cache mode, serialized */
20 #define _PAGE_CACHE040 0x020 /* 68040 cache mode, cachable, copyback */
21 #define _PAGE_CACHE040W 0x000 /* 68040 cache mode, cachable, write-through */
31 * 3 - Used
32 * 2 - Write Protected
33 * 0,1 - Descriptor Type
[all …]
/linux-6.12.1/arch/microblaze/include/asm/
Dmmu.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
4 * Copyright (C) 2008-2009 PetaLogix
27 unsigned long w:1; /* Write-thru cache mode */
36 # define PP_RWXX 0 /* Supervisor read/write, User none */
37 # define PP_RWRX 1 /* Supervisor read/write, User read */
38 # define PP_RWRW 2 /* Supervisor read/write, User read/write */
39 # define PP_RXRX 3 /* Supervisor read, User read */
44 unsigned long ks:1; /* Supervisor 'key' (normally 0) */
46 unsigned long n:1; /* No-execute */
[all …]
/linux-6.12.1/arch/riscv/include/asm/
Dcsr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #define SR_SIE _AC(0x00000002, UL) /* Supervisor Interrupt Enable */
15 #define SR_SPIE _AC(0x00000020, UL) /* Previous Supervisor IE */
17 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */
19 #define SR_SUM _AC(0x00040000, UL) /* Supervisor User Memory Access */
21 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */
39 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
48 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */
49 #define SR_UXL_32 _AC(0x100000000, UL) /* XLEN = 32 for U-mode */
50 #define SR_UXL_64 _AC(0x200000000, UL) /* XLEN = 64 for U-mode */
[all …]
/linux-6.12.1/tools/arch/riscv/include/asm/
Dcsr.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 #define SR_SIE _AC(0x00000002, UL) /* Supervisor Interrupt Enable */
14 #define SR_SPIE _AC(0x00000020, UL) /* Previous Supervisor IE */
16 #define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */
18 #define SR_SUM _AC(0x00040000, UL) /* Supervisor User Memory Access */
20 #define SR_FS _AC(0x00006000, UL) /* Floating-point Status */
38 #define SR_FS_VS (SR_FS | SR_VS) /* Vector and Floating-Point Unit */
47 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */
48 #define SR_UXL_32 _AC(0x100000000, UL) /* XLEN = 32 for U-mode */
49 #define SR_UXL_64 _AC(0x200000000, UL) /* XLEN = 64 for U-mode */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/riscv/
Dextensions.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V ISA extensions
10 - Paul Walmsley <paul.walmsley@sifive.com>
11 - Palmer Dabbelt <palmer@sifive.com>
12 - Conor Dooley <conor@kernel.org>
15 RISC-V has a large number of extensions, some of which are "standard"
16 extensions, meaning they are ratified by RISC-V International, and others
36 Identifies the specific RISC-V instruction set architecture
[all …]
/linux-6.12.1/arch/powerpc/include/asm/book3s/32/
Dmmu-hash.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * 32-bit hash table MMU support
57 #define PP_RWXX 0 /* Supervisor read/write, User none */
58 #define PP_RWRX 1 /* Supervisor read/write, User read */
59 #define PP_RWRW 2 /* Supervisor read/write, User read/write */
60 #define PP_RXRX 3 /* Supervisor read, User read */
65 #define SR_KS 0x40000000 /* Supervisor key */
69 #include <asm/asm-offsets.h>
147 * of the 32-bit virtual address (the "effective segment ID") in order
165 unsigned long xpn:3; /* Real page number bits 0-2, optional */
[all …]
/linux-6.12.1/arch/openrisc/include/asm/
Dspr_defs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
19 /* Definition of special-purpose registers (SPRs). */
215 #define SPR_SR_SM 0x00000001 /* Supervisor Mode */
231 #define SPR_SR_SUMRA 0x00010000 /* Supervisor SPR read access */
269 #define SPR_DTLBTR_WBC 0x00000004 /* Write-Back Cache */
270 #define SPR_DTLBTR_WOM 0x00000008 /* Weakly-Ordered Memory */
275 #define SPR_DTLBTR_SRE 0x00000100 /* Supervisor Read Enable */
276 #define SPR_DTLBTR_SWE 0x00000200 /* Supervisor Write Enable */
295 #define SPR_ITLBTR_WBC 0x00000004 /* Write-Back Cache */
[all …]
/linux-6.12.1/Documentation/arch/riscv/
Duabi.rst1 .. SPDX-License-Identifier: GPL-2.0
3 RISC-V Linux User ABI
7 ------------------------------------
14 #. Single-letter extensions come first, in canonical order.
17 #. All multi-letter extensions will be separated from other extensions by an
21 single-letter extensions and before any higher-privileged extensions.
29 #. Standard supervisor-level extensions (starting with 'S') will be listed
30 after standard unprivileged extensions. If multiple supervisor-level
33 #. Standard machine-level extensions (starting with 'Zxm') will be listed
34 after any lower-privileged, standard extensions. If multiple machine-level
[all …]
/linux-6.12.1/arch/x86/kernel/fpu/
Dsignal.c1 // SPDX-License-Identifier: GPL-2.0
35 if (__copy_from_user(fx_sw, &fxbuf->sw_reserved[0], sizeof(*fx_sw))) in check_xstate_in_sigframe()
39 if (fx_sw->magic1 != FP_XSTATE_MAGIC1 || in check_xstate_in_sigframe()
40 fx_sw->xstate_size < min_xstate_size || in check_xstate_in_sigframe()
41 fx_sw->xstate_size > current->thread.fpu.fpstate->user_size || in check_xstate_in_sigframe()
42 fx_sw->xstate_size > fx_sw->extended_size) in check_xstate_in_sigframe()
51 if (__get_user(magic2, (__u32 __user *)(fpstate + fx_sw->xstate_size))) in check_xstate_in_sigframe()
57 trace_x86_fpu_xstate_check_failed(&current->thread.fpu); in check_xstate_in_sigframe()
60 fx_sw->magic1 = 0; in check_xstate_in_sigframe()
61 fx_sw->xstate_size = sizeof(struct fxregs_state); in check_xstate_in_sigframe()
[all …]
Dxstate.c1 // SPDX-License-Identifier: GPL-2.0-only
50 "AVX-512 opmask",
51 "AVX-512 Hi256",
52 "AVX-512 ZMM_Hi256",
56 "Control-flow User registers",
57 "Control-flow Kernel registers (unused)",
85 { [ 0 ... XFEATURE_MAX - 1] = -1};
87 { [ 0 ... XFEATURE_MAX - 1] = -1};
109 * missing AVX feature - this is the most informative message in cpu_has_xfeatures()
117 xfeature_idx = fls64(xfeatures_print)-1; in cpu_has_xfeatures()
[all …]
/linux-6.12.1/arch/sparc/include/asm/
Diommu_32.h1 /* 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 */
[all …]
Dross.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 * -----------------------------------------------------------------
22 * -----------------------------------------------------------------
23 * 31 24 23-22 21 20 19 18-15 14 13 12 11 10 9 8 7-2 1 0
25 * Phew, lots of fields there ;-)
31 * BM: Boot-Mode. One indicates the MMU is in boot mode.
34 * CS: Cache Size -- 0 = 128k, 1 = 256k
37 * CM: Cache Mode -- 0 = write-through, 1 = copy-back
38 * CE: Cache Enable -- 0 = no caching, 1 = cache is on
39 * NF: No Fault -- 0 = faults trap the CPU from supervisor mode
[all …]
/linux-6.12.1/Documentation/virt/kvm/x86/
Dhypercalls.rst1 .. SPDX-License-Identifier: GPL-2.0
8 KVM Hypercalls have a three-byte sequence of either the vmcall or the vmmcall
18 R2-R7 are used for parameters 1-6. In addition, R1 is used for hypercall
25 refer to Documentation/virt/kvm/s390/s390-diag.rst.
28 It uses R3-R10 and hypercall number in R11. R4-R11 are used as output registers.
31 KVM hypercalls uses 4 byte opcode, that are patched with 'hypercall-instructions'
33 For more information refer to Documentation/virt/kvm/ppc-pv.rst
37 number in $2 (v0). Up to four arguments may be placed in $4-$7 (a0-a3) and
50 ------------------------
58 ----------------
[all …]
/linux-6.12.1/drivers/net/fddi/skfp/h/
Dskfbi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 * FDDI-Fx (x := {I(SA), P(CI)})
19 /*--------------------------------------------------------------------------*/
41 /* 0x0001 - 0x0003: reserved */
49 /* 0x0010 - 0x006b: formac+ (supernet_3) fequently used registers */
52 #define B0_ST1U 0x0010 /* read upper 16-bit of status reg 1 */
53 #define B0_ST1L 0x0014 /* read lower 16-bit of status reg 1 */
54 #define B0_ST2U 0x0018 /* read upper 16-bit of status reg 2 */
55 #define B0_ST2L 0x001c /* read lower 16-bit of status reg 2 */
59 #define B0_MDRU 0x0028 /* r/w upper 16-bit of mem. data reg */
[all …]
/linux-6.12.1/arch/mips/include/asm/octeon/
Docteon.h6 * Copyright (C) 2004-2008 Cavium Networks
57 /* Start of block referenced by assembly code - do not change! */
66 /* End of This block referenced by assembly code - do not change! */
117 /* End of This block referenced by assembly code - do not change! */
124 * Warning low bit scrambled in little-endian.
182 /* OCTEON II - TLB replacement policy: 0 = bitmask LRU; 1 = NLU.
189 /* OCTEON II - Selects the bit in the counter used for
196 /* OCTEON II - This field is an extension of
199 /* R/W If set, marked write-buffer entries time out
201 * write-buffer entries use the maximum timeout. */
[all …]
/linux-6.12.1/arch/nios2/mm/
Dfault.c7 * Copyright (C) 1995-2000 Ralf Baechle
32 #define EXC_SUPERV_INSN_ACCESS 9 /* Supervisor only instruction address */
33 #define EXC_SUPERV_DATA_ACCESS 11 /* Supervisor only data address */
48 struct mm_struct *mm = tsk->mm; in do_page_fault()
56 regs->ea -= 4; in do_page_fault()
59 * We fault-in kernel-space virtual memory on-demand. The in do_page_fault()
105 if (!(vma->vm_flags & VM_EXEC)) in do_page_fault()
109 if (!(vma->vm_flags & VM_READ)) in do_page_fault()
113 if (!(vma->vm_flags & VM_WRITE)) in do_page_fault()
169 /* User mode accesses just cause a SIGSEGV */ in do_page_fault()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/timer/
Driscv,timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V timer
10 - Anup Patel <anup@brainfault.org>
13 RISC-V platforms always have a RISC-V timer device for the supervisor-mode
14 based on the time CSR defined by the RISC-V privileged specification. The
15 timer interrupts of this device are configured using the RISC-V SBI Time
16 extension or the RISC-V Sstc extension.
18 The clock frequency of RISC-V timer device is specified via the
[all …]

123456