Message ID | 20221028191243.31721-1-semen.protsenko@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp999065wru; Fri, 28 Oct 2022 12:15:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM64O6MHBJwCJU9HoAE0E9QoXGUGU1PgRbGUka5ghBrF0Eb4rj8wf8lIOL98Yi/O5RluaKXv X-Received: by 2002:a17:906:8451:b0:79d:af69:8a20 with SMTP id e17-20020a170906845100b0079daf698a20mr815020ejy.406.1666984551970; Fri, 28 Oct 2022 12:15:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666984551; cv=none; d=google.com; s=arc-20160816; b=xyq/hG9gD3JoxwKSA8DeZYQYccpgE3rvcqsiVrzLA5KDR48vTPWIsI+eBq3ZUkkkF/ WovQCmFgXP+cMRKS0amIPJB07mCIEmJwMRRx9yt3yrzw/wOpDwXM0378YlUmNBTkqjjG bEHHO7+bsUBRePLb77iJkxElYVYqeFsBW1ppMpGouQ35YGM7mupLFZGNLiSRqe34jWtb yACBTk0znbIxULKwwvblzVifNKcDJdkHAMDLFV7WTPdh4yftgRAO/KA9IQQDGpF9w0ok 5YCCFKRo/6Cn3eQ1MlTV4I6CTCSVTjHTplYDuGmo5ZyzyUeo1AZUB/gs+w4c4k1hhEV4 q+BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KXpKlDaHcGP9aL2xwDRjvuf/ZwMUXVgeArUbFNz1VVw=; b=L76x+1oc2V7AxR5OXT+3VEvLJUEr5vv4dr5P8rkhwcOPyUHpXzDozxVo0wwU8V9IAW 2j5BnBZr+0kvc3vg7a8at5RzIpAxgETbIJZ+T/rDmf3dHjkxBwNbmXMTrLtNPYNZQ5gV Q1sLDARL2D927ymhsQO1d/8o16K/A0LWE1ofqf4zhu1np3mHSYF4hgxju70qnemG1dcP cczc3Yj7gq22QM/aDkYsmIEVvQ7hkvXsdxfpVQTCwyrdbOnYAc0KDxVe6J4dqMYM1UjX JFX23jFG8PbXwKrIoVfbj7o20ySBV3zRGwNy07LnsnRtiCvzdbs4VFnD5qpiClPdNzZP ZoFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LSfBJW23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv15-20020a17090760cf00b0078db5170767si5845027ejc.18.2022.10.28.12.15.27; Fri, 28 Oct 2022 12:15:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LSfBJW23; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbiJ1TMu (ORCPT <rfc822;norden.jeffspam@gmail.com> + 99 others); Fri, 28 Oct 2022 15:12:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiJ1TMs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 15:12:48 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 940CF22BC81 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 12:12:47 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id t25so15176016ejb.8 for <linux-kernel@vger.kernel.org>; Fri, 28 Oct 2022 12:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KXpKlDaHcGP9aL2xwDRjvuf/ZwMUXVgeArUbFNz1VVw=; b=LSfBJW23LFoqUDPoE33wm7pBBscnRPehQlHh/GjsUbvvxRfa0TzP2oaoTqW4e9oJus Ng4CR7xtFl7DzRkeyl1BsZLqzKzLaTwNjTOObdHDgMGRt1MY3HMx7OgQseweWwcNRMBT xTpEwvfeBO6dCqun6ouMwpleX5jd6nqG1N6OC4V/Y5e7w0ccwRIFIPC0/qsrNSIS61on BwHjxDxDOe8sCOmNzh+XUBXjtJTAWum0G1TbHRaryVAZZt9mOXVjGFO8rEqYk3TJcT1R K8yyXR8Lo3GPRvbCWZs+/nS7wZLyru5Q8h0W0W91aTVjmmVcjxEaRVTcUeikaGlQWiUJ BXEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=KXpKlDaHcGP9aL2xwDRjvuf/ZwMUXVgeArUbFNz1VVw=; b=P+D9Rfx/Yr4RTDUDD4NgBznUMiTF5L6ZvQOd/fUJqfW5vgThhh1X7T7451StyjZJri OEsjOuHjv0WTTweB7YBUpDPk58gB/M1+jqE/Wqpkh8vnOmSClbyaTe0dEwJy3O9aiS9y Iaubcdwlaqb2XYFsoW3XTJtW/zGmHmXvmdq/6J0YuHfTgFG0flv5KP11jg89Sz2ybCGD 9EfRgNICOrgX5ZN+UzN3tTa1jBszLPfyipbiogaoUSU4r7MWQeItuGi86zEeFtCJJpnD bRFKWyQRLJLMLsWe+fP2g3y/niXlKcOMcvSz+8xCTLWN+1vOgwypRWo5lYxrSrokYjrB LHbw== X-Gm-Message-State: ACrzQf1/L4QMhDDOkIC4kIqtVZga+oMfEehESfrU/648kNVyudeZJt0s dQ+TUV4Ou/fOetmJJNBjN7fdbg== X-Received: by 2002:a17:907:1dc7:b0:7ad:83d5:6abd with SMTP id og7-20020a1709071dc700b007ad83d56abdmr755570ejc.412.1666984366090; Fri, 28 Oct 2022 12:12:46 -0700 (PDT) Received: from localhost (cgw.msart-bajzova4.ke.cust.o2bs.sk. [90.176.4.227]) by smtp.gmail.com with ESMTPSA id cd13-20020a170906b34d00b0077a1dd3e7b7sm2544787ejb.102.2022.10.28.12.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 12:12:45 -0700 (PDT) From: Sam Protsenko <semen.protsenko@linaro.org> To: Marek Szyprowski <m.szyprowski@samsung.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Cc: Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Sumit Semwal <sumit.semwal@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, Janghyuck Kim <janghyuck.kim@samsung.com>, Cho KyongHo <pullip.cho@samsung.com>, Daniel Mentz <danielmentz@google.com>, David Virag <virag.david003@gmail.com>, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/4] iommu/exynos: Convert to module Date: Fri, 28 Oct 2022 21:12:39 +0200 Message-Id: <20221028191243.31721-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747959993542311626?= X-GMAIL-MSGID: =?utf-8?q?1747959993542311626?= |
Series | iommu/exynos: Convert to module | |
Message
Sam Protsenko
Oct. 28, 2022, 7:12 p.m. UTC
As exynos-iommu driver is not a critical platform driver, it can be converted to loadable module, to avoid loading it on non-Exynos platforms in order to improve the RAM footprint. This patch series converts it to a module and does some related cleanups. IOMMU/DMA specifics were taken into the account, so remove/exit methods weren't added. Sam Protsenko (4): iommu: Export iommu_group_default_domain() API iommu/exynos: Fix retval on getting clocks in probe iommu/exynos: Modularize the driver iommu/exynos: Rearrange the platform driver code drivers/iommu/Kconfig | 2 +- drivers/iommu/exynos-iommu.c | 353 ++++++++++++++++++----------------- drivers/iommu/iommu.c | 1 + 3 files changed, 186 insertions(+), 170 deletions(-)