Hi Stefano,
On 07/12/17 23:05, Stefano Stabellini wrote:
On Wed, 6 Dec 2017, Julien Grall wrote:
From: Julien Grall <julien.gr...@arm.com>
When system registers are not enabled, all the access to them will trap
^ accesses
in EL2. In Xen, system registers will be enabled by gicv3_cpu_init only
on success. As the rest of the code (e.g gicv3_hyp_init) relies on
system register, it is better to bail out directly.
This will save time on debugging early boot issue on GICv3 platform.
Signed-off-by: Julien Grall <julien.gr...@linaro.org>
This is good:
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>
Do we also want to print a warning or an error message?
AFAICT, all the path that return an error in gicv3_cpu_init (and the
callers) have already a warning/error message. So no need to add an
extra one here.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel