Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6db71994 authored by Timur Tabi's avatar Timur Tabi Committed by Kumar Gala
Browse files

drivers/virt: introduce Freescale hypervisor management driver



Add the drivers/virt directory, which houses drivers that support
virtualization environments, and add the 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. A kernel interface for receiving callbacks when a managed partition
   shuts down.

Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 8dbb6bc1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -301,6 +301,7 @@ Code Seq#(hex) Include File Comments
					<mailto:rusty@rustcorp.com.au>
0xAE	all	linux/kvm.h		Kernel-based Virtual Machine
					<mailto:kvm@vger.kernel.org>
0xAF	00-1F	linux/fsl_hypervisor.h	Freescale hypervisor
0xB0	all	RATIO devices		in development:
					<mailto:vgo@ratio.de>
0xB1	00-1F	PPPoX			<mailto:mostrows@styx.uwaterloo.ca>
+2 −0
Original line number Diff line number Diff line
@@ -126,4 +126,6 @@ source "drivers/hwspinlock/Kconfig"

source "drivers/clocksource/Kconfig"

source "drivers/virt/Kconfig"

endmenu
+3 −0
Original line number Diff line number Diff line
@@ -122,3 +122,6 @@ obj-y += ieee802154/
obj-y				+= clk/

obj-$(CONFIG_HWSPINLOCK)	+= hwspinlock/

# Virtualization drivers
obj-$(CONFIG_VIRT_DRIVERS)	+= virt/

drivers/virt/Kconfig

0 → 100644
+32 −0
Original line number Diff line number Diff line
#
# Virtualization support drivers
#

menuconfig VIRT_DRIVERS
	bool "Virtualization drivers"
	---help---
	  Say Y here to get to see options for device drivers that support
	  virtualization environments.

	  If you say N, all options in this submenu will be skipped and disabled.

if VIRT_DRIVERS

config FSL_HV_MANAGER
	tristate "Freescale hypervisor management driver"
	depends on FSL_SOC
	help
          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) A kernel interface for receiving callbacks when a managed
	     partition shuts down.

endif

drivers/virt/Makefile

0 → 100644
+5 −0
Original line number Diff line number Diff line
#
# Makefile for drivers that support virtualization
#

obj-$(CONFIG_FSL_HV_MANAGER)	+= fsl_hypervisor.o
Loading