xen: Port Xen hypervisor related code from mini-os
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Thu, 6 Aug 2020 09:42:48 +0000 (12:42 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 19:18:30 +0000 (15:18 -0400)
commit486544161fa97accff12c2fc585ffe218b8dfc52
treedf95622b7bfc2602efce52193ab81971991fdc8c
parent770a8eef3e27a5dc16e286cafa1a58e9201c9721
xen: Port Xen hypervisor related code from mini-os

Port hypervisor related code from Mini-OS. This is referencing the code
of Mini-OS from [1] by Huang Shijie and Volodymyr Babchuk which is for
ARM64.
Update essential arch code to support required bit operations, memory
barriers etc.

Copyright for the bits ported belong to at least the following authors,
please see related files for details:

Copyright (c) 2002-2003, K A Fraser
Copyright (c) 2005, Grzegorz Milos, gm281@cam.ac.uk,Intel Research Cambridge
Copyright (c) 2014, Karim Allah Ahmed <karim.allah.ahmed@gmail.com>

[1] - https://github.com/zyzii/mini-os.git

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko@epam.com>
[trini: Drop wmb() from musb-net/linux-compat.h now]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/io.h
arch/arm/include/asm/xen/system.h [new file with mode: 0644]
common/board_r.c
drivers/Makefile
drivers/usb/musb-new/linux-compat.h
drivers/xen/Makefile [new file with mode: 0644]
drivers/xen/hypervisor.c [new file with mode: 0644]
include/xen.h [new file with mode: 0644]
include/xen/hvm.h [new file with mode: 0644]