#
81f959c3 |
| 10-Oct-2022 |
jsg <jsg@openbsd.org> |
add references to 10h 12h revision guides
|
#
9cc47b9a |
| 24-Sep-2022 |
jsg <jsg@openbsd.org> |
add SH-B0 0x00000f50 socket 940 family 0Fh Opteron we already had SH-B0 0x00000f40 socket 754 family 0Fh Athlon 64
SH-B0 is part of amd64_errata_set8[]. Used for: Errata 89: Potential Deadlock With
add SH-B0 0x00000f50 socket 940 family 0Fh Opteron we already had SH-B0 0x00000f40 socket 754 family 0Fh Athlon 64
SH-B0 is part of amd64_errata_set8[]. Used for: Errata 89: Potential Deadlock With Locked Transactions
ok deraadt@
show more ...
|
#
e9c0eaf3 |
| 23-Sep-2022 |
jsg <jsg@openbsd.org> |
only call printf the first time amd64_errata() is called it may later be used from a resume path when we don't want to print
same change as amd64 amd64errata.c 1.11 by robert
ok robert@ deraadt@
|
#
2e2bcbc5 |
| 20-Sep-2022 |
jsg <jsg@openbsd.org> |
remove HY_D1_G34R1 enum value and just use HY_D1
HY-D1 C32r1 (0x00100f81) and HY-D1 G34r1 (0x00100f91) have the same errata and multiple cpuid values can map to a single enum value.
|
#
96e61819 |
| 31-Mar-2018 |
bluhm <bluhm@openbsd.org> |
Change ci_dev.dv_xname to ci_dev->dv_xname in debugging printf() to make it compile when enabled. from hshoexer@
|
#
8fa1e2eb |
| 31-Mar-2018 |
bluhm <bluhm@openbsd.org> |
Recommit preparation for i386 Meltdown fix after OpenBSD 6.3 release.
- provide a cpu_softc for cpu_attach() etc. - replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being
Recommit preparation for i386 Meltdown fix after OpenBSD 6.3 release.
- provide a cpu_softc for cpu_attach() etc. - replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a cpu_full_info. Therefore during autoconf/cpu_attach we hand down a softc.
The second change removes the per PCB TSS. We now have one TSS per CPU, thus in cpu_switchto() we only have to patch the ring 0 stack pointer instead of loading a new TSS. This also allows for cleaning up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
show more ...
|
#
5faa61fa |
| 22-Mar-2018 |
bluhm <bluhm@openbsd.org> |
iBackout the preparations for fixing Meltdown on i386. The task was only halfway done and the current state does not help anybody. For OpenBSD 6.3 release go back to the original code before 2018/0
iBackout the preparations for fixing Meltdown on i386. The task was only halfway done and the current state does not help anybody. For OpenBSD 6.3 release go back to the original code before 2018/03/13. This gives us a stable release and the changes will come back later. discussed with guenther@ deraadt@ hshoexer@
show more ...
|
#
472b3a5a |
| 13-Mar-2018 |
bluhm <bluhm@openbsd.org> |
Preparation for i386 Meltdown fix:
- provide a cpu_softc for cpu_attach() etc. - replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a cpu_full_info. Ther
Preparation for i386 Meltdown fix:
- provide a cpu_softc for cpu_attach() etc. - replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a cpu_full_info. Therefore during autoconf/cpu_attach we hand down a softc.
The second change removes the per PCB TSS. We now have one TSS per CPU, thus in cpu_switchto() we only have to patch the ring 0 stack pointer instead of loading a new TSS. This also allows for cleaning up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
show more ...
|
#
b27348b2 |
| 08-Sep-2017 |
deraadt <deraadt@openbsd.org> |
If you use sys/param.h, you don't need sys/types.h
|
#
19d05f23 |
| 24-Jul-2017 |
naddy <naddy@openbsd.org> |
add MULTIPROCESSOR guards around otherwise unused pieces to satisfy clang ok deraadt@ kettenis@
|
#
6085fb30 |
| 07-Dec-2013 |
brad <brad@openbsd.org> |
Errata 122 is currently disabled so stick amd64_errata_set4 under #if 0 too to appease the LLVM warning.
amd64errata.c:103:22: error: unused variable 'amd64_errata_set4' [-Werror,-Wunused-const-vari
Errata 122 is currently disabled so stick amd64_errata_set4 under #if 0 too to appease the LLVM warning.
amd64errata.c:103:22: error: unused variable 'amd64_errata_set4' [-Werror,-Wunused-const-variable]
ok sthen@
show more ...
|
#
d429fb65 |
| 21-May-2013 |
kettenis <kettenis@openbsd.org> |
de-static-ize prototypes as well, which makes these functions not-static for real!
Pointed out by Alexey E. Suslikov.
|
#
13cb06c9 |
| 20-May-2013 |
kettenis <kettenis@openbsd.org> |
de-static-ize, such that people don't get confused by aesni failures on AMD hardware the next time somebody tries to run on a broken KVM hypervisor.
|
#
1ec75665 |
| 27-Mar-2012 |
jsg <jsg@openbsd.org> |
Implement the AMD suggested workaround for family 10h & 12h errata 721 "Processor May Incorrectly Update Stack Pointer" by setting a bit marked 'reserved' in an MSR that is only "documented" to exist
Implement the AMD suggested workaround for family 10h & 12h errata 721 "Processor May Incorrectly Update Stack Pointer" by setting a bit marked 'reserved' in an MSR that is only "documented" to exist on 12h.
AMD claim this problem can only occur in 64-bit mode, set the workaround bit on i386 in case this isn't true and in the interest of keeping the errata in sync between i386/amd64.
ok deraadt@
show more ...
|
#
d874cce4 |
| 26-Jun-2008 |
ray <ray@openbsd.org> |
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code t
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors.
OK deraadt@
show more ...
|
#
0db04698 |
| 17-Feb-2007 |
tom <tom@openbsd.org> |
Bring in the AMD errata checks from amd64.
Changes to either copy of amd64errata.c must be replicated in the other.
ok deraadt@
|