Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 581B0C77B75 for ; Fri, 21 Apr 2023 03:56:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4449886160; Fri, 21 Apr 2023 05:56:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1682049375; bh=o+UYn8MBAcuhrmtvVzXrZhdGsckKIk17JpKfP5RpPdk=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=u1xxtit3k/Dzt2RF7sN0qvsgo9dfsr60DeeVbFjZ6Z5nJWpOwTQNxd8bTfn7Rm/l2 gxf6t2km5+yKWUibqaqCzryxhx7UJjkKiv3GuOE69negfi2x56WkjrSq2g6KWml4vQ SWE2x2r3kMIActOcfFfJMaIYUt2v00KufbQY9XHkgOVWOGqLSxGuJqVVdPKwFmO4HO RFPx/VN2OWeKPtXfXTlJwUTDdwzH7McYW+CiyzZ7Kr07lBVARW+DRnjh689mM2wxIc QNYIXHBPL7HogjNw+ba+YK2wm1t5vX42WyLS+0fA7wiA4a1rSTvMfz9nKibRieD40a 0Fo395hoGzUkg== Received: from [192.168.1.107] (87-97-106-216.pool.digikabel.hu [87.97.106.216]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hs@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B38D08607B; Fri, 21 Apr 2023 05:56:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1682049374; bh=o+UYn8MBAcuhrmtvVzXrZhdGsckKIk17JpKfP5RpPdk=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=h4FsAVzsD4H24Hvd+QHkVjZSJxCudEvKFYT3n/1aYmwgjwDzRjkrLMI4Ax7rXiuBQ ZFJWRKsJnnZh2r64sssAewgYUeuc8ftQtGvF602woFJIIIW+T4i2IG6vUHQVh/7Qy4 FZ5u9dNvyI/lacd4ufF56AjWg5VNcZFoftdh38OkTIdibo17OzlyWyhIH3Kr8qGUAT B9SnBLgACljoVJqJCIBkEKsVI9nc0Fmy6DZ3tTFMSQUBM4rEOZoA5LhEGTTFeiWp0y E4NR0QWio0pPp47LskFANW75Wq7Gbhp7JQvhaFie6UKWnSESSMVLxcFsl9rnl4tB4X YKG1MN48llgEA== Subject: Re: [PATCH u-boot 2/3] pci: fsl: Do not access PCI BAR0 register of PCIe Root Port To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: u-boot@lists.denx.de References: <20230420194425.25224-1-pali@kernel.org> <20230420194425.25224-3-pali@kernel.org> From: Heiko Schocher Message-ID: <0aeefa33-abc0-3902-8a55-c23cdec4d06a@denx.de> Date: Fri, 21 Apr 2023 05:56:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20230420194425.25224-3-pali@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: hs@denx.de Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hello Plai, On 20.04.23 21:44, Pali Rohár wrote: > Freescale PCIe Root Port has PEXCSRBAR register at position of PCI BAR0. > PCIe Root Port does not have any PCIe memory, so returns zero when trying > to read from PCIe Root Port BAR0 and ignore any writes. > > Signed-off-by: Pali Rohár > --- > drivers/pci/pcie_fsl.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) Reviewed-by: Heiko Schocher Thanks! bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de