PCIe Ownership#
Thor SoC Specific PCT settings#
The Thor SoC has PCIe virtualization support for iGPU over PCIe C0 controller in non production builds.
The iGPU virtualization settings for PCIe C0 controller are done via PCT settings.
Below PCIe PCT structures definition are present in ${NV_WORKSPACE}/virtualization/virt/libvirt/include/pct/pct.h
struct pct_pcie_conf - PCIe PCT information for all PCIe controllers.
struct pct_pcie_ctrl_conf - PCIe PCT information for a controller.
struct pcie_pf_rid_info - PCIe physical function information.
struct pcie_vf_info - PCIe virtual function information as in SR-IOV capability of PF.
struct pct_pcie_bar_conf - PCIe BAR configuration information.
The platform_config.h shows the iGPU virtualization settings for PCIe C0 controller.
The platform_config.h and guest_io_periph_assign.h shows the passthrough PCIe Root port controller ownership to a guest OS.
The guest_io_periph_assign.h shows the PCIe Endpoint controller ownership to a guest OS.
Files path for Thor:
${NV_WORKSPACE}/platform-config/hardware/nvidia/platform/t264/automotive/pct/drive_av/linux/guest_io_periph_assign.h
${NV_WORKSPACE}/platform-config/hardware/nvidia/platform/t264/automotive/pct/drive_av/linux/platform_config.h