=== Marvell ARM64 SoCs support

Contact: Zyta Szpak <zr@semihalf.com> +
Contact: Kornel Dulęba <mindal@semihalf.com> +
Contact: Marcin Wojtas <mw@semihalf.com>

The Semihalf team is working on improving the FreeBSD support for the
link:https://www.marvell.com/content/dam/marvell/en/public-collateral/embedded-processors/marvell-infrastructure-processors-octeon-tx2-cn913x-product-brief-2020-02.pdf[Marvell Octeon TX2 CN913x] and link:https://www.marvell.com/content/dam/marvell/en/public-collateral/embedded-processors/marvell-embedded-processors-armada-7040-product-brief-2017-12.pdf[Armada 7k]/link:http://wiki.macchiatobin.net/tiki-index.php?page=Armada+8040[8k] SoC families.

Marvell Armada 7k8k and Octeon TX2 CN913x SoC families are quad-core 64-bit ARMv8 Cortex-A72 processors with high speed peripherals including 10 Gb Ethernet, PCIe 3.0, SATA 3.0 and USB 3.0 for a wide range of networking, storage, security and industrial applications.

Although the mentioned SoCs are mostly supported in FreeBSD HEAD, some pieces required improvements.

Applied changes:

* Upstream PCIE improvements
** PCIE Designware driver (pci_dw) fixes:
*** Correct setting of outbound I/O ATU window (link:https://cgit.freebsd.org/src/commit/?id=57dbb3c25936f0d61fef152eb224ca86a73af0e9[commit 57dbb3c25936])
*** Allow mapping ATU windows bigger than 4GB (link:https://cgit.freebsd.org/src/commit/?id=243000b19f8b4ab104b584b2d16bc6aa9131c9b5[commit 243000b19f8b])
** Generic improvements that enable proper user-space mapping and access of the PCI BARs - commits link:https://cgit.freebsd.org/src/commit/?id=f2f1ab39c04088ce53287528549e652cf68cee09[f2f1ab39c040] and link:https://cgit.freebsd.org/src/commit/?id=1c1ead9b94a1a731646327ec3b09e8f3acd577b8[1c1ead9b94a1]
* SDHCI improvements
** 64-bit DMA operation (link:https://cgit.freebsd.org/src/commit/?id=7d8700bc291b4b3be1a592cae539f9e682592d9d[commit 7d8700bc291b])
** sdhci_xenon UHS support (link:https://cgit.freebsd.org/src/log/?id=43e31350f8f67087b641d85520e20176e152dda7&qt=range&q=43e31350f8f6%5E..4fa977f854e2[commits 43e31350f8f6-4fa977f854e2])

TODO:

* Improve and merge ICU support rework (link:https://reviews.freebsd.org/D28803[D28803])

Sponsor: Marvell
