[PATCH 0/2] xen: fix using ZONE_DEVICE memory for foreign mappings

From: Juergen Gross
Date: Mon Dec 07 2020 - 08:31:17 EST


Fix an issue found in dom0 when running on a host with NVMe.

Juergen Gross (2):
xen: add helpers for caching grant mapping pages
xen: don't use page->lru for ZONE_DEVICE memory

drivers/block/xen-blkback/blkback.c | 89 ++++----------------
drivers/block/xen-blkback/common.h | 4 +-
drivers/block/xen-blkback/xenbus.c | 6 +-
drivers/xen/grant-table.c | 123 ++++++++++++++++++++++++++++
drivers/xen/unpopulated-alloc.c | 20 +++--
drivers/xen/xen-scsiback.c | 60 +++-----------
include/xen/grant_table.h | 17 ++++
7 files changed, 182 insertions(+), 137 deletions(-)

--
2.26.2