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