Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 8 Jan 2003 14:41:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 8 Jan 2003 14:41:15 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:51719 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Wed, 8 Jan 2003 14:41:12 -0500 Message-ID: <3E1C808D.8080406@zytor.com> Date: Wed, 08 Jan 2003 11:48:29 -0800 From: "H. Peter Anvin" Organization: Zytor Communications User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218 X-Accept-Language: en, sv MIME-Version: 1.0 To: root@chaos.analogic.com CC: linux-kernel@vger.kernel.org Subject: Re: tenth post about PCI code, need help References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1573 Lines: 40 Richard B. Johnson wrote: > On 8 Jan 2003, H. Peter Anvin wrote: > > >>Followup to: >>By author: "Richard B. Johnson" >>In newsgroup: linux.dev.kernel >> >>>The problem is that he's discovered something that's not supposed >>>to be in the code. Only 32-bit accesses are supposed to be made to >>>the PCI controller ports. He has discovered that somebody has made >>>some 8-bit accesses that will not become configuration 'transactions' >>>because they are not 32 bits. >>> >> >>Right. That's what the code is checking for. >> >> -hpa > > Somebody is very lucky the designer of the bus interface state-machine > let him get away with it. This is a borderline "insane instruction" that > could, on some (future?) machine, require a power-off to recover. This is > NotGood(tm). It's like testing a fuse by shorting out a circuit. If it > works, the circuit no longer works. If I doesn't, the circuit no longer > works. Some things should not be tested. > If so, we will get an bug report rather than mysterious strange behaviour. This is a good thing. (Amusingly enough, exactly this code in the Linux kernel actually found a bug in one of the very early versions of the Transmeta northbridge. It was fixed in firmware.) -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/