Re: [PATCH] docs: arm64: Document that text_offset is always 0

From: Rasmus Villemoes

Date: Thu Jun 18 2026 - 04:03:05 EST


On Thu, Jun 04 2026, "Rasmus Villemoes" <linux@xxxxxxxxxxxxxxxxxx> wrote:

> When trying to figure out where to place and call an arm64 Image in
> memory, reading booting.rst should provide the answer. However, it
> requires quite some digging to figure out that text_offset is set via
> ".quad 0" in head.S and is thus actually always 0 since v5.10.
>
> Update the documentation and make that explicit. Reword the 2MB
> requirement accordingly, and remove the paragraphs that only apply to
> the ancient versions where text_offset could be non-zero, as they only
> confuse a current reader.
>

ping