| /kernel/linux/linux-6.6/arch/arm64/include/asm/stacktrace/ |
| D | nvhe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * 1) Non-protected nVHE mode - the host can directly access the 12 * 2) pKVM (protected nVHE) mode - the host cannot directly access 24 * kvm_nvhe_unwind_init() - Start an unwind from the given nVHE HYP fp and pc 28 * @pc : program counter at which to start the unwinding. 32 unsigned long pc) in kvm_nvhe_unwind_init() argument 36 state->fp = fp; in kvm_nvhe_unwind_init() 37 state->pc = pc; in kvm_nvhe_unwind_init() 42 * Conventional (non-protected) nVHE HYP stack unwinder 44 * In non-protected mode, the unwinding is done from kernel proper context
|
| /kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
| D | stacktrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * hyp_prepare_backtrace - Prepare non-protected nVHE backtrace. 21 * @pc : program counter at which to start the unwinding. 23 * Save the information needed by the host to unwind the non-protected 26 static void hyp_prepare_backtrace(unsigned long fp, unsigned long pc) in hyp_prepare_backtrace() argument 31 stacktrace_info->stack_base = (unsigned long)(params->stack_hyp_va - PAGE_SIZE); in hyp_prepare_backtrace() 32 stacktrace_info->overflow_stack_base = (unsigned long)this_cpu_ptr(overflow_stack); in hyp_prepare_backtrace() 33 stacktrace_info->fp = fp; in hyp_prepare_backtrace() 34 stacktrace_info->pc = pc; in hyp_prepare_backtrace() 56 unsigned long high = params->stack_hyp_va; in stackinfo_get_hyp() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | rtc.rst | 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 12 The newest non-PC hardware tends to just count seconds, like the time(2) 16 Linux has two largely-compatible userspace RTC API families you may 19 * /dev/rtc ... is the RTC provided by PC compatible systems, 20 so it's not very portable to non-x86 systems. 25 Programmers need to understand that the PC/AT functionality is not 30 IRQ, so they can't all issue alarms; and where standard PC RTCs can 35 Old PC/AT-Compatible driver: /dev/rtc 36 -------------------------------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | rtc.rst | 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 12 The newest non-PC hardware tends to just count seconds, like the time(2) 16 Linux has two largely-compatible userspace RTC API families you may 19 * /dev/rtc ... is the RTC provided by PC compatible systems, 20 so it's not very portable to non-x86 systems. 25 Programmers need to understand that the PC/AT functionality is not 30 IRQ, so they can't all issue alarms; and where standard PC RTCs can 35 Old PC/AT-Compatible driver: /dev/rtc 36 -------------------------------------- [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun8i-h3-orangepi-pc-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /* The Orange Pi PC Plus is an extended version of the regular PC */ 44 #include "sun8i-h3-orangepi-pc.dts" 47 model = "Xunlong Orange Pi PC Plus"; 48 compatible = "xunlong,orangepi-pc-plus", "allwinner,sun8i-h3"; 51 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 vmmc-supply = <®_vcc3v3>; 58 bus-width = <4>; 59 non-removable; 64 * alias for it (which e.g. makes u-boot set a mac-address). [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/ |
| D | sun8i-h3-orangepi-pc-plus.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /* The Orange Pi PC Plus is an extended version of the regular PC */ 44 #include "sun8i-h3-orangepi-pc.dts" 47 model = "Xunlong Orange Pi PC Plus"; 48 compatible = "xunlong,orangepi-pc-plus", "allwinner,sun8i-h3"; 51 /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ 57 vmmc-supply = <®_vcc3v3>; 58 bus-width = <4>; 59 non-removable; 64 * alias for it (which e.g. makes u-boot set a mac-address). [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | preempt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count() 15 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument 18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 22 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 26 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ 31 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched() 36 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched() 41 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched() 46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/include/asm/ |
| D | preempt.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count() 16 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument 19 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 23 task_thread_info(p)->preempt_count = FORK_PREEMPT_COUNT; \ 27 task_thread_info(p)->preempt_count = PREEMPT_DISABLED; \ 32 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched() 37 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched() 42 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched() 47 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/q40/ |
| D | README | 6 available from this place or http://ftp.uni-erlangen.de/pub/unix/Linux/680x0/q40/ 13 is not implemented - do not try it! (See below) 15 For a list of kernel command-line options read the documentation for the 22 poll the floppy for this reason - something that can't be done in Linux. 27 drivers/char/q40_keyb.c # use PC keymaps for national keyboards 28 serial.c # normal PC driver - any speed 33 block/floppy.c # normal PC driver, DMA emu in asm/floppy.h 43 Various other PC drivers can be enabled simply by adding them to 56 requested - SRAM must start with '%LX$' signature to do this. '-d' option 61 only the penguin - and shell prompt if it gets that far.. [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/q40/ |
| D | README | 6 available from this place or http://ftp.uni-erlangen.de/pub/unix/Linux/680x0/q40/ 13 is not implemented - do not try it! (See below) 15 For a list of kernel command-line options read the documentation for the 22 poll the floppy for this reason - something that can't be done in Linux. 27 drivers/char/q40_keyb.c # use PC keymaps for national keyboards 28 serial.c # normal PC driver - any speed 35 floppy.c # normal PC driver, DMA emu in asm/floppy.h 44 Various other PC drivers can be enabled simply by adding them to 57 requested - SRAM must start with '%LX$' signature to do this. '-d' option 62 only the penguin - and shell prompt if it gets that far.. [all …]
|
| /kernel/linux/linux-5.10/arch/sh/kernel/ |
| D | traps_32.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (C) 2002 - 2010 Paul Mundt 81 * - note that PC _may not_ point to the faulting instruction 83 * - return 0 if emulation okay, -EFAULT on existential error 94 rn = ®s->regs[index]; in handle_unaligned_ins() 97 rm = ®s->regs[index]; in handle_unaligned_ins() 108 ret = -EFAULT; in handle_unaligned_ins() 114 srcu += regs->regs[0]; in handle_unaligned_ins() 119 dst += 4-count; in handle_unaligned_ins() 121 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() [all …]
|
| D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 37 printk("Process: %s (pid: %d, stack limit = %p)\n", current->comm, in die() 41 dump_mem("Stack: ", KERN_DEFAULT, regs->regs[15], in die() 71 * - userspace errors just cause EFAULT to be returned, resulting in SEGV 72 * - kernel/userspace interfaces cause a jump to an appropriate handler 73 * - other kernel errors are bad 79 fixup = search_exception_tables(regs->pc); in die_if_no_fixup() 81 regs->pc = fixup->fixup; in die_if_no_fixup() 93 unsigned long bugaddr = regs->pc; in handle_BUG() 102 if (bug->flags & BUGFLAG_UNWINDER) in handle_BUG() [all …]
|
| /kernel/linux/linux-6.6/arch/sh/kernel/ |
| D | traps_32.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright (C) 2002 - 2010 Paul Mundt 98 * - note that PC _may not_ point to the faulting instruction 100 * - return 0 if emulation okay, -EFAULT on existential error 111 rn = ®s->regs[index]; in handle_unaligned_ins() 114 rm = ®s->regs[index]; in handle_unaligned_ins() 125 ret = -EFAULT; in handle_unaligned_ins() 131 srcu += regs->regs[0]; in handle_unaligned_ins() 136 dst += 4-count; in handle_unaligned_ins() 138 if (ma->from(dst, srcu, count)) in handle_unaligned_ins() [all …]
|
| D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 37 printk("Process: %s (pid: %d, stack limit = %p)\n", current->comm, in die() 41 dump_mem("Stack: ", KERN_DEFAULT, regs->regs[15], in die() 71 * - userspace errors just cause EFAULT to be returned, resulting in SEGV 72 * - kernel/userspace interfaces cause a jump to an appropriate handler 73 * - other kernel errors are bad 79 fixup = search_exception_tables(regs->pc); in die_if_no_fixup() 81 regs->pc = fixup->fixup; in die_if_no_fixup() 93 unsigned long bugaddr = regs->pc; in handle_BUG() 102 if (bug->flags & BUGFLAG_UNWINDER) in handle_BUG() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 39 support cards that don't have firmware in flash, such as D-Link 40 DWL-520 rev E and D-Link DWL-650 rev P. 46 bool "Support for non-volatile firmware download" 49 Allow Host AP driver to write firmware images to the non-volatile 61 Host AP driver's version for Prism2/2.5/3 PC Cards in PLX9052 based 85 tristate "Host AP driver for Prism2/2.5/3 PC Cards" 88 Host AP driver's version for Prism2/2.5/3 PC Cards.
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 39 support cards that don't have firmware in flash, such as D-Link 40 DWL-520 rev E and D-Link DWL-650 rev P. 46 bool "Support for non-volatile firmware download" 49 Allow Host AP driver to write firmware images to the non-volatile 61 Host AP driver's version for Prism2/2.5/3 PC Cards in PLX9052 based 85 tristate "Host AP driver for Prism2/2.5/3 PC Cards" 88 Host AP driver's version for Prism2/2.5/3 PC Cards.
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | posix-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * posix-clock.h - support for dynamic clock devices 13 #include <linux/posix-timers.h> 19 * struct posix_clock_operations - functional interface to the clock 41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx); 43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 47 int (*clock_settime)(struct posix_clock *pc, 53 long (*ioctl) (struct posix_clock *pc, 56 int (*open) (struct posix_clock *pc, fmode_t f_mode); [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | posix-clock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * posix-clock.h - support for dynamic clock devices 13 #include <linux/posix-timers.h> 19 * struct posix_clock_operations - functional interface to the clock 41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx); 43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 47 int (*clock_settime)(struct posix_clock *pc, 53 long (*ioctl) (struct posix_clock *pc, 56 int (*open) (struct posix_clock *pc, fmode_t f_mode); [all …]
|
| /kernel/linux/linux-5.10/tools/include/uapi/linux/ |
| D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 13 * For licencing details see kernel-base/COPYING 23 * User-space ABI bits: 37 PERF_TYPE_MAX, /* non-ABI */ 60 PERF_COUNT_HW_MAX, /* non-ABI */ 66 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x 79 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | perf_event.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de> 6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra 13 * For licencing details see kernel-base/COPYING 23 * User-space ABI bits: 37 PERF_TYPE_MAX, /* non-ABI */ 60 PERF_COUNT_HW_MAX, /* non-ABI */ 66 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x 79 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */ [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/oprofile/ |
| D | backtrace.c | 10 * Copyright (c) 2003-2004 Silicon Graphics Inc. All Rights Reserved. 34 /* Returns non-zero if the PC is in the Interrupt Vector Table */ 35 static __inline__ int in_ivt_code(unsigned long pc) in in_ivt_code() argument 38 return (pc >= (u_long)ia64_ivt && pc < (u_long)ia64_ivt+32768); in in_ivt_code() 51 if (in_ivt_code(bt->frame.ip)) in next_frame() 62 if (bt->prev_pfs_loc && bt->regs && bt->frame.pfs_loc == bt->prev_pfs_loc) in next_frame() 63 bt->frame.pfs_loc = &bt->regs->ar_pfs; in next_frame() 64 bt->prev_pfs_loc = NULL; in next_frame() 66 return unw_unwind(&bt->frame) == 0; in next_frame() 75 u_long pc, sp; in do_ia64_backtrace() local [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| D | stacktrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * The unwind will begin at the PC within the regs. 34 state->fp = regs->regs[29]; in unwind_init_from_regs() 35 state->pc = regs->pc; in unwind_init_from_regs() 51 state->fp = (unsigned long)__builtin_frame_address(1); in unwind_init_from_caller() 52 state->pc = (unsigned long)__builtin_return_address(0); in unwind_init_from_caller() 58 * The unwind will begin at the blocked tasks saved PC (i.e. the caller of 71 state->fp = thread_saved_fp(task); in unwind_init_from_task() 72 state->pc = thread_saved_pc(task); in unwind_init_from_task() 79 if (state->task->ret_stack && in unwind_recover_return_address() [all …]
|
| /kernel/linux/linux-6.6/fs/udf/ |
| D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Symlink handling routines for the OSTA-UDF(tm) filesystem. 9 * (C) 1998-2001 Ben Fennema 31 struct pathComponent *pc; in udf_pc_to_char() local 37 tolen--; in udf_pc_to_char() 39 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char() 41 switch (pc->componentType) { in udf_pc_to_char() 47 if (pc->lengthComponentIdent > 0) { in udf_pc_to_char() 48 elen += pc->lengthComponentIdent; in udf_pc_to_char() 54 return -ENAMETOOLONG; in udf_pc_to_char() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/compressed/ |
| D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1996-2002 Russell King 12 #include "efi-header.S" 20 AR_CLASS( .arch armv7-a ) 21 M_CLASS( .arch armv7-m ) 101 kputc #'-' 105 kputc #'-' 110 kputc #'-' 154 * in little-endian form. 209 AR_CLASS( sub pc, pc, #3 ) @ A/R: switch to Thumb2 mode [all …]
|
| /kernel/linux/linux-5.10/fs/udf/ |
| D | symlink.c | 5 * Symlink handling routines for the OSTA-UDF(tm) filesystem. 13 * (C) 1998-2001 Ben Fennema 35 struct pathComponent *pc; in udf_pc_to_char() local 41 tolen--; in udf_pc_to_char() 43 pc = (struct pathComponent *)(from + elen); in udf_pc_to_char() 45 switch (pc->componentType) { in udf_pc_to_char() 51 if (pc->lengthComponentIdent > 0) { in udf_pc_to_char() 52 elen += pc->lengthComponentIdent; in udf_pc_to_char() 58 return -ENAMETOOLONG; in udf_pc_to_char() 61 tolen--; in udf_pc_to_char() [all …]
|