| /kernel/platform/pc/ |
| A D | pcie_quirks.cpp | 86 TRACEF("WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n"); in pcie_tolud_quirk() 87 TRACEF("WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n"); in pcie_tolud_quirk() 88 TRACEF("PCIe TOLUD quirk was not able to identify the chipset we are running on!\n"); in pcie_tolud_quirk() 89 TRACEF("Someone needs to teach this quirk about the new chipset!\n"); in pcie_tolud_quirk() 90 TRACEF("WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n"); in pcie_tolud_quirk() 91 TRACEF("WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING\n"); in pcie_tolud_quirk() 126 TRACEF("WARNING : PCIe TOLUD Quirk failed to subtract region " in pcie_tolud_quirk() 172 TRACEF("WARNING: AMD TOP_MEM >= 4GB\n"); in pcie_amd_topmem_quirk() 178 TRACEF("WARNING : PCIe AMD top_mem quirk failed to subtract region " in pcie_amd_topmem_quirk() 191 TRACEF("WARNING : PCIe AMD top_mem quirk failed to add 64bit region " in pcie_amd_topmem_quirk()
|
| A D | acpi.cpp | 42 TRACEF("WARNING: could not find ACPI tables\n"); in platform_init_acpi_tables() 45 TRACEF("WARNING: could not initialize ACPI tables\n"); in platform_init_acpi_tables() 48 TRACEF("WARNING: could not initialize ACPI tables for unknown reason\n"); in platform_init_acpi_tables() 63 TRACEF("could not find MADT\n"); in acpi_get_madt_record_limits() 70 TRACEF("MADT wraps around address space\n"); in acpi_get_madt_record_limits() 75 TRACEF("MADT suspiciously long: %u\n", madt->Header.Length); in acpi_get_madt_record_limits() 129 TRACEF("malformed MADT\n"); in platform_enumerate_cpus() 182 TRACEF("malformed MADT\n"); in platform_enumerate_io_apics() 268 TRACEF("malformed MADT\n"); in platform_enumerate_interrupt_source_overrides() 285 TRACEF("could not find HPET\n"); in platform_find_hpet() [all …]
|
| A D | platform_pcie.cpp | 68 TRACEF("Failed to initialize PCI bus driver (res = %d). " in x86_pcie_init_hook() 87 TRACEF("WARNING - Failed to add initial PCIe PIO region " in x86_pcie_init_hook() 106 TRACEF("WARNING - Failed to add initial PCIe MMIO region " in x86_pcie_init_hook() 123 TRACEF("FATAL ERROR - Failed to subtract PCIe MMIO region " in x86_pcie_init_hook() 136 TRACEF("FATAL ERROR - Failed to enumerate e820 (res = %d)\n", res); in x86_pcie_init_hook()
|
| A D | memory.cpp | 375 TRACEF("Error adding arenas from provided memory tables.\n"); in pc_mem_init() 396 TRACEF("ERROR - Too many e820 entries to hold in the cache!\n"); in pc_mem_init() 426 TRACEF("ERROR - No e820 range entries found! This is going to end badly for everyone.\n"); in pc_mem_init() 430 TRACEF("WARNING - Failed to assign bootstrap16 region, SMP won't work\n"); in pc_mem_init() 459 TRACEF("failed to create backing resource for boot memory region %#lx - %#lx: %d\n", in x86_resource_init_hook()
|
| /kernel/lib/fixed_point/include/lib/ |
| A D | fixed_point_debug.h | 66 TRACEF(" %s%08x%s * %s%08x%s = %s%08x%s%08x%s\n", in debug_mul_u32_u32() 81 TRACEF(" %08x * %08x.%08x %08x" in debug_u64_mul_u32_fp32_64() 85 TRACEF(" " in debug_u64_mul_u32_fp32_64() 96 TRACEF("%08x %08x * %08x.%08x %08x" in debug_u32_mul_u64_fp32_64() 100 TRACEF(" " in debug_u32_mul_u64_fp32_64() 111 TRACEF("%08x %08x * %08x.%08x %08x" in debug_u64_mul_u64_fp32_64() 115 TRACEF(" " in debug_u64_mul_u64_fp32_64()
|
| /kernel/dev/pcie/address_provider/ |
| A D | designware.cpp | 43 TRACEF("Root bridge must be responsible for only bus 0\n"); in Init() 48 TRACEF("Downstream device must responsible for only bus 1\n"); in Init() 54 TRACEF("Failed to allocate root_bridge ECAM region\n"); in Init() 60 TRACEF("Failed to allocate downstream ECAM region\n"); in Init() 66 TRACEF("Failed to map root bridge ECAM region\n"); in Init() 71 TRACEF("Failed to map downstream ECAM region\n"); in Init() 84 …TRACEF("DesignWarePcieAddressProvider::Translate called before DesignWarePcieAddressProvider::Init… in Translate()
|
| A D | mmio.cpp | 93 TRACEF("Failed to allocate ECAM region for bus range [0x%02x, 0x%02x]\n", in AddEcamRegion() 100 TRACEF("Failed to map ECAM region for bus range [0x%02x, 0x%02x]\n", in AddEcamRegion()
|
| /kernel/include/ |
| A D | trace.h | 21 #define TRACEF(str, x...) do { printf("%s:%d: " str, __FUNC__, __LINE__, ## x); } while (0) macro 29 #define LTRACEF(x...) do { if (LOCAL_TRACE) { TRACEF(x); } } while (0) 30 #define LTRACEF_LEVEL(level, x...) do { if (LOCAL_TRACE >= (level)) { TRACEF(x); } } while (0)
|
| /kernel/lib/mtrace/ |
| A D | mtrace-ipt.cpp | 27 TRACEF("action %u, options 0x%x, arg %p, size 0x%zx\n", in mtrace_insntrace_control() 40 TRACEF("action %u, mode %u, num traces %u\n", action, config.mode, config.num_traces); in mtrace_insntrace_control() 68 TRACEF("action %u, descriptor %u, ctl 0x%" PRIx64 ", output_base 0x%" PRIx64 "\n", in mtrace_insntrace_control() 81 TRACEF("action %u, descriptor %u, ctl 0x%" PRIx64 ", output_base 0x%" PRIx64 "\n", in mtrace_insntrace_control()
|
| /kernel/syscalls/ |
| A D | system_x86.cpp | 82 TRACEF("Entering x86_acpi_transition_s_state\n"); in suspend_thread() 87 TRACEF("x86_acpi_transition_s_state failed: %x\n", acpi_status); in suspend_thread() 90 TRACEF("Left x86_acpi_transition_s_state\n"); in suspend_thread() 158 TRACEF("Bad S-state: S%u\n", target_s_state); in acpi_transition_s_state() 164 TRACEF("Too many CPUs running for state S%u\n", target_s_state); in acpi_transition_s_state()
|
| A D | ddk_pci.cpp | 196 TRACEF("%u address window%s found in init arg\n", arg->addr_window_count, in sys_pci_init() 279 TRACEF("PCIe config space collides with arch devices, truncating\n"); in sys_pci_init() 311 TRACEF("Failed to allocate PCIe Address Provider\n"); in sys_pci_init() 333 TRACEF("Failed to set Address Translation Provider, st = %d\n", ret); in sys_pci_init() 342 TRACEF("Failed to allocate PCIe address provider\n"); in sys_pci_init() 348 TRACEF("Failed to set Address Translation Provider, st = %d\n", ret); in sys_pci_init() 355 TRACEF("DesignWare Config Space requires at least 2 windows\n"); in sys_pci_init() 361 TRACEF("Failed to allocate PCIe address provider\n"); in sys_pci_init() 391 TRACEF("Failed to set Address Translation Provider, st = %d\n", ret); in sys_pci_init() 396 TRACEF("Unknown config space type!\n"); in sys_pci_init() [all …]
|
| /kernel/dev/pcie/ |
| A D | pcie_bridge.cpp | 51 TRACEF("Out of memory attemping to create PCIe bridge %02x:%02x.%01x.\n", in Create() 59 TRACEF("Failed to initialize PCIe bridge %02x:%02x.%01x. (res %d)\n", in Create() 87 TRACEF("PCI-to-PCI bridge detected at %02x:%02x.%01x claims to be bridged to itsef " in Init() 94 TRACEF("PCI-to-PCI bridge detected at %02x:%02x.%01x has invalid primary bus id " in Init() 101 TRACEF("PCI-to-PCI bridge detected at %02x:%02x.%01x has invalid secondary bus id " in Init() 225 TRACEF("Failed to allocate bridge PIO window [0x%08x, 0x%08x]\n", io_base_, io_limit_); in AllocateBridgeWindowsLocked() 239 TRACEF("Failed to allocate bridge MMIO window [0x%08x, 0x%08x]\n", in AllocateBridgeWindowsLocked() 267 TRACEF("Failed to allocate bridge prefetcable MMIO window " in AllocateBridgeWindowsLocked()
|
| A D | pcie_caps.cpp | 64 TRACEF("Length of %u does not match the spec length of %u!\n", length, PCS_ADVCAPS_LENGTH); in PciCapAdvFeatures() 82 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has more than one PCI " in PciCapPcie() 135 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has a Type 0 PCIe " in PciCapPcie() 152 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has a Type 1 PCIe " in PciCapPcie() 163 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has an illegal PCIe " in PciCapPcie() 220 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has illegally positioned MSI " in PciCapMsi() 236 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has invalid Multi-Message " in PciCapMsi() 294 TRACEF("Device %02x:%02x.%01x (%04hx:%04hx) has invalid cptr (%#02x)\n", in ParseStdCapabilitiesLocked() 329 TRACEF("Could not allocate memory fori capability 0x%02x\n", id); in ParseStdCapabilitiesLocked()
|
| A D | pcie_bus_driver.cpp | 80 TRACEF("Cannot add more PCIe roots once the bus driver has been started!\n"); in AddRoot() 88 TRACEF("Failed to add PCIe root for bus %u, root already exists!\n", in AddRoot() 99 TRACEF("Cannot set an address provider if the driver is already running\n"); in SetAddressTranslationProvider() 114 TRACEF("Cannot rescan devices until the bus driver is operational!\n"); in RescanDevices() 149 TRACEF("Failed to advance PCIe bus driver state to %u. " in AdvanceState() 367 TRACEF("Failed to create pool allocator for Region bookkeeping!\n"); in AllocBookkeeping() 466 TRACEF("Failed to initialize PCIe bus driver; driver already initialized\n"); in InitializeDriver() 473 TRACEF("Failed to allocate PCIe bus driver\n"); in InitializeDriver() 512 TRACEF("Cannot get state if no address translation provider is set\n"); in GetConfig() 571 TRACEF("Disabling device %#02x:%#02x.%01x - VID %#04x DID %#04x\n", in DisableBus() [all …]
|
| A D | pcie_device.cpp | 61 TRACEF("Out of memory attemping to create PCIe device %02x:%02x.%01x.\n", in Create() 69 TRACEF("Failed to initialize PCIe device %02x:%02x.%01x. (res %d)\n", in Create() 127 TRACEF("Failed to fetch config for device %02x:%02x.%01x.\n", bus_id_, dev_id_, func_id_); in InitLocked() 288 TRACEF("Timeout waiting for pending transactions to clear the bus " in DoFunctionLevelReset() 333 TRACEF("Timeout waiting for %02x:%02x.%01x to complete function " in DoFunctionLevelReset() 399 TRACEF("Device %02x:%02x:%01x claims to have 64-bit BAR in position %u/%u!\n", in ProbeBarsLocked() 426 TRACEF("Illegal 64-bit MMIO BAR position (%u/%u) while fetching BAR info " in ProbeBarLocked() 433 TRACEF("Unrecognized MMIO BAR type (BAR[%u] == 0x%08x) while fetching BAR info " in ProbeBarLocked() 569 TRACEF("Failed to preserve device %02x:%02x.%01x's %s window " in AllocateBarLocked() 617 TRACEF("Failed to dynamically allocate %s BAR region (size %#" PRIx64 ") " in AllocateBarLocked() [all …]
|
| A D | pcie_upstream_node.cpp | 78 TRACEF("Warning: bus being scanned is outside ecam region!\n"); in ScanDownstream() 98 TRACEF("Failed to initialize device %02x:%02x.%01x; This is Very Bad. " in ScanDownstream()
|
| /kernel/arch/x86/ |
| A D | perf_mon.cpp | 421 TRACEF("perfmon: unsupported pci device: 0x%x.0x%x\n", in x86_perfmon_have_mchbar_data() 439 TRACEF("perfmon: error %d reading mchbar\n", status); in x86_perfmon_init_mchbar() 744 TRACEF("IA32_DEBUGCTL_FREEZE_PERFMON_ON_PMI not set\n"); in x86_perfmon_verify_control_config() 749 TRACEF("IA32_DEBUGCTL_FREEZE_PERFMON_ON_PMI is set\n"); in x86_perfmon_verify_control_config() 755 TRACEF("Non writable bits set in |global_ctrl|\n"); in x86_perfmon_verify_control_config() 759 TRACEF("Non writable bits set in |fixed_ctrl|\n"); in x86_perfmon_verify_control_config() 763 TRACEF("Non writable bits set in |debug_ctrl|\n"); in x86_perfmon_verify_control_config() 777 TRACEF("Active fixed events not front-filled\n"); in x86_perfmon_verify_fixed_config() 795 TRACEF("Unused |fixed_flags[%u]| not zero\n", i); in x86_perfmon_verify_fixed_config() 902 TRACEF("Active misc events not front-filled\n"); in x86_perfmon_verify_misc_config() [all …]
|
| A D | bootstrap16.cpp | 103 TRACEF("Failed to create wakeup bootstrap aspace\n"); in x86_bootstrap16_acquire() 119 TRACEF("could not allocate AP bootstrap page: %d\n", status); in x86_bootstrap16_acquire() 142 TRACEF("bootstrap PML4 was not allocated out of low mem\n"); in x86_bootstrap16_acquire()
|
| A D | proc_trace.cpp | 271 TRACEF("Starting processor trace, kernel cr3: 0x%" PRIxPTR "\n", in x86_ipt_start() 277 …TRACEF("Cpu %u: ctl 0x%" PRIx64 ", status 0x%" PRIx64 ", base 0x%" PRIx64 ", mask 0x%" PRIx64 "\n", in x86_ipt_start() 348 TRACEF("Stopping processor trace\n"); in x86_ipt_stop() 360 …TRACEF("Cpu %u: ctl 0x%" PRIx64 ", status 0x%" PRIx64 ", base 0x%" PRIx64 ", mask 0x%" PRIx64 "\n", in x86_ipt_stop()
|
| /kernel/tests/ |
| A D | benchmarks.cpp | 31 TRACEF("error: malloc failed\n"); in bench_set_overhead() 53 TRACEF("error: memalign failed\n"); in bench_memset() 77 TRACEF("error: memalign failed\n"); in bench_memset_per_page() 103 TRACEF("error: memalign failed\n"); in bench_zero_page() 130 TRACEF("error: malloc failed\n"); in bench_cset() 156 TRACEF("error: malloc failed\n"); in bench_cset_wide() 189 TRACEF("error: calloc failed\n"); in bench_memcpy()
|
| /kernel/dev/interrupt/arm_gic/v2/ |
| A D | arm_gicv2m_pcie.cpp | 68 TRACEF("Failed to initialize MSI allocator (res = %d). PCI will be " in arm_gicv2_pcie_init() 82 TRACEF("Failed to initialize PCI bus driver (res %d). " in arm_gicv2_pcie_init()
|
| A D | arm_gicv2m_msi.cpp | 28 TRACEF("Failed to initialize 32 bit allocation pool!\n"); in arm_gicv2m_msi_init() 34 TRACEF("Failed to initialize 64 bit allocation pool!\n"); in arm_gicv2m_msi_init() 57 TRACEF("Failed to add MSI IRQ range [%u, %u] to allocator (ret %d).\n", in arm_gicv2m_msi_init()
|
| /kernel/dev/interrupt/arm_gic/v3/ |
| A D | arm_gicv3_pcie.cpp | 32 TRACEF("Failed to initialize PCI bus driver (res %d). " in arm_gicv3_pcie_init()
|
| /kernel/lib/pow2_range_allocator/ |
| A D | pow2_range_allocator.cpp | 134 TRACEF("max_alloc_size (%u) is not an integer power of two!\n", max_alloc_size); in p2ra_init() 143 TRACEF("Failed to allocate storage for %u free bucket lists!\n", state->bucket_count); in p2ra_init() 206 TRACEF("Range [%u, %u] overlaps with existing range [%u, %u].\n", in p2ra_add_range() 262 TRACEF("WARNING! Failed to allocate block bookkeeping with sub-range " in p2ra_add_range() 293 TRACEF("Size (%u) is not an integer power of 2.\n", size); in p2ra_allocate_range() 300 TRACEF("Invalid size (%u). Valid sizes are integer powers of 2 from [1, %u]\n", in p2ra_allocate_range() 336 TRACEF("Failed to allocated free bookkeeping block when attempting to " in p2ra_allocate_range()
|
| /kernel/arch/arm64/ |
| A D | mmu.cpp | 109 TRACEF("ARM64: out of ASIDs\n"); in Alloc() 442 TRACEF("failed to allocate page table\n"); in GetPageTable() 611 TRACEF("not page aligned\n"); in MapPageTable() 638 TRACEF("page table entry already in use, index %#" PRIxPTR ", %#" PRIx64 "\n", in MapPageTable() 694 TRACEF("not page aligned\n"); in ProtectPageTable() 758 …TRACEF("vaddr %#" PRIxPTR ", size %#" PRIxPTR " out of range vaddr %#" PRIxPTR ", size %#" PRIxPTR… in MapPages() 781 TRACEF("vaddr 0x%lx, size 0x%lx out of range vaddr 0x%lx, size 0x%lx\n", in UnmapPages() 805 …TRACEF("vaddr %#" PRIxPTR ", size %#" PRIxPTR " out of range vaddr %#" PRIxPTR ", size %#" PRIxPTR… in ProtectPages() 1122 TRACEF("aspace %p\n", aspace); in ContextSwitch() 1136 TRACEF("ttbr %#" PRIx64 ", tcr %#" PRIx64 "\n", ttbr, tcr); in ContextSwitch() [all …]
|