Home
last modified time | relevance | path

Searched hist:"69 ceea64bf565559a2b865ffb2a097d2caab805b" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/arm/
H A Dcpu.cdiff 69ceea64bf565559a2b865ffb2a097d2caab805b Thu Jul 27 05:59:09 CDT 2017 Peter Maydell <peter.maydell@linaro.org> target/arm: Move PMSAv7 reset into arm_cpu_reset() so M profile MPUs get reset

When the PMSAv7 implementation was originally added it was for R profile
CPUs only, and reset was handled using the cpreg .resetfn hooks.
Unfortunately for M profile cores this doesn't work, because they do
not register any cpregs. Move the reset handling into arm_cpu_reset(),
where it will work for both R profile and M profile cores.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1501153150-19984-5-git-send-email-peter.maydell@linaro.org
H A Dhelper.cdiff 69ceea64bf565559a2b865ffb2a097d2caab805b Thu Jul 27 05:59:09 CDT 2017 Peter Maydell <peter.maydell@linaro.org> target/arm: Move PMSAv7 reset into arm_cpu_reset() so M profile MPUs get reset

When the PMSAv7 implementation was originally added it was for R profile
CPUs only, and reset was handled using the cpreg .resetfn hooks.
Unfortunately for M profile cores this doesn't work, because they do
not register any cpregs. Move the reset handling into arm_cpu_reset(),
where it will work for both R profile and M profile cores.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1501153150-19984-5-git-send-email-peter.maydell@linaro.org