https://patchew.org/QEMU/20260715134447.56007-1-kirill%40korins.ky/

Index: hw/pci-bridge/meson.build
--- hw/pci-bridge/meson.build.orig
+++ hw/pci-bridge/meson.build
@@ -9,6 +9,11 @@ pci_ss.add(when: 'CONFIG_PXB', if_true: files('pci_exp
 pci_ss.add(when: 'CONFIG_XIO3130', if_true: files('xio3130_upstream.c', 'xio3130_downstream.c'))
 pci_ss.add(when: 'CONFIG_CXL', if_true: files('cxl_root_port.c', 'cxl_upstream.c', 'cxl_downstream.c'))
 
+if 'CONFIG_TCG' in config_all_accel
+  mips_ss.add(when: 'CONFIG_MIPS_OCTEON',
+              if_true: files('octeon_pci.c'))
+endif
+
 # Sun4u
 pci_ss.add(when: 'CONFIG_SIMBA', if_true: files('simba.c'))
 
