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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 9640EC433EF for ; Tue, 14 Dec 2021 15:20:05 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BhIRT5kaM6qxRk6Nk6z0T664UUHQvnrOHAFtAivPKv0=; b=puhKocywM2Whh0 PYKJDN+UTRUncmF2gZ6wjI8sxCn4FqEb3d/MabB42xtN3J3eRl+ZaerYWr1xhV18YC03bmuzFI/km iaUfgYb9O+uDsShE9bQq8mhiWiertE6PD8Rs9XlpIBQtsr9HctlMvyrKWwb3nYCTOvLGCgC5LnNsI RijJqF+FTyepAtG+Q44xyqsZu9/aXDX6B/QwehhS9wV/xptuc6I8tdOWhmSLCYcTi4AV2LghbNsd8 wHyMwhmh8P0JsxgBuAD625tQt7mas63rv2W2h++yYjNIEt14x6cBlO9iHumCWTNPePGWFcTUV3zSf Gfxzj1f8y+1j/Q6R/Gqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx9Zl-00EcG3-ML; Tue, 14 Dec 2021 15:18:45 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx9Zc-00EcBx-DH for linux-arm-kernel@lists.infradead.org; Tue, 14 Dec 2021 15:18:37 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2B6BDB81A73; Tue, 14 Dec 2021 15:18:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A16C6C3460C; Tue, 14 Dec 2021 15:18:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639495114; bh=qLyDBf/yZu2sUd5XQDi3WQtlq6e8hakIqUYW8hv6gEQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m6Q8s2AclEXu0keGIgST108zGqrQoEZvIpEZoaTWn/FMkJjGKQrwNlaYBDo+8bO5W 7eIf9xDgGwIBY3lIRoRKrzDKBJ34dK0u+rXlbuJcW2IFSn9ncc7feU1cIFXjN3ab87 i76ZTfDR9FSHut40Zvq8fT8r9BgfSLQYqPfwRcxeoUIv8F0ad1PmvLCx52c2Cub/+e i6pILAQ3tGmua0HQrZOr3TOdm08dOjKv4+7Szyv8dq9uT3N9hdws28yMfH/L7AfP0L idy2L2NPaAek3b66fY7XMywUhxXmfKo7BskzHe1qwcvvomra31LIh+TXD1ITclaHFe yMiXgFpx6BYXw== From: Will Deacon To: Rikard Falkeborn , Robin Murphy , Joerg Roedel Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jonathan Cameron , Eric Auger , Jean-Philippe Brucker , iommu@lists.linux-foundation.org Subject: Re: [PATCH] iommu/arm-smmu-v3: Constify arm_smmu_mmu_notifier_ops Date: Tue, 14 Dec 2021 15:18:14 +0000 Message-Id: <163949306261.2865560.10724988553513582084.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211204223301.100649-1-rikard.falkeborn@gmail.com> References: <20211204223301.100649-1-rikard.falkeborn@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_071836_607797_F03BC857 X-CRM114-Status: GOOD ( 10.62 ) 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 Sat, 4 Dec 2021 23:33:01 +0100, Rikard Falkeborn wrote: > The only usage of arm_smmu_mmu_notifier_ops is to assign its address to > the ops field in the mmu_notifier struct, which is a pointer to const > struct mmu_notifier_ops. Make it const to allow the compiler to put it > in read-only memory. > > Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-v3: Constify arm_smmu_mmu_notifier_ops https://git.kernel.org/will/c/17d9a4b43b28 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel