qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v11 07/11] hw/fsi: Aspeed APB2OPB & On-chip peripheral bus


From: Ninad Palsule
Subject: Re: [PATCH v11 07/11] hw/fsi: Aspeed APB2OPB & On-chip peripheral bus
Date: Fri, 26 Jan 2024 04:14:39 -0600
User-agent: Mozilla Thunderbird

Hello Cedric,


+
+static void fsi_aspeed_apb2opb_realize(DeviceState *dev, Error **errp)
+{
+    SysBusDevice *sbd = SYS_BUS_DEVICE(dev);
+    AspeedAPB2OPBState *s = ASPEED_APB2OPB(dev);
+    int i;
+

Please add a comment regarding the OPBus model here, something like :

/*
 * TODO: The OPBus model initializes the OPB address space in
 * the .instance_init handler and this is problematic for test
 * device-introspect-test. To avoid a memory corruption and a QEMU
 * crash, qbus_init() should be called from realize(). Something to
 * improve. Possibly, OPBus could also be removed.
 */
Added comment.

with that,


Reviewed-by: Cédric Le Goater <clg@kaod.org>

Added tag. Thanks for the review.

Regards,

Ninad





reply via email to

[Prev in Thread] Current Thread [Next in Thread]