[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALHNRZ8YUjMq0NfAT10wajFJGWaxGWarn-z2C=1Obf0ewT13gQ@mail.gmail.com>
Date: Tue, 11 Mar 2025 13:17:33 -0500
From: Aaron Kling <webgeek1234@...il.com>
To: Daniel Mentz <danielmentz@...gle.com>
Cc: Robin Murphy <robin.murphy@....com>, Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Arnd Bergmann <arnd@...db.de>, iommu@...ts.linux.dev, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] iommu/arm: Allow disabling Qualcomm support in arm_smmu_v3
On Tue, Mar 11, 2025 at 12:55 PM Daniel Mentz <danielmentz@...gle.com> wrote:
>
> On Mon, Mar 10, 2025 at 9:51 AM Aaron Kling <webgeek1234@...il.com> wrote:
> > I am working with the android kernel. The more recent setup enables a
> > minimal setup of configs in a core kernel that works across all
> > supported arch's, then requires further support to all be modules. I
> > specifically am working with tegra devices. But as ARCH_QCOM is
> > enabled in the core defconfig, when I build smmuv3 as a module, I end
> > up with a dependency on qcom-scm which gets built as an additional
> > module. And it would be preferable to not require qcom modules to boot
> > a tegra device.
>
> If you want to build arm_smmu_v3.ko, you'd have
>
> # CONFIG_ARM_SMMU is not set
> CONFIG_ARM_SMMU_V3=m
>
> in your .config. I don't see how this would enable ARM_SMMU_QCOM or QCOM_SCM.
I went and double checked my defconfig snippet and I have to
apologize. I put the wrong thing in the commit message and caused
confusion to myself and the entire discussion. This is what I've got:
# MMU
CONFIG_ARM_SMMU=m
# CONFIG_ARM_SMMU_QCOM is not set
Tegra186, tegra194, and tegra234 are supported by arm-smmu, not by
arm-smmu-v3. And these are the relevant archs I'm trying to work on.
Having the extra dep doesn't break anything, so worst case I continue
to carry the extra dep or this as a downstream patch. But I had to at
least try to decouple unnecessary dep.
Sincerely,
Aaron
Powered by blists - more mailing lists