Skip to content

Fix arm64 issues highlighted by sparse and smatch

Christoffer Dall linux-arm-kernel 1 version New

Get series with b4
b4 am 20140827205842.GA19836@cbox

Versions newest first

  1. v1 Latest0 of 11 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] Fix arm64 issues highlighted by sparse and smatch
Quoted 25 lines · Will Deacon

Hi Christoffer,

Quoted 10 lines · Christoffer Dall
Quoted 9 lines · Will Deacon

Hi all,

After the static checking talk at kernel summit, I felt empowered to go and run sparse and smatch over the arm64 defconfig. As I anticipated, this spotted a few issues in the arch code, so I've fixed up the ones that aren't just noise in this series. Most are simply incorrect address space annotations, but fixing these is useful for spotting real issues in the future.

Quoted 7 lines
Quoted 4 lines

I don't think any of these fix critical bugs, but they all deserve to be addressed. I tagged the compat watchpoint fix for stable, as that code has been broken since we merged the architecture port.

Do you want me to queue the kvm ones or did you have other plans to upstream this entire series as one?

They're all independent, so please take the kvm ones via your tree. I can send a separate pull if you prefer? Jason -- would you like an irqchip-specific pull for those?

Quoted 8 lines
Quoted 2 lines

Also, do you consider these fixes for 3.17 (what about cc for stable in that case), or for 3.18?

The only one I CC'd stable for was the compat ptrace watchpoint patch, because that's something that we've been getting wrong and will cause breakage with a 32-bit GDB. I don't consider the others urgent (i.e. happy if you wait until 3.18).

Applied to queue, thanks.
-Christoffer