From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756218AbZETXFX (ORCPT ); Wed, 20 May 2009 19:05:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756221AbZETXFE (ORCPT ); Wed, 20 May 2009 19:05:04 -0400 Received: from terminus.zytor.com ([198.137.202.10]:58981 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756718AbZETXFC (ORCPT ); Wed, 20 May 2009 19:05:02 -0400 Message-ID: <4A148C3B.5050100@zytor.com> Date: Wed, 20 May 2009 16:03:23 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Andi Kleen CC: Jeremy Fitzhardinge , Ingo Molnar , Xen-devel , the arch/x86 maintainers , Linux Kernel Mailing List , Jesse Barnes , "Eric W. Biederman" , Thomas Gleixner , Linus Torvalds Subject: Re: [GIT PULL] xen /proc/mtrr implementation References: <4A0DCC11.10307@goop.org> <4A0DFF78.6000501@goop.org> <20090515202250.0f1218ef@jbarnes-g45> <4A10EAC4.9070701@goop.org> <20090518085902.GE10687@elte.hu> <4A11A3F8.1010202@goop.org> <87tz3gnq91.fsf@basil.nowhere.org> <4A143251.90208@goop.org> <20090520225235.GJ8684@one.firstfloor.org> In-Reply-To: <20090520225235.GJ8684@one.firstfloor.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andi Kleen wrote: >>> Is this new interface only defined for swiotlb or MMIO mappings? >>> If yes did you check the drivers only actually set it on >>> swiotlb or MMIO (that seems dubious to me)? >> Really? Do we ever set unusual memory types on normal system memory? > > There were drivers at some point that set WC MTRRs on their > transfer rings, not mmio. > > Maybe these all switched to PAT now, maybe not Most of those that I've heard of use WB memory and CLFLUSH. The ones I know of which marked descriptor rings WB were ones which had descriptor rings in MMIO space (which makes sense: MMIO reads are fully synchronizing, but writes can be posted and write combined.) -hpa