]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM
authorStefano Stabellini <stefanos@xilinx.com>
Wed, 31 Oct 2018 23:11:49 +0000 (16:11 -0700)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:59:30 +0000 (19:59 -0600)
commitbde336740f7e11d128b7eef94cf7bdfe50fec3d0
tree269e01b4c96877f68140e500bdf20c4144a97a8e
parent0c7403349b086f56a921f7398511946d1397c556
CONFIG_XEN_PV breaks xen_create_contiguous_region on ARM

BugLink: https://bugs.launchpad.net/bugs/1836802
commit f9005571701920551bcf54a500973fb61f2e1eda upstream.

xen_create_contiguous_region has now only an implementation if
CONFIG_XEN_PV is defined. However, on ARM we never set CONFIG_XEN_PV but
we do have an implementation of xen_create_contiguous_region which is
required for swiotlb-xen to work correctly (although it just sets
*dma_handle).

[backport: remove change to xen_remap_pfn]

Cc: <stable@vger.kernel.org> # 4.12
Fixes: 16624390816c ("xen: create xen_create/destroy_contiguous_region() stubs for PVHVM only builds")
Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
CC: Jeff.Kubascik@dornerworks.com
CC: Jarvis.Roach@dornerworks.com
CC: Nathan.Studer@dornerworks.com
CC: vkuznets@redhat.com
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
CC: julien.grall@arm.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/xen/xen-ops.h