From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755493AbeDTOz0 (ORCPT ); Fri, 20 Apr 2018 10:55:26 -0400 Received: from mail-pg0-f41.google.com ([74.125.83.41]:42188 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755471AbeDTOzX (ORCPT ); Fri, 20 Apr 2018 10:55:23 -0400 X-Google-Smtp-Source: AIpwx4+/OpiC8c82qB7RQVbawcg3j/quvHujUaI8IBY5BBOoMaXX+BRNRF1x3Z7DQB0oO+gEOZKoAg== Date: Fri, 20 Apr 2018 08:55:21 -0600 From: Jason Gunthorpe To: "Deucher, Alexander" Cc: Bjorn Helgaas , Sinan Kaya , Bjorn Helgaas , "linux-pci@vger.kernel.org" , "sulrich@codeaurora.org" , "timur@codeaurora.org" , "linux-arm-msm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Mike Marciniszyn , Dennis Dalessandro , Doug Ledford , "open list:HFI1 DRIVER" , open list Subject: Re: [PATCH 1/2] IB/hfi1: Try slot reset before secondary bus reset Message-ID: <20180420145521.GB30433@ziepe.ca> References: <1524167784-5911-1-git-send-email-okaya@codeaurora.org> <20180419202632.GE14063@ziepe.ca> <20180419214722.GO28657@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 10:11:27PM +0000, Deucher, Alexander wrote: > My understanding was that some platfoms only bring up the link in > gen 1 mode for compatibility reasons. TBH, I'm not that familiar > with how the links come up on different platforms. Then the platform firmware or platform's linux PCI root complex driver should perform speed negotiation. Something like that shouldn't be a driver problem to solve. The driver should only be involved if it has to alter the device (eg new device firmware or something).. Jason