From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17784.62591.729512.791358@cargo.ozlabs.ibm.com> Date: Fri, 8 Dec 2006 16:13:35 +1100 From: Paul Mackerras To: Anton Blanchard Subject: Re: Add DSCR SPR to sysfs In-Reply-To: <20061206205818.GA27857@krispykreme> References: <20061206205818.GA27857@krispykreme> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Anton Blanchard writes: > POWER6 adds a new SPR, the data stream control register (DSCR). It can > be used to adjust how agressive the prefetch mechanisms are. > > Its possible we may want to context switch this, but for now just export > it to userspace via sysfs so we can adjust it. I think you need to adjust both CPU_FTRS_POWER6 and CPU_FTRS_POWER6X in include/asm-powerpc/cputable.h, don't you? Your patch doesn't apply cleanly on Linus' current tree. Please send a rebased patch. Thanks, Paul.