mbox series

[PULL,Unstable] Update drivers specific to HiSilicon server SoCs

Message ID 20190108220534.GA25078@xps13.dannf
State New
Headers show
Series [PULL,Unstable] Update drivers specific to HiSilicon server SoCs | expand

Pull-request

git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hisi-soc-updates-unstable

Message

dann frazier Jan. 8, 2019, 10:12 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1810457

All clean cherry picks from upstream, restricted to drivers specific
to the Hi1616 and Hi1620 SoCs in the D05 and D06 server development
boards.

The following changes since commit cd260bb22996e330a0f2984ecd9b723ad9a47ff5:

  UBUNTU: Ubuntu-4.20.0-1.2 (2018-12-11 11:33:09 -0600)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hisi-soc-updates-unstable

for you to fetch changes up to b283fb2a844ddb489f3486f2862b63b227005428:

  net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT (2019-01-07 15:40:51 -0700)

----------------------------------------------------------------
Arnd Bergmann (1):
      hns3: prevent building without CONFIG_INET

Christoph Hellwig (1):
      scsi: hisi_sas: use dma_set_mask_and_coherent

Colin Ian King (3):
      net: hns3: fix spelling mistake, "assertting" -> "asserting"
      net: hns3: fix spelling mistake "failded" -> "failed"
      net: hns3: fix spelling mistake "offser" -> "offset"

Dan Carpenter (1):
      RDMA/hns: Fix an error code in hns_roce_create_srq()

Fuyun Liang (1):
      net: hns3: remove 1000M/half support of phy

Huazhong Tan (31):
      net: hns3: use HNS3_NIC_STATE_INITED to indicate the initialization state of enet
      net: hns3: add set_default_reset_request in the hnae3_ae_ops
      net: hns3: provide some interface & information for the client
      net: hns3: adjust the location of clearing the table when doing reset
      net: hns3: enable/disable ring in the enet while doing UP/DOWN
      net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting
      net: hns3: ignore new coming low-level reset while doing high-level reset
      net: hns3: move some reset information from hnae3_handle into hclge_dev/hclgevf_dev
      net: hns3: adjust the process of PF reset
      net: hns3: call roce's reset notify callback when resetting
      net: hns3: add error handler for hclge_reset()
      net: hns3: fix for cmd queue memory not freed problem during reset
      net: hns3: add reset_hdev to reinit the hdev in VF's reset process
      net: hns3: adjust VF's reset process
      net: hns3: add reset handling for VF when doing PF reset
      net: hns3: add reset handling for VF when doing Core/Global/IMP reset
      net: hns3: stop handling command queue while resetting VF
      net: hns3: add error handler for hclgevf_reset()
      net: hns3: stop napi polling when HNS3_NIC_STATE_DOWN is set
      net: hns3: implement the IMP reset processing for PF
      net: hns3: add PCIe FLR support for PF
      net: hns3: do VF's pci re-initialization while PF doing FLR
      net: hns3: add PCIe FLR support for VF
      net: hns3: fix error handling int the hns3_get_vector_ring_chain
      net: hns3: uninitialize pci in the hclgevf_uninit
      net: hns3: fix napi_disable not return problem
      net: hns3: update some variables while hclge_reset()/hclgevf_reset() done
      net: hns3: remove unnecessary configuration recapture while resetting
      net: hns3: fix incomplete uninitialization of IRQ in the hns3_nic_uninit_vector_data()
      net: hns3: reset tqp while doing DOWN operation
      net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT

Jian Shen (7):
      net: hns3: Support "ethtool -d" for HNS3 VF driver
      net: hns3: Adds support to dump(using ethool-d) PCIe regs in HNS3 PF driver
      net: hns3: refine the handle for hns3_nic_net_open/stop()
      net: hns3: change default tc state to close
      net: hns3: add max vector number check for pf
      net: hns3: fix vf id check issue when add flow director rule
      net: hns3: don't restore rules when flow director is disabled

John Garry (1):
      scsi: hisi_sas: Fix warnings detected by sparse

Lijun Ou (9):
      RDMA/hns: Eanble SRQ capacity for hip08
      RDMA/hns: Init SRQ table for hip08
      RDMA/hns: Add SRQ support for hip08 kernel mode
      RDMA/hns: Add SRQ asynchronous event support
      RDMA/hns: Init qp context when modify qp from reset to init
      RDMA/hns: Encapsulate and simplify qp state transition
      RDMA/hns: Fix the bug while use multi-hop of pbl
      RDMA/hns: Update posting & querying mailbox
      RDMA/hns: Bugfix for RoCE loopback test

Peng Li (10):
      net: hns3: Enable HW GRO for Rev B(=0x21) HNS3 hardware
      net: hns3: Add handling of GRO Pkts not fully RX'ed in NAPI poll
      net: hns3: Add support for ethtool -K to enable/disable HW GRO
      net: hns3: Add skb chain when num of RX buf exceeds MAX_SKB_FRAGS
      net: hns3: Adds GRO params to SKB for the stack
      net: hns3: update coalesce param per second
      net: hns3: synchronize speed and duplex from phy when phy link up
      net: hns3: fix a bug caused by udelay
      net: hns3: fix the descriptor index when get rss type
      net: hns3: remove redundant variable initialization

Salil Mehta (1):
      net: hns3: add handling of hw errors reported through MSIX

Shiju Jose (13):
      net: hns3: remove existing process error functions and reorder hw_blk table
      net: hns3: rename enable error interrupt functions
      net: hns3: re-enable error interrupts on hw reset
      net: hns3: deletes unnecessary settings of the descriptor data
      net: hns3: rename process_hw_error function
      net: hns3: add optimization in the hclge_hw_error_set_state
      net: hns3: add handling of hw ras errors using new set of commands
      net: hns3: deleted logging 1 bit errors
      net: hns3: add handling of hw errors of MAC
      net: hns3: handle hw errors of PPP PF
      net: hns3: handle hw errors of PPU(RCB)
      net: hns3: handle hw errors of SSU
      net: hns3: add handling of RDMA RAS errors

Xiang Chen (8):
      scsi: hisi_sas: Create separate host attributes per HBA
      scsi: hisi_sas: Add support for interrupt converge for v3 hw
      scsi: hisi_sas: Add support for interrupt coalescing for v3 hw
      scsi: hisi_sas: Relocate some codes to avoid an unused check
      scsi: hisi_sas: change the time of SAS SSP connection
      scsi: hisi_sas: Relocate some code to reduce complexity
      scsi: hisi_sas: Make sg_tablesize consistent value
      scsi: hisi_sas: Add support for DIF feature for v2 hw

YueHaibing (1):
      net: hns3: Remove set but not used variable 'reset_level'

Yunsheng Lin (9):
      net: hns3: Support two vlan header when setting mtu
      net: hns3: Refactor mac mtu setting related functions
      net: hns3: Add vport alive state checking support
      net: hns3: Add mtu setting support for vf
      net: hns3: up/down netdev in hclge module when setting mtu
      net: hns3: add common validation in hclge_dcb
      net: hns3: getting tx and dv buffer size through firmware
      net: hns3: aligning buffer size in SSU to 256 bytes
      net: hns3: fix a SSU buffer checking bug

liuzhongzhu (14):
      net: hns3: Add debugfs framework registration
      net: hns3: Add "queue info" query function
      net: hns3: Add "FD flow table" info query function
      net: hns3: Add "tc config" info query function
      net: hns3: Add "tm config" info query function
      net: hns3: Add "qos pause" config info query function
      net: hns3: Add "qos prio map" info query function
      net: hns3: Add "qos buffer" config info query function
      net: hns3: Add "bd info" query function
      net: hns3: Add "manager table" information query function
      net: hns3: Add "status register" information query function
      net: hns3: Add "dcb register" status information query function
      net: hns3: Add "queue map" information query function
      net: hns3: Add "tm map" status information query function

 drivers/infiniband/hw/hns/Makefile                 |    2 +-
 drivers/infiniband/hw/hns/hns_roce_alloc.c         |    2 +
 drivers/infiniband/hw/hns/hns_roce_cmd.h           |    4 +
 drivers/infiniband/hw/hns/hns_roce_common.h        |    3 -
 drivers/infiniband/hw/hns/hns_roce_device.h        |   92 +-
 drivers/infiniband/hw/hns/hns_roce_hem.c           |   41 +-
 drivers/infiniband/hw/hns/hns_roce_hem.h           |    2 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c         |  543 ++++++-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h         |  142 +-
 drivers/infiniband/hw/hns/hns_roce_main.c          |   83 ++
 drivers/infiniband/hw/hns/hns_roce_mr.c            |  141 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c            |   21 +-
 drivers/infiniband/hw/hns/hns_roce_srq.c           |  457 ++++++
 drivers/net/ethernet/hisilicon/Kconfig             |    1 +
 drivers/net/ethernet/hisilicon/hns3/Makefile       |    2 +-
 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h    |   10 +
 drivers/net/ethernet/hisilicon/hns3/hnae3.h        |   48 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c   |   12 +
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c |  399 +++++
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |  553 +++++--
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h    |   57 +-
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c |   19 +
 .../net/ethernet/hisilicon/hns3/hns3pf/Makefile    |    2 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c |   11 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h |   83 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c |   70 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c |  933 ++++++++++++
 .../ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h |  713 +++++++++
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c | 1556 ++++++++++++--------
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h |   79 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    |  977 ++++++++++--
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h    |   96 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c |  104 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c    |    6 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c  |   14 +-
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h  |   17 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c   |  154 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h   |    9 +
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  775 ++++++++--
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h  |   96 +-
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c   |   22 +-
 drivers/scsi/hisi_sas/hisi_sas.h                   |   13 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c              |  203 +--
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c             |   24 +-
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c             |   73 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c             |  321 +++-
 include/uapi/rdma/hns-abi.h                        |    6 +
 47 files changed, 7488 insertions(+), 1503 deletions(-)
 create mode 100644 drivers/infiniband/hw/hns/hns_roce_srq.c
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
 create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.h

Comments

Seth Forshee Jan. 9, 2019, 5:36 p.m. UTC | #1
On Tue, Jan 08, 2019 at 03:12:18PM -0700, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1810457
> 
> All clean cherry picks from upstream, restricted to drivers specific
> to the Hi1616 and Hi1620 SoCs in the D05 and D06 server development
> boards.
> 
> The following changes since commit cd260bb22996e330a0f2984ecd9b723ad9a47ff5:
> 
>   UBUNTU: Ubuntu-4.20.0-1.2 (2018-12-11 11:33:09 -0600)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hisi-soc-updates-unstable
> 
> for you to fetch changes up to b283fb2a844ddb489f3486f2862b63b227005428:
> 
>   net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT (2019-01-07 15:40:51 -0700)

Applied to unstable/master, thanks!