pcie: Support PCIe Gen5/Gen6 link speeds
commitc08da86dc412cd44039bc78df02227578bc06268
authorLukas Stockner <lstockner@genesiscloud.com>
Thu, 15 Feb 2024 01:23:26 +0000 (15 02:23 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 12 Mar 2024 21:56:55 +0000 (12 17:56 -0400)
tree15ebe027e6b73719009fc52c3e830735315cb41b
parent52767e1063beaa17d59c739efd0b9c342923929d
pcie: Support PCIe Gen5/Gen6 link speeds

This patch extends the PCIe link speed option so that slots can be
configured as supporting 32GT/s (Gen5) or 64GT/s (Gen5) speeds.
This is as simple as setting the appropriate bit in LnkCap2 and
the appropriate value in LnkCap and LnkCtl2.

Signed-off-by: Lukas Stockner <lstockner@genesiscloud.com>
Message-Id: <20240215012326.3272366-1-lstockner@genesiscloud.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/qdev-properties-system.c
hw/pci/pcie.c
include/hw/pci/pcie_regs.h
qapi/common.json