From mboxrd@z Thu Jan 1 00:00:00 1970 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 24011C77B60 for ; Sat, 29 Apr 2023 11:06:29 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B934C86280; Sat, 29 Apr 2023 13:06:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="hFlLBVYx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 81D8486290; Sat, 29 Apr 2023 13:06:25 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 33FFC86280 for ; Sat, 29 Apr 2023 13:06:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 45E7F60B37; Sat, 29 Apr 2023 11:06:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88FE8C433D2; Sat, 29 Apr 2023 11:06:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682766380; bh=nYDKRVi7VvxvCJnMvq9zjAmZbTLl4O+Dkmh61iaHOrE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hFlLBVYxriPG2P/LUqeGsVqcM491WNHDzT7xNqVrUNyEL29r2Wi+wJJ1kubpRuWLJ iKzhy89fcr7G9yQKOB/zkrLcDe6DvU6pNjVGSqIWt7LHl2egcav2lhWeXBAyfo4AKv YjZMSE5x49b5ln6h68McLcRWTNy/t+GpHpWnSHNNfhaJy7GYWobrZxM5PZdRRQkyg4 avfA/a3MFlxIj0GYwFAQts0JuypN56WOM3UyGSLvmyovSgNN9JQaGs0papoUdAj01b kN56o3Wp2voTiczn1of+1FLVBeNrIEIplv+fko9W9nEiEwQwOd2ZvENrmT9OiHnfFk GtuuyYWiNAkFw== Received: by pali.im (Postfix) id A44977AC; Sat, 29 Apr 2023 13:06:17 +0200 (CEST) Date: Sat, 29 Apr 2023 13:06:17 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Heiko Schocher Cc: u-boot@lists.denx.de Subject: Re: [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers Message-ID: <20230429110617.4unhmoolrd7k7545@pali> References: <20230420194425.25224-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 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: , 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 On Friday 21 April 2023 05:54:29 Heiko Schocher wrote: > Hello Pali, > > On 20.04.23 21:44, Pali Rohár wrote: > > Freescale PCI and PCIe controllers export in config space in BARs offset > > for BDF address 00:00.0 internal controller registers, instead of BAR > > registers. Avoid access to these registers to prevent overwriting them. > > > > Fixes autoconfiguration of PCI and PCIe devices on Freescale PowerPC > > platforms. > > > > Pali Rohár (3): > > pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0 > > pci: fsl: Do not access PCI BAR0 register of PCIe Root Port > > pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case > > > > drivers/pci/pci_auto.c | 4 ---- > > drivers/pci/pci_mpc85xx.c | 12 ++++++++++++ > > drivers/pci/pcie_fsl.c | 14 ++++++++++++++ > > 3 files changed, 26 insertions(+), 4 deletions(-) > > Many thanks for this series! Ok, is something more needed? > 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