From nobody Mon May 20 13:25:00 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1577515974; cv=none; d=zohomail.com; s=zohoarc; b=PM9UChxWhBEM1u5u6LBi3BGn/K6ya8Z12vMGm4NabaoxHoohZnT1hJKG8QEtyMr6YRUBOkkp9djA4Jxh3efpaiXLl9jJHuKUMFEs/yf/eUdYLiNGzTeB6eUG6Lp4QYKfk79UXeoI2U7ScsCAA2+TBdvNyzIjO9nTPomAWnl27v4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1577515974; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=sjqFaVSY9MIEaUs4/Dszx1OxNHiuenCzBcx9p2j7rUM=; b=icrYlKxRSH3BJTQ9Za3iXrVcjbNHIgELuAUNtdYcoK6dI3EQZyWo73SOpWL6HcimST/GJFB1n9t8JMGQm+mapg/k26VaKellUhuLZK7sNtJu9RnEXXz1Dp5mJBlS1MniA87n1bFcidjosDFXAXRCpbJ2gdd6F94yQsI7mKCFUDk= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1577515973843533.2329108590231; Fri, 27 Dec 2019 22:52:53 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1il5wi-0002P8-4K; Sat, 28 Dec 2019 06:51:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1il1ae-0005zz-2r for xen-devel@lists.xenproject.org; Sat, 28 Dec 2019 02:12:28 +0000 Received: from huawei.com (unknown [45.249.212.191]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 76f2b3f2-2917-11ea-b6f1-bc764e2007e4; Sat, 28 Dec 2019 02:12:16 +0000 (UTC) Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E7744630B12EED7488EB; Sat, 28 Dec 2019 10:12:11 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Sat, 28 Dec 2019 10:12:03 +0800 X-Inumbo-ID: 76f2b3f2-2917-11ea-b6f1-bc764e2007e4 From: Wei Xu To: Stefano Stabellini , Julien Grall , Volodymyr Babchuk , Date: Sat, 28 Dec 2019 10:08:42 +0800 Message-ID: <1577498922-192711-1-git-send-email-xuwei5@hisilicon.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Sat, 28 Dec 2019 06:51:32 +0000 Subject: [Xen-devel] [PATCH] xen/arm: vgic-v3: Fix the typo of GICD IRQ active status range X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: prime.zeng@hisilicon.com, shameerali.kolothum.thodi@huawei.com, xuwei5@hisilicon.com, linuxarm@huawei.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This patch fixes the typo about the active status range of an IRQ via GICD. Otherwise it will be failed to handle the mmio access and inject a data abort. Fixes: a2b83f95bfad ("xen/arm: vgic: Properly emulate the full register") Signed-off-by: Wei Xu --- xen/arch/arm/vgic-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/vgic-v3.c b/xen/arch/arm/vgic-v3.c index 422b94f..e802f20 100644 --- a/xen/arch/arm/vgic-v3.c +++ b/xen/arch/arm/vgic-v3.c @@ -706,7 +706,7 @@ static int __vgic_v3_distr_common_mmio_read(const char = *name, struct vcpu *v, goto read_as_zero; =20 /* Read the active status of an IRQ via GICD/GICR is not supported */ - case VRANGE32(GICD_ISACTIVER, GICD_ISACTIVER): + case VRANGE32(GICD_ISACTIVER, GICD_ISACTIVERN): case VRANGE32(GICD_ICACTIVER, GICD_ICACTIVERN): goto read_as_zero; =20 --=20 2.8.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel