From owner-svn-src-head@FreeBSD.ORG Wed Jul 2 20:30:59 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4244500; Wed, 2 Jul 2014 20:30:59 +0000 (UTC) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C6B82E7B; Wed, 2 Jul 2014 20:30:58 +0000 (UTC) Received: from aurora.physics.berkeley.edu (aurora.Physics.Berkeley.EDU [128.32.117.67]) (authenticated bits=0) by c.mail.sonic.net (8.14.9/8.14.9) with ESMTP id s62KUkvL003367 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 2 Jul 2014 13:30:47 -0700 Message-ID: <53B46BF6.6040205@freebsd.org> Date: Wed, 02 Jul 2014 13:30:46 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Marius Strobl Subject: Re: svn commit: r268173 - head/sys/conf References: <201407021946.s62JkgHo051426@svn.freebsd.org> <53B465E0.1040309@freebsd.org> <20140702202813.GB69016@alchemy.franken.de> In-Reply-To: <20140702202813.GB69016@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-ID: C;VsyQvycC5BGT28jHUc16mQ== M;KJOxvycC5BGT28jHUc16mQ== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 20:30:59 -0000 On 07/02/14 13:28, Marius Strobl wrote: > On Wed, Jul 02, 2014 at 01:04:48PM -0700, Nathan Whitehorn wrote: >> It worked at least on my Ultra 5 -- though probably because the ATI >> Mach64 FCode ROM there is substantially shared with the Mac version. It >> was even reasonably fast. But regardless of whether it's a generally >> useful console driver on SPARC, at least it proves that vt(4) works fine. > As for vt(4), it at least needs to be taught about the differences > between virtual, physical and bus address with a clue bat. Among > other problems, similar things hold for the #ifdef'ed sparc64 code > of ofwfb(4) in combination with the accesses it does. I guess it > only had a chance of working on your machine because its firmware > is kind enough to map the framebuffer in (which not all machine > models do) in the first place _and_ in a special way/location so > accesses didn't blow. Anyway, even when going the ofwfb(4) route, > doing reads and writes via bus_space(9) will be noticeably faster > than going through the MMU on sparc64. Yeah, the firmware there is pretty kind. I just wanted to make sure we were on the same page. The vt core does not require any changes, I think: it's just that you need new drivers for mach64 and, especially, creator. -Nathan