Date: Mon, 28 Oct 2024 13:50:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280290] hms(4): Broken fresh after boot, fixed by resume Message-ID: <bug-280290-227-KZLQFfXUHp@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-280290-227@https.bugs.freebsd.org/bugzilla/> References: <bug-280290-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280290 John Baldwin <jhb@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jhb@FreeBSD.org --- Comment #30 from John Baldwin <jhb@FreeBSD.org> --- Any state that the interrupt handler depends on or can modify should be ful= ly initialized before interrupts are enabled on the device. If the device has some sort of command register that can mask interrupts, the attach routine should probably be masking interrupts until the attach has fully initialized things. You can also defer bus_setup_intr() until after the device is initialized, though you potentially risk spurious interrupts if the device = can raise an interrupt before the driver has attached the handler. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280290-227-KZLQFfXUHp>