On 2021-03-16 11:31, Greg KH wrote:
On Tue, Mar 16, 2021 at 11:25:00AM +0000, Vladimir Murzin wrote:
Commit 78869f0f0552 ("arm64: Extract parts of el2_setup into a macro") reorganized el2 setup in such way that virtual cpu id registers set only in nVHE, yet they used (and need) to be set irrespective VHE support. Lack of setup causes 32-bit guest stop booting due to MIDR stay undefined.
Fixes: 78869f0f0552 ("arm64: Extract parts of el2_setup into a macro") Signed-off-by: Vladimir Murzin vladimir.murzin@arm.com
There is no upstream fix since issue went away due to code there has been reworked in 5.12: nVHE comes first, so virtual cpu id register are always set.
Maintainers, please, Ack.
Why not just use the "rework" patch instead that fixes this issue?
that's always preferred instead of one-off patches.
It isn't just a "rework" patch. It's a whole series that turns the world upside down, and it really isn't suitable for backporting in the upstream kernel.
My preference would be to fix 5.11. I'll review that patch in a moment.
Thanks,
M.