Re: [PATCHv4 1/2] ppc64: perform proper max_bus_speed detection

2013-05-02 Thread Kleber Sacilotto de Souza
; Hi Tony, It seems Lucas' change is a bit incomplete and is not handling the reference counter to the device_node correctly. Is the following change what you had in mind? dn = pcibios_get_phb_of_node(bus); if (!dn) retur

Re: [PATCHv4 1/2] ppc64: perform proper max_bus_speed detection

2013-05-03 Thread Kleber Sacilotto de Souza
On 05/03/2013 03:40 AM, Tony Breeds wrote: > On Thu, May 02, 2013 at 12:21:37PM -0300, Kleber Sacilotto de Souza wrote: > >> Hi Tony, >> >> It seems Lucas' change is a bit incomplete and is not handling the reference >> counter to >> the device_node co

[PATCHv5 0/2] Speed Cap fixes for ppc64

2013-05-03 Thread Kleber Sacilotto de Souza
simple radeon changes not to call drm_get_pcie_speed_cap_mask anymore. I assume that on x86 machines, the max_bus_speed property will be properly set already. Kleber Sacilotto de Souza (2): ppc64: perform proper max_bus_speed detection radeon: use max_bus_speed to activate gen2 speeds arch/powerp

[PATCHv5 1/2] ppc64: perform proper max_bus_speed detection

2013-05-03 Thread Kleber Sacilotto de Souza
which is called by pci_create_root_bus(). From: Lucas Kannebley Tavares Signed-off-by: Kleber Sacilotto de Souza --- arch/powerpc/include/asm/machdep.h |3 ++ arch/powerpc/kernel/pci-common.c |8 arch/powerpc/platforms/pseries/pci.c | 53

[PATCHv5 2/2] radeon: use max_bus_speed to activate gen2 speeds

2013-05-03 Thread Kleber Sacilotto de Souza
Sacilotto de Souza --- drivers/gpu/drm/radeon/evergreen.c | 10 +++--- drivers/gpu/drm/radeon/r600.c |9 ++--- drivers/gpu/drm/radeon/rv770.c |9 ++--- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm

Re: [PATCHv5 0/2] Speed Cap fixes for ppc64

2013-05-15 Thread Kleber Sacilotto de Souza
On 05/06/2013 11:32 AM, Alex Deucher wrote: On Fri, May 3, 2013 at 7:01 PM, Benjamin Herrenschmidt wrote: On Fri, 2013-05-03 at 19:43 -0300, Kleber Sacilotto de Souza wrote: This patch series does: 1. max_bus_speed is used to set the device to gen2 speeds 2. on power there's no l

Re: [PATCHv5 0/2] Speed Cap fixes for ppc64

2013-05-15 Thread Kleber Sacilotto de Souza
On 05/15/2013 09:58 AM, Alex Deucher wrote: On Wed, May 15, 2013 at 8:35 AM, Kleber Sacilotto de Souza wrote: On 05/06/2013 11:32 AM, Alex Deucher wrote: On Fri, May 3, 2013 at 7:01 PM, Benjamin Herrenschmidt wrote: On Fri, 2013-05-03 at 19:43 -0300, Kleber Sacilotto de Souza wrote

[PATCH 1/2] powerpc/pseries: fix regression on PCI link speed

2014-01-17 Thread Kleber Sacilotto de Souza
x27;s done by the helper functions. Signed-off-by: Kleber Sacilotto de Souza --- arch/powerpc/platforms/pseries/pci.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/platforms/pseries/pci.c b/arch/powerpc/platforms/pseries/pci.c index 70670a2..a6

[PATCH 0/2] Fixes for PCI-E link speed

2014-01-17 Thread Kleber Sacilotto de Souza
These two patches fix problems on the PCI-E link speed detection. The first one fixes a regression and adds some improvements on the code, and the second one adds definitions for Gen3 speeds. Kleber Sacilotto de Souza (2): powerpc/pseries: fix regression on PCI link speed powerpc/pseries: add

[PATCH 2/2] powerpc/pseries: add Gen3 definitions for PCIE link speed

2014-01-17 Thread Kleber Sacilotto de Souza
bus via the "ibm,pcie-link-speed-stats" device-tree property. This patch updates pseries_root_bridge_prepare() to detect Gen3 speed buses (defined by 0x04). Signed-off-by: Kleber Sacilotto de Souza --- arch/powerpc/platforms/pseries/pci.c |6 ++ 1 files changed, 6 insert

Re: [PATCH 0/2] Fixes for PCI-E link speed

2014-01-31 Thread Kleber Sacilotto de Souza
On 01/17/2014 11:56 AM, Kleber Sacilotto de Souza wrote: These two patches fix problems on the PCI-E link speed detection. The first one fixes a regression and adds some improvements on the code, and the second one adds definitions for Gen3 speeds. Kleber Sacilotto de Souza (2): powerpc

[PATCH] powerpc/eeh: check handle_eeh_events() return value

2012-07-12 Thread Kleber Sacilotto de Souza
-off-by: Kleber Sacilotto de Souza --- arch/powerpc/platforms/pseries/eeh_event.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/pseries/eeh_event.c b/arch/powerpc/platforms/pseries/eeh_event.c index 4cb375c..fb50631 100644 --- a/arch/powerpc