From owner-svn-src-all@FreeBSD.ORG Sat Oct 1 07:21:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ECF8106566C; Sat, 1 Oct 2011 07:21:23 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 24F738FC08; Sat, 1 Oct 2011 07:21:21 +0000 (UTC) Received: by wyj26 with SMTP id 26so2358498wyj.13 for ; Sat, 01 Oct 2011 00:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=fJJqvSsWjQc48JiU1eI+Zu+sW7vBeQODqjuACWQJfTc=; b=WXM3Uu6M0idKYOeCXESlTSMDGxvvTuwpc34ds3Y6AA0Cnu4DLKyJOAR8N1bL6qrjk6 5nP120AiH/jOeLllXDhFk7ZIb8TlDVNc/C7Tv0xdvfOZU0dVWWO+TzNN12rYaCdzeqqz UxpA32e9oCnzRWX0kCZG8+pRBsKD/T4hSaabE= MIME-Version: 1.0 Received: by 10.216.230.67 with SMTP id i45mr715447weq.56.1317453681056; Sat, 01 Oct 2011 00:21:21 -0700 (PDT) Sender: c.jayachandran@gmail.com Received: by 10.216.154.5 with HTTP; Sat, 1 Oct 2011 00:21:20 -0700 (PDT) In-Reply-To: References: <201110010556.p915uQH6003016@svn.freebsd.org> Date: Sat, 1 Oct 2011 12:51:20 +0530 X-Google-Sender-Auth: bGXSU-waAlAVlUdJMcDH6qA5F5Q Message-ID: From: "Jayachandran C." To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r225892 - head/sys/mips/mips X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 07:21:23 -0000 On Sat, Oct 1, 2011 at 12:39 PM, Adrian Chadd wrote: > Reverting it unfortunately doesn't help; it messes up the event timer stuff. I would like to understand this, reverting r216862 would take out the critical_enter() and cpu_idleclock() which would keep the timer interrupts coming is as usual, this should not affect the event timer. > I'd like to see a more permanent solution. What I suggest we do moving > forward is: > > * create a function pointer setup, like what i386 does > * override it per-platform and per-chipset, once we know what the > correct behaviour should be. > > Are you able to figure out how to achieve correct timer/interrupt/wait > handling on XLR? I'm not aware of any platforms which provide an equivalent of 'sti', so going for an implementation per platform may not help. JC.