Skip to content

fsi: Fixes and Coldfire coprocessor offload

Benjamin Herrenschmidt linux-aspeed linux-devicetree lkml openbmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14devres: Add devm_of_iomap()include/linux/device.h lib/devres.c+40 -00 replies
2/14fsi: Move code around to avoid forward declarationdrivers/fsi/fsi-core.c+46 -480 replies
3/14fsi: Add mechanism to set the tSendDelay and tEchoDelay valuesdrivers/fsi/fsi-core.c drivers/fsi/fsi-master.h+93 -181 reply
4/14fsi: master-gpio: Rename and adjust send delaydrivers/fsi/fsi-master-gpio.c+6 -30 replies
5/14fsi: master-gpio: Add support for link_configdrivers/fsi/fsi-master-gpio.c+25 -21 reply
6/14fsi: master-gpio: Add more tracepointsdrivers/fsi/fsi-master-gpio.c include/trace/events/fsi_master_gpio.h+69 -62 replies
7/14fsi: master-gpio: Remove unused definitionsdrivers/fsi/fsi-master-gpio.c+0 -61 reply
8/14fsi: master-gpio: Remove "GPIO" prefix on some definitionsdrivers/fsi/fsi-master-gpio.c+36 -341 reply
9/14fsi: master-gpio: Add missing release functiondrivers/fsi/fsi-master-gpio.c+17 -111 reply
10/14fsi: Move various master definitions to a common headerdrivers/fsi/fsi-master-gpio.c drivers/fsi/fsi-master.h+33 -291 reply
11/14dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device"Documentation/devicetree/bindings/fsi/fsi-master-ast-cf.txt+36 -05 replies
12/14fsi: master-ast-cf: Add new FSI master using Aspeed ColdFiredrivers/fsi/Kconfig drivers/fsi/Makefile drivers/fsi/cf-fsi-fw.h +2 more+1667 -01 reply
13/14arm: dts: OpenPower Romulus system can use coprocessor for FSIarch/arm/boot/dts/aspeed-bmc-opp-romulus.dts+13 -21 reply
14/14arm: dts: OpenPower Palmetto system can use coprocessor for FSIarch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts+24 -71 reply

Reviews trailers per patch

8 of 14 patches have a Reviewed-by or Acked-by.

PatchJoel Stanley
1/14
2/14
3/14R-b
4/14
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14A-b
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] fsi: Fixes and Coldfire coprocessor offload

This series implements support for offloading the FSI protocol bitbanging to the ColdFire secondary core of the Aspeed SoCs. The result increases FSI performance by a factor of 4, and on systems that don't support async FSI clock, provide much more regular and continuous clocking which helps reliability.

Patch 1 may go a different route and was already posted a few weeks ago, I included it for completeness.

Patches 2..9 add some infrastructure to the FSI core to control some of the FSI protocol delays and adjustements/fixes to the existing GPIO bitbanging master. They are "mechanical" dependencies

Patch 10 moves some protocol definitions to a common place where the new master driver can find them

Patch 11 is the DT binding for the new driver with comes with patch 12

Finally patch 13 and 14 update the Romulus and Palmetto board device-trees to use the new driver.

There's another dependency on the Aspeed GPIO driver changes for handling with GPIO lines ownership and handshaking. The patches have been submitted and can be found for reference there:

https://github.com/ozbenh/linux-ast/commits/gpio

Finally, the driver needs a machine specific firmware file. The firwmare is open source and available at:

https://github.com/ozbenh/cf-fsi

I will submit it to linux-firmware if there's enough popular demand ;-)