Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/dev/acpica/acpi_hpet.c

[BACK] Up to [FreeBSD] / src / sys / dev / acpica

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Feb 7 20:54:44 2012 UTC (3 days, 3 hours ago) by jkim
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -1 lines
SVN rev 231161 on 2012-02-07 20:54:44Z by jkim

- Give all clocks and timers on acpi0 the equal probing order.
- Increase probing order for ECDT table to match HID-based probing.
- Decrease probing order for HPET table to match HID-based probing.
- Decrease probing order for CPUs and system resources.
- Fix ACPI_DEV_BASE_ORDER to reflect the reality.

Revision 1.38.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (3 months ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.38.2.1: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Aug 16 21:51:29 2011 UTC (5 months, 3 weeks ago) by mav
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -8 lines
SVN rev 224919 on 2011-08-16 21:51:29Z by mav

Always check current HPET counter value after comparator programming to
avoid lost timer interrupts. Previous optimization attempt doing it only
for intervals less then 5000 ticks (~300us) reported to be unreliable by
some people. Probably because of some heavy SMI code on their boards.
Introduce additional safety interval of 128 counter ticks (~9us) between
programmed comparator and counter values to cover different cases of
delayed write found on some chipsets.

Approved by:	re (kib)

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon May 23 20:12:36 2011 UTC (8 months, 2 weeks ago) by jkim
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -1 lines
SVN rev 222222 on 2011-05-23 20:12:36Z by jkim

Decrease ACPI-fast timecounter quality to 900 and increase HPET timecounter
quality to 950.  HPET on modern platforms usually have better resolution and
lower latency than ACPI timer.  Effectively this changes default timecounter
hardware from ACPI-fast to HPET by default when both are available.

Discussed with:	avg

Revision 1.12.2.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.12.2.4: preferred, colored; next MAIN 1.12.4.1: preferred, colored
Changes since revision 1.12.2.4: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.16.2.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.16.2.4: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.4: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Dec 16 17:05:28 2010 UTC (13 months, 3 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -14 lines
SVN rev 216490 on 2010-12-16 17:05:28Z by jhb

Small style fixes:
- Avoid side-effect assignments in if statements when possible.
- Don't use ! to check for NULL pointers, explicitly check against NULL.
- Explicitly check error return values against 0.
- Don't use INTR_MPSAFE for interrupt handlers with only filters as it is
  meaningless.
- Remove unneeded function casts.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 7 18:49:11 2010 UTC (14 months ago) by jhb
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +19 -1 lines
SVN rev 216263 on 2010-12-07 18:49:11Z by jhb

Use proper resource ID's for HPET IRQ resources.  This mostly consists of
looking to see if there is an existing IRQ resource for a given IRQ
provided by the BIOS and using that RID if so.  Otherwise, allocate a new
RID for the new IRQ.

Reviewed by:	mav (a while ago)

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Nov 18 22:17:20 2010 UTC (14 months, 3 weeks ago) by jhb
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
SVN rev 215473 on 2010-11-18 22:17:20Z by jhb

Various small typos and grammar nits in comments.

Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 9 15:14:10 2010 UTC (15 months ago) by mav
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.16.2.3: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.3: +49 -30 lines
SVN rev 215038 on 2010-11-09 15:14:10Z by mav

MFC r208436, r208438:
Make table-based HPET identification more clever. Before creating fake
device, make sure we have no real HPET device entry with same ID.
As side effect, it potentially allows several HPETs to be attached.
Use first of them for timecounting, rest (if ever present) could later
be used as event sources.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Sep 30 16:23:01 2010 UTC (16 months, 1 week ago) by mav
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -0 lines
SVN rev 213302 on 2010-09-30 16:23:01Z by mav

Do not use regular interrupts on NVidia HPETs. NVidia MCP5x chipsets have
number of unexplained interrupt problems. For some reason, using HPET
interrupts there breaks HDA sound. Legacy route mode interrupts reported
to work fine there.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Sep 13 07:25:35 2010 UTC (16 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -3 lines
SVN rev 212541 on 2010-09-13 07:25:35Z by mav

Refactor timer management code with priority to one-shot operation mode.
The main goal of this is to generate timer interrupts only when there is
some work to do. When CPU is busy interrupts are generating at full rate
of hz + stathz to fullfill scheduler and timekeeping requirements. But
when CPU is idle, only minimum set of interrupts (down to 8 interrupts per
second per CPU now), needed to handle scheduled callouts is executed.
This allows significantly increase idle CPU sleep time, increasing effect
of static power-saving technologies. Also it should reduce host CPU load
on virtualized systems, when guest system is idle.

There is set of tunables, also available as writable sysctls, allowing to
control wanted event timer subsystem behavior:
  kern.eventtimer.timer - allows to choose event timer hardware to use.
On x86 there is up to 4 different kinds of timers. Depending on whether
chosen timer is per-CPU, behavior of other options slightly differs.
  kern.eventtimer.periodic - allows to choose periodic and one-shot
operation mode. In periodic mode, current timer hardware taken as the only
source of time for time events. This mode is quite alike to previous kernel
behavior. One-shot mode instead uses currently selected time counter
hardware to schedule all needed events one by one and program timer to
generate interrupt exactly in specified time. Default value depends of
chosen timer capabilities, but one-shot mode is preferred, until other is
forced by user or hardware.
  kern.eventtimer.singlemul - in periodic mode specifies how much times
higher timer frequency should be, to not strictly alias hardclock() and
statclock() events. Default values are 2 and 4, but could be reduced to 1
if extra interrupts are unwanted.
  kern.eventtimer.idletick - makes each CPU to receive every timer interrupt
independently of whether they busy or not. By default this options is
disabled. If chosen timer is per-CPU and runs in periodic mode, this option
has no effect - all interrupts are generating.

As soon as this patch modifies cpu_idle() on some platforms, I have also
refactored one on x86. Now it makes use of MONITOR/MWAIT instrunctions
(if supported) under high sleep/wakeup rate, as fast alternative to other
methods. It allows SMP scheduler to wake up sleeping CPUs much faster
without using IPI, significantly increasing performance on some highly
task-switching loads.

Tested by:	many (on i386, amd64, sparc64 and powerc)
H/W donated by:	Gheorghe Ardelean
Sponsored by:	iXsystems, Inc.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Sep 13 06:32:56 2010 UTC (16 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -1 lines
SVN rev 212533 on 2010-09-13 06:32:56Z by mav

Add tunable 'hint.hpet.X.per_cpu' to specify how much per-CPU timers driver
should provide if there is sufficient hardware. Default is 1.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Sep 12 11:11:53 2010 UTC (16 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +28 -19 lines
SVN rev 212491 on 2010-09-12 11:11:53Z by mav

Instead of storing last event timestamp, store the next event timestamp.
It corrects handling of the first event offset in emulated periodic mode.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Sep 8 16:59:22 2010 UTC (17 months ago) by mav
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +26 -1 lines
SVN rev 212323 on 2010-09-08 16:59:22Z by mav

During SMP startup there is time window, when SMP started, but interrupts
are still bound to BSP. It confuses timer management logic in per-CPU mode
and may cause timer not being reloaded. Check such cases on interrupt
arival and reload timer to give system some more time to manage proper
binding.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Sep 5 19:24:32 2010 UTC (17 months ago) by mav
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +55 -22 lines
SVN rev 212238 on 2010-09-05 19:24:32Z by mav

Several improvements to HPET driver:
 - Add special check for case when time expires before being programmed.
This fixes interrupt loss and respectively timer death on attempt to
program very short interval. Increase minimal supported period to more
realistic value.
 - Add support for hint.hpet.X.allowed_irqs tunable, allowing manually
specify which interrupts driver allowed to use. Unluckily, many BIOSes
program wrong allowed interrupts mask, so driver tries to stay on safe
side by not using unshareable ISA IRQs. This option gives control over
this limitation, allowing more per-CPU timers to be provided, when FSB
interrupts are not supported. Value of this tunable is bitmask.
 - Do not use regular interrupts on virtual machines. QEMU and VirtualBox
do not support them properly, that may cause problems. Stay safe by default.
Same time both QEMU and VirtualBox work fine in legacy_route mode.
VirtualBox also works fine if manually specify allowed ISA IRQs with above.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jul 20 15:48:29 2010 UTC (18 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
SVN rev 210298 on 2010-07-20 15:48:29Z by mav

Fix several un-/signedness bugs of r210290 and r210293. Add one more check.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 20 10:58:56 2010 UTC (18 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +11 -5 lines
SVN rev 210290 on 2010-07-20 10:58:56Z by mav

Extend timer driver API to report also minimal and maximal supported period
lengths. Make MI wrapper code to validate periods in request. Make kernel
clock management code to honor these hardware limitations while choosing hz,
stathz and profhz values.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Jul 13 12:46:06 2010 UTC (18 months, 4 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -4 lines
SVN rev 209990 on 2010-07-13 12:46:06Z by mav

Rise knowledge about curthread->td_intr_frame by one step. Make timer
callback argument really opaque. Not repeat interrupt handler's problem
in case somebody will ever need to have both argument and frame.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 22 19:42:27 2010 UTC (19 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +74 -38 lines
SVN rev 209440 on 2010-06-22 19:42:27Z by mav

Add "legacy route" support to HPET driver. When enabled, this mode makes
HPET to steal IRQ0 from i8254 and IRQ8 from RTC timers. It can be suitable
for HPETs without FSB interrupts support, as it gives them two unshared
IRQs. It allows them to provide one per-CPU event timer on dual-CPU system,
that should be suitable for further tickless kernels.

To enable it, such lines may be added to /boot/loader.conf:
hint.atrtc.0.clock=0
hint.attimer.0.clock=0
hint.hpet.0.legacy_route=1

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Jun 22 16:10:48 2010 UTC (19 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
SVN rev 209431 on 2010-06-22 16:10:48Z by mav

Do not set level-triggered interrupt mode if we are not going to use it.
This fixes QEMU crash due to unsupported level-triggered HPET interrupts.

Reported by:	kib@

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jun 21 20:27:32 2010 UTC (19 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -1 lines
SVN rev 209402 on 2010-06-21 20:27:32Z by mav

Fix ia64 build broken by r209371.
ia64, same as amd64 has ACPI and always has APIC.

Submitted by:	jhb@

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 20 21:33:29 2010 UTC (19 months, 3 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +444 -75 lines
SVN rev 209371 on 2010-06-20 21:33:29Z by mav

Implement new event timers infrastructure. It provides unified APIs for
writing event timer drivers, for choosing best possible drivers by machine
independent code and for operating them to supply kernel with hardclock(),
statclock() and profclock() events in unified fashion on various hardware.

Infrastructure provides support for both per-CPU (independent for every CPU
core) and global timers in periodic and one-shot modes. MI management code
at this moment uses only periodic mode, but one-shot mode use planned for
later, as part of tickless kernel project.

For this moment infrastructure used on i386 and amd64 architectures. Other
archs are welcome to follow, while their current operation should not be
affected.

This patch updates existing drivers (i8254, RTC and LAPIC) for the new
order, and adds event timers support into the HPET driver. These drivers
have different capabilities:
 LAPIC - per-CPU timer, supports periodic and one-shot operation, may
freeze in C3 state, calibrated on first use, so may be not exactly precise.
 HPET - depending on hardware can work as per-CPU or global, supports
periodic and one-shot operation, usually provides several event timers.
 i8254 - global, limited to periodic mode, because same hardware used also
as time counter.
 RTC - global, supports only periodic mode, set of frequencies in Hz
limited by powers of 2.

Depending on hardware capabilities, drivers preferred in following orders,
either LAPIC, HPETs, i8254, RTC or HPETs, LAPIC, i8254, RTC.
User may explicitly specify wanted timers via loader tunables or sysctls:
kern.eventtimer.timer1 and kern.eventtimer.timer2.
If requested driver is unavailable or unoperational, system will try to
replace it. If no more timers available or "NONE" specified for second,
system will operate using only one timer, multiplying it's frequency by few
times and uing respective dividers to honor hz, stathz and profhz values,
set during initial setup.

Revision 1.16.2.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.16.2.3: preferred, colored; next MAIN 1.16.2.4: preferred, colored
Changes since revision 1.16.2.3: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun May 23 08:31:15 2010 UTC (20 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4 lines
SVN rev 208438 on 2010-05-23 08:31:15Z by mav

Oops, HPET ID optionally stored in _UID, not in _ADR.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun May 23 07:53:22 2010 UTC (20 months, 2 weeks ago) by mav
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +49 -30 lines
SVN rev 208436 on 2010-05-23 07:53:22Z by mav

Make table-based HPET identification more clever. Before creating fake
device, make sure we have no real HPET device entry with same ID.
As side effect, it potentially allows several HPETs to be attached.
Use first of them for timecounting, rest (if ever present) could later
be used as event sources.

Revision 1.12.2.4: download - view: text, markup, annotated - select for diffs
Sun Feb 28 21:23:50 2010 UTC (23 months, 1 week ago) by avg
Branches: RELENG_7
CVS tags: RELENG_7_4_BP
Branch point for: RELENG_7_4
Diff to: previous 1.12.2.3: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.3: +18 -3 lines
SVN rev 204481 on 2010-02-28 21:23:50Z by avg

MFC r203062: acpi_hpet: correctly get number of timers/comparators

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Wed Feb 10 09:46:31 2010 UTC (2 years ago) by avg
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.2: +18 -3 lines
SVN rev 203749 on 2010-02-10 09:46:31Z by avg

MFC r203062: acpi_hpet: correctly get number of timers in a timer block

Revision 1.12.2.3.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.12.2.3: preferred, colored; next MAIN 1.12.2.4: preferred, colored
Changes since revision 1.12.2.3: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 27 10:17:28 2010 UTC (2 years ago) by avg
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +18 -3 lines
SVN rev 203062 on 2010-01-27 10:17:28Z by avg

acpi_hpet: correctly get number of timers/comparators in a timer block

Also, account for a quirk of AMD/ATI HPET which reports number of timers
instead of id of the last timer as manadated by the specification.
Currently this has no effect on functionality but in the future we may
make actual use of the HPET timers, not only of its timecounter.

MFC after:	2 weeks

Revision 1.12.2.3: download - view: text, markup, annotated - select for diffs
Tue Dec 1 06:15:19 2009 UTC (2 years, 2 months ago) by avg
Branches: RELENG_7
CVS tags: RELENG_7_3_BP
Branch point for: RELENG_7_3
Diff to: previous 1.12.2.2: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.2: +1 -5 lines
SVN rev 199986 on 2009-12-01 06:15:19Z by avg

MFC r199016: acpi: remove 'magic' ivar

Note that the ivar itself is kept in the stable branches, only its use is
dropped.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 1 06:11:42 2009 UTC (2 years, 2 months ago) by avg
Branches: RELENG_8
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +1 -5 lines
SVN rev 199984 on 2009-12-01 06:11:42Z by avg

MFC r199016: acpi: remove 'magic' ivar

Note that the ivar itself is kept in the stable branches, only its use is
dropped.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Nov 7 11:46:38 2009 UTC (2 years, 3 months ago) by avg
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -5 lines
SVN rev 199016 on 2009-11-07 11:46:38Z by avg

acpi: remove 'magic' ivar

o acpi_hpet: auto-added 'wildcard' devices can be identified by
  non-NULL handle attribute.
o acpi_ec: auto-add 'wildcard' devices can be identified by
  unset (NULL) private attribute.
o acpi_cpu: use private instead of magic to store cpu id.

Reviewed by:	jhb
Silence from:	acpi@
MFC after:	2 weeks
X-MFC-Note:	perhaps the ivar should stay for ABI stability

Revision 1.16.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; next MAIN 1.16.2.2: preferred, colored
Changes since revision 1.16.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jun 5 18:44:36 2009 UTC (2 years, 8 months ago) by jkim
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -1 lines
SVN rev 193530 on 2009-06-05 18:44:36Z by jkim

Import ACPICA 20090521.

Revision 1.12.2.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.12.2.2: preferred, colored; next MAIN 1.12.2.3: preferred, colored
Changes since revision 1.12.2.2: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 21 21:31:44 2009 UTC (3 years ago) by jkim
Branches: RELENG_7
CVS tags: RELENG_7_2_BP
Branch point for: RELENG_7_2
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.2.1: +5 -2 lines
SVN rev 187574 on 2009-01-21 21:31:44Z by jkim

MFC: Make sure legacy replacement route is turned off when enbling HPET.

Revision 1.12.2.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.12.2.1: preferred, colored; next MAIN 1.12.2.2: preferred, colored
Changes since revision 1.12.2.1: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 19 20:31:38 2008 UTC (3 years, 2 months ago) by jkim
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2 lines
SVN rev 185103 on 2008-11-19 20:31:38Z by jkim

Make sure legacy replacement route is turned off when enbling HPET.

Reviewed by:	jhb

Revision 1.5.2.7.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.5.2.7: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.7: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 24 18:52:26 2008 UTC (4 years ago) by jhb
Branches: RELENG_7_0
CVS tags: RELENG_7_0_0_RELEASE
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +58 -20 lines
MFC: Fix some minor issues such as using read/modify/write for updating
the configuration register and add a header file to hold HPET register
constants.

Approved by:	re (kensmith)

Revision 1.5.2.7: download - view: text, markup, annotated - select for diffs
Wed Jan 23 18:03:15 2008 UTC (4 years ago) by jhb
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.5.2.6: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.6: +58 -20 lines
MFC: Fix some minor issues such as using read/modify/write for updating
the configuration register and add a header file to hold HPET register
constants.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 18:02:58 2008 UTC (4 years ago) by jhb
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +58 -20 lines
MFC: Fix some minor issues such as using read/modify/write for updating
the configuration register and add a header file to hold HPET register
constants.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 16 18:47:07 2008 UTC (4 years ago) by jhb
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +19 -23 lines
Add a header containing constants for the various HPET registers and their
fields and update the code to match.  The PR served more as an inspiration
than providing the actual diffs.

MFC after:	1 week
PR:		kern/112544

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jan 15 18:50:47 2008 UTC (4 years ago) by jhb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +45 -3 lines
Fix a few minor issues based on a bug report and reading over the HPET
spec:
- Use read/modify/write cycles to enable and disable the HPET instead of
  writing 0 to reserved bits.
- Shutdown the HPET during suspend as encouraged by the spec.
- Fail to attach to an HPET with a period of zero.

MFC after:	1 week
PR:		kern/119675 [3]
Reported by:	Leo Bicknell | bicknell ufp.org

Revision 1.5.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 8 21:22:20 2007 UTC (4 years, 3 months ago) by njl
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Diff to: previous 1.5.2.5: preferred, colored
Changes since revision 1.5.2.5: +9 -6 lines
MFC: improve HPET table probe and give it a lower priority as a timer,
fix divide by zero if battery status invalid

Approved by:	re

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 9 07:48:07 2007 UTC (4 years, 4 months ago) by njl
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP
Branch point for: RELENG_7_0, RELENG_7
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -5 lines
Fix the HPET table probe routine to run from device_identify() instead
of directly from acpi0.  Before it would attach prior to the sysresource
devices, causing the later allocation of its memory range to fail and
print a warning like "acpi0: reservation of fed00000, 1000 (3) failed".
Use an explicit define for our probe order base value of 10.

Help from:	jhb
Tested by:	Abdullah Ibn Hamad Al-Marri <almarrie / gmail.com>
MFC after:	3 days
Approved by:	re

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jul 30 15:21:26 2007 UTC (4 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -1 lines
Dynamically choose the quality of the ACPI timer depending on whether
the fast or safe/slow method is in use.  Fast remains at 1000, slow is
now at 850 (always preferred to TSC).  Since the HPET has proven slower
than ACPI-fast on some systems, drop its quality to 900.  In the future,
it is hoped that HPET performance will improve as it is the main
timer Intel supports.  HPET may move back to 2000 in -current once RELENG_7
is branched to ensure that it gets tested.

Approved by:	re

Revision 1.5.2.5: download - view: text, markup, annotated - select for diffs
Thu Jul 26 19:08:11 2007 UTC (4 years, 6 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.5.2.4: preferred, colored
Changes since revision 1.5.2.4: +18 -4 lines
MFC v1.10: Be sure HPET is working before attaching it

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jul 22 20:45:27 2007 UTC (4 years, 6 months ago) by njl
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -4 lines
The HPET appears to be broken on silby's Acer Pentium M system, never
advancing.  Read from the timer before attaching to be sure it advances
in 1 us.  Since the slowest rate allowed by the spec is 10 MHz, the
timer is guaranteed to change in this interval if it is working.

Tested by:	Rui Paulo
Approved by:	re
MFC after:	3 days

Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 18 00:29:55 2007 UTC (4 years, 7 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.5.2.3: preferred, colored
Changes since revision 1.5.2.3: +10 -6 lines
Fix compile problem using older acpi-ca interface.

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 17:19:21 2007 UTC (4 years, 7 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.5.2.2: preferred, colored
Changes since revision 1.5.2.2: +46 -4 lines
MFC: add support for probing HPET via table

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jun 15 18:02:34 2007 UTC (4 years, 7 months ago) by njl
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Convert magic to a uintptr_t.  This should get rid of some warnings on
gcc4.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 16 01:15:51 2007 UTC (4 years, 8 months ago) by njl
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +22 -17 lines
Fix a logic bug added in last commit where PNP0103 devices would no longer
be probed but table-based devs would be ok.  General style cleanup also.

MFC after:	5 days

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 15 08:41:05 2007 UTC (4 years, 8 months ago) by takawata
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +39 -2 lines
Add ACPI HPET table support.

Reviewed by:njl

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 15:23:00 2007 UTC (4 years, 10 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.5.2.1: preferred, colored
Changes since revision 1.5.2.1: +13 -0 lines
MFC: resume the HPET timer

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Mar 28 22:28:48 2007 UTC (4 years, 10 months ago) by njl
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -0 lines
Re-enable the HPET timer after a resume.

Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
MFC after:	3 days

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 23 19:45:52 2007 UTC (4 years, 10 months ago) by njl
Branches: RELENG_6
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +0 -0 lines
MFC: acpi_dock (docking station) and acpi_hpet (high-perf timer) support

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Aug 11 17:12:16 2006 UTC (5 years, 6 months ago) by des
Branches: MAIN
Branch point for: RELENG_6
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1 lines
Raise the quality of the HPET timer to 2000 so it will be the preferred
choice on systems which support it.

No objection by:	phk

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 4 08:04:19 2006 UTC (5 years, 8 months ago) by njl
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +76 -66 lines
Clean up many of the debugging messages and move them under bootverbose.
Move the code for printing timer statistics into a test function instead of
an ifdef (accessible via the debug.acpi.hpet_test tunable).  Also use defines
for register offsets instead of magic values.

Courtesy of:	slow flight to HK

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Nov 1 20:41:43 2005 UTC (6 years, 3 months ago) by scottl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1 lines
Move HPET debugging under ACPI_TIMER in order to save a bitfield.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Nov 1 15:57:15 2005 UTC (6 years, 3 months ago) by scottl
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -0 lines
Add proper debugging infrastructure for acpi_hpet.c.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 31 21:39:50 2005 UTC (6 years, 3 months ago) by phk
Branches: MAIN
Add a basic HPET timecounter.

It has -200 quality for now so it will not get automatically selected.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options