On Fri, 2020-04-17 at 10:21 -0700, Wang Wenhu wrote: > Implements a new uio driver for freescale 85xx platforms to access > the Cache-Sram form user level. It is extremely helpful for the user > space applications that require high performance memory accesses. > > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: Christophe Leroy <christophe.le...@c-s.fr> > Cc: Scott Wood <o...@buserror.net> > Cc: Michael Ellerman <m...@ellerman.id.au> > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Wang Wenhu <wenhu.w...@vivo.com> > --- > drivers/uio/Kconfig | 8 + > drivers/uio/Makefile | 1 + > drivers/uio/uio_fsl_85xx_cache_sram.c | 407 ++++++++++++++++++++++++++ > 3 files changed, 416 insertions(+) > create mode 100644 drivers/uio/uio_fsl_85xx_cache_sram.c
NACK, we don't need two copies of this code in the kernel. Please just wait a bit and I'll send a patch to have the existing driver expose a dynamic allocation interface to userspace. -Scott