From: Joerg Roedel <joro@8bytes.org>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: iommu@lists.linux-foundation.org,
linux-samsung-soc@vger.kernel.org,
Krzysztof Kozlowski <krzk@kernel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Subject: Re: [PATCH] iommu/exynos: Remove initconst attribute to avoid potential kernel oops
Date: Tue, 10 Oct 2017 14:13:59 +0200 [thread overview]
Message-ID: <20171010121359.kb7b22regypsg2vd@8bytes.org> (raw)
In-Reply-To: <20171009114023.3427-1-m.szyprowski@samsung.com>
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 <m.szyprowski@samsung.com>
Applied, thanks.
next prev parent reply other threads:[~2017-10-10 12:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171009114035eucas1p102089b889ad374b33c3302f1ad84e783@eucas1p1.samsung.com>
2017-10-09 11:40 ` [PATCH] iommu/exynos: Remove initconst attribute to avoid potential kernel oops Marek Szyprowski
2017-10-09 12:42 ` Krzysztof Kozlowski
2017-10-10 12:13 ` Joerg Roedel [this message]
2017-10-11 5:49 ` Marek Szyprowski
[not found] ` <655ae123-dee4-9001-682d-4581070b77ba-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-10-11 7:00 ` Joerg Roedel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171010121359.kb7b22regypsg2vd@8bytes.org \
--to=joro@8bytes.org \
--cc=b.zolnierkie@samsung.com \
--cc=iommu@lists.linux-foundation.org \
--cc=krzk@kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).