x86/pvh: Set phys_base when calling xen_prepare_pvh()
authorJason Andryuk <jason.andryuk@amd.com>
Fri, 23 Aug 2024 19:36:28 +0000 (15:36 -0400)
committerJuergen Gross <jgross@suse.com>
Wed, 25 Sep 2024 12:15:11 +0000 (14:15 +0200)
commitb464b461d27d564125db760938643374864c1b1f
tree53b792e91be52082bcd93d429257059d8d408728
parent1db29f99edb056d8445876292f53a63459142309
x86/pvh: Set phys_base when calling xen_prepare_pvh()

phys_base needs to be set for __pa() to work in xen_pvh_init() when
finding the hypercall page.  Set it before calling into
xen_prepare_pvh(), which calls xen_pvh_init().  Clear it afterward to
avoid __startup_64() adding to it and creating an incorrect value.

Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Message-ID: <20240823193630.2583107-4-jason.andryuk@amd.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/platform/pvh/head.S