From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by ozlabs.org (Postfix) with ESMTP id 0EA49DDEE2 for ; Sat, 4 Aug 2007 03:23:29 +1000 (EST) Message-ID: <46B36506.40901@ru.mvista.com> Date: Fri, 03 Aug 2007 21:25:26 +0400 From: Sergei Shtylyov MIME-Version: 1.0 To: Josh Boyer Subject: Re: [patch 06/10] 40x decrementer fixes References: <20070803160900.069522000@linux.vnet.ibm.com> <20070803161710.931656000@linux.vnet.ibm.com> <46B35C07.4090806@ru.mvista.com> <20070803121525.61155586@weaponx.rchland.ibm.com> In-Reply-To: <20070803121525.61155586@weaponx.rchland.ibm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Josh Boyer wrote: >>>Allow generic_calibrate_decr to work for 40x platforms. Given that the hardware >>>behavior is identical, this also changes the set_dec function to reload the PIT >>>on 40x to match the behavior 44x currently has. >> Why bother doing this?! This will only warrant you imprecise decrementer >>interrupts while it should be interrupting at the precise period currently (if >>you load PIT once)... > Without some kind of fix, it doesn't function at all. We can load the > PIT once, but then we need to make sure ARE is set because if the PIT > ticks down to zero it just sits there. Ah, sorry... somehow I thought 40x doesn't have TCR and so only a periodic mode. :-< > josh WBR, Sergei