From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932146AbdHWPwr (ORCPT ); Wed, 23 Aug 2017 11:52:47 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40848 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754129AbdHWPwp (ORCPT ); Wed, 23 Aug 2017 11:52:45 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DED4060115 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH v7 1/2] PCI: iproc: Retry request when CRS returned from EP To: Oza Oza , Bjorn Helgaas Cc: Bjorn Helgaas , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , Jon Mason , BCM Kernel Feedback , Andy Gospodarek , linux-pci , linux-kernel@vger.kernel.org, Oza Pawandeep , Timur Tabi , Alex Williamson References: <1503331124-25029-1-git-send-email-oza.oza@broadcom.com> <1503331124-25029-2-git-send-email-oza.oza@broadcom.com> <20170822203347.GE6948@bhelgaas-glaptop.roam.corp.google.com> <20170823135140.GA8498@bhelgaas-glaptop.roam.corp.google.com> From: Sinan Kaya Message-ID: Date: Wed, 23 Aug 2017 11:52:40 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oza, > In working Enumuration case I get following: > [ 9.125976] pci 0000:00:00.0: bridge configuration invalid ([bus > 00-00]), re-configuring > [ 9.134267] where=0x0 val=0xffff0001 > [ 9.146946] where=0x0 val=0xffff0001 > [ 9.158943] where=0x0 val=0xffff0001 > [ 9.170945] where=0x0 val=0xffff0001 > [ 9.186945] where=0x0 val=0xffff0001 > [ 9.210944] where=0x0 val=0xffff0001 > [ 9.250943] where=0x0 val=0xffff0001 > [ 9.322942] where=0x0 val=0xffff0001 > [ 9.458943] where=0x0 val=0xffff0001 > [ 9.726942] where=0x0 val=0x9538086 >> actual vendor and device id. > > so I think I have to retry in RC driver, so the old code still holds good. > except that I have to do factoring out You need to return 0xFFFF0001 for vendor ID register and return 0xFFFFFFFF for other registers like COMMAND register during the CRS period. > > please let me know If I missed anything, or you want me to try anything else. Sinan