[GIT PULL] xen: fixes for 4.18-rc2

From: Juergen Gross
Date: Fri Jun 22 2018 - 10:51:20 EST


Linus,

Please git pull the following tag:

git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.18-rc2-tag

xen: fixes for 4.18-rc2

It contains the following fixes/cleanups:

- the removal of a BUG_ON() which wasn't necessary and which could
trigger now due to a recent change

- a correction of a long standing bug happening very rarely in Xen
dom0 when a hypercall buffer from user land was not accessible by
the hypervisor for very short periods of time due to e.g. page
migration or compaction

- usage of EXPORT_SYMBOL_GPL() instead EXPORT_SYMBOL() in a Xen-related
driver (no breakage possible as using those symbols without others
already exported via EXPORT-SYMBOL_GPL() wouldn't make any sense)

- a simplification for Xen PVH or Xen ARM guests

- some additional error handling for callers of xenbus_printf()


Thanks.

Juergen

arch/arm/xen/enlighten.c | 7 +-
arch/x86/xen/enlighten.c | 7 ++
arch/x86/xen/enlighten_pv.c | 1 +
arch/x86/xen/enlighten_pvh.c | 1 +
drivers/scsi/xen-scsifront.c | 33 ++++--
drivers/xen/Makefile | 2 +-
drivers/xen/events/events_base.c | 2 -
drivers/xen/grant-table.c | 4 +-
drivers/xen/manage.c | 18 +++-
drivers/xen/privcmd-buf.c | 210 +++++++++++++++++++++++++++++++++++++++
drivers/xen/privcmd.c | 9 ++
drivers/xen/privcmd.h | 3 +
drivers/xen/xen-scsiback.c | 16 ++-
include/xen/xen.h | 6 +-
14 files changed, 297 insertions(+), 22 deletions(-)

Boris Ostrovsky (1):
xen: Remove unnecessary BUG_ON from __unbind_from_irq()

Juergen Gross (2):
xen: add new hypercall buffer mapping device

Oleksandr Andrushchenko (1):
xen/grant-table: Export gnttab_{alloc|free}_pages as GPL

Roger Pau Monne (1):
xen: share start flags between PV and PVH

Zhouyang Jia (3):
xen: add error handling for xenbus_printf
scsi: xen-scsifront: add error handling for xenbus_printf
xen/scsiback: add error handling for xenbus_printf