Re: [PATCH 2/2] mtd: rawnand: use bounce buffer when vmalloced data buf detected

From: Kamal Dasu
Date: Tue Oct 01 2019 - 13:07:57 EST


I was testing with UBI/UBIFS where vmalloced data buffers can be
passed to the nand_base and then o the controller driver. Probably
applies to older kernel 4.1.

Can the Patch1/2 be accepted or you want me to send it separately by
removing the nand_base changes ?.

Kamal

Kamal

On Mon, Sep 30, 2019 at 3:39 PM Richard Weinberger <richard@xxxxxx> wrote:
>
> ----- UrsprÃngliche Mail -----
> > Von: "Kamal Dasu" <kamal.dasu@xxxxxxxxxxxx>
> > This has been observed on MIPS4K and MIPS5K architectures. There is a
> > check on the controller driver to use pio in such cases.
>
> I fear your kernel misses commit:
> 074a1e1167af ("MIPS: Bounds check virt_addr_valid")
>
> Thanks,
> //richard