freebsd-nq/sys/x86/include
Konstantin Belousov d3ba71b2b1 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
2020-10-14 22:57:50 +00:00
..
xen
_align.h
_inttypes.h
_limits.h
_stdint.h
_types.h
acpica_machdep.h
apicreg.h
apicvar.h
apm_bios.h
bus_dma.h
bus.h Add missing declarations of 64-bit variants of bus_peek/bus_poke on amd64. 2020-09-24 08:40:32 +00:00
busdma_impl.h
cputypes.h
dump.h
elf.h
endian.h
fdt.h
float.h
fpu.h
frame.h
ifunc.h
init.h
intr_machdep.h
iommu.h
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
procctl.h
psl.h
ptrace.h
pvclock.h
reg.h
segments.h
setjmp.h
sigframe.h
signal.h
specialreg.h Limit workaround for errata E400 to appropriate AMD cpus. 2020-10-14 22:57:50 +00:00
stack.h
stdarg.h
sysarch.h
trap.h
ucode.h
ucontext.h
vdso.h
vmware.h
x86_smp.h
x86_var.h Limit workaround for errata E400 to appropriate AMD cpus. 2020-10-14 22:57:50 +00:00