From patchwork Tue Mar 7 04:07:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 9608081 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 AED5160414 for ; Tue, 7 Mar 2017 04:11:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0BC42848B for ; Tue, 7 Mar 2017 04:11:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 951FB2848E; Tue, 7 Mar 2017 04:11:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F100B2848B for ; Tue, 7 Mar 2017 04:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: Message-id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:List-Owner; bh=TodSHYXV4a7f0GAb+2Gg2dIHJhy4OWfL4yX3jNEty3g=; b=Hm 9AAaRhPXoXPUOnaaADA8G6Zm1dG2J/J/eO5PSxaiyid7BUbkt69qQ5VLJt3ySWngtIlVQ11r2MyON GZpLrf7O41605qkMUZJmXRVNsousQbvNNxiE/yhaSbaKYkQQbEhOV8euKnDpZKS3+OqmFztXlgzCd 0K270OQQX/Ik6foBHvfTlOKT0+hy+DIQ2wig73raOVtq67yVWqjqtdzxXW+pUaI/prsmS6Q2hUYph +ElQe+4eto2arWAOViAw3uAfD2UO4z/3wdMNdlDMF1JwbSg/Z5oQZP+giWDL9+yE0b1LdC6cLpuGL H5jDj6f1qHdXt6VSDqwkMcKVJi08yw2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cl6Sd-0005Ry-9l; Tue, 07 Mar 2017 04:10:55 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cl6SY-0005KE-H6 for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 04:10:52 +0000 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OMF029N4FLC5B60@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 07 Mar 2017 13:10:24 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.42.44]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170307041024epcas5p39646c16d2b7879a2120b1303c64a1f0a~pfh8mhJbU3000730007epcas5p34; Tue, 7 Mar 2017 04:10:24 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 39.B0.04848.FA23EB85; Tue, 7 Mar 2017 13:10:24 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20170307041023epcas5p1229831d4cc8541e6c35914508e6e01f0~pfh8XpE1p0492704927epcas5p1k; Tue, 7 Mar 2017 04:10:23 +0000 (GMT) X-AuditID: b6c32a2c-f79b56d0000012f0-8d-58be32af734f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 4B.59.06422.FA23EB85; Tue, 7 Mar 2017 13:10:23 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OMF002UOFL4D0B0@mmp2.samsung.com>; Tue, 07 Mar 2017 13:10:23 +0900 (KST) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com Subject: [PATCH] irqchip/gic-v3: Fix GICD_CTLR_ARE_NS bit field Date: Tue, 07 Mar 2017 09:37:05 +0530 Message-id: <1488859625-7532-1-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFIsWRmVeSWpSXmKPExsWy7bCmpu4Go30RBhPOMVksvVVt8WDeNjaL FfN+Mlq8eP2P0WLT42usFpd3zWGz+HvnH5vFgo2PGC3WztjF4sDpsWbeGkaPnbPusnvcubaH zWPzknqPvi2rGD0+b5ILYIvisklJzcksSy3St0vgyjh9SKLgB1vFnvP9jA2ML1i7GDk5JARM JFYtfM0MYYtJXLi3ng3EFhJYyigxZX5gFyMXkN3OJNH2/y4jTMPvK1uYIBJzGCUWLmhjg3B+ Mkos/biDBaSKTUBb4u50kCpODhEBO4m2U7dZQIqYBU4xSsz/OhtoNweHsIC9xO93QiA1LAKq EtP/fGMBCfMKuEncnu8JsUxO4ua5TmaQVgmB12wSd4//ZQOpkRCQldh0AOpqF4nO2yfYIWxh iVfHt0DZ0hJ/l95ihOhtZ5S4N+EdK4Qzg1Gic+1bJogqe4kDV+aAHc0swCfR+/sJE8QCXomO NiGIEg+JpU/3Qn3vKLHi5X5mSBDFSmxcPYtpAq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3T53r/HxBSmc 2xadf/3v+LqKUnOGnbPVL5fNNDPn+1HTmD7fdOm193v/nnYtfVhyvdxVfuJ6FU9rFcEFIuvb lFiKMxINtZiLihMBwUsh7XMCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170307041023epcas5p1229831d4cc8541e6c35914508e6e01f0 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7JWM66a8G1NTSVItVHVybiBLZXkgU29sdXRpb25zG+yCvA==?= =?UTF-8?B?7ISx7KCE7J6QGy4vU2VuaW9yIENoaWVmIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?QUxJTSBBS0hUQVIbU1NJUi1UdXJuIEtleSBTb2x1dGlvbnMb?= =?UTF-8?B?U2Ftc3VuZyBFbGVjdHJvbmljcxsuL1NlbmlvciBDaGllZiBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDdJRDAxMDk5Nw==?= CMS-TYPE: 105P X-HopCount: 7 X-CMS-RootMailID: 20170307041023epcas5p1229831d4cc8541e6c35914508e6e01f0 X-RootMTR: 20170307041023epcas5p1229831d4cc8541e6c35914508e6e01f0 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170306_201050_759520_6E4849CE X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: vladimir.murzin@arm.com, andre.przywara@arm.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, alim.akhtar@samsung.com, Alim Akhtar , christoffer.dall@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Alim Akhtar As per GICv3 Architecture specification 8.9.4 field descriptions, GICD_CTLR_ARE_NS is bit[5]. This patch correct the same. Fixes: 021f6537 ("irqchip: gic-v3: Initial support for GICv3") Cc: stable@vger.kernel.org Signed-off-by: Alim Akhtar --- include/linux/irqchip/arm-gic-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h index e808f8a..4aaf639 100644 --- a/include/linux/irqchip/arm-gic-v3.h +++ b/include/linux/irqchip/arm-gic-v3.h @@ -57,7 +57,7 @@ #define GICD_CTLR_RWP (1U << 31) #define GICD_CTLR_DS (1U << 6) -#define GICD_CTLR_ARE_NS (1U << 4) +#define GICD_CTLR_ARE_NS (1U << 5) #define GICD_CTLR_ENABLE_G1A (1U << 1) #define GICD_CTLR_ENABLE_G1 (1U << 0)