]> git.baikalelectronics.ru Git - kernel.git/commit
virt: acrn: Introduce ACRN HSM basic driver
authorShuo Liu <shuo.a.liu@intel.com>
Sun, 7 Feb 2021 03:10:27 +0000 (11:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Feb 2021 09:58:18 +0000 (10:58 +0100)
commit666834c47d3b41da550bbcbc709148e5fc14879c
tree84f4f08744ae34b152d6cef2a0cdde1ed916334a
parent8a0a87198a584202616868f9c82d9611bb675c90
virt: acrn: Introduce ACRN HSM basic driver

ACRN Hypervisor Service Module (HSM) is a kernel module in Service VM
which communicates with ACRN userspace through ioctls and talks to ACRN
Hypervisor through hypercalls.

Add a basic HSM driver which allows Service VM userspace to communicate
with ACRN. The following patches will add more ioctls, guest VM memory
mapping caching, I/O request processing, ioeventfd and irqfd into this
module. HSM exports a char device interface (/dev/acrn_hsm) to userspace.

Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Zhi Wang <zhi.a.wang@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Yu Wang <yu1.wang@intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
Link: https://lore.kernel.org/r/20210207031040.49576-6-shuo.a.liu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/virt/Kconfig
drivers/virt/Makefile
drivers/virt/acrn/Kconfig [new file with mode: 0644]
drivers/virt/acrn/Makefile [new file with mode: 0644]
drivers/virt/acrn/acrn_drv.h [new file with mode: 0644]
drivers/virt/acrn/hsm.c [new file with mode: 0644]