[hns3-1017]sync mainline kernel 5.4rc3 hns3 patchset into ubuntu HWE kernel branch

Bug #1850115 reported by Andrew Cloke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kunpeng920
Fix Released
Undecided
Unassigned
Ubuntu-18.04
Won't Fix
Undecided
Unassigned
Ubuntu-18.04-hwe
Fix Released
Undecided
Unassigned
Ubuntu-19.04
Won't Fix
Undecided
Unassigned
Ubuntu-19.10
Won't Fix
Undecided
Unassigned
Ubuntu-20.04
Fix Released
Undecided
Unassigned
Upstream-kernel
Fix Released
Undecided
Unassigned

Bug Description

[Bug Description]
 hns3 patchset have merged into mainline 5.4rc3 kernel. Can use this hns3 patchset to release UOSE basing this ubuntu 18.04.4 kernel branch, then merge into ubuntu 18.04.4 version.

[Steps to Reproduce]
  1)
  2)
  3)

[Actual Results]

[Expected Results]

[Reproducibility]

[Additional information]
  (Firmware version, kernel version, affected hardware, etc. if required):

[Resolution]
** UPDATE: These patches were *not* in 5.4-rc3:
** net: hns3: support tx-scatter-gather-fraglist feature
** net: hns3: add support for configuring VF MAC from the host
** net: hns3: add support for configuring bandwidth of VF on the host
** net: hns3: add support for setting VF trust
** net: hns3: add support for spoof check setting
** net: hns3: add support for setting VF link status on the host
** net: hns3: make array tick_array static, makes object smaller
** IGNORING FOR THIS BUG

net: hns3: fix spelling mistake "undeflow" -> "underflow"
net: hns3: add some DFX info for reset issue
net: hns3: check NULL pointer before use
net: hns3: modify some logs format
net: hns3: fix port setting handle for fibre port
net: hns3: fix shaper parameter algorithm
net: hns3: revert to old channel when setting new channel num fail
net: hns3: add ethtool_ops.set_channels support for HNS3 VF driver
net: hns3: make array spec_opcode static const, makes object smaller
net: hns3: make hclge_dbg_get_m7_stats_info static
net: hns3: disable loopback setting in hclge_mac_init
net: hns3: remove explicit conversion to bool
net: hns3: add client node validity judgment
net: hns3: fix mis-assignment to hdev->reset_level in hclge_reset
net: hns3: fix double free bug when setting ringparam
net: hns3: fix error VF index when setting VLAN offload
net: hns3: remove set but not used variable 'qos'
net: hns3: remove redundant assignment to pointer reg_info
net: hns3: not allow SSU loopback while execute ethtool -t dev
net: hns3: check reset interrupt status when reset fails
net: hns3: add phy selftest function
net: hns3: implement .process_hw_error for hns3 client
net: hns3: optimize waiting time for TQP reset
net: hns3: fix incorrect type in assignment.
net: hns3: make some reusable codes into a function
net: hns3: optimize some log printings
net: hns3: reduce the parameters of some functions
net: hns3: modify base parameter of kstrtouint in hclge_dbg_dump_tm_map
net: hns3: use macro instead of magic number
net: hns3: code optimization for debugfs related to "dump reg"
net: hns3: Fix -Wunused-const-variable warning
net: hns3: add phy_attached_info() to the hns3 driver
net: hns3: prevent unnecessary MAC TNL interrupt
net: hns3: change print level of RAS error log from warning to error
net: hns3: fix error and incorrect format
net: hns3: modify redundant initialization of variable
net: hns3: add or modify comments
net: hns3: Make hclge_func_reset_sync_vf static
hns3: no need to check return value of debugfs_create functions
net: hns3: refine some macro definitions
net: hns3: add handshake with VF for PF reset
 net: hns3: refine MAC pause statistics querying function
 net: hns3: add function display NCL_CONFIG info
net: hns3: add check for max TX BD num for tso and non-tso case
net: hns3: add some statitics info to tx process
 net: hns3: add DFX registers information for ethtool -d
net: hns3: modify how pause options is displayed
net: hns3: add input length check for debugfs write function
net: hns3: clean up for vlan handling in hns3_fill_desc_vtags
net: hns3: fix interrupt clearing error for VF
net: hns3: fix GFP flag error in hclge_mac_update_stats()
net: hns: add phy_attached_info() to the hns driver
net: hns3: activate reset timer when calling reset_event
net: hns3: clear reset interrupt status in hclge_irq_handle()
net: hns3: fix some reset handshake issue
net: hns3: rename a member in struct hclge_mac_ethertype_idx_rd_cmd
net: hns3: simplify hclge_cmd_query_error()
net: hns3: minior error handling change for hclge_tm_schd_info_init
net: hns3: minor cleanup in hns3_clean_rx_ring
net: hns3: remove unnecessary variable in hclge_get_mac_vlan_cmd_status()
net: hns3: refine for set ring parameters
net: hns3: do not query unsupported commands in debugfs
net: hns3: add handler for NCSI error mailbox
net: hns3: add link change event report
net: hns3: use dev_info() instead of pr_info()
net: hns3: Add support for using order 1 pages with a 4K buffer
net: hns3: add interrupt affinity support for misc interrupt
net: hns3: make hclge_service use delayed workqueue
net: hns3: add debug messages to identify eth down cause
net: hns3: modify firmware version display format
net: hns3: change GFP flag during lock period
net: hns3: remove upgrade reset level when reset fail
net: hns3: add a check for get_reset_level
net: hns3: add reset checking before set channels
net: Use skb accessors in network drivers
net: hns3: typo in the name of a constant

Revision history for this message
dann frazier (dannf) wrote :

Sorry, these types of "sync" bugs are no longer possible for the 18.04.4-targeted HWE kernel for 2 reasons:

1) The 5.3 kernel is no longer in development. It is a released/supported kernel for Ubuntu 19.10. Therefore, all changes need to meet this update policy:
https://wiki.ubuntu.com/KernelTeam/KernelUpdates

All of these patches do not qualify under that policy. If you believe an individual patch (or set of related patches) do meet this policy, please report a separate bug.

2) We have made exceptions in the past for Kunpeng920-specific drivers. However, Kunpeng920 is now shipping and is an Ubuntu-certified SoC. Therefore the regression risk is now too great to consider exceptions.

Since these changes will automatically be included in 18.04.5, I'll target that milestone.

dann frazier (dannf)
Changed in kunpeng920:
status: New → Triaged
description: updated
Revision history for this message
dann frazier (dannf) wrote :

Several patches in the above list did not actually land in 5.4-rc3. I noted these in the description, and I am considering them out of scope for this bug.

The set of patches that made it into a given release is self evident using "git log", so I suggest not providing a patch list at all in sync bugs.

description: updated
dann frazier (dannf)
Changed in kunpeng920:
status: Triaged → Fix Committed
Revision history for this message
Fred Kimmy (kongzizaixian) wrote :

8ae10cf net: hns3: support tx-scatter-gather-fraglist feature
8e6de44 net: hns3: add support for configuring VF MAC from the host
ee9e442 net: hns3: add support for configuring bandwidth of VF on the host
e196ec7 net: hns3: add support for setting VF trust
22044f9 net: hns3: add support for spoof check setting
6430f74 net: hns3: add support for setting VF link status on the host

k@ubuntu:~/linus-kerenl/linux$ git describe 8ae10cf
v5.4-rc1-426-g8ae10cf
k@ubuntu:~/linus-kerenl/linux$ git describe 8e6de44
v5.4-rc1-425-g8e6de44
k@ubuntu:~/linus-kerenl/linux$ git describe 6430f74
v5.4-rc1-421-g6430f74

I have checked it. this aboving patchset is included in this 5.4-rc1 branch. I think it have landed in 5.4-rc3

Revision history for this message
dann frazier (dannf) wrote :

Those patches are in v5.5-rc1:

$ git log --oneline v5.4..v5.5-rc1 --grep "net: hns3: add support" --grep "net: hns3: support tx-scatter-gather-fraglist feature"
8ae10cfb50897 net: hns3: support tx-scatter-gather-fraglist feature
8e6de441b8e66 net: hns3: add support for configuring VF MAC from the host
ee9e44248f52b net: hns3: add support for configuring bandwidth of VF on the host
e196ec75958e1 net: hns3: add support for setting VF trust
22044f95faa05 net: hns3: add support for spoof check setting
6430f744a45ad net: hns3: add support for setting VF link status on the host

As mentioned in Comment #1, we can not do "full backports" for the 18.04.4 kernels. This bug is targeted at 18.04.*5*, which will ship a >= 5.4 HWE kernel. All 5.4 changes will be introduced at that time.

Ike Panhc (ikepanhc)
Changed in kunpeng920:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.