[Bug 262638] overly strict check of hpet region size

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Mar 2022 23:15:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262638

            Bug ID: 262638
           Summary: overly strict check of hpet region size
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

FreeBSD warns during boot of my HPE Proliant DL325 (AMD EPYC 7402P):

hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed001ff on acpi0
hpet0: memory region width 512 too small
device_attach: hpet0 attach returned 6

The hpet driver requires at least 1024 bytes of address space.  This appears to
be overly strict because the address space used depends on the number of
counters.  See HPET_TIMER_CAP_CNF and related macros.  My 512 byte address
space should be sufficient for 8 counters.  (I have not checked what the
configuration registers say.  I can hack up my kernel to report them if the
answer is imporant.)

-- 
You are receiving this mail because:
You are the assignee for the bug.