From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23286 invoked by alias); 21 Jun 2004 09:58:22 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 23278 invoked from network); 21 Jun 2004 09:58:21 -0000 Date: Mon, 21 Jun 2004 09:58:00 -0000 To: eCos Maintainers Subject: FWD: [ECOS] Problem with PowerPC cache init order Message-ID: <20040621095820.GD2031@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040523i From: Andrew Lunn X-SW-Source: 2004-06/txt/msg00017.txt.bz2 Hi Folks Could somebody who knows about PPC caches take a look at this patch. Thanks Andrew ----- Forwarded message from "Retallack, Mark (Siemens)" ----- From: "Retallack, Mark (Siemens)" To: ecos-discuss@sources.redhat.com Date: Mon, 14 Jun 2004 13:50:04 +0100 Subject: [ECOS] Problem with PowerPC cache init order X-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 I have found a problem with the PowerPC architecture hal. The sequence for cache initialisation after reset (in hal_enable_caches) should be: unlock all invalidate all enable cache Instead it is: invalidate all unlock all enable cache This can cause problems if there are sections of the cache that are locked and contain invalid data. My target crashed with an exception when it needed to do a copyback after a first time power up (not a pretty sight!!). The copyback address was an invalid address. I have attached a patch to fix the problem. This works for the MPC850, but I do not know if it is correct for the complete PowerPC family. <> Mark Retallack Graduate Engineer Siemens Traffic Controls Sopers Lane, Poole, Dorset. BH17 7ER. UK. Tel: 01202 782844 Fax: 01202 782545 www.siemenstraffic.com Committed to quality traffic solutions and service excellence Siemens Traffic Controls is a division of Siemens plc. Registered No. 727817, England. Registered office: Siemens House, Oldbury, Bracknell, Berkshire, RG12 8FZ. This communication contains information which is confidential and may also be privileged. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information in it is prohibited. If you have received this communication in error, please contact us immediately and also delete the communication from your computer. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss ----- End forwarded message -----