From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/exynos: Remove initconst attribute to avoid potential kernel oops Date: Tue, 10 Oct 2017 14:13:59 +0200 Message-ID: <20171010121359.kb7b22regypsg2vd@8bytes.org> References: <20171009114023.3427-1-m.szyprowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20171009114023.3427-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org To: Marek Szyprowski Cc: iommu@lists.linux-foundation.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz List-Id: iommu@lists.linux-foundation.org On Mon, Oct 09, 2017 at 01:40:23PM +0200, Marek Szyprowski wrote: > Exynos SYSMMU registers standard platform device with sysmmu_of_match > table, what means that this table is accessed every time a new platform > device is registered in a system. This might happen also after the boot, > so the table must not be attributed as initconst to avoid potential kernel > oops caused by access to freed memory. > > Fixes: 6b21a5db3642 ("iommu/exynos: Support for device tree") > Signed-off-by: Marek Szyprowski Applied, thanks.