• Home
  • Raw
  • Download

Lines Matching refs:printf

151 	printf("Machine is not running OPAL firmware.\n");  in dump_opal_msglog()
315 printf("xmon: Disabled due to kernel lockdown\n"); in xmon_is_locked_down()
323 printf("xmon: Read-only due to kernel lockdown\n"); in xmon_is_locked_down()
535 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
545 printf("xmon: WARNING: bad recursive fault " in xmon_core()
567 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core()
572 printf("WARNING: exception is not recoverable, " in xmon_core()
622 printf("enter ? for help\n"); in xmon_core()
673 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
684 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core()
688 printf("WARNING: exception is not recoverable, " in xmon_core()
696 printf("enter ? for help\n"); in xmon_core()
724 printf("Couldn't single-step %s instruction\n", in xmon_core()
758 printf("Keyboard interrupt\n"); in xmon_irq()
858 printf("xmon: Enabling debugger hooks\n"); in force_enable_xmon()
905 printf("Sorry, no free breakpoints. Please clear one first.\n"); in new_breakpoint()
920 printf("Couldn't read instruction at %lx, " in insert_bpts()
926 printf("Breakpoint at %lx is on an mtmsrd or rfid " in insert_bpts()
936 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
948 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
961 printf("Couldn't write instruction at %lx, " in insert_bpts()
1002 printf("Couldn't remove breakpoint at %lx\n", in remove_bpts()
1024 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
1038 printf("Invalid number.\n"); in set_lpp_cmd()
1058 printf("%x:", smp_processor_id()); in cmds()
1060 printf("mon> "); in cmds()
1085 printf(xmon_ro_msg); in cmds()
1131 printf(" <no input ...>\n"); in cmds()
1155 printf(xmon_ro_msg); in cmds()
1180 printf("Unrecognized command: "); in cmds()
1185 printf("\\x%x", cmd); in cmds()
1188 printf(" (type ? for help)\n"); in cmds()
1217 printf("Couldn't single-step %s instruction\n", in do_step()
1223 printf("stepped to "); in do_step()
1268 printf("cpu 0x%lx didn't take control\n", cpu); in xmon_switch_cpu()
1293 printf("%x:mon> \n", smp_processor_id()); in xmon_batch_next_cpu()
1308 printf("%x:", smp_processor_id()); in batch_cmds()
1309 printf("mon> "); in batch_cmds()
1310 printf("%c\n", (char)cmd); in batch_cmds()
1343 printf("There are no other cpus in xmon\n"); in cpu_cmd()
1351 printf("c# only supports 'r', 'S' and 't' commands\n"); in cpu_cmd()
1361 printf("cpus stopped:"); in cpu_cmd()
1369 printf("-0x%lx", last_cpu); in cpu_cmd()
1371 printf(" 0x%lx", cpu); in cpu_cmd()
1376 printf("-0x%lx", last_cpu); in cpu_cmd()
1377 printf("\n"); in cpu_cmd()
1382 printf("cpu 0x%lx isn't in xmon\n", cpu); in cpu_cmd()
1384 printf("backtrace of paca[0x%lx].saved_r1 (possibly stale):\n", cpu); in cpu_cmd()
1450 printf("csum stopped at "REG"\n", adrs+i); in csum()
1455 printf("%x\n", fcs); in csum()
1467 printf("Breakpoints may only be placed at kernel addresses\n"); in check_bp_loc()
1471 printf("Can't read instruction at address %lx\n", addr); in check_bp_loc()
1475 printf("Breakpoints may not be placed on mtmsrd or rfid " in check_bp_loc()
1490 printf("Couldn't find free breakpoint register\n"); in find_free_data_bpt()
1502 printf(" data "REG" [", dabr[i].address); in print_data_bpts()
1504 printf("r"); in print_data_bpts()
1506 printf("w"); in print_data_bpts()
1507 printf("]\n"); in print_data_bpts()
1536 printf(xmon_ro_msg); in bpt_cmds()
1540 printf("Hardware data breakpoint not supported on this cpu\n"); in bpt_cmds()
1558 printf(badaddr); in bpt_cmds()
1571 printf(xmon_ro_msg); in bpt_cmds()
1575 printf("Hardware instruction breakpoint " in bpt_cmds()
1604 printf("All breakpoints cleared\n"); in bpt_cmds()
1615 printf("No breakpoint at %lx\n", a); in bpt_cmds()
1620 printf("Cleared breakpoint %tx (", BP_NUM(bp)); in bpt_cmds()
1629 printf(breakpoint_help_string); in bpt_cmds()
1636 printf(" type address\n"); in bpt_cmds()
1641 printf("%tx %s ", BP_NUM(bp), in bpt_cmds()
1742 printf("SP (%lx) is in userspace\n", sp); in xmon_show_stack()
1748 printf("Couldn't read stack frame at %lx\n", sp); in xmon_show_stack()
1775 printf("[link register ] "); in xmon_show_stack()
1779 printf("["REG"] ", sp); in xmon_show_stack()
1785 printf("["REG"] ", sp); in xmon_show_stack()
1795 printf("Couldn't read registers at %lx\n", in xmon_show_stack()
1799 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1842 printf("kernel BUG at %s:%u!\n", in print_bug_trap()
1845 printf("kernel BUG at %px!\n", (void *)bug + bug->bug_addr_disp); in print_bug_trap()
1855 printf("cpu 0x%x: ", smp_processor_id()); in excprint()
1859 printf("Vector: %lx %s at [%px]\n", fp->trap, getvecname(trap), fp); in excprint()
1860 printf(" pc: "); in excprint()
1863 printf(" lr: "); in excprint()
1866 printf(" sp: %lx\n", fp->gpr[1]); in excprint()
1867 printf(" msr: %lx\n", fp->msr); in excprint()
1873 printf(" dar: %lx\n", fp->dar); in excprint()
1875 printf(" dsisr: %lx\n", fp->dsisr); in excprint()
1878 printf(" current = 0x%px\n", current); in excprint()
1880 printf(" paca = 0x%px\t irqmask: 0x%02x\t irq_happened: 0x%02x\n", in excprint()
1884 printf(" pid = %d, comm = %s\n", in excprint()
1891 printf(linux_banner); in excprint()
1909 printf("*** Error reading registers from "REG"\n", in prregs()
1924 printf("R%.2d = "REG"%s", n, fp->gpr[n], in prregs()
1928 printf("pc = "); in prregs()
1931 printf("cfar= "); in prregs()
1934 printf("lr = "); in prregs()
1936 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()
1937 printf("ctr = "REG" xer = "REG" trap = %4lx\n", in prregs()
1943 printf("dar = "REG" dsisr = %.8lx\n", fp->dar, fp->dsisr); in prregs()
2006 printf(xmon_ro_msg); in write_spr()
2018 printf("SPR 0x%03x (%4d) Faulted during write\n", n, n); in write_spr()
2031 printf("srr0 = %.16lx srr1 = %.16lx dsisr = %.8lx\n", in dump_206_sprs()
2033 printf("dscr = %.16lx ppr = %.16lx pir = %.8lx\n", in dump_206_sprs()
2035 printf("amr = %.16lx uamor = %.16lx\n", in dump_206_sprs()
2041 printf("sdr1 = %.16lx hdar = %.16lx hdsisr = %.8lx\n", in dump_206_sprs()
2043 printf("hsrr0 = %.16lx hsrr1 = %.16lx hdec = %.16lx\n", in dump_206_sprs()
2045 printf("lpcr = %.16lx pcr = %.16lx lpidr = %.8lx\n", in dump_206_sprs()
2047 printf("hsprg0 = %.16lx hsprg1 = %.16lx amor = %.16lx\n", in dump_206_sprs()
2049 printf("dabr = %.16lx dabrx = %.16lx\n", in dump_206_sprs()
2062 printf("dpdes = %.16lx tir = %.16lx cir = %.8lx\n", in dump_207_sprs()
2065 printf("fscr = %.16lx tar = %.16lx pspb = %.8lx\n", in dump_207_sprs()
2071 printf("tfhar = %.16lx tfiar = %.16lx texasr = %.16lx\n", in dump_207_sprs()
2076 printf("mmcr0 = %.16lx mmcr1 = %.16lx mmcr2 = %.16lx\n", in dump_207_sprs()
2078 printf("pmc1 = %.8lx pmc2 = %.8lx pmc3 = %.8lx pmc4 = %.8lx\n", in dump_207_sprs()
2081 printf("mmcra = %.16lx siar = %.16lx pmc5 = %.8lx\n", in dump_207_sprs()
2083 printf("sdar = %.16lx sier = %.16lx pmc6 = %.8lx\n", in dump_207_sprs()
2085 printf("ebbhr = %.16lx ebbrr = %.16lx bescr = %.16lx\n", in dump_207_sprs()
2087 printf("iamr = %.16lx\n", mfspr(SPRN_IAMR)); in dump_207_sprs()
2092 printf("hfscr = %.16lx dhdes = %.16lx rpr = %.16lx\n", in dump_207_sprs()
2094 printf("dawr0 = %.16lx dawrx0 = %.16lx\n", in dump_207_sprs()
2097 printf("dawr1 = %.16lx dawrx1 = %.16lx\n", in dump_207_sprs()
2100 printf("ciabr = %.16lx\n", mfspr(SPRN_CIABR)); in dump_207_sprs()
2112 printf("pidr = %.16lx tidr = %.16lx\n", in dump_300_sprs()
2114 printf("psscr = %.16lx\n", in dump_300_sprs()
2120 printf("ptcr = %.16lx asdr = %.16lx\n", in dump_300_sprs()
2131 printf("mmcr3 = %.16lx, sier2 = %.16lx, sier3 = %.16lx\n", in dump_310_sprs()
2143 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2151 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2157 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2162 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2179 printf("msr = "REG" sprg0 = "REG"\n", in super_regs()
2181 printf("pvr = "REG" sprg1 = "REG"\n", in super_regs()
2183 printf("dec = "REG" sprg2 = "REG"\n", in super_regs()
2185 printf("sp = "REG" sprg3 = "REG"\n", sp, mfspr(SPRN_SPRG3)); in super_regs()
2186 printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); in super_regs()
2268 printf(xmon_ro_msg); in mwrite()
2298 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
2421 printf(memex_help_string); in memex()
2445 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
2451 printf("%.2x", val[i]); in memex()
2453 printf("%s", fault_chars[fault_type]); in memex()
2553 printf(memex_subcmd_help_string); in memex()
2587 printf("%.2x", temp[m]); in xmon_rawdump()
2589 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2595 printf("\n"); in xmon_rawdump()
2618 printf("*** Error dumping paca for cpu 0x%x!\n", cpu); in dump_one_paca()
2627 printf("paca for cpu 0x%x @ %px:\n", cpu, p); in dump_one_paca()
2629 printf(" %-*s = %s\n", 25, "possible", cpu_possible(cpu) ? "yes" : "no"); in dump_one_paca()
2630 printf(" %-*s = %s\n", 25, "present", cpu_present(cpu) ? "yes" : "no"); in dump_one_paca()
2631 printf(" %-*s = %s\n", 25, "online", cpu_online(cpu) ? "yes" : "no"); in dump_one_paca()
2634 printf(" %-*s = "format"\t(0x%lx)\n", 25, #name, 18, paca->name, \ in dump_one_paca()
2666 printf(" %-*s[%d] = 0x%016llx 0x%016llx\n", in dump_one_paca()
2678 printf(" %-*s[%d] = 0x%016x\n", in dump_one_paca()
2696 printf(" %-*s = 0x%016llx\n", 25, "kstack_base", p->kstack & ~(THREAD_SIZE - 1)); in dump_one_paca()
2753 printf("No possible cpus, use 'dp #' to dump individual cpus\n"); in dump_all_pacas()
2798 printf("*** Error dumping xive on cpu %d\n", cpu); in dump_one_xive()
2815 printf("No possible cpus, use 'dx #' to dump individual cpus\n"); in dump_all_xives()
2829 printf("Xive disabled on this system\n"); in dump_xives()
2863 printf(REG, addr); in dump_by_size()
2866 printf("\nFaulted reading %d bytes from 0x"REG"\n", 16, addr); in dump_by_size()
2880 printf("%0*llx", size * 2, val); in dump_by_size()
2882 printf(" |"); in dump_by_size()
2887 printf("|\n"); in dump_by_size()
2982 printf(REG, adrs); in prdump()
2991 printf("%.2x", temp[m]); in prdump()
2993 printf("%s", fault_chars[fault_type]); in prdump()
2998 printf(" "); in prdump()
3000 printf(" |"); in prdump()
3011 printf("|\n"); in prdump()
3033 printf(REG" %s%s%s%s\n", adr, x, x, x, x); in generic_inst_dump()
3039 printf(" ...\n"); in generic_inst_dump()
3047 printf(REG" %s", adr, ppc_inst_as_str(inst)); in generic_inst_dump()
3048 printf("\t"); in generic_inst_dump()
3053 printf("\n"); in generic_inst_dump()
3078 printf("Error dumping printk buffer!\n"); in dump_log_buf()
3089 printf("%s", buf); in dump_log_buf()
3107 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
3112 printf("Error dumping OPAL msglog!\n"); in dump_opal_msglog()
3122 printf("Error dumping OPAL msglog! Error: %zd\n", res); in dump_opal_msglog()
3126 printf("%s", buf); in dump_opal_msglog()
3160 printf(xmon_ro_msg); in memops()
3167 printf(xmon_ro_msg); in memops()
3190 printf("%px %.2x # %px %.2x\n", p1 - 1, in memdiffs()
3193 printf("Total of %d differences\n", prt); in memdiffs()
3222 printf("%.16x: %.16x\n", a, GETWORD(val)); in memlocate()
3248 printf("%.8x .. ", a); in memzcan()
3250 printf("%.8lx\n", a - mskip); in memzcan()
3256 printf("%.8lx\n", a - mskip); in memzcan()
3277 printf("%16px %16lx %16px %6d %6d %c %2d %s\n", tsk, in show_task()
3289 printf("ptep @ 0x%016lx = 0x%016lx\n", (unsigned long)ptep, pte); in format_pte()
3290 printf("Maps physical address = 0x%016lx\n", pte & PTE_RPN_MASK); in format_pte()
3292 printf("Flags = %s%s%s%s%s\n", in format_pte()
3323 printf("*** Error dumping pte for task %px\n", tsk); in show_pte()
3338 printf("No valid P4D\n"); in show_pte()
3347 printf("p4dp @ 0x%px = 0x%016lx\n", p4dp, p4d_val(*p4dp)); in show_pte()
3352 printf("No valid PUD\n"); in show_pte()
3361 printf("pudp @ 0x%px = 0x%016lx\n", pudp, pud_val(*pudp)); in show_pte()
3366 printf("No valid PMD\n"); in show_pte()
3374 printf("pmdp @ 0x%px = 0x%016lx\n", pmdp, pmd_val(*pmdp)); in show_pte()
3378 printf("no valid PTE\n"); in show_pte()
3391 printf("show_pte not yet implemented\n"); in show_pte()
3400 printf(" task_struct ->thread.ksp ->thread.regs PID PPID S P CMD\n"); in show_tasks()
3407 printf("*** Error dumping task %px\n", tsk); in show_tasks()
3454 printf("return value is 0x%lx\n", ret); in proccall()
3456 printf("*** %x exception occurred\n", fault_except); in proccall()
3515 printf("invalid register name '%%%s'\n", regname); in scanhex()
3519 printf("regs not available\n"); in scanhex()
3560 printf("unknown symbol '%s'\n", tmpstr); in scanhex()
3676 printf("%s: %lx\n", tmp, addr); in symbol_lookup()
3678 printf("Symbol '%s' not found.\n", tmp); in symbol_lookup()
3704 printf("%s for cpu 0x%lx: %lx\n", tmp, cpu, addr); in symbol_lookup()
3706 printf("Percpu symbol '%s' not found.\n", tmp); in symbol_lookup()
3724 printf(REG, address); in xmon_print_symbol()
3738 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()
3740 printf(" [%s]", modname); in xmon_print_symbol()
3742 printf("%s", after); in xmon_print_symbol()
3752 printf("SLB contents of cpu 0x%x\n", smp_processor_id()); in dump_segments()
3761 printf("%02d %016lx %016lx", i, esid, vsid); in dump_segments()
3764 printf("\n"); in dump_segments()
3770 printf(" 1T ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3775 printf(" 256M ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3789 printf("sr0-15 ="); in dump_segments()
3791 printf(" %x", mfsr(i << 28)); in dump_segments()
3792 printf("\n"); in dump_segments()
3806 printf("[%02x] %08lx %08lx %08lx ", i, w0, w1, w2); in dump_tlb_44x()
3808 printf("V %08lx -> %01lx%08lx %c%c%c%c%c", in dump_tlb_44x()
3818 printf("\n"); in dump_tlb_44x()
3874 printf("Book3E MMU MAV=%d.0,%d TLBs,%d-bit PID,%d-bit LPID,%d-bit RA\n", in dump_tlb_book3e()
3883 printf("TLB %d:\n------\n", tlb); in dump_tlb_book3e()
3898 printf("Unsupported TLB number !\n"); in dump_tlb_book3e()
3929 printf("%04x- ", i); in dump_tlb_book3e()
3931 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
3933 printf(" |%c", 'A' + esel); in dump_tlb_book3e()
3935 printf(" %016llx %04x %s %c%c AS%c", in dump_tlb_book3e()
3942 printf(" %c%c%c%c%c%c%c", in dump_tlb_book3e()
3950 printf(" %016llx", mas7_mas3 & ramask & ~0x7ffull); in dump_tlb_book3e()
3952 printf(" %s\n", in dump_tlb_book3e()
3955 printf(" U%c%c%c S%c%c%c\n", in dump_tlb_book3e()
4053 printf("xmon: All breakpoints cleared\n"); in xmon_dbgfs_set()
4180 printf("Stopped spu %.2d (was %s)\n", i, in stop_spus()
4185 printf("*** Error stopping spu %.2d\n", i); in stop_spus()
4201 printf("*** Error, spu %d was not successfully stopped" in restart_spus()
4218 printf("Restarted spu %.2d\n", i); in restart_spus()
4221 printf("*** Error restarting spu %.2d\n", i); in restart_spus()
4233 printf(" %-*s = "format"\n", DUMP_WIDTH, \
4239 printf(" %-*s = *** Error reading field.\n", \
4250 printf("Dumping spu fields at address %p:\n", spu); in dump_spu_fields()
4301 printf("*** Error: accessing spu info for spu %ld\n", num); in dump_spu_ls()
4312 printf("*** Error: address outside of local store\n"); in dump_spu_ls()
4352 printf("*** Error: invalid spu number\n"); in do_spu_cmd()