Home
last modified time | relevance | path

Searched full:debug (Results 1 – 25 of 4510) sorted by relevance

12345678910>>...181

/linux-6.15/tools/testing/selftests/kvm/x86/
Ddebug_regs.c3 * KVM guest debug register tests
18 /* For testing data access debug BP */
83 struct kvm_guest_debug debug; in main() local
107 memset(&debug, 0, sizeof(debug)); in main()
108 debug.control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_USE_SW_BP; in main()
109 vcpu_guest_debug_set(vcpu, &debug); in main()
112 run->debug.arch.exception == BP_VECTOR && in main()
113 run->debug.arch.pc == CAST_TO_RIP(sw_bp), in main()
115 run->exit_reason, run->debug.arch.exception, in main()
116 run->debug.arch.pc, CAST_TO_RIP(sw_bp)); in main()
[all …]
/linux-6.15/Documentation/arch/s390/
Ds390dbf.rst2 S390 Debug Feature
6 - arch/s390/kernel/debug.c
7 - arch/s390/include/asm/debug.h
11 The goal of this feature is to provide a kernel debug logging API
13 (e.g. device drivers) can have one separate debug log.
14 One purpose of this is to inspect the debug logs after a production system crash
18 it is possible to look at the debug logs on a live system via the Linux
21 The debug feature may also very useful for kernel and driver development.
25 Kernel components (e.g. device drivers) can register themselves at the debug
28 debug log for the caller. For each debug log exists a number of debug areas
[all …]
/linux-6.15/arch/s390/include/asm/
Ddebug.h3 * S/390 debug facility
18 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */
19 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */
23 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */
25 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */
30 #define __DEBUG_FEATURE_VERSION 3 /* version of debug feature */
112 /* Debug Feature API: */
133 * debug_level_enabled() - Returns true if debug events for the specified
136 * @id: handle for debug log
137 * @level: debug level
[all …]
/linux-6.15/Documentation/trace/coresight/
Dcoresight-cpu-debug.rst2 Coresight CPU Debug Module
11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
12 (ARM DDI 0487A.k) Chapter 'Part H: External debug', the CPU can integrate
13 debug module and it is mainly used for two modes: self-hosted debug and
14 external debug. Usually the external debug mode is well known as the external
16 explore debugging method which rely on self-hosted debug mode, this document
19 The debug module provides sample-based profiling extension, which can be used
21 every CPU has one dedicated debug module to be connected. Based on self-hosted
22 debug mechanism, Linux kernel can access these related registers from mmio
36 - At the time this documentation was written, the debug driver mainly relies on
[all …]
/linux-6.15/arch/powerpc/kernel/ptrace/
Dptrace-adv.c13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
40 * And, after doing so, if all debug flags are off, turn in user_disable_single_step()
43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()
47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
48 task->thread.debug.dbcr1)) { in user_disable_single_step()
50 * All debug events were off..... in user_disable_single_step()
52 task->thread.debug.dbcr0 &= ~DBCR0_IDM; in user_disable_single_step()
[all …]
/linux-6.15/drivers/gpu/drm/msm/dp/
Ddp_debug.c28 struct msm_dp_debug_private *debug = seq->private; in msm_dp_debug_show() local
33 if (!debug) in msm_dp_debug_show()
36 drm_mode = &debug->panel->msm_dp_mode.drm_mode; in msm_dp_debug_show()
40 debug->panel->link_info.rate); in msm_dp_debug_show()
42 debug->panel->link_info.num_lanes); in msm_dp_debug_show()
44 debug->panel->link_info.capabilities); in msm_dp_debug_show()
58 debug->panel->msm_dp_mode.h_active_low, in msm_dp_debug_show()
59 debug->panel->msm_dp_mode.v_active_low); in msm_dp_debug_show()
67 debug->panel->msm_dp_mode.bpp); in msm_dp_debug_show()
71 debug->link->sink_request); in msm_dp_debug_show()
[all …]
/linux-6.15/Documentation/driver-api/usb/
Dusb3-debug-port.rst2 USB3 debug port
11 This is a HOWTO for using the USB3 debug port on x86 systems.
14 debug port, you need to::
16 1) check whether any USB3 debug port is available in
24 The xHCI debug capability (DbC) is an optional but standalone
28 When DbC is initialized and enabled, it will present a debug
29 device through the debug port (normally the first USB3
30 super-speed port). The debug device is fully compliant with
32 performance full-duplex serial link between the debug target
33 (the system under debugging) and a debug host.
[all …]
/linux-6.15/Documentation/ABI/testing/
Ddebugfs-hisi-hpre1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
4 Description: Dump debug registers from the HPRE cluster.
7 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
11 and then we can read the debug information of the core.
14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
17 Description: HPRE cores debug registers read clear control. 1 means enable
23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
30 What: /sys/kernel/debug/hisi_hpre/<bdf>/alg_qos
40 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs
43 Description: Dump debug registers from the HPRE.
[all …]
Ddebugfs-hisi-zip1 What: /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs
4 Description: Dump of compression cores related debug registers.
7 What: /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs
10 Description: Dump of decompression cores related debug registers.
13 What: /sys/kernel/debug/hisi_zip/<bdf>/clear_enable
16 Description: Compression/decompression core debug registers read clear
22 What: /sys/kernel/debug/hisi_zip/<bdf>/current_qm
29 What: /sys/kernel/debug/hisi_zip/<bdf>/alg_qos
39 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs
42 Description: Dump of QM related debug registers.
[all …]
Ddebugfs-hisi-sec1 What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable
5 the SEC debug registers.
9 What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm
17 What: /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos
27 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
30 Description: Dump of QM related debug registers.
32 has one debug register.
34 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
38 queue to show its debug registers in above 'regs'.
41 What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
[all …]
Ddebugfs-driver-habanalabs1 What: /sys/kernel/debug/accel/<parent_device>/addr
11 What: /sys/kernel/debug/accel/<parent_device>/clk_gate
17 What: /sys/kernel/debug/accel/<parent_device>/command_buffers
24 What: /sys/kernel/debug/accel/<parent_device>/command_submission
31 What: /sys/kernel/debug/accel/<parent_device>/command_submission_jobs
38 What: /sys/kernel/debug/accel/<parent_device>/data32
53 What: /sys/kernel/debug/accel/<parent_device>/data64
68 What: /sys/kernel/debug/accel/<parent_device>/data_dma
86 What: /sys/kernel/debug/accel/<parent_device>/device
94 What: /sys/kernel/debug/accel/<parent_device>/device_release_watchdog_timeout
[all …]
/linux-6.15/drivers/media/platform/rockchip/rkisp1/
Drkisp1-debug.c196 struct rkisp1_debug *debug = &rkisp1->debug; in rkisp1_debug_init() local
199 debug->debugfs_dir = debugfs_create_dir(dev_name(rkisp1->dev), NULL); in rkisp1_debug_init()
201 debugfs_create_ulong("data_loss", 0444, debug->debugfs_dir, in rkisp1_debug_init()
202 &debug->data_loss); in rkisp1_debug_init()
203 debugfs_create_ulong("outform_size_err", 0444, debug->debugfs_dir, in rkisp1_debug_init()
204 &debug->outform_size_error); in rkisp1_debug_init()
206 debug->debugfs_dir, in rkisp1_debug_init()
207 &debug->img_stabilization_size_error); in rkisp1_debug_init()
208 debugfs_create_ulong("inform_size_error", 0444, debug->debugfs_dir, in rkisp1_debug_init()
209 &debug->inform_size_error); in rkisp1_debug_init()
[all …]
/linux-6.15/Documentation/devicetree/bindings/arm/
Darm,coresight-cpu-debug.yaml4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml#
7 title: CoreSight CPU Debug Component
16 CoreSight CPU debug component are compliant with the ARMv8 architecture
17 reference manual (ARM DDI 0487A.k) Chapter 'Part H: External debug'. The
18 external debug module is mainly used for two modes: self-hosted debug and
19 external debug, and it can be accessed from mmio region from Coresight and
20 eventually the debug module connects with CPU for debugging. And the debug
23 has one dedicated debug module to be connected.
29 const: arm,coresight-cpu-debug
39 - const: arm,coresight-cpu-debug
[all …]
/linux-6.15/arch/arm/
DKconfig.debug90 In most cases, say N here, unless you are intending to debug the
140 Say Y here if you want the debug print routines to direct
198 Say Y here if you want the debug print routines to direct
259 Say Y here if you want the debug print routines to direct
269 This low level debug works for Broadcom
278 bool "Marvell Berlin SoC Debug UART"
286 bool "Use BRCMSTB UART for low-level debug"
289 Say Y here if you want the debug print routines to direct
301 Say Y here if you want the debug print routines to direct
308 Say Y here if you want the debug print routines to direct
[all …]
/linux-6.15/Documentation/fault-injection/
Dfault-injection.rst40 debugfs entries under /sys/kernel/debug/mmc0/fail_mmc_request
46 under /sys/kernel/debug/fail_function. No boot option supported.
66 /sys/kernel/debug/fail_skb_realloc/devname.
77 debugfs entries under /sys/kernel/debug/nvme*/fault_inject. The default
99 - /sys/kernel/debug/fail*/probability:
107 /sys/kernel/debug/fail*/interval for such testcases.
109 - /sys/kernel/debug/fail*/interval:
117 - /sys/kernel/debug/fail*/times:
122 - /sys/kernel/debug/fail*/space:
128 - /sys/kernel/debug/fail*/verbose
[all …]
/linux-6.15/drivers/staging/vc04_services/interface/
DTESTING86 Command: cat /sys/kernel/debug/vchiq/state
97 DEBUG: SLOT_HANDLER_COUNT = 20(0x14)
98 DEBUG: SLOT_HANDLER_LINE = 1937(0x791)
99 DEBUG: PARSE_LINE = 1864(0x748)
100 DEBUG: PARSE_HEADER = -249155224(0xf1263168)
101 DEBUG: PARSE_MSGID = 67362817(0x403e001)
102 DEBUG: AWAIT_COMPLETION_LINE = 0(0x0)
103 DEBUG: DEQUEUE_MESSAGE_LINE = 0(0x0)
104 DEBUG: SERVICE_CALLBACK_LINE = 0(0x0)
105 DEBUG: MSG_QUEUE_FULL_COUNT = 0(0x0)
[all …]
/linux-6.15/Documentation/devicetree/bindings/soc/socionext/
Dsocionext,uniphier-soc-glue-debug.yaml4 $id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml#
7 title: Socionext UniPhier SoC-glue logic debug part
13 SoC-glue logic debug part implemented on Socionext UniPhier SoCs is
15 system components for debug and monitor use.
21 - socionext,uniphier-ld4-soc-glue-debug
22 - socionext,uniphier-pro4-soc-glue-debug
23 - socionext,uniphier-pro5-soc-glue-debug
24 - socionext,uniphier-pxs2-soc-glue-debug
25 - socionext,uniphier-sld8-soc-glue-debug
26 - socionext,uniphier-ld11-soc-glue-debug
[all …]
/linux-6.15/drivers/net/wireless/st/cw1200/
Ddebug.h35 ++priv->debug->tx; in cw1200_debug_txed()
40 ++priv->debug->tx_agg; in cw1200_debug_txed_agg()
46 ++priv->debug->tx_multi; in cw1200_debug_txed_multi()
47 priv->debug->tx_multi_frames += count; in cw1200_debug_txed_multi()
52 ++priv->debug->rx; in cw1200_debug_rxed()
57 ++priv->debug->rx_agg; in cw1200_debug_rxed_agg()
62 ++priv->debug->tx_cache_miss; in cw1200_debug_tx_cache_miss()
67 ++priv->debug->tx_align; in cw1200_debug_tx_align()
72 ++priv->debug->tx_ttl; in cw1200_debug_tx_ttl()
77 ++priv->debug->tx_burst; in cw1200_debug_tx_burst()
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn31.c427 timeout = dmub->debug.timeout_info; in dmub_dcn31_get_diagnostic_data()
428 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn31_get_diagnostic_data()
429 dmub->debug.timeout_info = timeout; in dmub_dcn31_get_diagnostic_data()
431 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn31_get_diagnostic_data()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn31_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn31_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn31_get_diagnostic_data()
437 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn31_get_diagnostic_data()
438 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn31_get_diagnostic_data()
[all …]
Ddmub_dcn32.c430 timeout = dmub->debug.timeout_info; in dmub_dcn32_get_diagnostic_data()
431 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn32_get_diagnostic_data()
432 dmub->debug.timeout_info = timeout; in dmub_dcn32_get_diagnostic_data()
434 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn32_get_diagnostic_data()
436 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_diagnostic_data()
437 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn32_get_diagnostic_data()
438 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn32_get_diagnostic_data()
439 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn32_get_diagnostic_data()
440 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn32_get_diagnostic_data()
441 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn32_get_diagnostic_data()
[all …]
Ddmub_dcn20.c427 timeout = dmub->debug.timeout_info; in dmub_dcn20_get_diagnostic_data()
428 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn20_get_diagnostic_data()
429 dmub->debug.timeout_info = timeout; in dmub_dcn20_get_diagnostic_data()
431 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn20_get_diagnostic_data()
433 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
434 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data()
435 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn20_get_diagnostic_data()
436 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn20_get_diagnostic_data()
437 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn20_get_diagnostic_data()
438 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn20_get_diagnostic_data()
[all …]
Ddmub_dcn35.c475 timeout = dmub->debug.timeout_info; in dmub_dcn35_get_diagnostic_data()
476 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn35_get_diagnostic_data()
477 dmub->debug.timeout_info = timeout; in dmub_dcn35_get_diagnostic_data()
479 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn35_get_diagnostic_data()
481 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn35_get_diagnostic_data()
482 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn35_get_diagnostic_data()
483 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn35_get_diagnostic_data()
484 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn35_get_diagnostic_data()
485 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn35_get_diagnostic_data()
486 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn35_get_diagnostic_data()
[all …]
Ddmub_dcn401.c428 timeout = dmub->debug.timeout_info; in dmub_dcn401_get_diagnostic_data()
429 memset(&dmub->debug, 0, sizeof(dmub->debug)); in dmub_dcn401_get_diagnostic_data()
430 dmub->debug.timeout_info = timeout; in dmub_dcn401_get_diagnostic_data()
432 dmub->debug.dmcub_version = dmub->fw_version; in dmub_dcn401_get_diagnostic_data()
434 dmub->debug.scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn401_get_diagnostic_data()
435 dmub->debug.scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn401_get_diagnostic_data()
436 dmub->debug.scratch[2] = REG_READ(DMCUB_SCRATCH2); in dmub_dcn401_get_diagnostic_data()
437 dmub->debug.scratch[3] = REG_READ(DMCUB_SCRATCH3); in dmub_dcn401_get_diagnostic_data()
438 dmub->debug.scratch[4] = REG_READ(DMCUB_SCRATCH4); in dmub_dcn401_get_diagnostic_data()
439 dmub->debug.scratch[5] = REG_READ(DMCUB_SCRATCH5); in dmub_dcn401_get_diagnostic_data()
[all …]
/linux-6.15/drivers/net/wireless/ath/ath9k/
Ddebug.c32 sc->debug.stats.istats.sync_cause_all++; in ath9k_debug_sync_cause()
34 sc->debug.stats.istats.sync_rtc_irq++; in ath9k_debug_sync_cause()
36 sc->debug.stats.istats.sync_mac_irq++; in ath9k_debug_sync_cause()
38 sc->debug.stats.istats.eeprom_illegal_access++; in ath9k_debug_sync_cause()
40 sc->debug.stats.istats.apb_timeout++; in ath9k_debug_sync_cause()
42 sc->debug.stats.istats.pci_mode_conflict++; in ath9k_debug_sync_cause()
44 sc->debug.stats.istats.host1_fatal++; in ath9k_debug_sync_cause()
46 sc->debug.stats.istats.host1_perr++; in ath9k_debug_sync_cause()
48 sc->debug.stats.istats.trcv_fifo_perr++; in ath9k_debug_sync_cause()
50 sc->debug.stats.istats.radm_cpl_ep++; in ath9k_debug_sync_cause()
[all …]
/linux-6.15/drivers/pci/hotplug/
Dibmphp_ebda.c114 debug("%s - slot_min = %x\n", __func__, ptr->slot_min); in print_bus_info()
115 debug("%s - slot_max = %x\n", __func__, ptr->slot_max); in print_bus_info()
116 debug("%s - slot_count = %x\n", __func__, ptr->slot_count); in print_bus_info()
117 debug("%s - bus# = %x\n", __func__, ptr->busno); in print_bus_info()
118 debug("%s - current_speed = %x\n", __func__, ptr->current_speed); in print_bus_info()
119 debug("%s - controller_id = %x\n", __func__, ptr->controller_id); in print_bus_info()
121 debug("%s - slots_at_33_conv = %x\n", __func__, ptr->slots_at_33_conv); in print_bus_info()
122 debug("%s - slots_at_66_conv = %x\n", __func__, ptr->slots_at_66_conv); in print_bus_info()
123 debug("%s - slots_at_66_pcix = %x\n", __func__, ptr->slots_at_66_pcix); in print_bus_info()
124 debug("%s - slots_at_100_pcix = %x\n", __func__, ptr->slots_at_100_pcix); in print_bus_info()
[all …]

12345678910>>...181