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 <[email protected]> > Cc: Christophe Leroy <[email protected]> > Cc: Scott Wood <[email protected]> > Cc: Michael Ellerman <[email protected]> > Cc: [email protected] > Signed-off-by: Wang Wenhu <[email protected]> > --- > 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
