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<b...@comstyle.com>
> > > > > 

[..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:av1...@comtv.ru

Reply via email to