Skip to content

arm64: Use BRK instruction for generic BUG traps

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 10 patches 0 repliesNew

3 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
9/10arm64/BUG: Use BRK instruction for generic BUG traps+0 -01 reply
9/10arm64/BUG: Use BRK instruction for generic BUG traps+0 -00 replies
10/10arm64/BUG: Show explicit backtrace for WARNs+0 -01 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWill Deacon
SeriesR-b
9/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] arm64: Use BRK instruction for generic BUG traps

Hi Dave,

Quoted 7 lines · Dave P Martin

Currently, the minimal default BUG() implementation from asm-generic is used for arm64.

This series uses the BRK software breakpoint instruction to generate a trap instead, similarly to most other arches, with the generic BUG code generating the dmesg boilerplate. This eliminates a fair amount of inlined code at BUG() and WARN() sites.

I think patches 3 and 8 are a bit OTT and don't really bring us much. However, for the rest of the series (modulo my minor comments):

Cheers,

Will