Lines Matching refs:printf

147 	printf("Machine is not running OPAL firmware.\n");  in dump_opal_msglog()
311 printf("xmon: Disabled due to kernel lockdown\n"); in xmon_is_locked_down()
319 printf("xmon: Read-only due to kernel lockdown\n"); in xmon_is_locked_down()
532 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
542 printf("xmon: WARNING: bad recursive fault " in xmon_core()
564 printf("cpu 0x%x stopped at breakpoint 0x%tx (", in xmon_core()
569 printf("WARNING: exception is not recoverable, " in xmon_core()
619 printf("enter ? for help\n"); in xmon_core()
670 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
681 printf("Stopped at breakpoint %tx (", BP_NUM(bp)); in xmon_core()
685 printf("WARNING: exception is not recoverable, " in xmon_core()
693 printf("enter ? for help\n"); in xmon_core()
721 printf("Couldn't single-step %s instruction\n", in xmon_core()
755 printf("Keyboard interrupt\n"); in xmon_irq()
855 printf("xmon: Enabling debugger hooks\n"); in force_enable_xmon()
902 printf("Sorry, no free breakpoints. Please clear one first.\n"); in new_breakpoint()
917 printf("Couldn't read instruction at %lx, " in insert_bpts()
923 printf("Breakpoint at %lx is on an instruction that can't be single stepped, disabling it\n", in insert_bpts()
933 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
945 printf("Breakpoint at %lx is on the second word of a prefixed instruction, disabling it\n", in insert_bpts()
958 printf("Couldn't write instruction at %lx, " in insert_bpts()
999 printf("Couldn't remove breakpoint at %lx\n", in remove_bpts()
1021 printf("Uptime: %lu.%.2lu seconds\n", (unsigned long)uptime.tv_sec, in show_uptime()
1035 printf("Invalid number.\n"); in set_lpp_cmd()
1055 printf("%x:", smp_processor_id()); in cmds()
1057 printf("mon> "); in cmds()
1082 printf(xmon_ro_msg); in cmds()
1128 printf(" <no input ...>\n"); in cmds()
1152 printf(xmon_ro_msg); in cmds()
1177 printf("Unrecognized command: "); in cmds()
1182 printf("\\x%x", cmd); in cmds()
1185 printf(" (type ? for help)\n"); in cmds()
1214 printf("Couldn't single-step %s instruction\n", in do_step()
1220 printf("stepped to "); in do_step()
1264 printf("cpu 0x%lx didn't take control\n", cpu); in xmon_switch_cpu()
1289 printf("%x:mon> \n", smp_processor_id()); in xmon_batch_next_cpu()
1304 printf("%x:", smp_processor_id()); in batch_cmds()
1305 printf("mon> "); in batch_cmds()
1306 printf("%c\n", (char)cmd); in batch_cmds()
1339 printf("There are no other cpus in xmon\n"); in cpu_cmd()
1347 printf("c# only supports 'r', 'S' and 't' commands\n"); in cpu_cmd()
1357 printf("cpus stopped:"); in cpu_cmd()
1365 printf("-0x%lx", last_cpu); in cpu_cmd()
1367 printf(" 0x%lx", cpu); in cpu_cmd()
1372 printf("-0x%lx", last_cpu); in cpu_cmd()
1373 printf("\n"); in cpu_cmd()
1378 printf("cpu 0x%lx isn't in xmon\n", cpu); in cpu_cmd()
1380 printf("backtrace of paca[0x%lx].saved_r1 (possibly stale):\n", cpu); in cpu_cmd()
1446 printf("csum stopped at "REG"\n", adrs+i); in csum()
1451 printf("%x\n", fcs); in csum()
1463 printf("Breakpoints may only be placed at kernel addresses\n"); in check_bp_loc()
1467 printf("Can't read instruction at address %lx\n", addr); in check_bp_loc()
1471 printf("Breakpoints may not be placed on instructions that can't be single stepped\n"); in check_bp_loc()
1485 printf("Couldn't find free breakpoint register\n"); in find_free_data_bpt()
1497 printf(" data "REG" [", dabr[i].address); in print_data_bpts()
1499 printf("r"); in print_data_bpts()
1501 printf("w"); in print_data_bpts()
1502 printf("]\n"); in print_data_bpts()
1531 printf(xmon_ro_msg); in bpt_cmds()
1535 printf("Hardware data breakpoint not supported on this cpu\n"); in bpt_cmds()
1553 printf(badaddr); in bpt_cmds()
1566 printf(xmon_ro_msg); in bpt_cmds()
1570 printf("Hardware instruction breakpoint " in bpt_cmds()
1599 printf("All breakpoints cleared\n"); in bpt_cmds()
1610 printf("No breakpoint at %lx\n", a); in bpt_cmds()
1615 printf("Cleared breakpoint %tx (", BP_NUM(bp)); in bpt_cmds()
1624 printf(breakpoint_help_string); in bpt_cmds()
1631 printf(" type address\n"); in bpt_cmds()
1636 printf("%tx %s ", BP_NUM(bp), in bpt_cmds()
1736 printf("SP (%lx) is in userspace\n", sp); in xmon_show_stack()
1742 printf("Couldn't read stack frame at %lx\n", sp); in xmon_show_stack()
1769 printf("[link register ] "); in xmon_show_stack()
1773 printf("["REG"] ", sp); in xmon_show_stack()
1779 printf("["REG"] ", sp); in xmon_show_stack()
1788 printf("Couldn't read registers at %lx\n", in xmon_show_stack()
1792 printf("--- Exception: %lx %s at ", regs.trap, in xmon_show_stack()
1835 printf("kernel BUG at %s:%u!\n", in print_bug_trap()
1838 printf("kernel BUG at %px!\n", (void *)bug + bug->bug_addr_disp); in print_bug_trap()
1848 printf("cpu 0x%x: ", smp_processor_id()); in excprint()
1852 printf("Vector: %lx %s at [%px]\n", fp->trap, getvecname(trap), fp); in excprint()
1853 printf(" pc: "); in excprint()
1856 printf(" lr: "); in excprint()
1859 printf(" sp: %lx\n", fp->gpr[1]); in excprint()
1860 printf(" msr: %lx\n", fp->msr); in excprint()
1866 printf(" dar: %lx\n", fp->dar); in excprint()
1868 printf(" dsisr: %lx\n", fp->dsisr); in excprint()
1871 printf(" current = 0x%px\n", current); in excprint()
1873 printf(" paca = 0x%px\t irqmask: 0x%02x\t irq_happened: 0x%02x\n", in excprint()
1877 printf(" pid = %d, comm = %s\n", in excprint()
1884 printf(linux_banner); in excprint()
1902 printf("*** Error reading registers from "REG"\n", in prregs()
1917 printf("R%.2d = "REG"%s", n, fp->gpr[n], in prregs()
1921 printf("pc = "); in prregs()
1924 printf("cfar= "); in prregs()
1927 printf("lr = "); in prregs()
1929 printf("msr = "REG" cr = %.8lx\n", fp->msr, fp->ccr); in prregs()
1930 printf("ctr = "REG" xer = "REG" trap = %4lx\n", in prregs()
1936 printf("dar = "REG" dsisr = %.8lx\n", fp->dar, fp->dsisr); in prregs()
1999 printf(xmon_ro_msg); in write_spr()
2011 printf("SPR 0x%03x (%4d) Faulted during write\n", n, n); in write_spr()
2024 printf("srr0 = %.16lx srr1 = %.16lx dsisr = %.8lx\n", in dump_206_sprs()
2026 printf("dscr = %.16lx ppr = %.16lx pir = %.8lx\n", in dump_206_sprs()
2028 printf("amr = %.16lx uamor = %.16lx\n", in dump_206_sprs()
2034 printf("sdr1 = %.16lx hdar = %.16lx hdsisr = %.8lx\n", in dump_206_sprs()
2036 printf("hsrr0 = %.16lx hsrr1 = %.16lx hdec = %.16lx\n", in dump_206_sprs()
2038 printf("lpcr = %.16lx pcr = %.16lx lpidr = %.8lx\n", in dump_206_sprs()
2040 printf("hsprg0 = %.16lx hsprg1 = %.16lx amor = %.16lx\n", in dump_206_sprs()
2042 printf("dabr = %.16lx dabrx = %.16lx\n", in dump_206_sprs()
2055 printf("dpdes = %.16lx tir = %.16lx cir = %.8lx\n", in dump_207_sprs()
2058 printf("fscr = %.16lx tar = %.16lx pspb = %.8lx\n", in dump_207_sprs()
2064 printf("tfhar = %.16lx tfiar = %.16lx texasr = %.16lx\n", in dump_207_sprs()
2069 printf("mmcr0 = %.16lx mmcr1 = %.16lx mmcr2 = %.16lx\n", in dump_207_sprs()
2071 printf("pmc1 = %.8lx pmc2 = %.8lx pmc3 = %.8lx pmc4 = %.8lx\n", in dump_207_sprs()
2074 printf("mmcra = %.16lx siar = %.16lx pmc5 = %.8lx\n", in dump_207_sprs()
2076 printf("sdar = %.16lx sier = %.16lx pmc6 = %.8lx\n", in dump_207_sprs()
2078 printf("ebbhr = %.16lx ebbrr = %.16lx bescr = %.16lx\n", in dump_207_sprs()
2080 printf("iamr = %.16lx\n", mfspr(SPRN_IAMR)); in dump_207_sprs()
2085 printf("hfscr = %.16lx dhdes = %.16lx rpr = %.16lx\n", in dump_207_sprs()
2087 printf("dawr0 = %.16lx dawrx0 = %.16lx\n", in dump_207_sprs()
2090 printf("dawr1 = %.16lx dawrx1 = %.16lx\n", in dump_207_sprs()
2093 printf("ciabr = %.16lx\n", mfspr(SPRN_CIABR)); in dump_207_sprs()
2106 printf("pidr = %.16lx tidr = %.16lx\n", in dump_300_sprs()
2109 printf("pidr = %.16lx\n", in dump_300_sprs()
2113 printf("psscr = %.16lx\n", in dump_300_sprs()
2119 printf("ptcr = %.16lx asdr = %.16lx\n", in dump_300_sprs()
2130 printf("mmcr3 = %.16lx, sier2 = %.16lx, sier3 = %.16lx\n", in dump_310_sprs()
2142 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2150 printf("SPR 0x%03x (%4d) Faulted during read\n", spr, spr); in dump_one_spr()
2156 printf("SPR 0x%03x (%4d) Unimplemented\n", spr, spr); in dump_one_spr()
2161 printf("SPR 0x%03x (%4d) = 0x%lx\n", spr, spr, val); in dump_one_spr()
2178 printf("msr = "REG" sprg0 = "REG"\n", in super_regs()
2180 printf("pvr = "REG" sprg1 = "REG"\n", in super_regs()
2182 printf("dec = "REG" sprg2 = "REG"\n", in super_regs()
2184 printf("sp = "REG" sprg3 = "REG"\n", sp, mfspr(SPRN_SPRG3)); in super_regs()
2185 printf("toc = "REG" dar = "REG"\n", toc, mfspr(SPRN_DAR)); in super_regs()
2267 printf(xmon_ro_msg); in mwrite()
2297 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
2420 printf(memex_help_string); in memex()
2444 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
2450 printf("%.2x", val[i]); in memex()
2452 printf("%s", fault_chars[fault_type]); in memex()
2552 printf(memex_subcmd_help_string); in memex()
2586 printf("%.2x", temp[m]); in xmon_rawdump()
2588 printf("%s", fault_chars[fault_type]); in xmon_rawdump()
2594 printf("\n"); in xmon_rawdump()
2617 printf("*** Error dumping paca for cpu 0x%x!\n", cpu); in dump_one_paca()
2626 printf("paca for cpu 0x%x @ %px:\n", cpu, p); in dump_one_paca()
2628 printf(" %-*s = %s\n", 25, "possible", cpu_possible(cpu) ? "yes" : "no"); in dump_one_paca()
2629 printf(" %-*s = %s\n", 25, "present", cpu_present(cpu) ? "yes" : "no"); in dump_one_paca()
2630 printf(" %-*s = %s\n", 25, "online", cpu_online(cpu) ? "yes" : "no"); in dump_one_paca()
2633 printf(" %-*s = "format"\t(0x%lx)\n", 25, #name, 18, paca->name, \ in dump_one_paca()
2668 printf(" %-*s[%d] = 0x%016llx 0x%016llx\n", in dump_one_paca()
2680 printf(" %-*s[%d] = 0x%016x\n", in dump_one_paca()
2699 printf(" %-*s = 0x%016llx\n", 25, "kstack_base", p->kstack & ~(THREAD_SIZE - 1)); in dump_one_paca()
2756 printf("No possible cpus, use 'dp #' to dump individual cpus\n"); in dump_all_pacas()
2801 printf("*** Error dumping xive on cpu %d\n", cpu); in dump_one_xive()
2818 printf("No possible cpus, use 'dx #' to dump individual cpus\n"); in dump_all_xives()
2832 printf("Xive disabled on this system\n"); in dump_xives()
2866 printf(REG, addr); in dump_by_size()
2869 printf("\nFaulted reading %d bytes from 0x"REG"\n", 16, addr); in dump_by_size()
2883 printf("%0*llx", size * 2, val); in dump_by_size()
2885 printf(" |"); in dump_by_size()
2890 printf("|\n"); in dump_by_size()
2985 printf(REG, adrs); in prdump()
2994 printf("%.2x", temp[m]); in prdump()
2996 printf("%s", fault_chars[fault_type]); in prdump()
3001 printf(" "); in prdump()
3003 printf(" |"); in prdump()
3014 printf("|\n"); in prdump()
3036 printf(REG" %s%s%s%s\n", adr, x, x, x, x); in generic_inst_dump()
3042 printf(" ...\n"); in generic_inst_dump()
3050 printf(REG" %08lx", adr, ppc_inst_as_ulong(inst)); in generic_inst_dump()
3051 printf("\t"); in generic_inst_dump()
3056 printf("\n"); in generic_inst_dump()
3081 printf("Error dumping printk buffer!\n"); in dump_log_buf()
3092 printf("%s", buf); in dump_log_buf()
3110 printf("Machine is not running OPAL firmware.\n"); in dump_opal_msglog()
3115 printf("Error dumping OPAL msglog!\n"); in dump_opal_msglog()
3125 printf("Error dumping OPAL msglog! Error: %zd\n", res); in dump_opal_msglog()
3129 printf("%s", buf); in dump_opal_msglog()
3163 printf(xmon_ro_msg); in memops()
3170 printf(xmon_ro_msg); in memops()
3193 printf("%px %.2x # %px %.2x\n", p1 - 1, in memdiffs()
3196 printf("Total of %d differences\n", prt); in memdiffs()
3225 printf("%.16x: %.16x\n", a, GETWORD(val)); in memlocate()
3251 printf("%.8x .. ", a); in memzcan()
3253 printf("%.8lx\n", a - mskip); in memzcan()
3259 printf("%.8lx\n", a - mskip); in memzcan()
3280 printf("%16px %16lx %16px %6d %6d %c %2d %s\n", tsk, in show_task()
3292 printf("ptep @ 0x%016lx = 0x%016lx\n", (unsigned long)ptep, pte); in format_pte()
3293 printf("Maps physical address = 0x%016lx\n", pte & PTE_RPN_MASK); in format_pte()
3295 printf("Flags = %s%s%s%s%s\n", in format_pte()
3326 printf("*** Error dumping pte for task %px\n", tsk); in show_pte()
3341 printf("No valid P4D\n"); in show_pte()
3350 printf("p4dp @ 0x%px = 0x%016lx\n", p4dp, p4d_val(*p4dp)); in show_pte()
3355 printf("No valid PUD\n"); in show_pte()
3364 printf("pudp @ 0x%px = 0x%016lx\n", pudp, pud_val(*pudp)); in show_pte()
3369 printf("No valid PMD\n"); in show_pte()
3377 printf("pmdp @ 0x%px = 0x%016lx\n", pmdp, pmd_val(*pmdp)); in show_pte()
3383 printf("no valid PTE\n"); in show_pte()
3397 printf("show_pte not yet implemented\n"); in show_pte()
3406 printf(" task_struct ->thread.ksp ->thread.regs PID PPID S P CMD\n"); in show_tasks()
3413 printf("*** Error dumping task %px\n", tsk); in show_tasks()
3460 printf("return value is 0x%lx\n", ret); in proccall()
3462 printf("*** %x exception occurred\n", fault_except); in proccall()
3521 printf("invalid register name '%%%s'\n", regname); in scanhex()
3525 printf("regs not available\n"); in scanhex()
3566 printf("unknown symbol '%s'\n", tmpstr); in scanhex()
3682 printf("%s: %lx\n", tmp, addr); in symbol_lookup()
3684 printf("Symbol '%s' not found.\n", tmp); in symbol_lookup()
3710 printf("%s for cpu 0x%lx: %lx\n", tmp, cpu, addr); in symbol_lookup()
3712 printf("Percpu symbol '%s' not found.\n", tmp); in symbol_lookup()
3730 printf(REG, address); in xmon_print_symbol()
3744 printf("%s%s+%#lx/%#lx", mid, name, offset, size); in xmon_print_symbol()
3746 printf(" [%s]", modname); in xmon_print_symbol()
3748 printf("%s", after); in xmon_print_symbol()
3758 printf("SLB contents of cpu 0x%x\n", smp_processor_id()); in dump_segments()
3767 printf("%02d %016lx %016lx", i, esid, vsid); in dump_segments()
3770 printf("\n"); in dump_segments()
3776 printf(" 1T ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3781 printf(" 256M ESID=%9lx VSID=%13lx LLP:%3lx \n", in dump_segments()
3795 printf("sr0-15 ="); in dump_segments()
3797 printf(" %x", mfsr(i << 28)); in dump_segments()
3798 printf("\n"); in dump_segments()
3812 printf("[%02x] %08lx %08lx %08lx ", i, w0, w1, w2); in dump_tlb_44x()
3814 printf("V %08lx -> %01lx%08lx %c%c%c%c%c", in dump_tlb_44x()
3824 printf("\n"); in dump_tlb_44x()
3878 printf("Book3E MMU MAV=%d.0,%d TLBs,%d-bit PID,%d-bit LPID,%d-bit RA\n", in dump_tlb_book3e()
3885 printf("TLB %d:\n------\n", tlb); in dump_tlb_book3e()
3900 printf("Unsupported TLB number !\n"); in dump_tlb_book3e()
3931 printf("%04x- ", i); in dump_tlb_book3e()
3933 printf("%04x-%c", cc, 'A' + esel); in dump_tlb_book3e()
3935 printf(" |%c", 'A' + esel); in dump_tlb_book3e()
3937 printf(" %016llx %04x %s %c%c AS%c", in dump_tlb_book3e()
3944 printf(" %c%c%c%c%c%c%c", in dump_tlb_book3e()
3952 printf(" %016llx", mas7_mas3 & ramask & ~0x7ffull); in dump_tlb_book3e()
3954 printf(" %s\n", in dump_tlb_book3e()
3957 printf(" U%c%c%c S%c%c%c\n", in dump_tlb_book3e()
4047 printf("xmon: All breakpoints cleared\n"); in xmon_dbgfs_set()
4174 printf("Stopped spu %.2d (was %s)\n", i, in stop_spus()
4179 printf("*** Error stopping spu %.2d\n", i); in stop_spus()
4195 printf("*** Error, spu %d was not successfully stopped" in restart_spus()
4212 printf("Restarted spu %.2d\n", i); in restart_spus()
4215 printf("*** Error restarting spu %.2d\n", i); in restart_spus()
4227 printf(" %-*s = "format"\n", DUMP_WIDTH, \
4233 printf(" %-*s = *** Error reading field.\n", \
4244 printf("Dumping spu fields at address %p:\n", spu); in dump_spu_fields()
4295 printf("*** Error: accessing spu info for spu %ld\n", num); in dump_spu_ls()
4306 printf("*** Error: address outside of local store\n"); in dump_spu_ls()
4346 printf("*** Error: invalid spu number\n"); in do_spu_cmd()