1. 06 Sep, 2017 2 commits
  2. 05 Sep, 2017 4 commits
  3. 29 Aug, 2017 1 commit
    • Stefan Roese's avatar
      dmaengine: altera: Use macros instead of structs to describe the registers · 6084fc2e
      Stefan Roese authored
      This patch moves from a struct declaration for the DMA controller
      registers to macros with offests to the base address. This is mainly
      done to remove the sparse warnings, since the function parameter of
      ioread32/iowrite32 is "void __iomem *" instead of a pointer to struct
      members. With this patch applied, no sparse warning is seen anymore.
      
      Please note that the struct for the descriptors is still kept in place,
      as the code largely accesses the struct members as internal variables
      before the complete struct is copied into the descriptor FIFO of the
      DMA controller.
      
      Additionally this patch also removes two warnings "variable xxx set but
      not used" seen when compiling with "W=1". The registers need to be read
      to flush the response FIFO, but nothing needs to be done with them. So
      the code is correct here and the warning is a false one.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      6084fc2e
  4. 28 Aug, 2017 20 commits
  5. 25 Aug, 2017 1 commit
  6. 22 Aug, 2017 1 commit
  7. 21 Aug, 2017 4 commits
  8. 19 Jul, 2017 1 commit
    • Vinod Koul's avatar
      dmaengine: bcm-scm-raid: statify functions · dd2bceb0
      Vinod Koul authored
      This driver builds with warnings which can be fixed by making these
      functions static.
      
        CC [M]  drivers/dma/bcm-sba-raid.o
      drivers/dma/bcm-sba-raid.c:786:1: warning: no previous prototype for ‘sba_prep_dma_xor_req’ [-Wmissing-prototypes]
       sba_prep_dma_xor_req(struct sba_device *sba,
       ^
      drivers/dma/bcm-sba-raid.c:995:1: warning: no previous prototype for ‘sba_prep_dma_pq_req’ [-Wmissing-prototypes]
       sba_prep_dma_pq_req(struct sba_device *sba, dma_addr_t off,
       ^
      drivers/dma/bcm-sba-raid.c:1247:1: warning: no previous prototype for ‘sba_prep_dma_pq_single_req’ [-Wmissing-prototypes]
       sba_prep_dma_pq_single_req(struct sba_device *sba, dma_addr_t off,
       ^
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      dd2bceb0
  9. 18 Jul, 2017 1 commit
    • Stefan Roese's avatar
      dmaengine: Add driver for Altera / Intel mSGDMA IP core · a85c6f1b
      Stefan Roese authored
      This driver adds support for the Altera / Intel modular Scatter-Gather
      Direct Memory Access (mSGDMA) intellectual property (IP) to the Linux
      DMAengine subsystem. Currently it supports the following op modes:
      
      - DMA_MEMCPY
      - DMA_SG
      - DMA_SLAVE
      
      This implementation has been tested on an Altera Cyclone FPGA connected
      via PCIe, both on an ARM and an x86 platform.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
      a85c6f1b
  10. 15 Jul, 2017 5 commits
    • Linus Torvalds's avatar
      Linux v4.13-rc1 · 5771a8c0
      Linus Torvalds authored
      5771a8c0
    • Linus Torvalds's avatar
      Merge tag 'standardize-docs' of git://git.lwn.net/linux · 486088bc
      Linus Torvalds authored
      Pull documentation format standardization from Jonathan Corbet:
       "This series converts a number of top-level documents to the RST format
        without incorporating them into the Sphinx tree. The hope is to bring
        some uniformity to kernel documentation and, perhaps more importantly,
        have our existing docs serve as an example of the desired formatting
        for those that will be added later.
      
        Mauro has gone through and fixed up a lot of top-level documentation
        files to make them conform to the RST format, but without moving or
        renaming them in any way. This will help when we incorporate the ones
        we want to keep into the Sphinx doctree, but the real purpose is to
        bring a bit of uniformity to our documentation and let the top-level
        docs serve as examples for those writing new ones"
      
      * tag 'standardize-docs' of git://git.lwn.net/linux: (84 commits)
        docs: kprobes.txt: Fix whitespacing
        tee.txt: standardize document format
        cgroup-v2.txt: standardize document format
        dell_rbu.txt: standardize document format
        zorro.txt: standardize document format
        xz.txt: standardize document format
        xillybus.txt: standardize document format
        vfio.txt: standardize document format
        vfio-mediated-device.txt: standardize document format
        unaligned-memory-access.txt: standardize document format
        this_cpu_ops.txt: standardize document format
        svga.txt: standardize document format
        static-keys.txt: standardize document format
        smsc_ece1099.txt: standardize document format
        SM501.txt: standardize document format
        siphash.txt: standardize document format
        sgi-ioc4.txt: standardize document format
        SAK.txt: standardize document format
        rpmsg.txt: standardize document format
        robust-futexes.txt: standardize document format
        ...
      486088bc
    • Linus Torvalds's avatar
      Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random · 52f6c588
      Linus Torvalds authored
      Pull random updates from Ted Ts'o:
       "Add wait_for_random_bytes() and get_random_*_wait() functions so that
        callers can more safely get random bytes if they can block until the
        CRNG is initialized.
      
        Also print a warning if get_random_*() is called before the CRNG is
        initialized. By default, only one single-line warning will be printed
        per boot. If CONFIG_WARN_ALL_UNSEEDED_RANDOM is defined, then a
        warning will be printed for each function which tries to get random
        bytes before the CRNG is initialized. This can get spammy for certain
        architecture types, so it is not enabled by default"
      
      * tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random:
        random: reorder READ_ONCE() in get_random_uXX
        random: suppress spammy warnings about unseeded randomness
        random: warn when kernel uses unseeded randomness
        net/route: use get_random_int for random counter
        net/neighbor: use get_random_u32 for 32-bit hash random
        rhashtable: use get_random_u32 for hash_rnd
        ceph: ensure RNG is seeded before using
        iscsi: ensure RNG is seeded before use
        cifs: use get_random_u32 for 32-bit lock random
        random: add get_random_{bytes,u32,u64,int,long,once}_wait family
        random: add wait_for_random_bytes() API
      52f6c588
    • Linus Torvalds's avatar
      Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 78dcf734
      Linus Torvalds authored
      Pull ->s_options removal from Al Viro:
       "Preparations for fsmount/fsopen stuff (coming next cycle). Everything
        gets moved to explicit ->show_options(), killing ->s_options off +
        some cosmetic bits around fs/namespace.c and friends. Basically, the
        stuff needed to work with fsmount series with minimum of conflicts
        with other work.
      
        It's not strictly required for this merge window, but it would reduce
        the PITA during the coming cycle, so it would be nice to have those
        bits and pieces out of the way"
      
      * 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        isofs: Fix isofs_show_options()
        VFS: Kill off s_options and helpers
        orangefs: Implement show_options
        9p: Implement show_options
        isofs: Implement show_options
        afs: Implement show_options
        affs: Implement show_options
        befs: Implement show_options
        spufs: Implement show_options
        bpf: Implement show_options
        ramfs: Implement show_options
        pstore: Implement show_options
        omfs: Implement show_options
        hugetlbfs: Implement show_options
        VFS: Don't use save/replace_mount_options if not using generic_show_options
        VFS: Provide empty name qstr
        VFS: Make get_filesystem() return the affected filesystem
        VFS: Clean up whitespace in fs/namespace.c and fs/super.c
        Provide a function to create a NUL-terminated string from unterminated data
      78dcf734
    • Linus Torvalds's avatar
      Merge branch 'work.__copy_to_user' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 93ff8185
      Linus Torvalds authored
      Pull more __copy_.._user elimination from Al Viro.
      
      * 'work.__copy_to_user' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        drm_dp_aux_dev: switch to read_iter/write_iter
      93ff8185