Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756212AbZJSNq4 (ORCPT ); Mon, 19 Oct 2009 09:46:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755609AbZJSNq4 (ORCPT ); Mon, 19 Oct 2009 09:46:56 -0400 Received: from acsinet12.oracle.com ([141.146.126.234]:37302 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753410AbZJSNqz (ORCPT >); Mon, 19 Oct 2009 09:46:55 -0400 Date: Mon, 19 Oct 2009 09:36:18 -0400 From: Konrad Rzeszutek Wilk To: Thomas Schlichter Cc: Jan Beulich , Thomas Hellstrom , Jeremy Fitzhardinge , "H. Peter Anvin" , Suresh Siddha , Arjan van de Ven , x86@kernel.org, linux-kernel@vger.kernel.org, jbarnes@virtuousgeek.org, Ingo Molnar , Henrique de Moraes Holschuh , Venkatesh Pallipadi , Tejun Heo , Thomas Gleixner , dri-devel@lists.sourceforge.net, Yinghai Lu , Robert Hancock Subject: Re: [RFC Patch] use MTRR for write combining if PAT is not available Message-ID: <20091019133618.GA12359@phenom.dumpdata.com> References: <4AD449A702000078000197EE@vpn.id2.novell.com> <200910142114.12433.thomas.schlichter@web.de> <4AD6EFD7020000780001A067@vpn.id2.novell.com> <200910172148.36267.thomas.schlichter@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200910172148.36267.thomas.schlichter@web.de> User-Agent: Mutt/1.5.19 (2009-01-05) X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4ADC6D63.0101:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 14 > X.org uses libpciaccess which tries to mmap with write combining enabled via > /sys/bus/pci/devices/*/resource0_wc. Currently, when PAT is not enabled, we > fall back to uncached mmap. Then libpciaccess thinks it succeeded mapping > with write combining anabled and does not set up suited MTRR entries. ;-( I am not familiar with libpciaccess, but I was wondering why that library cannot realize it failed in its endeavour and use other means to accomplish its goals? -- 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/