PCI: thunder-pem: Add legacy firmware support for Cavium ThunderX host controller
During early days of PCI quirks support, ThunderX firmware did not provide PNP0c02 node with PCI configuration space and PEM-specific register ranges. This means that for legacy FW we are not reserving these resources and cannot gather PEM-specific resources for further PEM initialization. To support already deployed legacy FW, calculate PEM-specific ranges and provide resources reservation as fallback scenario into PEM driver when we could not gather PEM reg base from ACPI tables. Tested-by: NRobert Richter <rrichter@cavium.com> Signed-off-by: NTomasz Nowicki <tn@semihalf.com> Signed-off-by: NVadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Acked-by: NRobert Richter <rrichter@cavium.com> CC: stable@vger.kernel.org # v4.10+
Showing
想要评论请 注册 或 登录