Hello Wei, Title: I would add alternative to make clear this is touching alternative.
On 14/03/17 09:27, Wei Chen wrote:
While we're doing apply_alternatives, we will generate new instructions if required. The new instructions need to update the Xen text section, but Xen text section is read-only. So we re-map Xen to a new virtual address to enable write access. The targets of the new generated instructions are located in this re-mapped Xen area. But we haven't register this area as a virtual region, so the checking code determines the targets are not in the Xen text section, the new instructions could not be generated. In this patch, we register the re-mapped Xen area as a temporary virtual region to make the new instructions can be generated successfully. Signed-off-by: Wei Chen <wei.c...@arm.com> ---
This patch would need to be backported on Xen 4.8. For the rest, see Konrad's comment. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel