Re: [PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-04 Thread Lucas C. Villa Real
On Tue, Apr 4, 2023 at 3:23 AM Alexandre IOOSS wrote: > On 4/3/23 16:48, Lucas C. Villa Real wrote: > > On Mon, Apr 3, 2023 at 10:54 AM Peter Maydell > > wrote: > > > > On Mon, 3 Apr 2023 at 13:51, Lucas Villa Real > > wrote: >

Re: [PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-04 Thread Alexandre IOOSS
On 4/3/23 16:48, Lucas C. Villa Real wrote: On Mon, Apr 3, 2023 at 10:54 AM Peter Maydell > wrote: On Mon, 3 Apr 2023 at 13:51, Lucas Villa Real mailto:luca...@gmail.com>> wrote: > > stm32vldiscovery comes with 8KB of SRAM, which may be too low when

Re: [PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-03 Thread Lucas C. Villa Real
On Mon, Apr 3, 2023 at 10:54 AM Peter Maydell wrote: > On Mon, 3 Apr 2023 at 13:51, Lucas Villa Real wrote: > > > > stm32vldiscovery comes with 8KB of SRAM, which may be too low when > > running some workloads on QEMU. The command line argument "-m mem_size" > > is not recognized by the current

Re: [PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-03 Thread Peter Maydell
On Mon, 3 Apr 2023 at 13:51, Lucas Villa Real wrote: > > stm32vldiscovery comes with 8KB of SRAM, which may be too low when > running some workloads on QEMU. The command line argument "-m mem_size" > is not recognized by the current implementation, though, so one cannot > easily override the defau

[PATCH] stm32vldiscovery: allow overriding of RAM size

2023-04-03 Thread Lucas Villa Real
stm32vldiscovery comes with 8KB of SRAM, which may be too low when running some workloads on QEMU. The command line argument "-m mem_size" is not recognized by the current implementation, though, so one cannot easily override the default memory size. This patch fixes that by adding a memory subreg