From patchwork Sat Dec 16 16:26:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13495639 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 AC4F1C46CA2 for ; Sat, 16 Dec 2023 16:27:32 +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:References:In-Reply-To: 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: List-Owner; bh=RhggBw5AO0PIbWIpbC/+hFpr8XZW8NoansWREeGgXww=; b=PRCSTl6qDLZlLn KcABMdidfEfCBssNTgoIkUjls2FpP8osAKfxfukf/bY4ABAUkShA4ZdvsufLt3Gde0UWkS0OQGNoV qkv25glOHmGUtXXAAMPmSUQgOSooJPo7E+2NEAlvQCuGftnnxGmK4oEtto48VldQLrA8yKE5YD3ET 2dteowUc2kUuc9IpQVCQumwBj1np0/FDaOHwoIdX0qf2BzhNnPKE3SCZVuj5cfawRx64gm2k2koWC zb9Ciu8ubsgqUf6SPcol2UyXoriMV48LK8Noq3WP4UMuMP2PG9o2gN+aTRKbGhulXkHmPDFwa7A5A WoKG4qc7rRGDgLKqFQMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rEXVL-006Jmw-0L; Sat, 16 Dec 2023 16:27:07 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rEXVI-006Jll-1z for linux-arm-kernel@lists.infradead.org; Sat, 16 Dec 2023 16:27:05 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50e1112b95cso1729046e87.0 for ; Sat, 16 Dec 2023 08:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702744022; x=1703348822; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KElCPZfyJpQwk06b+Z31JKlsF2IDE8giU5N99VUu5rY=; b=DcOf0egxlQlpiKBgc+lCIA2pUjD0MKS+2c5i27uX2Av5pXrgqWH5qGZV6B2/DlFyXv jR9NHQDpfD1+q15LIVow0b/fiH7golHK9peXpFuXbjEcc6SK15KJWa/Xhm4CbUKdaEpO oOfRvn+D8A6OxV5DmJJuiEQxj43fR+eoGVA1vYHE605UhrXgSrXmpBoh5+X/pK2Cgiuu GSd5LN298bB6wNjFsZ4Y3QCfFOvOrHRMkYOmWfjXRvKfktifoIfQ5bP+sYcsq1c/ZQLa JLnUdwwqY8x06f1imHh8RKNaVSmeSnHf1xWA0g0Nhs8OrL7f/Sl51+cW9xz4yDTAr3NV 22eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744022; x=1703348822; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KElCPZfyJpQwk06b+Z31JKlsF2IDE8giU5N99VUu5rY=; b=RUBj0KPfzH6gJQSOarGWAYGyiGcRDwQGZ7XnVk1NvRsUQUBd+hcTnS9+3TTXnCW1d5 SSg2t8PcdbhNr9hsCNu8Y0O5pi0/aQBt7wZjvlAbwlF8CPNmQOUk9jCJQT+GhTG2U+g6 6N8yMTTh+9RDhLLOsEz1fJRXwFMtUsJ1gDCU1yOFmWTx9omqdZ1/dicR5eM0OwHyxheO 3h7tBC39K8XCC+LNONT+zvJUH0r4JJ3XA5O35oTz4MaRiaaqDDPvaqwt5t1CcBuYcXaE jtGErwhk+vfnfKIx+dhZ80ugvKWCLh1N0mFwz6ms6JPsSPxB6AB3jrEGvgNZir6Ip2ox ewQA== X-Gm-Message-State: AOJu0YxH8D/L3RztwaMpIBFs19evBn7Rs0giDd2x5ql6mauxZMUvBYRZ 3sqI3I3sYYMJLQjOMMjSukdu3w== X-Google-Smtp-Source: AGHT+IHJ0WD5two5WbjiaiaYK7rXCoaQopzMhtPMoeu7xcYMpvb1BNyRBM+wF4ZNJogK8hSahkEFQA== X-Received: by 2002:ac2:4e8e:0:b0:50b:ea76:509f with SMTP id o14-20020ac24e8e000000b0050bea76509fmr3427264lfr.64.1702744021897; Sat, 16 Dec 2023 08:27:01 -0800 (PST) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id u19-20020a197913000000b0050e304d437dsm69229lfc.223.2023.12.16.08.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:27:01 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Konrad Dybcio , Joerg Roedel , Will Deacon , Robin Murphy Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, Russell King , Joerg Roedel Subject: [PATCH v2 1/3] iommu/msm-iommu: don't limit the driver too much Date: Sat, 16 Dec 2023 18:26:58 +0200 Message-Id: <20231216162700.863456-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231216162700.863456-1-dmitry.baryshkov@linaro.org> References: <20231216162700.863456-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231216_082704_677882_7875D0CE X-CRM114-Status: GOOD ( 12.40 ) 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 In preparation of dropping most of ARCH_QCOM subtypes, stop limiting the driver just to those machines. Allow it to be built for any 32-bit Qualcomm platform (ARCH_QCOM). Acked-by: Robin Murphy Acked-by: Joerg Roedel Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 9a29d742617e..0d6095290b6a 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -179,7 +179,7 @@ config FSL_PAMU config MSM_IOMMU bool "MSM IOMMU Support" depends on ARM - depends on ARCH_MSM8X60 || ARCH_MSM8960 || COMPILE_TEST + depends on ARCH_QCOM || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_ARMV7S help