mbox series

[for-next,v2,0/3] EFA updates 2020-02-25

Message ID 20200225114010.21790-1-galpress@amazon.com (mailing list archive)
Headers show
Series EFA updates 2020-02-25 | expand

Message

Gal Pressman Feb. 25, 2020, 11:40 a.m. UTC
This series contains various updates to the device definitions handling
and documentation.

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.

Changelog -
v1->v2: https://lore.kernel.org/linux-rdma/20200114085706.82229-1-galpress@amazon.com/
* Use FIELD_GET and FIELD_PREP for EFA_GET/SET
* Make sure to mask (clear) the field before ORing it with a new value
* Clarify the commit message of the last patch
* Reorder the cleanup in the last commit, entry removal now happens
  first

Gal Pressman (3):
  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

 .../infiniband/hw/efa/efa_admin_cmds_defs.h   |   7 +-
 drivers/infiniband/hw/efa/efa_admin_defs.h    |   4 +-
 drivers/infiniband/hw/efa/efa_com.c           | 146 ++++++++----------
 drivers/infiniband/hw/efa/efa_com_cmd.c       |  29 ++--
 drivers/infiniband/hw/efa/efa_common_defs.h   |  13 +-
 drivers/infiniband/hw/efa/efa_regs_defs.h     |  25 +--
 drivers/infiniband/hw/efa/efa_verbs.c         |  44 +++---
 7 files changed, 119 insertions(+), 149 deletions(-)


base-commit: f03d9fadfe13a78ee28fec320d43f7b37574adcb

Comments

Jason Gunthorpe Feb. 28, 2020, 4:13 p.m. UTC | #1
On Tue, Feb 25, 2020 at 01:40:07PM +0200, Gal Pressman wrote:
> This series contains various updates to the device definitions handling
> and documentation.
> 
> 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.
> 
> Changelog -
> v1->v2: https://lore.kernel.org/linux-rdma/20200114085706.82229-1-galpress@amazon.com/
> * Use FIELD_GET and FIELD_PREP for EFA_GET/SET
> * Make sure to mask (clear) the field before ORing it with a new value
> * Clarify the commit message of the last patch
> * Reorder the cleanup in the last commit, entry removal now happens
>   first
> 
> Gal Pressman (3):
>   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

Applied to for-next, thanks

Jason