Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUNBm-0007P1-Oo for qemu-devel@nongnu.org; Sun, 09 Sep 2007 09:51:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUNBl-0007Mu-BK for qemu-devel@nongnu.org; Sun, 09 Sep 2007 09:51:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUNBl-0007Mm-4o for qemu-devel@nongnu.org; Sun, 09 Sep 2007 09:51:01 -0400 Received: from il.qumranet.com ([82.166.9.18]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUNBk-0007x6-Lp for qemu-devel@nongnu.org; Sun, 09 Sep 2007 09:51:00 -0400 Date: Sun, 9 Sep 2007 16:47:19 +0300 From: Dan Kenigsberg Subject: Re: [Qemu-devel] [PATCH] Intel cache info Message-ID: <20070909134719.GA2544@karma.qumranet.com> References: <5b31733c0709081227w3e5f1036odbc649edfdc8c79b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b31733c0709081227w3e5f1036odbc649edfdc8c79b@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sat, Sep 08, 2007 at 09:27:35PM +0200, Filip Navara wrote: > Fix the CPUID function 2 to correctly report cache info for the particular > processor. I chose the values closest to the ones reported in the AMD > registers. This is important for operating systems that detect cache line > width and later call CLFLUSH for each line. In the previous implementation > the values didn't specify L2 cache line width and so Darwin endlessly looped > trying to flush them. It would be nice to see the patch. I should probably include it in my patch that exposes host cpu features. Thanks, Dan.