From patchwork Fri Jan 29 10:47:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Singh X-Patchwork-Id: 12055697 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.8 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 7D984C433DB for ; Fri, 29 Jan 2021 10:47:57 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 23FEA64ED0 for ; Fri, 29 Jan 2021 10:47:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 23FEA64ED0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.77962.141599 (Exim 4.92) (envelope-from ) id 1l5RJd-0000Wg-SP; Fri, 29 Jan 2021 10:47:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 77962.141599; Fri, 29 Jan 2021 10:47:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l5RJd-0000WZ-PG; Fri, 29 Jan 2021 10:47:49 +0000 Received: by outflank-mailman (input) for mailman id 77962; Fri, 29 Jan 2021 10:47:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1l5RJc-0000WS-Cc for xen-devel@lists.xenproject.org; Fri, 29 Jan 2021 10:47:48 +0000 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id 3a0cefc5-1a33-4e81-8804-f1e72d9f74a2; Fri, 29 Jan 2021 10:47:46 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0DDA11424; Fri, 29 Jan 2021 02:47:46 -0800 (PST) Received: from scm-wfh-server-rahsin01.stack04.eu02.mi.arm.com (unknown [10.58.246.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 09E2A3F66E; Fri, 29 Jan 2021 02:47:44 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3a0cefc5-1a33-4e81-8804-f1e72d9f74a2 From: Rahul Singh To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, rahul.singh@arm.com, julien@xen.org, sstabellini@kernel.org, Jan Beulich , Paul Durrant Subject: [PATCH] xen/arm: smmuv3: Disable the SMMUv3 driver when ACPI is enabled. Date: Fri, 29 Jan 2021 10:47:33 +0000 Message-Id: <1a228e438f405c376d6fc36e4625c6c09f9d78f3.1611916545.git.rahul.singh@arm.com> X-Mailer: git-send-email 2.17.1 SMMUv3 driver does not support ACPI device probe.If APCI is enabled with SMMUv3 driver compiler will throw an error. Disable SMMUv3 driver when ACPI is enabled in kconfig to fix compilation error. Signed-off-by: Rahul Singh Reviewed-by: Bertrand Marquis Acked-by: Julien Grall --- xen/drivers/passthrough/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/Kconfig b/xen/drivers/passthrough/Kconfig index 341ba92b30..82f02f56af 100644 --- a/xen/drivers/passthrough/Kconfig +++ b/xen/drivers/passthrough/Kconfig @@ -15,7 +15,7 @@ config ARM_SMMU config ARM_SMMU_V3 bool "ARM Ltd. System MMU Version 3 (SMMUv3) Support" if EXPERT - depends on ARM_64 + depends on ARM_64 && (!ACPI || BROKEN) ---help--- Support for implementations of the ARM System MMU architecture version 3. Driver is in experimental stage and should not be used in