The NetBSD Project

CVS log for src/sys/dev/ic/hpet.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / ic

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 20 06:47:28 2022 UTC (9 months, 2 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.17: +26 -24 lines
Diff to previous 1.17 (colored)

It is possible to overflow the (low 32bit) HPET counter between hpet_attach
and TSC calibration if the boot is delayed for more than ~430 seconds (or
less, depending on HPET frequency). The result is a badly misconfigured
timecounter.

Change the measurement interval to ~1e6 HPET ticks (<100ms) during
the calibration to avoid the overflow. This introduces an error of
1ppm, compared to the previous unspecified but typical error of 0.1ppm.
But this is still much less than the guaranteed maximum frequency drift
of the HPET counter itself, which is 500ppm.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 16 23:06:40 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Store initial TSC/HPET readings for hpet0 only.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 8 22:01:54 2020 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.15: +48 -2 lines
Diff to previous 1.15 (colored)

Fix the TSC timecounter (on the systems I have access to):

- Make the early i8254-based calculation of frequency a bit more accurate.

- Keep track of how far the HPET & TSC advance between HPET attach and
  secondary CPU boot, and use to compute an accurate value before attaching
  the timecounter.  Initial idea from joerg@.

- When determining skew and drift between CPUs, make each measurement 1000
  times and pick the lowest observed value.  Increase the error threshold to
  1000 clock cycles.

- Use the frequency computed on the boot CPU for secondary CPUs too.

- Remove cpu_counter_serializing().

Revision 1.13.66.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:59 2020 UTC (3 years, 1 month ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.13: +61 -6 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 24 22:25:07 2020 UTC (3 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.14: +20 -7 lines
Diff to previous 1.14 (colored)

On attach figure out how long a single read of the counter register takes
and use that for the adjustment in hpet_delay().

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 23 20:33:57 2020 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.13: +47 -5 lines
Diff to previous 1.13 (colored)

Implement a HPET based DELAY().

Revision 1.6.14.1 / (download) - annotate - [select for diffs], Wed Jan 25 21:18:15 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up following revision(s) (requested by hannken in ticket #1715):
- Be robust against an invalid timer period value.
sys/dev/ic/hpetreg.h			Rev. 1.4
sys/dev/ic/hpet.c			Rev. 1.8

- Fix wrong definition of LAPIC_LEVEL_ASSERT / _MASK
sys/arch/x86/include/i82489reg.h	Rev. 1.11

- Add virtio driver - speed up disk and network access in virtual environments
sys/arch/i386/conf/GENERIC		Rev. 1.1055
sys/arch/i386/conf/ALL			Rev. 1.325
sys/arch/amd64/conf/GENERIC		Rev. 1.338
sys/dev/pci/files.pci			Rev. 1.350
sys/dev/pci/if_vioif.c			Rev. 0-1.2
sys/dev/pci/ld_virtio.c			Rev. 0-1.4
sys/dev/pci/viomb.c			Rev. 0-1.1
sys/dev/pci/virtio.c			Rev. 0-1.3
sys/dev/pci/virtioreg.h			Rev. 0-1.1
sys/dev/pci/virtiovar.h			Rev. 0-1.1
distrib/sets/lists/man/mi		Rev. 1.1352 and 1.1358
share/man/man4/Makefile			Rev. 1.573 and 1.575
share/man/man4/ld.4			Rev. 1.19
share/man/man4/virtio.4			Rev. 0-1.4
share/man/man4/vioif.4			Rev. 0-1.2
share/man/man4/viomb.4			Rev. 0-1.2

Allow NetBSD to run unmodified under Linux/kvm.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 31 12:47:15 2011 UTC (11 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.12: +22 -5 lines
Diff to previous 1.12 (colored)

hpet:
- fix an integer overflow bug introduced by hpet.c rev.1.11.
- a workaround for AMD SB700 based systems, inspired from linux.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 29 19:19:14 2011 UTC (11 years, 10 months ago) by jakllsch
Branch: MAIN
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

Use one more bit of precision when calculating frequency from period.
This makes the 4-times-NTSC color carrier get calculated to a
correct 14318180Hz, instead of 14318179Hz, which seems a bit odd.

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:59 2011 UTC (11 years, 11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.10: +39 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 15 09:09:48 2011 UTC (11 years, 11 months ago) by jruoho
Branch: MAIN
Changes since 1.10: +39 -3 lines
Diff to previous 1.10 (colored)

Modularize hpet(4). Works nicely with the multiple bus locations.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:16 2010 UTC (13 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:31 2010 UTC (13 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.6.4.1: +8 -4 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:58 2010 UTC (13 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jan 8 20:02:39 2010 UTC (13 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Expand PMF_FN_* macros.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 30 15:22:11 2009 UTC (13 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored)

Be robust against an invalid timer period value.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:06 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.6: +19 -2 lines
Diff to previous 1.6 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 18 17:06:35 2009 UTC (13 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.6: +19 -2 lines
Diff to previous 1.6 (colored)

Add a bus-independent detachment routine.  In the attachment routine,
save some device state to restore during detachment.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:40 2008 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4: +12 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.1.20.7 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:50 2008 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.6: +10 -7 lines
Diff to previous 1.1.20.6 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:16 2008 UTC (15 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.1.18.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:38 2008 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.1.18.2: +12 -9 lines
Diff to previous 1.1.18.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 21 13:25:27 2008 UTC (15 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, netbsd-5
Changes since 1.5: +10 -7 lines
Diff to previous 1.5 (colored)

Split device_t/softc for ichlpcib(4) and all hpet consumers, plus
other related cosmetic changes.

Revision 1.1.20.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:42 2008 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.5: +4 -4 lines
Diff to previous 1.1.20.5 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Feb 29 06:17:36 2008 UTC (15 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.1.20.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:00 2008 UTC (15 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.4: +19 -9 lines
Diff to previous 1.1.20.4 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:53 2008 UTC (15 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.1.18.1: +19 -9 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored)

sync with HEAD

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:07 2007 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.2.2.1: +19 -9 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:19 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.3: +19 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:27:39 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-kmem
Changes since 1.3: +19 -9 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:58 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.3: +19 -9 lines
Diff to previous 1.3 (colored)

Merge jmcneill-pm branch.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:35 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.1.16.5 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:10 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.1.16.4: +3 -3 lines
Diff to previous 1.1.16.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.1.20.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:54 2007 UTC (15 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.3: +3 -3 lines
Diff to previous 1.1.20.3 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 1 16:51:22 2007 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Noisy printf.

Revision 1.1.18.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:39 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

sync with HEAD

Revision 1.1.16.4 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:17 2007 UTC (15 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.16.3: +12 -46 lines
Diff to previous 1.1.16.3 (colored) to branchpoint 1.1 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.1.20.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:42 2007 UTC (15 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.2: +3 -3 lines
Diff to previous 1.1.20.2 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.16.3 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:45 2007 UTC (15 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.16.2: +3 -3 lines
Diff to previous 1.1.16.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.1.24.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:40 2007 UTC (15 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:25 2007 UTC (15 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:52 2007 UTC (15 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.1.16.2 / (download) - annotate - [select for diffs], Tue Sep 4 19:14:17 2007 UTC (15 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.16.1: +3 -9 lines
Diff to previous 1.1.16.1 (colored) to branchpoint 1.1 (colored)

Add a bunch of register defines for interrupts and periodic operation.
Rename HPET_MCOUNT to HPET_MCOUNT_LO. Don't bother the user that we
don't use the higher 32bit for the counter.

Revision 1.1.20.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:34:36 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.20.1: +92 -0 lines
Diff to previous 1.1.20.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.16.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:16 2007 UTC (15 years, 10 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.1: +52 -2 lines
Diff to previous 1.1 (colored)

Pull in power management changes from private branch.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon Mar 12 06:14:50 2007 UTC (16 years, 3 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.1.4.1: +92 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD (missed new files in previous).

Revision 1.1.20.1, Thu Mar 8 14:26:28 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -92 lines
FILE REMOVED

file hpet.c was added on branch yamt-lazymbuf on 2007-09-03 14:34:36 +0000

Revision 1.1.4.1, Thu Mar 8 14:26:28 2007 UTC (16 years, 3 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.1: +0 -92 lines
FILE REMOVED

file hpet.c was added on branch yamt-idlelwp on 2007-03-12 06:14:50 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 8 14:26:28 2007 UTC (16 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-lazymbuf, yamt-idlelwp, vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64

High Precision Event Timer driver, following Intel specifications.

Allow attachement at both ACPI (hpet@acpi) and AMD8111 LPC Controller
(hpet@amdpcib).

Requested by xtraeme, and tested by a few users.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>