blob: 7a2d45bbef533d696362374d69e5581f2621827a [file] [log] [blame]
Joe Millenbach4f73bc42013-01-17 22:44:22 -08001if TTY
2
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -08003config HVC_DRIVER
4 bool
5 help
6 Generic "hypervisor virtual console" infrastructure for various
7 hypervisors (pSeries, iSeries, Xen, lguest).
8 It will automatically be selected if one of the back-end console drivers
9 is selected.
10
11config HVC_IRQ
12 bool
13
14config HVC_CONSOLE
15 bool "pSeries Hypervisor Virtual Console support"
16 depends on PPC_PSERIES
17 select HVC_DRIVER
18 select HVC_IRQ
19 help
20 pSeries machines when partitioned support a hypervisor virtual
21 console. This driver allows each pSeries partition to have a console
22 which is accessed via the HMC.
23
Benjamin Herrenschmidt4d2bb3f2011-05-12 13:46:38 +100024config HVC_OLD_HVSI
25 bool "Old driver for pSeries serial port (/dev/hvsi*)"
26 depends on HVC_CONSOLE
27 default n
28
Benjamin Herrenschmidtdaea1172011-09-19 17:44:59 +000029config 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
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080038config 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
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080045config HVC_IUCV
46 bool "z/VM IUCV Hypervisor console support (VM only)"
47 depends on S390
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
Stefano Stabellinicf8e0192012-02-21 11:30:42 +000064config 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
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080072config HVC_UDBG
73 bool "udbg based fake hypervisor console"
Greg Kroah-Hartman8b775622012-09-18 16:19:27 +010074 depends on PPC
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080075 select HVC_DRIVER
76 default n
Benjamin Herrenschmidt7d3d8972012-03-14 18:37:04 +110077 help
78 This is meant to be used during HW bring up or debugging when
79 no other console mechanism exist but udbg, to get you a quick
80 console for userspace. Do NOT enable in production kernels.
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080081
82config HVC_DCC
83 bool "ARM JTAG DCC console"
Abhimanyu Kapur4cad4c52015-09-12 12:44:39 -050084 depends on ARM || ARM64
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080085 select HVC_DRIVER
86 help
87 This console uses the JTAG DCC on ARM to create a console under the HVC
88 driver. This console is used through a JTAG only on ARM. If you don't have
89 a JTAG then you probably don't want this option.
90
Kyle Yanceec1982016-07-27 10:30:24 -070091config HVC_DCC_SERIALIZE_SMP
92 bool "Use DCC only on core 0"
93 depends on SMP && HVC_DCC
94 help
95 Some debuggers, such as Trace32 from Lauterbach GmbH, do not handle
96 reads/writes from/to DCC on more than one core. Each core has its
97 own DCC device registers, so when a core reads or writes from/to DCC,
98 it only accesses its own DCC device. Since kernel code can run on
99 any core, every time the kernel wants to write to the console, it
100 might write to a different DCC.
101
102 In SMP mode, Trace32 only uses the DCC on core 0. In AMP mode, it
103 creates multiple windows, and each window shows the DCC output
104 only from that core's DCC. The result is that console output is
105 either lost or scattered across windows.
106
107 Selecting this option will enable code that serializes all console
108 input and output to core 0. The DCC driver will create input and
109 output FIFOs that all cores will use. Reads and writes from/to DCC
110 are handled by a workqueue that runs only core 0.
111
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -0800112config HVC_BFIN_JTAG
113 bool "Blackfin JTAG console"
114 depends on BLACKFIN
115 select HVC_DRIVER
116 help
117 This console uses the Blackfin JTAG to create a console under the
118 the HVC driver. If you don't have JTAG, then you probably don't
119 want this option.
120
121config HVCS
122 tristate "IBM Hypervisor Virtual Console Server support"
123 depends on PPC_PSERIES && HVC_CONSOLE
124 help
125 Partitionable IBM Power5 ppc64 machines allow hosting of
126 firmware virtual consoles from one Linux partition by
127 another Linux partition. This driver allows console data
128 from Linux partitions to be accessed through TTY device
129 interfaces in the device tree of a Linux partition running
130 this driver.
131
132 To compile this driver as a module, choose M here: the
133 module will be called hvcs. Additionally, this module
134 will depend on arch specific APIs exported from hvcserver.ko
135 which will also be compiled when this driver is built as a
136 module.
137
Joe Millenbach4f73bc42013-01-17 22:44:22 -0800138endif # TTY