From patchwork Sat Dec 16 16:26: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: 13495640 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 EE8EFC46CCD for ; Sat, 16 Dec 2023 16:27:37 +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=1bMrsNcCbwave2lwA1HBgtWM+XxqYgYAiz/SIIIWoQM=; b=Zxh2wC7+MPMwi0 X56v6HOvPsQUpFDk1cqoKSVoBmfFg0fKKDVRDKaspeT4py4H3SzkHC4dkelmvQKdlShEXieklfof3 qzeYvOM2Wk/CtST0/7w/bXlOSn+1uGgI9JU1U4a1+r7Hj4wfCLZR8mJbS3374gA7yNUQI/If33LDD otofC+9PKAwm5dhMOtJep2yrPAp1UOUuymDNI+7KS2cfbBG25esziJVJxJtCrpwoU2CPlyrIViwzK B1gyhKIoa+4qUqMyi7qBDeJHBVWKiKkaeQ/gQZ54Saj+kn+qULNgkP/DU62IlStYKYpYFHQX6dnAI cCDSKPgr6DN626UbhpcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rEXVS-006JqR-01; Sat, 16 Dec 2023 16:27:14 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rEXVJ-006Jle-0n for linux-arm-kernel@lists.infradead.org; Sat, 16 Dec 2023 16:27:06 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2ca0715f0faso21183491fa.0 for ; Sat, 16 Dec 2023 08:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702744021; x=1703348821; 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=QpymPf5W5y5Shl7nysrpt+V7X2oYQ2I1k51Yugu0cks=; b=G/7dQDXjzrzymmxR5hogttfKHuVEOrWRp3ZI/KCxxqJP1eHOlQcHAU4znzygwN7TIg jE/KmTUdIg0+XDeD0hOwkVhZ0I4g7XB6xYs858LOdwyNgx1XLZHC7CepQ5EweG4J5Kit GoZG/ncx2lvyFNE8dJNAbd1rpkQpxiHJqZnR1HCxHHT0QqXZ9lYKDw+Q/puQY2NvkzgH mgT0dhQSwmZr53cR9i+hHSahFvBwUt38s7BqPybi777XvSPW6vE26L+1J3elf62aOVnS yO5OcAAa79hMzB9E3Yq+IkjJTmIGoTcyApaJgdZmvd6p1K1WzF+aoC0cxCMUMXrLdtTX DZFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744021; x=1703348821; 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=QpymPf5W5y5Shl7nysrpt+V7X2oYQ2I1k51Yugu0cks=; b=I/m6phbcXesEw3eEKhaTAUCUQt63WImE6aZXkgLXZomyj4IjYR0sELG/fWz7MP6qgg 1HhWFsHFAfSV5pLovku/TicxZrwyY1qJsI4/QHJhwvDpws1Sa368rcVcGVfKlZv58Wgq JTeLbRBegrDy5v6BPNzUow+nmY/XJ93UsK4EaOHr9Sk41LbNmvoQ1czQOVbR0RYFpNGp zJ/23gjMRDheUryIysmpjL3NJBtFfPIRp8kHhjbu+NHkHaXWFEfsakE4HuiwohOCX3fS /6gzb0y9JpWuNeGwTWzgpznnWxBH9j+vSjqkuhCJybTZtJ2eoFJuSv3Z3qD4EIFrMSSO izoA== X-Gm-Message-State: AOJu0YxagYlPnHfHgFklLHU9bjFGgz0xptw2/77SFhCLXfhWTBgS5htv c+DnTrAtVU++Q6kAa0mI9onz4C731+JkJMvvVQ1d/PE4 X-Google-Smtp-Source: AGHT+IEzJv9PxeELq4rLJVwVWAxy9nj88uWbQPTvAZWb06q5uYlFMOyb55v82sGRftrePQgsTXrvmw== X-Received: by 2002:a05:6512:b14:b0:50e:c7e:4bf2 with SMTP id w20-20020a0565120b1400b0050e0c7e4bf2mr5054810lfu.133.1702744021180; 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.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:27:00 -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 Subject: [PATCH v2 0/3] ARM: qcom: drop 32-bit machine Kconfig entries Date: Sat, 16 Dec 2023 18:26:57 +0200 Message-Id: <20231216162700.863456-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-20231216_082705_281643_B58C60BF X-CRM114-Status: UNSURE ( 8.36 ) 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. Changes since v1: - Renamed ARCH_QCOM_SMEM to ARCH_QCOM_RESERVE_SMEM (Bjorn) 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(-)