x86/Xen: tidy xen-head.S
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Jun 2023 06:36:00 +0000 (08:36 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 4 Jul 2023 04:57:38 +0000 (06:57 +0200)
commit1cfd4ccb3014922c8516557d857b6bc83e7db980
tree1f3c0d72523227a93e4e5c99dd32fc2c62c33bcb
parentfb9b7b4b2b82d72031bff6d615215c1c74064bb3
x86/Xen: tidy xen-head.S

First of all move PV-only ELF notes inside the XEN_PV conditional; note
that
- HV_START_LOW is dropped altogether, as it was meaningful for 32-bit PV
  only,
- the 32-bit instance of VIRT_BASE is dropped, as it would be dead code
  once inside the conditional,
- while PADDR_OFFSET is not exactly unused for PVH, it defaults to zero
  there, and the hypervisor (or tool stack) complains if it is present
  but VIRT_BASE isn't.
Then have the "supported features" note actually report reality: All
three of the features there are supported and/or applicable only in
certain cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/f99bacc6-2a2f-41b0-5c0b-e01b7051cb07@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/xen-head.S