[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200418162157.50428-1-wenhu.wang@vivo.com>
Date: Sat, 18 Apr 2020 09:21:53 -0700
From: Wang Wenhu <wenhu.wang@...o.com>
To: gregkh@...uxfoundation.org, arnd@...db.de,
linux-kernel@...r.kernel.org, oss@...error.net,
christophe.leroy@....fr, linuxppc-dev@...ts.ozlabs.org
Cc: kernel@...o.com, rdunlap@...radead.org,
Wang Wenhu <wenhu.wang@...o.com>
Subject: [PATCH v6,0/4] misc: new driver sram_uapi for user level SRAM access
This series add a new misc device driver which act as an interface to
access the Cache-SRAM from user level. This is extremely helpful for
some user space applications that require high performance memory
accesses.
It also fixes the compile errors and warning of the Freescale MPC85xx
Cache-SRAM hardware driver.
The former five version implemented the driver with UIO but they were
commented of not fitful. This version uses a misc divice and implements
the memory allocation and free operations via file operation as suggested
by Scott.
Wang Wenhu (4):
powerpc: sysdev: fix compile error for fsl_85xx_l2ctlr
powerpc: sysdev: fix compile error for fsl_85xx_cache_sram
powerpc: sysdev: fix compile warning for fsl_85xx_cache_sram
drivers: misc: new driver sram_uapi for user level SRAM access
arch/powerpc/sysdev/fsl_85xx_cache_sram.c | 3 +-
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 1 +
drivers/misc/Kconfig | 25 ++
drivers/misc/Makefile | 1 +
drivers/misc/sram_uapi.c | 294 ++++++++++++++++++++++
5 files changed, 323 insertions(+), 1 deletion(-)
create mode 100644 drivers/misc/sram_uapi.c
--
2.17.1
Powered by blists - more mailing lists