android_kernel_motorola_sm6375/include/xen
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Julien Grall 18d691d837 arm/xen: Don't probe xenbus as part of an early initcall
commit c4295ab0b485b8bc50d2264bcae2acd06f25caaf upstream.

After Commit 3499ba8198cad ("xen: Fix event channel callback via
INTX/GSI"), xenbus_probe() will be called too early on Arm. This will
recent to a guest hang during boot.

If the hang wasn't there, we would have ended up to call
xenbus_probe() twice (the second time is in xenbus_probe_initcall()).

We don't need to initialize xenbus_probe() early for Arm guest.
Therefore, the call in xen_guest_init() is now removed.

After this change, there is no more external caller for xenbus_probe().
So the function is turned to a static one. Interestingly there were two
prototypes for it.

Cc: [email protected]
Fixes: 3499ba8198cad ("xen: Fix event channel callback via INTX/GSI")
Reported-by: Ian Jackson <[email protected]>
Signed-off-by: Julien Grall <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Reviewed-by: Stefano Stabellini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-02-17 10:35:14 +01:00
..
arm swiotlb-xen: simplify cache maintainance 2019-09-11 12:43:27 +02:00
interface
acpi.h
balloon.h
events.h xen/events: add a new "late EOI" evtchn framework 2020-11-05 11:43:10 +01:00
features.h
grant_table.h
hvc-console.h
hvm.h
mem-reservation.h
page.h
platform_pci.h
swiotlb-xen.h swiotlb-xen: simplify cache maintainance 2019-09-11 12:43:27 +02:00
xen-front-pgdir-shbuf.h
xen-ops.h xen/efi: have a common runtime setup function 2019-10-02 10:31:07 -04:00
xen.h
xenbus.h arm/xen: Don't probe xenbus as part of an early initcall 2021-02-17 10:35:14 +01:00
xenbus_dev.h