[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: Fix return value when write is ignored in VGIC
commit f2f34db831d33e9121535b00c46633e8d4664758 Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Fri Apr 26 14:16:31 2013 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Apr 26 15:56:32 2013 +0100 xen/arm: Fix return value when write is ignored in VGIC If a write is ignored, the function should return success. Currently Xen will throw a data abort exception if the write in VGIC is ignored. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/vgic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c index 4d8da02..a984621 100644 --- a/xen/arch/arm/vgic.c +++ b/xen/arch/arm/vgic.c @@ -550,7 +550,7 @@ bad_width: write_ignore: if ( dabt.size != 2 ) goto bad_width; - return 0; + return 1; } static int vgic_distr_mmio_check(struct vcpu *v, paddr_t addr) -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |