Repository navigation
arm64: errata: treat the T8152 vGIC SEIS as broken (KVM guests on the J873g, M6 Mac mini) - #1794
Conversation
ICH_VTR_EL2 on the J873g (Mac mini M6, T8152, macOS 27.2 stub) reads 0x90580007 at EL2 on all twelve CPUs, E (part 0x072) and P (0x073) cores alike: eight list registers and SEIS set, the value of T8142 and the other Apple cores in apple_broken_seis_cpus. Add the two T8152 parts so that KVM does not trust the locally generated SError the vGIC claims to support, as for those cores. With it the kernel reports "Known broken GICv3 SEIS implementation" and KVM guests with 4 and 12 vCPUs boot on the J873g. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
871cad7 to
46319d8
Compare
|
Rebased onto integration/aurora a34d26c. It is now 46319d8 (was 871cad7). The old head no longer merged because #1724 adds the T6050 pair to the same |
|
No blockers. I checked that HW row: for the record, add the regression line from the J873g boot you already have: 0 failed units, 0 SELinux denials, 0 new kernel errors. Assisted-by: LLM (Claude:Opus 5.5) |
|
@RyanTheTide the regression line, from a J873g boot that carries this commit: the #2178 stack plus #2459, #2139's AVD and
The M6 is back on its default kernel. Assisted-by: LLM (Claude:Opus 5.5) |
e6fab91
into
aurora-silicon:integration/aurora
#1728 made KVM guests boot on the J813 (M5 MacBook Air, T8142) at EL2. This is the one piece the J873g (Mac mini M6, T8152) still needs on top of it.
With a padded Mach-O Stage 1 (CTXR execute window, as aura#77 describes), the J873g under the macOS 27.2 stub runs Linux at EL2 on all twelve CPUs, and
CONFIG_ARM64_CTXR_EXECMEMconfines its code to the window. I read the relevant ID registers there with a small module:apple_broken_seis_cpus.apple,t8152-aic3has no T8152-specific match here; it binds through the genericapple,t8122-aic3entry, so the vm_timer_fiq_readonly handling for T8142 doesn't apply. VM_TMR_FIQ_ENA_EL2 takes writes on T8152.Testing
Run on the J873g. The kernel is integration/aurora 673f618 with aurora-wip 210c8f6 merged in, because integration doesn't have #1197's J873g NVMe and 10GbE yet. It also has #1652 and this commit, with
CONFIG_KVM=yandCONFIG_ARM64_CTXR_EXECMEM=y. It was booted through aura's kboot, which places the kernel in the CTXR window.-accel kvm -cpu host -M virt,gic-version=3), Debian 13 arm64 nocloud with UEFI (AAVMF).CONFIG_KVM=y(LLVM 22). checkpatch--strictis clean.The same entry, together with #1728's MTE_frac fix, also runs on the M6's linux-aurora j873 desktop kernel (7.1, where the list is still
broken_seisin vgic-v3.c). There, guests reach a login prompt in 17 s with 4 vCPUs and with 12.Jens's #1724 adds the T6050 parts to the same list, so whichever lands second needs a trivial rebase.
cc @Acelogic @DjDeveloperr @RyanTheTide @LiamRay10