From patchwork Tue Aug 4 09:59:49 2015
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pavel Fedin
X-Patchwork-Id: 6936041
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 B6B12C05AC
for ;
Tue, 4 Aug 2015 10:02:22 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id EFD62205CA
for ;
Tue, 4 Aug 2015 10:02:21 +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 182E020429
for ;
Tue, 4 Aug 2015 10:02:21 +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 1ZMZ1B-0002mD-3U; Tue, 04 Aug 2015 10:00:21 +0000
Received: from mailout1.w1.samsung.com ([210.118.77.11])
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1ZMZ16-0001N9-7i
for linux-arm-kernel@lists.infradead.org;
Tue, 04 Aug 2015 10:00:17 +0000
Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244])
by mailout1.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NSJ001BNYFQ7F20@mailout1.w1.samsung.com> for
linux-arm-kernel@lists.infradead.org;
Tue, 04 Aug 2015 10:59:50 +0100 (BST)
X-AuditID: cbfec7f4-f79c56d0000012ee-2b-55c08d167c48
Received: from eusync2.samsung.com ( [203.254.199.212])
by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 6E.CE.04846.61D80C55;
Tue, 4 Aug 2015 10:59:50 +0100 (BST)
Received: from fedinw7x64 ([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 <0NSJ003WNYFP3G90@eusync2.samsung.com>; Tue,
04 Aug 2015 10:59:50 +0100 (BST)
From: Pavel Fedin
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH TRIVIAL] Enable GICv2m on ARM virt machine
Date: Tue, 04 Aug 2015 12:59:49 +0300
Message-id: <00f501d0ce9c$4d57bcc0$e8073640$@samsung.com>
MIME-version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-index: AdDOnEzUT/ZXk0syR2yqZAM9VQHimg==
Content-language: ru
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsVy+t/xK7pivQdCDXZcFLbY9Pgaq8Xty7wW
7/dfZnJg9mhp7mHz2LSqk81j85L6AOYoLpuU1JzMstQifbsEroyfJxayFfxmr7h0exp7A+Mh
ti5GTg4JAROJ071zWCBsMYkL99YDxbk4hASWMkpMav/EBOF8Z5R49GEGI0gVm4C6xOmvH8A6
RAQ0JKZ0PWYHsZkF7CUuLJrOBGILC1hJ7J3cxQpiswioSmxbdw5sG6+ApcTn99sYIWxBiR+T
77FA9GpJrN95nAnClpfYvOYtM8RFChI7zr5mhNilJ3FwygGoXSIS0/7dY57AKDALyahZSEbN
QjJqFpKWBYwsqxhFU0uTC4qT0nMN9YoTc4tL89L1kvNzNzFCAvjLDsbFx6wOMQpwMCrx8Aq8
3B8qxJpYVlyZe4hRgoNZSYTXoOpAqBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeW
pGanphakFsFkmTg4pRoYuZveWvMa/X3JqNmnvUbo8ImI+x6rc/kmbpA88oXRyWeaN++0X4aH
f1kZTDDItX6y5sNH8RaTBptpTfXPdSdP43Be3Wm2+EuF26QG46VcrwUXTOb/823h231ZDyRS
F9/Z2qFxy9byxJ4CvjrLWedvT/5xWF5NJMDj7Ht1pTs9M+rm3j+0+/uOF0osxRmJhlrMRcWJ
AG3JTR9cAgAA
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20150804_030016_496975_ED752522
X-CRM114-Status: GOOD ( 10.51 )
X-Spam-Score: -7.1 (-------)
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: 'Russell King' , trivial@kernel.org
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.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED,
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
qemu implementation of "virt" includes GICv2m. This commit allows to use
it also on ARM32 architecture.
Signed-off-by: Pavel Fedin
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/Kbuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 45df48b..1091025 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -815,6 +815,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_PSCI
select HAVE_ARM_ARCH_TIMER
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild
index 3c4596d..01806f5 100644
--- a/arch/arm/include/asm/Kbuild
+++ b/arch/arm/include/asm/Kbuild
@@ -14,6 +14,7 @@ generic-y += local.h
generic-y += local64.h
generic-y += mcs_spinlock.h
generic-y += msgbuf.h
+generic-y += msi.h
generic-y += param.h
generic-y += parport.h
generic-y += poll.h