From patchwork Sun Jan 8 06:53:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13092415 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0184C53210 for ; Sun, 8 Jan 2023 06:55:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UHnZ+UpCBMn/OAuQji0GSbe8C5VA2wi/rFymMYpdokk=; b=BNb/lHVz8t9UP0 Z7OVhG0coXxT7yl6usjrWIK4Y0ZSlgpP9iR7LFo4qTGIREFpZSksUootEE383OrL+S0oMsSh0KI7c iOLHhtDHXNT7cXHxpOFgj+arbPxdJ6MVkgOkZA44UahVkqoshNL6UJpD6CN/PlVFjATa+RmetWgBH c6VRDiTx0A1GRTYFbbsh1oQP+RhAyX6Jzc4jU/oxW7tmn79pI2VIYIHdJPfr83QsAioaX2KNA0qqN cAsVaiJ0ZpJ9As7lg9iG7Puz0dzyrugnYvDshJgQCfxylL7RJhdFV/+z52Dm6eraEVi11PLGFurNq jLftllf4+RH6mKkGKfyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEPZ0-00Bs3j-Hm; Sun, 08 Jan 2023 06:53:50 +0000 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEPYw-00Bs2L-HJ for linux-arm-kernel@lists.infradead.org; Sun, 08 Jan 2023 06:53:47 +0000 Received: by mail-pl1-x62e.google.com with SMTP id jn22so6150195plb.13 for ; Sat, 07 Jan 2023 22:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H/VDmG0gdlZJvoOOCR9LZEjMINUvMdkeoZNcXYasXMA=; b=JjaV7/CZSpMtpB3/NAfRJ+GfwUFPa4n//oyxermfR/6ymk6fOKZQOkWjwbWBTodJfs Ehz6QSs2o6hEbzmur/eIpG8xZeP9J8p0QOZwymPDQLCLFAJATffQKbQoVb+2Wqhc99lU xUFxaXmXTnAOZjBuTS6el5rZfCjGFLAyREl99UE/qGPF1In0HuQxPxddOfDk/A+P1040 clMlIrxQraDTb6dEqGCBo/LCZu5kmViFGB5MSG9YFIJwcnypqA5Pe0bCkvNz8dDDoW+P 6icPZPehUO+CVCsX6cRPFnSZWBQ9n+oSXo7KbosF55J+N2KnjLc6zVFlgqPWagmcbwso xD4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H/VDmG0gdlZJvoOOCR9LZEjMINUvMdkeoZNcXYasXMA=; b=GXGkZczcc4Je4gZ8RyI4nUIYu1xfbpGtywk3CfhX96d20HDWrxh7L8iviX+AP7L2vQ nVCiE0b+LxY6AcIKZ6JWgSm/0YX5ShT9voCFixuAoNbQQQBxyFPuhPKr8nOThAZ/nBIp 1+mrhl8i/Zck5TrdtPz7XzmcQKU2jntBULM7MAbBSomTC7KFli3yrhCZ4MN+wfSi8ReL ZwzoGbqbjGzbFRiis8/aoRmnbpNPekgn7fWtuetOvsMMRI3YKkxQhx8LOLY+n3ecarzu 2baEQ3vJOt+jVmUz+AX+44gK0jcxLfuD2d5D1idta4XOvPk6/pZgR7xsBGN/zDAEaCmU vEqw== X-Gm-Message-State: AFqh2krtZQGD+Tc5GG4HA1QmtjU4j8bQC2UVogUvdJwU1yw7/Jq2iqiU xixGV8L3f0wqeZIM2eVllvU= X-Google-Smtp-Source: AMrXdXvj7pJXlDVac5JQM7nClMOZFKZor6ueZeav4eRhzDnnC6YB0QW8FLdOLL/5H3YB5z+tf3OUjg== X-Received: by 2002:a17:902:7688:b0:192:ce01:7d82 with SMTP id m8-20020a170902768800b00192ce017d82mr22054178pll.52.1673160824313; Sat, 07 Jan 2023 22:53:44 -0800 (PST) Received: from morpheus.lan (106-69-189-37.dyn.iinet.net.au. [106.69.189.37]) by smtp.googlemail.com with ESMTPSA id t1-20020a170902d14100b00186b3c3e2dasm3685296plt.155.2023.01.07.22.53.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 22:53:43 -0800 (PST) From: Peter Robinson To: Joerg Roedel , Will Deacon , Robin Murphy , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Peter Robinson Subject: [PATCH] iommu: dart: depend on ARCH_APPLE rather than ARM64 Date: Sun, 8 Jan 2023 06:53:34 +0000 Message-Id: <20230108065334.397200-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230107_225346_611911_6DDE9DAA X-CRM114-Status: GOOD ( 12.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It's a better fit for the Apple DART driver to depend on ARCH_APPLE than just the ARM64 architecture. Signed-off-by: Peter Robinson --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 79707685d54a..6fa22f29d884 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -70,7 +70,7 @@ config IOMMU_IO_PGTABLE_ARMV7S_SELFTEST config IOMMU_IO_PGTABLE_DART bool "Apple DART Formats" select IOMMU_IO_PGTABLE - depends on ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64) + depends on ARCH_APPLE || (COMPILE_TEST && !GENERIC_ATOMIC64) help Enable support for the Apple DART pagetable formats. These include the t8020 and t6000/t8110 DART formats used in Apple M1/M2 family