[Linuxarm] [RFC PATCH 2/4] hw/pci/pcie_doe: Introduce utility functions for PCIe DOE