From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933973AbXCKS3Q (ORCPT ); Sun, 11 Mar 2007 14:29:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933980AbXCKS3Q (ORCPT ); Sun, 11 Mar 2007 14:29:16 -0400 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:46352 "EHLO ebiederm.dsl.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933973AbXCKS3P (ORCPT ); Sun, 11 Mar 2007 14:29:15 -0400 From: ebiederm@xmission.com (Eric W. Biederman) To: "Michael S. Tsirkin" Cc: Andrew Morton , "Kok, Auke" , Ingo Molnar , Jeff Garzik , Linus Torvalds , Pavel Machek , Jens Axboe , Adrian Bunk , Linux Kernel Mailing List , Thomas Gleixner , linux-pm@lists.osdl.org, Michal Piotrowski Subject: Re: SATA resume slowness, e1000 MSI warning References: <20070311112400.GB24475@mellanox.co.il> <20070311180342.GE24475@mellanox.co.il> Date: Sun, 11 Mar 2007 12:27:40 -0600 In-Reply-To: <20070311180342.GE24475@mellanox.co.il> (Michael S. Tsirkin's message of "Sun, 11 Mar 2007 20:03:42 +0200") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org "Michael S. Tsirkin" writes: >> Rumor has it that some pci devices can't tolerate < 32bit accesses. >> Although I have never met one. > > hopefully not bridge devices? > >> The two factors together suggest that >> for generic code it probably makes sense to operate on 32bit >> quantities, and just to ignore the read-only portion. > > The code for regular devices seems to use 16-bit accesses, so > I think it's best to stay consistent. Or do you want to change this too? If we are stomping rare probabilities we might as well change that too. The code to save pci-x state is relatively recent. So it probably just hasn't met a problem device yet (assuming they exist). Eric