forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: Timur Tabi <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,222 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -301,6 +301,7 @@ Code Seq#(hex) Include File Comments | |
<mailto:[email protected]> | ||
0xAE all linux/kvm.h Kernel-based Virtual Machine | ||
<mailto:[email protected]> | ||
0xAF 00-1F linux/fsl_hypervisor.h Freescale hypervisor | ||
0xB0 all RATIO devices in development: | ||
<mailto:[email protected]> | ||
0xB1 00-1F PPPoX <mailto:[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for drivers that support virtualization | ||
# | ||
|
||
obj-$(CONFIG_FSL_HV_MANAGER) += fsl_hypervisor.o |
Oops, something went wrong.