From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761612AbYBRWFj (ORCPT ); Mon, 18 Feb 2008 17:05:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752983AbYBRWFb (ORCPT ); Mon, 18 Feb 2008 17:05:31 -0500 Received: from smtpq2.groni1.gr.home.nl ([213.51.130.201]:51539 "EHLO smtpq2.groni1.gr.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752935AbYBRWFa (ORCPT ); Mon, 18 Feb 2008 17:05:30 -0500 Message-ID: <47BA0188.6000808@keyaccess.nl> Date: Mon, 18 Feb 2008 23:07:04 +0100 From: Rene Herman User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: "H. Peter Anvin" CC: "David P. Reed" , Thomas Gleixner , Ingo Molnar , Alan Cox , Dmitry Torokhov , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: use explicit timing delay for pit accesses in kernel and pcspkr driver References: <6gr00g$g7qpu0@smtp01.lnh.mail.rcn.net> <47B9ECE0.70000@keyaccess.nl> <47B9EDF1.5050404@zytor.com> <47B9F2EC.4070308@keyaccess.nl> <47B9FC3A.2010508@zytor.com> <47B9FFD5.6040801@keyaccess.nl> <47BA002B.7070806@zytor.com> In-Reply-To: <47BA002B.7070806@zytor.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.6 (/) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-02-08 23:01, H. Peter Anvin wrote: > Rene Herman wrote: >> >> Yes, but generally not any P5+ system is going to need the PIT delay >> in the first place meaning it just doesn't matter. There were the VIA >> issues with the PIC but unless I missed it not with the PIT. >> > > Uhm, I'm not sure I believe that's safe. > > The PIT is particularly pissy in this case -- the semantics of the PIT > are ill-defined if there hasn't been a PIT clock between two adjacent > accesses, so I fully expect that there are chipsets out there which will > do very bad things in this case. Okay. Now that they're isolated, do you have a suggestion for {in,out}b_pit? You say a PIT clock, so do you think we can bounce of the PIT iself in this case after all? Rene.