public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mmap() for vme_user and CR/CSR fix for master
@ 2014-11-14 23:36 Dmitry Kalinkin
  2014-11-14 23:36 ` [PATCH 1/3] staging: vme: use image mutex for ioctl() Dmitry Kalinkin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dmitry Kalinkin @ 2014-11-14 23:36 UTC (permalink / raw)
  To: devel, linux-kernel
  Cc: Martyn Welch, Manohar Vanga, Greg Kroah-Hartman, Igor Alekseev,
	Dmitry Kalinkin

Dear all,

mmap() on VME bridge devices is a feature present in many existing Linux and
UNIX drivers.  The proposed solution follows the approach so that mmap()
offsets are coherent with read() and write() offsets, which seems to be the
only manner compatible with the current vme_user API.  It also ends up adding
vme_master_mmap call to the VME subsystem API. On one hand this might come
useful for a board driver that will be able to expose one of its windows to the
user that way. On the other hand it introduces dependency on vma_area_struct
into vme.h, which doesn't seem very right.

Also I'm bringing up a bugfix by Martyn Welch that was published on the list,
but for some reason didn't make it to the kernel.

Cheers,
Dmitry

Dmitry Kalinkin (2):
  staging: vme: use image mutex for ioctl()
  staging: vme: mmap() support for vme_user

Martyn Welch (1):
  vme: tsi148: Master windows support USERx and CR/CSR accesses, not
    slaves

 drivers/staging/vme/devices/vme_user.c | 94 ++++++++++++++++++++++++++++++++--
 drivers/vme/bridges/vme_tsi148.c       | 11 ++--
 drivers/vme/vme.c                      | 26 ++++++++++
 include/linux/vme.h                    |  1 +
 4 files changed, 120 insertions(+), 12 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-02-26 15:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 23:36 [PATCH 0/3] mmap() for vme_user and CR/CSR fix for master Dmitry Kalinkin
2014-11-14 23:36 ` [PATCH 1/3] staging: vme: use image mutex for ioctl() Dmitry Kalinkin
2014-11-14 23:36 ` [PATCH 2/3] staging: vme: mmap() support for vme_user Dmitry Kalinkin
2014-11-15  7:51   ` Dan Carpenter
2015-02-26 15:53     ` [PATCHv2 0/3] mmap() for vme_user and CR/CSR fix for master Dmitry Kalinkin
2015-02-26 15:53       ` [PATCHv2 1/3] staging: vme: use image mutex for ioctl() Dmitry Kalinkin
2015-02-26 15:53       ` [PATCHv2 2/3] staging: vme: mmap() support for vme_user Dmitry Kalinkin
2015-02-26 15:53       ` [PATCHv2 3/3] vme: tsi148: Master windows support USERx and CR/CSR accesses, not slaves Dmitry Kalinkin
2014-11-14 23:36 ` [PATCH " Dmitry Kalinkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox