[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f866bc8-7cc3-cb09-92f3-016dfb906526@c-s.fr>
Date: Wed, 14 Aug 2019 08:23:54 +0200
From: Christophe Leroy <christophe.leroy@....fr>
To: Christoph Hellwig <hch@...radead.org>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>, npiggin@...il.com,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 10/10] powerpc/mm: refactor ioremap_range() and use
ioremap_page_range()
Le 14/08/2019 à 07:49, Christoph Hellwig a écrit :
> Somehow this series is missing a cover letter.
>
> While you are touching all this "fun" can you also look into killing
> __ioremap? It seems to be a weird non-standard version of ioremap_prot
> (probably predating ioremap_prot) that is missing a few lines of code
> setting attributes that might not even be applicable for the two drivers
> calling it.
>
ocm_init_node() [arch/powerpc/platforms/4xx/ocm.c] calls __ioremap()
with _PAGE_EXEC set while ioremap_prot() clears _PAGE_EXEC
Christophe
Powered by blists - more mailing lists