From patchwork Thu Dec 7 12:54:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13483265 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 C8B43C10DC3 for ; Thu, 7 Dec 2023 12:55:43 +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=GO/n+JqDjAXCYRooNxTJTv9oGRiE4LElPvR2WVJVTlA=; b=CiPbgfXx49rj1Q hCiK2dFd6PERGXgsruFmlSfF1YNnrEsHayrYaHQJjldQqStiixPl8PEMmnRSHARKa7EeoAsxNXWPw WAGMQPnbgC5qC+lDsztW4xbuPz6140Qg4KEC/wgxE+QEgcxeKq2R4ZGltjyzLpjKcNEKuRyiMAUTe zis/BYX2YUKGaYomOKuSAywB043gn7Fq+1P1xDAfiQRaIi8/bUXzsMdtcf7I1GQ9uR8zEaBw+qAVF FpAAnizyRYkI6zNc6/os5SMwV6e4cdp03pu5RyW5seye/bIU/kd6Or7YUsndayGwfm5pKGB9rpboa LLcYPa5Lo/v3CxtXpRbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBDuJ-00Cqtz-0h; Thu, 07 Dec 2023 12:55:11 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBDuE-00CqrY-1R for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2023 12:55:07 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50bef9b7a67so724739e87.1 for ; Thu, 07 Dec 2023 04:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701953702; x=1702558502; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JA5daNbyCgwvSSjCzYxa9vhAfMiSd1k1ygkW4K36+HA=; b=ycgz/ZbFPxiymBvNN+GAc21H57IXjIUaHFI4ZngJQSbwZ7hHWhzVf7705SaOz77z20 v4xI+fXsIIjT6ucb9P/Eth0qb6y836sxz154dkPq4QmCJzt4fCPhSH1lJBXswc/qrn+e ejxKSYLqg6lMuxHrKWG9ARZBmuVDTH9zb+zW/V9X+yCua1dFnpVaiAqiWaP1EVBDraMf 2L++1gWfa/xAQXi0YXnWLlBZSuAP0o2EZGcQ29vJ1udW9sz7agOv10nnjVfDSQ+c414C JB3AF8ndCsigNUutYEZqGI8Ir3AZ1lWzFlEdzmy+CEUHoTeSTTs0sVThUNO6h+HKkjZZ v/oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701953702; x=1702558502; 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=JA5daNbyCgwvSSjCzYxa9vhAfMiSd1k1ygkW4K36+HA=; b=K6ylj1SOcWCien2zbsbQKAwgZfvOaFw0f7wbgOgeFUH3UhDKP8GUdvX8s1/VP1zI3h fAYjYVFACSHqsAuywnWNEdx5FUvahWEdP5PJIF/Pc/lBIvGIRgZr7V4mMllBPhZelaW/ OsTv4A22i04uAYKrnxSZDUtz72ddACXPCkbzbxK/624xHP3klC3KTPwhbVWFxV+7ARMb rbkr1229fqiICr1sfmZ4f7ejqWkZQg0kumniynKPgMjSK70Ht3t4OhTa9Qmy8iN6CKlr eoA4CmDov3iV7UHVbXfUh6T6bp1OXNcJzOxm1rK5TyVUjeKmLbOkyS03j/jVxcjJPGDT 7QKQ== X-Gm-Message-State: AOJu0YzNYxVBvZZSNw8BJdnkXYzZ19MD86PNwoygDZU/DeqAQ8DgcIpQ z8Ft29TA5Oq5+cPNQmwcyGO0Ng== X-Google-Smtp-Source: AGHT+IGViRtvlpdiCs1SPsFLcYgzGmJHBhF3Is5KUCBEwYegCA67nn8Q3E4ww4emr+dFf1lSoaEOAQ== X-Received: by 2002:ac2:58fc:0:b0:50b:f084:7c8f with SMTP id v28-20020ac258fc000000b0050bf0847c8fmr1365742lfo.111.1701953701726; Thu, 07 Dec 2023 04:55:01 -0800 (PST) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id cf30-20020a056512281e00b0050bfc6dbb8asm163659lfb.302.2023.12.07.04.55.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:55:01 -0800 (PST) From: Dmitry Baryshkov To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Rob Clark Cc: Vinod Koul , Sai Prakash Ranjan , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, freedreno@lists.freedesktop.org Subject: [PATCH 0/3] ARM: qcom: drop 32-bit machine Kconfig entries. Date: Thu, 7 Dec 2023 15:54:57 +0300 Message-Id: <20231207125500.3322229-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_045506_485083_642C8BB6 X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. 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 The Kconfig for 32-bit Qualcomm arch predates DT and multi-machine support. It still defines ARCH_MSM* types for some (but not all) 32-bit Qualcomm machines. The MSM_IOMMU driver has a strict dependency on one of such kinds. With the DT support in place, this has become obsolete quite a while ago. Replace all 32-bit Qualcomm ARCH kinds with the single Kconfig entry for the workaround required to be enabled for some of those 32-bit platforms. Dmitry Baryshkov (3): iommu/msm-iommu: don't limit the driver too much ARM: qcom: drop most of 32-bit ARCH_QCOM subtypes ARM: qcom: merge remaining subplatforms into sensible Kconfig entry arch/arm/Makefile | 4 +--- arch/arm/mach-qcom/Kconfig | 41 ++++++++------------------------------ drivers/iommu/Kconfig | 2 +- 3 files changed, 10 insertions(+), 37 deletions(-)