|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 04/12] Enable Group1 Traps by default for Cavium ThunderX1
Hi, title: "arm64: ...". On 12/03/18 12:42, mjaggi@xxxxxxxxxxxxxxxxxx wrote: From: Manish Jaggi <manish.jaggi@xxxxxxxxxx> Enable trapping for Group1 register access when CONFIG_CAVIUM_ERRATUM_30115 is enabled. This is really odd to enable group1 trapping before the sysreg are actually emulated. This will be impossible to bisect that series on your platform. Please re-order the series to first add sysreg emulation and then hook it. Signed-off-by: Manish Jaggi <manish.jaggi@xxxxxxxxxx> --- xen/arch/arm/gic-v3.c | 16 ++++++++++++++-- xen/include/asm-arm/gic.h | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/gic-v3.c b/xen/arch/arm/gic-v3.c index 473e26111f..53a772a313 100644 --- a/xen/arch/arm/gic-v3.c +++ b/xen/arch/arm/gic-v3.c @@ -44,6 +44,7 @@ #include <asm/gic_v3_defs.h> #include <asm/gic_v3_its.h> #include <asm/cpufeature.h> +#include <asm/cpuerrata.h> Please order them alphabetically. #include <asm/acpi.h>/* Global state */@@ -825,7 +826,7 @@ static void gicv3_cpu_disable(void)static void gicv3_hyp_init(void) The name reg32 is not obvious. Please rename it to hcr. vtr = READ_SYSREG32(ICH_VTR_EL2); I would rather avoid to spread the #ifdef everywhere. In that particular case, it is not necessary. The cpuerrata framework will already print a message when the errata is enabled. So no need for this message.
Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |