Meeting Notes, June 14, 2021 - dentproject/upstream GitHub Wiki

DENT Upstream Working Group

Attendees

  • Luka Perkov (Sartura; principal)
  • Robert Marko (Sartura; kernel devel)
  • Jakov Petrina (Sartura; build system)
  • Taras Chornyi (Plvision; switchdev developer)
  • Jon Polom (Department of Defense; research engineer)

Agenda

  • Delta TN48M-P-DN
    • v6 patches for CPLD have been accepted but not merged yet. Pending is the documentation review. Once this happens the v6 series should be merged.
    • v4 patches for PSU have been merged
  • EdgeCore AS5114-48X
    • Reworking internal patches to match the TN48M-P-DN approach
  • Delta TX4810
    • Devices have arrived and the further work is on hold until the above is resolved
  • U-Boot & ATF for Armada 7k CPU on TN48M-P-DN
    • Waiting for patch from Delta
  • Upstream quirks
  • Replica.One Open Source status
    • Published and available here.

TN48M-P-DN

Already merged:

Waiting to be merged v6 patches for:

  • CPLD drivers
    • MFD - moved to used simple i2c mfd
    • GPIO - rewriten to use GPIO REGMAP and updated MFD, it is reviewed and acked
    • Includes reset driver to satisfy the MFD requirements
  • Appropriate documentation and DT bindings

Open points from the community:

  • Collaboration with upstream community revealed that SMBus block reads are not supported within the i2c controller driver.
    • Patch for the above will be made by the hwmon Maintainer and it is pending
      • Robert will send a kindly reminder to the maintainer

Once CPLD driver is merged Sartura's team plans to send:

  • A debug driver in order to expose information from CPLD
  • Final board support with respective device tree files

The roadmap includes:

  • PSU fan PWM control, currently this property is read-only

Some patches have made it into their respective trees for 5.14 release inclusion but not all. All of the above is more likely to land in 5.15 rather than in 5.14.

Once this work is completed the device will be fully supported upstream. The UWG will provide demonstration to TSC and discuss in more detail the benefits of upstream developments.

UWG will also share to the TSC how both silicon vendors are able to reuse kernel infrastructure and replace out-of-tree ONLP driver.

TX4810

The upcomming work includes the board support via device tree infrastructure. We have prioritiezed this device due to the simmilarities with TN48M-P-DN since a lot of .dts nodes can be reused on both devices.

There are some open points being discussed with Delta related to Spectrum firmware. The plan is to have a prototype done upon finding acceptable long term solution. In nutshell, the firmware is related to the kernel version and there is no updated and public available firmware binary for this specific device.

This board support also depends on the acceptance of the device tree drivers for TN48M-P-DN which are not yet sent.

AS5114-48X

This is the status as of today with the items that are tested and working:

  • Console
  • USB
  • Management ethernet
  • CPLD MFD driver
  • CPLD GPIO driver
  • MAC parsing from EEPROM
  • Switch with SFP+ ports
  • Temperature sensors
  • TPM
  • I2C buses
  • I2C multiplexing
  • SATA
  • Fan monitoring
  • Fan control

The above drivers are being reworked in order to be aligned with accepted and pending TN48M patches. First series is planned to be sent this or early next week and expected to hit 5.15 merge window.

systemd

nvmem parser

Vadym has sent out a new version to the mailing lists:

Prestera status

In upstream Linux the Prestera driver has a basic functionality. Marvell has out-of-tree patches on top of this driver which provide more features.

New features are expected soon from Marvell. Currently are being discussed storm control feature.