Re: [PATCH] [RESEND] mtd: only use __xipram annotation when XIP_KERNEL is set

From: Boris Brezillon
Date: Fri Aug 04 2017 - 06:58:30 EST


On Fri, 4 Aug 2017 11:00:05 +0200
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> On Fri, Aug 4, 2017 at 9:35 AM, Boris Brezillon
> <boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote:
> > On Fri, 21 Jul 2017 22:26:25 +0200
> > Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> >> Note that MTD_XIP has been broken on ARM since around 2011 or 2012. I
> >> have sent another patch[2] to fix compilation, which I plan to merge
> >> through arm-soc unless there are objections. The obvious alternative
> >> to that would be to completely rip out the MTD_XIP support from the
> >> kernel, since obviously nobody has been using it in a long while.
> >>
> >> Link: [1] https://patchwork.kernel.org/patch/8109771/
> >> Link: [2] https://patchwork.kernel.org/patch/9855225/
> >> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> >> ---
> >> include/asm-generic/vmlinux.lds.h | 1 +
> >> include/linux/mtd/xip.h | 10 ++++++----
> >
> > For the MTD part,
> >
> > Acked-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
>
> Thanks. If you don't mind, could you just apply the patch to the mtd tree?

Sure. I'll let Brian apply it.