History log of /freebsd/sys/dev/acpica/acpi_hpet.c (Results 126 – 148 of 148)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5be4c55f 01-Nov-2005 Scott Long <scottl@FreeBSD.org>

Add proper debugging infrastructure for acpi_hpet.c.


# 4fa7241f 31-Oct-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Add a basic HPET timecounter.

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


# 9a6a6ecb 27-Jan-2010 Andriy Gapon <avg@FreeBSD.org>

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 sp

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

show more ...


Revision tags: release/8.0.0_cvs, release/8.0.0
# 874108ae 12-Nov-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

MFC @199204


# f6eb382c 07-Nov-2009 Andriy Gapon <avg@FreeBSD.org>

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) priv

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

show more ...


# 7e857dd1 12-Jun-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- Merge from HEAD


# 129d3046 05-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Import ACPICA 20090521.


# aaac7452 03-Jun-2009 Jung-uk Kim <jkim@FreeBSD.org>

Chase ACPICA API changes (for kernel and boot loader).


Revision tags: release/6.4.0_cvs, release/6.4.0
# ab9df4d7 19-Nov-2008 Jung-uk Kim <jkim@FreeBSD.org>

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

Reviewed by: jhb


Revision tags: release/7.0.0_cvs, release/7.0.0
# f831d6e0 16-Jan-2008 John Baldwin <jhb@FreeBSD.org>

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 we

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

show more ...


# 572f347d 15-Jan-2008 John Baldwin <jhb@FreeBSD.org>

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

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

show more ...


Revision tags: release/6.3.0_cvs, release/6.3.0
# f74e3c98 09-Oct-2007 Nate Lawson <njl@FreeBSD.org>

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 ran

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

show more ...


# 430eaa74 30-Jul-2007 Nate Lawson <njl@FreeBSD.org>

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

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

show more ...


# 9bbad5af 22-Jul-2007 Nate Lawson <njl@FreeBSD.org>

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 1

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

show more ...


# 70fa7bc0 15-Jun-2007 Nate Lawson <njl@FreeBSD.org>

Convert magic to a uintptr_t. This should get rid of some warnings on
gcc4.


# f1d16a11 16-May-2007 Nate Lawson <njl@FreeBSD.org>

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


# fffe371d 15-May-2007 Takanori Watanabe <takawata@FreeBSD.org>

Add ACPI HPET table support.

Reviewed by:njl


# 5394d87e 29-Mar-2007 Nate Lawson <njl@FreeBSD.org>

Re-enable the HPET timer after a resume.

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


Revision tags: release/6.2.0_cvs, release/6.2.0
# 819b32ee 11-Aug-2006 Dag-Erling Smørgrav <des@FreeBSD.org>

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


# c73930f3 04-Jun-2006 Nate Lawson <njl@FreeBSD.org>

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

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

show more ...


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0
# 6a4810bd 01-Nov-2005 Scott Long <scottl@FreeBSD.org>

Move HPET debugging under ACPI_TIMER in order to save a bitfield.


# 5be4c55f 01-Nov-2005 Scott Long <scottl@FreeBSD.org>

Add proper debugging infrastructure for acpi_hpet.c.


# 4fa7241f 31-Oct-2005 Poul-Henning Kamp <phk@FreeBSD.org>

Add a basic HPET timecounter.

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


123456