xref: /openbmc/linux/drivers/tty/hvc/Kconfig (revision f9d89c94)
138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
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
7ecda85e7SJuergen 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
28daea1175SBenjamin Herrenschmidtconfig HVC_OPAL
29daea1175SBenjamin Herrenschmidt	bool "OPAL Console support"
30daea1175SBenjamin Herrenschmidt	depends on PPC_POWERNV
31daea1175SBenjamin Herrenschmidt	select HVC_DRIVER
32daea1175SBenjamin Herrenschmidt	select HVC_IRQ
33daea1175SBenjamin Herrenschmidt	default y
34daea1175SBenjamin Herrenschmidt	help
35daea1175SBenjamin Herrenschmidt	  PowerNV machines running under OPAL need that driver to get a console
36daea1175SBenjamin Herrenschmidt
37bdcffc5aSGreg Kroah-Hartmanconfig HVC_RTAS
38bdcffc5aSGreg Kroah-Hartman	bool "IBM RTAS Console support"
39bdcffc5aSGreg Kroah-Hartman	depends on PPC_RTAS
40bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
41bdcffc5aSGreg Kroah-Hartman	help
42bdcffc5aSGreg Kroah-Hartman	  IBM Console device driver which makes use of RTAS
43bdcffc5aSGreg Kroah-Hartman
44bdcffc5aSGreg Kroah-Hartmanconfig HVC_IUCV
45bdcffc5aSGreg Kroah-Hartman	bool "z/VM IUCV Hypervisor console support (VM only)"
4620d58cb6SHeiko Carstens	depends on S390 && NET
47bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
48bdcffc5aSGreg Kroah-Hartman	select IUCV
49bdcffc5aSGreg Kroah-Hartman	default y
50bdcffc5aSGreg Kroah-Hartman	help
51bdcffc5aSGreg Kroah-Hartman	  This driver provides a Hypervisor console (HVC) back-end to access
52bdcffc5aSGreg Kroah-Hartman	  a Linux (console) terminal via a z/VM IUCV communication path.
53bdcffc5aSGreg Kroah-Hartman
54bdcffc5aSGreg Kroah-Hartmanconfig HVC_XEN
55bdcffc5aSGreg Kroah-Hartman	bool "Xen Hypervisor Console support"
56bdcffc5aSGreg Kroah-Hartman	depends on XEN
57bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
58bdcffc5aSGreg Kroah-Hartman	select HVC_IRQ
59bdcffc5aSGreg Kroah-Hartman	default y
60bdcffc5aSGreg Kroah-Hartman	help
61bdcffc5aSGreg Kroah-Hartman	  Xen virtual console device driver
62bdcffc5aSGreg Kroah-Hartman
63cf8e019bSStefano Stabelliniconfig HVC_XEN_FRONTEND
64cf8e019bSStefano Stabellini	bool "Xen Hypervisor Multiple Consoles support"
65cf8e019bSStefano Stabellini	depends on HVC_XEN
66cf8e019bSStefano Stabellini	select XEN_XENBUS_FRONTEND
67cf8e019bSStefano Stabellini	default y
68cf8e019bSStefano Stabellini	help
69cf8e019bSStefano Stabellini	  Xen driver for secondary virtual consoles
70cf8e019bSStefano Stabellini
71bdcffc5aSGreg Kroah-Hartmanconfig HVC_UDBG
72bdcffc5aSGreg Kroah-Hartman	bool "udbg based fake hypervisor console"
738b77562bSGreg Kroah-Hartman	depends on PPC
74bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
757d3d897aSBenjamin Herrenschmidt	help
767d3d897aSBenjamin Herrenschmidt	  This is meant to be used during HW bring up or debugging when
777d3d897aSBenjamin Herrenschmidt	  no other console mechanism exist but udbg, to get you a quick
787d3d897aSBenjamin Herrenschmidt	  console for userspace. Do NOT enable in production kernels.
79bdcffc5aSGreg Kroah-Hartman
80bdcffc5aSGreg Kroah-Hartmanconfig HVC_DCC
81bdcffc5aSGreg Kroah-Hartman	bool "ARM JTAG DCC console"
824cad4c57SAbhimanyu Kapur	depends on ARM || ARM64
83bdcffc5aSGreg Kroah-Hartman	select HVC_DRIVER
84bdcffc5aSGreg Kroah-Hartman	help
85bdcffc5aSGreg Kroah-Hartman	  This console uses the JTAG DCC on ARM to create a console under the HVC
86bdcffc5aSGreg Kroah-Hartman	  driver. This console is used through a JTAG only on ARM. If you don't have
87bdcffc5aSGreg Kroah-Hartman	  a JTAG then you probably don't want this option.
88bdcffc5aSGreg Kroah-Hartman
89afa6b1ccSPalmer Dabbeltconfig HVC_RISCV_SBI
90afa6b1ccSPalmer Dabbelt	bool "RISC-V SBI console support"
91*f9d89c94SKefeng Wang	depends on RISCV_SBI_V01
92afa6b1ccSPalmer Dabbelt	select HVC_DRIVER
93afa6b1ccSPalmer Dabbelt	help
94afa6b1ccSPalmer Dabbelt	  This enables support for console output via RISC-V SBI calls, which
95afa6b1ccSPalmer Dabbelt	  is normally used only during boot to output printk.
96afa6b1ccSPalmer Dabbelt
97afa6b1ccSPalmer Dabbelt	  If you don't know what do to here, say Y.
98afa6b1ccSPalmer Dabbelt
99bdcffc5aSGreg Kroah-Hartmanconfig HVCS
100bdcffc5aSGreg Kroah-Hartman	tristate "IBM Hypervisor Virtual Console Server support"
101bdcffc5aSGreg Kroah-Hartman	depends on PPC_PSERIES && HVC_CONSOLE
102bdcffc5aSGreg Kroah-Hartman	help
103bdcffc5aSGreg Kroah-Hartman	  Partitionable IBM Power5 ppc64 machines allow hosting of
104bdcffc5aSGreg Kroah-Hartman	  firmware virtual consoles from one Linux partition by
105bdcffc5aSGreg Kroah-Hartman	  another Linux partition.  This driver allows console data
106bdcffc5aSGreg Kroah-Hartman	  from Linux partitions to be accessed through TTY device
107bdcffc5aSGreg Kroah-Hartman	  interfaces in the device tree of a Linux partition running
108bdcffc5aSGreg Kroah-Hartman	  this driver.
109bdcffc5aSGreg Kroah-Hartman
110bdcffc5aSGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
111bdcffc5aSGreg Kroah-Hartman	  module will be called hvcs.  Additionally, this module
112bdcffc5aSGreg Kroah-Hartman	  will depend on arch specific APIs exported from hvcserver.ko
113bdcffc5aSGreg Kroah-Hartman	  which will also be compiled when this driver is built as a
114bdcffc5aSGreg Kroah-Hartman	  module.
115