1. 03 Oct, 2018 1 commit
    • Jason Gunthorpe's avatar
      RDMA: Fix building with CONFIG_MMU=n · 914e5d7d
      Jason Gunthorpe authored
      The zap_vma_ptes() is declared but not defined on NOMMU kernels, causing a
      link error for the newly added uverbs code:
      
      drivers/infiniband/core/uverbs_main.o: In function `uverbs_user_mmap_disassociate':
      uverbs_main.c:(.text+0x114c): undefined reference to `zap_vma_ptes'
      drivers/infiniband/core/uverbs_main.o: In function `rdma_umap_open':
      uverbs_main.c:(.text+0x53c): undefined reference to `zap_vma_ptes'
      
      Since all user access for all of our drivers depend on remapping pages to
      user space disable USER_ACCESS when there is no mmu.
      
      Fixes: 5f9794dc ("RDMA/ucontext: Add a core API for mmaping driver IO memory")
      Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
      914e5d7d
  2. 01 Oct, 2018 13 commits
  3. 28 Sep, 2018 1 commit
  4. 27 Sep, 2018 6 commits
  5. 26 Sep, 2018 15 commits
  6. 25 Sep, 2018 4 commits