diff --git a/hw/phb4.c b/hw/phb4.c
index 3f22a2c4d98f..328621917667 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -785,6 +785,7 @@ static void phb4_endpoint_init(struct phb *phb,
 	val16 |= (PCICAP_EXP_DEVCTL_NFE_REPORT |
 		  PCICAP_EXP_DEVCTL_FE_REPORT |
 		  PCICAP_EXP_DEVCTL_UR_REPORT);
+	pci_cfg_write16(phb, bdfn, ecap + PCICAP_EXP_DEVCTL, val16);
 
 	/* Enable ECRC generation and check */
 	pci_cfg_read32(phb, bdfn, aercap + PCIECAP_AER_CAPCTL, &val32);
