mbox series

[for-next,0/6] EFA updates 2020-01-14

Message ID 20200114085706.82229-1-galpress@amazon.com (mailing list archive)
Headers show
Series EFA updates 2020-01-14 | expand

Message

Gal Pressman Jan. 14, 2020, 8:57 a.m. UTC
This series contains various updates to the device definitions handling
and documentation, and some cleanups to the recently introduced mmap
code.

The last patch is based on a discussion that came up during the recent
mmap machanism review on list:
https://lore.kernel.org/linux-rdma/20190920133817.GB7095@ziepe.ca/

We no longer delay the free_pages_exact call of mmaped DMA pages, as the
pages won't be freed in case they are still referenced by the vma.

Regards,
Gal

Gal Pressman (6):
  RDMA/efa: Unified getters/setters for device structs bitmask access
  RDMA/efa: Properly document the interrupt mask register
  RDMA/efa: Device definitions documentation updates
  RDMA/efa: Remove {} brackets from single statement if
  RDMA/efa: Remove unused ucontext parameter from
    efa_qp_user_mmap_entries_remove
  RDMA/efa: Do not delay freeing of DMA pages

 .../infiniband/hw/efa/efa_admin_cmds_defs.h   |  43 +++++--
 drivers/infiniband/hw/efa/efa_admin_defs.h    |   5 +
 drivers/infiniband/hw/efa/efa_com.c           | 119 ++++++++----------
 drivers/infiniband/hw/efa/efa_com_cmd.c       |  27 ++--
 drivers/infiniband/hw/efa/efa_common_defs.h   |   6 +
 drivers/infiniband/hw/efa/efa_regs_defs.h     |  13 ++
 drivers/infiniband/hw/efa/efa_verbs.c         |  27 ++--
 7 files changed, 128 insertions(+), 112 deletions(-)


base-commit: 74f75cda754eb69a77f910ceb5bc85f8e9ba56a5

Comments

Jason Gunthorpe Jan. 15, 2020, 7:58 p.m. UTC | #1
On Tue, Jan 14, 2020 at 10:57:00AM +0200, Gal Pressman wrote:
> This series contains various updates to the device definitions handling
> and documentation, and some cleanups to the recently introduced mmap
> code.
> 
> The last patch is based on a discussion that came up during the recent
> mmap machanism review on list:
> https://lore.kernel.org/linux-rdma/20190920133817.GB7095@ziepe.ca/
> 
> We no longer delay the free_pages_exact call of mmaped DMA pages, as the
> pages won't be freed in case they are still referenced by the vma.
> 
> Regards,
> Gal
> 
> Gal Pressman (6):
>   RDMA/efa: Unified getters/setters for device structs bitmask access
>   RDMA/efa: Properly document the interrupt mask register
>   RDMA/efa: Do not delay freeing of DMA pages

These ones need some work

>   RDMA/efa: Device definitions documentation updates
>   RDMA/efa: Remove {} brackets from single statement if
>   RDMA/efa: Remove unused ucontext parameter from
>     efa_qp_user_mmap_entries_remove

I took these three to for-next, thanks

Jason