Rui Paulo
3149cc9df6
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 reading the registers to count time.
Most often the main HPET counter is 32-bit only[1], so this only gives
the application a 300 second window based on the default HPET
interval.
Other applications, such as Intel's DPDK, expect /dev/hpet to be
present and use it to count time as well.
Although we have an almost userland version of gettimeofday() which
uses rdtsc in userland, it's not always possible to use it, depending
on how broken the multi-socket hardware is.
Install the acpi_hpet.h so that applications can use the HPET register
definitions.
[1] I haven't found a system where HPET's main counter uses more than
32 bit. There seems to be a discrepancy in the Intel documentation
(claiming it's a 64-bit counter) and the actual implementation (a
32-bit counter in a 64-bit memory area).
MFC after: 1 week
Relnotes: yes
2014-10-24 18:39:15 +00:00
..
2014-06-28 03:56:17 +00:00
2014-03-30 23:43:36 +00:00
2014-10-21 07:31:21 +00:00
2014-10-24 18:39:15 +00:00
2014-06-21 00:53:56 +00:00
2014-06-10 20:25:45 +00:00
2014-09-19 03:51:26 +00:00
2014-09-18 21:01:41 +00:00
2014-06-16 18:15:27 +00:00
2014-06-11 17:03:14 +00:00
2014-06-11 17:03:14 +00:00
2014-10-06 10:58:54 +00:00
2014-08-08 11:47:04 +00:00
2014-10-13 01:06:40 +00:00
2014-10-08 01:03:32 +00:00
2014-09-23 06:31:15 +00:00
2014-09-19 03:51:26 +00:00
2014-09-23 06:31:15 +00:00
2014-09-23 05:54:18 +00:00
2014-10-13 13:13:42 +00:00
2014-08-08 11:47:09 +00:00
2014-09-19 03:51:26 +00:00
2013-12-18 19:25:40 +00:00
2014-10-16 18:04:43 +00:00
2013-10-30 14:04:47 +00:00
2014-10-20 13:18:52 +00:00
2014-09-30 05:50:34 +00:00
2014-09-22 14:27:26 +00:00
2014-09-25 07:22:24 +00:00
2014-10-22 11:30:03 +00:00
2014-09-18 21:03:13 +00:00
2014-09-28 14:05:18 +00:00
2014-08-30 18:01:45 +00:00
2014-09-18 21:05:59 +00:00
2014-06-10 20:25:45 +00:00
2014-03-09 02:07:15 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-10-21 07:31:21 +00:00
2014-09-19 03:51:26 +00:00
2014-06-28 03:56:17 +00:00
2014-09-18 20:53:02 +00:00
2014-09-28 19:05:22 +00:00
2014-02-02 19:17:28 +00:00
2014-10-17 17:34:05 +00:00
2014-10-16 18:04:43 +00:00
2014-06-29 18:53:15 +00:00
2014-09-19 03:51:26 +00:00
2014-09-28 19:05:22 +00:00
2014-06-24 06:52:32 +00:00
2014-09-18 21:14:46 +00:00
2014-10-10 19:12:04 +00:00
2014-10-10 19:12:04 +00:00
2014-10-21 07:31:21 +00:00
2014-10-22 18:55:44 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-10-10 19:12:04 +00:00
2014-06-10 20:25:45 +00:00
2014-09-03 09:58:59 +00:00
2014-10-16 18:04:43 +00:00
2014-09-27 20:43:01 +00:00
2014-10-21 07:31:21 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-09-18 20:11:28 +00:00
2014-08-07 21:56:32 +00:00
2014-09-24 11:23:55 +00:00
2014-07-26 21:33:17 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-08-27 15:10:28 +00:00
2014-09-25 20:40:24 +00:00
2014-10-19 18:31:11 +00:00
2014-09-18 20:15:53 +00:00
2014-09-18 20:58:04 +00:00
2014-03-16 10:55:57 +00:00
2014-09-27 16:50:24 +00:00
2013-08-28 14:49:36 +00:00
2014-09-28 14:05:18 +00:00
2014-09-18 20:21:46 +00:00
2014-06-28 03:56:17 +00:00
2013-10-04 06:55:06 +00:00
2014-10-23 23:20:04 +00:00
2014-09-19 03:51:26 +00:00
2014-10-21 07:31:21 +00:00
2014-06-10 20:25:45 +00:00
2014-09-18 21:07:05 +00:00
2014-08-05 23:32:53 +00:00
2014-08-05 23:35:19 +00:00
2014-08-05 23:58:49 +00:00
2014-08-23 01:52:43 +00:00
2014-08-05 23:47:26 +00:00
2014-10-17 19:04:24 +00:00
2014-10-24 06:27:45 +00:00
2013-10-26 17:24:59 +00:00
2013-11-15 13:19:15 +00:00
2014-09-28 19:05:22 +00:00
2014-09-19 03:51:26 +00:00
2014-10-16 01:32:22 +00:00
2013-09-25 17:16:21 +00:00
2014-09-23 06:31:15 +00:00
2014-03-16 10:55:57 +00:00
2013-08-12 23:30:01 +00:00
2014-09-19 03:51:26 +00:00
2014-06-30 01:01:54 +00:00
2014-10-16 09:09:43 +00:00
2014-09-30 16:17:12 +00:00
2014-05-20 19:55:06 +00:00
2014-10-13 16:23:58 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-09-28 07:40:26 +00:00
2014-10-21 07:31:21 +00:00
2014-10-21 18:00:56 +00:00
2014-09-24 11:33:43 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-09-25 07:00:31 +00:00
2014-09-19 03:51:26 +00:00
2014-10-10 14:17:42 +00:00
2013-12-29 16:28:37 +00:00
2014-07-28 14:27:05 +00:00
2014-06-28 03:56:17 +00:00
2014-09-19 03:51:26 +00:00
2014-10-21 09:14:16 +00:00
2014-02-23 18:36:45 +00:00
2014-06-13 18:20:44 +00:00
2013-08-12 23:30:01 +00:00
2014-10-16 19:52:12 +00:00
2013-08-12 23:30:01 +00:00
2014-10-21 07:31:21 +00:00
2014-10-21 07:31:21 +00:00
2014-06-20 21:18:35 +00:00
2014-10-21 07:31:21 +00:00
2014-10-11 19:36:59 +00:00
2014-10-13 06:51:40 +00:00
2014-09-12 12:04:51 +00:00
2014-09-18 20:18:55 +00:00
2014-10-21 07:31:21 +00:00
2014-09-18 20:59:59 +00:00
2014-06-28 03:56:17 +00:00
2014-09-25 18:43:52 +00:00
2014-09-19 03:51:26 +00:00
2014-09-25 16:22:32 +00:00
2014-10-16 18:04:43 +00:00
2014-09-23 05:54:18 +00:00
2014-09-18 20:23:34 +00:00
2014-09-10 05:44:15 +00:00
2013-09-05 23:14:27 +00:00
2014-04-30 06:40:30 +00:00
2013-10-08 15:44:04 +00:00
2014-06-10 21:40:43 +00:00
2014-10-17 17:34:05 +00:00
2014-06-17 18:10:06 +00:00
2014-10-21 07:31:21 +00:00
2014-09-25 15:02:33 +00:00
2014-10-16 18:04:43 +00:00
2014-06-28 03:56:17 +00:00
2014-08-03 21:56:53 +00:00
2014-10-16 18:04:43 +00:00
2014-09-18 20:24:47 +00:00
2014-09-18 20:44:53 +00:00
2014-02-05 14:44:22 +00:00
2014-09-19 03:51:26 +00:00
2013-11-09 08:27:55 +00:00
2014-04-28 17:58:40 +00:00
2013-08-12 23:30:01 +00:00
2014-10-23 18:03:27 +00:00
2014-10-21 07:31:21 +00:00
2014-10-21 07:31:21 +00:00
2014-09-19 03:51:26 +00:00
2014-02-02 19:17:28 +00:00
2014-09-19 03:51:26 +00:00
2014-10-13 06:50:08 +00:00
2014-10-21 01:31:24 +00:00
2014-09-19 10:33:23 +00:00
2013-10-04 06:55:06 +00:00
2013-08-12 23:30:01 +00:00
2014-10-21 07:31:21 +00:00
2014-06-10 20:25:45 +00:00
2014-09-19 03:51:26 +00:00
2013-12-29 20:23:08 +00:00
2014-10-13 16:23:51 +00:00
2014-02-02 19:17:28 +00:00
2014-09-19 03:55:19 +00:00
2014-10-02 22:05:48 +00:00
2014-09-19 03:51:26 +00:00
2014-08-20 16:07:17 +00:00
2014-05-16 21:19:17 +00:00
2014-09-12 12:04:51 +00:00
2014-06-28 03:56:17 +00:00
2014-09-18 20:09:35 +00:00
2014-10-13 06:51:40 +00:00
2014-09-18 22:10:49 +00:00
2014-09-19 03:51:26 +00:00
2014-09-18 20:43:17 +00:00
2014-10-21 07:31:21 +00:00
2013-10-24 16:56:38 +00:00
2014-09-19 03:51:26 +00:00
2014-09-18 21:16:05 +00:00
2014-08-26 14:44:08 +00:00
2014-07-07 00:27:09 +00:00
2014-06-28 03:56:17 +00:00
2014-03-16 10:55:57 +00:00
2014-07-29 14:41:28 +00:00
2014-09-26 10:47:57 +00:00
2014-09-18 20:03:45 +00:00
2013-12-29 19:55:06 +00:00
2014-06-10 20:25:45 +00:00
2014-09-19 03:51:26 +00:00
2013-10-30 14:04:47 +00:00
2014-09-22 20:38:01 +00:00
2014-09-18 20:06:10 +00:00
2014-09-24 11:58:23 +00:00
2014-10-24 05:39:32 +00:00
2014-06-13 19:34:34 +00:00
2014-10-24 15:36:30 +00:00
2014-09-18 20:30:47 +00:00
2014-09-23 06:31:15 +00:00
2014-10-23 04:47:32 +00:00
2013-09-07 13:45:44 +00:00
2014-09-25 08:36:11 +00:00
2014-09-18 20:17:27 +00:00
2014-10-23 12:38:05 +00:00
2014-09-24 11:31:46 +00:00
2014-09-19 03:51:26 +00:00
2014-10-21 07:31:21 +00:00
2014-02-04 20:52:33 +00:00
2014-09-19 03:51:26 +00:00
2013-10-30 14:04:47 +00:00
2014-09-24 12:19:00 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-09-19 03:51:26 +00:00
2014-10-22 17:09:12 +00:00
2014-09-18 20:35:22 +00:00