Skip to content
Permalink
Browse files

Restore msrs & pat on main cpu. jcs observed a slow console on x1r7,

and kettenis identified missing pat restore.
Many other machines may be improved by this change.
ok kettenis jcs
  • Loading branch information...
deraadt
deraadt committed Aug 19, 2019
1 parent c9514fb commit 55fd3d8764e7e511f7529a86ac41034102f4f8cb
Showing with 3 additions and 1 deletion.
  1. +3 −1 sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
/* $OpenBSD: acpi_machdep.c,v 1.86 2018/10/23 17:51:32 kettenis Exp $ */
/* $OpenBSD: acpi_machdep.c,v 1.87 2019/08/19 21:22:26 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -382,6 +382,8 @@ acpi_sleep_clocks(struct acpi_softc *sc, int state)
void
acpi_resume_clocks(struct acpi_softc *sc)
{
cpu_init_msrs(&cpu_info_primary);

#if NISA > 0
i8259_default_setup();
#endif

0 comments on commit 55fd3d8

Please sign in to comment.
You can’t perform that action at this time.