Lines Matching refs:printf
140 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
303 printf("xmon: Disabled due to kernel lockdown\n"); in xmon_is_locked_down()
311 printf("xmon: Read-only due to kernel lockdown\n"); in xmon_is_locked_down()
533 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
543 printf("xmon: WARNING: bad recursive fault " in xmon_core()
565 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core()
570 printf("WARNING: exception is not recoverable, " in xmon_core()
620 printf("enter ? for help\n"); in xmon_core()
666 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
677 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core()
681 printf("WARNING: exception is not recoverable, " in xmon_core()
689 printf("enter ? for help\n"); in xmon_core()
717 printf("Couldn't single-step %s instruction\n", in xmon_core()
751 printf("Keyboard interrupt\n"); in xmon_irq()
851 printf("xmon: Enabling debugger hooks\n"); in force_enable_xmon()
898 printf("Sorry, no free breakpoints. Please clear one first.\n"); in new_breakpoint()
913 printf("Couldn't read instruction at %lx, " in insert_bpts()
919 printf("Breakpoint at %lx is on an mtmsrd or rfid " in insert_bpts()
929 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
941 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
954 printf("Couldn't write instruction at %lx, " in insert_bpts()
995 printf("Couldn't remove breakpoint at %lx\n", in remove_bpts()
1017 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
1031 printf("Invalid number.\n"); in set_lpp_cmd()
1051 printf("%x:", smp_processor_id()); in cmds()
1053 printf("mon> "); in cmds()
1078 printf(xmon_ro_msg); in cmds()
1124 printf(" <no input ...>\n"); in cmds()
1148 printf(xmon_ro_msg); in cmds()
1173 printf("Unrecognized command: "); in cmds()
1178 printf("\\x%x", cmd); in cmds()
1181 printf(" (type ? for help)\n"); in cmds()
1210 printf("Couldn't single-step %s instruction\n", in do_step()
1216 printf("stepped to "); in do_step()
1253 printf("cpus stopped:"); in cpu_cmd()
1261 printf("-0x%lx", last_cpu); in cpu_cmd()
1263 printf(" 0x%lx", cpu); in cpu_cmd()
1268 printf("-0x%lx", last_cpu); in cpu_cmd()
1269 printf("\n"); in cpu_cmd()
1274 printf("cpu 0x%lx isn't in xmon\n", cpu); in cpu_cmd()
1276 printf("backtrace of paca[0x%lx].saved_r1 (possibly stale):\n", cpu); in cpu_cmd()
1292 printf("cpu 0x%lx didn't take control\n", cpu); in cpu_cmd()
1354 printf("csum stopped at "REG"\n", adrs+i); in csum()
1359 printf("%x\n", fcs); in csum()
1371 printf("Breakpoints may only be placed at kernel addresses\n"); in check_bp_loc()
1375 printf("Can't read instruction at address %lx\n", addr); in check_bp_loc()
1379 printf("Breakpoints may not be placed on mtmsrd or rfid " in check_bp_loc()
1394 printf("Couldn't find free breakpoint register\n"); in find_free_data_bpt()
1406 printf(" data "REG" [", dabr[i].address); in print_data_bpts()
1408 printf("r"); in print_data_bpts()
1410 printf("w"); in print_data_bpts()
1411 printf("]\n"); in print_data_bpts()
1441 printf(xmon_ro_msg); in bpt_cmds()
1445 printf("Hardware data breakpoint not supported on this cpu\n"); in bpt_cmds()
1463 printf(badaddr); in bpt_cmds()
1475 printf(xmon_ro_msg); in bpt_cmds()
1479 printf("Hardware instruction breakpoint " in bpt_cmds()
1509 printf("All breakpoints cleared\n"); in bpt_cmds()
1520 printf("No breakpoint at %lx\n", a); in bpt_cmds()
1525 printf("Cleared breakpoint %tx (", BP_NUM(bp)); in bpt_cmds()
1534 printf(breakpoint_help_string); in bpt_cmds()
1541 printf(" type address\n"); in bpt_cmds()
1546 printf("%tx %s ", BP_NUM(bp), in bpt_cmds()
1647 printf("SP (%lx) is in userspace\n", sp); in xmon_show_stack()
1653 printf("Couldn't read stack frame at %lx\n", sp); in xmon_show_stack()
1680 printf("[link register ] "); in xmon_show_stack()
1684 printf("["REG"] ", sp); in xmon_show_stack()
1690 printf("["REG"] ", sp); in xmon_show_stack()
1700 printf("Couldn't read registers at %lx\n", in xmon_show_stack()
1704 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1747 printf("kernel BUG at %s:%u!\n", in print_bug_trap()
1750 printf("kernel BUG at %px!\n", (void *)bug->bug_addr); in print_bug_trap()
1760 printf("cpu 0x%x: ", smp_processor_id()); in excprint()
1764 printf("Vector: %lx %s at [%px]\n", fp->trap, getvecname(trap), fp); in excprint()
1765 printf(" pc: "); in excprint()
1768 printf(" lr: "); in excprint()
1771 printf(" sp: %lx\n", fp->gpr[1]); in excprint()
1772 printf(" msr: %lx\n", fp->msr); in excprint()
1775 printf(" dar: %lx\n", fp->dar); in excprint()
1777 printf(" dsisr: %lx\n", fp->dsisr); in excprint()
1780 printf(" current = 0x%px\n", current); in excprint()
1782 printf(" paca = 0x%px\t irqmask: 0x%02x\t irq_happened: 0x%02x\n", in excprint()
1786 printf(" pid = %d, comm = %s\n", in excprint()
1793 printf(linux_banner); in excprint()
1811 printf("*** Error reading registers from "REG"\n", in prregs()
1822 printf("R%.2d = "REG" R%.2d = "REG"\n", in prregs()
1826 printf("R%.2d = "REG" R%.2d = "REG"\n", in prregs()
1831 printf("R%.2d = %.8lx%s", n, fp->gpr[n], in prregs()
1834 printf("\n"); in prregs()
1839 printf("pc = "); in prregs()
1842 printf("cfar= "); in prregs()
1845 printf("lr = "); in prregs()
1847 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()
1848 printf("ctr = "REG" xer = "REG" trap = %4lx\n", in prregs()
1852 printf("dar = "REG" dsisr = %.8lx\n", fp->dar, fp->dsisr); in prregs()
1915 printf(xmon_ro_msg); in write_spr()
1927 printf("SPR 0x%03x (%4d) Faulted during write\n", n, n); in write_spr()
1940 printf("srr0 = %.16lx srr1 = %.16lx dsisr = %.8lx\n", in dump_206_sprs()
1942 printf("dscr = %.16lx ppr = %.16lx pir = %.8lx\n", in dump_206_sprs()
1944 printf("amr = %.16lx uamor = %.16lx\n", in dump_206_sprs()
1950 printf("sdr1 = %.16lx hdar = %.16lx hdsisr = %.8lx\n", in dump_206_sprs()
1952 printf("hsrr0 = %.16lx hsrr1 = %.16lx hdec = %.16lx\n", in dump_206_sprs()
1954 printf("lpcr = %.16lx pcr = %.16lx lpidr = %.8lx\n", in dump_206_sprs()
1956 printf("hsprg0 = %.16lx hsprg1 = %.16lx amor = %.16lx\n", in dump_206_sprs()
1958 printf("dabr = %.16lx dabrx = %.16lx\n", in dump_206_sprs()
1971 printf("dpdes = %.16lx tir = %.16lx cir = %.8lx\n", in dump_207_sprs()
1974 printf("fscr = %.16lx tar = %.16lx pspb = %.8lx\n", in dump_207_sprs()
1980 printf("tfhar = %.16lx tfiar = %.16lx texasr = %.16lx\n", in dump_207_sprs()
1985 printf("mmcr0 = %.16lx mmcr1 = %.16lx mmcr2 = %.16lx\n", in dump_207_sprs()
1987 printf("pmc1 = %.8lx pmc2 = %.8lx pmc3 = %.8lx pmc4 = %.8lx\n", in dump_207_sprs()
1990 printf("mmcra = %.16lx siar = %.16lx pmc5 = %.8lx\n", in dump_207_sprs()
1992 printf("sdar = %.16lx sier = %.16lx pmc6 = %.8lx\n", in dump_207_sprs()
1994 printf("ebbhr = %.16lx ebbrr = %.16lx bescr = %.16lx\n", in dump_207_sprs()
1996 printf("iamr = %.16lx\n", mfspr(SPRN_IAMR)); in dump_207_sprs()
2001 printf("hfscr = %.16lx dhdes = %.16lx rpr = %.16lx\n", in dump_207_sprs()
2003 printf("dawr0 = %.16lx dawrx0 = %.16lx\n", in dump_207_sprs()
2006 printf("dawr1 = %.16lx dawrx1 = %.16lx\n", in dump_207_sprs()
2009 printf("ciabr = %.16lx\n", mfspr(SPRN_CIABR)); in dump_207_sprs()
2021 printf("pidr = %.16lx tidr = %.16lx\n", in dump_300_sprs()
2023 printf("psscr = %.16lx\n", in dump_300_sprs()
2029 printf("ptcr = %.16lx asdr = %.16lx\n", in dump_300_sprs()
2040 printf("mmcr3 = %.16lx, sier2 = %.16lx, sier3 = %.16lx\n", in dump_310_sprs()
2052 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2060 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2066 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2071 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2088 printf("msr = "REG" sprg0 = "REG"\n", in super_regs()
2090 printf("pvr = "REG" sprg1 = "REG"\n", in super_regs()
2092 printf("dec = "REG" sprg2 = "REG"\n", in super_regs()
2094 printf("sp = "REG" sprg3 = "REG"\n", sp, mfspr(SPRN_SPRG3)); in super_regs()
2095 printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); in super_regs()
2177 printf(xmon_ro_msg); in mwrite()
2207 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
2330 printf(memex_help_string); in memex()
2354 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
2360 printf("%.2x", val[i]); in memex()
2362 printf("%s", fault_chars[fault_type]); in memex()
2462 printf(memex_subcmd_help_string); in memex()
2496 printf("%.2x", temp[m]); in xmon_rawdump()
2498 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2504 printf("\n"); in xmon_rawdump()
2527 printf("*** Error dumping paca for cpu 0x%x!\n", cpu); in dump_one_paca()
2536 printf("paca for cpu 0x%x @ %px:\n", cpu, p); in dump_one_paca()
2538 printf(" %-*s = %s\n", 25, "possible", cpu_possible(cpu) ? "yes" : "no"); in dump_one_paca()
2539 printf(" %-*s = %s\n", 25, "present", cpu_present(cpu) ? "yes" : "no"); in dump_one_paca()
2540 printf(" %-*s = %s\n", 25, "online", cpu_online(cpu) ? "yes" : "no"); in dump_one_paca()
2543 printf(" %-*s = "format"\t(0x%lx)\n", 25, #name, 18, paca->name, \ in dump_one_paca()
2575 printf(" %-*s[%d] = 0x%016llx 0x%016llx\n", in dump_one_paca()
2587 printf(" %-*s[%d] = 0x%016x\n", in dump_one_paca()
2605 printf(" %-*s = 0x%016llx\n", 25, "kstack_base", p->kstack & ~(THREAD_SIZE - 1)); in dump_one_paca()
2662 printf("No possible cpus, use 'dp #' to dump individual cpus\n"); in dump_all_pacas()
2707 printf("*** Error dumping xive on cpu %d\n", cpu); in dump_one_xive()
2724 printf("No possible cpus, use 'dx #' to dump individual cpus\n"); in dump_all_xives()
2762 printf("Xive disabled on this system\n"); in dump_xives()
2796 printf(REG, addr); in dump_by_size()
2799 printf("\nFaulted reading %d bytes from 0x"REG"\n", 16, addr); in dump_by_size()
2813 printf("%0*llx", size * 2, val); in dump_by_size()
2815 printf(" |"); in dump_by_size()
2820 printf("|\n"); in dump_by_size()
2915 printf(REG, adrs); in prdump()
2924 printf("%.2x", temp[m]); in prdump()
2926 printf("%s", fault_chars[fault_type]); in prdump()
2931 printf(" "); in prdump()
2933 printf(" |"); in prdump()
2944 printf("|\n"); in prdump()
2966 printf(REG" %s%s%s%s\n", adr, x, x, x, x); in generic_inst_dump()
2972 printf(" ...\n"); in generic_inst_dump()
2980 printf(REG" %s", adr, ppc_inst_as_str(inst)); in generic_inst_dump()
2981 printf("\t"); in generic_inst_dump()
2986 printf("\n"); in generic_inst_dump()
3011 printf("Error dumping printk buffer!\n"); in dump_log_buf()
3022 printf("%s", buf); in dump_log_buf()
3040 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
3045 printf("Error dumping OPAL msglog!\n"); in dump_opal_msglog()
3055 printf("Error dumping OPAL msglog! Error: %zd\n", res); in dump_opal_msglog()
3059 printf("%s", buf); in dump_opal_msglog()
3093 printf(xmon_ro_msg); in memops()
3100 printf(xmon_ro_msg); in memops()
3123 printf("%px %.2x # %px %.2x\n", p1 - 1, in memdiffs()
3126 printf("Total of %d differences\n", prt); in memdiffs()
3155 printf("%.16x: %.16x\n", a, GETWORD(val)); in memlocate()
3181 printf("%.8x .. ", a); in memzcan()
3183 printf("%.8lx\n", a - mskip); in memzcan()
3189 printf("%.8lx\n", a - mskip); in memzcan()
3210 printf("%16px %16lx %16px %6d %6d %c %2d %s\n", tsk, in show_task()
3222 printf("ptep @ 0x%016lx = 0x%016lx\n", (unsigned long)ptep, pte); in format_pte()
3223 printf("Maps physical address = 0x%016lx\n", pte & PTE_RPN_MASK); in format_pte()
3225 printf("Flags = %s%s%s%s%s\n", in format_pte()
3256 printf("*** Error dumping pte for task %px\n", tsk); in show_pte()
3271 printf("No valid P4D\n"); in show_pte()
3280 printf("p4dp @ 0x%px = 0x%016lx\n", p4dp, p4d_val(*p4dp)); in show_pte()
3285 printf("No valid PUD\n"); in show_pte()
3294 printf("pudp @ 0x%px = 0x%016lx\n", pudp, pud_val(*pudp)); in show_pte()
3299 printf("No valid PMD\n"); in show_pte()
3307 printf("pmdp @ 0x%px = 0x%016lx\n", pmdp, pmd_val(*pmdp)); in show_pte()
3311 printf("no valid PTE\n"); in show_pte()
3324 printf("show_pte not yet implemented\n"); in show_pte()
3333 printf(" task_struct ->thread.ksp ->thread.regs PID PPID S P CMD\n"); in show_tasks()
3340 printf("*** Error dumping task %px\n", tsk); in show_tasks()
3387 printf("return value is 0x%lx\n", ret); in proccall()
3389 printf("*** %x exception occurred\n", fault_except); in proccall()
3448 printf("invalid register name '%%%s'\n", regname); in scanhex()
3452 printf("regs not available\n"); in scanhex()
3493 printf("unknown symbol '%s'\n", tmpstr); in scanhex()
3609 printf("%s: %lx\n", tmp, addr); in symbol_lookup()
3611 printf("Symbol '%s' not found.\n", tmp); in symbol_lookup()
3637 printf("%s for cpu 0x%lx: %lx\n", tmp, cpu, addr); in symbol_lookup()
3639 printf("Percpu symbol '%s' not found.\n", tmp); in symbol_lookup()
3657 printf(REG, address); in xmon_print_symbol()
3671 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()
3673 printf(" [%s]", modname); in xmon_print_symbol()
3675 printf("%s", after); in xmon_print_symbol()
3685 printf("SLB contents of cpu 0x%x\n", smp_processor_id()); in dump_segments()
3694 printf("%02d %016lx %016lx", i, esid, vsid); in dump_segments()
3697 printf("\n"); in dump_segments()
3703 printf(" 1T ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3708 printf(" 256M ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3722 printf("sr0-15 ="); in dump_segments()
3724 printf(" %x", mfsrin(i << 28)); in dump_segments()
3725 printf("\n"); in dump_segments()
3739 printf("[%02x] %08lx %08lx %08lx ", i, w0, w1, w2); in dump_tlb_44x()
3741 printf("V %08lx -> %01lx%08lx %c%c%c%c%c", in dump_tlb_44x()
3751 printf("\n"); in dump_tlb_44x()
3807 printf("Book3E MMU MAV=%d.0,%d TLBs,%d-bit PID,%d-bit LPID,%d-bit RA\n", in dump_tlb_book3e()
3816 printf("TLB %d:\n------\n", tlb); in dump_tlb_book3e()
3831 printf("Unsupported TLB number !\n"); in dump_tlb_book3e()
3862 printf("%04x- ", i); in dump_tlb_book3e()
3864 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
3866 printf(" |%c", 'A' + esel); in dump_tlb_book3e()
3868 printf(" %016llx %04x %s %c%c AS%c", in dump_tlb_book3e()
3875 printf(" %c%c%c%c%c%c%c", in dump_tlb_book3e()
3883 printf(" %016llx", mas7_mas3 & ramask & ~0x7ffull); in dump_tlb_book3e()
3885 printf(" %s\n", in dump_tlb_book3e()
3888 printf(" U%c%c%c S%c%c%c\n", in dump_tlb_book3e()
3986 printf("xmon: All breakpoints cleared\n"); in xmon_dbgfs_set()
4113 printf("Stopped spu %.2d (was %s)\n", i, in stop_spus()
4118 printf("*** Error stopping spu %.2d\n", i); in stop_spus()
4134 printf("*** Error, spu %d was not successfully stopped" in restart_spus()
4151 printf("Restarted spu %.2d\n", i); in restart_spus()
4154 printf("*** Error restarting spu %.2d\n", i); in restart_spus()
4166 printf(" %-*s = "format"\n", DUMP_WIDTH, \
4172 printf(" %-*s = *** Error reading field.\n", \
4183 printf("Dumping spu fields at address %p:\n", spu); in dump_spu_fields()
4235 printf("*** Error: accessing spu info for spu %ld\n", num); in dump_spu_ls()
4246 printf("*** Error: address outside of local store\n"); in dump_spu_ls()
4286 printf("*** Error: invalid spu number\n"); in do_spu_cmd()