Commit a2ca1d5
committed
intel: initialize GMADR on meteorlake and newer on freebsd
This fixes issues with the smem_start being nonzero but invalid,
which caused panics on meteorlake.
The problem is that the GMADR was not getting initialized on mtl
which we need in order to use shmem framebuffers. We are falling
back to shmem framebuffers on freebsd because the Wa_22018444074
mtl hardware workaround disabled using stolen memory on mtl. We
end up trying to use shmem but due to Wa_22018444074 GMADR is
not valid so we end up with a value such as 0x2000 instead of a
valid pointer.
This change initializes GMADR on meteorlake. Linux has likely not
run into this as they do not actually consume the physical address
in smem_start like we do when we pass it to register_fictitious_range.
See freebsd#3241 parent 3c86e7b commit a2ca1d5
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1237 | 1237 | | |
1238 | 1238 | | |
1239 | 1239 | | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
1240 | 1260 | | |
1241 | 1261 | | |
1242 | 1262 | | |
| |||
0 commit comments