Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [RFC PATCH v1] mtd: rawnand: meson: invalidate cache on polling ECC bit | Date | Wed, 22 Mar 2023 17:07:48 +0100 |
| |
On Mon, 2023-03-13 at 07:32:44 UTC, Arseniy Krasnov wrote: > 'info_buf' memory is cached and driver polls ECC bit in it. This bit > is set by the NAND controller. If 'usleep_range()' returns before device > sets this bit, 'info_buf' will be cached and driver won't see update of > this bit and will loop forever. > > Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") > Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
Miquel
| |