[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/arm: Register re-mapped Xen area as a temporary virtual region



Hi Julien,

On 2017/3/14 23:35, Julien Grall wrote:
> 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.Chen@xxxxxxx>
>> ---
>
> This patch would need to be backported on Xen 4.8.
>
> For the rest, see Konrad's comment.
>

Ok, I will do it.

> Regards,
>


-- 
Regards,
Wei Chen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.