Files
linux-nv-oot/drivers/Makefile
Nitin Kumbhar 8472163ba0 drivers: nv virtio poc console driver
Add a back-end char driver to implement a virtio console driver which
handles a part of virtio mmio protocol to send and receive data
from a peer VM. IVC queue and mempool are used for this communication.

Also, this driver adds blocking read, write and poll ops for an
user-space application.

JIRA TSSKERNEL-1
Bug 4050146

This change also cherry-picks the fix pushed in linux-nvidia repo:
https://git-master.nvidia.com/r/c/linux-nvidia/+/2918779

Change-Id: I97a88f1dd4eb9e3ac7e1e94439f3ebc8ac933239
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2898234
(cherry picked from commit 10436d9d5bfbbf11ffc63771189b57fdf94e50f6)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2936644
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2023-07-21 11:58:30 -07:00

79 lines
1.5 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/hw/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/video/tegra/host/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/include
LINUXINCLUDE += -I$(srctree.hwpm)/include
obj-m += block/tegra_virt_storage/
ifdef CONFIG_PSTORE
obj-m += block/tegra_oops_virt_storage/
endif
ifdef CONFIG_BT
obj-m += bluetooth/realtek/
endif
obj-m += c2c/
obj-m += clink/
obj-m += cpuidle/
obj-m += crypto/
obj-m += debug/
ifdef CONFIG_PM_DEVFREQ
obj-m += devfreq/
endif
obj-m += firmware/tegra/
ifdef CONFIG_TEGRA_HOST1X
obj-m += gpu/
endif
ifdef CONFIG_HWMON
obj-m += hwmon/
endif
ifdef CONFIG_I2C
obj-m += i2c/busses/
obj-m += mfd/
endif
ifdef CONFIG_MEMORY
obj-m += memory/
endif
ifdef CONFIG_MTD
obj-m += mtd/devices/
endif
obj-m += misc/
obj-m += net/
obj-m += nvpps/
obj-m += nvpmodel/
ifdef CONFIG_PCI
obj-m += pci/
ifdef CONFIG_TTY
obj-m += tty/
endif
endif
obj-m += pinctrl/
obj-m += platform/tegra/
obj-m += pwm/
obj-m += ras/
obj-m += rtc/
obj-m += cpuidle/
ifdef CONFIG_SCSI
obj-m += scsi/ufs/
endif
obj-m += soc/tegra/
ifdef CONFIG_SPI
obj-m += spi/
endif
ifdef CONFIG_I2C
obj-m += thermal/
endif
obj-m += watchdog/
ifdef CONFIG_TEGRA_HOST1X
obj-m += video/tegra/
endif
obj-m += virt/tegra/
ifdef CONFIG_TEGRA_HOST1X
obj-m += media/
endif
obj-m += staging/platform/tegra/gte/
obj-m += staging/platform/tegra/gte_test/
obj-m += nv-virtio/