From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E2ACC433F5 for ; Tue, 12 Oct 2021 03:39:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 39CC560FF2 for ; Tue, 12 Oct 2021 03:39:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 39CC560FF2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eu06wF4XMrFvLVo0VMXcaYSh6wIHAGndwY1Qlm9LIq8=; b=X1/I8jP62gpcIg lGCTfKbp/ZtoN8CsNKh1Sfc5mXMjESb3xpKblnkxQttNGPMbl5BaIwuK3phmos+PzVjZLbQ8T0zSG VHMh5KvYnC57uCKmLaJBckt18PugQeXDAXiJEJPGNY8TQXMlgoSeWgZcxqDF97ysVYRkbvd0RboU3 wVBK6svZ0ptjMqFAI7o3yMguJOoim7AtlXajhQrWCZsIu00YaicWSQcf4SV/YWZRDeUCIi0VSJnMd 2l2crK7HUL8ITHi4UI/RmeaBfaf7Sm8ue3uYLToMOOw9q2Inxoyr3XfLMSA5nuSJP2FxQ5Va9iByH WWU3DIYkXar1cirghI3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ma8br-00BM9c-Iq; Tue, 12 Oct 2021 03:37:47 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ma8bn-00BM83-Dv for linux-arm-kernel@lists.infradead.org; Tue, 12 Oct 2021 03:37:44 +0000 Received: by mail-oi1-x233.google.com with SMTP id y207so24157632oia.11 for ; Mon, 11 Oct 2021 20:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=FtLkSkVAYhsPc8Rq+dauKVudCH1RLV1aHMuOFMgfWuo=; b=dzvPIu2mAgCzGy3tZwFp0fRu7qEpGudIjyDU5DKg0+TqPjxYWD8lh77ZDOc4OwATLH oz1ecpQq0qOw0V4iyLCuneDSLZ29YUmCEBVVcxK0K8Mrw98jMEQpTeu1xCSICuemPkC3 XcOa+FDr4SDpxb6ZqB7PKRJZQjRzmcQplCdvzNbWjNDSrzmkdrRqC3sXSwR9fRrrmzDL xnWYZska7gaGJ/KAp0eIYI88cA8PQq8K94+g7yuAzjlUF/wo9ZyXcQ78ncuTfPhEV2Jj EXysmsEJf/eImb7Qa5UqT+gXBRzLetIICYFT9ZATy0Ye1fCU6/IysLrD0j7kdOPoqm3C X1Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=FtLkSkVAYhsPc8Rq+dauKVudCH1RLV1aHMuOFMgfWuo=; b=67lgm7MlYdUblyIGgYom1sFfEox7lo8rXucpQSYYGiqI15FzgzcPdPJctHoW3Sm8gP ZaXTfkdt6roS+dpxEXfOBUdMFZ0k4Aa6XJfSn4J9rZPSXEUEYYzA/Ljb3I13fYA2GVPx 4FRllThZawnc7WoxqWScpB77JCIrVS2YHhr22zztSecvCp+8NlQWoHUA+eYd6Sei2gAk FTrq6v41XaVZA2DM/oPzSYTQ7PItCM5JRfsHcX6QKUK1nVAc5F67kUT4Ynd6dIdAhMtv clNepmmqYLnQXutRVpgLNW7xnRKM06D4J5HqeckD/rrSUrTAqmPDHIWYBJKY+T3AH5IR M25Q== X-Gm-Message-State: AOAM530l+J1DSbSXfkRaqIW8PE6PaUCgx9GusX8m7NS3ze99ENNUal6k FygWhTMG71yOaMOJcjgUHsLZiQ== X-Google-Smtp-Source: ABdhPJxC9DBiOjMeGyWGMjU/WJX4hSrIELrjla16tBIjWuYGxRUCWqUExaSQVo837XUDkQmgcPekJQ== X-Received: by 2002:aca:d78b:: with SMTP id o133mr1971572oig.136.1634009861778; Mon, 11 Oct 2021 20:37:41 -0700 (PDT) Received: from yoga ([2600:1700:a0:3dc8:c84c:8eff:fe1e:256f]) by smtp.gmail.com with ESMTPSA id 21sm2133694oix.1.2021.10.11.20.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 20:37:41 -0700 (PDT) Date: Mon, 11 Oct 2021 22:37:38 -0500 From: Bjorn Andersson To: John Stultz Cc: lkml , Arnd Bergmann , Amit Pundir , Caleb Connolly , Kalle Valo , linux-arm-kernel , linux-arm-msm Subject: Re: [RFC][PATCH] iommu: Kconfig: Fix missing config option for CONFIG_ARM_SMMU_QCOM Message-ID: References: <20211012032633.4169364-1-john.stultz@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211012032633.4169364-1-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211011_203743_508019_46B570BF X-CRM114-Status: GOOD ( 23.03 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon 11 Oct 22:26 CDT 2021, John Stultz wrote: > In commit 424953cf3c665 ("qcom_scm: hide Kconfig symbol"), some > logic was added to make the code depend on CONFIG_ARM_SMMU_QCOM, > however no such option exist. > > This caused regressions on db845c (and I suspect other qcom > platforms), but can be easily fixed up by adding a new option > to re-enable the newly conditionalized code. > > I set it to default to ARCH_QCOM, so folks don't have to > discover this new option to keep things booting, but if folks > would rather, I'm ok to drop that line. > I've not looked where the discussion went, but Dmitry posted this end of last week: https://lore.kernel.org/linux-arm-msm/20211010023350.978638-1-dmitry.baryshkov@linaro.org/ Regards, Bjorn > Cc: Arnd Bergmann > Cc: Bjorn Andersson > Cc: Amit Pundir > Cc: Caleb Connolly > Cc: Kalle Valo > Cc: linux-arm-kernel > Cc: linux-arm-msm > Fixes: 424953cf3c665 ("qcom_scm: hide Kconfig symbol") > Signed-off-by: John Stultz > --- > drivers/iommu/Kconfig | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > index c5c71b7ab7e83..e674796b1174d 100644 > --- a/drivers/iommu/Kconfig > +++ b/drivers/iommu/Kconfig > @@ -380,6 +380,16 @@ config ARM_SMMU_V3_SVA > Say Y here if your system supports SVA extensions such as PCIe PASID > and PRI. > > +config ARM_SMMU_QCOM > + bool "QCOM Specific ARM SMMU implementation support" > + depends on ARM_SMMU > + default ARCH_QCOM > + help > + Support for the QCOM implementation of the ARM System MMU architecture. > + > + Say Y here if your SoC includes an QCOM IOMMU device implementing > + the ARM SMMU architecture. > + > config S390_IOMMU > def_bool y if S390 && PCI > depends on S390 && PCI > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel