Date: Wed, 21 Jul 2010 15:10:35 +0300 From: Alexander Motin <mav@FreeBSD.org> To: Marius Strobl <marius@alchemy.franken.de> Cc: freebsd-sparc64@FreeBSD.org Subject: Re: [RFC] Event timers on sparc64/sun4v Message-ID: <4C46E3BB.7060204@FreeBSD.org> In-Reply-To: <4C44694C.9040108@FreeBSD.org> References: <4C404018.6040405@FreeBSD.org> <20100716213503.GT4706@alchemy.franken.de> <4C42A5B9.7080901@FreeBSD.org> <20100718142101.GY4706@alchemy.franken.de> <4C433391.4080808@FreeBSD.org> <20100719122423.GA4706@alchemy.franken.de> <4C44694C.9040108@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin wrote: > Marius Strobl wrote: >> On Sun, Jul 18, 2010 at 08:02:09PM +0300, Alexander Motin wrote: >>> tick_et_start() status is not checked my MI code at the moment, as error >>> handling in that case is not obvious. Do you like panic of printf there? >> Ah, I haven't looked at the MI code to closely. No, it's not that >> important, a printf should be sufficient for now, I just don't >> want the check to get completely dropped. > > I better do it MI way. It's not so difficult. I am just thinking what > better report from driver: allowed divisors, periods, or rounding function. Here is updated patch for latest HEAD, which should handle this: http://people.freebsd.org/~mav/timers_sparc4.patch I also added support for STICK timecounter. For this moment with lowest priority to not use it by default, until it is tested. -- Alexander Motin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C46E3BB.7060204>