[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yqif65sCt9hUEjUf@infradead.org>
Date: Tue, 14 Jun 2022 07:49:15 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Wang Wenhu <wenhu.wang@...mail.com>, gregkh@...uxfoundation.org,
christophe.leroy@...roup.eu, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] powerpc:mm: export symbol ioremap_coherent
On Tue, Jun 14, 2022 at 08:45:25PM +1000, Michael Ellerman wrote:
> Wang Wenhu <wenhu.wang@...mail.com> writes:
> > The function ioremap_coherent may be called by modules such as
> > fsl_85xx_cache_sram. So export it for access in other modules.
>
> ioremap_coherent() is powerpc specific, and only has one other caller,
> I'd like to remove it.
>
> Does ioremap_cache() work for you?
Chances are that both are the wrong thing and this really wants
memremap, as SRAM tends to have memory and not MMIO semantics.
Powered by blists - more mailing lists