@samitouri / QOSamiQemu / commits / 6457fa3b9d

hw/dma/zynq-devcfg: Indicate power-up status of PL

It is assumed, that the programmable logic (PL) is always powered during emulation. Therefor the PCFG_POR_B bit in the MCTRL register is set. Signed-off-by: YannickV <Y.Vossen@beckhoff.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> Message-id: 20260518073401.11279-6-corvin.koehne@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

YannickV committed May 18, 2026 at 09:33 UTC 6457fa3b9de3ce5e8aaa6e0aa3c60e56bd9208c6
1 file changed +2 -1
hw/dma/xlnx-zynq-devcfg.c
+2 -1
@@ -333,7 +333,8 @@ static const RegisterAccessInfo xlnx_zynq_devcfg_regs_info[] = {
333 /* Silicon 3.0 for version field, the mysterious reserved bit 23
334 * and QEMU platform identifier.
335 */
336 - .reset = 0x2 << R_MCTRL_PS_VERSION_SHIFT | 1 << 23 | R_MCTRL_QEMU_MASK,
336 + .reset = 0x2 << R_MCTRL_PS_VERSION_SHIFT | 1 << 23 |
337 + R_MCTRL_PCFG_POR_B_MASK | R_MCTRL_QEMU_MASK,
338 .ro = ~R_MCTRL_INT_PCAP_LPBK_MASK,
339 .rsvd = 0x00f00303,
340 },