[Pull,SRU,Xenial/linux-aws] Add EFA driver to linux-aws
mbox series

Message ID 20190806163034.5530-2-connor.kuehl@canonical.com
State New
Headers show
Series
  • [Pull,SRU,Xenial/linux-aws] Add EFA driver to linux-aws
Related show

Pull-request

git://git.launchpad.net/~connork/+git/xenial efa-aws

Message

Connor Kuehl Aug. 6, 2019, 4:30 p.m. UTC
The following changes since commit e89fe60b3c9b27dbac8b2766d9df6ad13ce6b65f:

  UBUNTU: Ubuntu-aws-4.4.0-1089.100 (2019-07-30 09:28:08 -0700)

are available in the Git repository at:

  git://git.launchpad.net/~connork/+git/xenial efa-aws

for you to fetch changes up to 0a5e6c8a3e9eba9e36492315a6bda717e7ec8a4e:

  UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport (2019-08-06 08:13:08 -0700)

----------------------------------------------------------------
Connor Kuehl (1):
      UBUNTU: [Config] aws: CONFIG_INFINIBAND_EFA=m

Daniel Kranzdorf (1):
      UBUNTU: SAUCE: linux/efa: Entropy in admin commands id

Gal Pressman (16):
      RDMA/efa: Add EFA device definitions
      RDMA/efa: Add the ABI definitions
      RDMA/efa: Add the efa.h header file
      RDMA/efa: Add the efa_com.h file
      RDMA/efa: Add the com service API definitions
      RDMA/efa: Implement functions that submit and complete admin commands
      RDMA/efa: Add common command handlers
      RDMA/efa: Add EFA verbs implementation
      RDMA/efa: Add the efa module
      RDMA/efa: Add driver to Kconfig/Makefile
      RDMA/efa: Remove MAYEXEC flag check from mmap flow
      RDMA/efa: Fix success return value in case of error
      RDMA/efa: Handle mmap insertions overflow
      UBUNTU: SAUCE: Add kernel compatibility fixups
      UBUNTU: SAUCE: linux/efa: Be consistent with success flow return value
      UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport

 MAINTAINERS                                     |    9 +
 debian.aws/config/config.common.ubuntu          |    1 +
 debian.aws/control.d/aws.inclusion-list         |    1 +
 drivers/infiniband/Kconfig                      |    1 +
 drivers/infiniband/hw/Makefile                  |    1 +
 drivers/infiniband/hw/efa/Kconfig               |   15 +
 drivers/infiniband/hw/efa/Makefile              |    9 +
 drivers/infiniband/hw/efa/efa.h                 |  310 +++
 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h |  794 +++++++
 drivers/infiniband/hw/efa/efa_admin_defs.h      |  136 ++
 drivers/infiniband/hw/efa/efa_com.c             | 1162 ++++++++++
 drivers/infiniband/hw/efa/efa_com.h             |  145 ++
 drivers/infiniband/hw/efa/efa_com_cmd.c         |  704 ++++++
 drivers/infiniband/hw/efa/efa_com_cmd.h         |  270 +++
 drivers/infiniband/hw/efa/efa_common_defs.h     |   18 +
 drivers/infiniband/hw/efa/efa_main.c            |  857 ++++++++
 drivers/infiniband/hw/efa/efa_regs_defs.h       |  113 +
 drivers/infiniband/hw/efa/efa_verbs.c           | 2629 +++++++++++++++++++++++
 drivers/infiniband/hw/efa/kcompat.h             |  171 ++
 include/uapi/rdma/efa-abi.h                     |  143 ++
 20 files changed, 7489 insertions(+)
 create mode 100644 drivers/infiniband/hw/efa/Kconfig
 create mode 100644 drivers/infiniband/hw/efa/Makefile
 create mode 100644 drivers/infiniband/hw/efa/efa.h
 create mode 100644 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
 create mode 100644 drivers/infiniband/hw/efa/efa_admin_defs.h
 create mode 100644 drivers/infiniband/hw/efa/efa_com.c
 create mode 100644 drivers/infiniband/hw/efa/efa_com.h
 create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.c
 create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.h
 create mode 100644 drivers/infiniband/hw/efa/efa_common_defs.h
 create mode 100644 drivers/infiniband/hw/efa/efa_main.c
 create mode 100644 drivers/infiniband/hw/efa/efa_regs_defs.h
 create mode 100644 drivers/infiniband/hw/efa/efa_verbs.c
 create mode 100644 drivers/infiniband/hw/efa/kcompat.h
 create mode 100644 include/uapi/rdma/efa-abi.h

Comments

Khaled Elmously Aug. 7, 2019, 3:15 a.m. UTC | #1
On 2019-08-06 09:30:32 , Connor Kuehl wrote:
> The following changes since commit e89fe60b3c9b27dbac8b2766d9df6ad13ce6b65f:
> 
>   UBUNTU: Ubuntu-aws-4.4.0-1089.100 (2019-07-30 09:28:08 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~connork/+git/xenial efa-aws
> 
> for you to fetch changes up to 0a5e6c8a3e9eba9e36492315a6bda717e7ec8a4e:
> 
>   UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport (2019-08-06 08:13:08 -0700)
> 
> ----------------------------------------------------------------
> Connor Kuehl (1):
>       UBUNTU: [Config] aws: CONFIG_INFINIBAND_EFA=m
> 
> Daniel Kranzdorf (1):
>       UBUNTU: SAUCE: linux/efa: Entropy in admin commands id
> 
> Gal Pressman (16):
>       RDMA/efa: Add EFA device definitions
>       RDMA/efa: Add the ABI definitions
>       RDMA/efa: Add the efa.h header file
>       RDMA/efa: Add the efa_com.h file
>       RDMA/efa: Add the com service API definitions
>       RDMA/efa: Implement functions that submit and complete admin commands
>       RDMA/efa: Add common command handlers
>       RDMA/efa: Add EFA verbs implementation
>       RDMA/efa: Add the efa module
>       RDMA/efa: Add driver to Kconfig/Makefile
>       RDMA/efa: Remove MAYEXEC flag check from mmap flow
>       RDMA/efa: Fix success return value in case of error
>       RDMA/efa: Handle mmap insertions overflow
>       UBUNTU: SAUCE: Add kernel compatibility fixups
>       UBUNTU: SAUCE: linux/efa: Be consistent with success flow return value
>       UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport
> 
>  MAINTAINERS                                     |    9 +
>  debian.aws/config/config.common.ubuntu          |    1 +
>  debian.aws/control.d/aws.inclusion-list         |    1 +
>  drivers/infiniband/Kconfig                      |    1 +
>  drivers/infiniband/hw/Makefile                  |    1 +
>  drivers/infiniband/hw/efa/Kconfig               |   15 +
>  drivers/infiniband/hw/efa/Makefile              |    9 +
>  drivers/infiniband/hw/efa/efa.h                 |  310 +++
>  drivers/infiniband/hw/efa/efa_admin_cmds_defs.h |  794 +++++++
>  drivers/infiniband/hw/efa/efa_admin_defs.h      |  136 ++
>  drivers/infiniband/hw/efa/efa_com.c             | 1162 ++++++++++
>  drivers/infiniband/hw/efa/efa_com.h             |  145 ++
>  drivers/infiniband/hw/efa/efa_com_cmd.c         |  704 ++++++
>  drivers/infiniband/hw/efa/efa_com_cmd.h         |  270 +++
>  drivers/infiniband/hw/efa/efa_common_defs.h     |   18 +
>  drivers/infiniband/hw/efa/efa_main.c            |  857 ++++++++
>  drivers/infiniband/hw/efa/efa_regs_defs.h       |  113 +
>  drivers/infiniband/hw/efa/efa_verbs.c           | 2629 +++++++++++++++++++++++
>  drivers/infiniband/hw/efa/kcompat.h             |  171 ++
>  include/uapi/rdma/efa-abi.h                     |  143 ++
>  20 files changed, 7489 insertions(+)
>  create mode 100644 drivers/infiniband/hw/efa/Kconfig
>  create mode 100644 drivers/infiniband/hw/efa/Makefile
>  create mode 100644 drivers/infiniband/hw/efa/efa.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_admin_defs.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_com.c
>  create mode 100644 drivers/infiniband/hw/efa/efa_com.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.c
>  create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_common_defs.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_main.c
>  create mode 100644 drivers/infiniband/hw/efa/efa_regs_defs.h
>  create mode 100644 drivers/infiniband/hw/efa/efa_verbs.c
>  create mode 100644 drivers/infiniband/hw/efa/kcompat.h
>  create mode 100644 include/uapi/rdma/efa-abi.h
> 

Just a minor issue and a question:
 1) Looks like the commits "UBUNTU: [Config] aws: CONFIG_INFINIBAND_EFA=m" and "RDMA/efa: Add driver to Kconfig/Makefile" are in reverse order - can be fixed when applying.
 2) I'm curious where those SAUCE patches come from. Any background info on them?

But basically: 

Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Connor Kuehl Aug. 7, 2019, 2:03 p.m. UTC | #2
On 8/6/19 8:15 PM, Khaled Elmously wrote:
> On 2019-08-06 09:30:32 , Connor Kuehl wrote:
>> The following changes since commit e89fe60b3c9b27dbac8b2766d9df6ad13ce6b65f:
>>
>>   UBUNTU: Ubuntu-aws-4.4.0-1089.100 (2019-07-30 09:28:08 -0700)
>>
>> are available in the Git repository at:
>>
>>   git://git.launchpad.net/~connork/+git/xenial efa-aws
>>
>> for you to fetch changes up to 0a5e6c8a3e9eba9e36492315a6bda717e7ec8a4e:
>>
>>   UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport (2019-08-06 08:13:08 -0700)
>>
>> ----------------------------------------------------------------
>> Connor Kuehl (1):
>>       UBUNTU: [Config] aws: CONFIG_INFINIBAND_EFA=m
>>
>> Daniel Kranzdorf (1):
>>       UBUNTU: SAUCE: linux/efa: Entropy in admin commands id
>>
>> Gal Pressman (16):
>>       RDMA/efa: Add EFA device definitions
>>       RDMA/efa: Add the ABI definitions
>>       RDMA/efa: Add the efa.h header file
>>       RDMA/efa: Add the efa_com.h file
>>       RDMA/efa: Add the com service API definitions
>>       RDMA/efa: Implement functions that submit and complete admin commands
>>       RDMA/efa: Add common command handlers
>>       RDMA/efa: Add EFA verbs implementation
>>       RDMA/efa: Add the efa module
>>       RDMA/efa: Add driver to Kconfig/Makefile
>>       RDMA/efa: Remove MAYEXEC flag check from mmap flow
>>       RDMA/efa: Fix success return value in case of error
>>       RDMA/efa: Handle mmap insertions overflow
>>       UBUNTU: SAUCE: Add kernel compatibility fixups
>>       UBUNTU: SAUCE: linux/efa: Be consistent with success flow return value
>>       UBUNTU: SAUCE: linux/efa: Fix modify QP udata check backport
>>
>>  MAINTAINERS                                     |    9 +
>>  debian.aws/config/config.common.ubuntu          |    1 +
>>  debian.aws/control.d/aws.inclusion-list         |    1 +
>>  drivers/infiniband/Kconfig                      |    1 +
>>  drivers/infiniband/hw/Makefile                  |    1 +
>>  drivers/infiniband/hw/efa/Kconfig               |   15 +
>>  drivers/infiniband/hw/efa/Makefile              |    9 +
>>  drivers/infiniband/hw/efa/efa.h                 |  310 +++
>>  drivers/infiniband/hw/efa/efa_admin_cmds_defs.h |  794 +++++++
>>  drivers/infiniband/hw/efa/efa_admin_defs.h      |  136 ++
>>  drivers/infiniband/hw/efa/efa_com.c             | 1162 ++++++++++
>>  drivers/infiniband/hw/efa/efa_com.h             |  145 ++
>>  drivers/infiniband/hw/efa/efa_com_cmd.c         |  704 ++++++
>>  drivers/infiniband/hw/efa/efa_com_cmd.h         |  270 +++
>>  drivers/infiniband/hw/efa/efa_common_defs.h     |   18 +
>>  drivers/infiniband/hw/efa/efa_main.c            |  857 ++++++++
>>  drivers/infiniband/hw/efa/efa_regs_defs.h       |  113 +
>>  drivers/infiniband/hw/efa/efa_verbs.c           | 2629 +++++++++++++++++++++++
>>  drivers/infiniband/hw/efa/kcompat.h             |  171 ++
>>  include/uapi/rdma/efa-abi.h                     |  143 ++
>>  20 files changed, 7489 insertions(+)
>>  create mode 100644 drivers/infiniband/hw/efa/Kconfig
>>  create mode 100644 drivers/infiniband/hw/efa/Makefile
>>  create mode 100644 drivers/infiniband/hw/efa/efa.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_admin_defs.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_com.c
>>  create mode 100644 drivers/infiniband/hw/efa/efa_com.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.c
>>  create mode 100644 drivers/infiniband/hw/efa/efa_com_cmd.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_common_defs.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_main.c
>>  create mode 100644 drivers/infiniband/hw/efa/efa_regs_defs.h
>>  create mode 100644 drivers/infiniband/hw/efa/efa_verbs.c
>>  create mode 100644 drivers/infiniband/hw/efa/kcompat.h
>>  create mode 100644 include/uapi/rdma/efa-abi.h
>>
> 
> Just a minor issue and a question:
>  1) Looks like the commits "UBUNTU: [Config] aws: CONFIG_INFINIBAND_EFA=m" and "RDMA/efa: Add driver to Kconfig/Makefile" are in reverse order - can be fixed when applying.

My mistake!

>  2) I'm curious where those SAUCE patches come from. Any background info on them?

The sauce patches came from their github repository:
https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa

I pulled in as much as I could from mainline and then pulled the few
commits that were in the repo but were not upstream (as far as I could
tell) to complete the port.

> 
> But basically: 
> 
> Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
>