linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6,0/4] misc: new driver sram_uapi for user level SRAM access
@ 2020-04-18 16:21 Wang Wenhu
  2020-04-18 16:21 ` [PATCH v6,1/4] powerpc: sysdev: fix compile error for fsl_85xx_l2ctlr Wang Wenhu
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Wang Wenhu @ 2020-04-18 16:21 UTC (permalink / raw)
  To: gregkh, arnd, linux-kernel, oss, christophe.leroy, linuxppc-dev
  Cc: kernel, rdunlap, Wang Wenhu

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-04-19  7:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18 16:21 [PATCH v6,0/4] misc: new driver sram_uapi for user level SRAM access Wang Wenhu
2020-04-18 16:21 ` [PATCH v6,1/4] powerpc: sysdev: fix compile error for fsl_85xx_l2ctlr Wang Wenhu
2020-04-18 16:21 ` [PATCH v6,2/4] powerpc: sysdev: fix compile error for fsl_85xx_cache_sram Wang Wenhu
2020-04-18 16:21 ` [PATCH v6,3/4] powerpc: sysdev: fix compile warning " Wang Wenhu
2020-04-18 16:21 ` [PATCH v6,4/4] drivers: misc: new driver sram_uapi for user level SRAM access Wang Wenhu
2020-04-18 19:07   ` Arnd Bergmann
2020-04-18 19:11   ` Arnd Bergmann
2020-04-19  7:25     ` 王文虎

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).