From: Andrew Jones Subject: [PATCH kvm-unit-tests] arm/arm64: fix gicv3-active test Date: Tue, 9 Jan 2018 19:54:29 +0100 Message-ID: <20180109185429.3654-1-drjones@redhat.com> Cc: cdall@linaro.org, pbonzini@redhat.com, rkrcmar@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43108 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760509AbeAISyh (ORCPT ); Tue, 9 Jan 2018 13:54:37 -0500 Sender: kvm-owner@vger.kernel.org List-ID: GICR_ICACTIVER0 (aka GICD_ICACTIVER) is based of the SGI_base, not the RD_base. Signed-off-by: Andrew Jones --- arm/gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm/gic.c b/arm/gic.c index a945f7ab8385..5dd958e8b66b 100644 --- a/arm/gic.c +++ b/arm/gic.c @@ -274,7 +274,7 @@ static void ipi_clear_active_handler(struct pt_regs *regs __unused) if (gic_version() == 2) base = gicv2_dist_base(); else - base = gicv3_redist_base(); + base = gicv3_sgi_base(); writel(val, base + GICD_ICACTIVER); -- 2.13.6