[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f05e37b5aa52aad44d4310edfdc6b36894cb964.camel@buserror.net>
Date: Fri, 17 Apr 2020 18:02:12 -0500
From: Scott Wood <oss@...error.net>
To: Wang Wenhu <wenhu.wang@...o.com>, gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Cc: christophe.leroy@....fr, kernel@...o.com, robh@...nel.org,
Michael Ellerman <mpe@...erman.id.au>
Subject: Re: [PATCH] drivers: uio: new driver uio_fsl_85xx_cache_sram
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 <gregkh@...uxfoundation.org>
> Cc: Christophe Leroy <christophe.leroy@....fr>
> Cc: Scott Wood <oss@...error.net>
> Cc: Michael Ellerman <mpe@...erman.id.au>
> Cc: linuxppc-dev@...ts.ozlabs.org
> Signed-off-by: Wang Wenhu <wenhu.wang@...o.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
Powered by blists - more mailing lists