Loading drivers/char/adsprpc.c +6 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,8 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOFLUSH)) continue; if (rpra && rpra[i].buf.len && ctx->overps[oix]->mstart) { Loading Loading @@ -1943,6 +1945,8 @@ static void inv_args_pre(struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOINVALIDATE)) continue; if (buf_page_start(ptr_to_uint64((void *)rpra)) == buf_page_start(rpra[i].buf.pv)) Loading Loading @@ -1997,6 +2001,8 @@ static void inv_args(struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOINVALIDATE)) continue; if (buf_page_start(ptr_to_uint64((void *)rpra)) == buf_page_start(rpra[i].buf.pv)) { Loading drivers/char/adsprpc_shared.h +10 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,16 @@ /* Fastrpc attribute for no mapping of fd */ #define FASTRPC_ATTR_NOMAP (16) /* * Fastrpc attribute to skip flush by fastrpc */ #define FASTRPC_ATTR_FORCE_NOFLUSH (32) /* * Fastrpc attribute to skip invalidate by fastrpc */ #define FASTRPC_ATTR_FORCE_NOINVALIDATE (64) /* Driver should operate in parallel with the co-processor */ #define FASTRPC_MODE_PARALLEL 0 Loading Loading
drivers/char/adsprpc.c +6 −0 Original line number Diff line number Diff line Loading @@ -1838,6 +1838,8 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOFLUSH)) continue; if (rpra && rpra[i].buf.len && ctx->overps[oix]->mstart) { Loading Loading @@ -1943,6 +1945,8 @@ static void inv_args_pre(struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOINVALIDATE)) continue; if (buf_page_start(ptr_to_uint64((void *)rpra)) == buf_page_start(rpra[i].buf.pv)) Loading Loading @@ -1997,6 +2001,8 @@ static void inv_args(struct smq_invoke_ctx *ctx) continue; if (map && (map->attr & FASTRPC_ATTR_COHERENT)) continue; if (map && (map->attr & FASTRPC_ATTR_FORCE_NOINVALIDATE)) continue; if (buf_page_start(ptr_to_uint64((void *)rpra)) == buf_page_start(rpra[i].buf.pv)) { Loading
drivers/char/adsprpc_shared.h +10 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,16 @@ /* Fastrpc attribute for no mapping of fd */ #define FASTRPC_ATTR_NOMAP (16) /* * Fastrpc attribute to skip flush by fastrpc */ #define FASTRPC_ATTR_FORCE_NOFLUSH (32) /* * Fastrpc attribute to skip invalidate by fastrpc */ #define FASTRPC_ATTR_FORCE_NOINVALIDATE (64) /* Driver should operate in parallel with the co-processor */ #define FASTRPC_MODE_PARALLEL 0 Loading