Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3321916pxu; Mon, 19 Oct 2020 09:15:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzSZhXb0QXr6YzQg7C0/+nWRLbo+Fbs/UBFU0WAr8Im16GPkHQEjGtv3/Oszj7tzlKLcCW X-Received: by 2002:a05:6402:943:: with SMTP id h3mr591125edz.88.1603124130784; Mon, 19 Oct 2020 09:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603124130; cv=none; d=google.com; s=arc-20160816; b=LS8Bk03ZiXjDXwE+aumk+CQQvIoGpJ8U7CtNZ+jeJs+M9oiA+aNfpRzoAlZ4DLKGNT I4PXsJD3GIt9RqpzVUgbeCcAi+knuRM97ZOP9V+QWuAFxIafZXDZtoih8C5kb3sOPypq IheesszTnrrXVBK23wsEKbGF9FOpmXrmAt0K8o3LLtukf77O9ZxtpinZ77A3Np2xhaCO iWek94HUl1KMpVjhjrtPu+oBE60Tu5AwW/musENFQckLhg6aSXoeeD2385WEb0glr6uu uBQL8nnRAO+28BcGnqqS2F82hi9Zvi6nUoLPh9/lYrkWB3oWfYT2o12VoneI/+PLGoAz 5Xsw== 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=YQw/ie/yCC7LvlT4+lfG8YhvQk/ctyGlJUhF72FMLd4=; b=RoTl3fxaoUJEqSco+ATDDYbPKMkbL9XMxLrkUVfl68da9s/+azkC+kR3/hzN75I1IV VnwhvKiJ3nJ+FiLU7n+4ngF2TuLhQY4DbmhLpQhVB9J2+BzJtcvQ99NZXC2Mz5r3BVle jDds8CDey0Gi7pqyb8Cb1Y92FMw4RX+9B2HjwxIa9/aI928woDAaOFMR6mNpLDP41xUC fUiuegr6oHSGP+U5sjnrQWmLHqfPZKsiXmE/51Ah19XJKdeRc1GefVOIEvBr+Sezk43i RVQST3Go2YxjnL4vcLffhUPxdoa2YBONKafYvOyJTwCpD3GYNWa6BfbiMH7kPAxHofSR V44Q== 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 e9si249704ejd.398.2020.10.19.09.15.08; Mon, 19 Oct 2020 09:15:30 -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 S1730527AbgJSQNs (ORCPT + 99 others); Mon, 19 Oct 2020 12:13:48 -0400 Received: from foss.arm.com ([217.140.110.172]:32928 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730504AbgJSQNr (ORCPT ); Mon, 19 Oct 2020 12:13:47 -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 2263F1FB; Mon, 19 Oct 2020 09:13:47 -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 DF6953F66B; Mon, 19 Oct 2020 09:13:45 -0700 (PDT) Date: Mon, 19 Oct 2020 17:13:31 +0100 From: Lorenzo Pieralisi To: "Z.q. Hou" Cc: Kishon Vijay Abraham I , Rob Herring , Gustavo Pimentel , "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: <20201019161311.GA9813@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: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 12, 2020 at 04:41:11AM +0000, Z.q. Hou 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. > > In DWC v4.40a databook, there is a bit AMBA_ERROR_RESPONSE_GLOBAL > which controls if enable the error forwarding. The *MAP bits only > determine which error (SLVERR or DECERR) will be forwarded to AXI/AHB > bus. I have not seen a follow-up to this but I would like to, still keen on avoiding this patch if possible - if this is port logic it should be common across controllers implementations I assume. Gustavo, Kishon ? Thanks, Lorenzo > Thanks, > Zhiqiang > > > > > Meanwhile would it be okay to add linkup check atleast for DRA7X so that > > we could have it booting in linux-next? > > > > Thanks > > Kishon