/linux/include/linux/ |
H A D | timekeeping.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * ktime_get() family - read the current time in a multitude of ways. 27 * The default time reference is CLOCK_MONOTONIC, starting at 28 * boot time but not counting the time spent in suspend. 32 * To get the time in a different format, use the ones with 35 * See Documentation/core-api/timekeeping.rst for more details. 82 * ktime_get_real - get the real (wall-) time in ktime_t format 84 * Returns: real (wall) time in ktime_t format 97 * ktime_get_boottime - Get monotonic time since boot in ktime_t format 100 * time spent in suspend. [all …]
|
H A D | timekeeper_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/time.h> 15 * timekeeper_ids - IDs for various time keepers in the kernel 16 * @TIMEKEEPER_CORE: The central core timekeeper managing system time 25 TIMEKEEPER_AUX_LAST = TIMEKEEPER_AUX_FIRST + MAX_AUX_CLOCKS - 1, 31 * struct tk_read_base - base structure for timekeeping readout 38 * @base: ktime_t (nanoseconds) base time for readout 62 * struct timekeeper - Structure holding internal timekeeping values. 64 * @xtime_sec: Current CLOCK_REALTIME time in seconds 65 * @ktime_sec: Current CLOCK_MONOTONIC time in seconds [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | debug.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Compile-time configuration 16 Boot- and run-time configuration 20 you're interested in. At boot-time, use the acpi.debug_layer and 21 acpi.debug_level kernel command line options. After boot, you can use the 32 You can set the debug_layer mask at boot-time using the acpi.debug_layer 33 command line argument, and you can change it after boot by writing values 66 You can set the debug_level mask at boot-time using the acpi.debug_level 67 command line argument, and you can change it after boot by writing values 118 AML) during boot:: [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-roc-pc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 12 model = "Firefly ROC-RK3399-PC Board"; 13 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 22 stdout-path = "serial2:1500000n8"; 26 compatible = "pwm-backlight"; 30 clkin_gmac: external-gmac-clock { [all …]
|
H A D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 24 stdout-path = "serial2:1500000n8"; 27 clkin_gmac: external-gmac-clock { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; 30 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 19 stdout-path = "serial2:1500000n8"; 22 clkin_gmac: external-gmac-clock { 23 compatible = "fixed-clock"; 24 clock-frequency = <125000000>; 25 clock-output-names = "clkin_gmac"; 26 #clock-cells = <0>; [all …]
|
H A D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-rockpro64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; 27 #clock-cells = <0>; 30 gpio-keys { [all …]
|
H A D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "dt-bindings/usb/pd.h" 16 compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399"; 26 stdout-path = "serial2:1500000n8"; 29 clkin_gmac: external-gmac-clock { 30 compatible = "fixed-clock"; [all …]
|
H A D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 14 model = "Firefly-RK3399 Board"; 15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; 29 compatible = "pwm-backlight"; [all …]
|
H A D | rk3399-nanopi4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * RK3399-based FriendlyElec boards device tree source 14 /dts-v1/; 15 #include <dt-bindings/input/linux-event-codes.h> 27 stdout-path = "serial2:1500000n8"; 30 clkin_gmac: external-gmac-clock { 31 compatible = "fixed-clock"; 32 clock-frequency = <125000000>; 33 clock-output-names = "clkin_gmac"; 34 #clock-cells = <0>; [all …]
|
H A D | rk3399-khadas-edge.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pwm/pwm.h> 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; [all …]
|
/linux/tools/testing/ktest/ |
H A D | sample.conf | 54 # MIN_CONFIG = /home/test/config-test1 57 # MIN_CONFIG = /home/test/config-default 62 # /home/test/config-test-1. Then 10 tests will be executed 63 # with MIN_CONFIG with /home/test/config-default. 68 # MIN_CONFIG = /home/test/config-use-sometimes 71 # MIN_CONFIG = /home/test/config-most-times 112 # BUILD_TYPE = useconfig:${CONFIG_DIR}/config-network 116 # BUILD_TYPE = useconfig:${CONFIG_DIR}/config-normal 124 # BUILD_TYPE = useconfig:${CONFIG_DIR}/config-network 127 # BUILD_TYPE = useconfig:${CONFIG_DIR}/config-tests [all …]
|
/linux/tools/power/pm-graph/ |
H A D | bootgraph.8 | 3 bootgraph \- Kernel boot timing analysis 10 \fBbootgraph \fP reads the dmesg log from kernel boot and 24 Generates output files in subdirectory: boot-yymmdd-HHMMSS 30 \fB-h\fR 33 \fB-v\fR 36 \fB-addlogs\fR 40 \fB-result \fIfile\fR 43 \fB-o \fIname\fR 45 Use {date}, {time}, {hostname} for current values. 47 e.g. boot-{hostname}-{date}-{time} [all …]
|
/linux/security/integrity/ima/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 bool "Enable carrying the IMA measurement list across a soft boot" 41 a TPM's quote after a soft boot, the IMA measurement list of the 42 running kernel must be saved and restored on boot. 71 limited to 255 characters. The 'ima-ng' measurement list 74 by specifying "ima_template=" on the boot command line. 77 bool "ima-n [all...] |
/linux/Documentation/timers/ |
H A D | no_hz.rst | 2 NO_HZ: Reducing Scheduling-Clock Ticks 6 This document describes Kconfig options and boot parameters that can 7 reduce the number of scheduling-clock interrupts, thereby improving energy 9 some types of computationally intensive high-performance computing (HPC) 10 applications and for real-time applications. 12 There are three main ways of managing scheduling-clock interrupts 13 (also known as "scheduling-clock ticks" or simply "ticks"): 15 1. Never omit scheduling-clock ticks (CONFIG_HZ_PERIODIC=y or 16 CONFIG_NO_HZ=n for older kernels). You normally will -not- 19 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 avoid prolonged boot times. The lazy option will add 10 at once during boot. 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected [all …]
|
/linux/lib/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 10 Selecting this option causes time stamps of the printk() 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 34 Since toggling after boot makes the code racy, currently there is 50 int "Default console loglevel (1-15)" 60 Note: This does not affect the log level of un-prefixed printk() 65 int "quiet console loglevel (1-15)" 76 int "Default message log level (1-7)" 82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks 91 bool "Delay each boot printk message by N milliseconds" [all …]
|
H A D | Kconfig.kgdb | 1 # SPDX-License-Identifier: GPL-2.0-only 49 Share a serial console with kgdb. Sysrq-g must be used 61 the tests. The most basic of this I/O module is to boot 62 a kernel boot arguments "kgdbwait kgdbts=V1F100" 65 bool "KGDB: Run tests on boot" 69 Run the kgdb tests on boot up automatically without the need 78 boot [all...] |
/linux/arch/arm64/include/asm/ |
H A D | cpufeature.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include <asm/alternative-macros.h> 34 * between the values, the features are classified into 3 types - LOWER_SAFE, 80 * A @mask field set to full-1 indicates that the corresponding field 83 * A @mask field set to full-0 with the corresponding @val field set 84 * to full-0 denotes that this field has no override 86 * A @mask field set to full-0 with the corresponding @val field set 87 * to full-1 denotes that this field has an invalid override. 95 * @arm64_ftr_reg - Feature register 144 * c) SCOPE_BOOT_CPU: Check only on the primary boot CPU to detect the [all …]
|
H A D | fixmap.h | 2 * fixmap.h: compile-time virtual memory allocation 22 #include <asm/boot.h> 24 #include <asm/pgtable-prot.h> 27 * Here we define all the compile-time 'special' virtual 29 * compile time, but to set the physical address only 30 * in the boot process. 32 * Each enum increment in these 'compile-time allocated' 33 * memory buffers is page-sized. Use set_fixmap(idx,phys) 79 * Temporary boot-time mappings, used by early_ioremap(), 87 FIX_BTMAP_BEGIN = FIX_BTMAP_END + TOTAL_FIX_BTMAPS - 1, [all …]
|
/linux/arch/x86/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 26 # Options that are inherently 64-bit kernel only: 56 # ported to 32-bit as well. ) 158 # Word-size accesses may read uninitialized data past the trailing \0 342 default "elf32-i386" if X86_32 343 default "elf64-x86-64" if X86_64 [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | bootwrapper.rst | 2 The PowerPC boot wrapper 8 a boot wrapper to make it usable by the system firmware. There is no 9 standard PowerPC firmware interface, so the boot wrapper is designed to 12 The boot wrapper can be found in the arch/powerpc/boot/ directory. The 17 others. U-Boot is typically found on embedded PowerPC hardware, but there 21 The boot wrapper is built from the makefile in arch/powerpc/boot/Makefile and 22 it uses the wrapper script (arch/powerpc/boot/wrapper) to generate target 28 U-Boot (for versions that don't understand the device 30 the image. The boot wrapper, kernel and device tree 31 are all embedded inside the U-Boot uImage file format [all …]
|
/linux/tools/testing/memblock/ |
H A D | README | 8 Memblock is a boot time memory allocator[1] that manages memory regions before 17 allocation functionalities of memblock. The main data structure of the boot time 18 memory allocator is initialized at the build time, so the checks here reuse its 38 append the `-v` options when you run the tests: 40 $ ./main -v 45 For the full list of options from command line, see `./main --help`. 62 |-- asm ------------------, 63 |-- lib |-- implement function and struct stubs 64 |-- linux ------------------' 65 |-- scripts [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 18 stdout-path = "serial0:115200n8"; 27 vdd-supply = <&vdd_gpu>; 33 /delete-property/ dmas; 34 /delete-property/ dma-names; 39 /delete-property/ reg-shift; 41 compatible = "nvidia,tegra30-hsuart"; 42 reset-names = "serial"; 45 compatible = "brcm,bcm43540-bt"; [all …]
|