we want to boot the endpoint system and boot the root port system together.
We can configure the endpoint system according to the following methods
echo 16 > functions/pci_epf_tvnet/func1/msi_interrupts
ln -s functions/pci_epf_tvnet/func1 controllers/141a0000.pcie_ep/
echo 1 > controllers/141a0000.pcie_ep/start
At this time, we must restart the root port system now.So,we can find ethx.
We don’t want to restart.We tried the pcie-rescan method.It can not worked.
echo 1 > /sys/bus/pci/rescan
We also try to integrate pcie_ tegra.c is compiled into .ko module.But it also failed.
ERROR: “__dw_pcie_write_dbi” [drivers/pci/dwc/pcie-tegra.ko] undefined!
ERROR: “dw_pcie_ep_linkup” [drivers/pci/dwc/pcie-tegra.ko] undefined!
ERROR: “dw_pcie_set_regs_available” [drivers/pci/dwc/pcie-tegra.ko] undefined!
We’d like to ask if it’s possible to solve this problem other than restarting the root system.