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 4A383C77B61 for ; Mon, 17 Apr 2023 05:13:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B334185ECB; Mon, 17 Apr 2023 07:13:28 +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=1681708408; bh=HHLHsL1bQ/hVEMSVpiznoADCH3UV45IrMXA3ugh+vPA=; 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=SSHCoS5hL95zdKU4AD8DXFEbYUs+NxX/d3A+arfnKhhmhCv68WoSPCknQboe37Fop uWC0vdl51doxq2UaIh13E1SlNmhesuG4ZSLZU1s9hkGHxjSvDghpP8o3Cmax4nuJ0w mMB0ibX9r8DV2XOht8aDKLPNqNtjVBi179wQKbkc8qvDe9eiCbDCC7Vd4ilv9LlkP/ 1sZHdFZ2gcNnWKbx6hSrvzq2tWuHduIDbYq71J007xxGBO7r6MPv/UUiZzBeS3CWai jBDh6dpS1KzkB5OixjpBXU1ifzbBpDM2szdaf3O7RJIhs9d2vuJSyIwgmC5T+9HMSo AnTz76xC0Figg== 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 51D2885CB5; Mon, 17 Apr 2023 07:13:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1681708406; bh=HHLHsL1bQ/hVEMSVpiznoADCH3UV45IrMXA3ugh+vPA=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=mKCWrWzAWzD+dbfsW5BrnZ5rAcLXYKsq8nVNWxVQ0oVB68fBwjKzrxlG7x7ssQkSq VcIvbnkIaBAauqpixRyyitInUP+XXJ35O/JtyBqVka2Pwt82+a5xV7Ix8uIKWntN6l 5cyLZ6e6y3qZN7hSPnFuvSFfcn8gOzlFgVCL77xYbTJ6VjqWpGLHBcDtKscy0eFcgr uwQF7NnuUK3yY/CNll9Y3ETKLt4oz3DJoGRBJuymVqgmOcNe6DT51g/3SND1sR55z/ xiFAc9XdnkbUZhNI18D48xswU/tbpHMP0X4rPRJh2iR18BO7iRK6kYgWII+95YoH/6 0KX0ZBFlLt3/Q== Subject: Re: [PATCH u-boot 2/3] pci: mpc85xx: Allow 8/16-bit access to PCI config space To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: u-boot@lists.denx.de References: <20230413204146.9318-1-pali@kernel.org> <20230413204146.9318-3-pali@kernel.org> From: Heiko Schocher Message-ID: Date: Mon, 17 Apr 2023 07:13:32 +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: <20230413204146.9318-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 Pali, On 13.04.23 22:41, Pali Rohár wrote: > This Freescale mpc85xx PCI controller should support 8-bit and 16-bit read > and write access to PCI config space as described in more Freescale > reference manuals. > > This change fixes issue that 8-bit and 16-bit write to PCI config space > caused to clear adjacent bits of 32-bit PCI register. > > Signed-off-by: Pali Rohár > --- > drivers/pci/pci_mpc85xx.c | 26 ++++++++++++++++++++++++-- > 1 file changed, 24 insertions(+), 2 deletions(-) Thanks! Reviewed-by: Heiko Schocher Tested-by: Heiko Schocher 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