From patchwork Tue Jan 9 18:54:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 10153059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 007C3602CA for ; Tue, 9 Jan 2018 18:54:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE79428713 for ; Tue, 9 Jan 2018 18:54:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E337428724; Tue, 9 Jan 2018 18:54:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 915AF28713 for ; Tue, 9 Jan 2018 18:54:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760513AbeAISyi (ORCPT ); Tue, 9 Jan 2018 13:54:38 -0500 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 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1415DC051665; Tue, 9 Jan 2018 18:54:32 +0000 (UTC) Received: from kamzik.brq.redhat.com (unknown [10.43.2.160]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9725D7E480; Tue, 9 Jan 2018 18:54:30 +0000 (UTC) From: Andrew Jones To: kvm@vger.kernel.org Cc: cdall@linaro.org, pbonzini@redhat.com, rkrcmar@redhat.com 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> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 09 Jan 2018 18:54:32 +0000 (UTC) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);