Re: [PATCH] aspeed/sdmc: Check RAM size value at realize time

2024-07-01 Thread Cédric Le Goater
On 6/25/24 8:58 AM, Cédric Le Goater wrote: The RAM size of the SDMC device is validated for the SoC and set when the Aspeed machines are initialized and then later used by several SoC implementations. However, the SDMC model never checks that the RAM size has been actually set before being used.

RE: [PATCH] aspeed/sdmc: Check RAM size value at realize time

2024-06-25 Thread Jamin Lin
> -Original Message- > From: Cédric Le Goater > Sent: Tuesday, June 25, 2024 2:59 PM > To: qemu-...@nongnu.org; qemu-devel@nongnu.org > Cc: Peter Maydell ; Joel Stanley ; > Andrew Jeffery ; Jamin Lin > ; Cédric Le Goater > Subject: [PATCH] aspeed/sdmc: Check R

[PATCH] aspeed/sdmc: Check RAM size value at realize time

2024-06-24 Thread Cédric Le Goater
The RAM size of the SDMC device is validated for the SoC and set when the Aspeed machines are initialized and then later used by several SoC implementations. However, the SDMC model never checks that the RAM size has been actually set before being used. Do that at realize. Signed-off-by: Cédric Le