From: Lucas Kannebley Tavares luca...@vnet.linux.ibm.com
This patch series does:
1. max_bus_speed is used to set the device to gen2 speeds
2. on power there's no longer a conflict between the pseries call and other
architectures, because the overwrite is done via a ppc_md hook
3. radeon is
From: Lucas Kannebley Tavares luca...@linux.vnet.ibm.com
On pseries machines the detection for max_bus_speed should be done
through an OpenFirmware property. This patch adds a function to perform
this detection and a hook to perform dynamic adding of the function only for
pseries. This is done by
From: Lucas Kannebley Tavares luca...@linux.vnet.ibm.com
radeon currently uses a drm function to get the speed capabilities for
the bus, drm_pcie_get_speed_cap_mask. However, this is a non-standard
method of performing this detection and this patch changes it to use
the max_bus_speed attribute.
From: Lucas Kannebley Tavares luca...@linux.vnet.ibm.com
Betters support for gen2 speed detections on PCI buses on ppc64
architectures.
Signed-off-by: Lucas Kannebley Tavares luca...@linux.vnet.ibm.com
---
arch/powerpc/platforms/pseries/pci.c | 32
1 files
From: Lucas Kannebley Tavares luca...@linux.vnet.ibm.com
This function was more architecture related than drm related, as such it was
moved to the PCI driver.
This patch also allows it to be overwritten by architecture-dependent
implementations, and fixes the radeon driver (only one that uses
This patch series at first moves get_speed_cap_mask from DRM to PCI, fixes all
radeon references (only driver that uses it) and then implements a architecture
specific implementation for ppc64 for it.
This is good because the drm_pcie_get_speed_cap_mask function is more
architecture goo than