24 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    675 mass ave cambridge ma 02139 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 441 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Michael Ellerman (powerpc)
    Reviewed-by: Richard Fontana
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190520071858.739733335@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

09 Apr, 2017

2 commits

  • mf624 card has its registers not aligned to pages. Since commit
    b65502879556 ("uio: we cannot mmap unaligned page contents") mmap()ing
    mf624 registers fails, because now the uio drivers must set
    uio_mem->addr to be page-aligned.

    We align the address here and set the newly introduced offs field to
    the offset of the mf264 registers within the page so that userspace
    can find the address of the mmap()ed register by reading
    /sys/class/uio/uio?/maps/map?/offset.

    Tested with real mf624 card.

    Signed-off-by: Michal Sojka
    Signed-off-by: Greg Kroah-Hartman

    Michal Sojka
     
  • No functional changes. Move initialization of struct uio_mem to a
    function. This will allow the next commit to change the initialization
    code at a single place rather that at three different places.

    Signed-off-by: Michal Sojka
    Signed-off-by: Greg Kroah-Hartman

    Michal Sojka
     

09 Dec, 2013

1 commit


26 Sep, 2013

2 commits


31 Aug, 2013

1 commit