/linux/Documentation/trace/ |
H A D | mmiotrace.rst | 2 In-kernel memory-mapped I/O tracing 10 MMIO tracing was originally developed by Intel around 2003 for their Fault 11 Injection Test Harness. In Dec 2006 - Jan 2007, using the code from Intel, 15 Mmiotrace was built for reverse engineering any memory-mapped IO device with 19 Out-of-tree mmiotrace was originally modified for mainline inclusion and 24 ----------- 29 is on-line, therefore mmiotrace takes all but one CPU off-line during run-time 30 activation. You can re-enable CPUs by hand, but you have been warned, there 35 --------------------- 38 $ mount -t debugfs debugfs /sys/kernel/debug [all …]
|
/linux/lib/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0-only 19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst 35 no option to enable/disable at the kernel command line parameter or 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)" 80 Default log level for printk statements with no specified priority. 82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks 101 See a previous boot log for the "lpj" value to use for your [all …]
|
/linux/drivers/regulator/ |
H A D | slg51000-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // SLG51000 High PSRR, Multi-Output Regulators 20 #include "slg51000-regulator.h" 182 .enable = regulator_enable_regmap, 192 .enable = regulator_enable_regmap, 203 ena_gpiod = fwnode_gpiod_get_index(of_fwnode_handle(np), "enable", 0, in slg51000_of_parse_cb() 206 "gpio-en-ldo"); in slg51000_of_parse_cb() 208 config->ena_gpiod = ena_gpiod; in slg51000_of_parse_cb() 258 chip->rdesc[id] = ®ls_desc[id]; in slg51000_regulator_init() 259 rdesc = chip->rdesc[id]; in slg51000_regulator_init() [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc4282.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 12 Addresses scanned: - I2C 0x40 - 0x5A (7-bit) 13 Addresses scanned: - I2C 0x80 - 0xB4 with a step of 2 (8-bit) 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 25 from a live backplane. Using one or more external N-channel pass transistors, 28 power, energy and fault status. The device features analog foldback current 31 parallel MOSFETs or support a 2-stage start-up that first charges the load 32 capacitance followed by enabling a low on-resistance path to the load. The 35 and power supplies must safely operate. Non-volatile configuration allows for 41 The following attributes are supported. Limits are read-write and all the other [all …]
|
/linux/drivers/edac/ |
H A D | zynqmp_edac.c | 1 // SPDX-License-Identifier: GPL-2.0 51 /* Fault injection data and count registers */ 70 #define EDAC_DEVICE "ZynqMP-OCM" 73 * struct ecc_error_info - ECC error log information 74 * @addr: Fault generated at this address 75 * @fault_lo: Generated fault data (lower 32-bit) 76 * @fault_hi: Generated fault data (upper 32-bit) 85 * struct ecc_status - ECC status information to report 88 * @ceinfo: Correctable error log information 89 * @ueinfo: Uncorrectable error log information [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | adi,ltc4282.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sa <nuno.sa@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf 20 - adi,ltc4282 25 vdd-supply: true 30 '#clock-cells': 33 adi,rsense-nano-ohms: 36 adi,vin-mode-microvolt: [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | lppaca.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 36 * Pre-v4.14 KVM hypervisors reject the VPA if its size field is smaller than 41 /* cacheline 1 contains read-only data */ 55 /* cacheline 2 contains local read-write data */ 61 u8 dtl_enable_mask; /* Dispatch Trace Log mask */ 65 u8 l2_counters_enable; /* Enable usage of counters for KVM guest */ 85 volatile __be64 cmo_faults; /* CMO page fault count */ 86 volatile __be64 cmo_fault_time; /* CMO page fault time */ 88 volatile __be64 enqueue_dispatch_tb; /* Total TB enqueue->dispatch */ 89 volatile __be64 ready_enqueue_tb; /* Total TB ready->enqueue */ [all …]
|
/linux/lib/kunit/ |
H A D | Kconfig | 6 tristate "KUnit - Enable support for unit tests" 14 Documentation/dev-tools/kunit/. 19 bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS 22 Enable debugfs representation for kunit. Currently this consists 28 bool "Enable KUnit tests which print BUG stacktraces" 33 Enables fault handling tests for the KUnit framework. These tests may 55 itself, lib/kunit/example-test.c, for more information. This option 63 KUnit tests run during boot and output the results to the debug log 69 to the KUnit documentation in Documentation/dev-tools/kunit/. 74 bool "Default value of kunit.enable" [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_ras.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 /* HI AE Correctable error log */ 16 /* HI AE Correctable error log enable */ 31 /* HI AE Uncorrectable error log */ 34 /* HI AE Uncorrectable error log enable */ 37 /* HI CPP Agent Command parity error log */ 40 /* HI CPP Agent Command parity error logging enable */ 46 /* RI Memory parity error reporting enable */ 51 * BIT(0) - BIT(3) - ri_iosf_pdata_rxq[0:3] parity error 52 * BIT(4) - ri_tlq_phdr parity error [all …]
|
/linux/fs/f2fs/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 F2FS is based on Log-structured File System (LFS), which supports 21 versatile "flash-friendly" features. The design has been focused on 25 Since flash-based storages show different characteristics according to 27 and tools support various parameters not only for configuring on-disk 41 - major filesystem information managed by f2fs currently 42 - average SIT information about whole segments 43 - current memory footprint consumed by f2fs. 75 option if you use the setcap command to assign initial process capabi- 89 bool "F2FS fault injection facility" [all …]
|
/linux/arch/x86/kernel/ |
H A D | fred.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 /* When FRED is enabled by default, remove this log message */ in cpu_init_fred_exceptions() 39 * fault is generated because SS doesn't match the SS saved in the FRED in cpu_init_fred_exceptions() 58 /* Enable FRED */ in cpu_init_fred_exceptions() 63 /* Use int $0x80 for 32-bit system calls in FRED mode */ in cpu_init_fred_exceptions()
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | dirty_log_page_splitting_test.c | 1 // SPDX-License-Identifier: GPL-2.0 44 stats->pages_4k = vm_get_stat(vm, "pages_4k"); in get_page_stats() 45 stats->pages_2m = vm_get_stat(vm, "pages_2m"); in get_page_stats() 46 stats->pages_1g = vm_get_stat(vm, "pages_1g"); in get_page_stats() 47 stats->hugepages = stats->pages_2m + stats->pages_1g; in get_page_stats() 50 stage, stats->pages_4k, stats->pages_2m, stats->pages_1g, in get_page_stats() 51 stats->hugepages); in get_page_stats() 68 struct kvm_vcpu *vcpu = vcpu_args->vcpu; in vcpu_worker() 69 int vcpu_idx = vcpu_args->vcpu_idx; in vcpu_worker() 106 guest_num_pages = (VCPUS * guest_percpu_mem_size) >> vm->page_shift; in run_test() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.h | 15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 48 * Ring size as power of two for the log of recent faults. 54 * Hash size as power of two for the log of recent faults 60 * Number of IH timestamp ticks until a fault is considered handled 84 * GMC page fault information 146 /* Change the VMID -> PASID mapping */ 149 /* enable/disable PRT support */ 150 void (*set_prt)(struct amdgpu_device *adev, bool enable); 160 /* override per-page pte flags */ 164 /* get the amount of memory used by the vbios for pre-OS console */ [all …]
|
/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 2 Fault injection capabilities infrastructure 5 See also drivers/md/md-faulty.c and "every_nth" module option for scsi_debug. 8 Available fault injection capabilities 9 -------------------------------------- 11 - failslab 15 - fail_page_alloc 19 - fail_usercopy 23 - fail_futex 25 injects futex deadlock and uaddr fault errors. 27 - fail_sunrpc [all …]
|
/linux/arch/sparc/kernel/ |
H A D | pci_psycho.c | 1 // SPDX-License-Identifier: GPL-2.0 40 #define PSYCHO_CONTROL_APCKEN 0x0000000000000008UL /* Address Parity Check Enable */ 54 #define PSYCHO_PCICTRL_WEN 0x0000000000000200UL /* Power Mgmt Wake Enable */ 55 #define PSYCHO_PCICTRL_EEN 0x0000000000000100UL /* PCI Error Interrupt Enable */ 57 #define PSYCHO_PCICTRL_AEN 0x000000000000003fUL /* PCI DVMA Arbitration Enable */ 72 #define PSYCHO_STRBUF_CTRL_LENAB 0x0000000000000008UL /* LRU Lock Enable */ 74 #define PSYCHO_STRBUF_CTRL_DENAB 0x0000000000000002UL /* Diagnostic Mode Enable */ 75 #define PSYCHO_STRBUF_CTRL_ENAB 0x0000000000000001UL /* Streaming Buffer Enable */ 96 #define PSYCHO_IOMMU_CTRL_LCKEN 0x0000000000800000UL /* Enable translation locking */ 99 #define PSYCHO_IOMMU_TSBSZ_1K 0x0000000000000000UL /* TSB Table 1024 8-byte entries */ [all …]
|
H A D | sbus.c | 1 // SPDX-License-Identifier: GPL-2.0 37 #define IOMMU_CONTROL (0x2400UL - 0x2400UL) /* IOMMU control register */ 38 #define IOMMU_TSBBASE (0x2408UL - 0x2400UL) /* TSB base address register */ 39 #define IOMMU_FLUSH (0x2410UL - 0x2400UL) /* IOMMU flush register */ 40 #define IOMMU_VADIAG (0x4400UL - 0x2400UL) /* SBUS virtual address diagnostic */ 41 #define IOMMU_TAGCMP (0x4408UL - 0x2400UL) /* TLB tag compare diagnostics */ 42 #define IOMMU_LRUDIAG (0x4500UL - 0x2400UL) /* IOMMU LRU queue diagnostics */ 43 #define IOMMU_TAGDIAG (0x4580UL - 0x2400UL) /* TLB tag diagnostics */ 44 #define IOMMU_DRAMDIAG (0x4600UL - 0x2400UL) /* TLB data RAM diagnostics */ 50 #define STRBUF_CONTROL (0x2800UL - 0x2800UL) /* Control */ [all …]
|
/linux/drivers/dma/idxd/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/io-64-nonatomic-lo-hi.h> 35 struct device *dev = &idxd->pdev->dev; in idxd_device_reinit() 47 for (i = 0; i < idxd->max_wqs; i++) { in idxd_device_reinit() 48 if (test_bit(i, idxd->wq_enable_map)) { in idxd_device_reinit() 49 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_reinit() 53 clear_bit(i, idxd->wq_enable_map); in idxd_device_reinit() 54 dev_warn(dev, "Unable to re-enable wq %s\n", in idxd_device_reinit() 74 struct idxd_device *idxd = wq->idxd; in idxd_int_handle_revoke_drain() 75 struct device *dev = &idxd->pdev->dev; in idxd_int_handle_revoke_drain() [all …]
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 14 #include <linux/blk-mq.h> 15 #include <linux/blk-mq-pci.h> 61 #define MPI3MR_DRIVER_RELDATE "11-November-2024" 65 #define MPI3MR_DRIVER_AUTHOR "Broadcom Inc. <mpi3mr-linuxdrv.pdl@broadcom.com>" 109 MPI3MR_NUM_DEVRMCMD - 1) 115 MPI3MR_NUM_EVTACKCMD - 1) 242 * struct mpi3mr_nvme_pt_sge - Structure to store SGEs for NVMe [all …]
|
/linux/Documentation/sound/designs/ |
H A D | procfile.rst | 15 card-specific files are stored in the ``card*`` subdirectories. 40 ``<card>-<device>: <name>`` 44 ``<card>-<device>: <id>: <name> : <sub-streams>`` 61 The card-specific files are found in ``/proc/asound/card*`` directories. 81 mapping by writing to this device. Read OSS-Emulation.txt for 104 * bit 0 = Enable XRUN/jiffies debug messages 106 * bit 2 = Enable additional jiffies check 109 kernel log when an xrun is detected. The debug message is 117 Since 2.6.30, this option can enable the hwptr check using 124 The general information of this PCM sub-stream. [all …]
|
/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_dev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2020 Broadcom. 7 #include <linux/dma-mapping.h> 49 {VK_IMAGE_TYPE_BOOT1, {"vk_a0-boot1.bin", "vk-boot1.bin"}}, 50 {VK_IMAGE_TYPE_BOOT2, {"vk_a0-boot2.bin", "vk-boot2.bin"}} 53 {VK_IMAGE_TYPE_BOOT1, {"vk_b0-boot1.bin", "vk-boot1.bin"}}, 54 {VK_IMAGE_TYPE_BOOT2, {"vk_b0-boot2.bin", "vk-boot2.bin"}} 58 {VK_IMAGE_TYPE_BOOT1, {"vp-boot1.bin", ""}}, 59 {VK_IMAGE_TYPE_BOOT2, {"vp-boot2.bin", ""}} 110 "Number of in-band msg blks for short SGL.\n"); [all …]
|
/linux/arch/x86/include/asm/ |
H A D | mce.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define MCG_ELOG_P BIT_ULL(26) /* Extended error log supported */ 29 #define MCG_STATUS_SEAM_NR BIT_ULL(12) /* Machine check inside SEAM non-root mode */ 32 #define MCG_EXT_CTL_LMCE_EN BIT_ULL(0) /* Enable LMCE */ 49 /* AMD-specific bits */ 58 * - Deferred error interrupt type is specifiable by bank. 59 * - MCx_MISC0[BlkPtr] field indicates presence of extended MISC registers, 61 * - TCC bit is present in MCx_STATUS. 73 * of uncorrected errors - so the F bit is deliberately skipped 79 #define MCACOD_SCRUB 0x00C0 /* 0xC0-0xCF Memory Scrubbing */ [all …]
|
/linux/Documentation/arch/x86/x86_64/ |
H A D | boot-options.rst | 1 .. SPDX-License-Identifier: GPL-2.0 39 Do not opt-in to Local MCE delivery. Use legacy method 42 Enable logging of machine checks left over from booting. 45 If your BIOS doesn't do that it's a good idea to enable though 46 to make sure you log even machine check events that result 55 Don't overwrite the bios-set CMCI threshold. This boot option 62 Force-enable recoverable machine check code paths 73 Use IO-APIC. Default 76 Don't use the IO-APIC. 85 See Documentation/arch/x86/i386/IO-APIC.rst [all …]
|
/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2019 Intel Corporation. */ 15 * fm10k_pci_tbl - PCI Device ID Table 35 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word() 38 if (FM10K_REMOVED(hw->hw_addr)) in fm10k_read_pci_cfg_word() 41 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word() 50 u32 __iomem *hw_addr = READ_ONCE(hw->hw_addr); in fm10k_read_reg() 58 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg() 59 struct net_device *netdev = interface->netdev; in fm10k_read_reg() 61 hw->hw_addr = NULL; in fm10k_read_reg() [all …]
|
/linux/drivers/scsi/ |
H A D | sense_codes.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * http://www.t10.org/lists/asc-num.txt [most recent: 20200817] 9 SENSE_CODE(0x0002, "End-of-partition/medium detected") 11 SENSE_CODE(0x0004, "Beginning-of-partition/medium detected") 12 SENSE_CODE(0x0005, "End-of-data detected") 38 SENSE_CODE(0x0300, "Peripheral device write fault") 51 SENSE_CODE(0x0409, "Logical unit not ready, self-test in progress") 58 SENSE_CODE(0x0411, "Logical unit not ready, notify (enable spinup) required") 87 SENSE_CODE(0x0801, "Logical unit communication time-out") 89 SENSE_CODE(0x0803, "Logical unit communication CRC error (Ultra-DMA/32)") [all …]
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.h | 6 * Copyright (C) 2012-2014 LSI Corporation 7 * Copyright (C) 2013-2014 Avago Technologies 8 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 78 #define MPT3SAS_AUTHOR "Avago Technologies <MPT-FusionLinux.pdl@avagotech.com>" 100 #define MPT3SAS_TIMESYNC_MASK (0x7F) /* 0 - 6 bits */ 183 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__) 185 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__) 187 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__) [all …]
|