Message ID | 20221103195154.21495-2-semen.protsenko@linaro.org |
---|---|
State | New |
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 l7csp737609wru; Thu, 3 Nov 2022 12:56:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5aaJrj8WKCbEVQdH0xFtB1eo5R+zxsjI0rRON2cdMPK6/IOOF2uOoJB19YjWgofaXmG124 X-Received: by 2002:a05:6402:4444:b0:458:f355:ce04 with SMTP id o4-20020a056402444400b00458f355ce04mr32719038edb.422.1667505375172; Thu, 03 Nov 2022 12:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667505375; cv=none; d=google.com; s=arc-20160816; b=vzqUKqMl7tBLlKbW0hHC8CVu0jQcIy6hg6WGOU0vZQNmi/HWGO088U7KKFqGujKmNn HljA0ijIPpcWE6KWTEQeNYwqG7xVRSAlg5kwd+KYePUInPUfityCMWttcrl9D2NxAJUR QM6L1OhoXjrMxCXU2iLQEpIPRbfMKWvN0JmTEUVqhkBu+3/2Vi+nJGxk/V6Ts1EqcebK yVCrwQMicCm7TaMiJJ2CzaGHWkY1KMt5FC0nRDGcz9Ws40tdJBIaIkDvbj1YI0hl8aIm 9djjfTAae453za0MUaQ38DTDX9BbtImeVZeN2QTq7XJVW4uD2ueAWmGBi7du5yg/d1jn z//A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=h+MC8kK4zWQiBOS9TmUZzl813e7Kce9jFI4colJBhao=; b=gMyn2lz3gkieZTdg9to3njpcrKvGNqDG+OBtGiAvwA8ZI6Vm6l/Dnr4I277JJPU6MM dYdqJq11teEbYHdelhM5zlVJX3PrC7tlP2PAqJkhzqx0c7T0Sfq96sLJIDoKuTK7Nngy Aphh7+M5XH+Zjfnef/gUPkJhAVBHNoS/ObCFERjEe9AYhNLjV8hgLTWYNo+hUe4lJI5a 6AiBfrHe6iDd+aAlsvi1XlR1CfAIeojht5VG8S75Bn6J2/rhmMziWqq1x2AzjT+qzQqF o9UmC8Vi9H8ZQVe2dlHB726OnLjdrM0X0T6NNpenSfYUxvnrwiZM3nVhsoqKv6OptLrb 3l0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qA13inhD; 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 sg8-20020a170907a40800b0078e1a6fbe12si2538741ejc.16.2022.11.03.12.55.50; Thu, 03 Nov 2022 12:56:15 -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=qA13inhD; 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 S230388AbiKCTwC (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 15:52:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiKCTwA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 15:52:00 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0850A20183 for <linux-kernel@vger.kernel.org>; Thu, 3 Nov 2022 12:51:59 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id l11so4692470edb.4 for <linux-kernel@vger.kernel.org>; Thu, 03 Nov 2022 12:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h+MC8kK4zWQiBOS9TmUZzl813e7Kce9jFI4colJBhao=; b=qA13inhD1EP6l24EPFrU95U+zViK6UVln1wnFLBXMzU3guuv5XL87mQ657GGlBJDv5 Ynobk1ef/cexQULn5sXQz2W0DyjHLeN7af3yGWh1e+lEc2Ci2EuKhObBAOHiQw202pbb R0A9SrGxiRDi2/BfD0GbOpeSesGZlhz1/w/9u3MExoFW2+fBs9XPOktTxlaIj5vZ3DA9 wAsSWuQhV1ShmHc74HtGrM/RnLpTzmFNT3bIBaR/+Ty0SC55iaEr0ywSRpT1ZiP9Lele IsDff9Xm4w6mcr2mzhB53onaIFRvURcJExNk1TF372aT5uZ6RbcwgSWVohvYMIrkep41 GRNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h+MC8kK4zWQiBOS9TmUZzl813e7Kce9jFI4colJBhao=; b=LXSxCud5lsmnooufqA1MfmDMTx7SVPrPRKnFnI0JpKi0YOWaE5lhXBd+5HIkoSAW0J xR/BwqWSZ/quLdxgcY4s+pTKf8BCoP5DfHVWchCDye2rfEjsanyGzdneB1THWTEof2qz tACu+vW6G//3/RCzfXZw8ViChaPfa0l1fW68Egj6hoieKmqWEAqVJpczZoqLiRW///xm R9zMOO7n9uEc1sh3UnfrtDS3VsCLAszd82+Wm75J2IxcHCK2gbt/oxt63h52F+chWYOw r+W1YzaKuNQCQ2Y7lYrs2OLLTAENm6Zr9UPYJ4TOozJ0faNZPBosXqHV29JwtK2Keol3 q/1A== X-Gm-Message-State: ACrzQf0VhvEjTXwe/DXjPEkrggvd1soehFC2Rfy4+I/7CgVa2liJBu5M +HmqAA4gAZqUGBru4+jhCNCrEg== X-Received: by 2002:aa7:c1d9:0:b0:463:aeaf:3383 with SMTP id d25-20020aa7c1d9000000b00463aeaf3383mr16737337edp.253.1667505117553; Thu, 03 Nov 2022 12:51:57 -0700 (PDT) Received: from localhost (cgw.msart-bajzova4.ke.cust.o2bs.sk. [90.176.4.227]) by smtp.gmail.com with ESMTPSA id j1-20020a17090623e100b007030c97ae62sm847433ejg.191.2022.11.03.12.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 12:51:57 -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 v2 1/6] iommu: Export iommu_group_default_domain() API Date: Thu, 3 Nov 2022 20:51:49 +0100 Message-Id: <20221103195154.21495-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221103195154.21495-1-semen.protsenko@linaro.org> References: <20221103195154.21495-1-semen.protsenko@linaro.org> 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?1748506115806068931?= X-GMAIL-MSGID: =?utf-8?q?1748506115806068931?= |
Series |
iommu/exynos: Convert to a module
|
|
Commit Message
Sam Protsenko
Nov. 3, 2022, 7:51 p.m. UTC
iommu_group_default_domain() may be needed for module users. E.g.
exynos-iommu driver is using it right now, and it's going to be
converted to a module soon.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
Changes in v2:
- (none)
drivers/iommu/iommu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 6ca377f4fbf9..006a65411a28 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c @@ -1675,6 +1675,7 @@ struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) { return group->default_domain; } +EXPORT_SYMBOL_GPL(iommu_group_default_domain); static int probe_iommu_group(struct device *dev, void *data) {