x86/emulator: workaround for AMD erratum 573
A message that is not in the archive (sent off-list or not yet received): [email protected]
xen/include/asm-x86/amd.h line 141
Quoted 11 lines
xen/include/asm-x86/amd.h +5
-0@@ -134,6 +134,12 @@AMD_OSVW_ERRATUM (3 ,AMD_MODEL_RANGE (0x10 ,0x2 ,0x1 ,0xff ,0xf ), \ AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0x1, 0x0)) +#define AMD_ERRATUM_573 \ + AMD_LEGACY_ERRATUM(AMD_MODEL_RANGE(0x0f, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x10, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x11, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0xff, 0xf))
Families 0xf and 0x11 are not affected by erratum 573.
-boris
Quoted 7 lines
Quoted 7 lines
Quoted 1 line · Boris Ostrovsky
xen/include/asm-x86/amd.h +0
-0@@ -134,6 +134,12 @@AMD_OSVW_ERRATUM (3 ,AMD_MODEL_RANGE (0x10 ,0x2 ,0x1 ,0xff ,0xf ), \AMD_MODEL_RANGE (0x12 ,0x0 ,0x0 ,0x1 ,0x0 ))
Quoted 7 lines
xen/include/asm-x86/amd.h line 141
Quoted 5 lines
xen/include/asm-x86/amd.h +5
-0+#define AMD_ERRATUM_573 \ + AMD_LEGACY_ERRATUM(AMD_MODEL_RANGE(0x0f, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x10, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x11, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0xff, 0xf))Families
0xfand0x11are not affected by erratum 573.
Are you saying that these two documents
33610 Rev. 3.48 December 2011
41788 Rev. 3.10 December 2011
both wrong? For fam 0xf it may be that we can set a lower bound for pre-NPT ones if those indeed are unaffected (but we'd like to be sure this is the case) - that would appear to be all with a model below 0x40.
Please clarify.
Jan
Quoted 17 lines · Jan Beulich
Quoted 7 lines
Quoted 7 lines
Quoted 1 line · Boris Ostrovsky
xen/include/asm-x86/amd.h +0
-0@@ -134,6 +134,12 @@AMD_OSVW_ERRATUM (3 ,AMD_MODEL_RANGE (0x10 ,0x2 ,0x1 ,0xff ,0xf ), \AMD_MODEL_RANGE (0x12 ,0x0 ,0x0 ,0x1 ,0x0 ))Quoted 7 lines
xen/include/asm-x86/amd.h line 141
Quoted 5 lines
xen/include/asm-x86/amd.h +5
-0+#define AMD_ERRATUM_573 \ + AMD_LEGACY_ERRATUM(AMD_MODEL_RANGE(0x0f, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x10, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x11, 0x0, 0x0, 0xff, 0xf), \ + AMD_MODEL_RANGE(0x12, 0x0, 0x0, 0xff, 0xf))Families
0xfand0x11are not affected by erratum 573.Are you saying that these two documents
Quoted 8 lines
33610 Rev. 3.48 December 2011
41788 Rev. 3.10 December 2011both wrong? For fam
0xfit may be that we can set a lower bound for pre-NPT ones if those indeed are unaffected (but we'd like to be sure this is the case) - that would appear to be all with a model below0x40.Please clarify.
Sorry, my bad. You are right --- somehow I thought it was only 10h and 12h.
-boris