From patchwork Fri Nov 27 11:34:31 2015
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pavel Fedin
X-Patchwork-Id: 7712971
Return-Path:
X-Original-To: patchwork-linux-arm@patchwork.kernel.org
Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org
Received: from mail.kernel.org (mail.kernel.org [198.145.29.136])
by patchwork2.web.kernel.org (Postfix) with ESMTP id EA7DFBF90C
for ;
Fri, 27 Nov 2015 11:37:17 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 8AE2C205B3
for ;
Fri, 27 Nov 2015 11:37:13 +0000 (UTC)
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.9])
(using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id 677A820561
for ;
Fri, 27 Nov 2015 11:37:12 +0000 (UTC)
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))
id 1a2HIv-0002jd-Sg; Fri, 27 Nov 2015 11:35:05 +0000
Received: from mailout3.w1.samsung.com ([210.118.77.13])
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1a2HIr-0002T0-Lz
for linux-arm-kernel@lists.infradead.org;
Fri, 27 Nov 2015 11:35:02 +0000
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout3.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NYH000181HPDW80@mailout3.w1.samsung.com> for
linux-arm-kernel@lists.infradead.org;
Fri, 27 Nov 2015 11:34:37 +0000 (GMT)
X-AuditID: cbfec7f5-f79b16d000005389-10-56583fcd0856
Received: from eusync2.samsung.com ( [203.254.199.212])
by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 98.2E.21385.DCF38565;
Fri, 27 Nov 2015 11:34:37 +0000 (GMT)
Received: from fedinw7x64.rnd.samsung.ru ([106.109.131.169])
by eusync2.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTPA id <0NYH000TN1HJQTB0@eusync2.samsung.com>; Fri,
27 Nov 2015 11:34:37 +0000 (GMT)
From: Pavel Fedin
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: Enable GICv2m on 32-bit virt machine
Date: Fri, 27 Nov 2015 14:34:31 +0300
Message-id: <1448624071-9552-1-git-send-email-p.fedin@samsung.com>
X-Mailer: git-send-email 2.4.4
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFrrDJMWRmVeSWpSXmKPExsVy+t/xK7pn7SPCDNo3SlpsenyN1eL2ZV6L
v3f+sTkwe6yZt4bRo6W5h81j85L6AOYoLpuU1JzMstQifbsEroy+A+tYChawVuzcfJ+9gXEO
SxcjJ4eEgInEsyPLmCBsMYkL99azdTFycQgJLGWU2LDuOQuE08Yk8f/URjaQKjYBdYnTXz+A
dYsIaEhM6XrMDmIzC/hJrPneABYXFrCV2Ll/D2MXIwcHi4CqxM5jIiBhXgEniabun2wQy+Qk
rlyfzjaBkXsBI8MqRtHU0uSC4qT0XCO94sTc4tK8dL3k/NxNjBA/f93BuPSY1SFGAQ5GJR5e
ifTwMCHWxLLiytxDjBIczEoivIxaEWFCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeWfueh8iJJCe
WJKanZpakFoEk2Xi4JRqYIw9ysb188DMROFkL40ZoceSX9zqbM39f7nn8azdAbPOHr6nxRWY
cP7r162tG5PYFq1Q/vu8hUXovnnNDvXqqa7i92NtNk94pJC558/Vj6vb3vd9r+94ZSI8Y+WV
PoNnj8/8Of9twVSh049n5x3e8aRkj/jVO0x358zsO7E4SPpG/1R5V78LD7c0KbEUZyQaajEX
FScCAERLVR/vAQAA
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20151127_033501_901685_45EE51AB
X-CRM114-Status: GOOD ( 12.21 )
X-Spam-Score: -7.9 (-------)
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Cc: Marc Zyngier ,
Russell King
MIME-Version: 1.0
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED,
T_RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org
X-Virus-Scanned: ClamAV using ClamSMTP
Modern qemu includes GICv2m support for both 64 and 32 bits, therefore
32-bit guests may also use MSI.
Signed-off-by: Pavel Fedin
---
v1 => v2:
- Rebased on top of 4.4rc1. msi.h is already added by 0ab089c.
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0365cbb..a5f5843 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -797,6 +797,7 @@ config ARCH_VIRT
bool "Dummy Virtual Machine" if ARCH_MULTI_V7
select ARM_AMBA
select ARM_GIC
+ select ARM_GIC_V2M if PCI_MSI
select ARM_GIC_V3
select ARM_PSCI
select HAVE_ARM_ARCH_TIMER