| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| H A D | s390-pv-boot.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 s390 (IBM Z) Boot/IPL of Protected VMs 8 ------- 9 The memory of Protected Virtual Machines (PVMs) is not accessible to 13 :doc:`s390-pv` for details." 17 KVM to decrypt the protected virtual machine. 19 Based on this data, KVM will make the protected virtual machine known 33 ------- 44 Subcode 10: Move into Protected Virtualization mode 46 The new PV load-device-specific-parameters field specifies all data [all …]
|
| H A D | mmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 - correctness: 18 - security: 21 - performance: 23 - scaling: 25 - hardware: 27 - integration: 31 - dirty tracking: 33 and framebuffer-based displays 34 - footprint: [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | protected_mode_switcher.h | 12 * Boston, MA 02110-1301, USA. 24 * struct protected_mode_ops - Callbacks for protected mode switch operations 26 * @protected_mode_enable: Callback to enable protected mode for device 27 * @protected_mode_disable: Callback to disable protected mode for device 31 * protected_mode_enable() - Enable protected mode on device 34 * Return: 0 on success, non-zero on error 40 * protected_mode_disable() - Disable protected mode on device, and 44 * Return: 0 on success, non-zero on error 51 * struct protected_mode_device - Device structure for protected mode devices 53 * @ops - Callbacks associated with this device [all …]
|
| H A D | mali_kbase_tlstream.h | 3 * (C) COPYRIGHT 2015-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 26 * kbase_tlstream_init - initialize timeline infrastructure in kernel 32 * kbase_tlstream_term - terminate timeline infrastructure in kernel 39 * kbase_tlstream_acquire - acquire timeline stream file descriptor 55 * kbase_tlstream_flush_streams - flush timeline streams. 62 * kbase_tlstream_reset_body_streams - reset timeline body streams. 70 * kbase_tlstream_test - start timeline stream data generator 75 * @aux_msg: if non-zero aux messages will be included 81 * all timeline body streams. If aux_msg is non-zero writer will also [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | protected_mode_switcher.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2017, 2020-2021 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 28 * struct protected_mode_ops - Callbacks for protected mode switch operations 30 * @protected_mode_enable: Callback to enable protected mode for device 31 * @protected_mode_disable: Callback to disable protected mode for device 35 * protected_mode_enable() - Enable protected mode on device 38 * Return: 0 on success, non-zero on error 44 * protected_mode_disable() - Disable protected mode on device, and 48 * Return: 0 on success, non-zero on error [all …]
|
| H A D | rculist.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * RCU-protected list version 15 * purpose. The list_empty() function fetches the RCU-protected pointer 23 * INIT_LIST_HEAD_RCU - Initialize a list_head visible to RCU readers 33 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU() 34 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU() 38 * return the ->next pointer of a list_head in an rcu safe 41 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next))) 44 * list_tail_rcu - returns the prev pointer of the head of the list 51 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev))) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | protected_mode_switcher.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2017, 2020-2021 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 28 * struct protected_mode_ops - Callbacks for protected mode switch operations 30 * @protected_mode_enable: Callback to enable protected mode for device, and 32 * Returns 0 on success, non-zero on error 33 * @protected_mode_disable: Callback to disable protected mode for device 34 * Returns 0 on success, non-zero on error 44 * struct protected_mode_device - Device structure for protected mode devices
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_scheduler.c | 1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 4 * (C) COPYRIGHT 2018-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 86 * wait_for_dump_complete_on_group_deschedule() - Wait for dump on fault and 97 * Scheduler lock and 'kctx->csf.lock' are released before this function starts 113 struct kbase_device *kbdev = group->kctx->kbdev; in wait_for_dump_complete_on_group_deschedule() 114 struct kbase_context *kctx = group->kctx; in wait_for_dump_complete_on_group_deschedule() 115 struct kbase_csf_scheduler *scheduler = &kbdev->csf.scheduler; in wait_for_dump_complete_on_group_deschedule() 117 lockdep_assert_held(&kctx->csf.lock); in wait_for_dump_complete_on_group_deschedule() 118 lockdep_assert_held(&scheduler->lock); in wait_for_dump_complete_on_group_deschedule() [all …]
|
| H A D | mali_kbase_csf_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2018-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 64 * enum kbase_csf_queue_bind_state - bind state of the queue 80 * enum kbase_csf_reset_gpu_state - state of the gpu reset 99 * the GPU as part of normal behavior (e.g. when exiting protected mode). 117 * enum kbase_csf_group_state - state of the GPU command queue group 123 * and is subjected to time-slice based 134 * slots left after scheduling non-idle 148 * to time-slice based scheduling. A resume [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ |
| H A D | cxxabi.h | 1 // ABI Support -*- C++ -*- 3 // Copyright (C) 2000-2020 Free Software Foundation, Inc. 156 * ABI-mandated entry point in the C++ runtime library for demangling. 158 * @param __mangled_name A NUL-terminated character string 168 * @param __length If @a __length is non-null, the length of the 171 * @param __status If @a __status is non-null, @a *__status is set to 174 * -1: A memory allocation failure occurred. 175 * -2: @a mangled_name is not a valid name under the C++ ABI mangling rules. 176 * -3: One of the arguments is invalid. 178 * @return A pointer to the start of the NUL-terminated demangled [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ |
| H A D | cxxabi.h | 1 // ABI Support -*- C++ -*- 3 // Copyright (C) 2000-2020 Free Software Foundation, Inc. 156 * ABI-mandated entry point in the C++ runtime library for demangling. 158 * @param __mangled_name A NUL-terminated character string 168 * @param __length If @a __length is non-null, the length of the 171 * @param __status If @a __status is non-null, @a *__status is set to 174 * -1: A memory allocation failure occurred. 175 * -2: @a mangled_name is not a valid name under the C++ ABI mangling rules. 176 * -3: One of the arguments is invalid. 178 * @return A pointer to the start of the NUL-terminated demangled [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/backend/ |
| H A D | mali_kbase_hwcnt_backend_csf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2021-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 35 * kbase_hwcnt_backend_csf_create() - Create a CSF hardware counter backend 37 * @csf_if: Non-NULL pointer to a hwcnt backend CSF interface structure 41 * @watchdog_if: Non-NULL pointer to a hwcnt watchdog interface structure used 43 * @iface: Non-NULL pointer to backend interface structure that is filled 46 * Calls to iface->dump_enable_nolock() require the CSF Scheduler IRQ lock. 55 * kbase_hwcnt_backend_csf_metadata_init() - Initialize the metadata for a CSF 57 * @iface: Non-NULL pointer to backend interface structure [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/math-emu/ |
| H A D | get_address.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | Australia. E-mail billm@suburbia.net | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs)) 56 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs)) 69 (reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs)) 93 /* A non-zero ss is illegal */ in sib() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/RCU/ |
| H A D | rcu_dereference.rst | 8 field selection ("->"), assignment ("="), address-of ("&"), addition and 14 - You must use one of the rcu_dereference() family of primitives 15 to load an RCU-protected pointer, otherwise CONFIG_PROVE_RCU 16 will complain. Worse yet, your code can see random memory-corruption 31 - You are only permitted to use rcu_dereference on pointer values. 37 - Set bits and clear bits down in the must-be-zero low-order 40 -not- work in general for char* pointers. 42 - XOR bits to translate pointers, as is done in some 43 classic buddy-allocator algorithms. 48 - Avoid cancellation when using the "+" and "-" infix arithmetic [all …]
|
| H A D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 0. Is RCU being applied to a read-mostly situation? If the data 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 40 RCU does allow -readers- to run (almost) naked, but -writers- must 49 them -- even x86 allows later loads to be reordered to precede 59 2. Do the RCU read-side critical sections make proper use of [all …]
|
| H A D | whatisRCU.rst | 3 What is RCU? -- "Read, Copy, Update" 21 during the 2.5 development effort that is optimized for read-mostly 40 :ref:`6. ANALOGY WITH READER-WRITER LOCKING <6_whatisRCU>` 58 everything, feel free to read the whole thing -- but if you are really 60 never need this document anyway. ;-) 65 ---------------- 94 b. Wait for all previous readers to complete their RCU read-side 103 use much lighter-weight synchronization, in some cases, absolutely no 104 synchronization at all. In contrast, in more conventional lock-based 105 schemes, readers must use heavy-weight synchronization in order to [all …]
|
| H A D | arrayRCU.rst | 3 Using RCU to Protect Read-Mostly Arrays 15 Each of these three situations involves an RCU-protected pointer to an 18 case is **not** supported. The problem with RCU-protected indexes into 21 are far more trouble than they are worth. If RCU-protected indexes into 26 That aside, each of the three RCU-protected pointer situations are 32 ------------------------ 35 has a linked-list hash chain. Each hash chain can be protected by RCU 37 to other array-of-list situations, such as radix trees. 42 -------------------------- 47 this situation, which would also have minimal read-side overhead as long [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/locking/ |
| H A D | seqlock.rst | 8 Sequence counters are a reader-writer consistency mechanism with 9 lockless readers (read-only retry loops), and no writer starvation. They 30 interrupted writer. If that reader belongs to a real-time scheduling 33 This mechanism cannot be used if the protected data contains pointers, 53 requirements of writer serialization and non-preemptibility, use 76 /* ... [[write-side critical section]] ... */ 85 /* ... [[read-side critical section]] ... */ 93 ----------------------------------------------------------------- 96 sections must be serialized and non-preemptible. This variant of 105 that it is properly protected. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/jm/ |
| H A D | mali_kbase_jm_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2019-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 40 * to be soft-stopped and removed from the hardware before resetting. 45 * Prevent soft-stops from occurring in scheduling situations 52 * Soft stop will still be used for non-scheduling purposes e.g. when 60 * Prevent hard-stops from occurring in scheduling situations 65 * Hard stop will still be used for non-scheduling purposes e.g. when 72 /* Atom has been previously soft-stopped */ 77 * to disambiguate short-running job chains during soft/hard stopping of jobs [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/realmode/rm/ |
| H A D | trampoline_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * with 16-bit addressing and 16-bit data. CS has some value 24 * --full-contents --reloc to make sure there are no relocation 33 #include <asm/processor-flags.h> 61 * GDT tables in non default location kernel can be beyond 16MB and 72 # Enable protected mode 73 movl $X86_CR0_PE, %eax # protected mode (PE) bit 74 movl %eax, %cr0 # into protected mode 85 /* SEV-ES supports non-zero IP for entry points - no alignment needed */ 177 .short tr_gdt_end - tr_gdt - 1 # gdt limit
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | asan.h | 2 Copyright (C) 2011-2020 Free Software Foundation, Inc. 53 up to 2 * ASAN_RED_ZONE_SIZE - 1 bytes. */ 61 /* Shadow memory values for stack protection. Left is below protected vars, 65 above the last protected variable and partial immediately after variables 100 /* Return the size of padding needed to insert after a protected 106 unsigned int c = size & (ASAN_RED_ZONE_SIZE - 1); in asan_red_zone_size() 107 return c ? 2 * ASAN_RED_ZONE_SIZE - c : ASAN_RED_ZONE_SIZE; in asan_red_zone_size() 171 /* Return TRUE if we should instrument for use-after-scope sanity checking. */ 189 /* Return true when flag_sanitize & FLAG is non-zero. If FN is non-null,
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | asan.h | 2 Copyright (C) 2011-2020 Free Software Foundation, Inc. 53 up to 2 * ASAN_RED_ZONE_SIZE - 1 bytes. */ 61 /* Shadow memory values for stack protection. Left is below protected vars, 65 above the last protected variable and partial immediately after variables 100 /* Return the size of padding needed to insert after a protected 106 unsigned int c = size & (ASAN_RED_ZONE_SIZE - 1); in asan_red_zone_size() 107 return c ? 2 * ASAN_RED_ZONE_SIZE - c : ASAN_RED_ZONE_SIZE; in asan_red_zone_size() 171 /* Return TRUE if we should instrument for use-after-scope sanity checking. */ 189 /* Return true when flag_sanitize & FLAG is non-zero. If FN is non-null,
|
| /OK3568_Linux_fs/kernel/drivers/virt/vboxguest/ |
| H A D | vboxguest_core.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR CDDL-1.0) */ 2 /* Copyright (C) 2010-2016 Oracle Corporation */ 39 /** Pre-allocated vmmdev_memballoon_info req for query */ 41 /** Pre-allocated vmmdev_memballoon_change req for inflate / deflate */ 78 * Dummy page and vmap address for reserved kernel virtual-address 87 /** Wait-for-event list for threads waiting for multiple events. */ 91 /** Wait-for-event list for threads waiting on HGCM async completion. */ 93 /** Pre-allocated hgcm cancel2 req. for cancellation on timeout */ 97 /** Pre-allocated mouse-status request for the input-device handling. */ 111 * Protected by session_mutex. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/fb/ |
| H A D | vesafb.rst | 12 graphics mode. Switching mode later on (in protected mode) is 20 * You can run XF68_FBDev on top of /dev/fb0 (=> non-accelerated X11 22 * Most important: boot logo :-) 33 Documentation/admin-guide/svga.rst for details. 81 "vga=mode-number" you have to transform the numbers to decimal. 88 XF68_FBDev should work just fine, but it is non-accelerated. Running 89 another (accelerated) X-Server like XF86_SVGA might or might not work. 90 It depends on X-Server and graphics board. 92 The X-Server must restore the video mode correctly, else you end up 103 * configure and load the DOS-Tools for the graphics board (if [all …]
|
| /OK3568_Linux_fs/kernel/drivers/android/ |
| H A D | binder_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 * struct binder_device - information about a binder device node 43 * binderfs_mount_opts - mount options for binderfs 53 * binderfs_info - information about a binderfs mount 56 * binder-control device. 63 * @proc_log_dir: Pointer to the directory dentry containing process-specific 121 (entry)->name; \ 143 * struct binder_work - work enqueued on a worklist 170 * struct binder_node - binder node bookkeeping 175 * (protected by @proc->inner_lock) [all …]
|