From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933028AbXLQA2i (ORCPT ); Sun, 16 Dec 2007 19:28:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762134AbXLQA23 (ORCPT ); Sun, 16 Dec 2007 19:28:29 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:45857 "EHLO amd.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753515AbXLQA23 (ORCPT ); Sun, 16 Dec 2007 19:28:29 -0500 Date: Mon, 17 Dec 2007 01:28:27 +0100 From: Pavel Machek To: Alan Cox Cc: Ingo Molnar , unlisted-recipients: no@elvis.elte.hu, To-header@elvis.elte.hu, on@elvis.elte.hu, "input <"@elvis.elte.hu, "; Rene Herman" , Paul Rolland , "H. Peter Anvin" , Krzysztof Halasa , Andi Kleen , linux-kernel@vger.kernel.org, Thomas Gleixner , Ingo Molnar , rol@witbe.net Illegal-Object: Syntax error in Cc: addresses found on vger.kernel.org: Cc: ;Rene Herman ^-extraneous tokens in mailbox, missing end of mailbox Illegal-Object: Syntax error in Cc: addresses found on vger.kernel.org: Cc: ;Rene Herman ^-extraneous tokens in mailbox, missing end of mailbox Subject: Re: RFC: outb 0x80 in inb_p, outb_p harmful on some modern AMD64 with MCP51 laptops Message-ID: <20071217002827.GG5692@elf.ucw.cz> References: <475EC1C0.2040000@reed.com> <20071211173231.2b87a81f@the-village.bc.nu> <475EE2CA.6020601@reed.com> <475F23BD.3040903@reed.com> <20071212161245.3f388229@the-village.bc.nu> <20071214143328.GB10130@elte.hu> <20071216212628.GF14265@elf.ucw.cz> <20071217000301.1c280daa@the-village.bc.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071217000301.1c280daa@the-village.bc.nu> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2007-12-17 00:03:01, Alan Cox wrote: > On Sun, 16 Dec 2007 22:26:33 +0100 > Pavel Machek wrote: > > > On Fri 2007-12-14 15:33:28, Ingo Molnar wrote: > > > > > > * Alan Cox wrote: > > > > > > > There is another reason we can't just do a dumb changeover - two > > > > actually > > > > > > > > #1: Some drivers are using inb_p/outb_p in PCI cases which are going > > > > #to cause PCI posting changes. Most are probably just wrong in the > > > > #first place but they need hand checking > > > > > > hm, any intelligent way to force PCI posting? I guess not. > > > > > > here's a list of candidate drivers (match the out*_p() pattern and do > > > pci) > > > > > > ./char/epca.c > > > ./char/sonypi.c > > > ./scsi/megaraid.c > > > ./ide/pci/serverworks.c > > > ./ide/pci/cmd640.c > > > ./input/mouse/pc110pad.c > > You are missing some watchdogs at least ? I snipped them, I only wanted to comment that pc110pad.c looks like legitimate use of outb_p(). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html