[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.5] xen: arm: always omit guest user stack in vcpu_show_execution_state
commit c562986357d04c49aaa8c678f27b0a70294dffef Author: Ian Campbell <ian.campbell@xxxxxxxxxx> AuthorDate: Mon Mar 30 12:12:35 2015 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Sep 25 13:37:08 2015 +0100 xen: arm: always omit guest user stack in vcpu_show_execution_state Using !usr_mode(regs) only catches arm32 usr mode and not arm64 user mode, switch to psr_mode_is_user instead. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx> (cherry picked from commit ceb7d6b66de21810a837389911eb2f40c1ca6222) --- xen/arch/arm/traps.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 6425255..2a8a442 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -1031,7 +1031,7 @@ void vcpu_show_execution_state(struct vcpu *v) vcpu_pause(v); /* acceptably dangerous */ vcpu_show_registers(v); - if ( !usr_mode(&v->arch.cpu_info->guest_cpu_user_regs) ) + if ( !psr_mode_is_user(&v->arch.cpu_info->guest_cpu_user_regs) ) show_guest_stack(v, &v->arch.cpu_info->guest_cpu_user_regs); vcpu_unpause(v); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.5 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |