Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1330828pxu; Thu, 8 Oct 2020 08:56:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN9cyYWlSYVFnhze0Lgu1D3bEN6uKj1NBd1BwpEhWxUnnnr/ieBY4nWthVcTv3s823SXhC X-Received: by 2002:a17:906:11d6:: with SMTP id o22mr9686872eja.171.1602172570370; Thu, 08 Oct 2020 08:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602172570; cv=none; d=google.com; s=arc-20160816; b=JOJj9Qk1mNV24c54RBf8myRE+/6SF6XpbjZN1Yz2j/w6B2YFDWyE9BkGlmf4Nafpmz mxQViY5C8hvb/ZtwhZlMLkW3fIu6GPOCNVR+tswxhKIe+KXoAHvOdzaS4SWc2e5g7nK9 xUB67NEuTI+3UcJGsIj9i3XQ5uwDnfRxNfgAZKx+TZFYBxY0VY8XHSeSsDw7vpODzTxB wDLHRMLPe4cAbrw/86L/5JDrfxRg344/uDAgkKEna43FGxab2CMAfMOGUDLiWIFgfWHk qf9O83UYvkkGTaW3qM8Ygj8fYYitcrnmQN+E5WGJtspNeeCpeuaIYZTP4eV4N4gKresd GYIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ldFblXWd5sfGylLeFYYVOjRpmCcR8pTG1GXhA+p1P1M=; b=RxeSn7kvWoUC7KS7K2P12m4sl0s7/ukepCLpq2L+J09OAqs6fsJUm2uzY5U9YL90IA LcUb8omkE0hW63U80O3uQcqNcsBJhUK2IDUClrOrlARoQKhD1O+iIPnHnGfEe+Axpvfq 77pQcuTRWFVgj1EPLkMlhMmwvlXTNR+r8vwpHAcB61qkevb2brE1mkOzHwWx33vSU50S q1dGIeZykgQH4gvDbxbZXKCUsj1cnhqayR9UCdXiN/dz4SL2BnZNnjt5SZvITKT7cF1H 10JYBtJgZIV9pZpljne+aW7kl4fI+MdT1UYKzYAx9gD1SD5z3nM8rjq8Ps2pOUIRVSHn 9mXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv16si3838473ejb.636.2020.10.08.08.55.46; Thu, 08 Oct 2020 08:56:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730841AbgJHPI0 (ORCPT + 99 others); Thu, 8 Oct 2020 11:08:26 -0400 Received: from foss.arm.com ([217.140.110.172]:33994 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729833AbgJHPI0 (ORCPT ); Thu, 8 Oct 2020 11:08:26 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B95EB1063; Thu, 8 Oct 2020 08:08:25 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 83FE23F70D; Thu, 8 Oct 2020 08:08:24 -0700 (PDT) Date: Thu, 8 Oct 2020 16:08:19 +0100 From: Lorenzo Pieralisi To: Kishon Vijay Abraham I Cc: Rob Herring , Gustavo Pimentel , "Z.q. Hou" , "linux-kernel@vger.kernel.org" , PCI , Bjorn Helgaas , Michael Walle , Ard Biesheuvel Subject: Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops Message-ID: <20201008150819.GA3871@e121166-lin.cambridge.arm.com> References: <20200928093911.GB12010@e121166-lin.cambridge.arm.com> <9ac53f04-f2e8-c5f9-e1f7-e54270ec55a0@ti.com> <67ac959f-561e-d1a0-2d89-9a85d5f92c72@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67ac959f-561e-d1a0-2d89-9a85d5f92c72@ti.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 01, 2020 at 07:02:04PM +0530, Kishon Vijay Abraham I wrote: [...] > >> Yeah, I don't see any registers in the DRA7x PCIe wrapper for disabling > >> error forwarding. > > > > It's a DWC port logic register AFAICT, but perhaps not present in all versions. > > Okay. I see there's a register PCIECTRL_PL_AXIS_SLV_ERR_RESP which has a > reset value of 0. > > It has four bit-fields, RESET_TIMEOUT_ERR_MAP, NO_VID_ERR_MAP, > DBI_ERR_MAP and SLAVE_ERR_MAP. I'm not seeing any difference in behavior > if I set all these bits. Maybe it requires platform support too. I'll > check this with our design team. > > Meanwhile would it be okay to add linkup check atleast for DRA7X so that > we could have it booting in linux-next? Do you mind sending a patch on top of my pci/dwc please ? Thanks, Lorenzo