Skip to content

Commit 45d74c4

Browse files
libipt: support 6/186, 6/204 and 6/221
We do not know about the errata for this microarchitecture but let's assume that we carry forward existing errata until we know more. Signed-off-by: Markus Metzger <[email protected]>
1 parent 16a3011 commit 45d74c4

File tree

9 files changed

+20
-0
lines changed

9 files changed

+20
-0
lines changed

libipt/src/pt_config.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ int pt_cpu_errata(struct pt_errata *errata, const struct pt_cpu *cpu)
104104
case 0xb5:
105105
case 0xaa:
106106
case 0xac:
107+
case 0xba:
108+
case 0xcc:
107109
errata->bdm70 = 1;
108110
errata->skl014 = 1;
109111
errata->skd022 = 1;
@@ -122,6 +124,7 @@ int pt_cpu_errata(struct pt_errata *errata, const struct pt_cpu *cpu)
122124
case 0x9c:
123125
case 0xb6:
124126
case 0xaf:
127+
case 0xdd:
125128
errata->apl11 = 1;
126129
return 0;
127130
}

test/src/apl11.ptt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
; cpu 6/181
5050
; cpu 6/170
5151
; cpu 6/172
52+
; cpu 6/186
53+
; cpu 6/204
54+
; cpu 6/221
5255
;
5356

5457
org 0x1000

test/src/bdm70-psb_fup-tip_pge.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
; cpu 6/170
6464
; cpu 6/172
6565
; cpu 6/207
66+
; cpu 6/186
67+
; cpu 6/204
6668
;
6769
; Variant: sync at the PSB directly preceding the TIP.PGE.
6870
;

test/src/bdm70-tip_pgd-psb_fup-tip_pge.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
; cpu 6/170
6464
; cpu 6/172
6565
; cpu 6/207
66+
; cpu 6/186
67+
; cpu 6/204
6668
;
6769
; Variant: sync at an earlier PSB.
6870
;

test/src/skd022.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
; cpu 6/170
6161
; cpu 6/172
6262
; cpu 6/207
63+
; cpu 6/186
64+
; cpu 6/204
6365
;
6466

6567
org 0x1000

test/src/skl014-call.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
; cpu 6/170
6565
; cpu 6/172
6666
; cpu 6/207
67+
; cpu 6/186
68+
; cpu 6/204
6769
;
6870

6971
org 0x1000

test/src/skl014-jmp-jmp.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
; cpu 6/170
6565
; cpu 6/172
6666
; cpu 6/207
67+
; cpu 6/186
68+
; cpu 6/204
6769
;
6870

6971
org 0x1000

test/src/skl014-jmp.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
; cpu 6/170
6565
; cpu 6/172
6666
; cpu 6/207
67+
; cpu 6/186
68+
; cpu 6/204
6769
;
6870

6971
org 0x1000

test/src/skl014-no_filter.ptt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@
5555
; cpu 6/170
5656
; cpu 6/172
5757
; cpu 6/207
58+
; cpu 6/186
59+
; cpu 6/204
5860
;
5961

6062
org 0x100000

0 commit comments

Comments
 (0)