Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753023AbbFVQ0M (ORCPT ); Mon, 22 Jun 2015 12:26:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57988 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbbFVQ0C (ORCPT ); Mon, 22 Jun 2015 12:26:02 -0400 Message-ID: <1434990361.3700.228.camel@redhat.com> Subject: Re: [PATCH] VFIO: platform: enable ARM64 build From: Alex Williamson To: Eric Auger Cc: Baptiste Reynal , eric.auger@st.com, ARM SMMU DRIVER , open list , patches@linaro.org, Christoffer Dall Date: Mon, 22 Jun 2015 10:26:01 -0600 In-Reply-To: <55883038.9060405@linaro.org> References: <1434359632-20278-1-git-send-email-eric.auger@linaro.org> <55883038.9060405@linaro.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2203 Lines: 56 On Mon, 2015-06-22 at 17:56 +0200, Eric Auger wrote: > Hi Baptiste, > > No unfortunately I don't have any HW to test this currently. I just > test-compiled this. Up to you to decide whether you prefer waiting for a > functional test for this. I sent that patch since I expect ARM64 to be > the main platform where the VFIO platform drivermight be used for > virtualization use case. FWIW, I've been occasionally removing the arch condition entirely to build test on x86 as well. The Intel VT-d code certainly allows for devices described by ACPI, which I assume would fall under the platform category, but I don't know of any systems that do this, let alone any x86 platform devices that we'd actually want to expose to the user. Eventually we might want to consider decoupling this from an arch-based Kconfig option, but we could just as easily let the first non-ARM user think about that problem. Thanks, Alex > On 06/22/2015 05:49 PM, Baptiste Reynal wrote: > > Acked-by: Baptiste Reynal > > Tested-by: Baptiste Reynal > > > > Out of curiosity, have you get VFIO running on ARM64 without any problems ? > > > > On Mon, Jun 15, 2015 at 11:13 AM, Eric Auger wrote: > >> This patch enables building VFIO platform and derivatives on ARM64. > >> > >> Signed-off-by: Eric Auger > >> --- > >> drivers/vfio/platform/Kconfig | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig > >> index 1df7477..bb30128 100644 > >> --- a/drivers/vfio/platform/Kconfig > >> +++ b/drivers/vfio/platform/Kconfig > >> @@ -1,6 +1,6 @@ > >> config VFIO_PLATFORM > >> tristate "VFIO support for platform devices" > >> - depends on VFIO && EVENTFD && ARM > >> + depends on VFIO && EVENTFD && (ARM || ARM64) > >> select VFIO_VIRQFD > >> help > >> Support for platform devices with VFIO. This is required to make > >> -- > >> 1.9.1 > >> > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/