/freebsd/sys/x86/include/ |
H A D | x86_var.h | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
H A D | specialreg.h | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
/freebsd/sys/x86/x86/ |
H A D | cpu_machdep.c | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
/freebsd/sys/i386/i386/ |
H A D | initcpu.c | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
H A D | machdep.c | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
/freebsd/sys/amd64/amd64/ |
H A D | initcpu.c | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|
H A D | machdep.c | diff d3ba71b2b1abc77d1625d693191d7f6d2fcfc5cb Thu Oct 15 00:57:50 CEST 2020 Konstantin Belousov <kib@FreeBSD.org> Limit workaround for errata E400 to appropriate AMD cpus.
From Linux sources and several datasheets I looked at, it seems that the workaround is only needed on families 0xf and 0x10. For instance, Ryzens do not implement the accessed MSR at all, it is documented as reserved. Also, hypervisors should not allow guest to put CPU into idle state, so activate workaround only when on bare hardware.
While there, style the code: move MSR defines to specialreg.h move identification to initcpu.c
Reported by: whu Reviewed by: avg Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26470
|