xref: /openbmc/linux/drivers/tty/hvc/Kconfig (revision ecda85e70277ef24e44a1f6bc00243cebd19f985)
14f73bc4dSJoe Millenbachif TTY
24f73bc4dSJoe Millenbach
3bdcffc5aSGreg Kroah-Hartmanconfig HVC_DRIVER
4bdcffc5aSGreg Kroah-Hartman	bool
5bdcffc5aSGreg Kroah-Hartman	help
6bdcffc5aSGreg Kroah-Hartman	  Generic "hypervisor virtual console" infrastructure for various
7*ecda85e7SJuergen Gross	  hypervisors (pSeries, iSeries, Xen).
8bdcffc5aSGreg Kroah-Hartman	  It will automatically be selected if one of the back-end console drivers
9bdcffc5aSGreg Kroah-Hartman	  is selected.
10bdcffc5aSGreg Kroah-Hartman
11bdcffc5aSGreg Kroah-Hartmanconfig HVC_IRQ
12bdcffc5aSGreg Kroah-Hartman	bool
13bdcffc5aSGreg Kroah-Hartman
14bdcffc5aSGreg Kroah-Hartmanconfig HVC_CONSOLE
15bdcffc5aSGreg Kroah-Hartman	bool "pSeries Hypervisor Virtual Console support"
16bdcffc5aSGreg Kroah-Hartman	depends on PPC_PSERIES
17bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
18bdcffc5aSGreg Kroah-Hartman	select HVC_IRQ
19bdcffc5aSGreg Kroah-Hartman	help
20bdcffc5aSGreg Kroah-Hartman	  pSeries machines when partitioned support a hypervisor virtual
21bdcffc5aSGreg Kroah-Hartman	  console. This driver allows each pSeries partition to have a console
22bdcffc5aSGreg Kroah-Hartman	  which is accessed via the HMC.
23bdcffc5aSGreg Kroah-Hartman
244d2bb3f5SBenjamin Herrenschmidtconfig HVC_OLD_HVSI
254d2bb3f5SBenjamin Herrenschmidt	bool "Old driver for pSeries serial port (/dev/hvsi*)"
264d2bb3f5SBenjamin Herrenschmidt	depends on HVC_CONSOLE
274d2bb3f5SBenjamin Herrenschmidt	default n
284d2bb3f5SBenjamin Herrenschmidt
29daea1175SBenjamin Herrenschmidtconfig HVC_OPAL
30daea1175SBenjamin Herrenschmidt	bool "OPAL Console support"
31daea1175SBenjamin Herrenschmidt	depends on PPC_POWERNV
32daea1175SBenjamin Herrenschmidt	select HVC_DRIVER
33daea1175SBenjamin Herrenschmidt	select HVC_IRQ
34daea1175SBenjamin Herrenschmidt	default y
35daea1175SBenjamin Herrenschmidt	help
36daea1175SBenjamin Herrenschmidt	  PowerNV machines running under OPAL need that driver to get a console
37daea1175SBenjamin Herrenschmidt
38bdcffc5aSGreg Kroah-Hartmanconfig HVC_RTAS
39bdcffc5aSGreg Kroah-Hartman	bool "IBM RTAS Console support"
40bdcffc5aSGreg Kroah-Hartman	depends on PPC_RTAS
41bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
42bdcffc5aSGreg Kroah-Hartman	help
43bdcffc5aSGreg Kroah-Hartman	  IBM Console device driver which makes use of RTAS
44bdcffc5aSGreg Kroah-Hartman
45bdcffc5aSGreg Kroah-Hartmanconfig HVC_IUCV
46bdcffc5aSGreg Kroah-Hartman	bool "z/VM IUCV Hypervisor console support (VM only)"
4720d58cb6SHeiko Carstens	depends on S390 && NET
48bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
49bdcffc5aSGreg Kroah-Hartman	select IUCV
50bdcffc5aSGreg Kroah-Hartman	default y
51bdcffc5aSGreg Kroah-Hartman	help
52bdcffc5aSGreg Kroah-Hartman	  This driver provides a Hypervisor console (HVC) back-end to access
53bdcffc5aSGreg Kroah-Hartman	  a Linux (console) terminal via a z/VM IUCV communication path.
54bdcffc5aSGreg Kroah-Hartman
55bdcffc5aSGreg Kroah-Hartmanconfig HVC_XEN
56bdcffc5aSGreg Kroah-Hartman	bool "Xen Hypervisor Console support"
57bdcffc5aSGreg Kroah-Hartman	depends on XEN
58bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
59bdcffc5aSGreg Kroah-Hartman	select HVC_IRQ
60bdcffc5aSGreg Kroah-Hartman	default y
61bdcffc5aSGreg Kroah-Hartman	help
62bdcffc5aSGreg Kroah-Hartman	  Xen virtual console device driver
63bdcffc5aSGreg Kroah-Hartman
64cf8e019bSStefano Stabelliniconfig HVC_XEN_FRONTEND
65cf8e019bSStefano Stabellini	bool "Xen Hypervisor Multiple Consoles support"
66cf8e019bSStefano Stabellini	depends on HVC_XEN
67cf8e019bSStefano Stabellini	select XEN_XENBUS_FRONTEND
68cf8e019bSStefano Stabellini	default y
69cf8e019bSStefano Stabellini	help
70cf8e019bSStefano Stabellini	  Xen driver for secondary virtual consoles
71cf8e019bSStefano Stabellini
72bdcffc5aSGreg Kroah-Hartmanconfig HVC_UDBG
73bdcffc5aSGreg Kroah-Hartman       bool "udbg based fake hypervisor console"
748b77562bSGreg Kroah-Hartman       depends on PPC
75bdcffc5aSGreg Kroah-Hartman       select HVC_DRIVER
76bdcffc5aSGreg Kroah-Hartman       default n
777d3d897aSBenjamin Herrenschmidt       help
787d3d897aSBenjamin Herrenschmidt         This is meant to be used during HW bring up or debugging when
797d3d897aSBenjamin Herrenschmidt	 no other console mechanism exist but udbg, to get you a quick
807d3d897aSBenjamin Herrenschmidt	 console for userspace. Do NOT enable in production kernels.
81bdcffc5aSGreg Kroah-Hartman
82bdcffc5aSGreg Kroah-Hartmanconfig HVC_DCC
83bdcffc5aSGreg Kroah-Hartman       bool "ARM JTAG DCC console"
844cad4c57SAbhimanyu Kapur       depends on ARM || ARM64
85bdcffc5aSGreg Kroah-Hartman       select HVC_DRIVER
86bdcffc5aSGreg Kroah-Hartman       help
87bdcffc5aSGreg Kroah-Hartman         This console uses the JTAG DCC on ARM to create a console under the HVC
88bdcffc5aSGreg Kroah-Hartman	 driver. This console is used through a JTAG only on ARM. If you don't have
89bdcffc5aSGreg Kroah-Hartman	 a JTAG then you probably don't want this option.
90bdcffc5aSGreg Kroah-Hartman
91bdcffc5aSGreg Kroah-Hartmanconfig HVC_BFIN_JTAG
92bdcffc5aSGreg Kroah-Hartman	bool "Blackfin JTAG console"
93bdcffc5aSGreg Kroah-Hartman	depends on BLACKFIN
94bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
95bdcffc5aSGreg Kroah-Hartman	help
96bdcffc5aSGreg Kroah-Hartman	 This console uses the Blackfin JTAG to create a console under the
97bdcffc5aSGreg Kroah-Hartman	 the HVC driver.  If you don't have JTAG, then you probably don't
98bdcffc5aSGreg Kroah-Hartman	 want this option.
99bdcffc5aSGreg Kroah-Hartman
100bdcffc5aSGreg Kroah-Hartmanconfig HVCS
101bdcffc5aSGreg Kroah-Hartman	tristate "IBM Hypervisor Virtual Console Server support"
102bdcffc5aSGreg Kroah-Hartman	depends on PPC_PSERIES && HVC_CONSOLE
103bdcffc5aSGreg Kroah-Hartman	help
104bdcffc5aSGreg Kroah-Hartman	  Partitionable IBM Power5 ppc64 machines allow hosting of
105bdcffc5aSGreg Kroah-Hartman	  firmware virtual consoles from one Linux partition by
106bdcffc5aSGreg Kroah-Hartman	  another Linux partition.  This driver allows console data
107bdcffc5aSGreg Kroah-Hartman	  from Linux partitions to be accessed through TTY device
108bdcffc5aSGreg Kroah-Hartman	  interfaces in the device tree of a Linux partition running
109bdcffc5aSGreg Kroah-Hartman	  this driver.
110bdcffc5aSGreg Kroah-Hartman
111bdcffc5aSGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
112bdcffc5aSGreg Kroah-Hartman	  module will be called hvcs.  Additionally, this module
113bdcffc5aSGreg Kroah-Hartman	  will depend on arch specific APIs exported from hvcserver.ko
114bdcffc5aSGreg Kroah-Hartman	  which will also be compiled when this driver is built as a
115bdcffc5aSGreg Kroah-Hartman	  module.
116bdcffc5aSGreg Kroah-Hartman
1174f73bc4dSJoe Millenbachendif # TTY
118