Date: Mon, 21 Dec 2020 17:13:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252021] ichwd(4) does not clear the NO_REBOOT flag correctly on Lewisburg chipsets Message-ID: <bug-252021-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252021 Bug ID: 252021 Summary: ichwd(4) does not clear the NO_REBOOT flag correctly on Lewisburg chipsets Product: Base System Version: 12.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: janm@transactionware.com Loading ichwd(4) on a Supermicro X11SPA-T motherboard with 12.2 gives this response: ichwd0: <Lewisburg watchdog timer> at port 0x400-0x41f iomem 0xfdc6000c-0xfdc6000f on isa0 ichwd0: ICH WDT present but disabled in BIOS or hardware The motherboard jumpers are enabled. In ichwd(4), Lewisburg is configured with TCO version 4. The Linux driver configures Lewisburg with TCO version 2. In src/sys/dev/ichwd/ichwd.c, ichwd_clear_noreboot() uses SMB_GC_NO_REBOOT (0x02) as the the mask for clearing the NO_REBOOT flag for TCO version 4 devices. Changing this mask to ICH_GCS_NO_REBOOT (0x20, as used in the TCO version 2 case) successfully clears the NO_REBOOT big on restart and makes the watchd= og work correctly. "TCO version" seems a bit overloaded here, I'm not exactly sure what a corr= ect fix should look like. --=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-252021-227>