Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp402741pxb; Fri, 16 Apr 2021 08:24:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf1xfhxkAbMP8ds79lCiyQCHtaLpLx9X7cjC914+MnQee2PL0nBgeVtvhNce5EVV7SaZNv X-Received: by 2002:aa7:9e82:0:b029:24d:5cb4:235c with SMTP id p2-20020aa79e820000b029024d5cb4235cmr8427084pfq.46.1618586673414; Fri, 16 Apr 2021 08:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618586673; cv=none; d=google.com; s=arc-20160816; b=uEtZ6xMW+geYvaUMOcnBIUcay0Egs5drSmUVbbwhqkM7/azEq4IWEucdHDrIT11JOr cXzSFCLs12pR1zG9df9bOO6JbiNlJlHijI2Gopg23FBCJ57RWTObmU2GmISRQajy0go2 oo93ylCpoIh4ycth9uoeUGMPy2n5nTpppFyvN36bVBo2pAEne9dfCO119qQSuB8W7h1I x0VD3bJtIhwxlP+jsPwsuTMXkKLU4UMtt3jy2Z4Oiszzy0CqJZm7G0kzE4rovlMzD1j7 i2Gscaqf9Cyo9FuURVP6/bT5CcdlO7Ue1HKNZ/f9tEd9RLFz96JdgYS7/abwHZp8XZxy Yqqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=uv6ydYAbdf/UxD36Uiu4oQ3VXWK34cmkDURzfyhddbg=; b=b+XDrMkrFDZuVrRJvTJbtX9pjH/ZEOAdWcbUKv7Qtj0uiLjiDND2RvpuDWI+Xrpowd swByuE0EpoD0mH8p38WYpRqJKEMxRjdjoSOEb0kZlu1rJaa4Zto+Ua9u94luZqI1HNkV Vw+bb7qGdUohufo43snsjiPBpq3y7J4Y3sY4GQK3b+xlHRpTavQo1xXaOBkK+FgHcoBY VT405Hnn7tPIP1ptR1LrzHDHWx5A+dCDsDjhgUjF97zB2alXVX3NvLXkd4cqxnCOATeQ 5VqaFQxLZv1o1yNNxM7xpL2lqSo3Nvah6wSOGekQ8/kQyX5QJOgkkW76fk6pGpozhPzk 0iEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q130si6766773pfq.335.2021.04.16.08.24.11; Fri, 16 Apr 2021 08:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245198AbhDPPXQ (ORCPT + 99 others); Fri, 16 Apr 2021 11:23:16 -0400 Received: from 8bytes.org ([81.169.241.247]:35312 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244938AbhDPPXN (ORCPT ); Fri, 16 Apr 2021 11:23:13 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 6A174223; Fri, 16 Apr 2021 17:22:47 +0200 (CEST) Date: Fri, 16 Apr 2021 17:22:46 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, hch@lst.de Subject: Re: [PATCH v2 1/2] iommu: Statically set module owner Message-ID: References: <31423b99ff609c3d4b291c701a7a7a810d9ce8dc.1617285386.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31423b99ff609c3d4b291c701a7a7a810d9ce8dc.1617285386.git.robin.murphy@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 01, 2021 at 02:56:25PM +0100, Robin Murphy wrote: > It happens that the 3 drivers which first supported being modular are > also ones which play games with their pgsize_bitmap, so have non-const > iommu_ops where dynamically setting the owner manages to work out OK. > However, it's less than ideal to force that upon all drivers which want > to be modular - like the new sprd-iommu driver which now has a potential > bug in that regard - so let's just statically set the module owner and > let ops remain const wherever possible. > > Reviewed-by: Christoph Hellwig > Acked-by: Will Deacon > Signed-off-by: Robin Murphy > --- > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 + > drivers/iommu/arm/arm-smmu/arm-smmu.c | 1 + > drivers/iommu/sprd-iommu.c | 1 + > drivers/iommu/virtio-iommu.c | 1 + > include/linux/iommu.h | 9 +-------- > 5 files changed, 5 insertions(+), 8 deletions(-) Applied these two directly on-top of my next branch. This essentially means that all topic branches are frozen now until after the merge window. Regards, Joerg