xen-devel
[Xen-devel] [PATCH 5/6] hvmloader: Change memory relocation loop when ov
Change the way we relocate the memory page if they overlap with pci hole.
Use new map space (XENMAPSPACE_gmfn_range) to move the loop into xen.
This code usually get triggered when a device is pass through to a guest
and the PCI hole has to be extended to have enough room to map the device BARs.
The PCI hole will starts lower and it might overlap with some RAM that has been
alocated for the guest. That usually happen if the guest has more than 4G of
RAM.
We have to relocate those pages in high mem otherwise they won't be accessible.
Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
---
tools/firmware/hvmloader/pci.c | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
0005-hvmloader-Change-memory-relocation-loop-when-overlap.patch
Description: Text Data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] IOMMU, vtd and iotlb flush rework (v2), Jean Guyader
- [Xen-devel] [PATCH 1/6] vtd: Refactor iotlb flush code, Jean Guyader
- [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jean Guyader
- [Xen-devel] [PATCH 3/6] add_to_physmap: Move the code for XENMEM_add_to_physmap., Jean Guyader
- [Xen-devel] [PATCH 4/6] mm: New XENMEM, XENMEM_add_to_physmap_gmfn_range, Jean Guyader
- [Xen-devel] [PATCH 5/6] hvmloader: Change memory relocation loop when overlap with PCI hole.,
Jean Guyader <=
- [Xen-devel] [PATCH 6/6] Introduce per cpu flag (iommu_dont_flush_iotlb) to avoid unnecessary iotlb flush, Jean Guyader
- Re: [Xen-devel] [PATCH 4/6] mm: New XENMEM, XENMEM_add_to_physmap_gmfn_range, Jan Beulich
- Re: [Xen-devel] [PATCH 4/6] mm: New XENMEM, XENMEM_add_to_physmap_gmfn_range, Jean Guyader
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jan Beulich
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jean Guyader
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jan Beulich
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jean Guyader
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Wei Wang2
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jean Guyader
- Re: [Xen-devel] [PATCH 2/6] iommu: Introduce iommu_flush and iommu_flush_all., Jan Beulich
|
|
|