]> xenbits.xensource.com Git - xen.git/commit
x86/boot: Support the watchdog on newer AMD systems
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Mar 2024 14:11:12 +0000 (14:11 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 19 Mar 2024 18:29:37 +0000 (18:29 +0000)
commit131892e0dcc1265b621c2b7d844cb9e7c3a4404f
tree3da8d00a24b3058d00b8502fe4b2f6350e543841
parentf658321374687c7339235e1ac643e0427acff717
x86/boot: Support the watchdog on newer AMD systems

The MSRs used by setup_k7_watchdog() are architectural in 64bit.  The Unit
Select (0x76, cycles not in halt state) isn't, but it hasn't changed in 25
years, making this a trend likely to continue.

Drop the family check.  If the Unit Select does happen to change meaning in
the future, check_nmi_watchdog() will still notice the watchdog not operating
as expected.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/nmi.c