drivers/misc: introduce Freescale hypervisor management driver
PATCH v3 7/7 drivers/misc: introduce Freescale hypervisor management driver
The Freescale hypervisor management driver provides several services to drivers and applications related to the Freescale hypervisor:
1. An ioctl interface for querying and managing partitions
2. A file interface to reading incoming doorbells
3. An interrupt handler for shutting down the partition upon receiving the shutdown doorbell from a manager partition
4. An interface for receiving callbacks when a managed partition shuts down.
Signed-off-by Timur Tabi <[email protected]>
--- drivers/misc/Kconfig | 7 + drivers/misc/Makefile | 1 + drivers/misc/fsl_hypervisor.c | 954 ++++++++++++++++++++++++++++++++++++++++ include/linux/Kbuild | 1 + include/linux/fsl_hypervisor.h | 214 +++++++++ 5 files changed, 1177 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/fsl_hypervisor.c create mode 100644 include/linux/fsl_hypervisor.h
drivers/misc/Kconfig +7 -0
@@ -216,6 +216,13 @@ config ENCLOSURE_SERVICES driver (SCSI/ATA) which supports enclosures or a SCSI enclosure device (SES) to use these services. +config FSL_HV_MANAGER + tristate "Freescale hypervisor management driver" + depends on FSL_SOC + help + This driver allows applications to communicate with the Freescale + Hypervisor. + config SGI_XP tristate "Support communication between SGI SSIs" depends on NET
drivers/misc/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_SENSORS_BH1770) += bh1770glc.o obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o obj-$(CONFIG_SGI_IOC4) += ioc4.o obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o +obj-$(CONFIG_FSL_HV_MANAGER) += fsl_hypervisor.o obj-$(CONFIG_KGDB_TESTS) += kgdbts.o obj-$(CONFIG_SGI_XP) += sgi-xp/ obj-$(CONFIG_SGI_GRU) += sgi-gru/
drivers/misc/fsl_hypervisor.c new file +954 -0
954 lines not on this page · raw message
include/linux/Kbuild +1 -0
@@ -134,6 +134,7 @@ header-y += firewire-cdev.h header-y += firewire-constants.h header-y += flat.h header-y += fs.h +header-y += fsl_hypervisor.h header-y += fuse.h header-y += futex.h header-y += gameport.h
include/linux/fsl_hypervisor.h new file +214 -0
214 lines not on this page · raw message
Signature · 1 line
1.7.3.4