Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-25 Thread Rui Paulo
On Oct 25, 2014, at 02:00, Konstantin Belousov wrote: > > Ok, I did looked at the pte of the HPET page. I get the value > 0x8000fed00025 > which coincides with the resource address 0xfed0 reported > by devinfo -vr for hpet (to double-check my findings). The low > bits indicate that PAT0

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-25 Thread Konstantin Belousov
On Fri, Oct 24, 2014 at 10:45:46PM +0300, Konstantin Belousov wrote: > On Fri, Oct 24, 2014 at 07:33:07PM +, Rui Paulo wrote: > > On Oct 24, 2014, at 12:20 PM, Konstantin Belousov > > wrote: > > > > > +static int > > > +hpet_mmap(struct cdev *cdev, vm_ooffset_t offset, vm_paddr_t *paddr, > >

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Rui Paulo
On Oct 24, 2014, at 12:06 PM, Andriy Gapon wrote: On 24/10/2014 21:39, Rui Paulo wrote: Author: rpaulo Date: Fri Oct 24 18:39:15 2014 New Revision: 273598 URL: https://svnweb.freebsd.org/changeset/base/273598 Log: HPET: create /dev/hpetN as a way to access HPET from userland. In some cases, T

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Konstantin Belousov
On Fri, Oct 24, 2014 at 07:33:07PM +, Rui Paulo wrote: > On Oct 24, 2014, at 12:20 PM, Konstantin Belousov wrote: > > On Fri, Oct 24, 2014 at 06:39:16PM +, Rui Paulo wrote: > > Author: rpaulo > > Date: Fri Oct 24 18:39:15 2014 > > New Revision: 273598 > > URL: https://svnweb.freebsd.org/c

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Rui Paulo
On Oct 24, 2014, at 12:20 PM, Konstantin Belousov wrote: On Fri, Oct 24, 2014 at 06:39:16PM +, Rui Paulo wrote: Author: rpaulo Date: Fri Oct 24 18:39:15 2014 New Revision: 273598 URL: https://svnweb.freebsd.org/changeset/base/273598 Log: HPET: create /dev/hpetN as a way to access HPET from

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Konstantin Belousov
On Fri, Oct 24, 2014 at 06:39:16PM +, Rui Paulo wrote: > Author: rpaulo > Date: Fri Oct 24 18:39:15 2014 > New Revision: 273598 > URL: https://svnweb.freebsd.org/changeset/base/273598 > > Log: > HPET: create /dev/hpetN as a way to access HPET from userland. > > In some cases, TSC is bro

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Andriy Gapon
On 24/10/2014 21:39, Rui Paulo wrote: > Author: rpaulo > Date: Fri Oct 24 18:39:15 2014 > New Revision: 273598 > URL: https://svnweb.freebsd.org/changeset/base/273598 > > Log: > HPET: create /dev/hpetN as a way to access HPET from userland. > > In some cases, TSC is broken and special appli

Re: svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread John Baldwin
On Friday, October 24, 2014 06:39:16 PM Rui Paulo wrote: > Author: rpaulo > Date: Fri Oct 24 18:39:15 2014 > New Revision: 273598 > URL: https://svnweb.freebsd.org/changeset/base/273598 > > Log: > HPET: create /dev/hpetN as a way to access HPET from userland. > > In some cases, TSC is broken

svn commit: r273598 - in head: include sys/dev/acpica

2014-10-24 Thread Rui Paulo
Author: rpaulo Date: Fri Oct 24 18:39:15 2014 New Revision: 273598 URL: https://svnweb.freebsd.org/changeset/base/273598 Log: HPET: create /dev/hpetN as a way to access HPET from userland. In some cases, TSC is broken and special applications might benefit from memory mapping HPET and rea