On Sat, 12 Sept 2026 at 19:31, vpyr <[email protected]> wrote: > > From: vpyr <[email protected]> > > Initialize reset_sctlr to 0x00054078 in arm11mpcore_initfn. > > Previously, the generic reset mechanism initialized SCTLR to zero because > reset_sctlr was not set by the ARM11 MPCore CPU initialization function. > The new value follows the fixed-bit requirements documented in ARM DDI 0360F, > section 3.4.7, Table 3-20: > > - Bits [21:16]: 000101, contributing 0x00050000 > - Bit [14]: Should Be One / Read As One, contributing 0x00004000 > - Bits [6:3]: Should Be One, contributing 0x00000078 > > V, U, and EE remain clear because their reset values depend on the VINITHI > and CFGEND configuration signals. > > After rebuilding, the test read SCTLR as 0x00054078 instead of zero, and the > 0x00050078 mask check passed.
Thanks. This matches the reset value documented in the summary table 3.2 in the 11MPCore TRM. Applied to target-arm.next, thanks. (I added the Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4454 line to the commit message which will cause the bug to be auto-closed when this is committed.) -- PMM
