[PATCH] arm64: traps: attempt to dump all instructions

Catalin Marinas catalin.marinas at arm.com
Fri Jan 27 09:51:58 PST 2023


On Fri, 27 Jan 2023 12:12:56 +0000, Mark Rutland wrote:
> Currently dump_kernel_instr() dumps a few instructions around the
> pt_regs::pc value, dumping 4 instructions before the PC before dumping
> the instruction at the PC. If an attempt to read an instruction fails,
> it gives up and does not attempt to dump any subsequent instructions.
> 
> This is unfortunate when the pt_regs::pc value points to the start of a
> page with a leading guard page, where the instruction at the PC can be
> read, but prior instructions cannot.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: traps: attempt to dump all instructions
      https://git.kernel.org/arm64/c/a873bb493fb1

-- 
Catalin




More information about the linux-arm-kernel mailing list