Home
last modified time | relevance | path

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

123

/linux/Documentation/devicetree/bindings/interrupt-controller/
H A 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/tools/arch/riscv/include/asm/
H A 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/Documentation/arch/x86/x86_64/
H A Dfred.rst1 .. SPDX-License-Identifier: GPL-2.0
11 privilege level (ring transitions). The FRED architecture was
20 establishes the full supervisor context and that event return
33 The LKGS instruction can be used by 64-bit operating systems that do
46 framework must be implemented to facilitate the event-to-handler
48 once an event is delivered, and employs a two-level dispatch.
50 The first level dispatching is event type based, and the second level
53 Full supervisor/user context
56 FRED event delivery atomically save and restore full supervisor/user
86 event handling, and each stack level should be configured to use a
[all …]
/linux/arch/microblaze/include/asm/
H A 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 …]
H A Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 * low level task data that entry.S needs immediate access to
22 * - this struct should fit entirely inside of one cache line
23 * - this struct shares the supervisor stack pages
24 * - if the contents of this structure are changed, the assembly constants
38 /* non-volatile registers */
61 unsigned long flags; /* low level flags */
62 unsigned long status; /* thread-synchronous flags */
85 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info()
93 * - these are process state flags that various assembly files may
[all …]
/linux/Documentation/arch/riscv/
H A 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/arch/openrisc/include/asm/
H A 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 */
239 #define SPR_DMMUCR_P2S 0x0000003e /* Level 2 Page Size */
240 #define SPR_DMMUCR_P1S 0x000007c0 /* Level 1 Page Size */
248 #define SPR_IMMUCR_P2S 0x0000003e /* Level 2 Page Size */
249 #define SPR_IMMUCR_P1S 0x000007c0 /* Level 1 Page Size */
258 #define SPR_DTLBMR_PL1 0x00000002 /* Page Level 1 (if 0 then PL2) */
[all …]
H A Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
35 * low level task data that entry.S needs immediate access to
36 * - this struct should fit entirely inside of one cache line
37 * - this struct shares the supervisor stack pages
38 * - if the contents of this structure are changed, the assembly constants
45 unsigned long flags; /* low level flags */
75 #define get_thread_info(ti) get_task_struct((ti)->task)
76 #define put_thread_info(ti) put_task_struct((ti)->task)
84 * - pending work-to-be-done flags are in LSW
[all …]
/linux/tools/perf/pmu-events/arch/arm64/
H A Drecommended.json3 "PublicDescription": "Attributable Level 1 data cache access, read",
9 "PublicDescription": "Attributable Level 1 data cache access, write",
15 "PublicDescription": "Attributable Level 1 data cache refill, read",
21 "PublicDescription": "Attributable Level 1 data cache refill, write",
27 "PublicDescription": "Attributable Level 1 data cache refill, inner",
33 "PublicDescription": "Attributable Level 1 data cache refill, outer",
39 "PublicDescription": "Attributable Level 1 data cache Write-Back, victim",
42 "BriefDescription": "L1D cache Write-Back, victim"
45 "PublicDescription": "Level
[all...]
/linux/arch/powerpc/include/asm/nohash/32/
H A Dpte-8xx.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * We also use the two level tables, but we can put the real bits in them
10 * Mx_CTR.PPCS = 0, and MD_CTR.TWAM = 1. The level 2 descriptor has
16 * the TLB entry (24 and 25) for these indicators. Although the level 1
18 * set these at the page level since they get copied from the Mx_TWC
21 * These will get masked from the level 2 descriptor at TLB load time, and
46 #define _PAGE_NA 0x0200 /* Supervisor NA, User no access */
47 #define _PAGE_RO 0x0600 /* Supervisor RO, User no access */
84 #include <asm/pgtable-masks.h>
138 pte_update(vma->vm_mm, address, ptep, clr, set, huge); in __ptep_set_access_flags()
[all …]
H A Dmmu-8xx.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * During software tablewalk, the registers used perform mask/shift-add
33 * respectively NA for All or X for Supervisor and no access for User.
35 * "all Supervisor" rules (Access to all)
43 * 4-15 => Not Used
57 /* A "level 1" or "segment" or whatever you want to call it register.
120 /* The pointer to the base address of the first level page table.
125 #define M_L1TB 0xfffff000 /* Level 1 table base address */
126 #define M_L1INDX 0x00000ffc /* Level 1 index, when read */
129 /* A "level 1" or "segment" or whatever you want to call it register.
[all …]
/linux/arch/mips/include/asm/octeon/
H A 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/arch/nios2/include/asm/
H A Dthread_info.h2 * NiosII low-level thread information
30 * low level task data that entry.S needs immediate access to
31 * - this struct should fit entirely inside of one cache line
32 * - this struct shares the supervisor stack pages
33 * - if the contents of this structure are changed, the assembly constants
38 unsigned long flags; /* low level flags */
62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
68 * - these are process state flags that various assembly files may need to
70 * - pending work-to-be-done flags are in LSW
71 * - other flags in MSW
/linux/arch/arm/mach-imx/
H A Dcpu.c1 // SPDX-License-Identifier: GPL-2.0
42 * Set all MPROTx to be non-bufferable, trusted for R/W, in imx_set_aips()
43 * not forced to user-mode. in imx_set_aips()
49 * Set all OPACRx to be non-bufferable, to not require in imx_set_aips()
50 * supervisor privilege level for access, allow for in imx_set_aips()
/linux/arch/arc/include/asm/
H A Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
7 * anyways one page allocation, thus slab alloc can be short-circuited and
32 * low level task data that entry.S needs immediate access to
33 * - this struct should fit entirely inside of one cache line
34 * - this struct shares the supervisor stack pages
35 * - if the contents of this structure are changed, the assembly constants
39 unsigned long flags; /* low level flags */
49 * - this is not related to init_task per se
62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
[all …]
/linux/arch/nios2/mm/
H A 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()
173 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
[all …]
/linux/arch/xtensa/include/asm/
H A Dthread_info.h2 * include/asm-xtensa/thread_info.h
8 * Copyright (C) 2001 - 2005 Tensilica Inc.
24 * low level task data that entry.S needs immediate access to
25 * - this struct should fit entirely inside of one cache line
26 * - this struct shares the supervisor stack pages
27 * - if the contents of this structure are changed, the assembly constants
50 unsigned long flags; /* low level flags */
51 unsigned long status; /* thread-synchronous flags */
65 * If i-th bit is set then coprocessor state is loaded into the
113 * - these are process state flags that various assembly files may need to access
[all …]
/linux/Documentation/core-api/
H A Derrseq.rst13 It's implemented as an unsigned 32-bit value. The low order bits are
28 +--------------------------------------+----+------------------------+
30 +--------------------------------------+----+------------------------+
32 +--------------------------------------+----+------------------------+
54 They're all handing him work to do -- so much he can't keep track of who
60 but he can't keep track of things at that level of detail, all he can
78 struct supervisor {
83 struct supervisor su;
103 errseq_set(&wd.wd_err, -EIO);
115 to do a one-off job for him. He's not really watching the worker
[all …]
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv1 # SPDX-License-Identifier: CC0-1.0
2 # Generator: x86-cpuid-db v1.0
5 # Auto-generated file.
6 # Please submit all updates and bugfixes to https://x86-cpuid.org
16 0, 0, ebx, 31:0, cpu_vendorid_0 , CPU vendor ID string bytes 0 - 3
17 0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11
18 0, 0, edx, 31:0, cpu_vendorid_1 , CPU vendor ID string bytes 4 - 7
35 1, 0, ecx, 2, dtes64 , 64-bit DS save area
49 1, 0, ecx, 17, pcid , Process-context identifiers
56 1, 0, ecx, 24, tsc_deadline_timer , APIC timer one-shot operation
[all …]
/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include <asm/asm-const.h>
46 #define SLB_VSID_N ASM_CONST(0x0000000000000200) /* no-execute */
114 #define PP_RWXX 0 /* Supervisor read/write, User none */
115 #define PP_RWRX 1 /* Supervisor read/write, User read */
116 #define PP_RWRW 2 /* Supervisor read/write, User read/write */
117 #define PP_RXRX 3 /* Supervisor read, User read */
118 #define PP_RXXX (HPTE_R_PP0 | 2) /* Supervisor read, user none */
192 return -1; in shift_to_mmu_psize()
211 return -1; in ap_to_shift()
[all …]
/linux/arch/mips/include/asm/
H A Dthread_info.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* thread_info.h: MIPS low-level thread information
5 * - Incorporating suggestions made by Linus Torvalds and Dave Miller
19 * low level task data that entry.S needs immediate access to
20 * - this struct should fit entirely inside of one cache line
21 * - this struct shares the supervisor stack pages
22 * - if the contents of this structure are changed, the assembly constants
27 unsigned long flags; /* low level flags */
99 #define THREAD_MASK (THREAD_SIZE - 1UL)
105 * - these are process state flags that various assembly files may need to
[all …]
/linux/Documentation/userspace-api/
H A Dseccomp_filter.rst25 to time-of-check-time-of-use (TOCTOU) attacks that are common in system
65 call will return -1 and set errno to ``EINVAL``.
73 true, ``-EACCES`` will be returned. This requirement ensures that filter
82 The above call returns 0 on success and non-zero on error.
106 task without executing the system call. ``siginfo->si_call_addr``
108 ``siginfo->si_syscall`` and ``siginfo->si_arch`` will indicate which
111 instruction). The return value register will contain an arch-
112 dependent value -- if resuming execution, set it to something
114 it with ``-ENOSYS`` could overwrite some useful information.)
122 Results in the lower 16-bits of the return value being passed
[all …]
/linux/arch/m68k/coldfire/
H A Dentry.S1 /* SPDX-License-Identifier: GPL-2.0-or-later
3 * entry.S -- interrupt and exception processing for ColdFire
5 * Copyright (C) 1999-2007, Greg Ungerer (gerg@snapgear.com)
9 * Copyright (C) 2004-2006 Macq Electronique SA. (www.macqel.com)
31 #include <asm/asm-offsets.h>
36 * Define software copies of the supervisor and user stack pointers.
71 andl #-THREAD_SIZE,%d2 /* at start of kernel stack */
75 btst #(TIF_SYSCALL_TRACE%8),%a0@(TINFO_FLAGS+(31-TIF_SYSCALL_TRACE)/8)
83 movel #-ENOSYS,%d2 /* strace needs -ENOSYS in PT_OFF_D0 */
108 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
13 #define X86_EFLAGS_FIXED_BIT 1 /* Bit 1 - always on */
31 #define X86_EFLAGS_IOPL_BIT 12 /* I/O Privilege Level (2 bits) */
67 #define X86_CR0_NW_BIT 29 /* Not Write-through */
83 #define X86_CR3_PCID_MASK (_AC((1UL << X86_CR3_PCID_BITS) - 1, UL))
119 #define X86_CR4_LA57_BIT 12 /* enable 5-level page tables */
137 #define X86_CR4_CET_BIT 23 /* enable Control-flow Enforcement Technology */
139 #define X86_CR4_LAM_SUP_BIT 28 /* LAM for supervisor pointers */
150 * x86-64 Task Priority Register, CR8
155 * AMD and Transmeta use MSRs for configuration; see <asm/msr-index.h>
/linux/arch/powerpc/mm/nohash/
H A Dtlb_low_64e.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Low level TLB miss handlers for Book3E
5 * Copyright (C) 2008-2009
15 #include <asm/asm-offsets.h>
17 #include <asm/exception-64e.h>
18 #include <asm/ppc-opcode.h>
21 #include <asm/feature-fixups.h>
36 * Note that, unlike non-bolted handlers, TLB_EXFRAME is not
95 /* We pre-test some combination of permissions to avoid double
101 * So the shift is >> 19. This tests for supervisor writeability.
[all …]

123