xen/arm32: head: Rework and document setup_fixmap()
authorJulien Grall <julien.grall@arm.com>
Sat, 20 Apr 2019 14:21:44 +0000 (15:21 +0100)
committerJulien Grall <julien.grall@arm.com>
Thu, 26 Sep 2019 15:03:39 +0000 (16:03 +0100)
commitb03f75e22a0952fdae0dbac8a0febad0e0766a32
treef18bb8a8a514b3d6a75dbf87a965420bd8c50cb5
parente79999e587d733d02901005d511f48ea1045c24d
xen/arm32: 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 beofre 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>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S