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

Re: [Xen-devel] [PATCH for 4.5] xen/arm64: Make show_registers working even if current is not correctly set



On Tue, 2014-09-30 at 15:56 +0100, Julien Grall wrote:
> The commit 8ab802c "xen/arm: Restricted access to IFSR32_EL2 and FPEXC32_EL2"
> introduced the use of the variable current in show_registers.
> 
> The variable is not correctly set until Xen has finished to boot.
> Therefore any call to show_registers will result to crash Xen.
> 
> As the register IFSR32_EL2 is only printed when the registers represent
> a guest view, Xen can read the value only for this case.
> 
> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>



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


 


Rackspace

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