[IoTG] Integrated TSN controller (stmmac) driver commits tracker

Bug #2017934 reported by Philip Cox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-intel-iotg (Ubuntu)
Invalid
Undecided
Philip Cox
Jammy
Fix Released
Undecided
Philip Cox

Bug Description

Based on LP https://bugs.launchpad.net/bugs/2006706

List of cherry-picks required:
Adding the actual list of commits to make it easier to reference...

The following are the latest updates from our v5.15 kernel https://github.com/intel/linux-intel-quilt/tree/lts-v5.15.71-linux-221214T134252Z

0004-fixup-net-phy-marvell10g-Add-WAKE_PHY-support-to-WOL-.conn
0002-stmmac-intel-Add-ADL-N-PCI-ID.conn --> 30c5601fbf353a40115564e1304a1870978fda29 (v5.18-rc1)
0001-taprio-Add-bitmask-checking-based-on-the-traffic-clas.conn
0053-net-phy-dp83867-Fix-SGMII-FIFO-depth-for-non-OF-devic.conn --> e2a54350dc9642e7dfc07335ca355581caa9dbfe (v6.1-rc6)
0052-net-stmmac-check-supported-linkmode-request-for-set-e.conn
0006-net-stmmac-Add-check-for-supported-EEE-advertisement.conn
0002-net-stmmac-update-EEE-status-when-mac-link-goes-down.conn
0003-net-stmmac-Check-and-exit-when-coalesce-rx-usecs-is-e.conn
0033-Revert-net-sched-taprio-make-qdisc_leaf-see-the-per-n.conn --> af7b29b1deaac6da3bb7637f0e263dfab7bfc7a3 (v6.1-rc1)
0005-taprio-Fix-no-error-return-when-entering-invalid-gate.conn
0005-ethtool-Add-support-for-Frame-Preemption-verification.conn
0008-ethtool-Add-support-for-configuring-frame-preemption-.conn
0020-net-networkproxy-add-MIB-passing-via-shared-memory-me.conn
0042-net-phy-add-wrapper-function-for-setup-master-slave-s.conn
0027-net-phy-reconfigure-PHY-WOL-in-resume-if-WOL-option-s.conn
0025-net-stmmac-Disable-MAC-EEE-when-Network-Proxy-is-enab.conn
0035-net-phy-dp83867-add-TI-PHY-loopback.conn --> 13bd85580b85768238cf726dec0ddd89c06a230a (v6.2-rc1)
0003-net-stmmac-add-FPE-preempt-setting-for-TxQ-preemptibl.conn
0013-net-phy-marvell10g-Add-WAKE_PHY-support-to-WOL-event.conn
0043-net-phy-marvell-add-link-status-check-before-enabling.conn
0040-net-stmmac-add-check-for-supported-mode-before-speed-.conn
0044-net-stmmac-Adjust-mac_capabilities-for-Intel-mGbE-2.5.conn
0022-net-stmmac-enable-network-proxy-MSI-interrupt-support.conn
0007-net-stmmac-restructure-Rx-Tx-hardware-timestamping-fu.conn
0045-net-stmmac-check-CBS-input-values-before-configuratio.conn
0008-net-stmmac-introduce-AF_XDP-ZC-RX-HW-timestamps.conn
0024-net-stmmac-Move-phy-state-machine-handling-into-commo.conn
0048-stmmac-intel-Separate-ADL-N-device-ID-from-TGL.conn
0033-net-phy-update-in-band-AN-mode-when-changing-interfac.conn
0047-net-stmmac-Add-check-for-taprio-basetime-configuratio.conn --> 6d534ee057b62ca9332b988619323ee99c7847c1 (v6.2-rc1)
0039-net-stmmac-Set-MAC-s-flow-control-register-to-reflect.conn --> cc3d2b5fc0d6f8ad8a52da5ea679e5c2ec2adbd4 (v6.1-rc8)
0036-net-stmmac-fix-deadlock-caused-by-taking-RTNL-in-RPM-.conn
0037-net-phy-dp83867-perform-phy-reset-after-modifying-aut.conn
0028-Revert-net-stmmac-trigger-PCS-EEE-to-turn-off-on-link.conn
0014-net-stmmac-Fix-Unbalanced-pm_runtime_enable-warning.conn --> d90d0c175cf2982789d336dda928c0f69d3e8a9d (v5.17-rc1)
0038-net-stmmac-Ensure-tx-function-is-not-running-in-stmma.conn --> 77711683a50477de39757d67ab1a3638220d6860 (v6.1-rc6)
0026-net-phy-skip-disabling-interrupt-when-WOL-is-enabled-.conn
0009-REVERTME-net-stmmac-introduce-AF_XDP-ZC-TX-HW-timesta.conn
0010-net-pcs-xpcs-enable-xpcs-reset-skipping.conn
0018-net-networkproxy-add-network-proxy-heci-client.conn
net-stmmac-add-network-proxy-support.conn
0019-net-networkproxy-add-configfs.conn
0015-net-stmmac-skip-runtime-handling-in-mdio-read-write.conn
0012-REVERTME-net-stmmac-Add-support-for-HW-accelerated-VL.conn
net: stmmac: only enable DMA interrupts when ready --> 087a7b944c5db409f7c1a68bf4896c56ba54eaff (v5.17-rc7)
0006-net-stmmac-Add-per-packet-time-based-scheduling-for-X.conn
0017-net-networkproxy-introduce-network-proxy-framework.conn
0032-net-pcs-xpcs-combine-C37-SGMII-AN-and-2500BASEX-for-I.conn
0041-net-stmmac-add-check-for-advertising-linkmode-request.conn
0014-net-stmmac-Prevent-double-release-for-suspended-port-.conn
0004-net-stmmac-support-recalculating-of-CBS-idle-slope-un.conn
0046-taprio-Add-boundary-check-for-sched-entry-values.conn
0029-net-stmmac-add-fsleep-in-HW-Rx-timestamp-checking-loo.conn
0011-net-stmmac-Resolve-poor-line-rate-after-switching-fro.conn
0016-net-stmmac-selftest-replace-skb_unshare-with-skb_shar.conn
0021-net-stmmac-move-TX-RX-MAC-state-machine-enablement-to.conn
0005-REVERTME-net-stmmac-Add-module-param-to-del-keep-est-.conn
0001-net-stmmac-Bugfix-on-stmmac_interrupt-for-WOL.conn
0030-platform-x86-intel_pmc_core-Add-IPC-mailbox-accessor-.conn
0031-platform-x86-intel_pmc_core-Add-SoC-register-access.conn
0002-stmmac-intel-PCH-MSI-arbitration-WA-for-HW-bug.conn
0015-net-stmmac-optimize-locking-around-PTP-clock-reads.conn --> 642436a1ad34a28c45bbc2bdc131640a73782356 (v5.18-rc1)
0034-net-stmmac-enable-Intel-mGbE-1G-2.5G-auto-negotiation.conn
stmmac: intel: Enable 2.5Gbps for Intel AlderLake-S --> 23d743301198f7903d732d5abb4f2b44f22f5df0 (v5.18-rc1)
net: stmmac: switch to use interrupt for hw crosstimestamping --> 76c16d3e19446deea98b7883f261758b96b8781a (v5.19-rc8)
net: stmmac: fix pm runtime issue in stmmac_dvr_remove() --> 0d9a15913b871e03fdd3b3d90a2e665fb22f9bcf (v5.19-rc8)
net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow --> f4c7d8948e866918d61493264dbbd67e45ef2bda (v5.19-rc8)
net: phy: Don't trigger state machine while in suspend --> 1758bde2e4aa5ff188d53e7d9d388bbb7e12eebb (v5.19-rc5)
0001-net-stmmac-enable-runtime-power-management-support.conn
igc: Fix suspending when PTM is active --> 822f52e7efdc88fccffb9fbf6250a4b7666a0b0f (v5.18-rc1)
net: stmmac: remove redunctant disable xPCS EEE call --> da791bac104a3169b05b54270afe75daacba4641 (v5.19-rc8)
igc: Add checking for basetime less than zero --> 3b61764fb49a6e147ac90d71dccdddc9d5508ba1 (v6.2-rc1)
net: phy: dp83867: introduce critical chip default init for non-of platform --> 4dc08dcc9f6f58e881fd790d800e49abee8540e1 (v5.16-rc1)
net: stmmac: add tc flower filter for EtherType matching --> e48cb313fde3e6f9434bb41c858d5c791d83f2d0 (v5.17-rc1)
net: stmmac: Add GFP_DMA32 for rx buffers if no 64 capability --> 884d2b845477cd0a18302444dc20fe2d9a01743e (v5.16-rc6)
net: stmmac: bump tc when get underflow error from DMA descriptor --> 3a6c12a0c6c3f857f47efe0e40011360063a35bc (v5.17-rc1)
net: stmmac: ptp: fix potentially overflowing expression --> eccffcf4657ab9a148faaa0eb354d2a091caf552 (v5.16-rc7)
net: stmmac: fix tc flower deletion for VLAN priority Rx steering --> aeb7c75cb77478fdbf821628e9c95c4baa9adc63 (v5.16-rc6)
net: phy: marvell: add Marvell specific PHY loopback --> 020a45aff1190c32b1087cd75b57fbf6bff46ea6 (v5.17-rc1)

0001-libbpf-Fix-bpf_netlink_recv.conn
0024-tools-bpf-Add-xdp-set-command-for-md-btf.conn
net: stmmac: configure PTP clock source prior to PTP initialization --> 94c82de43e01ef5747a95e4a590880de863fe423 (v5.17-rc2)
0019-bpf-add-btf-register-unregister-API.conn
0025-igc-Add-BTF-based-metadata-for-XDP.conn
net: stmmac: skip only stmmac_ptp_register when resume from suspend --> 0735e639f129dff455aeb91da291f5c578cc33db (v5.17-rc2)
net: stmmac: disable Split Header (SPH) for Intel platforms --> 47f753c1108e287edb3e27fad8a7511a9d55578e (v5.18-rc6)
0001-net-stmmac-Fix-no-previous-prototype-build-warning.conn
net: stmmac: perserve TX and RX coalesce value during XDP setup --> 61da6ac715700bcfeef50d187e15c6cc7c9d079b (v5.17-rc1)
0035-igc-Add-context-for-empty-packet.conn
igc: Correct the launchtime offset --> 790835fcc0cb9992349ae3c9010dbc7321aaa24d (v6.2-rc1)
0016-igc-Add-support-for-DMA-timestamp-for-non-PTP-packets.conn
0034-igc-Fix-scheduling-multiple-packets-for-next-cycle.conn
0030-igc-Take-care-of-DMA-timestamp-rollover.conn
0009-igc-Add-support-for-TC_SETUP_PREEMPT.conn
0001-igc-Set-the-RX-packet-buffer-size-for-TSN-mode.conn
0011-igc-Add-support-for-Frame-Preemption-verification.conn
0027-igc-Enable-HW-TX-Timestamp-for-AF_XDP-ZC.conn
0036-igc-Reodering-the-empty-packet-buffers-and-descriptor.conn
0005-taprio-Replace-tc_map_to_queue_mask.conn
0007-igc-Add-support-for-enabling-frame-preemption-via-eth.conn
0002-igc-Only-dump-registers-if-configured-to-dump-HW-info.conn
0004-core-Introduce-netdev_tc_map_to_queue_mask.conn
0032-igc-Fix-sending-packets-too-early.conn
0010-igc-Add-support-for-setting-frame-preemption-configur.conn
0012-igc-Add-support-for-exposing-frame-preemption-stats-r.conn
0037-igc-Add-trace-for-launchtime-calculation-corner-case.conn
0014-igc-Add-support-for-enabling-all-packets-to-be-receiv.conn
0026-igc-Enable-HW-RX-Timestamp-for-AF_XDP-ZC.conn
0015-igc-Fix-race-condition-in-PTP-Tx-code.conn
0020-net-core-XDP-metadata-BTF-netlink-API.conn
0013-igc-Optimize-the-packet-buffer-utilization.conn
0054-net-phy-increase-gpy-loopback-test-delay.conn
0001-xsk-add-txtime-field-in-xdp_desc-struct.conn
0028-igc-Enable-trace-for-HW-TX-Timestamp-AF_XDP-ZC.conn
0021-rtnetlink-Fix-unchecked-return-value-of-dev_xdp_query.conn
0022-rtnetlink-Add-return-value-check.conn
0029-igc-Remove-the-CONFIG_DEBUG_MISC-condition-for-trace.conn
igc: Use strict cycles for LaunchTime mode --> d8f45be01dd9381065a3778a579385249ed011dc (v6.2-rc1)
0033-igc-Add-SO_TXTIME-for-AF_XDP-ZC.conn
0002-taprio-Add-support-for-frame-preemption-offload.conn
0023-tools-bpf-Query-XDP-metadata-BTF-ID.conn
0001-igc-Configure-BaseT-after-start-and-end-tim.conn
net: stmmac: Calculate CDC error only once --> c6d5f1933085f9a92ed5c256a859ab31c7a35f88 (v5.17-rc1)
net: stmmac: fix dma queue left shift overflow issue --> 613b065ca32e90209024ec4a6bb5ca887ee70980 (v5.19-rc8)
net: phy: prefer 1000baseT over 1000baseKX --> f20f94f7f52c4685c81754f489ffcc72186e8bdb (v5.17-rc1)
0002-taprio-Add-support-for-frame-preemption-offload.conn
net: stmmac: enhance XDP ZC driver level switching performance --> ac746c8520d9d056b6963ecca8ff1da9929d02f1 (v5.17-rc1)

The following were added to the list:
Here are some new updates for TSN commits.

1) Please revert the following commits from your v5.15 kernel repo cause there are new versions.
d4693f9a365d0510c75fd3425a23decdd2b85fe9 igc: Add support for enabling frame preemption via ethtool
4a35531e3ffa180a51973d3446be45afa0f9b155 igc: Add support for Frame Preemption verification
857a369b94bba7600322dec90bca6393b73729f6 ethtool: Add support for configuring frame preemption
eb7738199a973886e46dee1970351a7d75bb1a74 ethtool: Add support for configuring and verifying frame preemption
1343abeaea0bda3a2386bbd79ee2516b786d622f ethtool: Add support for configuring frame preemption via ioctl
0ec3ef23c5abf678c41f8f49e3c2ad6db1add86b net: tc: Add index of FPE QMASK

2) Backport the following upstreamed ones:
fdf87b5b3087 net: phy: marvell: add sleep time after enabling the loopback bit
af7b29b1deaa Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
c0df8e7ba6aa igc: Add checking for basetime less than zero
cfd5978411ed igc: Fix PPS delta between two synchronized end-points

3) And then pick up the following OOT patches from https://github.com/intel/linux-intel-quilt/tree/lts-v5.15.92-linux-230301T014014Z
0016-ptp-Fixed-read-issue-on-PHC-with-zero-n_pins.tgpio
0001-net-phy-dp83867-perform-restart-AN-after-modifying-AN.conn
0004-ethtool-Add-support-for-configuring-frame-preemption.conn
0005-ethtool-Add-support-for-Frame-Preemption-verification.conn
0007-igc-Add-support-for-enabling-frame-preemption-via-eth.conn
0011-igc-Add-support-for-Frame-Preemption-verification.conn

4) Please also track the following 2 tickets for ADL-N and RPL TSN support.
https://bugs.launchpad.net/lookout-canyon/+bug/1997525
https://bugs.launchpad.net/lookout-canyon/+bug/1996592

Philip Cox (philcox)
no longer affects: linux-intel-iotg (Ubuntu Jammy)
Changed in linux-intel-iotg (Ubuntu Jammy):
assignee: nobody → Philip Cox (philcox)
Changed in linux-intel-iotg (Ubuntu):
status: New → Invalid
Changed in linux-intel-iotg (Ubuntu Jammy):
status: New → In Progress
Philip Cox (philcox)
Changed in linux-intel-iotg (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-intel-iotg/5.15.0-1029.34 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy' to 'verification-done-jammy'. If the problem still exists, change the tag 'verification-needed-jammy' to 'verification-failed-jammy'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-intel-iotg verification-needed-jammy
Revision history for this message
Jian Hui Lee (jianhuilee) wrote :

intel helped to verify the kernel 5.15.0-1030.35, but found fpe could not be enabled. will open an new bug for it.

tags: added: verification-done-jammy
removed: verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (28.0 KiB)

This bug was fixed in the package linux-intel-iotg - 5.15.0-1030.35

---------------
linux-intel-iotg (5.15.0-1030.35) jammy; urgency=medium

  * jammy/linux-intel-iotg: 5.15.0-1030.35 -proposed tracker (LP: #2019028)

  * net:veth.sh in ubuntu_kernel_selftests hang with J-intel-iotg (BUG: unable
    to handle page fault) (LP: #2008085)
    - Revert "rtnetlink: Add return value check"
    - Revert "rtnetlink: Fix unchecked return value of dev_xdp_query_md_btf()"
    - Revert "igc: Enable HW RX Timestamp for AF_XDP ZC"
    - Revert "igc: Add BTF based metadata for XDP"
    - Revert "net/core: XDP metadata BTF netlink API"

linux-intel-iotg (5.15.0-1029.34) jammy; urgency=medium

  * jammy/linux-intel-iotg: 5.15.0-1029.34 -proposed tracker (LP: #2016534)

  * CVE-2023-1829
    - [Config]: Make sure CONFIG_NET_CLS_TCINDEX is not available

  * [IOTG][RPL] Enable Time Coordinated Compute interface driver (LP: #2012755)
    - tcc: driver should exit if no psram entry found in PTCT.
    - tcc: tcc drvier should not exit even if no psram entry.
    - Add new IOCTL to read error log buffer.
    - Display errlog buffer raw data in kernel log as requested once this driver
      is loaded.
    - Fix issue found in acrn uos when convert cacheid to apicid.
    - tcc: rounding possible non page-aligned ssram address
    - Support RPL in measurement function.
    - Assume default hardware prefetch bitmask in measurement function.
    - tcc: fix patch style problem
    - tcc: Map and show crl version number in /proc.
    - tcc: Update hardware prefetcher disable bits for ADL and RPL in cache
      hit/miss measurement.
    - tcc: Choose different L3 cache miss perf event for ADL-N.

  * [IoTG] Integrated TSN controller (stmmac) driver commits tracker
    (LP: #2017934)
    - fixup! net: phy: marvell10g: Add WAKE_PHY support to WOL event
    - taprio: Add bitmask checking based on the traffic class
    - net: stmmac: Add check for supported EEE advertisement
    - net: stmmac: update EEE status when mac link goes down
    - net: stmmac: Check and exit when coalesce rx-usecs is equal to 0
    - net: phy: add wrapper function for setup master slave setup
    - net: phy: dp83867: add TI PHY loopback
    - net: stmmac: add check for supported mode before speed/advertising change
    - net: stmmac: Adjust mac_capabilities for Intel mGbE 2.5G mode
    - net: stmmac: check CBS input values before configuration
    - stmmac: intel: Separate ADL-N device ID from TGL
    - net: stmmac: Add check for taprio basetime configuration
    - net: stmmac: fix deadlock caused by taking RTNL in RPM resume path
    - net: phy: dp83867: perform phy reset after modifying auto-neg setting
    - Revert "net: stmmac: trigger PCS EEE to turn off on link down"
    - net: stmmac: add check for advertising linkmode request for set-eee
    - taprio: Add boundary check for sched-entry values
    - taprio: Fix no error return when entering invalid gatemask value
    - stmmac: intel: PCH MSI arbitration WA for HW bug
    - igc: Add BTF based metadata for XDP
    - net: stmmac: Fix 'no previous prototype' build warning
    - igc: Enable HW RX Timestamp for AF_XDP ZC
    - net/core: XDP metadat...

Changed in linux-intel-iotg (Ubuntu Jammy):
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.