--- zzzz-none-000/linux-4.4.271/fs/fuse/dev.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/fs/fuse/dev.c 2023-04-19 10:22:30.000000000 +0000 @@ -19,6 +19,9 @@ #include #include #include +#ifdef CONFIG_MIPS +#include +#endif MODULE_ALIAS_MISCDEV(FUSE_MINOR); MODULE_ALIAS("devname:fuse"); @@ -828,6 +831,9 @@ static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) { unsigned ncpy = min(*size, cs->len); +#ifdef CONFIG_MIPS + __flush_cache_all(); +#endif if (val) { void *pgaddr = kmap_atomic(cs->pg); void *buf = pgaddr + cs->offset;