From nobody Thu Mar 17 23:15:42 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 698BC1A165D6 for ; Thu, 17 Mar 2022 23:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKNKp0gzGz4gYk for ; Thu, 17 Mar 2022 23:15:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EB91F13DCE for ; Thu, 17 Mar 2022 23:15:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22HNFfea010657 for ; Thu, 17 Mar 2022 23:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22HNFfkp010656 for bugs@FreeBSD.org; Thu, 17 Mar 2022 23:15:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262638] overly strict check of hpet region size Date: Thu, 17 Mar 2022 23:15:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647558942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xG2WF1FKOtCDEDMCxDSZ3HHA6duknrQ60Qc4YSF3owo=; b=NkDxfvF/td4ZEajOfMUNCEAR/utlLGSxscZkHrdj5TTisrCUg0rcxB2VRW/zCIyNWua6Wa IWjp3gGJNGUzk71k2I00kgn95QPOQr39vNRf6Eyd2m5Axw8Q4oW87FVrn2QeN9UlwVyshc OUsczXSvSDaEi3n7r/18PfI8aX0kcN1z314ImMTWgcbgJycZVDKPcPjlRr/blztt+y7nyB o2Bn14AXVMMp1nfabo73LZ3P/A297TrI/2a5eg6Dcs9UuvF1S4NTRd85kLnEYhX0H6uzPb 7AdR1Xo/L3gTgJRQ/mShZVCJLbaBSd/g0t532ER0aqK+0L8ovEybC4O1Unt6gg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647558942; a=rsa-sha256; cv=none; b=m7yA4Vcv9VEqCHeEo9SOk/a5kKT6/qC1Gq1pt43mA3jV64NjHNEMN4HQwzLdW7zZj6un1O n42hdKE601s1mJRdL89A60pNrb/Z+ORDncrxiN1NMxqpb77Ek+rt/JvVpM0z/UVbvFy1ul Gy+/S05HC0uMl8SJ40R3/whZ587j2gLneLbtjX4R+gZa0HP+ohIx6PgXwGkE15Hdt4nojw ZmNvCqXXr6pMk4NisTCxxbyMxubq/XaWz2pKS0+ajOeNhZS+lNE4KryLV5JKNzB6MYx3jV MXlsPQ4y/WLZmYvLJbMFyCqjExAdIOi9gDgx0D3fiThSGSWjt4ui1ZIDQd//9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262638 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: 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 appear= s 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.) --=20 You are receiving this mail because: You are the assignee for the bug.=