Thread (27 messages) 27 messages, 2 authors, 2021-06-08

Re: [PATCH 03/18] arm64: hyp-stub: Move elx_sync into the vectors

From: Pavel Tatashin <pasha.tatashin@soleen.com>
Date: 2021-06-02 01:19:37
Also in: kexec, linux-mm, lkml

quoted
It cannot call mutate_to_vhe because #HVC_VHE_RESTART is not used
here. But, if it had to it would not work as we cannot return to the
old kernel text after relocation.
OK, so you are happy with having a dangling branch pointing to
nowhere? Something in me screams that it isn't a good idea, in
general.

If HVC_SOFT_RESTART is all you need, I'd rather you have a small stub
that implements exactly that and nothing else. Feel free to extract it
as a reusable macro if you want.
Sure, I will add in the next revision.

Thanks,
Pasha

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help