xen/arm: vgic-v3: Don't try to emulate IROUTER which do not exist in the spec
authorJulien Grall <julien.grall@citrix.com>
Wed, 18 Nov 2015 17:27:57 +0000 (17:27 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Nov 2015 12:29:27 +0000 (12:29 +0000)
commit675b68f13de7449c033d345bcf469cc1b8cca6ac
tree3d24a538e335067360d7004a31d84bd0748e322f
parentafbbf2c8f638ba406b6f002fffe73f5761a5b658
xen/arm: vgic-v3: Don't try to emulate IROUTER which do not exist in the spec

The range of valid IROUTER<n> are n = 32 - 1019 (see 8.9.13 in IHI 0069A)
which correspond to the offset 0x6100-0x7FD8.

Other offsets are invalid and therefore should not be emulated.

Also remove the now unused label read_as_zero_64 and write_ignore_64.

Note that GICD_IROUTER is kept to accommodate the GICv3 drivers which has
been in part taken from Linux.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/vgic-v3.c
xen/include/asm-arm/gic_v3_defs.h