xref: /openbmc/linux/drivers/tty/hvc/Kconfig (revision 6c33a6f4)
1# SPDX-License-Identifier: GPL-2.0
2if TTY
3
4config HVC_DRIVER
5	bool
6	help
7	  Generic "hypervisor virtual console" infrastructure for various
8	  hypervisors (pSeries, iSeries, Xen).
9	  It will automatically be selected if one of the back-end console drivers
10	  is selected.
11
12config HVC_IRQ
13	bool
14
15config HVC_CONSOLE
16	bool "pSeries Hypervisor Virtual Console support"
17	depends on PPC_PSERIES
18	select HVC_DRIVER
19	select HVC_IRQ
20	help
21	  pSeries machines when partitioned support a hypervisor virtual
22	  console. This driver allows each pSeries partition to have a console
23	  which is accessed via the HMC.
24
25config HVC_OLD_HVSI
26	bool "Old driver for pSeries serial port (/dev/hvsi*)"
27	depends on HVC_CONSOLE
28
29config HVC_OPAL
30	bool "OPAL Console support"
31	depends on PPC_POWERNV
32	select HVC_DRIVER
33	select HVC_IRQ
34	default y
35	help
36	  PowerNV machines running under OPAL need that driver to get a console
37
38config HVC_RTAS
39	bool "IBM RTAS Console support"
40	depends on PPC_RTAS
41	select HVC_DRIVER
42	help
43	  IBM Console device driver which makes use of RTAS
44
45config HVC_IUCV
46	bool "z/VM IUCV Hypervisor console support (VM only)"
47	depends on S390 && NET
48	select HVC_DRIVER
49	select IUCV
50	default y
51	help
52	  This driver provides a Hypervisor console (HVC) back-end to access
53	  a Linux (console) terminal via a z/VM IUCV communication path.
54
55config HVC_XEN
56	bool "Xen Hypervisor Console support"
57	depends on XEN
58	select HVC_DRIVER
59	select HVC_IRQ
60	default y
61	help
62	  Xen virtual console device driver
63
64config HVC_XEN_FRONTEND
65	bool "Xen Hypervisor Multiple Consoles support"
66	depends on HVC_XEN
67	select XEN_XENBUS_FRONTEND
68	default y
69	help
70	  Xen driver for secondary virtual consoles
71
72config HVC_UDBG
73	bool "udbg based fake hypervisor console"
74	depends on PPC
75	select HVC_DRIVER
76	help
77	  This is meant to be used during HW bring up or debugging when
78	  no other console mechanism exist but udbg, to get you a quick
79	  console for userspace. Do NOT enable in production kernels.
80
81config HVC_DCC
82	bool "ARM JTAG DCC console"
83	depends on ARM || ARM64
84	select HVC_DRIVER
85	help
86	  This console uses the JTAG DCC on ARM to create a console under the HVC
87	  driver. This console is used through a JTAG only on ARM. If you don't have
88	  a JTAG then you probably don't want this option.
89
90config HVC_RISCV_SBI
91	bool "RISC-V SBI console support"
92	depends on RISCV_SBI
93	select HVC_DRIVER
94	help
95	  This enables support for console output via RISC-V SBI calls, which
96	  is normally used only during boot to output printk.
97
98	  If you don't know what do to here, say Y.
99
100config HVCS
101	tristate "IBM Hypervisor Virtual Console Server support"
102	depends on PPC_PSERIES && HVC_CONSOLE
103	help
104	  Partitionable IBM Power5 ppc64 machines allow hosting of
105	  firmware virtual consoles from one Linux partition by
106	  another Linux partition.  This driver allows console data
107	  from Linux partitions to be accessed through TTY device
108	  interfaces in the device tree of a Linux partition running
109	  this driver.
110
111	  To compile this driver as a module, choose M here: the
112	  module will be called hvcs.  Additionally, this module
113	  will depend on arch specific APIs exported from hvcserver.ko
114	  which will also be compiled when this driver is built as a
115	  module.
116
117endif # TTY
118