Thread (42 messages) 42 messages, 4 authors, 2015-03-31
STALE4097d
Revisions (5)
  1. rfc [diff vs current]
  2. rfc [diff vs current]
  3. rfc current
  4. rfc [diff vs current]
  5. rfc [diff vs current]

[RFC PATCH 0/3] arm64: relocatable kernel proof of concept

From: mark.rutland@arm.com (Mark Rutland)
Date: 2015-03-17 16:20:31

quoted
Hmm. I'd be rather worried about the fixup step; I suspect that'll be
fragile and rarely tested. Perhaps we could verify them at boot time?
It would essentially be __relocate_kernel() but executed at build time against vmlinux with a reloc offset of #0
Sure, the logic is simple enough.

What I'm worried about is something changing in the build system
somewhere and we accidentally miss the fixup somehow in some cases,
we accidentally apply the fixup to the wrong field, or things like that.

At that stage there's very little sanity checking that we can do a la
BUILD_BUG_ON, ASSERT, etc.

Which isn't to say that we can't do that, just that I feel a little
uneasy about it.

Mark.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help