From patchwork Wed Dec 9 20:29:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 11962495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 813B4C4361B for ; Wed, 9 Dec 2020 20:31:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5689A23B99 for ; Wed, 9 Dec 2020 20:31:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728716AbgLIUbL (ORCPT ); Wed, 9 Dec 2020 15:31:11 -0500 Received: from mga14.intel.com ([192.55.52.115]:64821 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729187AbgLIUbA (ORCPT ); Wed, 9 Dec 2020 15:31:00 -0500 IronPort-SDR: FainkkfyZHrCTKH65VHQjJOLtS7U6cYfS5o8NkPbcE/0g2pG0ae+A/uKNSN3IFG425QE2USmyT 4FdzGSz2d3Fw== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="173383197" X-IronPort-AV: E=Sophos;i="5.78,405,1599548400"; d="scan'208";a="173383197" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 12:29:11 -0800 IronPort-SDR: OWkzm9C0bxeDUxcMr0BM9sPClVzq9KjA/tYUzOTRk6jgqAV6Qj2bc0Slp8OaPaWAHq0BABFsDY AJv/bGpAnx7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,405,1599548400"; d="scan'208";a="552771422" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 09 Dec 2020 12:29:10 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 831801C8; Wed, 9 Dec 2020 22:29:09 +0200 (EET) From: Andy Shevchenko To: Eric Auger , Alex Williamson , kvm@vger.kernel.org, Cornelia Huck Cc: Andy Shevchenko Subject: [PATCH v1] vfio: platform: enable compile test Date: Wed, 9 Dec 2020 22:29:08 +0200 Message-Id: <20201209202908.61658-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Enable compile test of the VFIO platform code. Signed-off-by: Andy Shevchenko Acked-by: Eric Auger --- drivers/vfio/platform/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig index dc1a3c44f2c6..d19051b68952 100644 --- a/drivers/vfio/platform/Kconfig +++ b/drivers/vfio/platform/Kconfig @@ -1,7 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only config VFIO_PLATFORM tristate "VFIO support for platform devices" - depends on VFIO && EVENTFD && (ARM || ARM64) + depends on (ARM || ARM64) || COMPILE_TEST + depends on VFIO && EVENTFD select VFIO_VIRQFD help Support for platform devices with VFIO. This is required to make