mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
4689752c79
This patch adds a new miscdevice to expose some Ultravisor functions to userspace. Userspace can send IOCTLs to the uvdevice that will then emit a corresponding Ultravisor Call and hands the result over to userspace. The uvdevice is available if the Ultravisor Call facility is present. Userspace can call the Retrieve Attestation Measurement Ultravisor Call using IOCTLs on the uvdevice. The uvdevice will do some sanity checks first. Then, copy the request data to kernel space, build the UVCB, perform the UV call, and copy the result back to userspace. Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Link: https://lore.kernel.org/kvm/20220516113335.338212-1-seiden@linux.ibm.com/ Message-Id: <20220516113335.338212-1-seiden@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com> (whitespace and tristate fixes, pick)
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# S/390 character devices
|
|
#
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not trace early setup code
|
|
CFLAGS_REMOVE_sclp_early_core.o = $(CC_FLAGS_FTRACE)
|
|
endif
|
|
|
|
GCOV_PROFILE_sclp_early_core.o := n
|
|
KCOV_INSTRUMENT_sclp_early_core.o := n
|
|
UBSAN_SANITIZE_sclp_early_core.o := n
|
|
KASAN_SANITIZE_sclp_early_core.o := n
|
|
|
|
CFLAGS_sclp_early_core.o += -D__NO_FORTIFY
|
|
|
|
CFLAGS_REMOVE_sclp_early_core.o += $(CC_FLAGS_EXPOLINE)
|
|
|
|
obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
|
|
sclp_cmd.o sclp_config.o sclp_cpi_sys.o sclp_ocf.o sclp_ctl.o \
|
|
sclp_early.o sclp_early_core.o sclp_sd.o
|
|
|
|
obj-$(CONFIG_TN3270) += raw3270.o
|
|
obj-$(CONFIG_TN3270_CONSOLE) += con3270.o
|
|
obj-$(CONFIG_TN3270_TTY) += tty3270.o
|
|
obj-$(CONFIG_TN3270_FS) += fs3270.o
|
|
|
|
obj-$(CONFIG_TN3215) += con3215.o
|
|
|
|
obj-$(CONFIG_SCLP_TTY) += sclp_tty.o
|
|
obj-$(CONFIG_SCLP_CONSOLE) += sclp_con.o
|
|
obj-$(CONFIG_SCLP_VT220_TTY) += sclp_vt220.o
|
|
|
|
obj-$(CONFIG_PCI) += sclp_pci.o
|
|
|
|
obj-$(subst m,y,$(CONFIG_ZCRYPT)) += sclp_ap.o
|
|
|
|
obj-$(CONFIG_VMLOGRDR) += vmlogrdr.o
|
|
obj-$(CONFIG_VMCP) += vmcp.o
|
|
|
|
tape-$(CONFIG_PROC_FS) += tape_proc.o
|
|
tape-objs := tape_core.o tape_std.o tape_char.o $(tape-y)
|
|
obj-$(CONFIG_S390_TAPE) += tape.o tape_class.o
|
|
obj-$(CONFIG_S390_TAPE_34XX) += tape_34xx.o
|
|
obj-$(CONFIG_S390_TAPE_3590) += tape_3590.o
|
|
obj-$(CONFIG_MONREADER) += monreader.o
|
|
obj-$(CONFIG_MONWRITER) += monwriter.o
|
|
obj-$(CONFIG_S390_VMUR) += vmur.o
|
|
obj-$(CONFIG_CRASH_DUMP) += sclp_sdias.o zcore.o
|
|
obj-$(CONFIG_S390_UV_UAPI) += uvdevice.o
|
|
|
|
hmcdrv-objs := hmcdrv_mod.o hmcdrv_dev.o hmcdrv_ftp.o hmcdrv_cache.o diag_ftp.o sclp_ftp.o
|
|
obj-$(CONFIG_HMC_DRV) += hmcdrv.o
|