KVM: arm64: nVHE: Merge host and guest switching paths

There are similarities between the guest and host switching paths so
merging the two allows these to become common. As future changes are
expected to bring greater similarities, e.g. S2 for the host, more of
the logic can become common.

The remaining differences between the guest and host switching are
separated with coarse-grained conditionals in order to keep the overhead
on the host lower.

Signed-off-by: Andrew Scull <ascull@google.com>
1 file changed