Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0
if CONFIG_TTY

config CONFIG_HVC_DRIVER
	bool
	help
	  Generic "hypervisor virtual console" infrastructure for various
	  hypervisors (pSeries, iSeries, Xen).
	  It will automatically be selected if one of the back-end console drivers
	  is selected.

config CONFIG_HVC_IRQ
	bool

config CONFIG_HVC_CONSOLE
	bool "pSeries Hypervisor Virtual Console support"
	depends on CONFIG_PPC_PSERIES
	select CONFIG_HVC_DRIVER
	select CONFIG_HVC_IRQ
	help
	  pSeries machines when partitioned support a hypervisor virtual
	  console. This driver allows each pSeries partition to have a console
	  which is accessed via the HMC.

config CONFIG_HVC_OLD_HVSI
	bool "Old driver for pSeries serial port (/dev/hvsi*)"
	depends on CONFIG_HVC_CONSOLE

config CONFIG_HVC_OPAL
	bool "OPAL Console support"
	depends on CONFIG_PPC_POWERNV
	select CONFIG_HVC_DRIVER
	select CONFIG_HVC_IRQ
	default y
	help
	  PowerNV machines running under OPAL need that driver to get a console

config CONFIG_HVC_RTAS
	bool "IBM RTAS Console support"
	depends on CONFIG_PPC_RTAS
	select CONFIG_HVC_DRIVER
	help
	  IBM Console device driver which makes use of RTAS

config CONFIG_HVC_IUCV
	bool "z/VM IUCV Hypervisor console support (VM only)"
	depends on CONFIG_S390 && CONFIG_NET
	select CONFIG_HVC_DRIVER
	select CONFIG_IUCV
	default y
	help
	  This driver provides a Hypervisor console (HVC) back-end to access
	  a Linux (console) terminal via a z/VM CONFIG_IUCV communication path.

config CONFIG_HVC_XEN
	bool "Xen Hypervisor Console support"
	depends on CONFIG_XEN
	select CONFIG_HVC_DRIVER
	select CONFIG_HVC_IRQ
	default y
	help
	  Xen virtual console device driver

config CONFIG_HVC_XEN_FRONTEND
	bool "Xen Hypervisor Multiple Consoles support"
	depends on CONFIG_HVC_XEN
	select CONFIG_XEN_XENBUS_FRONTEND
	default y
	help
	  Xen driver for secondary virtual consoles

config CONFIG_HVC_UDBG
       bool "udbg based fake hypervisor console"
       depends on CONFIG_PPC
       select CONFIG_HVC_DRIVER
       help
         This is meant to be used during HW bring up or debugging when
	 no other console mechanism exist but udbg, to get you a quick
	 console for userspace. Do NOT enable in production kernels. 

config CONFIG_HVC_DCC
       bool "ARM JTAG DCC console"
       depends on CONFIG_ARM || CONFIG_ARM64
       select CONFIG_HVC_DRIVER
       help
         This console uses the JTAG DCC on CONFIG_ARM to create a console under the HVC
	 driver. This console is used through a JTAG only on CONFIG_ARM. If you don't have
	 a JTAG then you probably don't want this option.

config CONFIG_HVC_RISCV_SBI
	bool "RISC-V SBI console support"
	depends on CONFIG_RISCV
	select CONFIG_HVC_DRIVER
	help
	  This enables support for console output via RISC-V SBI calls, which
	  is normally used only during boot to output printk.

	  If you don't know what do to here, say Y.

config CONFIG_HVCS
	tristate "IBM Hypervisor Virtual Console Server support"
	depends on CONFIG_PPC_PSERIES && CONFIG_HVC_CONSOLE
	help
	  Partitionable IBM Power5 ppc64 machines allow hosting of
	  firmware virtual consoles from one Linux partition by
	  another Linux partition.  This driver allows console data
	  from Linux partitions to be accessed through CONFIG_TTY device
	  interfaces in the device tree of a Linux partition running
	  this driver.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called hvcs.  Additionally, this module
	  will depend on arch specific APIs exported from hvcserver.ko
	  which will also be compiled when this driver is built as a
	  module.

endif # CONFIG_TTY