[char-misc-next 00/13] mei: add support for virtual tags
From: Tomas Winkler
Date: Tue Aug 18 2020 - 08:10:00 EST
Add support for mei virtualization for ACRN but might be used for other purposes such as sandboxing.
ACRN is an open-source hypervisor maintained by The Linux Foundation.
The support for ACRN was added in kernel in v5.3.
The patches were part of the ACRN service OS kernel for a while.
https://github.com/projectacrn/acrn-kernel
Only selected platforms, notable for IoT usage, such as APL-I, have
firmware that supports vtags.
Alexander Usyskin (10):
mei: hbm: add capabilities message
mei: restrict vtag support to hbm version 2.2
mei: add vtag support bit in client properties
mei: bump hbm version to 2.2
mei: add a spin lock to protect rd_completed queue
mei: add a vtag map for each client
mei: handle tx queue flushing for vtag connections
mei: bus: use zero vtag for bus clients.
mei: bus: unconditionally enable clients with vtag support
mei: add connect with vtag ioctl
Tomas Winkler (3):
mei: add support for mei extended header.
mei: docs: add vtag ioctl documentation
mei: virtio: virtualization frontend driver
Documentation/ABI/testing/sysfs-bus-mei | 7 +
Documentation/driver-api/mei/mei.rst | 37 +
drivers/misc/mei/Kconfig | 10 +
drivers/misc/mei/Makefile | 3 +
drivers/misc/mei/bus-fixup.c | 12 +
drivers/misc/mei/bus.c | 89 ++-
drivers/misc/mei/client.c | 423 ++++++++++--
drivers/misc/mei/client.h | 22 +-
drivers/misc/mei/debugfs.c | 9 +-
drivers/misc/mei/hbm.c | 101 ++-
drivers/misc/mei/hbm.h | 2 +
drivers/misc/mei/hw-virtio.c | 874 ++++++++++++++++++++++++
drivers/misc/mei/hw.h | 150 +++-
drivers/misc/mei/interrupt.c | 113 ++-
drivers/misc/mei/main.c | 284 +++++++-
drivers/misc/mei/mei_dev.h | 34 +-
include/uapi/linux/mei.h | 49 ++
17 files changed, 2084 insertions(+), 135 deletions(-)
create mode 100644 drivers/misc/mei/hw-virtio.c
--
2.25.4