Received: from eggs.gnu.org ([140.186.70.92]:56467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPkmp-0001cp-61 for qemu-devel@nongnu.org; Thu, 26 May 2011 20:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPkmo-0000zS-6r for qemu-devel@nongnu.org; Thu, 26 May 2011 20:20:19 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:60659 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPkmn-0000zG-VI for qemu-devel@nongnu.org; Thu, 26 May 2011 20:20:18 -0400 Date: Fri, 27 May 2011 04:20:13 +0400 (MSD) From: malc In-Reply-To: <4DDEE2FD.2010405@comstyle.com> Message-ID: References: <20110526030518.GA4978@rox.home.comstyle.com> <1306414681.1458.8.camel@Nokia-N900> <4DDEE2FD.2010405@comstyle.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH 1/3] Add ppc_init_cacheline_sizes() function for OpenBSD. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Brad Cc: qemu-devel@nongnu.org On Thu, 26 May 2011, Brad wrote: > On 26/05/11 9:15 AM, malc wrote: > > On Thu, 26 May 2011, Brad wrote: > > > > > ----- Original message ----- > > > > On Wed, 25 May 2011, Brad wrote: > > > > > > > > > Add ppc_init_cacheline_sizes() function for OpenBSD to fix compilation > > > > > of PowerPC host support for OpenBSD/powerpc based architectures. > > > > > > > > > > Signed-off-by: Brad Smith > > > > > [..snip..] > > Well this is the behavior of our kernel no matter what the CPU type is. > > from sys/arch/powerpc/cpu.h.. > > > #define CACHELINE 32 /* Note that this value is really > hardwired */ > [..snip..] I sure hope that OpenBSD doesn't use this value for dcbz/a's on ppc's with less than 32 bytes per cache line and am not sure i want to take this patch even if the kernel itself does this, not without some nagging printf in the init cache line function urging OpenBSD kernel developers to fix things.. -- mailto:av1474@comtv.ru