xen/arm64: head: Rework and document setup_fixmap()
authorJulien Grall <julien.grall@arm.com>
Fri, 7 Jun 2019 21:09:32 +0000 (22:09 +0100)
committerJulien Grall <julien.grall@arm.com>
Thu, 26 Sep 2019 15:03:39 +0000 (16:03 +0100)
commite8e6bca4d8cd02dd12ad4b082451eb163b5c9f11
tree6e9edcdea8a113adfd72aba2ef8b4462f665bd3b
parent2b11c3646105adf78830451ef10d9ef0441b50ca
xen/arm64: head: Rework and document setup_fixmap()

At the moment, the fixmap table is only hooked when earlyprintk is used.
This is fine today because in C land, the fixmap is not used by anyone
until the the boot CPU is switching to the runtime page-tables.

In the future, the boot CPU will not switch between page-tables to
avoid TLB incoherency. Thus, the fixmap table will need to be always
hooked before any use. Let's start doing it now in setup_fixmap().

Lastly, document the behavior and the main registers usage within the
function.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm64/head.S