aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon/xmon.c
AgeCommit message (Expand)AuthorFilesLines
12 dayspowerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"Greg Kurz1-3/+3
2024-03-15Merge tag 'powerpc-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-4/+2
2024-03-06mm/powerpc: replace pXd_is_leaf() with pXd_leaf()Peter Xu1-3/+3
2024-02-22powerpc: Use user_mode() macro when possibleChristophe Leroy1-2/+2
2024-02-21powerpc: Remove duplicate/unnecessary ifdefsShrikanth Hegde1-2/+0
2023-09-01Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+1
2023-08-31Merge tag 'powerpc-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-7/+4
2023-08-24powerpc: Don't include lppaca.h in paca.hMichael Ellerman1-0/+1
2023-08-18mm: remove arguments of show_mem()Kefeng Wang1-1/+1
2023-08-14powerpc: xmon: remove unused variablesArnd Bergmann1-6/+2
2023-08-14powerpc: mark more local variables as volatileArnd Bergmann1-1/+1
2023-07-25tty: sysrq: switch sysrq handlers from int to u8Jiri Slaby1-1/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+4
2023-06-19powerpc: allow pte_offset_map[_lock]() to failHugh Dickins1-1/+4
2023-05-30powerpc/xmon: Use KSYM_NAME_LEN in array sizeManinder Singh1-1/+1
2023-04-20powerpc/64: vmlinux support building with PCREL addresingNicholas Piggin1-0/+2
2023-03-06cpumask: fix incorrect cpumask scanning result checksLinus Torvalds1-1/+1
2023-02-13powerpc/rtas: arch-wide function token lookup conversionsNathan Lynch1-13/+3
2022-12-02powerpc: Rename STACK_FRAME_MARKER and derive it from frame offsetNicholas Piggin1-2/+1
2022-12-02powerpc: add definition for pt_regs offset within an interrupt frameNicholas Piggin1-4/+3
2022-11-24powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmdsGustavo A. R. Silva1-3/+4
2022-09-26powerpc: Simplify redundant Kconfig testsChristophe Leroy1-1/+1
2022-09-26powerpc: Remove CONFIG_PPC_BOOK3EChristophe Leroy1-8/+8
2022-07-27powerpc/ppc-opcode: Define and use PPC_RAW_TRAP() and PPC_RAW_TW()Christophe Leroy1-1/+1
2022-06-29powerpc/64: Drop ppc_inst_as_str()Michael Ellerman1-1/+1
2022-05-30Merge tag 'pm-5.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-2/+1
2022-05-22powerpc: Fix all occurences of "the the"Michael Ellerman1-1/+1
2022-05-19powerpc: Use do_kernel_power_off()Dmitry Osipenko1-2/+1
2022-05-08powerpc: Remove asm/prom.h from all files that don't need itChristophe Leroy1-1/+0
2022-05-06powerpc: Reject probes on instructions that can't be single steppedNaveen N. Rao1-6/+5
2022-05-05powerpc: fix typos in commentsJulia Lawall1-1/+1
2022-01-06powerpc/xmon: Dump XIVE information for online-only processors.Sachin Sant1-2/+2
2021-12-23powerpc/xmon: Add __init attribute to eligible functionsNick Child1-1/+1
2021-12-09powerpc/inst: Define ppc_inst_tChristophe Leroy1-7/+7
2021-12-09powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMUNicholas Piggin1-3/+5
2021-11-24powerpc/64s: guard optional TIDR SPR with CPU ftr testNicholas Piggin1-2/+8
2021-10-28powerpc/xmon: fix task state outputDenis Kirjanov1-2/+1
2021-08-26powerpc: Refactor verification of MSR_RIChristophe Leroy1-13/+3
2021-08-13powerpc: rename powerpc_debugfs_root to arch_debugfs_dirAneesh Kumar K.V1-3/+3
2021-07-02Merge tag 'powerpc-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-46/+150
2021-06-25powerpc: mark local variables around longjmp as volatileArnd Bergmann1-11/+11
2021-06-25powerpc/xmon: Add support for running a command on all cpus in xmonNaveen N. Rao1-22/+126
2021-06-25powerpc/64s: avoid reloading (H)SRR registers if they are still validNicholas Piggin1-7/+7
2021-06-18sched: Change task_struct::statePeter Zijlstra1-6/+7
2021-06-17powerpc: Don't use 'struct ppc_inst' to reference instruction locationChristophe Leroy1-5/+5
2021-05-23powerpc/xmon: make dumping log buffer contents more reliableNathan Lynch1-1/+1
2021-04-30Merge tag 'powerpc-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-52/+24
2021-04-27Merge tag 'printk-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2021-04-21powerpc/inst: ppc_inst_as_u64() becomes ppc_inst_as_ulong()Christophe Leroy1-1/+1
2021-04-17powerpc/traps: Enhance readability for trap typesXiongwei Song1-7/+13
2021-04-14powerpc: remove partial register save logicNicholas Piggin1-16/+7
2021-04-14powerpc/xmon: Make symbol 'spu_inst_dump' staticPu Lehui1-2/+1
2021-04-14powerpc/xive: Simplify the dump of XIVE interrupts under xmonCédric Le Goater1-26/+2
2021-03-08printk: kmsg_dump: remove _nolock() variantsJohn Ogness1-2/+2
2021-03-08printk: introduce a kmsg_dump iteratorJohn Ogness1-3/+3
2021-03-08printk: kmsg_dumper: remove @active fieldJohn Ogness1-1/+1
2021-02-09powerpc/32s: mfsrin()/mtsrin() become mfsr()/mtsr()Christophe Leroy1-1/+1
2021-01-31powerpc/xmon: Enable breakpoints on 8xxChristophe Leroy1-4/+0
2020-12-04powerpc: Allow relative pointers in bug table entriesJordan Niethe1-2/+2
2020-12-04powerpc/xmon: Fix build failure for 8xxRavi Bangoria1-0/+2
2020-09-15powerpc/watchpoint: Add hw_len wherever missingRavi Bangoria1-0/+1
2020-07-29powerpc: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-29powerpc/xmon: Use `dcbf` inplace of `dcbi` instruction for 64bit Book3SBalamuruhan S1-1/+1
2020-07-23Merge branch 'scv' support into nextMichael Ellerman1-0/+1
2020-07-23powerpc/xmon: Improve dumping prefixed instructionsJordan Niethe1-5/+6
2020-07-23powerpc: Add a ppc_inst_as_str() helperJordan Niethe1-1/+1
2020-07-22powerpc/64s: system call support for scv/rfscv instructionsNicholas Piggin1-0/+1
2020-07-22powerpc/xmon: Add PowerISA v3.1 PMU SPRsMadhavan Srinivasan1-0/+13
2020-07-15powerpc/xmon: Reset RCU and soft lockup watchdogsAnton Blanchard1-1/+8
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-07Merge tag 'tty-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+1
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-76/+153
2020-06-04powerpc: add support for folded p4d page tablesMike Rapoport1-14/+13
2020-06-02powerpc/xmon: Show task->thread.regs in process displayMichael Ellerman1-3/+3
2020-05-26powerpc: Add ppc_inst_next()Michael Ellerman1-1/+1
2020-05-19powerpc/watchpoint/xmon: Support 2nd DAWRRavi Bangoria1-32/+69
2020-05-19powerpc/watchpoint/xmon: Don't allow breakpoint overwritingRavi Bangoria1-0/+4
2020-05-19powerpc/watchpoint: Provide DAWR number to __set_breakpointRavi Bangoria1-1/+1
2020-05-19powerpc/watchpoint: Rename current DAWR macrosRavi Bangoria1-1/+1
2020-05-19powerpc/xmon: Don't allow breakpoints on suffixesJordan Niethe1-2/+25
2020-05-19powerpc: Add prefixed instructions to instruction data typeJordan Niethe1-2/+2
2020-05-19powerpc/xmon: Move insertion of breakpoint for xol'ingJordan Niethe1-1/+2
2020-05-19powerpc/xmon: Use a function for reading instructionsJordan Niethe1-4/+24
2020-05-19powerpc: Use a function for reading instructionsJordan Niethe1-3/+3
2020-05-19powerpc: Use a datatype for instructionsJordan Niethe1-11/+11
2020-05-19powerpc: Introduce functions for instruction equalityJordan Niethe1-2/+2
2020-05-19powerpc: Use an accessor for instructionsJordan Niethe1-2/+2
2020-05-19powerpc: Use a macro for creating instructions from u32sJordan Niethe1-3/+4
2020-05-19powerpc/xmon: Use bitwise calculations in_breakpoint_table()Jordan Niethe1-2/+2
2020-05-19powerpc/xmon: Move breakpoints to text sectionJordan Niethe1-5/+1
2020-05-19powerpc/xmon: Move breakpoint instructions to own arrayJordan Niethe1-9/+12
2020-05-19powerpc/xmon: Remove store_inst() for patch_instruction()Jordan Niethe1-13/+5
2020-05-15powerpc/xmon: constify sysrq_key_opEmil Velikov1-1/+1
2020-05-15powerpc: trap_is_syscall() helper to hide syscall trap numberNicholas Piggin1-1/+1
2020-05-15powerpc: Use set_trap() and avoid open-coding trap maskingNicholas Piggin1-1/+1
2020-03-27powerpc/xmon: Add ASCII dump to d1,d2,d4,d8 commands.Douglas Miller1-1/+6
2020-03-25powerpc/xmon: Lower limits on nidump and ndumpMichael Ellerman1-3/+4
2020-02-18powerpc/xmon: Fix whitespace handling in getstring()Oliver O'Halloran1-0/+5
2020-01-23powerpc/xmon: Allow passing an argument to ppc_md.restart()Oliver O'Halloran1-4/+7
2020-01-14powerpc/xmon: don't access ASDR in VMsSukadev Bhattiprolu1-5/+4
2019-11-13powerpc/watchpoint: Introduce macros for watchpoint lengthRavi Bangoria1-1/+1
2019-10-28powerpc/xmon: Restrict when kernel is locked downChristopher M. Riedl1-21/+82
2019-10-28powerpc/xmon: Allow listing and clearing breakpoints in read-only modeChristopher M. Riedl1-5/+11
2019-09-14powerpc/xmon: Improve output of XIVE interruptsCédric Le Goater1-11/+4
2019-08-19powerpc/xmon: Add a dump of all XIVE interruptsCédric Le Goater1-0/+21
2019-08-19powerpc/xive: Fix dump of XIVE interrupt under pseriesCédric Le Goater1-6/+6
2019-08-19powerpc/xmon: Check for HV mode when dumping XIVE info from OPALCédric Le Goater1-7/+10
2019-07-13Merge tag 'powerpc-5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-5/+9
2019-07-05powerpc/book3s: Use config independent helpers for page table walkAneesh Kumar K.V1-3/+3
2019-07-02powerpc/64s/exception: remove bad stack branchNicholas Piggin1-0/+2
2019-07-01powerpc/xmon: Fix disabling tracing while in xmonNaveen N. Rao1-2/+4
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-10Merge tag 'powerpc-5.2-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-14/+52
2019-05-03powerpc/xmon: add read-only modeChristopher M. Riedl1-0/+42
2019-04-30powerpc/64s: Reimplement book3s idle code in CNicholas Piggin1-14/+10
2019-04-08powerpc/mmiowb: Hook up mmwiob() implementation to asm-generic codeWill Deacon1-1/+4
2019-02-23powerpc: Only use task_struct 'cpu' field on SMPChristophe Leroy1-1/+1
2018-12-19powerpc/xmon: fix dump_segments()Christophe Leroy1-1/+1
2018-12-04powerpc: annotate implicit fall throughsStephen Rothwell1-0/+1
2018-12-04powerpc/xmon: Fix invocation inside lock regionBreno Leitao1-4/+14
2018-11-26powerpc: change CONFIG_PPC_STD_MMU to CONFIG_PPC_BOOK3SChristophe Leroy1-1/+1
2018-11-26powerpc: change CONFIG_PPC_STD_MMU_32 to CONFIG_PPC_BOOK3S_32Christophe Leroy1-2/+2
2018-11-25powerpc/xmon: Define static functionsBreno Leitao1-3/+3
2018-10-20powerpc/time: Only set CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC64Christophe Leroy1-0/+4
2018-10-14powerpc/64s/hash: Add SLB allocation status bitmapsNicholas Piggin1-1/+3
2018-10-14powerpc/mm: use pte helpers in generic codeChristophe Leroy1-5/+7
2018-10-13powerpc/xmon: Show the stack protector canary in xmonMichael Ellerman1-0/+3
2018-10-03Revert "convert SLB miss handlers to C" and subsequent commitsMichael Ellerman1-3/+1
2018-09-19powerpc/64s: xmon do not dump hash fields when using radix modeNicholas Piggin1-19/+21
2018-09-19powerpc/64s/hash: SLB allocation status bitmapsNicholas Piggin1-1/+3
2018-09-19powerpc/64s/hash: Use POWER9 SLBIA IH=3 variant in switch_slbNicholas Piggin1-4/+7
2018-08-13Merge branch 'fixes' into nextMichael Ellerman1-2/+2
2018-08-10powerpc/xmon: Add address lookup for percpu symbolsBoqun Feng1-1/+32
2018-07-19Merge branch 'topic/ppc-kvm' into nextMichael Ellerman1-1/+0
2018-07-17powerpc/xmon: Fix disassembly since printf changesMichael Ellerman1-2/+2
2018-07-16powerpc/64s: Remove POWER9 DD1 supportNicholas Piggin1-1/+0
2018-07-02powerpc: xmon: use ktime_get_coarse_boottime64Arnd Bergmann1-2/+2
2018-06-03powerpc/64: Save stack pointer when we hard disable interruptsMichael Ellerman1-0/+4
2018-06-03powerpc/64: change softe to irqmask in show_regs and xmonNicholas Piggin1-1/+1
2018-06-03powerpc/xmon: use match_string() helperYisheng Xie1-12/+11
2018-05-25powerpc/xmon: Update paca fields dumped in xmonMichael Ellerman1-0/+10
2018-05-25powerpc/xmon: Realign paca dump fieldsMichael Ellerman1-8/+9
2018-05-25powerpc/xmon: Add __printf annotation to xmon_printf()Mathieu Malaterre1-61/+61
2018-05-25powerpc/xmon: Specify the full format in DUMP() macroMichael Ellerman1-51/+51
2018-05-25powerpc/xmon: Also setup debugger hooks when single-steppingMichal Suchanek1-10/+11
2018-03-31Merge branch 'topic/paca' into nextMichael Ellerman1-1/+1
2018-03-30powerpc/64: Use array of paca pointers and allocate pacas individuallyNicholas Piggin1-1/+1
2018-03-27Merge branch 'topic/ppc-kvm' into nextMichael Ellerman1-0/+4
2018-03-27powerpc: Update xmon to use ppc_breakpoint_available()Michael Neuling1-0/+4
2018-03-13powerpc/xmon: Move empty plpar_set_ciabr() into plpar_wrappers.hMichael Ellerman1-6/+1
2018-03-13powerpc: Rename plapr routines to plparMichael Ellerman1-2/+2
2018-03-13powerpc/xmon: Clear all breakpoints when xmon is disabled via debugfsVaibhav Jain1-0/+24
2018-03-13powerpc/xmon: Setup debugger hooks when first break-point is setVaibhav Jain1-1/+16
2018-01-23powerpc/64s: Improve RFI L1-D cache flush fallbackNicholas Piggin1-2/+0
2018-01-21Merge branch 'fixes' into nextMichael Ellerman1-16/+20
2018-01-19powerpc/64: Rename soft_enabled to irq_soft_maskMadhavan Srinivasan1-2/+2
2018-01-11powerpc/xmon: Don't print hashed pointers in paca dumpMichael Ellerman1-11/+11
2018-01-11powerpc/xmon: Add RFI flush related fields to paca dumpMichael Ellerman1-0/+4
2017-12-07powerpc/xmon: Don't print hashed pointers in xmonMichael Ellerman1-5/+5
2017-11-08powerpc/xmon: Support dumping software pagetablesBalbir Singh1-0/+116
2017-11-06powerpc/64s: Replace CONFIG_PPC_STD_MMU_64 with CONFIG_PPC_BOOK3S_64Michael Ellerman1-3/+3
2017-10-22powerpc/xmon: Add kstack base to paca dumpMichael Ellerman1-0/+1
2017-10-22powerpc/xmon: Check before calling xive functionsBreno Leitao1-0/+5
2017-10-06powerpc/xmon: Add option to show uptime informationGuilherme G. Piccoli1-0/+24
2017-10-04powerpc/xmon: Avoid tripping SMP hardlockup watchdogNicholas Piggin1-4/+13
2017-08-31powerpc/xmon: Add ISA v3.0 SPRs to SPR dumpBalbir Singh1-0/+23
2017-08-31powerpc/xmon: Add AMR, UAMOR, AMOR, IAMR to SPR dumpBalbir Singh1-4/+7
2017-08-31powerpc/xmon: Dump all 64 bits of HDECBalbir Singh1-1/+1
2017-08-31powerpc/xmon: Fix display of SPRsBalbir Singh1-16/+16
2017-08-14powerpc/xmon: Disable tracing when entering xmonBreno Leitao1-2/+6
2017-08-14powerpc/xmon: Dump ftrace buffers for the current CPU onlyBreno Leitao1-3/+19
2017-07-03powerpc/xmon: Add patch_instruction() support for xmonBalbir Singh1-2/+5
2017-05-30powerpc/xmon: Fix compile error with PPC_8xx=yNicholas Piggin1-4/+4
2017-05-01powerpc/xmon: Teach xmon oops about radix vectorsMichael Neuling1-2/+12
2017-04-28powerpc/xmon: Wait for secondaries before IPI'ing on system resetNicholas Piggin1-9/+27
2017-04-28powerpc/64s: Dedicated system reset interrupt stackNicholas Piggin1-0/+1
2017-04-28powerpc/64s: Disallow system reset vs system reset reentrancyNicholas Piggin1-0/+1
2017-04-25powerpc/xmon: Deindent the SLB dumping logicMichael Ellerman1-17/+22
2017-04-12Merge branch 'topic/xive' (early part) into nextMichael Ellerman1-2/+92
2017-04-11powerpc: Create asm/debugfs.h and move powerpc_debugfs_root thereMichael Ellerman1-4/+1
2017-04-10powerpc/xive: Native exploitation of the XIVE interrupt controllerBenjamin Herrenschmidt1-2/+92
2017-03-28powerpc/xmon: add debugfs entry for xmonGuilherme G. Piccoli1-0/+31
2017-03-28powerpc/xmon: drop the nobt option from xmon plus minor fixesGuilherme G. Piccoli1-10/+3
2017-03-28powerpc/xmon: Fix an unexpected xmon on/off state changePan Xinhui1-7/+10
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-03-01Merge tag 'powerpc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-3/+55
2017-02-22lib/show_mem.c: teach show_mem to work with the given nodemaskMichal Hocko1-1/+1
2017-02-22Merge tag 'powerpc-4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-4/+4
2017-02-21powerpc/xmon: Dump memory in CPU endian formatDouglas Miller1-3/+55
2017-02-02powerpc/xmon: Cleanup to use is_kernel_addr macroMadhavan Srinivasan1-4/+4
2017-01-14sched/cputime, powerpc: Migrate stolen_time field to the accounting structureFrederic Weisbecker1-1/+1
2017-01-14sched/cputime, powerpc: Prepare accounting structure for cputime flush on tickFrederic Weisbecker1-3/+3
2016-11-25powerpc/xmon: Add 'dt' command to dump trace buffersMichael Ellerman1-0/+6
2016-07-30Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwoo...Michael Ellerman1-7/+7
2016-07-14powerpc/xmon: Dump ISA 2.07 SPRsMichael Ellerman1-0/+44
2016-07-14powerpc/xmon: Dump ISA 2.06 SPRsMichael Ellerman1-0/+31
2016-07-14powerpc/xmon: Adjust spacing of existing SPRs to make room for moreMichael Ellerman1-5/+6
2016-07-14powerpc/xmon: Move static regno into its only userMichael Ellerman1-1/+1
2016-07-14powerpc/xmon: Remove unused externsMichael Ellerman1-5/+0
2016-07-09powerpc32: provide VIRT_CPU_ACCOUNTINGChristophe Leroy1-7/+7