mbox series

[SRU,Bionic,PULL] Amazon ENA driver update

Message ID 1536770510-3355-1-git-send-email-kamal@canonical.com
State New
Headers show
Series [SRU,Bionic,PULL] Amazon ENA driver update | expand

Pull-request

git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/bionic ena-update

Message

Kamal Mostafa Sept. 12, 2018, 4:41 p.m. UTC
Update Amazon ENA driver from latest upstream

BugLink: http://bugs.launchpad.net/bugs/1792044

These are all cherry-picks from mainline linux and linux-next (the single
SAUCE patch is a cherry-pick of just the ENA driver delta from a treewide
mainline commit).

Only the Amazon ENA driver is affected.

Note that some of these commits are already present in the linux-aws variant.

 -Kamal

-----

The following changes since commit d5bad4136d14cda66cb7c06b10b80c64ae695c78:

  UBUNTU: Ubuntu-4.15.0-35.38 (2018-09-12 11:39:30 +0200)

are available in the git repository at:

  git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/bionic ena-update

for you to fetch changes up to ecd85b92b01591d6212adeee7f45685f31ff962e:

  net: ena: fix incorrect usage of memory barriers (2018-09-12 08:11:02 -0700)

----------------------------------------------------------------
Gal Pressman (1):
      net: ena: Fix use of uninitialized DMA address bits field

Kees Cook (1):
      UBUNTU: SAUCE: ena: devm_kzalloc() -> devm_kcalloc()

Netanel Belgazal (9):
      net: ena: add detection and recovery mechanism for handling missed/misrouted MSI-X
      net: ena: increase ena driver version to 1.5.0
      net: ena: fix surprise unplug NULL dereference kernel crash
      net: ena: fix driver when PAGE_SIZE == 64kB
      net: ena: fix device destruction to gracefully free resources
      net: ena: fix potential double ena_destroy_device()
      net: ena: fix missing lock during device destruction
      net: ena: fix missing calls to READ_ONCE
      net: ena: fix incorrect usage of memory barriers

Sinan Kaya (1):
      net: ena: Eliminate duplicate barriers on weakly-ordered archs

 drivers/net/ethernet/amazon/ena/ena_com.c       |  25 ++--
 drivers/net/ethernet/amazon/ena/ena_eth_com.c   |  17 +++
 drivers/net/ethernet/amazon/ena/ena_eth_com.h   |   2 +
 drivers/net/ethernet/amazon/ena/ena_ethtool.c   |   8 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c    | 145 ++++++++++++++++--------
 drivers/net/ethernet/amazon/ena/ena_netdev.h    |  17 ++-
 drivers/net/ethernet/amazon/ena/ena_regs_defs.h |   2 +
 7 files changed, 151 insertions(+), 65 deletions(-)

Comments

Stefan Bader Sept. 13, 2018, 9:07 a.m. UTC | #1
On 12.09.2018 18:41, Kamal Mostafa wrote:
> Update Amazon ENA driver from latest upstream
> 
> BugLink: http://bugs.launchpad.net/bugs/1792044
> 
> These are all cherry-picks from mainline linux and linux-next (the single
> SAUCE patch is a cherry-pick of just the ENA driver delta from a treewide
> mainline commit).
> 
> Only the Amazon ENA driver is affected.
> 
> Note that some of these commits are already present in the linux-aws variant.
> 
>  -Kamal
> 
> -----
> 
> The following changes since commit d5bad4136d14cda66cb7c06b10b80c64ae695c78:
> 
>   UBUNTU: Ubuntu-4.15.0-35.38 (2018-09-12 11:39:30 +0200)
> 
> are available in the git repository at:
> 
>   git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/bionic ena-update
> 
> for you to fetch changes up to ecd85b92b01591d6212adeee7f45685f31ff962e:
> 
>   net: ena: fix incorrect usage of memory barriers (2018-09-12 08:11:02 -0700)
> 
> ----------------------------------------------------------------
> Gal Pressman (1):
>       net: ena: Fix use of uninitialized DMA address bits field
> 
> Kees Cook (1):
>       UBUNTU: SAUCE: ena: devm_kzalloc() -> devm_kcalloc()
> 
> Netanel Belgazal (9):
>       net: ena: add detection and recovery mechanism for handling missed/misrouted MSI-X
>       net: ena: increase ena driver version to 1.5.0
>       net: ena: fix surprise unplug NULL dereference kernel crash
>       net: ena: fix driver when PAGE_SIZE == 64kB
>       net: ena: fix device destruction to gracefully free resources
>       net: ena: fix potential double ena_destroy_device()
>       net: ena: fix missing lock during device destruction
>       net: ena: fix missing calls to READ_ONCE
>       net: ena: fix incorrect usage of memory barriers
> 
> Sinan Kaya (1):
>       net: ena: Eliminate duplicate barriers on weakly-ordered archs
> 
>  drivers/net/ethernet/amazon/ena/ena_com.c       |  25 ++--
>  drivers/net/ethernet/amazon/ena/ena_eth_com.c   |  17 +++
>  drivers/net/ethernet/amazon/ena/ena_eth_com.h   |   2 +
>  drivers/net/ethernet/amazon/ena/ena_ethtool.c   |   8 +-
>  drivers/net/ethernet/amazon/ena/ena_netdev.c    | 145 ++++++++++++++++--------
>  drivers/net/ethernet/amazon/ena/ena_netdev.h    |  17 ++-
>  drivers/net/ethernet/amazon/ena/ena_regs_defs.h |   2 +
>  7 files changed, 151 insertions(+), 65 deletions(-)
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kamal Mostafa Sept. 13, 2018, 5:10 p.m. UTC | #2
On Wed, Sep 12, 2018 at 09:41:50AM -0700, Kamal Mostafa wrote:
> Update Amazon ENA driver from latest upstream
> 
> BugLink: http://bugs.launchpad.net/bugs/1792044
> 
> These are all cherry-picks from mainline linux and linux-next (the single
> SAUCE patch is a cherry-pick of just the ENA driver delta from a treewide
> mainline commit).
> 
> Only the Amazon ENA driver is affected.
> 
> Note that some of these commits are already present in the linux-aws variant.
> 
>  -Kamal
> 
> -----
> 
> The following changes since commit d5bad4136d14cda66cb7c06b10b80c64ae695c78:
> 
>   UBUNTU: Ubuntu-4.15.0-35.38 (2018-09-12 11:39:30 +0200)
> 
> are available in the git repository at:
> 
>   git://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/bionic ena-update
> 
> for you to fetch changes up to ecd85b92b01591d6212adeee7f45685f31ff962e:
> 
>   net: ena: fix incorrect usage of memory barriers (2018-09-12 08:11:02 -0700)
> 
> ----------------------------------------------------------------
> Gal Pressman (1):
>       net: ena: Fix use of uninitialized DMA address bits field
> 
> Kees Cook (1):
>       UBUNTU: SAUCE: ena: devm_kzalloc() -> devm_kcalloc()
> 
> Netanel Belgazal (9):
>       net: ena: add detection and recovery mechanism for handling missed/misrouted MSI-X
>       net: ena: increase ena driver version to 1.5.0
>       net: ena: fix surprise unplug NULL dereference kernel crash
>       net: ena: fix driver when PAGE_SIZE == 64kB
>       net: ena: fix device destruction to gracefully free resources
>       net: ena: fix potential double ena_destroy_device()
>       net: ena: fix missing lock during device destruction
>       net: ena: fix missing calls to READ_ONCE
>       net: ena: fix incorrect usage of memory barriers
> 
> Sinan Kaya (1):
>       net: ena: Eliminate duplicate barriers on weakly-ordered archs
> 
>  drivers/net/ethernet/amazon/ena/ena_com.c       |  25 ++--
>  drivers/net/ethernet/amazon/ena/ena_eth_com.c   |  17 +++
>  drivers/net/ethernet/amazon/ena/ena_eth_com.h   |   2 +
>  drivers/net/ethernet/amazon/ena/ena_ethtool.c   |   8 +-
>  drivers/net/ethernet/amazon/ena/ena_netdev.c    | 145 ++++++++++++++++--------
>  drivers/net/ethernet/amazon/ena/ena_netdev.h    |  17 ++-
>  drivers/net/ethernet/amazon/ena/ena_regs_defs.h |   2 +
>  7 files changed, 151 insertions(+), 65 deletions(-)
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Seth Forshee Sept. 13, 2018, 6:44 p.m. UTC | #3
On Wed, Sep 12, 2018 at 09:41:50AM -0700, Kamal Mostafa wrote:
> Update Amazon ENA driver from latest upstream
> 
> BugLink: http://bugs.launchpad.net/bugs/1792044
> 
> These are all cherry-picks from mainline linux and linux-next (the single
> SAUCE patch is a cherry-pick of just the ENA driver delta from a treewide
> mainline commit).
> 
> Only the Amazon ENA driver is affected.
> 
> Note that some of these commits are already present in the linux-aws variant.

I didn't see any pull request for cosmic (despite the development task
being set to fix committed?), so I went ahead and grabbed the commits
not already in cosmic, which were these:

net: ena: fix surprise unplug NULL dereference kernel crash
net: ena: fix driver when PAGE_SIZE == 64kB
net: ena: fix device destruction to gracefully free resources
net: ena: fix potential double ena_destroy_device()
net: ena: fix missing lock during device destruction
net: ena: fix missing calls to READ_ONCE
net: ena: fix incorrect usage of memory barriers