kernel_optimize_test/arch/tile/include/hv
Chris Metcalf c539914dcd tile: support new Tilera hypervisor
The Tilera hypervisor shipped in releases up through MDE 4.1 launches
the client operating system (i.e. Linux) at privilege level 1 (PL1).
Starting with MDE 4.2, as part of the work to enable KVM, the
Tilera hypervisor launches Linux at PL2 instead.

This commit makes the KERNEL_PL option default to 2 for tilegx, while
still saying at 1 for tilepro, which doesn't have an updated hypervisor.
It also explains how and when you might want to choose another value.
In addition, we change a small buglet in the on-chip Ethernet driver,
where we were failing to use the KERNEL_PL constant in an API call.

To make the transition cleaner, this change also provides the updated
hv_init() API for the new hypervisor that supports announcing Linux's
compiled-in PL, so the hypervisor can generate a suitable error in the
case of a mismatched hypervisor and Linux binary.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: stable@vger.linux.org
2013-05-02 16:20:31 -04:00
..
drv_mpipe_intf.h arch/tile: provide kernel support for the tilegx mPIPE shim 2012-07-11 16:04:55 -04:00
drv_mshim_intf.h drivers/edac: provide support for tile architecture 2011-03-10 13:30:14 -05:00
drv_pcie_rc_intf.h arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
drv_srom_intf.h arch/tile: add hypervisor-based character driver for SPI flash ROM 2011-06-10 13:07:48 -04:00
drv_trio_intf.h arch/tile: provide kernel support for the tilegx TRIO shim 2012-07-11 16:04:58 -04:00
drv_usb_host_intf.h arch/tile: provide kernel support for the tilegx USB shim 2012-07-18 16:40:24 -04:00
drv_xgbe_impl.h drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
drv_xgbe_intf.h arch/tile: Allow tilegx to build with either 16K or 64K page size 2012-05-25 12:48:24 -04:00
hypervisor.h tile: support new Tilera hypervisor 2013-05-02 16:20:31 -04:00
iorpc.h UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers 2012-10-02 18:01:25 +01:00
netio_errors.h drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
netio_intf.h drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
syscall_public.h arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00