siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
129 stars 76 forks source link

linux-iot2050: Update to v6.1.54-cip6[-rt3] #491

Closed diogo-ivo closed 8 months ago

diogo-ivo commented 8 months ago

This PR includes all patches 5.10 except some prueth functionality still being upstreamed by TI, namely:

BaochengSu commented 8 months ago

This PR includes all patches 5.10 except some prueth functionality still being upstreamed by TI, namely:

  • net: ethernet: ti: icssg_prueth: add TAPRIO offload support
  • net: ethernet: ti: icssg_prueth: Add helper functions to configure FDB
  • net: ethernet: ti: icssg_switch: Add switchdev based driver for ethernet switch support
  • net: ethernet: ti: icssg_prueth: Add support for ICSSG switch firmware on AM654 PG2.0 ------------------------------- Current upstream attempts stop here--------------------------------------------
  • net: ethernet: ti: icssg_prueth: add IET Frame preemption utilities
  • net: ethernet: ti: icssg_prueth: add priv-flags to configure IET FPE
  • net: ethernet: ti: icssg_prueth: enable IET/FPE feature configuration
  • net: ethernet: ti: icssg_prueth: Support for transparent ASEL handling
  • net: ethernet: ti: icssg_prueth: move phy init in .ndo_open/close()
  • net: ethernet: ti: icssg_prueth: fix init after adding switchdev
  • net: ti: icssg_prueth: Fix NULL pointer deference during probe
  • net: ti: icssg_qos: Remove icssg_qos_cleanup()
  • net: ti: icssg_qos: Fix IET Frame Preemption disable path
  • net: ti: icssg_prueth: Fix NULL pointer deference during remove
  • net: ti: icssg_prueth: Support multiple TX timestamp requests
  • net:ti:icssg: select NET_DEVLINK
  • net: ethernet: ti: icssg_prueth: Restore half-duplex support
  • net: ethernet: ti: icssg_prueth: fix devlink port register sequence
  • net: ti: icssg_prueth: clean up pending TX timestamp requests at link down
  • net: ti: icssg_prueth: fix missed back to back TX timestamp responses
  • net: ti: icssg-prueth: move phy_connect()/phy_disconnect()
  • net: ethernet: ti: icssg_prueth: Use page_pool API for RX buffer allocation
  • net: ethernet: ti: icssg_prueth: introduce and use prueth_swdata struct for SWDATA
  • net: ethernet: ti: icssg_prueth: Add AF_XDP support
  • net: ethernet: ti: icssg_prueth: Remove Rx enable in init sequence
  • net: ethernet: ti: icssg_prueth: Initialize emac speed on SR1.0

Better to add this information to the commit message body, so later people could easily get this information without opening this PR.

jan-kiszka commented 8 months ago

Let's split the commit into 2, first adding 6.1 then dropping 5.10. Makes them a bit more handy.

jan-kiszka commented 8 months ago

But none of those patches in the commit log are part of this MR. I don't think this makes sense to mention here.

I'm way more interested in the line where backporting stops and SDK or own patches start. Please clarify that.

jan-kiszka commented 8 months ago

OTOH, when reading "Fix NULL pointer deference" more than once in that list of to-be-integrated patches: Are none of those fixes relevant for the patches we already carry, ie. are they only addressing issues from that extra patch list?

diogo-ivo commented 8 months ago

Regarding the line, that is what TI is currently addressing in the mailing lists, specifically in 1, meaning that everything below that line is still only present in the SDK and my guess is that it will be mainlined after the features in 1 are added. The fix NULL dereference patches are relevant for the code added in 1 as well, but since the mailing list version already includes that fix by default they won't be needed in our patch list.

jan-kiszka commented 8 months ago

Needs rebasing over master but looks good otherwise (except for that annotation detail).

jan-kiszka commented 8 months ago

@diogo-ivo I've patched some issues, and the result looks now good to me. Still not understood is the probing race, but I noticed that it is gone with 6.6-rcX. We might be missing some patch.

@BaochengSu I think we can merge this and move forward with testing.

BaochengSu commented 8 months ago

Sure, let's move forward